Compound WETH
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
68
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "Compound WETH"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Compound WETH"
ABI
ABI objects
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 account) view returns (uint256)
borrowBalanceOf(address account) view returns (uint256)
getAssetInfo(uint8 i) view returns (struct CometCoreAssetInfo)
getAssetInfoByAddress(address asset) view returns (struct CometCoreAssetInfo)
getBorrowRate(uint256 utilization) view returns (uint64)
getCollateralReserves(address asset) view returns (uint256)
getPrice(address priceFeed) view returns (uint256)
getSupplyRate(uint256 utilization) view returns (uint64)
hasPermission(address owner, address manager) view returns (bool)
isAllowed(address, address) view returns (bool)
isBorrowCollateralized(address account) view returns (bool)
isLiquidatable(address account) view returns (bool)
liquidatorPoints(address) view returns (uint32 numAbsorbs, uint64 numAbsorbed, uint128 approxSpend, uint32 _reserved)
quoteCollateral(address asset, uint256 baseAmount) view returns (uint256)
totalsCollateral(address) view returns (uint128 totalSupplyAsset, uint128 _reserved)
userBasic(address) view returns (int104 principal, uint64 baseTrackingIndex, uint64 baseTrackingAccrued, uint16 assetsIn, uint8 _reserved)
userCollateral(address, address) view returns (uint128 balance, uint128 _reserved)
userNonce(address) view returns (uint256)
State-modifying
Events absorb(address absorber, address[] accounts)
accrueAccount(address account)
approveThis(address manager, address asset, uint256 amount)
buyCollateral(address asset, uint256 minAmount, uint256 baseAmount, address recipient)
initializeStorage()
pause(bool supplyPaused, bool transferPaused, bool withdrawPaused, bool absorbPaused, bool buyPaused)
supply(address asset, uint256 amount)
supplyFrom(address from, address dst, address asset, uint256 amount)
supplyTo(address dst, address asset, uint256 amount)
transfer(address dst, uint256 amount) returns (bool)
transferAsset(address dst, address asset, uint256 amount)
transferAssetFrom(address src, address dst, address asset, uint256 amount)
transferFrom(address src, address dst, uint256 amount) returns (bool)
withdraw(address asset, uint256 amount)
withdrawFrom(address src, address to, address asset, uint256 amount)
withdrawReserves(address to, uint256 amount)
withdrawTo(address to, address asset, uint256 amount)
AbsorbCollateral(address indexed absorber, address indexed borrower, address indexed asset, uint256 collateralAbsorbed, uint256 usdValue)
AbsorbDebt(address indexed absorber, address indexed borrower, uint256 basePaidOut, uint256 usdValue)
BuyCollateral(address indexed buyer, address indexed asset, uint256 baseAmount, uint256 collateralAmount)
PauseAction(bool supplyPaused, bool transferPaused, bool withdrawPaused, bool absorbPaused, bool buyPaused)
Supply(address indexed from, address indexed dst, uint256 amount)
SupplyCollateral(address indexed from, address indexed dst, address indexed asset, uint256 amount)
Transfer(address indexed from, address indexed to, uint256 amount)
TransferCollateral(address indexed from, address indexed to, address indexed asset, uint256 amount)
Withdraw(address indexed src, address indexed to, uint256 amount)
WithdrawCollateral(address indexed src, address indexed to, address indexed asset, uint256 amount)
WithdrawReserves(address indexed to, uint256 amount)
constructor(struct CometConfigurationConfiguration config)
fallback()
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()