ICToken

Git Source

Functions

isCToken

function isCToken() external returns (bool);

transfer

function transfer(address dst, uint256 amount) external returns (bool);

transferFrom

function transferFrom(address src, address dst, uint256 amount) external returns (bool);

approve

function approve(address spender, uint256 amount) external returns (bool);

allowance

function allowance(address owner, address spender) external view returns (uint256);

balanceOf

function balanceOf(address owner) external view returns (uint256);

balanceOfUnderlying

function balanceOfUnderlying(address owner) external returns (uint256);

getAccountSnapshot

function getAccountSnapshot(address account) external view returns (uint256, uint256, uint256, uint256);

borrowRatePerBlock

function borrowRatePerBlock() external view returns (uint256);

supplyRatePerBlock

function supplyRatePerBlock() external view returns (uint256);

totalBorrowsCurrent

function totalBorrowsCurrent() external returns (uint256);

borrowBalanceCurrent

function borrowBalanceCurrent(address account) external returns (uint256);

borrowBalanceStored

function borrowBalanceStored(address account) external view returns (uint256);

exchangeRateCurrent

function exchangeRateCurrent() external returns (uint256);

exchangeRateStored

function exchangeRateStored() external view returns (uint256);

getCash

function getCash() external view returns (uint256);

seize

function seize(address liquidator, address borrower, uint256 seizeTokens) external returns (uint256);

borrowRate

function borrowRate() external returns (uint256);

borrowIndex

function borrowIndex() external view returns (uint256);

borrow

function borrow(uint256) external returns (uint256);

repayBorrow

function repayBorrow(uint256) external returns (uint256);

repayBorrowBehalf

function repayBorrowBehalf(address borrower, uint256 repayAmount) external returns (uint256);

liquidateBorrow

function liquidateBorrow(address borrower, uint256 repayAmount, address cTokenCollateral) external returns (uint256);

underlying

function underlying() external view returns (address);

mint

function mint(uint256) external returns (uint256);

redeemUnderlying

function redeemUnderlying(uint256) external returns (uint256);

accrueInterest

function accrueInterest() external returns (uint256);

totalSupply

function totalSupply() external view returns (uint256);

totalBorrows

function totalBorrows() external view returns (uint256);

accrualBlockNumber

function accrualBlockNumber() external view returns (uint256);

totalReserves

function totalReserves() external view returns (uint256);

interestRateModel

function interestRateModel() external view returns (IInterestRateModel);

reserveFactorMantissa

function reserveFactorMantissa() external view returns (uint256);

_setPendingAdmin

Admin Functions **

function _setPendingAdmin(address payable newPendingAdmin) external returns (uint256);

_acceptAdmin

function _acceptAdmin() external returns (uint256);

_setComptroller

function _setComptroller(IComptroller newComptroller) external returns (uint256);

_setReserveFactor

function _setReserveFactor(uint256 newReserveFactorMantissa) external returns (uint256);

_reduceReserves

function _reduceReserves(uint256 reduceAmount) external returns (uint256);

_setInterestRateModel

function _setInterestRateModel(IInterestRateModel newInterestRateModel) external returns (uint256);