Skip to content

Commit 486b027

Browse files
chore: use var instead of magic address
1 parent 6187b9e commit 486b027

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

script/production/plasma/clusters/M15PT-USDai.s.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ contract Cluster is ManageCluster {
6969
cluster.borrowCaps[USDT0] = type(uint256).max;
7070

7171
// define IRM classes here and assign them to the assets
72-
cluster.irms[USDai] = 0xe2C4daAeeBd8e45E49c8768D50da7646d8B28514;
73-
cluster.irms[USDT0] = 0xe2C4daAeeBd8e45E49c8768D50da7646d8B28514;
72+
cluster.irms[USDai] = IRM_ADAPTIVE_PT_30;
73+
cluster.irms[USDT0] = IRM_ADAPTIVE_PT_30;
7474

7575
// define the ramp duration to be used, in case the liquidation LTVs have to be ramped down
7676
cluster.rampDuration = 1 days;

script/production/plasma/clusters/M16PT-sUSDai.s.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ contract Cluster is ManageCluster {
6969
cluster.borrowCaps[USDT0] = type(uint256).max;
7070

7171
// define IRM classes here and assign them to the assets
72-
cluster.irms[USDai] = 0xe2C4daAeeBd8e45E49c8768D50da7646d8B28514;
73-
cluster.irms[USDT0] = 0xe2C4daAeeBd8e45E49c8768D50da7646d8B28514;
72+
cluster.irms[USDai] = IRM_ADAPTIVE_PT_30;
73+
cluster.irms[USDT0] = IRM_ADAPTIVE_PT_30;
7474

7575
// define the ramp duration to be used, in case the liquidation LTVs have to be ramped down
7676
cluster.rampDuration = 1 days;

0 commit comments

Comments
 (0)