-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
44 lines (44 loc) · 1.42 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
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Merge
network: mainnet
source:
address: "0xc3f8a0F5841aBFf777d3eefA5047e8D413a1C9AB"
abi: Merge
startBlock: 13801076
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- AlphaMassUpdate
- Approval
- ApprovalForAll
- ConsecutiveTransfer
- MassUpdate
- Transfer
abis:
- name: Merge
file: ./abis/Merge.json
callHandlers:
- function: whitelistUpdate(address,bool)
handler: handleWhitelistUpdate
- function: burn(uint256)
handler: handleBurn
eventHandlers:
- event: AlphaMassUpdate(indexed uint256,uint256)
handler: handleAlphaMassUpdate
- event: Approval(indexed address,indexed address,indexed uint256)
handler: handleApproval
- event: ApprovalForAll(indexed address,indexed address,bool)
handler: handleApprovalForAll
- event: ConsecutiveTransfer(indexed uint256,uint256,indexed address,indexed address)
handler: handleConsecutiveTransfer
- event: MassUpdate(indexed uint256,indexed uint256,uint256)
handler: handleMassUpdate
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/mapping.ts