forked from Synthetixio/synthetix-deployments
-
Notifications
You must be signed in to change notification settings - Fork 1
/
omnibus-optimism-mainnet.toml
118 lines (88 loc) · 3.08 KB
/
omnibus-optimism-mainnet.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
name = "synthetix-omnibus"
version = "4"
description = "Includes the full synthetix system with configurations applied"
include = [
"tomls/settings.toml",
"tomls/ccip-mainnet.toml",
"tomls/core.toml",
"tomls/permissions.toml",
"tomls/collaterals/snx.toml",
# eth collateral is not enabled/set up on v3
#"tomls/oracles/eth.toml",
#"tomls/collaterals/weth.toml",
"tomls/pools/spartan-council.toml",
"tomls/permit-all-transferCrossChain.toml",
"tomls/omnibus-optimism-mainnet/spot-factory.toml",
"tomls/markets/spot/eth.toml",
]
[setting.snx_package]
defaultValue = "synthetix:3.3.4"
[setting.spot_market_package]
defaultValue = "synthetix-spot-market:3.3.4"
[setting.perps_market_package]
defaultValue = "synthetix-perps-market:3.3.4"
[setting.owner]
defaultValue = "0x6E1613B5c68B4Cf2A58400D8019a97849A678139"
[setting.salt]
defaultValue = "0x3330363734343032330000000000000000000000000000000000000000000000"
[setting.snx_address]
defaultValue = "0x8700dAec35aF8Ff88c16BdF0418774CB3D7599B4"
[setting.snx_aggregator_address]
defaultValue = "0x2FCF37343e916eAEd1f1DdaaF84458a359b53877"
[setting.snx_chainlink_staleness_tolerance]
defaultValue = "3600"
[setting.weth_address]
defaultValue = "0x4200000000000000000000000000000000000006"
[setting.eth_aggregator_address]
defaultValue = "0x13e3Ee699D1909E989722E753853AE30b17e08c5"
[setting.btc_aggregator_address]
defaultValue = "0xD702DD976Fb76Fffc2D3963D037dfDae5b04E593"
[setting.snx_liquidation_reward]
defaultValue = "10000000000000000000"
[setting.minimum_liquidity_ratio]
defaultValue = "2000000000000000000"
[setting.account_timeout_withdraw]
defaultValue = "86400"
[setting.deployer]
defaultValue = "0x302d2451d9f47620374B54c521423Bf0403916A2"
[setting.sc_pool_id]
defaultValue = "1"
[setting.pool_owner]
defaultValue = "0x302d2451d9f47620374B54c521423Bf0403916A2"
[setting.ccip_router]
defaultValue = "0x261c05167db67B2b619f9d312e0753f3721ad6E8"
[setting.ccip_token_pool]
defaultValue = "0xe470A3068302CF045Eec3B800dDBFf42B42e18D8"
# ETH Synth Configuration
[setting.synthEthAsyncFixedFee]
defaultValue = "0.001"
[setting.synthEthMaxMarketCollateral]
defaultValue = "100"
[setting.synthEthSkewScale]
defaultValue = "100000"
[setting.synthEthWrapFee]
defaultValue = "0.0001"
[setting.synthEthUnwrapFee]
defaultValue = "0.0001"
[setting.ethSettlementWindowDuration]
defaultValue = "60"
[setting.ethSettlementDelay]
defaultValue = "15"
# Pyth settlement strategy config
[setting.pythFeedUrl]
defaultValue = "https://api.synthetix.io/pyth-mainnet/api/get_vaa_ccip?data={data}"
[setting.pythEthFeedId]
defaultValue = "0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace"
[setting.pythPriceVerificationAddress]
defaultValue = "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C"
[invoke.setScPoolConfig]
target = ["system.CoreProxy"]
fromCall.func = "getPoolOwner"
fromCall.args = ["<%= settings.sc_pool_id %>"]
func = "setPoolConfiguration"
args = [
"<%= settings.sc_pool_id %>",
[
{ marketId = "<%= extras.synth_eth_market_id %>", weightD18 = 1, maxDebtShareValueD18 = "<%= parseEther('1') %>" },
],
]