-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
43 lines (43 loc) · 1.35 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
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: BlankArt
network: hardhat
source:
address: "0x5FbDB2315678afecb367f032d93F642f64180aa3"
abi: BlankArt
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- Account
- Approval
- ApprovalForAll
- FoundationAddressUpdated
- OwnershipTransferred
- Transfer
- Token
abis:
- name: BlankArt
file: ./abis/BlankArt.json
eventHandlers:
- event: Approval(indexed address,indexed address,indexed uint256)
handler: handleApproval
- event: ApprovalForAll(indexed address,indexed address,bool)
handler: handleApprovalForAll
- event: BaseTokenUriUpdated(string)
handler: handleBaseTokenURIUpdated
- event: FoundationAddressUpdated(address)
handler: handleFoundationAddressUpdated
- event: MemberAdded(address)
handler: handleMemberAdded
- event: MemberRevoked(address)
handler: handleMemberRevoked
- event: Minted(uint256,address,string)
handler: handleMinted
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/mapping.ts