-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
41 lines (41 loc) · 1.3 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
specVersion: 0.0.4
schema:
file: ./schema.graphql
features:
- nonDeterministicIpfs
dataSources:
- kind: ethereum
name: SubTests
network: mumbai
source:
address: "0xfdb5b8f8537a71930042a93176840b17aeab2bd4"
abi: SubTests
startBlock: 27649329
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- ApprovalForAll
- OwnershipTransferred
- Submited
- TransferBatch
- TransferSingle
- URI
abis:
- name: SubTests
file: ./abis/SubTests.json
eventHandlers:
- event: ApprovalForAll(indexed address,indexed address,bool)
handler: handleApprovalForAll
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: Submited(indexed address,string,bytes32)
handler: handleSubmited
- 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: URI(string,indexed uint256)
handler: handleURI
file: ./src/sub-tests.ts