-
Notifications
You must be signed in to change notification settings - Fork 8
/
subgraph-gnosis-chain.yaml
179 lines (179 loc) · 5.09 KB
/
subgraph-gnosis-chain.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: ds-gno
network: gnosis
source:
address: "0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb"
abi: ERC20
startBlock: 11629829
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- User
abis:
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/gno.ts
- kind: ethereum
name: ds-lgno
network: gnosis
source:
address: "0xd4Ca39f78Bf14BfaB75226AC833b1858dB16f9a1"
abi: ERC20
startBlock: 20388099
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- User
abis:
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/lgno.ts
- kind: ethereum
name: ds-deposit
network: gnosis
source:
address: "0x0B98057eA310F4d31F2a452B414647007d1645d9"
abi: SBCDepositContract
startBlock: 19469077
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- User
abis:
- name: SBCDepositContract
file: ./abis/SBCDepositContract.json
eventHandlers:
- event: DepositEvent(bytes,bytes,bytes,bytes,bytes)
handler: handleDeposit
file: ./src/deposit.ts
- kind: ethereum
name: ds-sgno
network: gnosis
source:
address: "0xa4ef9da5ba71cc0d2e5e877a910a37ec43420445"
abi: ERC20
startBlock: 21275850
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- User
abis:
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/sgno.ts
# Balancer
# - kind: ethereum/contract
# name: ds-balancer-v2-vault
# network: gnosis
# source:
# address: "0xBA12222222228d8Ba445958a75a0704d566BF2C8"
# abi: Vault
# startBlock: 24821597
# mapping:
# kind: ethereum/events
# apiVersion: 0.0.6
# language: wasm/assemblyscript
# file: ./src/balancerV2/vault.ts
# entities:
# - WeightedPool
# abis:
# - name: Vault
# file: ./abis/balancerV2/Vault.json
# eventHandlers:
# - event: Swap(indexed bytes32,indexed address,indexed address,uint256,uint256)
# handler: handleSwap
# - event: PoolBalanceChanged(indexed bytes32,indexed address,address[],int256[],uint256[])
# handler: handleBalanceChange
# - event: InternalBalanceChanged(indexed address,indexed address,int256)
# handler: handleInternalBalanceChange
# - kind: ethereum/contract
# name: ds-balancer-v2-gauge-gno-osgno
# network: gnosis
# source:
# address: "0x1350724a020B27c4f0E369bB00ae3127022d5465"
# abi: ERC20
# startBlock: 35400261
# mapping:
# kind: ethereum/events
# apiVersion: 0.0.6
# language: wasm/assemblyscript
# entities:
# - User
# - WeightedPool
# - WeightedPoolPosition
# abis:
# - name: ERC20
# file: ./abis/ERC20.json
# eventHandlers:
# - event: Transfer(indexed address,indexed address,uint256)
# handler: handleTransfer
# file: ./src/balancerV2/gauge.ts
# - kind: ethereum/contract
# name: ds-balancer-v2-factory
# network: gnosis
# source:
# address: "0x6CaD2ea22BFA7F4C14Aae92E47F510Cd5C509bc7"
# abi: WeightedPoolFactory
# startBlock: 27055828
# mapping:
# kind: ethereum/events
# apiVersion: 0.0.6
# language: wasm/assemblyscript
# file: ./src/balancerV2/factory.ts
# entities:
# - WeightedPool
# abis:
# - name: Vault
# file: ./abis/balancerV2/Vault.json
# - name: WeightedPoolFactory
# file: ./abis/balancerV2/WeightedPoolFactory.json
# - name: WeightedPool
# file: ./abis/balancerV2/WeightedPool.json
# eventHandlers:
# - event: PoolCreated(indexed address)
# handler: handlePoolCreated
# templates:
# # Balancer
# - kind: ethereum/contract
# name: BalancerV2Pool
# network: gnosis
# source:
# abi: ERC20
# mapping:
# kind: ethereum/events
# apiVersion: 0.0.6
# language: wasm/assemblyscript
# file: ./src/balancerV2/pool.ts
# entities:
# - User
# - WeightedPool
# - WeightedPoolPosition
# abis:
# - name: Vault
# file: ./abis/balancerV2/Vault.json
# - name: ERC20
# file: ./abis/ERC20.json
# eventHandlers:
# - event: Transfer(indexed address,indexed address,uint256)
# handler: handleTransfer