Compound WETH

Verified contract

Proxy

Active on Base with 205,906 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 $4,753,302.12
ERC-20
Value $2,877,742.49
ERC-20
Value $573,585.01
ERC-20
Value $306,792.95
ERC-20
Value $81,503.37
ERC-20
Value $20,652.68
ERC-20
Value $7,651.19
ERC-20
Value $409.09
ERC-20
Value $0.02
ERC-20
Value $0
0x47e7f7b367b5deeb109e8387442564de599ed32168b3844d98f1d41f50e31834
0x365589709627dd4260399e921b626a2a994d3bd5e125316420641599d87ffec8
0x3e628aeb01cc169d148006bb7e4f7a1c38d7bd78db6092424dfdcd50cdeb495d
0x0fcf09dda81cfd685ae77d5fceaf6f2cd587e956675c18d1515f921778aabe4e
0x83bfb19dd4bcb0fb3891445a1dee59b7a2c5fa130ae37daee9e32da161b0216b
0x7accf868d5b938b06395003bfba909d5a59afda1bfc8eb540be237873e06ce1e
0x8ac09da2319b9c415f38ca8b8751ae8573db5066c98d2e8374ab4d3f180599d5
0x4f053dc6124c94e2ea0b7af6d114485c1226cb2e7ddab6e24b9f4031c3a3f103
0xfdc97196c1b8074712ff6ee3e737ff76de96f195ad72fc6d75fe593491ed19e5
0x499f47bf44b872eb22ef56a55cefcf7860c7b639df492d1aba18fe562b172d29

Functions
Getter at block 21743677
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)
23148148148
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)
7373549796179296068
getUtilization(view returns (uint256)
919751929999195016
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)
2375078674185185027554
totalSupply(view returns (uint256)
2582303513235661814480
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(