kDai Stablecoin

Verified contract

Active on Ethereum with 406 txns
Deployed by via 0xde539031 at 9927272
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
0xa945579d6d3a92b5e2bc5e5eed5e8771e1a28de3cd11c04cecf93671f80c98e7
0xa1c869ec3247be8d788c7c3450607f7b843e599ff53c326be8aafe9560ed6f90
0x618b4db92a68e10ac9459908c0a5043042b277c776f21b5de7bd9fa4d42074b5
0x10cde17760967f44d8aa6655586877c46c1b82aed9f479148cec7fd0ee0ed1d3
0x2196895fbf5c060d54ce5a6cb6750152e2169d1c791f0aebd955f042fd70c21f
0xf95f764c339cbe26942555a42ea3e567ca2d33f336657cc955fcfdf59437b90d
0x25512849fa07e02cbdce0cd9cbfe3620643a887bff49f68ae847622302c0c72f
0xfe6c54649d0d19279aca362bc5c752b9c991104129c1fabffd791cdb18cc7d5a
0x0083fe70169d5a01c363cb7b9591a6f9d81f4af88cba6ea8e8a7e43ea72d1416
0x14dfa9682b9af841f0a6b3d1b91c42a427e7870a2ef0719e37537c9d9c2d8081

Functions
Getter at block 21219408
accrualBlockNumber(view returns (uint256)
21161395
admin(view returns (address)
0xa13b3e79f2ed49bc05af2274dc509d73a75cafe2
borrowIndex(view returns (uint256)
1548154761350440951
borrowRatePerBlock(view returns (uint256)
47564687974
comptroller(view returns (address)
0x959fb43ef08f415da0aea39beef92d96f41e41b3
decimals(view returns (uint8)
8
exchangeRateStored(view returns (uint256)
290233407885522138328630819
getCash(view returns (uint256)
1
interestRateModel(view returns (address)
0xbb69477638e962275c89caa8f03da0941675177d
isCToken(view returns (bool)
true
name(view returns (string)
kDai Stablecoin
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
reserveFactorMantissa(view returns (uint256)
0
supplyRatePerBlock(view returns (uint256)
47564687973
symbol(view returns (string)
kDAI
totalBorrows(view returns (uint256)
43182554812779613815283
totalReserves(view returns (uint256)
0
totalSupply(view returns (uint256)
148785610613828
underlying(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
Read-only
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)
_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)
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
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_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.