cDAI
Verified contract
Proxy
Active on
Base with 149 txns
Unified storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x0000…0000
0xbea1…d6e7
0xe779…199d
Balances ($0.00)
No balances found for "cDAI"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 13756551 | 8 months ago | | | 0 | 0.0000027892673 | |
| 13756526 | 8 months ago | | | 0 | 0.0000038762129 | |
| 13756321 | 8 months ago | | | 0 | 0.0000018781013 | |
| 13751614 | 8 months ago | | | 0 | 0.0000024589719 | |
| 12650313 | 8 months ago | | | 0 | 0.0000014490180 | |
| 12650291 | 8 months ago | | | 0 | 0.0000045575379 | |
| 12214028 | 9 months ago | | | 0 | 0.0000055787957 | |
| 12213998 | 9 months ago | | | 0 | 0.0000078107779 | |
| 12210247 | 9 months ago | | | 0 | 0.0000079631636 | |
| 12190571 | 9 months ago | | | 0 | 0.0000046343894 |
ABI
ABI objects
Getter at block 23831856 borrowRatePerBlock() view returns (uint256) supplyRatePerBlock() view returns (uint256)
accrualBlockNumber() view returns (uint256)
12650313
admin() view returns (address)
0xd818ea2af0778652f825a40f3fa91d5eaac1802f
borrowIndex() view returns (uint256)
1005853924762892067
comptroller() view returns (address)
0xbea1d596ae022fae90d84ffaf0907e38a25ed6e7
decimals() view returns (uint8)
18
exchangeRateStored() view returns (uint256)
582431875308663423
getCash() view returns (uint256)
0
implementation() view returns (address)
0x2029935c53e28a7c481d50dbd16d0570cf6f9494
interestRateModel() view returns (address)
0xe779696e43df41c23c1a4d190ac8144c4250199d
isCToken() view returns (bool)
true
name() view returns (string)
cDAI
pendingAdmin() view returns (address)
0x0000000000000000000000000000000000000000
reserveFactorMantissa() view returns (uint256)
0
symbol() view returns (string)
cDAI
totalBorrows() view returns (uint256)
34495681415945004389940
totalReserves() view returns (uint256)
0
totalSupply() view returns (uint256)
59226980662182683184935
underlying() view returns (address)
0x50c5725949a6f0c72e6c4a641f24049a917db0cb
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address owner) view returns (uint256)
borrowBalanceStored(address account) view returns (uint256)
delegateToViewImplementation(bytes data) view returns (bytes)
getAccountSnapshot(address account) view returns (uint256, uint256, uint256, uint256)
State-modifying
Events _acceptAdmin() returns (uint256)
_addReserves(uint256 addAmount) returns (uint256)
_reduceReserves(uint256 reduceAmount) returns (uint256)
_setComptroller(address newComptroller) returns (uint256)
_setImplementation(address implementation_, bool allowResign, bytes becomeImplementationData)
_setInterestRateModel(address newInterestRateModel) returns (uint256)
_setPendingAdmin(address newPendingAdmin) returns (uint256)
_setReserveFactor(uint256 newReserveFactorMantissa) returns (uint256)
accrueInterest() returns (uint256)
approve(address spender, uint256 amount) returns (bool)
balanceOfUnderlying(address owner) returns (uint256)
borrow(uint256 borrowAmount) returns (uint256)
borrowBalanceCurrent(address account) returns (uint256)
delegateToImplementation(bytes data) returns (bytes)
exchangeRateCurrent() returns (uint256)
liquidateBorrow(address borrower, uint256 repayAmount, address cTokenCollateral) returns (uint256)
mint(uint256 mintAmount) returns (uint256)
redeem(uint256 redeemTokens) returns (uint256)
redeemUnderlying(uint256 redeemAmount) returns (uint256)
repayBorrow(uint256 repayAmount) returns (uint256)
repayBorrowBehalf(address borrower, uint256 repayAmount) returns (uint256)
seize(address liquidator, address borrower, uint256 seizeTokens) 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)
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)
NewImplementation(address oldImplementation, address newImplementation)
NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)
NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)
NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)
Redeem(address redeemer, uint256 redeemAmount, uint256 redeemTokens)
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(address underlying_, address comptroller_, address interestRateModel_, uint256 initialExchangeRateMantissa_, string name_, string symbol_, uint8 decimals_, address admin_, address implementation_, bytes becomeImplementationData)
fallback()
This contract contains no error objects.