-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgnosis.subgraph.yaml
50 lines (50 loc) · 1.51 KB
/
gnosis.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
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NextToken
network: gnosis
source:
abi: NextToken
address: "0xFE67A4450907459c3e1FFf623aA927dD4e28c67a"
startBlock: 29795027
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- DelegateChanged
- DelegateVotesChanged
abis:
- name: NextToken
file: ./abis/NextToken.json
eventHandlers:
- event: DelegateChanged(indexed address,indexed address,indexed address)
handler: handleDelegateChanged
- event: DelegateVotesChanged(indexed address,uint256,uint256)
handler: handleDelegateVotesChanged
file: ./src/mainnet/everclear_mapping.ts
- kind: ethereum
name: ClearToken
network: gnosis
source:
abi: ClearToken
address: "0x58b9cB810A68a7f3e1E4f8Cb45D1B9B3c79705E8"
startBlock: 29795027
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- DelegateChanged
- DelegateVotesChanged
abis:
- name: ClearToken
file: ./abis/ClearToken.json
eventHandlers:
- event: DelegateChanged(indexed address,indexed address,indexed address)
handler: handleDelegateChanged
- event: DelegateVotesChanged(indexed address,uint256,uint256)
handler: handleDelegateVotesChanged
file: ./src/mainnet/everclear_mapping.ts