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