-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
63 lines (63 loc) · 1.6 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
56
57
58
59
60
61
62
63
specVersion: 1.0.0
indexerHints:
prune: auto
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: ProofBearer
network: goerli
source:
address: "0x4bB0a205fceD93c8834b379c461B07BBe6aAE622"
abi: ProofBearer
startBlock: 9865948
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Approval
- ApprovalForAll
- BatchMetadataUpdate
- MetadataUpdate
- Paused
- RoleAdminChanged
- RoleGranted
- RoleRevoked
- Transfer
- Unpaused
abis:
- name: ProofBearer
file: ./abis/ProofBearer.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/proof-bearer.ts
- kind: ethereum
name: Contract
network: goerli
source:
address: "0x4b9e1520D6AD44C57d4e3B3B647ecCF46dA6e9d3"
abi: Contract
startBlock: 10001008
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Claim
- CreatedListing
- ContractPaused
- PurchasedListing
- RemovedListing
- ContractRoleAdminChanged
- ContractRoleGranted
- ContractRoleRevoked
- ContractUnpaused
abis:
- name: Contract
file: ./abis/Contract.json
eventHandlers:
- event: CreatedListing(indexed address,indexed uint256,indexed uint256)
handler: handleCreatedListing
file: ./src/contract.ts