-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsubgraph.yaml
More file actions
43 lines (43 loc) · 1.05 KB
/
subgraph.yaml
File metadata and controls
43 lines (43 loc) · 1.05 KB
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.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: NFTBankFactory
network: fuji
source:
address: "0x10B30752C503B0c16F1271Aac1a6E7bfa1b0ad1a"
abi: NFTBankFactory
startBlock: 10359948
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- NFTBankEntity
abis:
- name: NFTBankFactory
file: ./abis/NFTBankFactory.json
eventHandlers:
- event: NFTBankCreated(address)
handler: handleNFTBankCreated
file: ./src/nft-bank-factory.ts
templates:
- name: NFTBank
kind: ethereum/contract
network: fuji
source:
abi: NFTBank
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- NFTBankEntity
abis:
- name: NFTBank
file: ./abis/NFTBank.json
eventHandlers:
- event: PrivateModeIsOn(bool)
handler: handlePrivateModeIsOn
file: ./src/nft-bank.ts