I Comptroller
Methods
borrowAllowed
Parameters
cToken
address
undefined
borrower
address
undefined
borrowAmount
uint256
undefined
Returns
_0
uint256
undefined
borrowVerify
Parameters
cToken
address
undefined
borrower
address
undefined
borrowAmount
uint256
undefined
checkMembership
Parameters
account
address
undefined
cToken
address
undefined
Returns
_0
bool
undefined
enterMarket
Parameters
cToken
address
undefined
borrower
address
undefined
Returns
_0
uint256
undefined
enterMarkets
Parameters
cTokens
address[]
undefined
Returns
_0
uint256[]
undefined
exitMarket
Parameters
cToken
address
undefined
Returns
_0
uint256
undefined
getAccountLiquidity
Parameters
account
address
undefined
Returns
_0
uint256
undefined
_1
uint256
undefined
_2
uint256
undefined
getAssetsIn
Parameters
account
address
undefined
Returns
_0
address[]
undefined
getPrimaryIndexTokenAddress
Returns
_0
address
undefined
isComptroller
Indicator that this is a Comptroller contract (for inspection)
Returns
_0
bool
undefined
liquidateBorrowAllowed
Parameters
cTokenBorrowed
address
undefined
cTokenCollateral
address
undefined
liquidator
address
undefined
borrower
address
undefined
repayAmount
uint256
undefined
Returns
_0
uint256
undefined
liquidateBorrowVerify
Parameters
cTokenBorrowed
address
undefined
cTokenCollateral
address
undefined
liquidator
address
undefined
borrower
address
undefined
repayAmount
uint256
undefined
seizeTokens
uint256
undefined
liquidateCalculateSeizeTokens
Parameters
cTokenBorrowed
address
undefined
cTokenCollateral
address
undefined
repayAmount
uint256
undefined
Returns
_0
uint256
undefined
_1
uint256
undefined
mintAllowed
Parameters
cToken
address
undefined
minter
address
undefined
mintAmount
uint256
undefined
Returns
_0
uint256
undefined
mintVerify
Parameters
cToken
address
undefined
minter
address
undefined
mintAmount
uint256
undefined
mintTokens
uint256
undefined
redeemAllowed
Parameters
cToken
address
undefined
redeemer
address
undefined
redeemTokens
uint256
undefined
Returns
_0
uint256
undefined
redeemVerify
Parameters
cToken
address
undefined
redeemer
address
undefined
redeemAmount
uint256
undefined
redeemTokens
uint256
undefined
repayBorrowAllowed
Parameters
cToken
address
undefined
payer
address
undefined
borrower
address
undefined
repayAmount
uint256
undefined
Returns
_0
uint256
undefined
repayBorrowVerify
Parameters
cToken
address
undefined
payer
address
undefined
borrower
address
undefined
repayAmount
uint256
undefined
borrowerIndex
uint256
undefined
seizeAllowed
Parameters
cTokenCollateral
address
undefined
cTokenBorrowed
address
undefined
liquidator
address
undefined
borrower
address
undefined
seizeTokens
uint256
undefined
Returns
_0
uint256
undefined
seizeVerify
Parameters
cTokenCollateral
address
undefined
cTokenBorrowed
address
undefined
liquidator
address
undefined
borrower
address
undefined
seizeTokens
uint256
undefined
transferAllowed
Parameters
cToken
address
undefined
src
address
undefined
dst
address
undefined
transferTokens
uint256
undefined
Returns
_0
uint256
undefined
transferVerify
Parameters
cToken
address
undefined
src
address
undefined
dst
address
undefined
transferTokens
uint256
undefined
Last updated