Compound Dai
Verified contract
Proxy
Active on
Ethereum with 224,137 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
0x6d90…3925
0x6d90…3925
0x3d98…cd3b
0x3d98…cd3b
0xfb56…2012
0xfb56…2012
16 additional
variables
Balances ($14,200,560.54)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
DAI | ERC-20 | 14.213291M | $0.999104 |
$14,200,556.3 | |
COMP | ERC-20 | 0.04662 | $61.05 |
$2.85 | |
MTV | ERC-20 | 1K | $0.001048 |
$1.05 | |
cDAI | ERC-20 | 14.5 | $0.023869 |
$0.35 | |
HEX | ERC-20 | 1.307 | $0.003115 |
$0 | |
USDG | ERC-20 | 562.096663M | -- | -- | |
TWeR1 | ERC-20 | 19.399999M | -- | -- | |
XFI | ERC-20 | 1K | -- | -- | |
StableDAI.com | ERC-20 | 552 | -- | -- | |
BGBG | ERC-20 | 427.807 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21247062 | an hour ago | | | 0 | 0.0088649520 | |
| 21247007 | an hour ago | | | 0 | 0.0020895680 | |
| 21246418 | 3 hours ago | | | 0 | 0.00082271001 | |
| 21246346 | 3 hours ago | | | 0 | 0.0020639016 | |
| 21245491 | 6 hours ago | | | 0 | 0.00068152586 | |
| 21244719 | 9 hours ago | | | 0 | 0.00082998632 | |
| 21242349 | 17 hours ago | | | 0 | 0.0041806042 | |
| 21242092 | 18 hours ago | | | 0 | 0.0015298930 | |
| 21242069 | 18 hours ago | | | 0 | 0.0013354065 | |
| 21242009 | 18 hours ago | | | 0 | 0.00053731493 |
ABI
ABI objects
Getter at block 21247354 borrowRatePerBlock() view returns (uint256) supplyRatePerBlock() view returns (uint256) borrowRatePerBlock() view returns (uint256) supplyRatePerBlock() view returns (uint256)
accrualBlockNumber() view returns (uint256)
21247062
admin() view returns (address)
0x6d903f6003cca6255d85cca4d3b5e5146dc33925
borrowIndex() view returns (uint256)
1300943732562458341
comptroller() view returns (address)
0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b
decimals() view returns (uint8)
8
exchangeRateStored() view returns (uint256)
238765963840161369706558796
getCash() view returns (uint256)
14213291405467219126305838
implementation() view returns (address)
0x3363bae2fc44da742df13cd3ee94b6bb868ea376
interestRateModel() view returns (address)
0xfb564da37b41b2f6b6edcc3e56fbf523bd9f2012
isCToken() view returns (bool)
true
name() view returns (string)
Compound Dai
pendingAdmin() view returns (address)
0x0000000000000000000000000000000000000000
reserveFactorMantissa() view returns (uint256)
150000000000000000
symbol() view returns (string)
cDAI
totalBorrows() view returns (uint256)
21226202571739511002886466
totalReserves() view returns (uint256)
8230485374155417008239152
totalSupply() view returns (uint256)
113956814302335044
underlying() view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
NO_ERROR() view returns (uint256)
0
accrualBlockNumber() view returns (uint256)
21247062
admin() view returns (address)
0x6d903f6003cca6255d85cca4d3b5e5146dc33925
borrowIndex() view returns (uint256)
1300943732562458341
comptroller() view returns (address)
0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b
decimals() view returns (uint8)
8
exchangeRateStored() view returns (uint256)
238765963840161369706558796
getCash() view returns (uint256)
14213291405467219126305838
implementation() view returns (address)
0x3363bae2fc44da742df13cd3ee94b6bb868ea376
interestRateModel() view returns (address)
0xfb564da37b41b2f6b6edcc3e56fbf523bd9f2012
isCToken() view returns (bool)
true
name() view returns (string)
Compound Dai
pendingAdmin() view returns (address)
0x0000000000000000000000000000000000000000
protocolSeizeShareMantissa() view returns (uint256)
28000000000000000
reserveFactorMantissa() view returns (uint256)
150000000000000000
symbol() view returns (string)
cDAI
totalBorrows() view returns (uint256)
21226202571739511002886466
totalReserves() view returns (uint256)
8230485374155417008239152
totalSupply() view returns (uint256)
113956814302335044
underlying() view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
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)
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)
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)
totalBorrowsCurrent() returns (uint256)
transfer(address dst, uint256 amount) returns (bool)
transferFrom(address src, address dst, uint256 amount) returns (bool)
_acceptAdmin() returns (uint256)
_addReserves(uint256 addAmount) returns (uint256)
_becomeImplementation(bytes data)
_delegateCompLikeTo(address compLikeDelegatee)
_reduceReserves(uint256 reduceAmount) returns (uint256)
_resignImplementation()
_setComptroller(address newComptroller) returns (uint256)
_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)
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 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)
Failure(uint256 error, uint256 info, uint256 detail)
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)
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)
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()
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()