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) |
---|---|---|---|---|---|---|---|
| 15320307 | 2 years ago | | | 0 | 0.00035417282 |
ABI
ABI objects
Getter at block 21210708
MAX_RATE() view returns (uint256)
31709791983
SECONDS_PER_YEAR() view returns (uint256)
31536000
TYPE() view returns (string)
Cosine
fullRate() view returns (uint256)
9989218670
kink() view returns (uint256)
850000000000000000
kinkRate() view returns (uint256)
4290969051
owner() view returns (address)
0xe0308d5681afe01a8ad1cc0b8c937db699e204af
zeroRate() view returns (uint256)
5178843226
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)