Compound WETH

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x29266073 at 22017025
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "Compound WETH"

No transactions found for "Compound WETH"


Functions
Getter at block 22741888
baseBorrowMin(view returns (uint256)
1000000000000
baseMinForRewards(view returns (uint256)
100000000000000000000
baseScale(view returns (uint256)
1000000000000000000
baseToken(view returns (address)
0x4200000000000000000000000000000000000006
baseTokenPriceFeed(view returns (address)
0x9f485610e26b9c0140439f88dc0c7742903bd1cf
baseTrackingBorrowSpeed(view returns (uint256)
11574074074
baseTrackingSupplySpeed(view returns (uint256)
69444444444
borrowKink(view returns (uint256)
900000000000000000
borrowPerSecondInterestRateBase(view returns (uint256)
317097919
borrowPerSecondInterestRateSlopeHigh(view returns (uint256)
47564687975
borrowPerSecondInterestRateSlopeLow(view returns (uint256)
459791983
decimals(view returns (uint8)
18
extensionDelegate(view returns (address)
0x88bb8c109640778d3fb1074bb10a66e31f2c9c17
getReserves(view returns (int256)
0
getUtilization(view returns (uint256)
0
governor(view returns (address)
0xcc3e7c85bb0ee4f09380e041fee95a0caedd4a02
isAbsorbPaused(view returns (bool)
false
isBuyPaused(view returns (bool)
false
isSupplyPaused(view returns (bool)
false
isTransferPaused(view returns (bool)
false
isWithdrawPaused(view returns (bool)
false
numAssets(view returns (uint8)
7
pauseGuardian(view returns (address)
0x3cb4653f3b45f448d9100b118b75a1503281d2ee
storeFrontPriceFactor(view returns (uint256)
700000000000000000
supplyKink(view returns (uint256)
900000000000000000
supplyPerSecondInterestRateBase(view returns (uint256)
0
supplyPerSecondInterestRateSlopeHigh(view returns (uint256)
38051750380
supplyPerSecondInterestRateSlopeLow(view returns (uint256)
523211567
targetReserves(view returns (uint256)
5000000000000000000000
totalBorrow(view returns (uint256)
0
totalSupply(view returns (uint256)
0
trackingIndexScale(view returns (uint256)
1000000000000000
Read-only
balanceOf(address accountview returns (uint256)
borrowBalanceOf(address accountview returns (uint256)
getAssetInfo(uint8 iview returns (struct CometCoreAssetInfo)
getAssetInfoByAddress(address assetview returns (struct CometCoreAssetInfo)
getBorrowRate(uint256 utilizationview returns (uint64)
getCollateralReserves(address assetview returns (uint256)
getPrice(address priceFeedview returns (uint256)
getSupplyRate(uint256 utilizationview returns (uint64)
hasPermission(address owneraddress managerview returns (bool)
isAllowed(addressaddressview returns (bool)
isBorrowCollateralized(address accountview returns (bool)
isLiquidatable(address accountview returns (bool)
liquidatorPoints(addressview returns (uint32 numAbsorbsuint64 numAbsorbeduint128 approxSpenduint32 _reserved)
quoteCollateral(address assetuint256 baseAmountview returns (uint256)
totalsCollateral(addressview returns (uint128 totalSupplyAssetuint128 _reserved)
userBasic(addressview returns (int104 principaluint64 baseTrackingIndexuint64 baseTrackingAccrueduint16 assetsInuint8 _reserved)
userCollateral(addressaddressview returns (uint128 balanceuint128 _reserved)
userNonce(addressview returns (uint256)
State-modifying
absorb(address absorberaddress[] accounts
accrueAccount(address account
approveThis(address manageraddress assetuint256 amount
buyCollateral(address assetuint256 minAmountuint256 baseAmountaddress recipient
initializeStorage(
pause(bool supplyPausedbool transferPausedbool withdrawPausedbool absorbPausedbool buyPaused
supply(address assetuint256 amount
supplyFrom(address fromaddress dstaddress assetuint256 amount
supplyTo(address dstaddress assetuint256 amount
transfer(address dstuint256 amountreturns (bool)
transferAsset(address dstaddress assetuint256 amount
transferAssetFrom(address srcaddress dstaddress assetuint256 amount
transferFrom(address srcaddress dstuint256 amountreturns (bool)
withdraw(address assetuint256 amount
withdrawFrom(address srcaddress toaddress assetuint256 amount
withdrawReserves(address touint256 amount
withdrawTo(address toaddress assetuint256 amount
Events
AbsorbCollateral(address indexed absorberaddress indexed borroweraddress indexed assetuint256 collateralAbsorbeduint256 usdValue
AbsorbDebt(address indexed absorberaddress indexed borroweruint256 basePaidOutuint256 usdValue
BuyCollateral(address indexed buyeraddress indexed assetuint256 baseAmountuint256 collateralAmount
PauseAction(bool supplyPausedbool transferPausedbool withdrawPausedbool absorbPausedbool buyPaused
Supply(address indexed fromaddress indexed dstuint256 amount
SupplyCollateral(address indexed fromaddress indexed dstaddress indexed assetuint256 amount
Transfer(address indexed fromaddress indexed touint256 amount
TransferCollateral(address indexed fromaddress indexed toaddress indexed assetuint256 amount
Withdraw(address indexed srcaddress indexed touint256 amount
WithdrawCollateral(address indexed srcaddress indexed toaddress indexed assetuint256 amount
WithdrawReserves(address indexed touint256 amount
Constructor
constructor(struct CometConfigurationConfiguration config
Fallback and receive
fallback(
Errors
Absurd(
AlreadyInitialized(
BadAsset(
BadDecimals(
BadDiscount(
BadMinimum(
BadPrice(
BorrowCFTooLarge(
BorrowTooSmall(
InsufficientReserves(
InvalidInt104(
InvalidInt256(
InvalidUInt104(
InvalidUInt128(
InvalidUInt64(
LiquidateCFTooLarge(
NegativeNumber(
NoSelfTransfer(
NotCollateralized(
NotForSale(
NotLiquidatable(
Paused(
SupplyCapExceeded(
TimestampTooLarge(
TooManyAssets(
TooMuchSlippage(
TransferInFailed(
TransferOutFailed(
Unauthorized(