Venus WETH (Core)

Verified contract

Proxy

Active on Ethereum
Deployed by via 0x113677b8 at 18968058
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
14 additional variables
ERC-20
Value $2,384,433.16
0x812897017a573882ffd6628e6d077c71212d1d45fa49f4351ef8a49682c79846
0xda90dd2a34e8cdd99b60e65f896b27e6cd8948fad21b3aaacb649ab162931372
0xc2f0658d4fed54337b92c8e352acdd0b2f2efed8c810023c98dff16412c3c96b
0x16fa9b9d4d1ef91b442eae1131732ccd3b3cddf4e95d28f3ffbf8128f1265026
0x49c31c00cbda8a7b4b6ccc9328f4a94d237a5af543424a65186ba9151487ad91
0x2026e31828b865846811af39492d1dce5527a10f1b049de7f0f57f94854ef7da
0x58e2c19a5ccbc8418e7513391f839c7482e86f473a563fa4f7250b8d3ee5e494
0x98c2a6baea21c6c2e844a732cd23c1b09c2d9a7b584da21ce4cfbecebd3984a7
0x2210de4e0b201fcf8e6c8d8d4a228c91d01b764f6968abf1940dbd2a26c143c0
0x1daec4ba9d977815b1303b9ed4d5ad127453fa09b0112361429c6d9f4b281358

Functions
Getter at block 21216395
NO_ERROR(view returns (uint256)
0
accessControlManager(view returns (address)
0x230058da2d23eb8836ec5db7037ef7250c56e25e
accrualBlockNumber(view returns (uint256)
21193229
badDebt(view returns (uint256)
0
blocksOrSecondsPerYear(view returns (uint256)
2628000
borrowIndex(view returns (uint256)
1026474421676527474
 
borrowRatePerBlock(view returns (uint256)
comptroller(view returns (address)
0x687a01ecf6d3907658f7a7c714749fac32336d1b
decimals(view returns (uint8)
8
exchangeRateStored(view returns (uint256)
10090957913865451162037861465
getBlockNumberOrTimestamp(view returns (uint256)
21216395
getCash(view returns (uint256)
751684413347120451732
interestRateModel(view returns (address)
0x694536cbce185f8549ca56cdfee4531593762686
isTimeBased(view returns (bool)
false
isVToken(pure returns (bool)
true
name(view returns (string)
Venus WETH (Core)
owner(view returns (address)
0x285960c5b22fd66a736c7136967a3eb15e93cc67
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
protocolSeizeShareMantissa(view returns (uint256)
50000000000000000
protocolShareReserve(view returns (address)
0x8c8c8530464f7d95552a11ec31adbd4dc4ac4d3e
reduceReservesBlockDelta(view returns (uint256)
7200
reduceReservesBlockNumber(view returns (uint256)
21190027
reserveFactorMantissa(view returns (uint256)
200000000000000000
shortfall(view returns (address)
0x0000000000000000000000000000000000000001
 
supplyRatePerBlock(view returns (uint256)
symbol(view returns (string)
vWETH_Core
totalBorrows(view returns (uint256)
432713054299256125340
totalReserves(view returns (uint256)
3467788231805320
totalSupply(view returns (uint256)
117371810483
underlying(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address ownerview returns (uint256)
borrowBalanceStored(address accountview returns (uint256)
getAccountSnapshot(address accountview returns (uint256 erroruint256 vTokenBalanceuint256 borrowBalanceuint256 exchangeRate)
State-modifying
acceptOwnership(
accrueInterest(returns (uint256)
addReserves(uint256 addAmount
approve(address spenderuint256 amountreturns (bool)
badDebtRecovered(uint256 recoveredAmount_
balanceOfUnderlying(address ownerreturns (uint256)
borrow(uint256 borrowAmountreturns (uint256)
borrowBalanceCurrent(address accountreturns (uint256)
borrowBehalf(address borroweruint256 borrowAmountreturns (uint256)
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
exchangeRateCurrent(returns (uint256)
forceLiquidateBorrow(address liquidatoraddress borroweruint256 repayAmountaddress vTokenCollateralbool skipLiquidityCheck
healBorrow(address payeraddress borroweruint256 repayAmount
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address underlying_address comptroller_address interestRateModel_uint256 initialExchangeRateMantissa_string name_string symbol_uint8 decimals_address admin_address accessControlManager_struct VTokenInterfaceRiskManagementInit riskManagementuint256 reserveFactorMantissa_
liquidateBorrow(address borroweruint256 repayAmountaddress vTokenCollateralreturns (uint256)
mint(uint256 mintAmountreturns (uint256)
mintBehalf(address minteruint256 mintAmountreturns (uint256)
redeem(uint256 redeemTokensreturns (uint256)
redeemBehalf(address redeemeruint256 redeemTokensreturns (uint256)
redeemUnderlying(uint256 redeemAmountreturns (uint256)
redeemUnderlyingBehalf(address redeemeruint256 redeemAmountreturns (uint256)
reduceReserves(uint256 reduceAmount
renounceOwnership(
repayBorrow(uint256 repayAmountreturns (uint256)
repayBorrowBehalf(address borroweruint256 repayAmountreturns (uint256)
seize(address liquidatoraddress borroweruint256 seizeTokens
setAccessControlManager(address accessControlManager_
setInterestRateModel(address newInterestRateModel
setProtocolSeizeShare(uint256 newProtocolSeizeShareMantissa_
setProtocolShareReserve(address protocolShareReserve_
setReduceReservesBlockDelta(uint256 _newReduceReservesBlockOrTimestampDelta
setReserveFactor(uint256 newReserveFactorMantissa
setShortfallContract(address shortfall_
sweepToken(address token
totalBorrowsCurrent(returns (uint256)
transfer(address dstuint256 amountreturns (bool)
transferFrom(address srcaddress dstuint256 amountreturns (bool)
transferOwnership(address newOwner
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
AccrueInterest(uint256 cashPrioruint256 interestAccumulateduint256 borrowIndexuint256 totalBorrows
Approval(address indexed owneraddress indexed spenderuint256 amount
BadDebtIncreased(address indexed borroweruint256 badDebtDeltauint256 badDebtOlduint256 badDebtNew
BadDebtRecovered(uint256 badDebtOlduint256 badDebtNew
Borrow(address indexed borroweruint256 borrowAmountuint256 accountBorrowsuint256 totalBorrows
HealBorrow(address indexed payeraddress indexed borroweruint256 repayAmount
Initialized(uint8 version
LiquidateBorrow(address indexed liquidatoraddress indexed borroweruint256 repayAmountaddress indexed vTokenCollateraluint256 seizeTokens
Mint(address indexed minteruint256 mintAmountuint256 mintTokensuint256 accountBalance
NewAccessControlManager(address oldAccessControlManageraddress newAccessControlManager
NewComptroller(address indexed oldComptrolleraddress indexed newComptroller
NewMarketInterestRateModel(address indexed oldInterestRateModeladdress indexed newInterestRateModel
NewProtocolSeizeShare(uint256 oldProtocolSeizeShareMantissauint256 newProtocolSeizeShareMantissa
NewProtocolShareReserve(address indexed oldProtocolShareReserveaddress indexed newProtocolShareReserve
NewReduceReservesBlockDelta(uint256 oldReduceReservesBlockOrTimestampDeltauint256 newReduceReservesBlockOrTimestampDelta
NewReserveFactor(uint256 oldReserveFactorMantissauint256 newReserveFactorMantissa
NewShortfallContract(address indexed oldShortfalladdress indexed newShortfall
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ProtocolSeize(address indexed fromaddress indexed touint256 amount
Redeem(address indexed redeemeruint256 redeemAmountuint256 redeemTokensuint256 accountBalance
RepayBorrow(address indexed payeraddress indexed borroweruint256 repayAmountuint256 accountBorrowsuint256 totalBorrows
ReservesAdded(address indexed benefactoruint256 addAmountuint256 newTotalReserves
SpreadReservesReduced(address indexed protocolShareReserveuint256 reduceAmountuint256 newTotalReserves
SweepToken(address indexed token
Transfer(address indexed fromaddress indexed touint256 amount
Constructor
constructor(address beaconbytes data
Fallback and receive
fallback(
receive(
Errors
AddReservesFactorFreshCheck(uint256 actualAddAmount
BorrowCashNotAvailable(
BorrowFreshnessCheck(
DelegateNotApproved(
ForceLiquidateBorrowUnauthorized(
HealBorrowUnauthorized(
InvalidBlocksPerYear(
InvalidTimeBasedConfiguration(
LiquidateAccrueCollateralInterestFailed(uint256 errorCode
LiquidateCloseAmountIsUintMax(
LiquidateCloseAmountIsZero(
LiquidateCollateralFreshnessCheck(
LiquidateFreshnessCheck(
LiquidateLiquidatorIsBorrower(
LiquidateSeizeLiquidatorIsBorrower(
MintFreshnessCheck(
ProtocolSeizeShareTooBig(
RedeemFreshnessCheck(
RedeemTransferOutNotPossible(
ReduceReservesCashNotAvailable(
ReduceReservesCashValidation(
ReduceReservesFreshCheck(
RepayBorrowFreshnessCheck(
SetInterestRateModelFreshCheck(
SetReserveFactorBoundsCheck(
SetReserveFactorFreshCheck(
TransferNotAllowed(
Unauthorized(address senderaddress calledContractstring methodSignature
ZeroAddressNotAllowed(