Cream Wrapped BTC

Verified contract

Proxy

Active on Ethereum with 747 txns
Deployed by via 0x988d0d07 at 11814974
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
21 additional variables
ERC-20
--
0xc7036bacc2594c0714b9823cb4be575cc4c8c5f791d708f33ac2840f93d8eb8b
0x3c92946b52680c7a78a28694a74038828af4158b36935dddcc075c0628d9c7b3
0x6e9d75f132fbccab6dae8a8336fd107df9d2876ae80d352075174c2be81960d8
0x6b1d006931ba5d37438b5b52949cabbdb8b6ac07160f2f7ca10e04256813c856
0xe492ec487e77dd16fe90267478d0b744355ba3cfb9a53d4cddbe1c8eac41075a
0xcfed3130edf50fca790b6432bb800be3b43a7f47a17aeba25d81321f8a761dc9
0xf7bc2865fbfeaddfbe79b8f41dbeca43d661d55dab1aec293a9c965c9fe186aa
0x7cfe9a3f2719aa69ce1feb93764e96f8397d1aaf37904d2b7c9415dd27f06d2c
0x9897eeb524ced14faf205c122a96c6f46b59d0725cf5ba804b6a91a929bbaf36
0xfc2f508a3e11b9b78d8b384e9ac55fe670bb72c1aaf9840b11afb264a02c7497

Functions
Getter at block 21290884
accrualBlockNumber(view returns (uint256)
13501154
admin(view returns (address)
0x3fae5e5722c51cdb5b0afd8c7082e8a6af336ee8
borrowIndex(view returns (uint256)
1058065226161344708
 
borrowRatePerBlock(view returns (uint256)
comptroller(view returns (address)
0x3d5bc3c8d13dcb8bf317092d84783c2697ae9258
decimals(view returns (uint8)
8
exchangeRateStored(view returns (uint256)
20325587421434999
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 Wrapped BTC
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
reserveFactorMantissa(view returns (uint256)
250000000000000000
 
supplyRatePerBlock(view returns (uint256)
symbol(view returns (string)
crWBTC
totalBorrows(view returns (uint256)
6530279996
totalReserves(view returns (uint256)
24377755
totalSupply(view returns (uint256)
320084340300
underlying(view returns (address)
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
accrualBlockNumber(view returns (uint256)
13501154
admin(view returns (address)
0x3fae5e5722c51cdb5b0afd8c7082e8a6af336ee8
borrowIndex(view returns (uint256)
1058065226161344708
 
borrowRatePerBlock(view returns (uint256)
collateralCap(view returns (uint256)
0
comptroller(view returns (address)
0x3d5bc3c8d13dcb8bf317092d84783c2697ae9258
decimals(view returns (uint8)
8
exchangeRateStored(view returns (uint256)
20325587421434999
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 Wrapped BTC
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
reserveFactorMantissa(view returns (uint256)
250000000000000000
 
supplyRatePerBlock(view returns (uint256)
symbol(view returns (string)
crWBTC
totalBorrows(view returns (uint256)
6530279996
totalCollateralTokens(view returns (uint256)
143180146927
totalReserves(view returns (uint256)
24377755
totalSupply(view returns (uint256)
320084340300
underlying(view returns (address)
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
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.