Compound WETH

Verified contract

Proxy

Active on Base with 211,872 txns
Deployed by via 0x02aa1e45 at 2495303
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $6,119,116.87
ERC-20
Value $5,026,790.06
ERC-20
Value $3,467,040.71
ERC-20
Value $1,226,614.26
ERC-20
Value $1,091,338.65
ERC-20
Value $107,379.88
ERC-20
Value $3,730.98
ERC-20
Value $3,008
ERC-20
Value $0.11
ERC-20
Value $0
0x16b6c8a205894e446a363b113e272fc4501e8d2e4378a45fd581ca5ce4d7cd3d
0x1c1bfb04784819d35a18664b744dbfbae5c40600805353ca7deca3e9803008d1
0xb380147e9309cb35cc80a2c5c58357d8696ecaed41f7e82e8ec3d195a453919d
0xebf699cbc6aa480597a59d11ff79f7f3b6394f9afaf0109e6ec0b0fe77c126d1
0xda0ecd1d4a69b03d1f2e5bf0f4ae15e682f1f1bb41940a4a38a08b61bdff62a9
0xd1eb28a7587cd756ccea281f86de4e532f9cb65722f9045dc3b843e774dea0b6
0x20fd18e8a36e90aa5f48181a03e3115ee665a4ddf8b9ba0351052ca9951471e4
0x593aa7499f2d3bac218df91636b36840c373e6936af81b9073026704c36a01bf
0x8c58f0acbfc7e11eed643574c5672a386016939a7a5c56985d0268ad93eb787b
0xac63dfcaf36a44696b589f0ecd153cbaa89fc89185d39ade70161102c6deb872

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)
8975735997327612634
getUtilization(view returns (uint256)
910268676272740975
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)
3642910443678552209777
totalSupply(view returns (uint256)
4002016527938108768270
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
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
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
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
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(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
fallback(
receive(
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(