dToken WETH

Verified contract

Proxy

Active on Ethereum with 207 txns
Deployed by via 0xa1b0f0e1 at 15470012
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
16 additional variables
ERC-20
Value $499.3
0xca60964b35511f6eac6124a9f7d2cb6b14f59b553d423ee4f118909c912e33b4
0xd77fabb0ffb4b934b6ae2a153577d36dfddb7e02b5b68cde9063f30747dffa8a
0x162b35412096821b78dc60e51ed7aae4eee2485ad7a33b5c4cdff6ea9f43463a
0x27070096ac36e839ba4ec2b81d7fc8bdf2957f44b03ba6f1d2f0ddae29ab4f1d
0x647c1a2fb2d90850ecea97b40647b3ad14a0d0a43cb5a9811ac10abc4a5d5fc3
0x8238f31e27615cf9bcf4e919e8447fc5a48bd66985ebcf7e29ab821ee77d8c19
0xd8d350970b97ab85da8fb452c29a3277a05cfa2c349b454efe17a4217ec7e8cc
0xe4d0dd8bdb9ca30493ce7980075e6f99d4bbab236adfa8216571611265971de6
0x43ae30adcd99cbdf5384a13b9d964c5a19307bef9c121ecc73d907135bdad7a1
0x1930ea934753bc2c2abdbbb66933ec29ab0615293725b9edb40eba6f9f37417f

Functions
Getter at block 20879588
accrualBlockNumber(view returns (uint256)
18454015
admin(view returns (address)
0xf2e055d3204ad73c7c51de2668435b76c727a92f
borrowIndex(view returns (uint256)
1013235005422490750
 
borrowRatePerBlock(view returns (uint256)
comptroller(view returns (address)
0x4f96ab61520a6636331a48a11eafba8fb51f74e4
decimals(view returns (uint8)
8
exchangeRateStored(view returns (uint256)
200419626752459654600416959
getCash(view returns (uint256)
207443224930752589
implementation(view returns (address)
0x8c22cd2b93f06a37f81384afec62193957bb50e0
interestRateModel(view returns (address)
0x6c4d9057f01f3003a5e3d66e8f816c061b117e55
isCToken(view returns (bool)
true
name(view returns (string)
dToken WETH
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
protocolSeizeShareMantissa(view returns (uint256)
28000000000000000
reserveFactorMantissa(view returns (uint256)
175000000000000000
 
supplyRatePerBlock(view returns (uint256)
symbol(view returns (string)
dWETH
totalBorrows(view returns (uint256)
6880504625871047
totalReserves(view returns (uint256)
94653049168855791
totalSupply(view returns (uint256)
597100605
underlying(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
NO_ERROR(view returns (uint256)
0
accrualBlockNumber(view returns (uint256)
18454015
admin(view returns (address)
0xf2e055d3204ad73c7c51de2668435b76c727a92f
borrowIndex(view returns (uint256)
1013235005422490750
 
borrowRatePerBlock(view returns (uint256)
comptroller(view returns (address)
0x4f96ab61520a6636331a48a11eafba8fb51f74e4
decimals(view returns (uint8)
8
exchangeRateStored(view returns (uint256)
200419626752459654600416959
getCash(view returns (uint256)
207443224930752589
implementation(view returns (address)
0x8c22cd2b93f06a37f81384afec62193957bb50e0
interestRateModel(view returns (address)
0x6c4d9057f01f3003a5e3d66e8f816c061b117e55
isCToken(view returns (bool)
true
name(view returns (string)
dToken WETH
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
protocolSeizeShareMantissa(view returns (uint256)
28000000000000000
reserveFactorMantissa(view returns (uint256)
175000000000000000
 
supplyRatePerBlock(view returns (uint256)
symbol(view returns (string)
dWETH
totalBorrows(view returns (uint256)
6880504625871047
totalReserves(view returns (uint256)
94653049168855791
totalSupply(view returns (uint256)
597100605
underlying(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address ownerview returns (uint256)
borrowBalanceStored(address accountview returns (uint256)
delegateToViewImplementation(bytes dataview returns (bytes)
getAccountSnapshot(address accountview returns (uint256uint256uint256uint256)
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address ownerview returns (uint256)
borrowBalanceStored(address accountview returns (uint256)
getAccountSnapshot(address accountview returns (uint256uint256uint256uint256)
State-modifying
_acceptAdmin(returns (uint256)
_addReserves(uint256 addAmountreturns (uint256)
_reduceReserves(uint256 reduceAmountreturns (uint256)
_setComptroller(address newComptrollerreturns (uint256)
_setImplementation(address implementation_bool allowResignbytes becomeImplementationData
_setInterestRateModel(address newInterestRateModelreturns (uint256)
_setPendingAdmin(address newPendingAdminreturns (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)
delegateToImplementation(bytes datareturns (bytes)
exchangeRateCurrent(returns (uint256)
liquidateBorrow(address borroweruint256 repayAmountaddress cTokenCollateralreturns (uint256)
mint(uint256 mintAmountreturns (uint256)
redeem(uint256 redeemTokensreturns (uint256)
redeemUnderlying(uint256 redeemAmountreturns (uint256)
repayBorrow(uint256 repayAmountreturns (uint256)
repayBorrowBehalf(address borroweruint256 repayAmountreturns (uint256)
seize(address liquidatoraddress borroweruint256 seizeTokensreturns (uint256)
sweepToken(address token
totalBorrowsCurrent(returns (uint256)
transfer(address dstuint256 amountreturns (bool)
transferFrom(address srcaddress dstuint256 amountreturns (bool)
_acceptAdmin(returns (uint256)
_addReserves(uint256 addAmountreturns (uint256)
_becomeImplementation(bytes data
_delegateCompLikeTo(address compLikeDelegatee
_reduceReserves(uint256 reduceAmountreturns (uint256)
_resignImplementation(
_setComptroller(address newComptrollerreturns (uint256)
_setInterestRateModel(address newInterestRateModelreturns (uint256)
_setPendingAdmin(address newPendingAdminreturns (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_
initialize(address underlying_address comptroller_address interestRateModel_uint256 initialExchangeRateMantissa_string name_string symbol_uint8 decimals_
liquidateBorrow(address borroweruint256 repayAmountaddress cTokenCollateralreturns (uint256)
mint(uint256 mintAmountreturns (uint256)
redeem(uint256 redeemTokensreturns (uint256)
redeemUnderlying(uint256 redeemAmountreturns (uint256)
repayBorrow(uint256 repayAmountreturns (uint256)
repayBorrowBehalf(address borroweruint256 repayAmountreturns (uint256)
seize(address liquidatoraddress borroweruint256 seizeTokensreturns (uint256)
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 repayAmountaddress cTokenCollateraluint256 seizeTokens
Mint(address minteruint256 mintAmountuint256 mintTokens
NewAdmin(address oldAdminaddress newAdmin
NewComptroller(address oldComptrolleraddress newComptroller
NewImplementation(address oldImplementationaddress newImplementation
NewMarketInterestRateModel(address oldInterestRateModeladdress newInterestRateModel
NewPendingAdmin(address oldPendingAdminaddress newPendingAdmin
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
AccrueInterest(uint256 cashPrioruint256 interestAccumulateduint256 borrowIndexuint256 totalBorrows
Approval(address indexed owneraddress indexed spenderuint256 amount
Borrow(address borroweruint256 borrowAmountuint256 accountBorrowsuint256 totalBorrows
LiquidateBorrow(address liquidatoraddress borroweruint256 repayAmountaddress cTokenCollateraluint256 seizeTokens
Mint(address minteruint256 mintAmountuint256 mintTokens
NewAdmin(address oldAdminaddress newAdmin
NewComptroller(address oldComptrolleraddress newComptroller
NewMarketInterestRateModel(address oldInterestRateModeladdress newInterestRateModel
NewPendingAdmin(address oldPendingAdminaddress newPendingAdmin
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 underlying_address comptroller_address interestRateModel_uint256 initialExchangeRateMantissa_string name_string symbol_uint8 decimals_address admin_address implementation_bytes becomeImplementationData
Fallback and receive
fallback(
Errors
AcceptAdminPendingAdminCheck(
AddReservesFactorFreshCheck(uint256 actualAddAmount
BorrowCashNotAvailable(
BorrowComptrollerRejection(uint256 errorCode
BorrowFreshnessCheck(
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(
RedeemComptrollerRejection(uint256 errorCode
RedeemFreshnessCheck(
RedeemTransferOutNotPossible(
ReduceReservesAdminCheck(
ReduceReservesCashNotAvailable(
ReduceReservesCashValidation(
ReduceReservesFreshCheck(
RepayBorrowComptrollerRejection(uint256 errorCode
RepayBorrowFreshnessCheck(
SetComptrollerOwnerCheck(
SetInterestRateModelFreshCheck(
SetInterestRateModelOwnerCheck(
SetPendingAdminOwnerCheck(
SetReserveFactorAdminCheck(
SetReserveFactorBoundsCheck(
SetReserveFactorFreshCheck(
TransferComptrollerRejection(uint256 errorCode
TransferNotAllowed(
TransferNotEnough(
TransferTooMuch(