-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
executable file
·55 lines (55 loc) · 2.04 KB
/
subgraph.yaml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: ForgeDiamond
network: matic
source:
address: "0x4fDfc1B53Fd1D80d969C984ba7a8CE4c7bAaD442"
abi: ForgeDiamond
startBlock: 39165012
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- AddedToQueue
- ForgeQueueClaimed
- ForgeTimeReduced
- ItemForged
- ItemSmelted
- QueueTimeReduced
- TransferBatch
- TransferSingle
abis:
- name: ForgeDiamond
file: ./abis/ForgeDiamond.json
eventHandlers:
- event: AddedToQueue(indexed address,indexed uint256,indexed uint256,uint40,uint256)
handler: handleAddedToQueue
- event: ForgeQueueClaimed(uint256,uint256)
handler: handleForgeQueueClaimed
- event: ForgeTimeReduced(indexed uint256,indexed uint256,indexed uint256,uint40)
handler: handleForgeTimeReduced
- event: ItemForged(uint256,uint256)
handler: handleItemForged
- event: ItemSmelted(uint256,uint256)
handler: handleItemSmelted
- event: QueueTimeReduced(indexed uint256,uint40)
handler: handleQueueTimeReduced
- event: TransferBatch(indexed address,indexed address,indexed address,uint256[],uint256[])
handler: handleTransferBatch
- event: TransferSingle(indexed address,indexed address,indexed address,uint256,uint256)
handler: handleTransferSingle
- event: SetGeodePrizes(uint256[],uint256[])
handler: handleSetGeodePrizes
- event: VrfResponse(address,uint256,bytes32,uint256)
handler: handleVrfResponse
- event: GeodeWin(address,uint256,uint256,bytes32,uint256)
handler: handleGeodeWin
- event: GeodeEmpty(address,uint256,bytes32,uint256)
handler: handleGeodeEmpty
- event: GeodeRefunded(address,uint256,bytes32,uint256)
handler: handleGeodeRefunded
file: ./src/forge-diamond.ts