BTokenInterface
Overview
License: MIT
abstract contract BTokenInterface is BTokenStorageEvents info
AccrueInterest
event AccrueInterest(uint256 cashPrior, uint256 interestAccumulated, uint256 borrowIndex, uint256 totalBorrows)Mint
event Mint(address minter, uint256 mintAmount, uint256 mintTokens)Redeem
event Redeem(address redeemer, uint256 redeemAmount, uint256 redeemTokens)Borrow
RepayBorrow
LiquidateBorrow
NewPendingAdmin
NewAdmin
NewBondtroller
NewMarketInterestRateModel
NewReserveFactor
ReservesAdded
ReservesReduced
Transfer
Approval
Constants info
isCToken (0xfe9c44ae)
Functions info
transfer (0xa9059cbb)
transferFrom (0x23b872dd)
approve (0x095ea7b3)
allowance (0xdd62ed3e)
balanceOf (0x70a08231)
balanceOfUnderlying (0x3af9e669)
getAccountSnapshot (0xc37f68e2)
borrowRatePerBlock (0xf8f9da28)
supplyRatePerBlock (0xae9d70b0)
totalBorrowsCurrent (0x73acee98)
borrowBalanceCurrent (0x17bfdfbc)
borrowBalanceStored (0x95dd9193)
exchangeRateCurrent (0xbd6d894d)
exchangeRateStored (0x182df0f5)
getCash (0x3b1d21a2)
accrueInterest (0xa6afed95)
_setBondtroller (0xb4ac7688)
_setReserveFactor (0xfca7820b)
_reduceReserves (0x601a0bf1)
_setInterestRateModel (0xf2b3abbd)
Last updated