CosineInterestRateModel
Verified contract
Active on
Ethereum with 1 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "CosineInterestRateModel"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15460712 | 2 years ago | | | 0 | 0.00034521281 |
ABI
ABI objects
Getter at block 21274319
MAX_RATE() view returns (uint256)
31709791983
SECONDS_PER_YEAR() view returns (uint256)
31536000
TYPE() view returns (string)
Cosine
fullRate() view returns (uint256)
7527904616
kink() view returns (uint256)
850000000000000000
kinkRate() view returns (uint256)
2910958904
owner() view returns (address)
0x43a43d3404eac5fa1ec4f4bb0879495d500e390b
zeroRate() view returns (uint256)
4601090816
Read-only
getBorrowRate(uint256 balance, uint256 borrows, uint256 reserves) view returns (uint256)
getSupplyRate(uint256 balance, uint256 borrows, uint256 reserves, uint256 reserveFactor) view returns (uint256)
utilizationRate(uint256 balance, uint256 borrows, uint256 reserves) pure returns (uint256)
State-modifying
Events configure(uint256 zeroRate_, uint256 fullRate_, uint256 kink_, uint256 kinkRate_)
renounceOwnership()
transferOwnership(address newOwner)
Configured(uint256 zeroRate, uint256 fullRate, uint256 kink, uint256 kinkRate)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(uint256 zeroRate_, uint256 fullRate_, uint256 kink_, uint256 kinkRate_)
This contract contains no fallback and receive objects.
PRBMathSD59x18__DivInputTooSmall()
PRBMathSD59x18__DivOverflow(uint256 rAbs)
PRBMathSD59x18__Exp2InputTooBig(int256 x)
PRBMathSD59x18__FromIntOverflow(int256 x)
PRBMathSD59x18__FromIntUnderflow(int256 x)
PRBMathSD59x18__LogInputTooSmall(int256 x)
PRBMathSD59x18__MulInputTooSmall()
PRBMathSD59x18__MulOverflow(uint256 rAbs)
PRBMath__MulDivFixedPointOverflow(uint256 prod1)
PRBMath__MulDivOverflow(uint256 prod1, uint256 denominator)