-
Notifications
You must be signed in to change notification settings - Fork 1
/
subgraph.yaml
221 lines (220 loc) · 7.83 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
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: SPA_USDs_Dynamic_Farm
network: arbitrum-one
source:
address: "0x84f7F3246fD8beAAc8Af4aB08a2161506Cb97174"
abi: SPA_USDs_Dynamic_Farm
startBlock: 14515692
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- CooldownInitiated
- CooldownPeriodUpdated
- DepositPaused
- DepositWithdrawn
- Deposited
- EmergencyClaim
- FundsRecovered
- OwnershipTransferred
- PoolUnsubscribed
- RewardRateUpdated
- RewardsClaimed
abis:
- name: SPA_USDs_Dynamic_Farm
file: ./abis/SPA_USDs_Dynamic_Farm.json
eventHandlers:
- event: CooldownInitiated(indexed address,uint256,uint256)
handler: handleCooldownInitiated
- event: CooldownPeriodUpdated(uint256,uint256)
handler: handleCooldownPeriodUpdated
- event: DepositPaused(bool)
handler: handleDepositPaused
- event: DepositWithdrawn(indexed address,uint256,uint256,uint256,uint256,uint256)
handler: handleDepositWithdrawn
- event: Deposited(indexed address,bool,uint256,uint256)
handler: handleDeposited
- event: EmergencyClaim(indexed address)
handler: handleEmergencyClaim
- event: FundsRecovered(indexed address,uint256)
handler: handleFundsRecovered
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: PoolUnsubscribed(indexed address,uint256,uint8,uint256,uint256,uint256)
handler: handlePoolUnsubscribed
- event: RewardRateUpdated(uint8,uint256,uint256)
handler: handleRewardRateUpdated
- event: RewardsClaimed(indexed address,uint8,uint256,uint256,uint256,uint256)
handler: handleRewardsClaimed
file: ./src/SPA_USDs_Dynamic_Farm.ts
- kind: ethereum
name: USDs_USDC_Dynamic_Farm
network: arbitrum-one
source:
address: "0x7775Cd662ACF952101acE08a7144C8Bb7d5ef2bE"
abi: USDs_USDC_Dynamic_Farm
startBlock: 19293730
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- CooldownInitiated
- CooldownPeriodUpdated
- DepositPaused
- DepositWithdrawn
- Deposited
- EmergencyClaim
- FundsRecovered
- OwnershipTransferred
- PoolUnsubscribed
- RewardRateUpdated
- RewardsClaimed
abis:
- name: USDs_USDC_Dynamic_Farm
file: ./abis/USDs_USDC_Dynamic_Farm.json
eventHandlers:
- event: CooldownInitiated(indexed address,uint256,uint256)
handler: handleCooldownInitiated
- event: CooldownPeriodUpdated(uint256,uint256)
handler: handleCooldownPeriodUpdated
- event: DepositPaused(bool)
handler: handleDepositPaused
- event: DepositWithdrawn(indexed address,uint256,uint256,uint256,uint256,uint256)
handler: handleDepositWithdrawn
- event: Deposited(indexed address,bool,uint256,uint256)
handler: handleDeposited
- event: EmergencyClaim(indexed address)
handler: handleEmergencyClaim
- event: FundsRecovered(indexed address,uint256)
handler: handleFundsRecovered
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: PoolUnsubscribed(indexed address,uint256,uint8,uint256,uint256,uint256)
handler: handlePoolUnsubscribed
- event: RewardRateUpdated(uint8,uint256,uint256)
handler: handleRewardRateUpdated
- event: RewardsClaimed(indexed address,uint8,uint256,uint256,uint256,uint256)
handler: handleRewardsClaimed
file: ./src/USDs_USDC_Dynamic_Farm.ts
- kind: ethereum
name: NonFungiblePositionManager
network: arbitrum-one
source:
address: "0xc36442b4a4522e871399cd717abdd847ab11fe88"
abi: NonFungiblePositionManager
startBlock: 14515692
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/NonFungiblePositionManagerMapping.ts
entities:
- Collect
- DecreaseLiquidity
- IncreaseLiquidity
abis:
- name: NonFungiblePositionManager
file: ./abis/NonFungiblePositionManager.json
eventHandlers:
- event: Collect(indexed uint256,address,uint256,uint256)
handler: handleCollect
- event: DecreaseLiquidity(indexed uint256,uint128,uint256,uint256)
handler: handleDecreaseLiquidity
- event: IncreaseLiquidity(indexed uint256,uint128,uint256,uint256)
handler: handleIncreaseLiquidity
- kind: ethereum
name: l2daoUsdsFarm
network: arbitrum-one
source:
address: "0x39Eb38cf2cC8b4Ff77817e2Ada6bA64e40a4d8Ea"
startBlock: 20982396
abi: l2daoUsdsFarm
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- CooldownInitiated
- CooldownPeriodUpdated
- DepositPaused
- DepositWithdrawn
- Deposited
- EmergencyClaim
- FundsRecovered
- OwnershipTransferred
- PoolUnsubscribed
- RewardRateUpdated
- RewardsClaimed
abis:
- name: l2daoUsdsFarm
file: ./abis/l2daoUsdsFarm.json
eventHandlers:
- event: CooldownInitiated(indexed address,uint256,uint256)
handler: handleCooldownInitiated
- event: CooldownPeriodUpdated(uint256,uint256)
handler: handleCooldownPeriodUpdated
- event: DepositPaused(bool)
handler: handleDepositPaused
- event: DepositWithdrawn(indexed address,uint256,uint256,uint256,uint256,uint256[])
handler: handleDepositWithdrawn
- event: Deposited(indexed address,bool,uint256,uint256)
handler: handleDeposited
- event: EmergencyClaim(indexed address)
handler: handleEmergencyClaim
- event: FundsRecovered(indexed address,address,uint256)
handler: handleFundsRecovered
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: PoolUnsubscribed(indexed address,uint8,uint256,uint256,uint256,uint256[])
handler: handlePoolUnsubscribed
- event: RewardRateUpdated(address,uint256[],uint256[])
handler: handleRewardRateUpdated
- event: RewardsClaimed(indexed address,uint8,uint256,uint256,uint256,uint256[])
handler: handleRewardsClaimed
file: ./src/l2daoUsdsMapping.ts
- kind: ethereum
name: erc20USDs
network: arbitrum-one
source:
address: "0xd74f5255d557944cf7dd0e45ff521520002d5748"
abi: erc20USDs
startBlock: 20982396
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Transfer
abis:
- name: erc20USDs
file: ./abis/erc20contract.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/tokens/USDsMapping.ts
- kind: ethereum
name: erc20L2DAO
network: arbitrum-one
source:
address: "0x2cab3abfc1670d1a452df502e216a66883cdf079"
abi: erc20L2DAO
startBlock: 20982396
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Transfer
abis:
- name: erc20L2DAO
file: ./abis/erc20contract.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/tokens/L2DAOMapping.ts