ICompound
ICompoundPriceOracleβ
getUnderlyingPriceβ
function getUnderlyingPrice(contract IcERC20 cToken) external view returns (uint256)
IComptrollerβ
oracleβ
function oracle() external returns (contract ICompoundPriceOracle priceFeed)
marketsβ
function markets(address cToken) external view returns (bool isListed, uint256 collateralFactorMantissa, bool isComped)
enterMarketsβ
function enterMarkets(address[] cTokens) external returns (uint256[])
exitMarketβ
function exitMarket(address cToken) external returns (uint256)
getAccountLiquidityβ
function getAccountLiquidity(address user) external view returns (uint256 errorCode, uint256 liquidity, uint256 shortfall)
claimCompβ
function claimComp(address holder) external
checkMembershipβ
function checkMembership(address account, contract IcERC20 cToken) external view returns (bool)
IcERC20β
redeemβ
function redeem(uint256 withdrawTokens) external returns (uint256)
borrowβ
function borrow(uint256 borrowAmount) external returns (uint256)
repayBorrowβ
function repayBorrow(uint256 repayAmount) external returns (uint256)
repayBorrowβ
function repayBorrow() external payable
repayBorrowBehalfβ
function repayBorrowBehalf(address borrower, uint256 repayAmount) external returns (uint256)
repayBorrowBehalfβ
function repayBorrowBehalf(address borrower) external payable
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)
accrueInterestβ
function accrueInterest() external returns (uint256)
seizeβ
function seize(address liquidator, address borrower, uint256 seizeTokens) external returns (uint256)
redeemUnderlyingβ
function redeemUnderlying(uint256 redeemAmount) external returns (uint256)
mintβ
function mint(uint256 mintAmount) external returns (uint256)
mintβ
function mint() external payable
underlyingβ
function underlying() external view returns (address)
isCTokenβ
function isCToken() external view returns (bool)