-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathparameters.yaml
328 lines (293 loc) · 9.92 KB
/
parameters.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
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
# Nodes that can be used to request data
rpc_node:
mainnet: !ENV ${MAINNET_NODE}
optimism: !ENV ${OPTIMISM_NODE}
polygon: !ENV ${POLYGON_NODE}
boba: !ENV ${BOBA_NODE}
arbitrum: !ENV ${ARBITRUM_NODE}
etherscan_keys:
mainnet: !ENV ${ETHERSCAN_API_KEY}
optimism: !ENV ${OPTIMISTIC_ETHERSCAN_API_KEY}
polygon: !ENV ${POLYGONSCAN_API_KEY}
boba: !ENV ${BOBASCAN_API_KEY}
arbitrum: !ENV ${ARBISCAN_API_KEY}
# `across` parameters contain certain pieces of information that are useful
# to reference in multiple places
across:
v1:
mainnet:
bridge:
DAI:
address: "0x43f133FE6fDFA17c417695c476447dc2a449Ba5B"
first_block: 14_302_709
USDC:
address: "0x256C8919CE1AB0e33974CF6AA9c71561Ef3017b6"
first_block: 13_545_487
WBTC:
address: "0x02fbb64517E1c6ED69a6FAa3ABf37Db0482f1152"
first_block: 13_996_048
WETH:
address: "0x7355Efc63Ae731f584380a9838292c7046c1e433"
first_block: 13_545_377
optimism:
deposit_box:
address: "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96"
first_block: 204_576
boba:
deposit_box:
address: "0xCD43CEa89DF8fE39031C03c24BC24480e942470B"
first_block: 223_808
arbitrum:
deposit_box:
address: "0xD8c6dD978a3768F7DDfE3A9aAD2c3Fd75Fa9B6Fd"
first_block: 2_811_998
v2:
mainnet:
hub:
address: "0xc186fA914353c44b2E33eBE05f21846F1048bEda"
first_block: 14_819_537
spoke:
address: "0x4D9079Bb4165aeb4084c526a32695dCfd2F77381"
first_block: 14_819_486
optimism:
spoke:
address: "0xa420b2d1c0841415A695b81E5B867BCD07Dff8C9"
first_block: 8_747_136
polygon:
spoke:
address: "0x69B5c72837769eF1e7C164Abc6515DcFf217F920"
first_block: 28_604_263
boba:
spoke:
address: "0xBbc6009fEfFc27ce705322832Cb2068F8C1e0A58"
first_block: 619_993
arbitrum:
spoke:
address: "0xB88690461dDbaB6f04Dfad7df66B7725942FEb9C"
first_block: 12_741_972
# `bridgoor` parameters correspond to specifications on how bridge users
# are included in the airdrop
bridgoor:
# The number of blocks to request at a time for both v1/v2 bridge events
n_blocks:
1: 25_000
10: 100_000
137: 3_500
288: 5_000
42161: 50_000
# Only bridgoors who bridged to one of these chains/tokens receive rewards
chains: ["mainnet", "optimism", "polygon", "boba", "arbitrum"]
tokens: ["DAI", "USDC", "WBTC", "WETH"]
v1_start_block: 13_576_190 # 2021-11-08T14:00+00:00
v1_end_block: 14_987_809 # 2022-06-19T00:00+00:00
v2_start_block: # 2022-05-24T14:00+00:00
1: 14_836_162
10: 8_915_780
137: 28_714_237
288: 622_100
42161: 12_862_573
v2_end_block: # 2022-07-19T00:00+00:00
1: 15_169_695
10: 14_924_065
137: 30_878_164
288: 731_786
42161: 17_963_566
# Shared parameters
parameters:
inclusion:
# If you do this many transfers and a certain volume, you're included
transfer_count: 2
transfer_count_volume: 500
# If you do this amount of volume, you're included
volume_inclusion: 10_000
score:
# The power that the clipped volume is raised to
power: 0.5
# The upper bound of volume that counts for score
ub: 5_000_000
# Total rewards shared between bridgoors
total_rewards: 15_000_000
# `lp` parameters correspond to specifications on how liquidity providers
# are included in the airdrop
lp:
# The number of blocks to request at a time for both v1/v2 liquidity events
n_blocks: 500_000
# LPs receive rewards for LPing for these tokens
tokens: ["DAI", "USDC", "WBTC", "WETH"]
# v1 start block picked by the v1 launch on 2021-11-08T14:00+00:00
v1_start_block: 13_576_190
# v1 end block picked by the v2 launch from 2022-05-24T14:00+00:00
v1_end_block: 14_836_161
# v2 launch block picked by the v2 launch on 2022-05-24T14:00+00:00
v2_start_block: 14_836_162
# v2 end block is 2022-11-28T06:00:00+00:00
v2_end_block: 16_066_551
v2_lp_token_creation_block:
DAI: 14_828_021
USDC: 14_824_012
WBTC: 14_824_012
WETH: 14_823_998
v2_lp_token_creation_block:
DAI: 14_828_021
USDC: 14_824_012
WBTC: 14_824_012
WETH: 14_823_998
# Shared parameters
parameters:
# Total rewards shared between LPs
total_rewards: 70_000_000
# `traveler` parameters correspond to specifications on which "bridge travelers"
# should qualify for the "pre-drop" -- After they qualify, they still need
# to accomplish their pre-determined Across tasks
traveler:
chains: ["mainnet", "optimism", "polygon", "boba", "arbitrum"]
tokens: ["DAI", "USDC", "USDT", "ETH", "WETH", "WBTC"]
n_blocks:
1: 25_000
10: 100_000
137: 3_500
288: 5_000
42161: 50_000
travel_start_block: # 2022-10-11T00:00:00
1: 15_721_143
10: 28_581_865
137: 34_187_912
288: 835_877
42161: 29_474_892
travel_end_block: # 2022-11-22T00:00:00
1: 16_021_829
10: 40_681_474
137: 35_904_127
288: 890_563
42161: 40_090_460
# Cbridge
cbridge:
chains: ["mainnet", "optimism", "polygon", "arbitrum"]
tokens: ["DAI", "USDC", "USDT", "ETH", "WETH"]
contract_info:
1:
address: "0x5427FEFA711Eff984124bFBB1AB6fbf5E3DA1820"
first_block: 13_916_166 # 2022-01-01T00:00
last_block: 15_449_618 # 2022-09-01T00:00
10:
address: "0x9D39Fc627A6d9d9F8C831c16995b209548cc3401"
first_block: 1_806_122 # 2022-01-01T00:00
last_block: 21_406_456 # 2022-09-01T00:00
137:
address: "0x88DCDC47D2f83a99CF0000FDF667A468bB958a78"
first_block: 23_201_014 # 2022-01-01T00:00
last_block: 32_534_499 # 2022-09-01T00:00
42161:
address: "0x1619DE6B6B20eD217a58d00f37B9d47C7663feca"
first_block: 4_221_290 # 2022-01-01T00:00
last_block: 22_253_579 # 2022-09-01T00:00
# Hop parameters
hop:
chains: ["mainnet", "optimism", "gnosis", "polygon", "arbitrum"]
tokens: ["DAI", "USDC", "USDT", "ETH", "WETH"]
first_block: # 2022-01-01T00:00
1: 13_916_166
10: 1_806_122
100: 19_872_632
137: 23_201_014
42161: 4_221_290
last_block: # 2022-09-01T00:00
1: 15_449_618
10: 21_406_456
100: 23_980_828
137: 32_534_499
42161: 22_253_579
# Stargate parameters
stg:
chains: ["mainnet", "optimism", "polygon", "arbitrum"]
tokens: ["USDC", "USDT", "SGETH"]
contract_info:
1:
SGETH:
address: "0x101816545F6bd2b1076434B54383a1E633390A2E"
first_block: 15_035_701 # 2022-06-27T18:32 (deployment block)
last_block: 15_449_618 # 2022-09-01T00:00
USDC:
address: "0xdf0770dF86a8034b3EFEf0A1Bb3c889B8332FF56"
first_block: 14_403_393 # 2022-03-17T10:08 (deployment block)
last_block: 15_449_618 # 2022-09-01T00:00
10:
SGETH:
address: "0xd22363e3762cA7339569F3d33EADe20127D5F98C"
first_block: 13_332_734 # 2022-06-27T18:23 (deployment block)
last_block: 21_406_456 # 2022-09-01T00:00
USDC:
address: "0xDecC0c09c3B5f6e92EF4184125D5648a66E35298"
first_block: 4_535_509 # 2022-03-17T07:52 (deployment block)
last_block: 21_406_456 # 2022-09-01T00:00
137:
USDC:
address: "0x1205f31718499dBf1fCa446663B532Ef87481fe1"
first_block: 26_032_726 # 2022-03-17T08:05 (deployment block)
last_block: 32_534_499 # 2022-09-01T00:00
42161:
SGETH:
address: "0x915A55e36A01285A14f05dE6e81ED9cE89772f8e"
first_block: 16_112_680 # 2022-06-27T18:24 (deployment block)
last_block: 22_535_579 # 2022-09-01T00:00
USDC:
address: "0x892785f33CdeE22A30AEF750F285E18c18040c3e"
first_block: 8_041_115 # 2022-03-17T07:51 (deployment block)
last_block: 22_535_579 # 2022-09-01T00:00
# Synapse parameters
synapse:
chains: ["mainnet", "optimism", "polygon", "boba", "arbitrum"]
tokens: ["USDC", "USDT", "nUSD", "ETH", "WETH", "nETH"]
contract_info:
1:
address: "0x2796317b0fF8538F253012862c06787Adfb8cEb6"
first_block: 13_916_166 # 2022-01-01T00:00
last_block: 15_449_618 # 2022-09-01T00:00
10:
address: "0xAf41a65F786339e7911F4acDAD6BD49426F2Dc6b"
first_block: 1_806_122 # 2022-01-01T00:00
last_block: 21_406_456 # 2022-09-01T00:00
137:
address: "0x8F5BBB2BB8c2Ee94639E55d5F41de9b4839C1280"
first_block: 23_201_014 # 2022-01-01T00:00
last_block: 32_534_499 # 2022-09-01T00:00
288:
address: "0x432036208d2717394d2614d6697c46DF3Ed69540"
first_block: 271_550 # 2022-01-01T00:00
last_block: 731_786 # 2022-09-01T00:00
42161:
address: "0x6F4e8eBa4D337f874Ab57478AcC2Cb5BACdc19c9"
first_block: 4_221_290 # 2022-01-01T00:00
last_block: 22_253_579 # 2022-09-01T00:00
parameters:
inclusion:
# If you do this many transfers and a certain volume, you're included
transfer_count: 5
transfer_count_volume: 3_000
# If you do this amount of volume, you're automatically included
volume_inclusion: 25_000
score:
# The power that the clipped volume is raised to
power: 0.5
# The upper bound of volume that counts for score
ub: 500_000
rewards:
tokens_lb: 10_000_000
tokens_ub: 20_000_000
bonus_threshold: 0.30
clip_threshold: 25_000
qualification:
eth: 0
usdc: 0.0000025
misc:
# Block data
block:
chains: ["mainnet", "optimism", "polygon", "boba", "arbitrum"]
start_ts_mainnet: 1636329600 # 2021-11-08T00:00
start_ts_nonmainnet: 1640995200 # 2022-01-01T00:00
end_ts: 1669075200 # 2022-11-28T06:00
# Price data
price:
start_ts: 1609459200 # 2021-01-01T00:00
end_ts: 1669615200 # 2022-11-28T06:00
tokens: ["DAI", "ETH", "USDC", "WBTC", "WETH"]