-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
62 lines (62 loc) · 2.41 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
specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Token
network: mainnet
source:
address: "0xc9fe4ffc4be41d93a1a7189975cd360504ee361a"
abi: Token
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Approval
- ApprovalForAll
- BaseURIUpdated
- Minted
- NFTCreatorMigrated
- NFTMarketUpdated
- NFTMetadataUpdated
- NFTOwnerMigrated
- PaymentAddressMigrated
- ProxyCallContractUpdated
- TokenCreatorPaymentAddressSet
- TokenCreatorUpdated
- TokenIPFSPathUpdated
- Transfer
abis:
- name: Token
file: ./abis/Token.json
eventHandlers:
- event: Approval(indexed address,indexed address,indexed uint256)
handler: handleApproval
- event: ApprovalForAll(indexed address,indexed address,bool)
handler: handleApprovalForAll
- event: BaseURIUpdated(string)
handler: handleBaseURIUpdated
- event: Minted(indexed address,indexed uint256,indexed string,string)
handler: handleMinted
- event: NFTCreatorMigrated(indexed uint256,indexed address,indexed address)
handler: handleNFTCreatorMigrated
- event: NFTMarketUpdated(indexed address)
handler: handleNFTMarketUpdated
- event: NFTMetadataUpdated(string,string,string)
handler: handleNFTMetadataUpdated
- event: NFTOwnerMigrated(indexed uint256,indexed address,indexed address)
handler: handleNFTOwnerMigrated
- event: PaymentAddressMigrated(indexed uint256,indexed address,indexed address,address,address)
handler: handlePaymentAddressMigrated
- event: ProxyCallContractUpdated(indexed address)
handler: handleProxyCallContractUpdated
- event: TokenCreatorPaymentAddressSet(indexed address,indexed address,indexed uint256)
handler: handleTokenCreatorPaymentAddressSet
- event: TokenCreatorUpdated(indexed address,indexed address,indexed uint256)
handler: handleTokenCreatorUpdated
- event: TokenIPFSPathUpdated(indexed uint256,indexed string,string)
handler: handleTokenIPFSPathUpdated
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/token.ts