-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
28 lines (28 loc) · 876 Bytes
/
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
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: ERC1155ChallengeableMint
network: mainnet
source:
address: "0x4AaF30D9628Eb89c7a1Feb43aB71eCA2427d1c5c"
abi: ERC1155ChallengeableMint
startBlock: 1321942
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- PendingMint
abis:
- name: ERC1155ChallengeableMint
file: ./abis/ERC1155ChallengeableMint.json
eventHandlers:
- event: MintProposed(indexed uint256,address,uint256)
handler: handleMintProposed
- event: Minted(indexed uint256,indexed address)
handler: handleMinted
- event: MintChallenged(indexed uint256,address)
handler: handleMintChallenged
file: ./src/erc-1155-challengeable-mint.ts