Cream YFI

Verified contract

Proxy

Active on Ethereum with 7,114 txns
Deployed by via 0xd636acc1 at 10580230
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
21 additional variables
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xf470e828c3ae4ba63b85d9673c641d4d29059b894b6789ee82d68f80fad9a11f
0xe0383b974a70bbba91c5dc506daa5720187bd58eb08aa64ce1006b489d2ed108
0x81a375269aaf35889218dc5fa0ff6c5e0f1a46a0113b42f4c1976cec5d441a3c
0x06ed6f9492e7edf0807b183afd4254e3ddb23b1087b819f26d9b9ba0a4741b0b
0xd5b9c082cf03342434eb483749ad439a86c38247a5efa7267159978b78a64587
From
0x394816faa864053c4c09c30b1485c23ef5a811eaf86978ae958292dda34cf768
0x7a47649818afe8e091d09c86d7631d18b1219679e8c603f76a671d2bc5e0bf0d
0x1c799270c39dd87610ae13c74140a2305b70d603c65c08b5883f2b00110e7250
0x0fbf8d4ad1eb30c09617b7fdf605f4c21d47c317c78c46e0296b1b4fbb7328e2
0x4136e8e991cd78ce81c2caa2bb442a500e8e68876dd27eaa58d06629ec8daffd

Functions
Getter at block 21267127
accrualBlockNumber(view returns (uint256)
13500897
admin(view returns (address)
0x3fae5e5722c51cdb5b0afd8c7082e8a6af336ee8
borrowIndex(view returns (uint256)
1082042894938550198
 
borrowRatePerBlock(view returns (uint256)
comptroller(view returns (address)
0x3d5bc3c8d13dcb8bf317092d84783c2697ae9258
decimals(view returns (uint8)
8
exchangeRateStored(view returns (uint256)
202890588083289125427406942
getCash(view returns (uint256)
0
implementation(view returns (address)
0x3c710b981f5ef28da1807ce7ed3f2a28580e0754
interestRateModel(view returns (address)
0x73d06034ae98e2af4ea4e0fa0320cdef1561f493
isCToken(view returns (bool)
true
name(view returns (string)
Cream YFI
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
reserveFactorMantissa(view returns (uint256)
400000000000000000
 
supplyRatePerBlock(view returns (uint256)
symbol(view returns (string)
crYFI
totalBorrows(view returns (uint256)
36261975480765858395
totalReserves(view returns (uint256)
101765006083957018
totalSupply(view returns (uint256)
178225174545
underlying(view returns (address)
0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e
accrualBlockNumber(view returns (uint256)
13500897
admin(view returns (address)
0x3fae5e5722c51cdb5b0afd8c7082e8a6af336ee8
borrowIndex(view returns (uint256)
1082042894938550198
 
borrowRatePerBlock(view returns (uint256)
collateralCap(view returns (uint256)
0
comptroller(view returns (address)
0x3d5bc3c8d13dcb8bf317092d84783c2697ae9258
decimals(view returns (uint8)
8
exchangeRateStored(view returns (uint256)
202890588083289125427406942
flashFeeBips(view returns (uint256)
3
getCash(view returns (uint256)
0
implementation(view returns (address)
0x3c710b981f5ef28da1807ce7ed3f2a28580e0754
interestRateModel(view returns (address)
0x73d06034ae98e2af4ea4e0fa0320cdef1561f493
internalCash(view returns (uint256)
0
isCToken(view returns (bool)
true
maxFlashLoan(view returns (uint256)
0
name(view returns (string)
Cream YFI
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
reserveFactorMantissa(view returns (uint256)
400000000000000000
 
supplyRatePerBlock(view returns (uint256)
symbol(view returns (string)
crYFI
totalBorrows(view returns (uint256)
36261975480765858395
totalCollateralTokens(view returns (uint256)
152284063972
totalReserves(view returns (uint256)
101765006083957018
totalSupply(view returns (uint256)
178225174545
underlying(view returns (address)
0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e
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)
accountCollateralTokens(addressview returns (uint256)
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address ownerview returns (uint256)
borrowBalanceStored(address accountview returns (uint256)
estimateBorrowRatePerBlockAfterChange(uint256 changebool repayview returns (uint256)
estimateSupplyRatePerBlockAfterChange(uint256 changebool repayview returns (uint256)
flashFee(uint256 amountview returns (uint256)
getAccountSnapshot(address accountview returns (uint256uint256uint256uint256)
isCollateralTokenInit(addressview returns (bool)
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
_reduceReserves(uint256 reduceAmountreturns (uint256)
_resignImplementation(
_setCollateralCap(uint256 newCollateralCap
_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)
flashLoan(address receiveraddress initiatoruint256 amountbytes datareturns (bool)
gulp(
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)
registerCollateral(address accountreturns (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)
unregisterCollateral(address account
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
Failure(uint256 erroruint256 infouint256 detail
Flashloan(address indexed receiveruint256 amountuint256 totalFeeuint256 reservesFee
LiquidateBorrow(address liquidatoraddress borroweruint256 repayAmountaddress cTokenCollateraluint256 seizeTokens
Mint(address minteruint256 mintAmountuint256 mintTokens
NewAdmin(address oldAdminaddress newAdmin
NewCollateralCap(address tokenuint256 newCap
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
UserCollateralChanged(address accountuint256 newCollateralTokens
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

This contract contains no error objects.