Skip to content

Commit 36b0362

Browse files
feat: CRS
1 parent 8c4e1ce commit 36b0362

File tree

2 files changed

+28
-25
lines changed

2 files changed

+28
-25
lines changed

script/production/mainnet/clusters/YieldCluster.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
"0xC51e90b48FD7fBfF316502b85A71e0EBb1ee5238"
66
],
77
"irms": [
8-
"0x9254f9093fA0e02F63De30EabfEB9E9f27C23F87",
9-
"0x9254f9093fA0e02F63De30EabfEB9E9f27C23F87",
10-
"0x9254f9093fA0e02F63De30EabfEB9E9f27C23F87",
11-
"0x9254f9093fA0e02F63De30EabfEB9E9f27C23F87",
12-
"0x9254f9093fA0e02F63De30EabfEB9E9f27C23F87",
8+
"0xF07f31E9E2DB26e449c53B7eb9371C49A3B17737",
9+
"0xF07f31E9E2DB26e449c53B7eb9371C49A3B17737",
10+
"0xa3140381CE3AE846D421796d40aFE04f20F83D1F",
11+
"0xa3140381CE3AE846D421796d40aFE04f20F83D1F",
12+
"0xa3140381CE3AE846D421796d40aFE04f20F83D1F",
1313
"0x9254f9093fA0e02F63De30EabfEB9E9f27C23F87",
1414
"0x0c2f4b60cB0Cbec418257D30227BC010F286a491",
1515
"0x9254f9093fA0e02F63De30EabfEB9E9f27C23F87",
1616
"0x0c2f4b60cB0Cbec418257D30227BC010F286a491",
1717
"0x9254f9093fA0e02F63De30EabfEB9E9f27C23F87",
1818
"0x0c2f4b60cB0Cbec418257D30227BC010F286a491",
19-
"0x9254f9093fA0e02F63De30EabfEB9E9f27C23F87",
20-
"0xd5b18c532E982960B92d58A20eAc222b724249fA",
19+
"0xa3140381CE3AE846D421796d40aFE04f20F83D1F",
20+
"0x8e2A8874401E1231825cf46bA27eC3aa195DDaf4",
2121
"0x211ab5CD0e3EFF8997d4c673A1De39de30b883cA",
22-
"0x9254f9093fA0e02F63De30EabfEB9E9f27C23F87",
23-
"0xAef49dCbd4970C74a237A7d23bb2Ef4c73C4c564",
22+
"0xa3140381CE3AE846D421796d40aFE04f20F83D1F",
23+
"0x8e2A8874401E1231825cf46bA27eC3aa195DDaf4",
2424
"0x0000000000000000000000000000000000000000",
2525
"0xc27214e272AE6D3012feA808c79A41BF4013F044",
2626
"0x0c2f4b60cB0Cbec418257D30227BC010F286a491",

script/production/mainnet/clusters/YieldCluster.s.sol

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -155,15 +155,15 @@ contract Cluster is ManageCluster {
155155
cluster.supplyCaps[syrupUSDC ] = 5_000_000;
156156
cluster.supplyCaps[mBASIS ] = 0;
157157
cluster.supplyCaps[PT_USDe_31JUL2025 ] = 8_000_000;
158-
cluster.supplyCaps[PT_USDe_25SEP2025 ] = 50_000_000;
158+
cluster.supplyCaps[PT_USDe_25SEP2025 ] = 80_000_000;
159159
cluster.supplyCaps[PT_sUSDe_31JULY2025 ] = 40_000_000;
160160
cluster.supplyCaps[PT_sUSDe_25SEP2025 ] = 40_000_000;
161161
cluster.supplyCaps[PT_eUSDe_14AUG2025 ] = 35_000_000;
162162
cluster.supplyCaps[PT_cUSDO_20NOV2025 ] = 120_000_000;
163163
cluster.supplyCaps[PT_syrupUSDC_28AUG2025 ] = 45_000_000;
164164
cluster.supplyCaps[PT_USDS_14AUG2025 ] = 0;
165-
cluster.supplyCaps[PT_tUSDe_25SEP2025 ] = 40_000_000;
166-
cluster.supplyCaps[PT_pUSDe_16OCT2025 ] = 20_000_000;
165+
cluster.supplyCaps[PT_tUSDe_25SEP2025 ] = 60_000_000;
166+
cluster.supplyCaps[PT_pUSDe_16OCT2025 ] = 30_000_000;
167167

168168
// define borrow caps here. 0 means no borrow can occur, type(uint256).max means no cap defined hence max amount
169169
cluster.borrowCaps[USDC ] = 270_000_000;
@@ -199,39 +199,42 @@ contract Cluster is ManageCluster {
199199
// define IRM classes here and assign them to the assets
200200
{
201201
// Base=0.00% APY, Kink(90.00%)=8.00% APY Max=15.00% APY
202-
uint256[4] memory irm_USD_1_MEGA_YIELD = [uint256(0), uint256(630918865), uint256(4633519165), uint256(3865470566)];
202+
uint256[4] memory irm_USD_1_MEGA_YIELD_OLD = [uint256(0), uint256(630918865), uint256(4633519165), uint256(3865470566)];
203+
204+
// Base=5.00% APY, Kink(90.00%)=10.00% APY Max=20.00% APY
205+
uint256[4] memory irm_USD_1_MEGA_YIELD = [uint256(1546098748700445000), uint256(381366399), uint256(6419794564), uint256(3865470566)];
203206

204207
// Base=0% APY, Kink(30%)=12.75% APY Max=848.77% APY
205208
uint256[4] memory irm_USD_3_MEGA_YIELD = [uint256(0), uint256(2951312420), uint256(22450463582), uint256(1288490188)];
206209

207-
// Base=0.00% APY, Kink(85.00%)=7.50% APY Max=40.00% APY
208-
uint256[4] memory irm_eUSDe = [uint256(0), uint256(627752644), uint256(12992928081), uint256(3650722201)];
210+
// Base=5.00% APY, Kink(90.00%)=10.00% APY Max=15.00% APY
211+
uint256[4] memory irm_USDC_USDT = [uint256(1546098748700445000), uint256(381366399), uint256(3279699693), uint256(3865470566)];
212+
213+
// Base=5.00% APY, Kink(90.00%)=10.00% APY Max=40.00% APY
214+
uint256[4] memory irm_eUSDe_rUSD = [uint256(1546098748700445000), uint256(381366399), uint256(17793200339), uint256(3865470566)];
209215

210216
// Base=0% APY, Kink(30%)=2.00% APY Max=80.00% APY
211217
uint256[4] memory irm_sUSDe = [uint256(0), uint256(487019827), uint256(5986640502), uint256(1288490188)];
212218

213-
// Base=0% APY, Kink(90%)=7.50% APY Max=40.00% APY
214-
uint256[4] memory irm_rUSD = [uint256(0), uint256(592877497), uint256(19489392122), uint256(3865470566)];
215-
216219
// Base=0% APY, Kink(90%)=1.50% APY Max=80.00% APY
217220
uint256[4] memory irm_syrupUSDC = [uint256(0), uint256(122055342), uint256(42269044890), uint256(3865470566)];
218221

219-
cluster.kinkIRMParams[USDC ] = irm_USD_1_MEGA_YIELD;
220-
cluster.kinkIRMParams[USDT ] = irm_USD_1_MEGA_YIELD;
222+
cluster.kinkIRMParams[USDC ] = irm_USDC_USDT;
223+
cluster.kinkIRMParams[USDT ] = irm_USDC_USDT;
221224
cluster.kinkIRMParams[PYUSD ] = irm_USD_1_MEGA_YIELD;
222225
cluster.kinkIRMParams[rlUSD ] = irm_USD_1_MEGA_YIELD;
223226
cluster.kinkIRMParams[wM ] = irm_USD_1_MEGA_YIELD;
224-
cluster.kinkIRMParams[USDS ] = irm_USD_1_MEGA_YIELD;
227+
cluster.kinkIRMParams[USDS ] = irm_USD_1_MEGA_YIELD_OLD;
225228
cluster.kinkIRMParams[sUSDS ] = irm_USD_3_MEGA_YIELD;
226-
cluster.kinkIRMParams[DAI ] = irm_USD_1_MEGA_YIELD;
229+
cluster.kinkIRMParams[DAI ] = irm_USD_1_MEGA_YIELD_OLD;
227230
cluster.kinkIRMParams[sDAI ] = irm_USD_3_MEGA_YIELD;
228-
cluster.kinkIRMParams[USD0 ] = irm_USD_1_MEGA_YIELD;
231+
cluster.kinkIRMParams[USD0 ] = irm_USD_1_MEGA_YIELD_OLD;
229232
cluster.kinkIRMParams[USD0PlusPlus] = irm_USD_3_MEGA_YIELD;
230233
cluster.kinkIRMParams[USDe ] = irm_USD_1_MEGA_YIELD;
231-
cluster.kinkIRMParams[eUSDe ] = irm_eUSDe;
234+
cluster.kinkIRMParams[eUSDe ] = irm_eUSDe_rUSD;
232235
cluster.kinkIRMParams[sUSDe ] = irm_sUSDe;
233236
cluster.kinkIRMParams[USDtb ] = irm_USD_1_MEGA_YIELD;
234-
cluster.kinkIRMParams[rUSD ] = irm_rUSD;
237+
cluster.kinkIRMParams[rUSD ] = irm_eUSDe_rUSD;
235238
cluster.kinkIRMParams[syrupUSDC ] = irm_syrupUSDC;
236239
cluster.kinkIRMParams[mBASIS ] = irm_USD_3_MEGA_YIELD;
237240
}

0 commit comments

Comments
 (0)