Skip to content

Commit

Permalink
chore: update deploy configs
Browse files Browse the repository at this point in the history
  • Loading branch information
panukettu committed Jan 30, 2024
1 parent 470d7d2 commit ab1421b
Show file tree
Hide file tree
Showing 15 changed files with 492 additions and 355 deletions.
130 changes: 66 additions & 64 deletions configs/foundry/deploy/arbitrum-fork/assets-arbitrum-fork.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"00_ticker": "ETH",
"02_anchor": "0x0000000000000000000000000000000000000000",
"03_oracles": [
1,
5,
2
],
"04_factor": 1e4,
Expand Down Expand Up @@ -60,7 +60,7 @@
"00_ticker": "BTC",
"02_anchor": "0x0000000000000000000000000000000000000000",
"03_oracles": [
1,
5,
2
],
"04_factor": 1e4,
Expand Down Expand Up @@ -102,7 +102,7 @@
"00_ticker": "USDC",
"02_anchor": "0x0000000000000000000000000000000000000000",
"03_oracles": [
1,
5,
2
],
"04_factor": 1e4,
Expand Down Expand Up @@ -147,7 +147,7 @@
"00_ticker": "USDC",
"02_anchor": "0x0000000000000000000000000000000000000000",
"03_oracles": [
1,
5,
2
],
"04_factor": 1e4,
Expand Down Expand Up @@ -192,7 +192,7 @@
"00_ticker": "USDT",
"02_anchor": "0x0000000000000000000000000000000000000000",
"03_oracles": [
1,
5,
2
],
"04_factor": 1e4,
Expand Down Expand Up @@ -234,7 +234,7 @@
"00_ticker": "DAI",
"02_anchor": "0x0000000000000000000000000000000000000000",
"03_oracles": [
1,
5,
2
],
"04_factor": 1e4,
Expand Down Expand Up @@ -278,7 +278,7 @@
"00_ticker": "ETH",
"02_anchor": "0x0000000000000000000000000000000000000000",
"03_oracles": [
1,
5,
2
],
"04_factor": 1e4,
Expand Down Expand Up @@ -312,7 +312,7 @@
"00_ticker": "BTC",
"02_anchor": "0x0000000000000000000000000000000000000000",
"03_oracles": [
1,
5,
2
],
"04_factor": 1e4,
Expand Down Expand Up @@ -346,7 +346,7 @@
"00_ticker": "EUR",
"02_anchor": "0x0000000000000000000000000000000000000000",
"03_oracles": [
1,
5,
2
],
"04_factor": 1e4,
Expand Down Expand Up @@ -380,7 +380,7 @@
"00_ticker": "JPY",
"02_anchor": "0x0000000000000000000000000000000000000000",
"03_oracles": [
1,
5,
2
],
"04_factor": 1e4,
Expand Down Expand Up @@ -414,41 +414,7 @@
"00_ticker": "XAU",
"02_anchor": "0x0000000000000000000000000000000000000000",
"03_oracles": [
1,
2
],
"04_factor": 1e4,
"05_kFactor": 1.025e4,
"06_openFee": 0,
"07_closeFee": 50,
"08_liqIncentive": 1.075e4,
"09_maxDebtMinter": 340282366920938463463374607431768211455,
"10_maxDebtSCDP": 340282366920938463463374607431768211455,
"11_depositLimitSCDP": 0,
"12_swapInFeeSCDP": 25,
"13_swapOutFeeSCDP": 20,
"14_protocolFeeShareSCDP": 0.25e4,
"15_liqIncentiveSCDP": 1.035e4,
"16_decimals": 0,
"17_isMinterCollateral": true,
"18_isMinterMintable": true,
"19_isSharedCollateral": false,
"20_isSwapMintable": true,
"21_isSharedOrSwappedCollateral": true,
"22_isCoverAsset": false
}
},
{
"00_name": "WTI",
"01_symbol": "krWTI",
"02_underlying": "",
"03_wrapFee": 0,
"04_unwrapFee": 0,
"05_config": {
"00_ticker": "WTI",
"02_anchor": "0x0000000000000000000000000000000000000000",
"03_oracles": [
1,
5,
2
],
"04_factor": 1e4,
Expand Down Expand Up @@ -512,7 +478,12 @@
"03_chainlink": "0x0000000000000000000000000000000000000000",
"04_api3": "0x0000000000000000000000000000000000000000",
"05_vault": "0x0000000000000000000000000000000000000000",
"06_useAdapter": false
"06_pythId": "0x0000000000000000000000000000000000000000000000000000000000000000",
"07_staleTimePyth": 0,
"08_staleTimeAPI3": 0,
"09_staleTimeChainlink": 0,
"10_staleTimeRedstone": 0,
"11_useAdapter": false
},
{
"00_ticker": "ETH",
Expand All @@ -521,7 +492,12 @@
"03_chainlink": "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
"04_api3": "0x26690F9f17FdC26D419371315bc17950a0FC90eD",
"05_vault": "0x0000000000000000000000000000000000000000",
"06_useAdapter": false
"06_pythId": "0xca80ba6dc32e08d06f1aa886011eed1d77c77be9eb761cc10d72b7d0a2fd57a6",
"07_staleTimePyth": 180,
"08_staleTimeAPI3": 86401,
"09_staleTimeChainlink": 86401,
"10_staleTimeRedstone": 300,
"11_useAdapter": false
},
{
"00_ticker": "BTC",
Expand All @@ -530,7 +506,12 @@
"03_chainlink": "0x6ce185860a4963106506C203335A2910413708e9",
"04_api3": "0xe5Cf15fED24942E656dBF75165aF1851C89F21B5",
"05_vault": "0x0000000000000000000000000000000000000000",
"06_useAdapter": false
"06_pythId": "0xf9c0172ba10dfa4d19088d94f5bf61d3b54d5bd7483a322a982e1373ee8ea31b",
"07_staleTimePyth": 180,
"08_staleTimeAPI3": 86401,
"09_staleTimeChainlink": 86401,
"10_staleTimeRedstone": 300,
"11_useAdapter": false
},
{
"00_ticker": "EUR",
Expand All @@ -539,7 +520,12 @@
"03_chainlink": "0xA14d53bC1F1c0F31B4aA3BD109344E5009051a84",
"04_api3": "0xA37F6f5a04b7D5eB8DF71799e09D683f8CeC22F3",
"05_vault": "0x0000000000000000000000000000000000000000",
"05_useAdapter": false
"06_pythId": "0xc1b12769f6633798d45adfd62bfc70114839232e2949b01fb3d3f927d2606154",
"07_staleTimePyth": 180,
"08_staleTimeAPI3": 86401,
"09_staleTimeChainlink": 86401,
"10_staleTimeRedstone": 300,
"11_useAdapter": false
},
{
"00_ticker": "DAI",
Expand All @@ -548,7 +534,12 @@
"03_chainlink": "0xc5C8E77B397E531B8EC06BFb0048328B30E9eCfB",
"04_api3": "0x0000000000000000000000000000000000000000",
"05_vault": "0x0000000000000000000000000000000000000000",
"06_useAdapter": false
"06_pythId": "0x87a67534df591d2dd5ec577ab3c75668a8e3d35e92e27bf29d9e2e52df8de412",
"07_staleTimePyth": 180,
"08_staleTimeAPI3": 86401,
"09_staleTimeChainlink": 86401,
"10_staleTimeRedstone": 300,
"11_useAdapter": false
},
{
"00_ticker": "USDC",
Expand All @@ -557,7 +548,12 @@
"03_chainlink": "0x50834F3163758fcC1Df9973b6e91f0F0F0434aD3",
"04_api3": "0x0000000000000000000000000000000000000000",
"05_vault": "0x0000000000000000000000000000000000000000",
"06_useAdapter": false
"06_pythId": "0xeaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a",
"07_staleTimePyth": 180,
"08_staleTimeAPI3": 86401,
"09_staleTimeChainlink": 86401,
"10_staleTimeRedstone": 300,
"11_useAdapter": false
},
{
"00_ticker": "XAU",
Expand All @@ -566,16 +562,12 @@
"03_chainlink": "0x1F954Dc24a49708C26E0C1777f16750B5C6d5a2c",
"04_api3": "0x0000000000000000000000000000000000000000",
"05_vault": "0x0000000000000000000000000000000000000000",
"06_useAdapter": false
},
{
"00_ticker": "WTI",
"01_mockPrice": 0,
"02_priceDecimals": 8,
"03_chainlink": "0x594b919AD828e693B935705c3F816221729E7AE8",
"04_api3": "0x0000000000000000000000000000000000000000",
"05_vault": "0x0000000000000000000000000000000000000000",
"06_useAdapter": false
"06_pythId": "0x765d2ba906dbc32ca17cc11f5310a89e9ee1f6420508c63861f2f8ba4ee34bb2",
"07_staleTimePyth": 180,
"08_staleTimeAPI3": 86401,
"09_staleTimeChainlink": 86401,
"10_staleTimeRedstone": 300,
"11_useAdapter": false
},
{
"00_ticker": "USDT",
Expand All @@ -584,7 +576,12 @@
"03_chainlink": "0x3f3f5dF88dC9F13eac63DF89EC16ef6e7E25DdE7",
"04_api3": "0x0000000000000000000000000000000000000000",
"05_vault": "0x0000000000000000000000000000000000000000",
"06_useAdapter": false
"06_pythId": "0x1fc18861232290221461220bd4e2acd1dcdfbc89c84092c93c18bdc7756c1588",
"07_staleTimePyth": 180,
"08_staleTimeAPI3": 86401,
"09_staleTimeChainlink": 86401,
"10_staleTimeRedstone": 300,
"11_useAdapter": false
},
{
"00_ticker": "JPY",
Expand All @@ -593,7 +590,12 @@
"03_chainlink": "0x3dD6e51CB9caE717d5a8778CF79A04029f9cFDF8",
"04_api3": "0x0000000000000000000000000000000000000000",
"05_vault": "0x0000000000000000000000000000000000000000",
"06_useAdapter": false
"06_pythId": "0x20a938f54b68f1f2ef18ea0328f6dd0747f8ea11486d22b021e83a900be89776",
"07_staleTimePyth": 180,
"08_staleTimeAPI3": 86401,
"09_staleTimeChainlink": 86401,
"10_staleTimeRedstone": 300,
"11_useAdapter": false
}
],
"07_customTradeRoutes": [
Expand All @@ -603,5 +605,5 @@
"02_enabled": false
}
],
"08_redstoneMockString": "ETH:2183.7577:8,BTC:41000:8,EUR:1.0764:8,DAI:0.9998:8,USDC:1:8,XAU:2029:8,WTI:69.889:8,USDT:1:8,JPY:0.006797:8"
"08_redstoneMockString": "ETH:2183.7577:8,BTC:41000:8,EUR:1.0764:8,DAI:0.9998:8,USDC:1:8,XAU:2029:8,USDT:1:8,JPY:0.006797:8"
}
13 changes: 7 additions & 6 deletions configs/foundry/deploy/arbitrum-fork/params-arbitrum-fork.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"00_configId": "arbitrum-fork",
"01_deploymentFactory": "0x0000000000000000000000000000000000000000",
"02_common": {
"02_pythEndpoint": "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C",
"03_common": {
"00_admin": "0xFcbB93547B7C1936fEbfe56b4cEeD9Ab66dA1857",
"01_council": "0x0000000000000000000000000000000000000000",
"02_treasury": "0x389297F0d8C489954D65e04ff0690FC54E57Dad6",
Expand All @@ -12,21 +13,21 @@
"07_sequencerUptimeFeed": "0xFdB631F5EE196F0ed6FAa767959853A9F217697D",
"08_gatingManager": "0x0000000000000000000000000000000000000000"
},
"03_scdp": {
"04_scdp": {
"00_minCollateralRatio": 250e2,
"01_liquidationThreshold": 150e2,
"02_coverThreshold": 160e2,
"03_coverIncentive": 1.01e4
},
"04_minter": {
"05_minter": {
"00_liquidationThreshold": 140e2,
"01_minCollateralRatio": 150e2,
"02_minDebtValue": 10e8
},
"05_periphery": {
"06_periphery": {
"00_officiallyKreskianNFT": "0xAbDb949a18d27367118573A217E5353EDe5A0f1E",
"01_questForKreskNFT": "0x1C04925779805f2dF7BbD0433ABE92Ea74829bF6",
"02_V3SwapRouter02": "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45"
},
"06_gatingPhase": 0
}
"07_gatingPhase": 0
}
10 changes: 1 addition & 9 deletions configs/foundry/deploy/arbitrum-fork/users-arbitrum-fork.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,6 @@
"04_mint": "krBTC",
"05_mintAmount": 0.2e18
},
{
"00_user": 9999,
"01_deposit": "USDT",
"02_depositAmount": 75e6,
"03_assetsFrom": "0xB38e8c17e38363aF6EbdCb3dAE12e0243582891D",
"04_mint": "krWTI",
"05_mintAmount": 91e18
},
{
"00_user": 0,
"01_deposit": "DAI",
Expand All @@ -146,4 +138,4 @@
"01_nftsFrom": "0x99999A0B66AF30f6FEf832938a5038644a72180a",
"02_userCount": 3
}
}
}
Loading

0 comments on commit ab1421b

Please sign in to comment.