-
Notifications
You must be signed in to change notification settings - Fork 11
/
subgraph.yaml
119 lines (115 loc) · 3.3 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
specVersion: 0.0.4
description: Snapshot subgraph
repository: https://github.com/snapshot-labs/snapshot-subgraph
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: DelegateRegistry
network: mainnet
source:
address: '0x469788fE6E9E9681C6ebF3bF78e7Fd26Fc015446'
abi: DelegateRegistry
startBlock: 11225329
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Delegation
abis:
- name: DelegateRegistry
file: ./abis/DelegateRegistry.json
eventHandlers:
- event: SetDelegate(indexed address,indexed bytes32,indexed address)
handler: handleSetDelegate
- event: ClearDelegate(indexed address,indexed bytes32,indexed address)
handler: handleClearDelegate
# blockHandlers:
# - handler: handleBlock
file: ./src/mapping.ts
- kind: ethereum/contract
name: GnosisSafeProxyFactory_v1_0_0
network: mainnet
source:
address: '0x12302fE9c02ff50939BaAaaf415fc226C078613C'
abi: GnosisSafeProxyFactory
startBlock: 7450116
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
file: ./src/factory.ts
entities:
- Sig
abis:
- name: GnosisSafeProxyFactory
file: ./abis/GnosisSafeProxyFactory_v1.0.0.json
- name: GnosisSafe
file: ./abis/GnosisSafe.json
eventHandlers:
- event: ProxyCreation(address)
handler: handleProxyCreation_1_0_0
- kind: ethereum/contract
name: GnosisSafeProxyFactory_v1_1_1
network: mainnet
source:
address: '0x76E2cFc1F5Fa8F6a5b3fC4c8F4788F0116861F9B'
abi: GnosisSafeProxyFactory
startBlock: 9084508
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
file: ./src/factory.ts
entities:
- Sig
abis:
- name: GnosisSafeProxyFactory
file: ./abis/GnosisSafeProxyFactory_v1.1.1.json
- name: GnosisSafe
file: ./abis/GnosisSafe.json
eventHandlers:
- event: ProxyCreation(address)
handler: handleProxyCreation_1_1_1
- kind: ethereum/contract
name: GnosisSafeProxyFactory_v1_3_0
network: mainnet
source:
address: '0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2'
abi: GnosisSafeProxyFactory
startBlock: 12504126
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
file: ./src/factory.ts
entities:
- Sig
abis:
- name: GnosisSafeProxyFactory
file: ./abis/GnosisSafeProxyFactory_v1.3.0.json
- name: GnosisSafe
file: ./abis/GnosisSafe.json
eventHandlers:
- event: ProxyCreation(address,address)
handler: handleProxyCreation_1_3_0
templates:
- kind: ethereum/contract
name: GnosisSafe
network: mainnet
source:
abi: GnosisSafe
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
file: ./src/factory.ts
entities:
- Sig
abis:
- name: GnosisSafe
file: ./abis/GnosisSafe.json
eventHandlers:
- event: SignMsg(indexed bytes32)
handler: handleSignMsg