forked from Synthetixio/synthetix-deployments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
omnibus-base-mainnet-andromeda.toml
426 lines (397 loc) · 16.8 KB
/
omnibus-base-mainnet-andromeda.toml
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
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
name = "synthetix-omnibus"
version = "49"
description = "Andromeda deployment"
preset = "andromeda"
include = [
"tomls/core.toml",
"tomls/settings.toml",
"tomls/permissions.toml",
"tomls/omnibus-base-mainnet-andromeda/permit-deniers.toml",
"tomls/pools/spartan-council.toml",
"tomls/markets/spot-factory.toml",
"tomls/markets/perps-highcap-factory.toml",
"tomls/markets/common/bigcap-settings.toml",
"tomls/permit-all-perps-perpsHighcapSystem.toml",
"tomls/permit-pdao-createMarket.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/referrers.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/global.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/perps-keeper-cost.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/feeCollector.toml",
# USDC
"tomls/omnibus-base-mainnet-andromeda/collaterals/sUSDC.toml",
"tomls/omnibus-base-mainnet-andromeda/spot/USDC.toml",
# stataUSDC
"tomls/omnibus-base-mainnet-andromeda/collaterals/sstataUSDC.toml",
"tomls/omnibus-base-mainnet-andromeda/spot/stataUSDC.toml",
"tomls/omnibus-base-mainnet-andromeda/oracles/stataUSDC-USDC.toml",
# BTC
"tomls/omnibus-base-mainnet-andromeda/perps/btc-invokes.toml",
"tomls/oracles/pyth-btc.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/btc.toml",
# ETH
"tomls/omnibus-base-mainnet-andromeda/perps/eth-invokes.toml",
"tomls/oracles/pyth-eth.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/eth.toml",
# SNX
"tomls/omnibus-base-mainnet-andromeda/perps/snx-invokes.toml",
"tomls/oracles/pyth-snx.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/snx.toml",
# SOL
"tomls/omnibus-base-mainnet-andromeda/perps/sol-invokes.toml",
"tomls/oracles/pyth-sol.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/sol.toml",
# WIF
"tomls/omnibus-base-mainnet-andromeda/perps/wif-invokes.toml",
"tomls/oracles/pyth-wif.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/wif.toml",
# W
"tomls/omnibus-base-mainnet-andromeda/perps/w-invokes.toml",
"tomls/oracles/pyth-w.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/w.toml",
# ENA
"tomls/omnibus-base-mainnet-andromeda/perps/ena-invokes.toml",
"tomls/oracles/pyth-ena.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/ena.toml",
# DOGE
"tomls/omnibus-base-mainnet-andromeda/perps/doge-invokes.toml",
"tomls/oracles/pyth-doge.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/doge.toml",
# AVAX
"tomls/omnibus-base-mainnet-andromeda/perps/avax-invokes.toml",
"tomls/oracles/pyth-avax.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/avax.toml",
# OP
"tomls/omnibus-base-mainnet-andromeda/perps/op-invokes.toml",
"tomls/oracles/pyth-op.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/op.toml",
# ORDI
"tomls/omnibus-base-mainnet-andromeda/perps/ordi-invokes.toml",
"tomls/oracles/pyth-ordi.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/ordi.toml",
# PEPE
"tomls/omnibus-base-mainnet-andromeda/perps/pepe-invokes.toml",
"tomls/oracles/pyth-pepe.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/pepe.toml",
# RUNE
"tomls/omnibus-base-mainnet-andromeda/perps/rune-invokes.toml",
"tomls/oracles/pyth-rune.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/rune.toml",
# BONK
"tomls/omnibus-base-mainnet-andromeda/perps/bonk-invokes.toml",
"tomls/oracles/pyth-bonk.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/bonk.toml",
# FTM
"tomls/omnibus-base-mainnet-andromeda/perps/ftm-invokes.toml",
"tomls/oracles/pyth-ftm.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/ftm.toml",
# ARB
"tomls/omnibus-base-mainnet-andromeda/perps/arb-invokes.toml",
"tomls/oracles/pyth-arb.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/arb.toml",
# MATIC
"tomls/omnibus-base-mainnet-andromeda/perps/matic-invokes.toml",
"tomls/oracles/pyth-matic.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/matic.toml",
# BNB
"tomls/omnibus-base-mainnet-andromeda/perps/bnb-invokes.toml",
"tomls/oracles/pyth-bnb.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/bnb.toml",
# LINK
"tomls/omnibus-base-mainnet-andromeda/perps/link-invokes.toml",
"tomls/oracles/pyth-link.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/link.toml",
# PENDLE
"tomls/omnibus-base-mainnet-andromeda/perps/pendle-invokes.toml",
"tomls/oracles/pyth-pendle.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/pendle.toml",
# INJ
"tomls/omnibus-base-mainnet-andromeda/perps/inj-invokes.toml",
"tomls/oracles/pyth-inj.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/inj.toml",
# GMX
"tomls/omnibus-base-mainnet-andromeda/perps/gmx-invokes.toml",
"tomls/oracles/pyth-gmx.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/gmx.toml",
# TIA
"tomls/omnibus-base-mainnet-andromeda/perps/tia-invokes.toml",
"tomls/oracles/pyth-tia.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/tia.toml",
# SUI
"tomls/omnibus-base-mainnet-andromeda/perps/sui-invokes.toml",
"tomls/oracles/pyth-sui.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/sui.toml",
# TON
"tomls/omnibus-base-mainnet-andromeda/perps/ton-invokes.toml",
"tomls/oracles/pyth-ton.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/ton.toml",
# ARKM
"tomls/omnibus-base-mainnet-andromeda/perps/arkm-invokes.toml",
"tomls/oracles/pyth-arkm.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/arkm.toml",
# GALA
"tomls/omnibus-base-mainnet-andromeda/perps/gala-invokes.toml",
"tomls/oracles/pyth-gala.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/gala.toml",
# TAO
"tomls/omnibus-base-mainnet-andromeda/perps/tao-invokes.toml",
"tomls/oracles/pyth-tao.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/tao.toml",
# BOME
"tomls/omnibus-base-mainnet-andromeda/perps/bome-invokes.toml",
"tomls/oracles/pyth-bome.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/bome.toml",
# ETHFI
"tomls/omnibus-base-mainnet-andromeda/perps/ethfi-invokes.toml",
"tomls/oracles/pyth-ethfi.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/ethfi.toml",
# STX
"tomls/omnibus-base-mainnet-andromeda/perps/stx-invokes.toml",
"tomls/oracles/pyth-stx.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/stx.toml",
# AXL
"tomls/omnibus-base-mainnet-andromeda/perps/axl-invokes.toml",
"tomls/oracles/pyth-axl.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/axl.toml",
# AAVE
"tomls/omnibus-base-mainnet-andromeda/perps/aave-invokes.toml",
"tomls/oracles/pyth-aave.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/aave.toml",
# ADA
"tomls/omnibus-base-mainnet-andromeda/perps/ada-invokes.toml",
"tomls/oracles/pyth-ada.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/ada.toml",
# ALGO
"tomls/omnibus-base-mainnet-andromeda/perps/algo-invokes.toml",
"tomls/oracles/pyth-algo.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/algo.toml",
# APT
"tomls/omnibus-base-mainnet-andromeda/perps/apt-invokes.toml",
"tomls/oracles/pyth-apt.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/apt.toml",
# ATOM
"tomls/omnibus-base-mainnet-andromeda/perps/atom-invokes.toml",
"tomls/oracles/pyth-atom.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/atom.toml",
# AXS
"tomls/omnibus-base-mainnet-andromeda/perps/axs-invokes.toml",
"tomls/oracles/pyth-axs.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/axs.toml",
# BAL
"tomls/omnibus-base-mainnet-andromeda/perps/bal-invokes.toml",
"tomls/oracles/pyth-bal.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/bal.toml",
# BCH
"tomls/omnibus-base-mainnet-andromeda/perps/bch-invokes.toml",
"tomls/oracles/pyth-bch.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/bch.toml",
# BLUR
"tomls/omnibus-base-mainnet-andromeda/perps/blur-invokes.toml",
"tomls/oracles/pyth-blur.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/blur.toml",
# COMP
"tomls/omnibus-base-mainnet-andromeda/perps/comp-invokes.toml",
"tomls/oracles/pyth-comp.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/comp.toml",
# CRV
"tomls/omnibus-base-mainnet-andromeda/perps/crv-invokes.toml",
"tomls/oracles/pyth-crv.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/crv.toml",
# DOT
"tomls/omnibus-base-mainnet-andromeda/perps/dot-invokes.toml",
"tomls/oracles/pyth-dot.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/dot.toml",
# DYDX
"tomls/omnibus-base-mainnet-andromeda/perps/dydx-invokes.toml",
"tomls/oracles/pyth-dydx.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/dydx.toml",
# EOS
"tomls/omnibus-base-mainnet-andromeda/perps/eos-invokes.toml",
"tomls/oracles/pyth-eos.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/eos.toml",
# ETC
"tomls/omnibus-base-mainnet-andromeda/perps/etc-invokes.toml",
"tomls/oracles/pyth-etc.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/etc.toml",
# ETHBTC
"tomls/omnibus-base-mainnet-andromeda/perps/ethbtc-invokes.toml",
"tomls/oracles/pyth-ethbtc.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/ethbtc.toml",
# FIL
"tomls/omnibus-base-mainnet-andromeda/perps/fil-invokes.toml",
"tomls/oracles/pyth-fil.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/fil.toml",
# FLOW
"tomls/omnibus-base-mainnet-andromeda/perps/flow-invokes.toml",
"tomls/oracles/pyth-flow.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/flow.toml",
# FXS
"tomls/omnibus-base-mainnet-andromeda/perps/fxs-invokes.toml",
"tomls/oracles/pyth-fxs.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/fxs.toml",
# GRT
"tomls/omnibus-base-mainnet-andromeda/perps/grt-invokes.toml",
"tomls/oracles/pyth-grt.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/grt.toml",
# ICP
"tomls/omnibus-base-mainnet-andromeda/perps/icp-invokes.toml",
"tomls/oracles/pyth-icp.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/icp.toml",
# IMX
"tomls/omnibus-base-mainnet-andromeda/perps/imx-invokes.toml",
"tomls/oracles/pyth-imx.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/imx.toml",
# JTO
"tomls/omnibus-base-mainnet-andromeda/perps/jto-invokes.toml",
"tomls/oracles/pyth-jto.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/jto.toml",
# JUP
"tomls/omnibus-base-mainnet-andromeda/perps/jup-invokes.toml",
"tomls/oracles/pyth-jup.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/jup.toml",
# LDO
"tomls/omnibus-base-mainnet-andromeda/perps/ldo-invokes.toml",
"tomls/oracles/pyth-ldo.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/ldo.toml",
# LTC
"tomls/omnibus-base-mainnet-andromeda/perps/ltc-invokes.toml",
"tomls/oracles/pyth-ltc.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/ltc.toml",
# MEME
"tomls/omnibus-base-mainnet-andromeda/perps/meme-invokes.toml",
"tomls/oracles/pyth-meme.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/meme.toml",
# NEAR
"tomls/omnibus-base-mainnet-andromeda/perps/near-invokes.toml",
"tomls/oracles/pyth-near.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/near.toml",
# PYTH
"tomls/omnibus-base-mainnet-andromeda/perps/pyth-invokes.toml",
"tomls/oracles/pyth-pyth.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/pyth.toml",
# RNDR
"tomls/omnibus-base-mainnet-andromeda/perps/rndr-invokes.toml",
"tomls/oracles/pyth-rndr.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/rndr.toml",
# SEI
"tomls/omnibus-base-mainnet-andromeda/perps/sei-invokes.toml",
"tomls/oracles/pyth-sei.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/sei.toml",
# SHIB
"tomls/omnibus-base-mainnet-andromeda/perps/shib-invokes.toml",
"tomls/oracles/pyth-shib.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/shib.toml",
# STRK
"tomls/omnibus-base-mainnet-andromeda/perps/strk-invokes.toml",
"tomls/oracles/pyth-strk.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/strk.toml",
# SUSHI
"tomls/omnibus-base-mainnet-andromeda/perps/sushi-invokes.toml",
"tomls/oracles/pyth-sushi.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/sushi.toml",
# TRX
"tomls/omnibus-base-mainnet-andromeda/perps/trx-invokes.toml",
"tomls/oracles/pyth-trx.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/trx.toml",
# UNI
"tomls/omnibus-base-mainnet-andromeda/perps/uni-invokes.toml",
"tomls/oracles/pyth-uni.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/uni.toml",
# XLM
"tomls/omnibus-base-mainnet-andromeda/perps/xlm-invokes.toml",
"tomls/oracles/pyth-xlm.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/xlm.toml",
# XRP
"tomls/omnibus-base-mainnet-andromeda/perps/xrp-invokes.toml",
"tomls/oracles/pyth-xrp.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/xrp.toml",
# YFI
"tomls/omnibus-base-mainnet-andromeda/perps/yfi-invokes.toml",
"tomls/oracles/pyth-yfi.toml",
"tomls/omnibus-base-mainnet-andromeda/perps/yfi.toml",
]
[setting.commitmentPriceDelay]
defaultValue = "2"
[setting.bigCapSettlementDelay]
defaultValue = "2"
[setting.snx_package]
defaultValue = "synthetix:3.3.18"
[setting.perps_keeper_cost_package]
defaultValue = "op-gas-price-oracle:3.4.0"
[setting.spot_market_package]
defaultValue = "synthetix-spot-market:3.3.15"
[setting.perps_market_package]
defaultValue = "synthetix-perps-market:3.3.19"
[setting.buyback_snx_package]
defaultValue = "buyback-snx:3.3.5" # Do not update! This package isn't upgradeable. A version change will deploy a new contract.
[setting.salt]
defaultValue = "andromeda"
[setting.target_preset]
defaultValue = "andromeda" # Preset assigned to provisioned packages
[setting.pyth_price_verification_address]
defaultValue = "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a"
[provision.pyth_erc7412_wrapper]
source = "pyth-erc7412-wrapper:3.3.15"
targetPreset = "<%= settings.target_preset %>"
options.salt = "<%= settings.salt %>"
options.pythAddress = "<%= settings.pyth_price_verification_address %>"
[setting.owner]
defaultValue = "0xEde8a407913A874Dd7e3d5B731AFcA135D30375E"
[setting.deployer]
defaultValue = "0xEde8a407913A874Dd7e3d5B731AFcA135D30375E"
[setting.pdao]
defaultValue = "0xbb63CA5554dc4CcaCa4EDd6ECC2837d5EFe83C82"
[setting.minimum_liquidity_ratio]
defaultValue = "<%= parseEther('1.25') %>" # 125% min market collateralization
[setting.account_timeout_withdraw]
defaultValue = "86400" # 1 day
[setting.sc_pool_id]
defaultValue = "1"
[setting.pool_owner]
defaultValue = "0xEde8a407913A874Dd7e3d5B731AFcA135D30375E"
[setting.usdc_address]
defaultValue = "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
[setting.stataBasUSDC_address]
defaultValue = "0x4EA71A20e655794051D1eE8b6e4A3269B13ccaCc"
description = "https://basescan.org/token/0x4EA71A20e655794051D1eE8b6e4A3269B13ccaCc"
[setting.snx_address]
defaultValue = "0x22e6966B799c4D5B13BE962E1D117b56327FDa66"
[provision.stp_14_spartan_council_pool_snx_rewards]
source = "synthetix-rewards-distributor:0.0.2"
targetPreset = "<%= settings.target_preset %>"
options.salt = "<%= settings.salt %>"
options.rewardManager = "<%= imports.system.contracts.CoreProxy.address %>"
options.poolId = "<%= settings.sc_pool_id %>"
options.collateralType = "<%= extras.synth_usdc_token_address %>"
options.payoutToken = "<%= settings.snx_address %>"
options.payoutTokenDecimals = "18"
options.name = "Spartan Council Pool Rewards"
[invoke.stp_14_register_spartan_council_pool_snx_rewards]
target = ["system.CoreProxy"]
fromCall.func = "getPoolOwner"
fromCall.args = ["<%= settings.sc_pool_id %>"]
func = "registerRewardsDistributor"
args = [
"<%= settings.sc_pool_id %>",
"<%= extras.synth_usdc_token_address %>",
"<%= imports.stp_14_spartan_council_pool_snx_rewards.contracts.RewardsDistributor.address %>",
]
[provision.sccp_313_spartan_council_pool_usdc_rewards]
source = "synthetix-rewards-distributor:0.0.2"
targetPreset = "<%= settings.target_preset %>"
options.salt = "<%= settings.salt %>"
options.rewardManager = "<%= imports.system.contracts.CoreProxy.address %>"
options.poolId = "<%= settings.sc_pool_id %>"
options.collateralType = "<%= extras.synth_usdc_token_address %>"
options.payoutToken = "<%= settings.usdc_address %>"
options.payoutTokenDecimals = "6"
options.name = "Spartan Council Pool USDC Rewards"
[invoke.sccp_313_register_spartan_council_pool_usdc_rewards]
target = ["system.CoreProxy"]
fromCall.func = "getPoolOwner"
fromCall.args = ["<%= settings.sc_pool_id %>"]
func = "registerRewardsDistributor"
args = [
"<%= settings.sc_pool_id %>",
"<%= extras.synth_usdc_token_address %>",
"<%= imports.sccp_313_spartan_council_pool_usdc_rewards.contracts.RewardsDistributor.address %>",
]