-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
80 lines (80 loc) · 2.84 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Contract
network: mainnet
source:
# address: "0xfdf6de9c5603d85e1dae3d00a776f43913c9b203"
address: "0xadca0dd4729c8ba3acf3e99f3a9f471ef37b6825"
abi: GNSStitched
startBlock: 11446781
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- ContractAssociation
abis:
- name: GNSStitched
file: ./abis/GNSStitched.json
eventHandlers:
- event: 'SubgraphPublished(indexed uint256,indexed bytes32,uint32)'
handler: handleSubgraphPublishedV2
- event: 'SubgraphDeprecated(indexed uint256,uint256)'
handler: handleSubgraphDeprecatedV2
- event: 'SubgraphMetadataUpdated(indexed uint256,bytes32)'
handler: handleSubgraphMetadataUpdatedV2
- event: 'SubgraphVersionUpdated(indexed uint256,indexed bytes32,bytes32)'
handler: handleSubgraphVersionUpdated
- event: >-
SubgraphPublished(indexed address,indexed uint256,indexed
bytes32,bytes32)
handler: handleSubgraphPublished
- event: 'SubgraphDeprecated(indexed address,indexed uint256)'
handler: handleSubgraphDeprecated
- event: 'SubgraphMetadataUpdated(indexed address,indexed uint256,bytes32)'
handler: handleSubgraphMetadataUpdated
- event: 'SubgraphUpgraded(indexed uint256,uint256,uint256,indexed bytes32)'
handler: handleSubgraphUpgraded
- event: >-
NSignalMinted(indexed address,indexed uint256,indexed
address,uint256,uint256,uint256)
handler: handleNSignalMinted
- event: >-
NSignalBurned(indexed address,indexed uint256,indexed
address,uint256,uint256,uint256)
handler: handleNSignalBurned
- event: >-
SignalMinted(indexed uint256,indexed
address,uint256,uint256,uint256)
handler: handleNSignalMintedV2
- event: >-
SignalBurned(indexed uint256,indexed
address,uint256,uint256,uint256)
handler: handleNSignalBurnedV2
file: ./src/mapping.ts
- kind: ethereum/contract
mapping:
abis:
- name: SubgraphNFT
file: ./abis/SubgraphNFT.json
apiVersion: 0.0.5
entities:
- Subgraph
- SubgraphVersion
- SubgraphDeployment
- GraphAccount
eventHandlers:
- event: 'Transfer(indexed address,indexed address,indexed uint256)'
handler: handleTransfer
file: ./src/mapping.ts
kind: ethereum/events
language: wasm/assemblyscript
name: SubgraphNFT
network: mainnet
source:
abi: SubgraphNFT
address: '0x24e36639b3A3aaA9c928a8A6f12d34F942f1ab67'
startBlock: 11440000