CEtherDelegate

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xc47d91ce at 19122257
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "CEtherDelegate"

No transactions found for "CEtherDelegate"


Functions
Getter at block 20982610
NO_ERROR(view returns (uint256)
0
accrualBlockNumber(view returns (uint256)
0
admin(view returns (address)
0x43a314183c0033528827be7cf426523bac412780
borrowIndex(view returns (uint256)
0
 
borrowRatePerBlock(view returns (uint256)
comptroller(view returns (address)
0x0000000000000000000000000000000000000000
decimals(view returns (uint8)
0
exchangeRateStored(view returns (uint256)
0
getCash(view returns (uint256)
0
implementation(view returns (address)
0x0000000000000000000000000000000000000000
interestRateModel(view returns (address)
0x0000000000000000000000000000000000000000
isCToken(view returns (bool)
true
marketType(view returns (uint8)
0
name(view returns (string)
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
protocolSeizeShareMantissa(view returns (uint256)
28000000000000000
reserveFactorMantissa(view returns (uint256)
0
 
supplyRatePerBlock(view returns (uint256)
symbol(view returns (string)
totalBorrows(view returns (uint256)
0
totalReserves(view returns (uint256)
0
totalSupply(view returns (uint256)
0
underlying(view returns (address)
0x0000000000000000000000000000000000000000
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address ownerview returns (uint256)
borrowBalanceStored(address accountview returns (uint256)
getAccountSnapshot(address accountview returns (uint256uint256uint256uint256uint256)
State-modifying
_acceptAdmin(returns (uint256)
_addReserves(payable returns (uint256)
_becomeImplementation(bytes data
_ensureNonEmpty(address minteruint256 amount
_liquidateBorrow(address liquidatoraddress borroweruint256 repayAmountreturns (uint256)
_reduceReserves(uint256 reduceAmountreturns (uint256)
_resignImplementation(
_seize(address liquidatoraddress borroweruint256 seizeTokensreturns (uint256)
_setComptroller(address newComptrollerreturns (uint256)
_setInterestRateModel(address newInterestRateModelreturns (uint256)
_setPendingAdmin(address newPendingAdminreturns (uint256)
_setProtocolSeizeShare(uint256 newProtocolSeizeShareMantissareturns (uint256)
_setReserveFactor(uint256 newReserveFactorMantissareturns (uint256)
accrueInterest(returns (uint256)
approve(address spenderuint256 amountreturns (bool)
balanceOfUnderlying(address ownerreturns (uint256)
borrow(uint256 borrowAmountreturns (uint256)
borrowBalanceCurrent(address accountreturns (uint256)
exchangeRateCurrent(returns (uint256)
initialize(address comptroller_address interestRateModel_uint256 initialExchangeRateMantissa_string name_string symbol_uint8 decimals_
mint(payable 
redeem(uint256 redeemTokensreturns (uint256)
redeemUnderlying(uint256 redeemAmountreturns (uint256)
repayBorrow(payable 
repayBorrowBehalf(address borrowerpayable 
sweepToken(address token
totalBorrowsCurrent(returns (uint256)
transfer(address dstuint256 amountreturns (bool)
transferFrom(address srcaddress dstuint256 amountreturns (bool)
Events
AccrueInterest(uint256 cashPrioruint256 interestAccumulateduint256 borrowIndexuint256 totalBorrows
Approval(address indexed owneraddress indexed spenderuint256 amount
Borrow(address borroweruint256 borrowAmountuint256 accountBorrowsuint256 totalBorrows
LiquidateBorrow(address liquidatoraddress borroweruint256 repayAmount
Mint(address minteruint256 mintAmountuint256 mintTokens
NewAdmin(address oldAdminaddress newAdmin
NewComptroller(address oldComptrolleraddress newComptroller
NewMarketInterestRateModel(address oldInterestRateModeladdress newInterestRateModel
NewPendingAdmin(address oldPendingAdminaddress newPendingAdmin
NewProtocolSeizeShare(uint256 oldProtocolSeizeShareMantissauint256 newProtocolSeizeShareMantissa
NewReserveFactor(uint256 oldReserveFactorMantissauint256 newReserveFactorMantissa
Redeem(address redeemeruint256 redeemAmountuint256 redeemTokens
RepayBorrow(address payeraddress borroweruint256 repayAmountuint256 accountBorrowsuint256 totalBorrows
ReservesAdded(address benefactoruint256 addAmountuint256 newTotalReserves
ReservesReduced(address adminuint256 reduceAmountuint256 newTotalReserves
Transfer(address indexed fromaddress indexed touint256 amount
Constructor
constructor(address weth_
Fallback and receive
receive(
Errors
AcceptAdminPendingAdminCheck(
AddReservesFactorFreshCheck(uint256 actualAddAmount
AlreadyInitialized(
BorrowCashNotAvailable(
BorrowComptrollerRejection(uint256 errorCode
BorrowFreshnessCheck(
BorrowRateIsAbsurdlyHigh(uint256 borrowRateMantissa
CannotSweepUnderlying(
CollectInterestFailed(
CollectInterestNotAllowed(
EnsureNonEmptyAmountTooSmall(
InitializeExchangeRateInvalid(
InitializeInvalidMarketType(
InitializeMarketTypeNotSet(
InitializeSetComptrollerFailed(uint256 errorCode
InitializeSetInterestRateModelFailed(uint256 errorCode
InsufficientBalance(
InsufficientBalanceAfterTransfer(
InvalidComptrollerAddress(address comptrollerAddress
InvalidRateModelAddress(address interestRateModelAddress
LiquidateAccrueBorrowInterestFailed(uint256 errorCode
LiquidateAccrueCollateralInterestFailed(uint256 errorCode
LiquidateCloseAmountIsUintMax(
LiquidateCloseAmountIsZero(
LiquidateCollateralFreshnessCheck(
LiquidateComptrollerRejection(uint256 errorCode
LiquidateFreshnessCheck(
LiquidateLiquidatorIsBorrower(
LiquidateRepayBorrowFreshFailed(uint256 errorCode
LiquidateSeizeComptrollerRejection(uint256 errorCode
LiquidateSeizeLiquidatorIsBorrower(
MintComptrollerRejection(uint256 errorCode
MintFreshnessCheck(
PayInterestError(
PayInterestNotAllowed(
PriceError(
RedeemComptrollerRejection(uint256 errorCode
RedeemFreshnessCheck(
RedeemInvalidInputs(
RedeemTransferOutNotPossible(
ReduceReservesAdminCheck(
ReduceReservesCashNotAvailable(
ReduceReservesCashValidation(
ReduceReservesFreshCheck(
Reentry(
RepayBorrowComptrollerRejection(uint256 errorCode
RepayBorrowFreshnessCheck(
RepayTooHigh(
SenderMismatch(
SetComptrollerOwnerCheck(
SetInterestRateModelFreshCheck(
SetInterestRateModelOwnerCheck(
SetPendingAdminOwnerCheck(
SetProtocolSeizeShareAdminCheck(
SetProtocolSeizeShareTooHigh(
SetReserveFactorAdminCheck(
SetReserveFactorBoundsCheck(
SetReserveFactorFreshCheck(
TransferComptrollerRejection(uint256 errorCode
TransferInFailed(
TransferInvalidAmount(
TransferNotAllowed(
TransferNotEnough(
TransferOutFailed(
TransferTooMuch(
Unauthorized(
Unsupported(
ValueMismatch(