Skip to content

Commit

Permalink
Change borrowing fee
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymx95 committed May 10, 2024
1 parent aad0c5c commit e113be6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/AdminContract.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ contract AdminContract is IAdminContract, UUPSUpgradeable, OwnableUpgradeable, A
uint256 public constant _100pct = 1 ether; // 1e18 == 100%
uint256 private constant DEFAULT_DECIMALS = 18;

uint256 public constant BORROWING_FEE_DEFAULT = 95_890_410_958_904; // 0.5% / 52
uint256 public constant BORROWING_FEE_DEFAULT = 383_561_643_835_616; // 0.5%
uint256 public constant CCR_DEFAULT = 0; // 0%
uint256 public constant MCR_DEFAULT = 1_052_631_578_950_000_000; // 110%
uint256 public constant MIN_NET_DEBT_DEFAULT = 2_000 ether;
Expand Down
2 changes: 1 addition & 1 deletion test/trinity/AdminContractTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ contract("AdminContract", async accounts => {
})

it("Formula Checks: Call every function with default value, Should match default values", async () => {
await adminContract.setBorrowingFee(ZERO_ADDRESS, (0.005e18).toString())
await adminContract.setBorrowingFee(ZERO_ADDRESS, "383561643835616")
await adminContract.setCCR(ZERO_ADDRESS, "0")
await adminContract.setMCR(ZERO_ADDRESS, "1052631578950000000")
await adminContract.setMinNetDebt(ZERO_ADDRESS, dec(2_000, 18))
Expand Down

0 comments on commit e113be6

Please sign in to comment.