Compound Dai

Verified contract

Proxy

Active on Ethereum with 224,137 txns
Deployed by via 0x090cc827 at 8983575
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
16 additional variables
ERC-20
Value $14,200,556.3
ERC-20
Value $2.85
ERC-20
Value $1.05
ERC-20
Value $0.35
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x7e8148c2da09e4249457b0b07e517a47261b4b39c1f76095a5896643de8ec0c2
0xd526985c116fbaef28b3a31323e3e24269886dda2782bc8e74e939de59a73024
0x861f7958730ef47af55432f455ea6316d0c547a272b487c2372584d6be577d84
0x318d022e807f534993b7923acec1afa429d1e2e3cac17879c2030b0bd2621a01
0x54c61a30e37171877b12ea2caee5e37ad024e3b9b5c65456fe77920ecdcb27a0
0x61ad59734ac33e13d4200cb4f4c73826bdf141ddeb756794e741e896438e6716
0x01676a061102656c0d8f4c4e1508268e7a3eba9aa616a1969e8d4aa7a943c7c8
0xccb2173b7ec11d63fc61d4c8a38985b4777329f9173ec57992cdd9beaa9d8731
0xe69492f23c8a5739608baf420a5f15dae58a7be25a320790264f0b21c27aa158
0x4d39502ef880ebcd0cf4b7bae8cd40de6b75935a77918e5ec87f0a22b0884145

Functions
Getter at block 21247354
accrualBlockNumber(view returns (uint256)
21247062
admin(view returns (address)
0x6d903f6003cca6255d85cca4d3b5e5146dc33925
borrowIndex(view returns (uint256)
1300943732562458341
 
borrowRatePerBlock(view returns (uint256)
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
 
supplyRatePerBlock(view returns (uint256)
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
 
borrowRatePerBlock(view returns (uint256)
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
 
supplyRatePerBlock(view returns (uint256)
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 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)
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
Failure(uint256 erroruint256 infouint256 detail
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(