CEther
redeem
Inputs
Parameter | Type | Description |
---|---|---|
redeemTokens | uint256 |
Outputs
Type | Description |
---|---|
uint256 |
borrow
Inputs
Parameter | Type | Description |
---|---|---|
borrowAmount | uint256 |
Outputs
Type | Description |
---|---|
uint256 |
redeemUnderlying
Inputs
Parameter | Type | Description |
---|---|---|
redeemAmount | uint256 |
Outputs
Type | Description |
---|---|
uint256 |
repayBorrowBehalf
Inputs
Parameter | Type | Description |
---|---|---|
borrower | address |
Outputs
liquidateBorrow
Inputs
Parameter | Type | Description |
---|---|---|
borrower | address | |
cTokenCollateral | address |
Outputs
repayBorrow
Inputs
Outputs
mint
Inputs
Outputs
(fallback)
Inputs
Outputs
CToken
_setReserveFactor
Inputs
Parameter | Type | Description |
---|---|---|
newReserveFactorMantissa | uint256 |
Outputs
Type | Description |
---|---|
uint256 |
exchangeRateCurrent
Inputs
Outputs
Type | Description |
---|---|
uint256 |
seize
Inputs
Parameter | Type | Description |
---|---|---|
liquidator | address | |
borrower | address | |
seizeTokens | uint256 |
Outputs
Type | Description |
---|---|
uint256 |
transfer
Inputs
Parameter | Type | Description |
---|---|---|
dst | address | |
amount | uint256 |
Outputs
Type | Description |
---|---|
bool |
totalBorrowsCurrent
Inputs
Outputs
Type | Description |
---|---|
uint256 |
_reduceReserves
Inputs
Parameter | Type | Description |
---|---|---|
reduceAmount | uint256 |
Outputs
Type | Description |
---|---|
uint256 |
transferFrom
Inputs
Parameter | Type | Description |
---|---|---|
src | address | |
dst | address | |
amount | uint256 |
Outputs
Type | Description |
---|---|
bool |
borrowBalanceCurrent
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
Type | Description |
---|---|
uint256 |
_setInterestRateModel
Inputs
Parameter | Type | Description |
---|---|---|
newInterestRateModel | address |
Outputs
Type | Description |
---|---|
uint256 |
_acceptAdmin
Inputs
Outputs
Type | Description |
---|---|
uint256 |
_setPendingAdmin
Inputs
Parameter | Type | Description |
---|---|---|
newPendingAdmin | address |
Outputs
Type | Description |
---|---|
uint256 |
accrueInterest
Inputs
Outputs
Type | Description |
---|---|
uint256 |
_setComptroller
Inputs
Parameter | Type | Description |
---|---|---|
newComptroller | address |
Outputs
Type | Description |
---|---|
uint256 |
balanceOfUnderlying
Inputs
Parameter | Type | Description |
---|---|---|
owner | address |
Outputs
Type | Description |
---|---|
uint256 |
approve
Inputs
Parameter | Type | Description |
---|---|---|
spender | address | |
amount | uint256 |
Outputs
Type | Description |
---|---|
bool |
borrowRatePerBlock
Inputs
Outputs
Type | Description |
---|---|
uint256 |
allowance
Inputs
Parameter | Type | Description |
---|---|---|
owner | address | |
spender | address |
Outputs
Type | Description |
---|---|
uint256 |
getAccountSnapshot
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
Type | Description |
---|---|
uint256 | |
uint256 | |
uint256 | |
uint256 |
supplyRatePerBlock
Inputs
Outputs
Type | Description |
---|---|
uint256 |
borrowBalanceStored
Inputs
Parameter | Type | Description |
---|---|---|
account | address |
Outputs
Type | Description |
---|---|
uint256 |
balanceOf
Inputs
Parameter | Type | Description |
---|---|---|
owner | address |
Outputs
Type | Description |
---|---|
uint256 |
getCash
Inputs
Outputs
Type | Description |
---|---|
uint256 |
exchangeRateStored
Inputs
Outputs
Type | Description |
---|---|
uint256 |
ReservesReduced
Inputs
Parameter | Type | Description |
---|---|---|
admin | address | |
reduceAmount | uint256 | |
newTotalReserves | uint256 |
Outputs
NewReserveFactor
Inputs
Parameter | Type | Description |
---|---|---|
oldReserveFactorMantissa | uint256 | |
newReserveFactorMantissa | uint256 |
Outputs
NewMarketInterestRateModel
Inputs
Parameter | Type | Description |
---|---|---|
oldInterestRateModel | address | |
newInterestRateModel | address |
Outputs
NewComptroller
Inputs
Parameter | Type | Description |
---|---|---|
oldComptroller | address | |
newComptroller | address |
Outputs
NewAdmin
Inputs
Parameter | Type | Description |
---|---|---|
oldAdmin | address | |
newAdmin | address |
Outputs
NewPendingAdmin
Inputs
Parameter | Type | Description |
---|---|---|
oldPendingAdmin | address | |
newPendingAdmin | address |
Outputs
LiquidateBorrow
Inputs
Parameter | Type | Description |
---|---|---|
liquidator | address | |
borrower | address | |
repayAmount | uint256 | |
cTokenCollateral | address | |
seizeTokens | uint256 |
Outputs
RepayBorrow
Inputs
Parameter | Type | Description |
---|---|---|
payer | address | |
borrower | address | |
repayAmount | uint256 | |
accountBorrows | uint256 | |
totalBorrows | uint256 |
Outputs
Borrow
Inputs
Parameter | Type | Description |
---|---|---|
borrower | address | |
borrowAmount | uint256 | |
accountBorrows | uint256 | |
totalBorrows | uint256 |
Outputs
Redeem
Inputs
Parameter | Type | Description |
---|---|---|
redeemer | address | |
redeemAmount | uint256 | |
redeemTokens | uint256 |
Outputs
Mint
Inputs
Parameter | Type | Description |
---|---|---|
minter | address | |
mintAmount | uint256 | |
mintTokens | uint256 |
Outputs
AccrueInterest
Inputs
Parameter | Type | Description |
---|---|---|
interestAccumulated | uint256 | |
borrowIndex | uint256 | |
totalBorrows | uint256 |
Outputs
EIP20NonStandardInterface
Approval
Inputs
Parameter | Type | Description |
---|---|---|
owner | address | |
spender | address | |
amount | uint256 |
Outputs
Transfer
Inputs
Parameter | Type | Description |
---|---|---|
from | address | |
to | address | |
amount | uint256 |
Outputs
ReentrancyGuard
CEther
Inputs
Parameter | Type | Description |
---|---|---|
comptroller_ | address | |
interestRateModel_ | address | |
initialExchangeRateMantissa_ | uint256 | |
name_ | string | |
symbol_ | string | |
decimals_ | uint256 |
Outputs
TokenErrorReporter
Failure
Inputs
Parameter | Type | Description |
---|---|---|
error | uint256 | |
info | uint256 | |
detail | uint256 |
Outputs
isCToken
Inputs
Outputs
Type | Description |
---|---|
bool |
admin
Inputs
Outputs
Type | Description |
---|---|
address |
interestRateModel
Inputs
Outputs
Type | Description |
---|---|
address |
borrowIndex
Inputs
Outputs
Type | Description |
---|---|
uint256 |
symbol
Inputs
Outputs
Type | Description |
---|---|
string |
totalReserves
Inputs
Outputs
Type | Description |
---|---|
uint256 |
accrualBlockNumber
Inputs
Outputs
Type | Description |
---|---|
uint256 |
initialExchangeRateMantissa
Inputs
Outputs
Type | Description |
---|---|
uint256 |
comptroller
Inputs
Outputs
Type | Description |
---|---|
address |
totalBorrows
Inputs
Outputs
Type | Description |
---|---|
uint256 |
decimals
Inputs
Outputs
Type | Description |
---|---|
uint256 |
pendingAdmin
Inputs
Outputs
Type | Description |
---|---|
address |
totalSupply
Inputs
Outputs
Type | Description |
---|---|
uint256 |
reserveFactorMantissa
Inputs
Outputs
Type | Description |
---|---|
uint256 |
name
Inputs
Outputs
Type | Description |
---|---|
string |