Compound Dai
Verified contract
Proxy
Active on
Ethereum
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
0x0000…0000
0x0000…0000
0x3d98…cd3b
0x3d98…cd3b
0xfb56…2012
0xfb56…2012
16 additional
variables
Balances ($15,630,287.51)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
DAI | ERC-20 | 15.599086M | $1.002 |
$15,630,284.12 | |
COMP | ERC-20 | 0.04662 | $50.00 |
$2.33 | |
MTV | ERC-20 | 1K | $0.000704 |
$0.7 | |
cDAI | ERC-20 | 14.5 | $0.02384 |
$0.35 | |
HEX | ERC-20 | 1.307 | $0.002359 |
$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) |
---|---|---|---|---|---|---|---|
| 21157188 | 42 minutes ago | | | 0 | 0.0011386395 | |
| 21157180 | 43 minutes ago | | | 0 | 0.016367819 | |
| 21155158 | 7 hours ago | | | 0 | 0.0018224659 | |
| 21152367 | 17 hours ago | | | 0 | 0.00074850671 | |
| 21151928 | 18 hours ago | | | 0 | 0.00042505359 | |
| 21151532 | 20 hours ago | | | 0 | 0.0022279623 | |
| 21151524 | 20 hours ago | | | 0 | 0.0021586526 | |
| 21150905 | a day ago | | | 0 | 0.00077000915 | |
| 21149584 | a day ago | | | 0 | 0.0013803346 | |
| 21147455 | a day ago | | | 0 | 0.00039542476 |
ABI
ABI objects
Getter at block 21157395 borrowRatePerBlock() view returns (uint256) supplyRatePerBlock() view returns (uint256) borrowRatePerBlock() view returns (uint256) supplyRatePerBlock() view returns (uint256)
accrualBlockNumber() view returns (uint256)
21157189
admin() view returns (address)
0x6d903f6003cca6255d85cca4d3b5e5146dc33925
borrowIndex() view returns (uint256)
1298348840362753113
comptroller() view returns (address)
0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b
decimals() view returns (uint8)
8
exchangeRateStored() view returns (uint256)
238441441809281792368226919
getCash() view returns (uint256)
15599085949922177750054824
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)
21571009081335793402296898
totalReserves() view returns (uint256)
8148218100312452625784501
totalSupply() view returns (uint256)
121714902873967549
underlying() view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
NO_ERROR() view returns (uint256)
0
accrualBlockNumber() view returns (uint256)
21157189
admin() view returns (address)
0x6d903f6003cca6255d85cca4d3b5e5146dc33925
borrowIndex() view returns (uint256)
1298348840362753113
comptroller() view returns (address)
0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b
decimals() view returns (uint8)
8
exchangeRateStored() view returns (uint256)
238441441809281792368226919
getCash() view returns (uint256)
15599085949922177750054824
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)
21571009081335793402296898
totalReserves() view returns (uint256)
8148218100312452625784501
totalSupply() view returns (uint256)
121714902873967549
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()