Skip to content

Commit eb0464f

Browse files
feat: USDai K3 remarks
1 parent 36b0362 commit eb0464f

File tree

3 files changed

+40
-25
lines changed

3 files changed

+40
-25
lines changed

script/production/arbitrum/governedPerspectiveVaults/GovernedPerspectiveVaults.csv

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Vault,Governor,Whitelist
1111
0xE96e07C16661744836a742Ef2090F11e84a86f4F,Euler Arbitrum,Yes
1212
0xDBD974Eb5360d053ea0c56B4DaCF4A9D3E894Ee2,Euler Arbitrum,Yes
1313
0xaA525D3142A5BDD3E55E8e983D3789b88F2FEB8f,Euler Arbitrum,Yes
14-
0x6aFB8d3F6D4A34e9cB2f217317f4dc8e05Aa673b,Frontier USDai,Yes
15-
0x482C3E2530FAc8FE2c63AE007AD2695C6d685E98,Frontier USDai,Yes
16-
0x7D9790403FA53eF3E3a3389c259D244BDc61B785,Frontier USDai,Yes
17-
0xAABb9cbAC15a3D646dCdc6574bCFCfB989E1fDd8,Frontier USDai,Yes
18-
0x683B777A393BA94F3c903fba2b14A6b6fF80dbE7,Frontier USDai,Yes
14+
0x6aFB8d3F6D4A34e9cB2f217317f4dc8e05Aa673b,K3 USDai,Yes
15+
0x482C3E2530FAc8FE2c63AE007AD2695C6d685E98,K3 USDai,Yes
16+
0x7D9790403FA53eF3E3a3389c259D244BDc61B785,K3 USDai,Yes
17+
0xAABb9cbAC15a3D646dCdc6574bCFCfB989E1fDd8,K3 USDai,Yes
18+
0x683B777A393BA94F3c903fba2b14A6b6fF80dbE7,K3 USDai,Yes

script/production/frontier/USDai.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
"0x784B2bbB1AdeBF2a6C300e52DaFe7dDb9888d416"
77
],
88
"irms": [
9-
"0x2D76638aA2fA9Ce16417485d46Ed8EEDC1Db1AA4",
10-
"0x2D76638aA2fA9Ce16417485d46Ed8EEDC1Db1AA4",
11-
"0x2D76638aA2fA9Ce16417485d46Ed8EEDC1Db1AA4",
9+
"0xac610F80e26E2D162f5EB01c0ae4F782e62cFF30",
10+
"0xac610F80e26E2D162f5EB01c0ae4F782e62cFF30",
1211
"0x0000000000000000000000000000000000000000",
13-
"0x2D76638aA2fA9Ce16417485d46Ed8EEDC1Db1AA4"
12+
"0x0000000000000000000000000000000000000000",
13+
"0xac610F80e26E2D162f5EB01c0ae4F782e62cFF30"
1414
],
1515
"oracleRouters": [
1616
"0xE4e35ab751E9e06a67eC08E321b3353C3a328157",

script/production/frontier/USDai.sol

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ contract Cluster is ManageCluster {
2424
function configureCluster() internal override {
2525
super.configureCluster();
2626

27-
cluster.oracleRoutersGovernor = cluster.vaultsGovernor = getDeployer();
27+
cluster.oracleRoutersGovernor = cluster.vaultsGovernor = 0x060DB084bF41872861f175d83f3cb1B5566dfEA3;
2828

2929
// define unit of account here
3030
cluster.unitOfAccount = USD;
@@ -47,34 +47,49 @@ contract Cluster is ManageCluster {
4747

4848
// define IRM classes here and assign them to the assets or refer to the adaptive IRM address directly
4949
{
50-
// Base=0% APY Kink(90%)=2.7% APY Max=40.00% APY
51-
//cluster.kinkIRMParams[WETH] = [uint256(0), uint256(218407859), uint256(22859618857), uint256(3865470566)];
50+
// Base=0% APY Kink(90%)=7.5% APY Max=70.00% APY
51+
uint256[4] memory irm = [uint256(0), uint256(592877497), uint256(19489392122), uint256(3865470566)];
5252

53-
cluster.irms[USDC ] = IRM_ADAPTIVE_USD;
54-
cluster.irms[USDT ] = IRM_ADAPTIVE_USD;
55-
cluster.irms[USDai ] = IRM_ADAPTIVE_USD;
56-
cluster.irms[USDe ] = IRM_ADAPTIVE_USD;
53+
cluster.kinkIRMParams[USDC] = irm;
54+
cluster.kinkIRMParams[USDT] = irm;
55+
cluster.kinkIRMParams[USDe] = irm;
5756
}
5857

58+
cluster.supplyCaps[USDC ] = 50_000_000;
59+
cluster.supplyCaps[USDT ] = 50_000_000;
60+
cluster.supplyCaps[USDai ] = 50_000_000;
61+
cluster.supplyCaps[sUSDai] = 50_000_000;
62+
cluster.supplyCaps[USDe ] = 50_000_000;
63+
5964
// define ltv values here. columns are liability vaults, rows are collateral vaults
6065
cluster.ltvs = [
6166
// 0 1 2 3 4
6267
// USDC USDT USDai sUSDai USDe
63-
/* 0 USDC */ [LTV_ZERO, LTV_HIGH, LTV__LOW, LTV_ZERO, LTV__LOW],
64-
/* 1 USDT */ [LTV_HIGH, LTV_ZERO, LTV__LOW, LTV_ZERO, LTV__LOW],
65-
/* 2 USDai */ [LTV__LOW, LTV__LOW, LTV_ZERO, LTV_ZERO, LTV__LOW],
66-
/* 3 sUSDai */ [LTV__LOW, LTV__LOW, LTV_HIGH, LTV_ZERO, LTV__LOW],
67-
/* 4 USDe */ [LTV__LOW, LTV__LOW, LTV__LOW, LTV_ZERO, LTV_ZERO]
68+
/* 0 USDC */ [LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO],
69+
/* 1 USDT */ [LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO],
70+
/* 2 USDai */ [0.940e4, 0.905e4, LTV_ZERO, LTV_ZERO, 0.905e4 ],
71+
/* 3 sUSDai */ [0.850e4, 0.800e4, LTV_ZERO, LTV_ZERO, 0.800e4 ],
72+
/* 4 USDe */ [LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO]
73+
];
74+
75+
cluster.borrowLTVsOverride = [
76+
// 0 1 2 3 4
77+
// USDC USDT USDai sUSDai USDe
78+
/* 0 USDC */ [LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO],
79+
/* 1 USDT */ [LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO],
80+
/* 2 USDai */ [0.915e4, 0.880e4, LTV_ZERO, LTV_ZERO, 0.880e4 ],
81+
/* 3 sUSDai */ [0.800e4, 0.750e4, LTV_ZERO, LTV_ZERO, 0.750e4 ],
82+
/* 4 USDe */ [LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO]
6883
];
6984

7085
// define external ltvs here. columns are liability vaults, rows are collateral vaults.
7186
cluster.externalLTVs = [
7287
// 0 1 2 3 4
7388
// USDC USDT USDai sUSDai USDe
74-
/* 0 Euler USDC */ [LTV_HIGH, LTV_HIGH, LTV_ZERO, LTV_ZERO, LTV_ZERO],
75-
/* 1 Euler USDT */ [LTV_HIGH, LTV_HIGH, LTV_ZERO, LTV_ZERO, LTV_ZERO],
76-
/* 2 Escrow USDAi */ [LTV_ZERO, LTV_ZERO, LTV_HIGH, LTV_ZERO, LTV_ZERO],
77-
/* 3 Escrow USDe */ [LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_HIGH]
89+
/* 0 Euler USDC */ [LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO],
90+
/* 1 Euler USDT */ [LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO],
91+
/* 2 Escrow USDAi */ [LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO],
92+
/* 3 Escrow USDe */ [LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO, LTV_ZERO]
7893
];
7994
}
8095
}

0 commit comments

Comments
 (0)