VToken
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
12
Slot
XX
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
10 additional
variables
Balances ($0.00)
No balances found for "VToken"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "VToken"
ABI
ABI objects
Getter at block 21216395 borrowRatePerBlock() view returns (uint256) getCash() view returns (uint256) supplyRatePerBlock() view returns (uint256)
NO_ERROR() view returns (uint256)
0
accessControlManager() view returns (address)
0x0000000000000000000000000000000000000000
accrualBlockNumber() view returns (uint256)
0
badDebt() view returns (uint256)
0
blocksOrSecondsPerYear() view returns (uint256)
2628000
borrowIndex() view returns (uint256)
0
comptroller() view returns (address)
0x0000000000000000000000000000000000000000
decimals() view returns (uint8)
0
exchangeRateStored() view returns (uint256)
0
getBlockNumberOrTimestamp() view returns (uint256)
21216395
interestRateModel() view returns (address)
0x0000000000000000000000000000000000000000
isTimeBased() view returns (bool)
false
isVToken() pure returns (bool)
true
name() view returns (string)
owner() view returns (address)
0x0000000000000000000000000000000000000000
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
protocolSeizeShareMantissa() view returns (uint256)
0
protocolShareReserve() view returns (address)
0x0000000000000000000000000000000000000000
reduceReservesBlockDelta() view returns (uint256)
0
reduceReservesBlockNumber() view returns (uint256)
0
reserveFactorMantissa() view returns (uint256)
0
shortfall() view returns (address)
0x0000000000000000000000000000000000000000
symbol() view returns (string)
totalBorrows() view returns (uint256)
0
totalReserves() view returns (uint256)
0
totalSupply() view returns (uint256)
0
underlying() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address owner) view returns (uint256)
borrowBalanceStored(address account) view returns (uint256)
getAccountSnapshot(address account) view returns (uint256 error, uint256 vTokenBalance, uint256 borrowBalance, uint256 exchangeRate)
State-modifying
Events acceptOwnership()
accrueInterest() returns (uint256)
addReserves(uint256 addAmount)
approve(address spender, uint256 amount) returns (bool)
badDebtRecovered(uint256 recoveredAmount_)
balanceOfUnderlying(address owner) returns (uint256)
borrow(uint256 borrowAmount) returns (uint256)
borrowBalanceCurrent(address account) returns (uint256)
borrowBehalf(address borrower, uint256 borrowAmount) returns (uint256)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
exchangeRateCurrent() returns (uint256)
forceLiquidateBorrow(address liquidator, address borrower, uint256 repayAmount, address vTokenCollateral, bool skipLiquidityCheck)
healBorrow(address payer, address borrower, uint256 repayAmount)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
initialize(address underlying_, address comptroller_, address interestRateModel_, uint256 initialExchangeRateMantissa_, string name_, string symbol_, uint8 decimals_, address admin_, address accessControlManager_, struct VTokenInterfaceRiskManagementInit riskManagement, uint256 reserveFactorMantissa_)
liquidateBorrow(address borrower, uint256 repayAmount, address vTokenCollateral) returns (uint256)
mint(uint256 mintAmount) returns (uint256)
mintBehalf(address minter, uint256 mintAmount) returns (uint256)
redeem(uint256 redeemTokens) returns (uint256)
redeemBehalf(address redeemer, uint256 redeemTokens) returns (uint256)
redeemUnderlying(uint256 redeemAmount) returns (uint256)
redeemUnderlyingBehalf(address redeemer, uint256 redeemAmount) returns (uint256)
reduceReserves(uint256 reduceAmount)
renounceOwnership()
repayBorrow(uint256 repayAmount) returns (uint256)
repayBorrowBehalf(address borrower, uint256 repayAmount) returns (uint256)
seize(address liquidator, address borrower, uint256 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 dst, uint256 amount) returns (bool)
transferFrom(address src, address dst, uint256 amount) returns (bool)
transferOwnership(address newOwner)
AccrueInterest(uint256 cashPrior, uint256 interestAccumulated, uint256 borrowIndex, uint256 totalBorrows)
Approval(address indexed owner, address indexed spender, uint256 amount)
BadDebtIncreased(address indexed borrower, uint256 badDebtDelta, uint256 badDebtOld, uint256 badDebtNew)
BadDebtRecovered(uint256 badDebtOld, uint256 badDebtNew)
Borrow(address indexed borrower, uint256 borrowAmount, uint256 accountBorrows, uint256 totalBorrows)
HealBorrow(address indexed payer, address indexed borrower, uint256 repayAmount)
Initialized(uint8 version)
LiquidateBorrow(address indexed liquidator, address indexed borrower, uint256 repayAmount, address indexed vTokenCollateral, uint256 seizeTokens)
Mint(address indexed minter, uint256 mintAmount, uint256 mintTokens, uint256 accountBalance)
NewAccessControlManager(address oldAccessControlManager, address newAccessControlManager)
NewComptroller(address indexed oldComptroller, address indexed newComptroller)
NewMarketInterestRateModel(address indexed oldInterestRateModel, address indexed newInterestRateModel)
NewProtocolSeizeShare(uint256 oldProtocolSeizeShareMantissa, uint256 newProtocolSeizeShareMantissa)
NewProtocolShareReserve(address indexed oldProtocolShareReserve, address indexed newProtocolShareReserve)
NewReduceReservesBlockDelta(uint256 oldReduceReservesBlockOrTimestampDelta, uint256 newReduceReservesBlockOrTimestampDelta)
NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)
NewShortfallContract(address indexed oldShortfall, address indexed newShortfall)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
ProtocolSeize(address indexed from, address indexed to, uint256 amount)
Redeem(address indexed redeemer, uint256 redeemAmount, uint256 redeemTokens, uint256 accountBalance)
RepayBorrow(address indexed payer, address indexed borrower, uint256 repayAmount, uint256 accountBorrows, uint256 totalBorrows)
ReservesAdded(address indexed benefactor, uint256 addAmount, uint256 newTotalReserves)
SpreadReservesReduced(address indexed protocolShareReserve, uint256 reduceAmount, uint256 newTotalReserves)
SweepToken(address indexed token)
Transfer(address indexed from, address indexed to, uint256 amount)
constructor(bool timeBased_, uint256 blocksPerYear_, uint256 maxBorrowRateMantissa_)
This contract contains no fallback and receive objects.
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 sender, address calledContract, string methodSignature)
ZeroAddressNotAllowed()