-
Notifications
You must be signed in to change notification settings - Fork 11
/
subgraph.optimism.yaml
71 lines (69 loc) · 1.95 KB
/
subgraph.optimism.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
specVersion: 0.0.2
description: Snapshot subgraph
repository: https://github.com/snapshot-labs/snapshot-subgraph
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: DelegateRegistry
network: optimism
source:
address: '0x469788fE6E9E9681C6ebF3bF78e7Fd26Fc015446'
abi: DelegateRegistry
startBlock: 19067342
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
file: ./src/mapping.ts
- kind: ethereum/contract
name: GnosisSafeProxyFactory_v1_3_0
network: optimism
source:
address: '0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC'
abi: GnosisSafeProxyFactory
startBlock: 173709
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: optimism
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