Compound / CErc20

Auger - CErc20

0x158079ee67fce2f58472a96584a73c7ab9ac95c1
CErc20
function

liquidateBorrow

nonpayable

Inputs

ParameterTypeDescription
borroweraddress
repayAmountuint256
cTokenCollateraladdress

Outputs

TypeDescription
uint256
function

redeem

nonpayable

Inputs

ParameterTypeDescription
redeemTokensuint256

Outputs

TypeDescription
uint256
function

borrow

nonpayable

Inputs

ParameterTypeDescription
borrowAmountuint256

Outputs

TypeDescription
uint256
function

mint

nonpayable

Inputs

ParameterTypeDescription
mintAmountuint256

Outputs

TypeDescription
uint256
function

redeemUnderlying

nonpayable

Inputs

ParameterTypeDescription
redeemAmountuint256

Outputs

TypeDescription
uint256
function

repayBorrowBehalf

nonpayable

Inputs

ParameterTypeDescription
borroweraddress
repayAmountuint256

Outputs

TypeDescription
uint256
function

repayBorrow

nonpayable

Inputs

ParameterTypeDescription
repayAmountuint256

Outputs

TypeDescription
uint256
CToken
function

_setReserveFactor

nonpayable
Restricted (nonReentrant)

Inputs

ParameterTypeDescription
newReserveFactorMantissauint256

Outputs

TypeDescription
uint256
function

exchangeRateCurrent

nonpayable
Restricted (nonReentrant)

Inputs

(void)

Outputs

TypeDescription
uint256
function

seize

nonpayable
Restricted (nonReentrant)

Inputs

ParameterTypeDescription
liquidatoraddress
borroweraddress
seizeTokensuint256

Outputs

TypeDescription
uint256
function

transfer

nonpayable
Restricted (nonReentrant)

Inputs

ParameterTypeDescription
dstaddress
amountuint256

Outputs

TypeDescription
bool
function

totalBorrowsCurrent

nonpayable
Restricted (nonReentrant)

Inputs

(void)

Outputs

TypeDescription
uint256
function

_reduceReserves

nonpayable
Restricted (nonReentrant)

Inputs

ParameterTypeDescription
reduceAmountuint256

Outputs

TypeDescription
uint256
function

transferFrom

nonpayable
Restricted (nonReentrant)

Inputs

ParameterTypeDescription
srcaddress
dstaddress
amountuint256

Outputs

TypeDescription
bool
function

borrowBalanceCurrent

nonpayable
Restricted (nonReentrant)

Inputs

ParameterTypeDescription
accountaddress

Outputs

TypeDescription
uint256
function

_setInterestRateModel

nonpayable

Inputs

ParameterTypeDescription
newInterestRateModeladdress

Outputs

TypeDescription
uint256
function

_acceptAdmin

nonpayable

Inputs

(void)

Outputs

TypeDescription
uint256
function

_setPendingAdmin

nonpayable

Inputs

ParameterTypeDescription
newPendingAdminaddress

Outputs

TypeDescription
uint256
function

accrueInterest

nonpayable

Inputs

(void)

Outputs

TypeDescription
uint256
function

_setComptroller

nonpayable

Inputs

ParameterTypeDescription
newComptrolleraddress

Outputs

TypeDescription
uint256
function

balanceOfUnderlying

nonpayable

Inputs

ParameterTypeDescription
owneraddress

Outputs

TypeDescription
uint256
function

approve

nonpayable

Inputs

ParameterTypeDescription
spenderaddress
amountuint256

Outputs

TypeDescription
bool
function

borrowRatePerBlock

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

allowance

view

Inputs

ParameterTypeDescription
owneraddress
spenderaddress

Outputs

TypeDescription
uint256
function

getAccountSnapshot

view

Inputs

ParameterTypeDescription
accountaddress

Outputs

TypeDescription
uint256
uint256
uint256
uint256
function

supplyRatePerBlock

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

borrowBalanceStored

view

Inputs

ParameterTypeDescription
accountaddress

Outputs

TypeDescription
uint256
function

balanceOf

view

Inputs

ParameterTypeDescription
owneraddress

Outputs

TypeDescription
uint256
function

getCash

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

exchangeRateStored

view

Inputs

(void)

Outputs

TypeDescription
uint256
event

ReservesReduced

Inputs

ParameterTypeDescription
adminaddress
reduceAmountuint256
newTotalReservesuint256

Outputs

(void)
event

NewReserveFactor

Inputs

ParameterTypeDescription
oldReserveFactorMantissauint256
newReserveFactorMantissauint256

Outputs

(void)
event

NewMarketInterestRateModel

Inputs

ParameterTypeDescription
oldInterestRateModeladdress
newInterestRateModeladdress

Outputs

(void)
event

NewComptroller

Inputs

ParameterTypeDescription
oldComptrolleraddress
newComptrolleraddress

Outputs

(void)
event

NewAdmin

Inputs

ParameterTypeDescription
oldAdminaddress
newAdminaddress

Outputs

(void)
event

NewPendingAdmin

Inputs

ParameterTypeDescription
oldPendingAdminaddress
newPendingAdminaddress

Outputs

(void)
event

LiquidateBorrow

Inputs

ParameterTypeDescription
liquidatoraddress
borroweraddress
repayAmountuint256
cTokenCollateraladdress
seizeTokensuint256

Outputs

(void)
event

RepayBorrow

Inputs

ParameterTypeDescription
payeraddress
borroweraddress
repayAmountuint256
accountBorrowsuint256
totalBorrowsuint256

Outputs

(void)
event

Borrow

Inputs

ParameterTypeDescription
borroweraddress
borrowAmountuint256
accountBorrowsuint256
totalBorrowsuint256

Outputs

(void)
event

Redeem

Inputs

ParameterTypeDescription
redeemeraddress
redeemAmountuint256
redeemTokensuint256

Outputs

(void)
event

Mint

Inputs

ParameterTypeDescription
minteraddress
mintAmountuint256
mintTokensuint256

Outputs

(void)
event

AccrueInterest

Inputs

ParameterTypeDescription
interestAccumulateduint256
borrowIndexuint256
totalBorrowsuint256

Outputs

(void)
EIP20NonStandardInterface
event

Approval

Inputs

ParameterTypeDescription
owneraddress
spenderaddress
amountuint256

Outputs

(void)
event

Transfer

Inputs

ParameterTypeDescription
fromaddress
toaddress
amountuint256

Outputs

(void)
ReentrancyGuard
constructor

CErc20

nonpayable

Inputs

ParameterTypeDescription
underlying_address
comptroller_address
interestRateModel_address
initialExchangeRateMantissa_uint256
name_string
symbol_string
decimals_uint256

Outputs

(void)
TokenErrorReporter
event

Failure

Inputs

ParameterTypeDescription
erroruint256
infouint256
detailuint256

Outputs

(void)
function

isCToken

view

Inputs

(void)

Outputs

TypeDescription
bool
function

admin

view

Inputs

(void)

Outputs

TypeDescription
address
function

interestRateModel

view

Inputs

(void)

Outputs

TypeDescription
address
function

borrowIndex

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

symbol

view

Inputs

(void)

Outputs

TypeDescription
string
function

totalReserves

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

underlying

view

Inputs

(void)

Outputs

TypeDescription
address
function

accrualBlockNumber

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

initialExchangeRateMantissa

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

comptroller

view

Inputs

(void)

Outputs

TypeDescription
address
function

totalBorrows

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

decimals

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

pendingAdmin

view

Inputs

(void)

Outputs

TypeDescription
address
function

totalSupply

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

reserveFactorMantissa

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

name

view

Inputs

(void)

Outputs

TypeDescription
string