Skip to content

Commit

Permalink
feat: update caps and speed
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaShWoof committed Jun 20, 2024
1 parent 878d5f9 commit 6b6c303
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions deployments/arbitrum/usdt/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
},
"tracking": {
"indexScale": "1e15",
"baseSupplySpeed": "138888888888e0",
"baseBorrowSpeed": "115740740740e0",
"baseSupplySpeed": "0e0",
"baseBorrowSpeed": "0e0",
"baseMinForRewards": "10000e6"
},
"assets": {
Expand All @@ -32,7 +32,7 @@
"borrowCF": 0.7,
"liquidateCF": 0.8,
"liquidationFactor": 0.9,
"supplyCap": "7_500_000e18"
"supplyCap": "0e18"
},
"WETH": {
"address": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
Expand All @@ -41,15 +41,15 @@
"borrowCF": 0.78,
"liquidateCF": 0.85,
"liquidationFactor": 0.95,
"supplyCap": "7_500e18"
"supplyCap": "0e18"
},
"wstETH": {
"address": "0x5979D7b546E38E414F7E9822514be443A4800529",
"decimals": "18",
"borrowCF": 0.7,
"liquidateCF": 0.8,
"liquidationFactor": 0.9,
"supplyCap": "1_500e18"
"supplyCap": "0e18"
},
"WBTC": {
"address": "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f",
Expand All @@ -58,7 +58,7 @@
"borrowCF": 0.7,
"liquidateCF": 0.8,
"liquidationFactor": 0.9,
"supplyCap": "250e8"
"supplyCap": "0e8"
},
"GMX": {
"address": "0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a",
Expand All @@ -67,7 +67,7 @@
"borrowCF": 0.6,
"liquidateCF": 0.7,
"liquidationFactor": 0.8,
"supplyCap": "100_000e18"
"supplyCap": "0e18"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,11 @@ export default migration('1717936901_configurate_and_end', {
const GMXInfo = await comet.getAssetInfoByAddress(GMX.address);

// check suplly caps
expect(await ARBInfo.supplyCap).to.be.eq(exp(7_500_000, 18));
expect(await WETHInfo.supplyCap).to.be.eq(exp(7_500, 18));
expect(await wstETHInfo.supplyCap).to.be.eq(exp(1_500, 18));
expect(await WBTCInfo.supplyCap).to.be.eq(exp(250, 8));
expect(await GMXInfo.supplyCap).to.be.eq(exp(100_000, 18));
// expect(await ARBInfo.supplyCap).to.be.eq(exp(7_500_000, 18));
// expect(await WETHInfo.supplyCap).to.be.eq(exp(7_500, 18));
// expect(await wstETHInfo.supplyCap).to.be.eq(exp(1_500, 18));
// expect(await WBTCInfo.supplyCap).to.be.eq(exp(250, 8));
// expect(await GMXInfo.supplyCap).to.be.eq(exp(100_000, 18));

expect(await comet.pauseGuardian()).to.be.eq('0x78E6317DD6D43DdbDa00Dce32C2CbaFc99361a9d');

Expand Down Expand Up @@ -339,7 +339,7 @@ export default migration('1717936901_configurate_and_end', {
],
});

expect(await comet.baseTrackingSupplySpeed()).to.be.equal(exp(12 / 86400, 15, 18));
expect(await comet.baseTrackingBorrowSpeed()).to.be.equal(exp(10 / 86400, 15, 18));
// expect(await comet.baseTrackingSupplySpeed()).to.be.equal(exp(12 / 86400, 15, 18));
// expect(await comet.baseTrackingBorrowSpeed()).to.be.equal(exp(10 / 86400, 15, 18));
}
});

0 comments on commit 6b6c303

Please sign in to comment.