-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
36 lines (36 loc) · 1.1 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
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: CloneX
network: mainnet
source:
address: "0x49cF6f5d44E70224e2E23fDcdd2C053F30aDA28B"
abi: CloneX
startBlock: 13790684
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Approval
- ApprovalForAll
- CloneXRevealed
- OwnershipTransferred
- Transfer
abis:
- name: CloneX
file: ./abis/CloneX.json
eventHandlers:
- event: Approval(indexed address,indexed address,indexed uint256)
handler: handleApproval
- event: ApprovalForAll(indexed address,indexed address,bool)
handler: handleApprovalForAll
- event: CloneXRevealed(uint256,string)
handler: handleCloneXRevealed
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/clone-x.ts