BTokenInterface
Overview
License: MIT
Events info
AccrueInterest
Event emitted when interest is accrued
Mint
Event emitted when tokens are minted
Redeem
Event emitted when tokens are redeemed
Borrow
Event emitted when underlying is borrowed
RepayBorrow
Event emitted when a borrow is repaid
LiquidateBorrow
Event emitted when a borrow is liquidated
NewPendingAdmin
Event emitted when pendingAdmin is changed
NewAdmin
Event emitted when pendingAdmin is accepted, which means admin is updated
NewBondtroller
Event emitted when bondtroller is changed
NewMarketInterestRateModel
Event emitted when interestRateModel is changed
NewReserveFactor
Event emitted when the reserve factor is changed
ReservesAdded
Event emitted when the reserves are added
ReservesReduced
Event emitted when the reserves are reduced
Transfer
EIP20 Transfer event
Approval
EIP20 Approval event
Constants info
isCToken (0xfe9c44ae)
Indicator that this is a CToken contract (for inspection)
Functions info
transfer (0xa9059cbb)
Failure event
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