-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsubgraph.yaml
More file actions
28 lines (28 loc) · 809 Bytes
/
subgraph.yaml
File metadata and controls
28 lines (28 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
specVersion: 0.0.2
description: Fair games that pay Ether (v4)
repository: https://github.com/lutter/dice2win-subgraph
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: Dice2Win
network: mainnet
source:
address: "0xd1ceeeeee83f8bcf3bedad437202b6154e9f5405"
abi: Dice2Win
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities: []
abis:
- name: Dice2Win
file: ./contract/abi.json
eventHandlers:
- event: Payment(indexed address,uint256)
handler: handlePayment
- event: JackpotPayment(indexed address,uint256)
handler: handleJackpotPayment
- event: Commit(uint256)
handler: handleCommit
file: ./mapping.ts