VToken

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x30194bcb at 20841381
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
10 additional variables

No balances found for "VToken"

No transactions found for "VToken"


Functions
Getter at block 21216395
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
 
borrowRatePerBlock(view returns (uint256)
comptroller(view returns (address)
0x0000000000000000000000000000000000000000
decimals(view returns (uint8)
0
exchangeRateStored(view returns (uint256)
0
getBlockNumberOrTimestamp(view returns (uint256)
21216395
 
getCash(view returns (uint256)
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
 
supplyRatePerBlock(view returns (uint256)
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 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
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(bool timeBased_uint256 blocksPerYear_uint256 maxBorrowRateMantissa_
Fallback and receive

This contract contains no fallback and receive objects.

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(