This repository was archived by the owner on Feb 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
46 lines (46 loc) · 1.69 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
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: HypercertMinter
network: goerli
source:
address: "0x94a04Ce2e537eaf2Bdabd629dE503797e7021E87"
abi: HypercertMinter
startBlock: 8100246
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Allowlist
- Claim
- ClaimToken
abis:
- name: HypercertMinter
file: ./abis/HypercertMinter.json
eventHandlers:
- event: AllowlistCreated(uint256,bytes32)
handler: handleAllowlistCreated
- event: ApprovalForAll(indexed address,indexed address,bool)
handler: handleApprovalForAll
- event: ClaimStored(indexed uint256,string,uint256)
handler: handleClaimStored
- event: Initialized(uint8)
handler: handleInitialized
- event: LeafClaimed(uint256,bytes32)
handler: handleLeafClaimed
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- 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
- event: ValueTransfer(uint256,uint256,uint256,uint256)
handler: handleValueTransfer
- event: BatchValueTransfer(uint256[],uint256[],uint256[],uint256[])
handler: handleValueTransfer
file: ./src/hypercert-minter.ts