CErc20
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
4 additional
variables
Balances ($0.00)
No balances found for "CErc20"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "CErc20"
ABI
ABI objects
Getter at block 22940182 borrowRatePerBlock() view returns (uint256) isDeprecated() view returns (bool) supplyRatePerBlock() view returns (uint256)
accrualBlockTimestamp() view returns (uint256)
0
admin() view returns (address)
0x0000000000000000000000000000000000000000
borrowIndex() view returns (uint256)
0
comptroller() view returns (address)
0x0000000000000000000000000000000000000000
decimals() view returns (uint8)
0
discountRateMantissa() view returns (uint256)
1000000000000000000
exchangeRateStored() view returns (uint256)
0
getCash() view returns (uint256)
0
interestRateModel() view returns (address)
0x0000000000000000000000000000000000000000
isCEther() pure returns (bool)
false
isCEtherDeprecated() view returns (bool)
false
isCToken() pure returns (bool)
true
isCTokenDeprecated() view returns (bool)
false
name() view returns (string)
pendingAdmin() view returns (address)
0x0000000000000000000000000000000000000000
percentScale() view returns (uint256)
100000000000000
protocolSeizeShareMantissa() view returns (uint256)
300000000000000000
reserveFactorMantissa() view returns (uint256)
0
symbol() view returns (string)
totalBorrows() view returns (uint256)
0
totalReserves() view returns (uint256)
0
totalSupply() view returns (uint256)
0
underlying() view returns (address)
0x0000000000000000000000000000000000000000
underlyingBalance() view returns (uint256)
0
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address owner) view returns (uint256)
borrowBalanceStored(address account) view returns (uint256)
getAccountSnapshot(address account) view returns (uint256, uint256, uint256, uint256)
getBorrowSnapshot(address borrower) view returns (struct CTokenStorageBorrowSnapshot)
liquidateCalculateSeizeTokens(address cTokenCollateral, uint256 actualRepayAmount) view returns (uint256, uint256, uint256)
State-modifying
Events _acceptAdmin() returns (uint256)
_addReserves(uint256 addAmount) returns (uint256)
_reduceReserves(uint256 reduceAmount) returns (uint256)
_setComptroller(address newComptroller) returns (uint256)
_setDiscountRate(uint256 discountRateMantissa_) returns (uint256)
_setInterestRateModel(address newInterestRateModel) returns (uint256)
_setPendingAdmin(address newPendingAdmin) returns (uint256)
_setReserveFactor(uint256 newReserveFactorMantissa) returns (uint256)
_syncUnderlyingBalance()
accrueInterest() returns (uint256)
approve(address spender, uint256 amount) returns (bool)
balanceOfUnderlying(address owner) returns (uint256)
borrow(uint256 borrowAmount) returns (uint256)
borrowAndDepositBack(address borrower, uint256 borrowAmount) returns (uint256)
borrowBalanceCurrent(address account) returns (uint256)
exchangeRateCurrent() returns (uint256)
initAccrualBlockTimestamp(address timeBasedInterestRateModel)
initialize(address underlying_, address comptroller_, address interestRateModel_, uint256 initialExchangeRateMantissa_, string name_, string symbol_, uint8 decimals_, address admin_)
initializeVersion2()
liquidateBorrow(address borrower, uint256 repayAmount, address cTokenCollateral) returns (uint256)
mint(uint256 mintAmount) returns (uint256)
mintWithPermit(uint256 mintAmount, uint256 deadline, bytes signature) returns (uint256)
redeem(uint256 redeemTokens) returns (uint256)
redeemUnderlying(uint256 redeemAmount) returns (uint256)
repayBorrow(uint256 repayAmount) returns (uint256)
repayBorrowBehalf(address borrower, uint256 repayAmount) returns (uint256)
repayBorrowWithPermit(uint256 repayAmount, uint256 deadline, bytes signature) returns (uint256)
seize(address liquidator, address borrower, uint256 seizeTokens, uint256 seizeProfitTokens, bool isRedemption, uint256 redemptionRateMantissa) returns (uint256)
sweepToken(address token)
totalBorrowsCurrent() returns (uint256)
transfer(address dst, uint256 amount) returns (bool)
transferFrom(address src, address dst, uint256 amount) returns (bool)
AccrueInterest(uint256 cashPrior, uint256 interestAccumulated, uint256 borrowIndex, uint256 totalBorrows)
Approval(address indexed owner, address indexed spender, uint256 amount)
Borrow(address borrower, uint256 borrowAmount, uint256 accountBorrows, uint256 totalBorrows)
Initialized(uint8 version)
LiquidateBorrow(address liquidator, address borrower, uint256 repayAmount, address cTokenCollateral, uint256 seizeTokens)
Mint(address minter, uint256 mintAmount, uint256 mintTokens)
NewAdmin(address oldAdmin, address newAdmin)
NewComptroller(address oldComptroller, address newComptroller)
NewDiscountRate(uint256 oldDiscountRateMantissa, uint256 newDiscountRateMantissa)
NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)
NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)
NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)
Redeem(address redeemer, uint256 redeemAmount, uint256 redeemTokens)
RedeemFaceValue(address indexed redeemer, address indexed provider, uint256 repayAmount, address seizeToken, uint256 seizeAmount, uint256 redemptionRateMantissa)
RepayBorrow(address payer, address borrower, uint256 repayAmount, uint256 accountBorrows, uint256 totalBorrows)
ReservesAdded(address benefactor, uint256 addAmount, uint256 newTotalReserves)
ReservesReduced(address admin, uint256 reduceAmount, uint256 newTotalReserves)
Transfer(address indexed from, address indexed to, uint256 amount)
constructor()
This contract contains no fallback and receive objects.
AddReservesMarketNotFresh()
AddReservesOverflow()
BorrowAndDepositBackFailed()
BorrowCapReached()
BorrowCashNotAvailable()
BorrowMarketNotFresh()
BorrowPaused()
BorrowValueMustBeLargerThanThreshold(uint256 usdThreshold)
CantEnterPausedMarket()
CantExitMarketWithNonZeroBorrowBalance()
CantSweepUnderlying()
ComptrollerMismatch()
EitherAssetOrDebtMustBeZero()
EitherAssetOrDebtMustBeZeroInGroup(uint8 groupId, uint256 cDepositVal, uint256 suDepositVal, uint256 cBorrowVal, uint256 suBorrowVal)
ExpiredSignature()
InsufficientCollateral()
InsufficientShortfall()
InterMintNotAllowed()
InvalidAddress()
InvalidAmount()
InvalidBlockNumber()
InvalidCToken()
InvalidCloseFactor()
InvalidComptroller()
InvalidDiscountRate()
InvalidExchangeRate()
InvalidGroupId()
InvalidInput()
InvalidInterestRateModel()
InvalidMinSuBorrowValue()
InvalidRedeem()
InvalidReduceAmount()
InvalidReserveFactor()
InvalidSignatureForRedeemFaceValue()
InvalidSignatureLength()
InvalidSuToken()
InvalidTimestamp()
LiquidateBorrow_LiquidatorIsBorrower()
LiquidateBorrow_RepayAmountIsMax()
LiquidateBorrow_RepayAmountIsZero()
LiquidateBorrow_SeizeTooMuch()
LiquidateCollateralMarketNotFresh()
LiquidateMarketNotFresh()
MarketAlreadyListed()
MarketAlreadyUnlisted()
MarketCanOnlyInitializeOnce()
MarketNotEmpty()
MarketNotListed()
MarketPaused()
MinDelayNotReached()
MintMarketNotFresh()
MintPaused()
NoRedemptionProvider()
NotCToken()
NotEnoughForSeize()
NotLiquidatableYet()
NotSuToken()
OnlyAdmin()
OnlyAdminOrPauser()
OnlyCToken()
OnlyListedCToken()
OnlyPausedMarketCanBeUnlisted()
OnlyPendingAdmin()
OnlyRedemptionManager()
OverThreshold()
PriceError()
ProtectedMint_OnlyAllowAssetsInTheSameGroup()
RedeemMarketNotFresh()
RedeemTransferOutNotPossible()
RedemptionSeizeTooMuch()
RedemptionSignerNotInitialized()
ReduceReservesCashNotAvailable()
ReduceReservesMarketNotFresh()
RepayBorrowMarketNotFresh()
SeizePaused()
Seize_LiquidatorIsBorrower()
SenderMustBeCToken()
SetInterestRateModelMarketNotFresh()
SetReservesFactorMarketNotFresh()
SupplyCapReached()
TokenInOrAmountInMustBeZero()
TokenTransferInFailed()
TokenTransferOutFailed()
TooMuchRepay()
TotalBorrowsNotZero()
TotalSupplyNotZero()
TransferNotAllowed()
TransferPaused()
UnderlyingBalanceError()
ZeroAddressNotAllowed()