venus

package
v0.0.0-...-bd3dd7f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VenusComprollerABI = VenusComprollerMetaData.ABI

VenusComprollerABI is the input ABI used to generate the binding from. Deprecated: Use VenusComprollerMetaData.ABI instead.

View Source
var VenusComprollerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"action\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"pauseState\",\"type\":\"bool\"}],\"name\":\"ActionPaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractVToken\",\"name\":\"vToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"action\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"pauseState\",\"type\":\"bool\"}],\"name\":\"ActionPausedMarket\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"state\",\"type\":\"bool\"}],\"name\":\"ActionProtocolPaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractVToken\",\"name\":\"vToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"venusDelta\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"venusBorrowIndex\",\"type\":\"uint256\"}],\"name\":\"DistributedBorrowerVenus\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractVToken\",\"name\":\"vToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"supplier\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"venusDelta\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"venusSupplyIndex\",\"type\":\"uint256\"}],\"name\":\"DistributedSupplierVenus\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"vaiMinter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"venusDelta\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"venusVAIMintIndex\",\"type\":\"uint256\"}],\"name\":\"DistributedVAIMinterVenus\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DistributedVAIVaultVenus\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"error\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"info\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"detail\",\"type\":\"uint256\"}],\"name\":\"Failure\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractVToken\",\"name\":\"vToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"MarketEntered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractVToken\",\"name\":\"vToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"MarketExited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractVToken\",\"name\":\"vToken\",\"type\":\"address\"}],\"name\":\"MarketListed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractVToken\",\"name\":\"vToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBorrowCap\",\"type\":\"uint256\"}],\"name\":\"NewBorrowCap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldBorrowCapGuardian\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newBorrowCapGuardian\",\"type\":\"address\"}],\"name\":\"NewBorrowCapGuardian\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldCloseFactorMantissa\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newCloseFactorMantissa\",\"type\":\"uint256\"}],\"name\":\"NewCloseFactor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractVToken\",\"name\":\"vToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldCollateralFactorMantissa\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newCollateralFactorMantissa\",\"type\":\"uint256\"}],\"name\":\"NewCollateralFactor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldComptrollerLens\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newComptrollerLens\",\"type\":\"address\"}],\"name\":\"NewComptrollerLens\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldLiquidationIncentiveMantissa\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newLiquidationIncentiveMantissa\",\"type\":\"uint256\"}],\"name\":\"NewLiquidationIncentive\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldLiquidatorContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newLiquidatorContract\",\"type\":\"address\"}],\"name\":\"NewLiquidatorContract\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldPauseGuardian\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newPauseGuardian\",\"type\":\"address\"}],\"name\":\"NewPauseGuardian\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractPriceOracle\",\"name\":\"oldPriceOracle\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"contractPriceOracle\",\"name\":\"newPriceOracle\",\"type\":\"address\"}],\"name\":\"NewPriceOracle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldTreasuryAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newTreasuryAddress\",\"type\":\"address\"}],\"name\":\"NewTreasuryAddress\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldTreasuryGuardian\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newTreasuryGuardian\",\"type\":\"address\"}],\"name\":\"NewTreasuryGuardian\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldTreasuryPercent\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newTreasuryPercent\",\"type\":\"uint256\"}],\"name\":\"NewTreasuryPercent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractVAIControllerInterface\",\"name\":\"oldVAIController\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"contractVAIControllerInterface\",\"name\":\"newVAIController\",\"type\":\"address\"}],\"name\":\"NewVAIController\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldVAIMintRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newVAIMintRate\",\"type\":\"uint256\"}],\"name\":\"NewVAIMintRate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"vault_\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"releaseStartBlock_\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"releaseInterval_\",\"type\":\"uint256\"}],\"name\":\"NewVAIVaultInfo\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldVenusVAIRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newVenusVAIRate\",\"type\":\"uint256\"}],\"name\":\"NewVenusVAIRate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldVenusVAIVaultRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newVenusVAIVaultRate\",\"type\":\"uint256\"}],\"name\":\"NewVenusVAIVaultRate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"VenusGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractVToken\",\"name\":\"vToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newSpeed\",\"type\":\"uint256\"}],\"name\":\"VenusSpeedUpdated\",\"type\":\"event\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractUnitroller\",\"name\":\"unitroller\",\"type\":\"address\"}],\"name\":\"_become\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"_borrowGuardianPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"_grantXVS\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newBorrowCapGuardian\",\"type\":\"address\"}],\"name\":\"_setBorrowCapGuardian\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newCloseFactorMantissa\",\"type\":\"uint256\"}],\"name\":\"_setCloseFactor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractVToken\",\"name\":\"vToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"newCollateralFactorMantissa\",\"type\":\"uint256\"}],\"name\":\"_setCollateralFactor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractComptrollerLensInterface\",\"name\":\"comptrollerLens_\",\"type\":\"address\"}],\"name\":\"_setComptrollerLens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newLiquidationIncentiveMantissa\",\"type\":\"uint256\"}],\"name\":\"_setLiquidationIncentive\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newLiquidatorContract_\",\"type\":\"address\"}],\"name\":\"_setLiquidatorContract\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractVToken[]\",\"name\":\"vTokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"newBorrowCaps\",\"type\":\"uint256[]\"}],\"name\":\"_setMarketBorrowCaps\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newPauseGuardian\",\"type\":\"address\"}],\"name\":\"_setPauseGuardian\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractPriceOracle\",\"name\":\"newOracle\",\"type\":\"address\"}],\"name\":\"_setPriceOracle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bool\",\"name\":\"state\",\"type\":\"bool\"}],\"name\":\"_setProtocolPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newTreasuryGuardian\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newTreasuryAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"newTreasuryPercent\",\"type\":\"uint256\"}],\"name\":\"_setTreasuryData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractVAIControllerInterface\",\"name\":\"vaiController_\",\"type\":\"address\"}],\"name\":\"_setVAIController\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newVAIMintRate\",\"type\":\"uint256\"}],\"name\":\"_setVAIMintRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vault_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"releaseStartBlock_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReleaseAmount_\",\"type\":\"uint256\"}],\"name\":\"_setVAIVaultInfo\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractVToken\",\"name\":\"vToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"venusSpeed\",\"type\":\"uint256\"}],\"name\":\"_setVenusSpeed\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"venusVAIVaultRate_\",\"type\":\"uint256\"}],\"name\":\"_setVenusVAIVaultRate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractVToken\",\"name\":\"vToken\",\"type\":\"address\"}],\"name\":\"_supportMarket\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"accountAssets\",\"outputs\":[{\"internalType\":\"contractVToken\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"allMarkets\",\"outputs\":[{\"internalType\":\"contractVToken\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"borrowAmount\",\"type\":\"uint256\"}],\"name\":\"borrowAllowed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"borrowCapGuardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"borrowCaps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"borrowAmount\",\"type\":\"uint256\"}],\"name\":\"borrowVerify\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"contractVToken\",\"name\":\"vToken\",\"type\":\"address\"}],\"name\":\"checkMembership\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"holders\",\"type\":\"address[]\"},{\"internalType\":\"contractVToken[]\",\"name\":\"vTokens\",\"type\":\"address[]\"},{\"internalType\":\"bool\",\"name\":\"borrowers\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"suppliers\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"collateral\",\"type\":\"bool\"}],\"name\":\"claimVenus\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"internalType\":\"contractVToken[]\",\"name\":\"vTokens\",\"type\":\"address[]\"}],\"name\":\"claimVenus\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"}],\"name\":\"claimVenus\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"holders\",\"type\":\"address[]\"},{\"internalType\":\"contractVToken[]\",\"name\":\"vTokens\",\"type\":\"address[]\"},{\"internalType\":\"bool\",\"name\":\"borrowers\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"suppliers\",\"type\":\"bool\"}],\"name\":\"claimVenus\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"}],\"name\":\"claimVenusAsCollateral\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"closeFactorMantissa\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"comptrollerImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"comptrollerLens\",\"outputs\":[{\"internalType\":\"contractComptrollerLensInterface\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"vTokens\",\"type\":\"address[]\"}],\"name\":\"enterMarkets\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vTokenAddress\",\"type\":\"address\"}],\"name\":\"exitMarket\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getAccountLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getAllMarkets\",\"outputs\":[{\"internalType\":\"contractVToken[]\",\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getAssetsIn\",\"outputs\":[{\"internalType\":\"contractVToken[]\",\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getBlockNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"vTokenModify\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"redeemTokens\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"borrowAmount\",\"type\":\"uint256\"}],\"name\":\"getHypotheticalAccountLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getXVSAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getXVSVTokenAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isComptroller\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"lastContributorBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vTokenBorrowed\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"vTokenCollateral\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"liquidator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"repayAmount\",\"type\":\"uint256\"}],\"name\":\"liquidateBorrowAllowed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vTokenBorrowed\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"vTokenCollateral\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"liquidator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"actualRepayAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"seizeTokens\",\"type\":\"uint256\"}],\"name\":\"liquidateBorrowVerify\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vTokenBorrowed\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"vTokenCollateral\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"actualRepayAmount\",\"type\":\"uint256\"}],\"name\":\"liquidateCalculateSeizeTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vTokenCollateral\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"actualRepayAmount\",\"type\":\"uint256\"}],\"name\":\"liquidateVAICalculateSeizeTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"liquidationIncentiveMantissa\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"liquidatorContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"markets\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isListed\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"collateralFactorMantissa\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"isVenus\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"maxAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"minReleaseAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"mintAmount\",\"type\":\"uint256\"}],\"name\":\"mintAllowed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"mintGuardianPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"mintVAIGuardianPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"actualMintAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mintTokens\",\"type\":\"uint256\"}],\"name\":\"mintVerify\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"mintedVAIs\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"oracle\",\"outputs\":[{\"internalType\":\"contractPriceOracle\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"pauseGuardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"pendingAdmin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"pendingComptrollerImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"protocolPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"redeemer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"redeemTokens\",\"type\":\"uint256\"}],\"name\":\"redeemAllowed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"redeemer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"redeemAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"redeemTokens\",\"type\":\"uint256\"}],\"name\":\"redeemVerify\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"releaseStartBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"releaseToVault\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"payer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"repayAmount\",\"type\":\"uint256\"}],\"name\":\"repayBorrowAllowed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"payer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"actualRepayAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"borrowerIndex\",\"type\":\"uint256\"}],\"name\":\"repayBorrowVerify\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"repayVAIGuardianPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vTokenCollateral\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"vTokenBorrowed\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"liquidator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"seizeTokens\",\"type\":\"uint256\"}],\"name\":\"seizeAllowed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"seizeGuardianPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vTokenCollateral\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"vTokenBorrowed\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"liquidator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"seizeTokens\",\"type\":\"uint256\"}],\"name\":\"seizeVerify\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"setMintedVAIOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"transferTokens\",\"type\":\"uint256\"}],\"name\":\"transferAllowed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"transferGuardianPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"transferTokens\",\"type\":\"uint256\"}],\"name\":\"transferVerify\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"treasuryAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"treasuryGuardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"treasuryPercent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"vaiController\",\"outputs\":[{\"internalType\":\"contractVAIControllerInterface\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"vaiMintRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"vaiVaultAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"venusAccrued\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"venusBorrowState\",\"outputs\":[{\"internalType\":\"uint224\",\"name\":\"index\",\"type\":\"uint224\"},{\"internalType\":\"uint32\",\"name\":\"block\",\"type\":\"uint32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"venusBorrowerIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"venusContributorSpeeds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"venusInitialIndex\",\"outputs\":[{\"internalType\":\"uint224\",\"name\":\"\",\"type\":\"uint224\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"venusRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"venusSpeeds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"venusSupplierIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"venusSupplyState\",\"outputs\":[{\"internalType\":\"uint224\",\"name\":\"index\",\"type\":\"uint224\"},{\"internalType\":\"uint32\",\"name\":\"block\",\"type\":\"uint32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"venusVAIRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"venusVAIVaultRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

VenusComprollerMetaData contains all meta data concerning the VenusComproller contract.

View Source
var VenusTokenABI = VenusTokenMetaData.ABI

VenusTokenABI is the input ABI used to generate the binding from. Deprecated: Use VenusTokenMetaData.ABI instead.

View Source
var VenusTokenMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cashPrior\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"interestAccumulated\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"borrowIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalBorrows\",\"type\":\"uint256\"}],\"name\":\"AccrueInterest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"borrowAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"accountBorrows\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalBorrows\",\"type\":\"uint256\"}],\"name\":\"Borrow\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"error\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"info\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"detail\",\"type\":\"uint256\"}],\"name\":\"Failure\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"liquidator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"repayAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"vTokenCollateral\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"seizeTokens\",\"type\":\"uint256\"}],\"name\":\"LiquidateBorrow\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"mintAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"mintTokens\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"NewAdmin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractComptrollerInterface\",\"name\":\"oldComptroller\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"contractComptrollerInterface\",\"name\":\"newComptroller\",\"type\":\"address\"}],\"name\":\"NewComptroller\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractInterestRateModel\",\"name\":\"oldInterestRateModel\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"contractInterestRateModel\",\"name\":\"newInterestRateModel\",\"type\":\"address\"}],\"name\":\"NewMarketInterestRateModel\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldPendingAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newPendingAdmin\",\"type\":\"address\"}],\"name\":\"NewPendingAdmin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldReserveFactorMantissa\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newReserveFactorMantissa\",\"type\":\"uint256\"}],\"name\":\"NewReserveFactor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"redeemer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"redeemAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"redeemTokens\",\"type\":\"uint256\"}],\"name\":\"Redeem\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"redeemer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"redeemTokens\",\"type\":\"uint256\"}],\"name\":\"RedeemFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"payer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"repayAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"accountBorrows\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalBorrows\",\"type\":\"uint256\"}],\"name\":\"RepayBorrow\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"benefactor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"addAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newTotalReserves\",\"type\":\"uint256\"}],\"name\":\"ReservesAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reduceAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newTotalReserves\",\"type\":\"uint256\"}],\"name\":\"ReservesReduced\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"constant\":false,\"inputs\":[],\"name\":\"_acceptAdmin\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"addAmount\",\"type\":\"uint256\"}],\"name\":\"_addReserves\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"_becomeImplementation\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"reduceAmount\",\"type\":\"uint256\"}],\"name\":\"_reduceReserves\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"_resignImplementation\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractComptrollerInterface\",\"name\":\"newComptroller\",\"type\":\"address\"}],\"name\":\"_setComptroller\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractInterestRateModel\",\"name\":\"newInterestRateModel\",\"type\":\"address\"}],\"name\":\"_setInterestRateModel\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"newPendingAdmin\",\"type\":\"address\"}],\"name\":\"_setPendingAdmin\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newReserveFactorMantissa\",\"type\":\"uint256\"}],\"name\":\"_setReserveFactor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"accrualBlockNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"accrueInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOfUnderlying\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"borrowAmount\",\"type\":\"uint256\"}],\"name\":\"borrow\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"borrowBalanceCurrent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"borrowBalanceStored\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"borrowIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"borrowRatePerBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"comptroller\",\"outputs\":[{\"internalType\":\"contractComptrollerInterface\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"exchangeRateCurrent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"exchangeRateStored\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getAccountSnapshot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getCash\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"underlying_\",\"type\":\"address\"},{\"internalType\":\"contractComptrollerInterface\",\"name\":\"comptroller_\",\"type\":\"address\"},{\"internalType\":\"contractInterestRateModel\",\"name\":\"interestRateModel_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"initialExchangeRateMantissa_\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals_\",\"type\":\"uint8\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractComptrollerInterface\",\"name\":\"comptroller_\",\"type\":\"address\"},{\"internalType\":\"contractInterestRateModel\",\"name\":\"interestRateModel_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"initialExchangeRateMantissa_\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals_\",\"type\":\"uint8\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"interestRateModel\",\"outputs\":[{\"internalType\":\"contractInterestRateModel\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isVToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"repayAmount\",\"type\":\"uint256\"},{\"internalType\":\"contractVTokenInterface\",\"name\":\"vTokenCollateral\",\"type\":\"address\"}],\"name\":\"liquidateBorrow\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"mintAmount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"pendingAdmin\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"redeemTokens\",\"type\":\"uint256\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"redeemAmount\",\"type\":\"uint256\"}],\"name\":\"redeemUnderlying\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"repayAmount\",\"type\":\"uint256\"}],\"name\":\"repayBorrow\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"repayAmount\",\"type\":\"uint256\"}],\"name\":\"repayBorrowBehalf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"reserveFactorMantissa\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"liquidator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"seizeTokens\",\"type\":\"uint256\"}],\"name\":\"seize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"supplyRatePerBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalBorrows\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"totalBorrowsCurrent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalReserves\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"underlying\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

VenusTokenMetaData contains all meta data concerning the VenusToken contract.

View Source
var VenusVaiVaultProxyABI = VenusVaiVaultProxyMetaData.ABI

VenusVaiVaultProxyABI is the input ABI used to generate the binding from. Deprecated: Use VenusVaiVaultProxyMetaData.ABI instead.

View Source
var VenusVaiVaultProxyMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldAdmin\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminTransfered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractVAIVaultProxy\",\"name\":\"vaiVaultProxy\",\"type\":\"address\"}],\"name\":\"_become\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"accXVSPerShare\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"burnAdmin\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"claim\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getAdmin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"pendingAdmin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"pendingRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"pendingVAIVaultImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"pendingXVS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"setNewAdmin\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_xvs\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_vai\",\"type\":\"address\"}],\"name\":\"setVenusInfo\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"updatePendingRewards\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardDebt\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"vai\",\"outputs\":[{\"internalType\":\"contractIBEP20\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"vaiVaultImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"xvs\",\"outputs\":[{\"internalType\":\"contractIBEP20\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"xvsBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

VenusVaiVaultProxyMetaData contains all meta data concerning the VenusVaiVaultProxy contract.

View Source
var VenusXvsVaultProxyABI = VenusXvsVaultProxyMetaData.ABI

VenusXvsVaultProxyABI is the input ABI used to generate the binding from. Deprecated: Use VenusXvsVaultProxyMetaData.ABI instead.

View Source
var VenusXvsVaultProxyMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldAdmin\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toDelegate\",\"type\":\"address\"}],\"name\":\"DelegateChangedV2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousBalance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBalance\",\"type\":\"uint256\"}],\"name\":\"DelegateVotesChangedV2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"rewardToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"rewardToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ExecutedWithdrawal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"rewardToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"allocPoints\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rewardPerBlock\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lockPeriod\",\"type\":\"uint256\"}],\"name\":\"PoolAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"rewardToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldAllocPoints\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newAllocPoints\",\"type\":\"uint256\"}],\"name\":\"PoolUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"rewardToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ReqestedWithdrawal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"rewardToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldReward\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newReward\",\"type\":\"uint256\"}],\"name\":\"RewardAmountUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldXvs\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldStore\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newXvs\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newStore\",\"type\":\"address\"}],\"name\":\"StoreUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"rewardToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldPeriod\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newPeriod\",\"type\":\"uint256\"}],\"name\":\"WithdrawalLockingPeriodUpdated\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"DELEGATION_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"DOMAIN_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractXVSVaultProxy\",\"name\":\"xvsVaultProxy\",\"type\":\"address\"}],\"name\":\"_become\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewardToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"contractIBEP20\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_rewardPerBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_lockPeriod\",\"type\":\"uint256\"}],\"name\":\"add\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"burnAdmin\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"checkpoints\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"fromBlock\",\"type\":\"uint32\"},{\"internalType\":\"uint96\",\"name\":\"votes\",\"type\":\"uint96\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateBySig\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewardToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewardToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"executeWithdrawal\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getAdmin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getCurrentVotes\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewardToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getEligibleWithdrawalAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"withdrawalAmount\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPriorVotes\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewardToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getRequestedAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewardToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getUserInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardDebt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"pendingWithdrawals\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewardToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getWithdrawalRequests\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lockedUntil\",\"type\":\"uint256\"}],\"internalType\":\"structXVSVaultStorageV1.WithdrawalRequest[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewardToken\",\"type\":\"address\"}],\"name\":\"massUpdatePools\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"numCheckpoints\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"pendingAdmin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewardToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"pendingReward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"pendingXVSVaultImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"poolInfos\",\"outputs\":[{\"internalType\":\"contractIBEP20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastRewardBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accRewardPerShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lockPeriod\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"rewardToken\",\"type\":\"address\"}],\"name\":\"poolLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewardToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"requestWithdrawal\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"rewardTokenAmountsPerBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewardToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_allocPoint\",\"type\":\"uint256\"}],\"name\":\"set\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewardToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_rewardAmount\",\"type\":\"uint256\"}],\"name\":\"setRewardAmountPerBlock\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewardToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_newPeriod\",\"type\":\"uint256\"}],\"name\":\"setWithdrawalLockingPeriod\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_xvs\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_xvsStore\",\"type\":\"address\"}],\"name\":\"setXvsStore\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"totalAllocPoints\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewardToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"updatePool\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"xvsAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"xvsStore\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

VenusXvsVaultProxyMetaData contains all meta data concerning the VenusXvsVaultProxy contract.

Functions

This section is empty.

Types

type VenusComproller

type VenusComproller struct {
	VenusComprollerCaller     // Read-only binding to the contract
	VenusComprollerTransactor // Write-only binding to the contract
	VenusComprollerFilterer   // Log filterer for contract events
}

VenusComproller is an auto generated Go binding around an Ethereum contract.

func NewVenusComproller

func NewVenusComproller(address common.Address, backend bind.ContractBackend) (*VenusComproller, error)

NewVenusComproller creates a new instance of VenusComproller, bound to a specific deployed contract.

type VenusComprollerActionPaused

type VenusComprollerActionPaused struct {
	Action     string
	PauseState bool
	Raw        types.Log // Blockchain specific contextual infos
}

VenusComprollerActionPaused represents a ActionPaused event raised by the VenusComproller contract.

type VenusComprollerActionPausedIterator

type VenusComprollerActionPausedIterator struct {
	Event *VenusComprollerActionPaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerActionPausedIterator is returned from FilterActionPaused and is used to iterate over the raw logs and unpacked data for ActionPaused events raised by the VenusComproller contract.

func (*VenusComprollerActionPausedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerActionPausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerActionPausedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerActionPausedMarket

type VenusComprollerActionPausedMarket struct {
	VToken     common.Address
	Action     string
	PauseState bool
	Raw        types.Log // Blockchain specific contextual infos
}

VenusComprollerActionPausedMarket represents a ActionPausedMarket event raised by the VenusComproller contract.

type VenusComprollerActionPausedMarketIterator

type VenusComprollerActionPausedMarketIterator struct {
	Event *VenusComprollerActionPausedMarket // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerActionPausedMarketIterator is returned from FilterActionPausedMarket and is used to iterate over the raw logs and unpacked data for ActionPausedMarket events raised by the VenusComproller contract.

func (*VenusComprollerActionPausedMarketIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerActionPausedMarketIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerActionPausedMarketIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerActionProtocolPaused

type VenusComprollerActionProtocolPaused struct {
	State bool
	Raw   types.Log // Blockchain specific contextual infos
}

VenusComprollerActionProtocolPaused represents a ActionProtocolPaused event raised by the VenusComproller contract.

type VenusComprollerActionProtocolPausedIterator

type VenusComprollerActionProtocolPausedIterator struct {
	Event *VenusComprollerActionProtocolPaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerActionProtocolPausedIterator is returned from FilterActionProtocolPaused and is used to iterate over the raw logs and unpacked data for ActionProtocolPaused events raised by the VenusComproller contract.

func (*VenusComprollerActionProtocolPausedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerActionProtocolPausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerActionProtocolPausedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerCaller

type VenusComprollerCaller struct {
	// contains filtered or unexported fields
}

VenusComprollerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewVenusComprollerCaller

func NewVenusComprollerCaller(address common.Address, caller bind.ContractCaller) (*VenusComprollerCaller, error)

NewVenusComprollerCaller creates a new read-only instance of VenusComproller, bound to a specific deployed contract.

func (*VenusComprollerCaller) AccountAssets

func (_VenusComproller *VenusComprollerCaller) AccountAssets(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (common.Address, error)

AccountAssets is a free data retrieval call binding the contract method 0xdce15449.

Solidity: function accountAssets(address , uint256 ) view returns(address)

func (*VenusComprollerCaller) Admin

func (_VenusComproller *VenusComprollerCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*VenusComprollerCaller) AllMarkets

func (_VenusComproller *VenusComprollerCaller) AllMarkets(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

AllMarkets is a free data retrieval call binding the contract method 0x52d84d1e.

Solidity: function allMarkets(uint256 ) view returns(address)

func (*VenusComprollerCaller) BorrowCapGuardian

func (_VenusComproller *VenusComprollerCaller) BorrowCapGuardian(opts *bind.CallOpts) (common.Address, error)

BorrowCapGuardian is a free data retrieval call binding the contract method 0x21af4569.

Solidity: function borrowCapGuardian() view returns(address)

func (*VenusComprollerCaller) BorrowCaps

func (_VenusComproller *VenusComprollerCaller) BorrowCaps(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BorrowCaps is a free data retrieval call binding the contract method 0x4a584432.

Solidity: function borrowCaps(address ) view returns(uint256)

func (*VenusComprollerCaller) BorrowGuardianPaused

func (_VenusComproller *VenusComprollerCaller) BorrowGuardianPaused(opts *bind.CallOpts) (bool, error)

BorrowGuardianPaused is a free data retrieval call binding the contract method 0xe6653f3d.

Solidity: function _borrowGuardianPaused() view returns(bool)

func (*VenusComprollerCaller) CheckMembership

func (_VenusComproller *VenusComprollerCaller) CheckMembership(opts *bind.CallOpts, account common.Address, vToken common.Address) (bool, error)

CheckMembership is a free data retrieval call binding the contract method 0x929fe9a1.

Solidity: function checkMembership(address account, address vToken) view returns(bool)

func (*VenusComprollerCaller) CloseFactorMantissa

func (_VenusComproller *VenusComprollerCaller) CloseFactorMantissa(opts *bind.CallOpts) (*big.Int, error)

CloseFactorMantissa is a free data retrieval call binding the contract method 0xe8755446.

Solidity: function closeFactorMantissa() view returns(uint256)

func (*VenusComprollerCaller) ComptrollerImplementation

func (_VenusComproller *VenusComprollerCaller) ComptrollerImplementation(opts *bind.CallOpts) (common.Address, error)

ComptrollerImplementation is a free data retrieval call binding the contract method 0xbb82aa5e.

Solidity: function comptrollerImplementation() view returns(address)

func (*VenusComprollerCaller) ComptrollerLens

func (_VenusComproller *VenusComprollerCaller) ComptrollerLens(opts *bind.CallOpts) (common.Address, error)

ComptrollerLens is a free data retrieval call binding the contract method 0xd3270f99.

Solidity: function comptrollerLens() view returns(address)

func (*VenusComprollerCaller) GetAccountLiquidity

func (_VenusComproller *VenusComprollerCaller) GetAccountLiquidity(opts *bind.CallOpts, account common.Address) (*big.Int, *big.Int, *big.Int, error)

GetAccountLiquidity is a free data retrieval call binding the contract method 0x5ec88c79.

Solidity: function getAccountLiquidity(address account) view returns(uint256, uint256, uint256)

func (*VenusComprollerCaller) GetAllMarkets

func (_VenusComproller *VenusComprollerCaller) GetAllMarkets(opts *bind.CallOpts) ([]common.Address, error)

GetAllMarkets is a free data retrieval call binding the contract method 0xb0772d0b.

Solidity: function getAllMarkets() view returns(address[])

func (*VenusComprollerCaller) GetAssetsIn

func (_VenusComproller *VenusComprollerCaller) GetAssetsIn(opts *bind.CallOpts, account common.Address) ([]common.Address, error)

GetAssetsIn is a free data retrieval call binding the contract method 0xabfceffc.

Solidity: function getAssetsIn(address account) view returns(address[])

func (*VenusComprollerCaller) GetBlockNumber

func (_VenusComproller *VenusComprollerCaller) GetBlockNumber(opts *bind.CallOpts) (*big.Int, error)

GetBlockNumber is a free data retrieval call binding the contract method 0x42cbb15c.

Solidity: function getBlockNumber() view returns(uint256)

func (*VenusComprollerCaller) GetHypotheticalAccountLiquidity

func (_VenusComproller *VenusComprollerCaller) GetHypotheticalAccountLiquidity(opts *bind.CallOpts, account common.Address, vTokenModify common.Address, redeemTokens *big.Int, borrowAmount *big.Int) (*big.Int, *big.Int, *big.Int, error)

GetHypotheticalAccountLiquidity is a free data retrieval call binding the contract method 0x4e79238f.

Solidity: function getHypotheticalAccountLiquidity(address account, address vTokenModify, uint256 redeemTokens, uint256 borrowAmount) view returns(uint256, uint256, uint256)

func (*VenusComprollerCaller) GetXVSAddress

func (_VenusComproller *VenusComprollerCaller) GetXVSAddress(opts *bind.CallOpts) (common.Address, error)

GetXVSAddress is a free data retrieval call binding the contract method 0xbf32442d.

Solidity: function getXVSAddress() view returns(address)

func (*VenusComprollerCaller) GetXVSVTokenAddress

func (_VenusComproller *VenusComprollerCaller) GetXVSVTokenAddress(opts *bind.CallOpts) (common.Address, error)

GetXVSVTokenAddress is a free data retrieval call binding the contract method 0xededbae6.

Solidity: function getXVSVTokenAddress() view returns(address)

func (*VenusComprollerCaller) IsComptroller

func (_VenusComproller *VenusComprollerCaller) IsComptroller(opts *bind.CallOpts) (bool, error)

IsComptroller is a free data retrieval call binding the contract method 0x007e3dd2.

Solidity: function isComptroller() view returns(bool)

func (*VenusComprollerCaller) LastContributorBlock

func (_VenusComproller *VenusComprollerCaller) LastContributorBlock(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

LastContributorBlock is a free data retrieval call binding the contract method 0xbea6b8b8.

Solidity: function lastContributorBlock(address ) view returns(uint256)

func (*VenusComprollerCaller) LiquidateCalculateSeizeTokens

func (_VenusComproller *VenusComprollerCaller) LiquidateCalculateSeizeTokens(opts *bind.CallOpts, vTokenBorrowed common.Address, vTokenCollateral common.Address, actualRepayAmount *big.Int) (*big.Int, *big.Int, error)

LiquidateCalculateSeizeTokens is a free data retrieval call binding the contract method 0xc488847b.

Solidity: function liquidateCalculateSeizeTokens(address vTokenBorrowed, address vTokenCollateral, uint256 actualRepayAmount) view returns(uint256, uint256)

func (*VenusComprollerCaller) LiquidateVAICalculateSeizeTokens

func (_VenusComproller *VenusComprollerCaller) LiquidateVAICalculateSeizeTokens(opts *bind.CallOpts, vTokenCollateral common.Address, actualRepayAmount *big.Int) (*big.Int, *big.Int, error)

LiquidateVAICalculateSeizeTokens is a free data retrieval call binding the contract method 0xa78dc775.

Solidity: function liquidateVAICalculateSeizeTokens(address vTokenCollateral, uint256 actualRepayAmount) view returns(uint256, uint256)

func (*VenusComprollerCaller) LiquidationIncentiveMantissa

func (_VenusComproller *VenusComprollerCaller) LiquidationIncentiveMantissa(opts *bind.CallOpts) (*big.Int, error)

LiquidationIncentiveMantissa is a free data retrieval call binding the contract method 0x4ada90af.

Solidity: function liquidationIncentiveMantissa() view returns(uint256)

func (*VenusComprollerCaller) LiquidatorContract

func (_VenusComproller *VenusComprollerCaller) LiquidatorContract(opts *bind.CallOpts) (common.Address, error)

LiquidatorContract is a free data retrieval call binding the contract method 0x9bb27d62.

Solidity: function liquidatorContract() view returns(address)

func (*VenusComprollerCaller) Markets

func (_VenusComproller *VenusComprollerCaller) Markets(opts *bind.CallOpts, arg0 common.Address) (struct {
	IsListed                 bool
	CollateralFactorMantissa *big.Int
	IsVenus                  bool
}, error)

Markets is a free data retrieval call binding the contract method 0x8e8f294b.

Solidity: function markets(address ) view returns(bool isListed, uint256 collateralFactorMantissa, bool isVenus)

func (*VenusComprollerCaller) MaxAssets

func (_VenusComproller *VenusComprollerCaller) MaxAssets(opts *bind.CallOpts) (*big.Int, error)

MaxAssets is a free data retrieval call binding the contract method 0x94b2294b.

Solidity: function maxAssets() view returns(uint256)

func (*VenusComprollerCaller) MinReleaseAmount

func (_VenusComproller *VenusComprollerCaller) MinReleaseAmount(opts *bind.CallOpts) (*big.Int, error)

MinReleaseAmount is a free data retrieval call binding the contract method 0x0db4b4e5.

Solidity: function minReleaseAmount() view returns(uint256)

func (*VenusComprollerCaller) MintGuardianPaused

func (_VenusComproller *VenusComprollerCaller) MintGuardianPaused(opts *bind.CallOpts, arg0 common.Address) (bool, error)

MintGuardianPaused is a free data retrieval call binding the contract method 0x731f0c2b.

Solidity: function mintGuardianPaused(address ) view returns(bool)

func (*VenusComprollerCaller) MintVAIGuardianPaused

func (_VenusComproller *VenusComprollerCaller) MintVAIGuardianPaused(opts *bind.CallOpts) (bool, error)

MintVAIGuardianPaused is a free data retrieval call binding the contract method 0x4088c73e.

Solidity: function mintVAIGuardianPaused() view returns(bool)

func (*VenusComprollerCaller) MintedVAIs

func (_VenusComproller *VenusComprollerCaller) MintedVAIs(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MintedVAIs is a free data retrieval call binding the contract method 0x2bc7e29e.

Solidity: function mintedVAIs(address ) view returns(uint256)

func (*VenusComprollerCaller) Oracle

func (_VenusComproller *VenusComprollerCaller) Oracle(opts *bind.CallOpts) (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*VenusComprollerCaller) PauseGuardian

func (_VenusComproller *VenusComprollerCaller) PauseGuardian(opts *bind.CallOpts) (common.Address, error)

PauseGuardian is a free data retrieval call binding the contract method 0x24a3d622.

Solidity: function pauseGuardian() view returns(address)

func (*VenusComprollerCaller) PendingAdmin

func (_VenusComproller *VenusComprollerCaller) PendingAdmin(opts *bind.CallOpts) (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

func (*VenusComprollerCaller) PendingComptrollerImplementation

func (_VenusComproller *VenusComprollerCaller) PendingComptrollerImplementation(opts *bind.CallOpts) (common.Address, error)

PendingComptrollerImplementation is a free data retrieval call binding the contract method 0xdcfbc0c7.

Solidity: function pendingComptrollerImplementation() view returns(address)

func (*VenusComprollerCaller) ProtocolPaused

func (_VenusComproller *VenusComprollerCaller) ProtocolPaused(opts *bind.CallOpts) (bool, error)

ProtocolPaused is a free data retrieval call binding the contract method 0x425fad58.

Solidity: function protocolPaused() view returns(bool)

func (*VenusComprollerCaller) ReleaseStartBlock

func (_VenusComproller *VenusComprollerCaller) ReleaseStartBlock(opts *bind.CallOpts) (*big.Int, error)

ReleaseStartBlock is a free data retrieval call binding the contract method 0x719f701b.

Solidity: function releaseStartBlock() view returns(uint256)

func (*VenusComprollerCaller) RepayVAIGuardianPaused

func (_VenusComproller *VenusComprollerCaller) RepayVAIGuardianPaused(opts *bind.CallOpts) (bool, error)

RepayVAIGuardianPaused is a free data retrieval call binding the contract method 0x76551383.

Solidity: function repayVAIGuardianPaused() view returns(bool)

func (*VenusComprollerCaller) SeizeGuardianPaused

func (_VenusComproller *VenusComprollerCaller) SeizeGuardianPaused(opts *bind.CallOpts) (bool, error)

SeizeGuardianPaused is a free data retrieval call binding the contract method 0xac0b0bb7.

Solidity: function seizeGuardianPaused() view returns(bool)

func (*VenusComprollerCaller) TransferGuardianPaused

func (_VenusComproller *VenusComprollerCaller) TransferGuardianPaused(opts *bind.CallOpts) (bool, error)

TransferGuardianPaused is a free data retrieval call binding the contract method 0x87f76303.

Solidity: function transferGuardianPaused() view returns(bool)

func (*VenusComprollerCaller) TreasuryAddress

func (_VenusComproller *VenusComprollerCaller) TreasuryAddress(opts *bind.CallOpts) (common.Address, error)

TreasuryAddress is a free data retrieval call binding the contract method 0xc5f956af.

Solidity: function treasuryAddress() view returns(address)

func (*VenusComprollerCaller) TreasuryGuardian

func (_VenusComproller *VenusComprollerCaller) TreasuryGuardian(opts *bind.CallOpts) (common.Address, error)

TreasuryGuardian is a free data retrieval call binding the contract method 0xb2eafc39.

Solidity: function treasuryGuardian() view returns(address)

func (*VenusComprollerCaller) TreasuryPercent

func (_VenusComproller *VenusComprollerCaller) TreasuryPercent(opts *bind.CallOpts) (*big.Int, error)

TreasuryPercent is a free data retrieval call binding the contract method 0x04ef9d58.

Solidity: function treasuryPercent() view returns(uint256)

func (*VenusComprollerCaller) VaiController

func (_VenusComproller *VenusComprollerCaller) VaiController(opts *bind.CallOpts) (common.Address, error)

VaiController is a free data retrieval call binding the contract method 0x9254f5e5.

Solidity: function vaiController() view returns(address)

func (*VenusComprollerCaller) VaiMintRate

func (_VenusComproller *VenusComprollerCaller) VaiMintRate(opts *bind.CallOpts) (*big.Int, error)

VaiMintRate is a free data retrieval call binding the contract method 0xbec04f72.

Solidity: function vaiMintRate() view returns(uint256)

func (*VenusComprollerCaller) VaiVaultAddress

func (_VenusComproller *VenusComprollerCaller) VaiVaultAddress(opts *bind.CallOpts) (common.Address, error)

VaiVaultAddress is a free data retrieval call binding the contract method 0x7d172bd5.

Solidity: function vaiVaultAddress() view returns(address)

func (*VenusComprollerCaller) VenusAccrued

func (_VenusComproller *VenusComprollerCaller) VenusAccrued(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

VenusAccrued is a free data retrieval call binding the contract method 0x8a7dc165.

Solidity: function venusAccrued(address ) view returns(uint256)

func (*VenusComprollerCaller) VenusBorrowState

func (_VenusComproller *VenusComprollerCaller) VenusBorrowState(opts *bind.CallOpts, arg0 common.Address) (struct {
	Index *big.Int
	Block uint32
}, error)

VenusBorrowState is a free data retrieval call binding the contract method 0xe37d4b79.

Solidity: function venusBorrowState(address ) view returns(uint224 index, uint32 block)

func (*VenusComprollerCaller) VenusBorrowerIndex

func (_VenusComproller *VenusComprollerCaller) VenusBorrowerIndex(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

VenusBorrowerIndex is a free data retrieval call binding the contract method 0x08e0225c.

Solidity: function venusBorrowerIndex(address , address ) view returns(uint256)

func (*VenusComprollerCaller) VenusContributorSpeeds

func (_VenusComproller *VenusComprollerCaller) VenusContributorSpeeds(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

VenusContributorSpeeds is a free data retrieval call binding the contract method 0xa9046134.

Solidity: function venusContributorSpeeds(address ) view returns(uint256)

func (*VenusComprollerCaller) VenusInitialIndex

func (_VenusComproller *VenusComprollerCaller) VenusInitialIndex(opts *bind.CallOpts) (*big.Int, error)

VenusInitialIndex is a free data retrieval call binding the contract method 0xc5b4db55.

Solidity: function venusInitialIndex() view returns(uint224)

func (*VenusComprollerCaller) VenusRate

func (_VenusComproller *VenusComprollerCaller) VenusRate(opts *bind.CallOpts) (*big.Int, error)

VenusRate is a free data retrieval call binding the contract method 0x879c2e1d.

Solidity: function venusRate() view returns(uint256)

func (*VenusComprollerCaller) VenusSpeeds

func (_VenusComproller *VenusComprollerCaller) VenusSpeeds(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

VenusSpeeds is a free data retrieval call binding the contract method 0x1abcaa77.

Solidity: function venusSpeeds(address ) view returns(uint256)

func (*VenusComprollerCaller) VenusSupplierIndex

func (_VenusComproller *VenusComprollerCaller) VenusSupplierIndex(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

VenusSupplierIndex is a free data retrieval call binding the contract method 0x41a18d2c.

Solidity: function venusSupplierIndex(address , address ) view returns(uint256)

func (*VenusComprollerCaller) VenusSupplyState

func (_VenusComproller *VenusComprollerCaller) VenusSupplyState(opts *bind.CallOpts, arg0 common.Address) (struct {
	Index *big.Int
	Block uint32
}, error)

VenusSupplyState is a free data retrieval call binding the contract method 0xb8324c7c.

Solidity: function venusSupplyState(address ) view returns(uint224 index, uint32 block)

func (*VenusComprollerCaller) VenusVAIRate

func (_VenusComproller *VenusComprollerCaller) VenusVAIRate(opts *bind.CallOpts) (*big.Int, error)

VenusVAIRate is a free data retrieval call binding the contract method 0x399cc80c.

Solidity: function venusVAIRate() view returns(uint256)

func (*VenusComprollerCaller) VenusVAIVaultRate

func (_VenusComproller *VenusComprollerCaller) VenusVAIVaultRate(opts *bind.CallOpts) (*big.Int, error)

VenusVAIVaultRate is a free data retrieval call binding the contract method 0xfa6331d8.

Solidity: function venusVAIVaultRate() view returns(uint256)

type VenusComprollerCallerRaw

type VenusComprollerCallerRaw struct {
	Contract *VenusComprollerCaller // Generic read-only contract binding to access the raw methods on
}

VenusComprollerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*VenusComprollerCallerRaw) Call

func (_VenusComproller *VenusComprollerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type VenusComprollerCallerSession

type VenusComprollerCallerSession struct {
	Contract *VenusComprollerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts          // Call options to use throughout this session
}

VenusComprollerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*VenusComprollerCallerSession) AccountAssets

func (_VenusComproller *VenusComprollerCallerSession) AccountAssets(arg0 common.Address, arg1 *big.Int) (common.Address, error)

AccountAssets is a free data retrieval call binding the contract method 0xdce15449.

Solidity: function accountAssets(address , uint256 ) view returns(address)

func (*VenusComprollerCallerSession) Admin

func (_VenusComproller *VenusComprollerCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*VenusComprollerCallerSession) AllMarkets

func (_VenusComproller *VenusComprollerCallerSession) AllMarkets(arg0 *big.Int) (common.Address, error)

AllMarkets is a free data retrieval call binding the contract method 0x52d84d1e.

Solidity: function allMarkets(uint256 ) view returns(address)

func (*VenusComprollerCallerSession) BorrowCapGuardian

func (_VenusComproller *VenusComprollerCallerSession) BorrowCapGuardian() (common.Address, error)

BorrowCapGuardian is a free data retrieval call binding the contract method 0x21af4569.

Solidity: function borrowCapGuardian() view returns(address)

func (*VenusComprollerCallerSession) BorrowCaps

func (_VenusComproller *VenusComprollerCallerSession) BorrowCaps(arg0 common.Address) (*big.Int, error)

BorrowCaps is a free data retrieval call binding the contract method 0x4a584432.

Solidity: function borrowCaps(address ) view returns(uint256)

func (*VenusComprollerCallerSession) BorrowGuardianPaused

func (_VenusComproller *VenusComprollerCallerSession) BorrowGuardianPaused() (bool, error)

BorrowGuardianPaused is a free data retrieval call binding the contract method 0xe6653f3d.

Solidity: function _borrowGuardianPaused() view returns(bool)

func (*VenusComprollerCallerSession) CheckMembership

func (_VenusComproller *VenusComprollerCallerSession) CheckMembership(account common.Address, vToken common.Address) (bool, error)

CheckMembership is a free data retrieval call binding the contract method 0x929fe9a1.

Solidity: function checkMembership(address account, address vToken) view returns(bool)

func (*VenusComprollerCallerSession) CloseFactorMantissa

func (_VenusComproller *VenusComprollerCallerSession) CloseFactorMantissa() (*big.Int, error)

CloseFactorMantissa is a free data retrieval call binding the contract method 0xe8755446.

Solidity: function closeFactorMantissa() view returns(uint256)

func (*VenusComprollerCallerSession) ComptrollerImplementation

func (_VenusComproller *VenusComprollerCallerSession) ComptrollerImplementation() (common.Address, error)

ComptrollerImplementation is a free data retrieval call binding the contract method 0xbb82aa5e.

Solidity: function comptrollerImplementation() view returns(address)

func (*VenusComprollerCallerSession) ComptrollerLens

func (_VenusComproller *VenusComprollerCallerSession) ComptrollerLens() (common.Address, error)

ComptrollerLens is a free data retrieval call binding the contract method 0xd3270f99.

Solidity: function comptrollerLens() view returns(address)

func (*VenusComprollerCallerSession) GetAccountLiquidity

func (_VenusComproller *VenusComprollerCallerSession) GetAccountLiquidity(account common.Address) (*big.Int, *big.Int, *big.Int, error)

GetAccountLiquidity is a free data retrieval call binding the contract method 0x5ec88c79.

Solidity: function getAccountLiquidity(address account) view returns(uint256, uint256, uint256)

func (*VenusComprollerCallerSession) GetAllMarkets

func (_VenusComproller *VenusComprollerCallerSession) GetAllMarkets() ([]common.Address, error)

GetAllMarkets is a free data retrieval call binding the contract method 0xb0772d0b.

Solidity: function getAllMarkets() view returns(address[])

func (*VenusComprollerCallerSession) GetAssetsIn

func (_VenusComproller *VenusComprollerCallerSession) GetAssetsIn(account common.Address) ([]common.Address, error)

GetAssetsIn is a free data retrieval call binding the contract method 0xabfceffc.

Solidity: function getAssetsIn(address account) view returns(address[])

func (*VenusComprollerCallerSession) GetBlockNumber

func (_VenusComproller *VenusComprollerCallerSession) GetBlockNumber() (*big.Int, error)

GetBlockNumber is a free data retrieval call binding the contract method 0x42cbb15c.

Solidity: function getBlockNumber() view returns(uint256)

func (*VenusComprollerCallerSession) GetHypotheticalAccountLiquidity

func (_VenusComproller *VenusComprollerCallerSession) GetHypotheticalAccountLiquidity(account common.Address, vTokenModify common.Address, redeemTokens *big.Int, borrowAmount *big.Int) (*big.Int, *big.Int, *big.Int, error)

GetHypotheticalAccountLiquidity is a free data retrieval call binding the contract method 0x4e79238f.

Solidity: function getHypotheticalAccountLiquidity(address account, address vTokenModify, uint256 redeemTokens, uint256 borrowAmount) view returns(uint256, uint256, uint256)

func (*VenusComprollerCallerSession) GetXVSAddress

func (_VenusComproller *VenusComprollerCallerSession) GetXVSAddress() (common.Address, error)

GetXVSAddress is a free data retrieval call binding the contract method 0xbf32442d.

Solidity: function getXVSAddress() view returns(address)

func (*VenusComprollerCallerSession) GetXVSVTokenAddress

func (_VenusComproller *VenusComprollerCallerSession) GetXVSVTokenAddress() (common.Address, error)

GetXVSVTokenAddress is a free data retrieval call binding the contract method 0xededbae6.

Solidity: function getXVSVTokenAddress() view returns(address)

func (*VenusComprollerCallerSession) IsComptroller

func (_VenusComproller *VenusComprollerCallerSession) IsComptroller() (bool, error)

IsComptroller is a free data retrieval call binding the contract method 0x007e3dd2.

Solidity: function isComptroller() view returns(bool)

func (*VenusComprollerCallerSession) LastContributorBlock

func (_VenusComproller *VenusComprollerCallerSession) LastContributorBlock(arg0 common.Address) (*big.Int, error)

LastContributorBlock is a free data retrieval call binding the contract method 0xbea6b8b8.

Solidity: function lastContributorBlock(address ) view returns(uint256)

func (*VenusComprollerCallerSession) LiquidateCalculateSeizeTokens

func (_VenusComproller *VenusComprollerCallerSession) LiquidateCalculateSeizeTokens(vTokenBorrowed common.Address, vTokenCollateral common.Address, actualRepayAmount *big.Int) (*big.Int, *big.Int, error)

LiquidateCalculateSeizeTokens is a free data retrieval call binding the contract method 0xc488847b.

Solidity: function liquidateCalculateSeizeTokens(address vTokenBorrowed, address vTokenCollateral, uint256 actualRepayAmount) view returns(uint256, uint256)

func (*VenusComprollerCallerSession) LiquidateVAICalculateSeizeTokens

func (_VenusComproller *VenusComprollerCallerSession) LiquidateVAICalculateSeizeTokens(vTokenCollateral common.Address, actualRepayAmount *big.Int) (*big.Int, *big.Int, error)

LiquidateVAICalculateSeizeTokens is a free data retrieval call binding the contract method 0xa78dc775.

Solidity: function liquidateVAICalculateSeizeTokens(address vTokenCollateral, uint256 actualRepayAmount) view returns(uint256, uint256)

func (*VenusComprollerCallerSession) LiquidationIncentiveMantissa

func (_VenusComproller *VenusComprollerCallerSession) LiquidationIncentiveMantissa() (*big.Int, error)

LiquidationIncentiveMantissa is a free data retrieval call binding the contract method 0x4ada90af.

Solidity: function liquidationIncentiveMantissa() view returns(uint256)

func (*VenusComprollerCallerSession) LiquidatorContract

func (_VenusComproller *VenusComprollerCallerSession) LiquidatorContract() (common.Address, error)

LiquidatorContract is a free data retrieval call binding the contract method 0x9bb27d62.

Solidity: function liquidatorContract() view returns(address)

func (*VenusComprollerCallerSession) Markets

func (_VenusComproller *VenusComprollerCallerSession) Markets(arg0 common.Address) (struct {
	IsListed                 bool
	CollateralFactorMantissa *big.Int
	IsVenus                  bool
}, error)

Markets is a free data retrieval call binding the contract method 0x8e8f294b.

Solidity: function markets(address ) view returns(bool isListed, uint256 collateralFactorMantissa, bool isVenus)

func (*VenusComprollerCallerSession) MaxAssets

func (_VenusComproller *VenusComprollerCallerSession) MaxAssets() (*big.Int, error)

MaxAssets is a free data retrieval call binding the contract method 0x94b2294b.

Solidity: function maxAssets() view returns(uint256)

func (*VenusComprollerCallerSession) MinReleaseAmount

func (_VenusComproller *VenusComprollerCallerSession) MinReleaseAmount() (*big.Int, error)

MinReleaseAmount is a free data retrieval call binding the contract method 0x0db4b4e5.

Solidity: function minReleaseAmount() view returns(uint256)

func (*VenusComprollerCallerSession) MintGuardianPaused

func (_VenusComproller *VenusComprollerCallerSession) MintGuardianPaused(arg0 common.Address) (bool, error)

MintGuardianPaused is a free data retrieval call binding the contract method 0x731f0c2b.

Solidity: function mintGuardianPaused(address ) view returns(bool)

func (*VenusComprollerCallerSession) MintVAIGuardianPaused

func (_VenusComproller *VenusComprollerCallerSession) MintVAIGuardianPaused() (bool, error)

MintVAIGuardianPaused is a free data retrieval call binding the contract method 0x4088c73e.

Solidity: function mintVAIGuardianPaused() view returns(bool)

func (*VenusComprollerCallerSession) MintedVAIs

func (_VenusComproller *VenusComprollerCallerSession) MintedVAIs(arg0 common.Address) (*big.Int, error)

MintedVAIs is a free data retrieval call binding the contract method 0x2bc7e29e.

Solidity: function mintedVAIs(address ) view returns(uint256)

func (*VenusComprollerCallerSession) Oracle

func (_VenusComproller *VenusComprollerCallerSession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*VenusComprollerCallerSession) PauseGuardian

func (_VenusComproller *VenusComprollerCallerSession) PauseGuardian() (common.Address, error)

PauseGuardian is a free data retrieval call binding the contract method 0x24a3d622.

Solidity: function pauseGuardian() view returns(address)

func (*VenusComprollerCallerSession) PendingAdmin

func (_VenusComproller *VenusComprollerCallerSession) PendingAdmin() (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

func (*VenusComprollerCallerSession) PendingComptrollerImplementation

func (_VenusComproller *VenusComprollerCallerSession) PendingComptrollerImplementation() (common.Address, error)

PendingComptrollerImplementation is a free data retrieval call binding the contract method 0xdcfbc0c7.

Solidity: function pendingComptrollerImplementation() view returns(address)

func (*VenusComprollerCallerSession) ProtocolPaused

func (_VenusComproller *VenusComprollerCallerSession) ProtocolPaused() (bool, error)

ProtocolPaused is a free data retrieval call binding the contract method 0x425fad58.

Solidity: function protocolPaused() view returns(bool)

func (*VenusComprollerCallerSession) ReleaseStartBlock

func (_VenusComproller *VenusComprollerCallerSession) ReleaseStartBlock() (*big.Int, error)

ReleaseStartBlock is a free data retrieval call binding the contract method 0x719f701b.

Solidity: function releaseStartBlock() view returns(uint256)

func (*VenusComprollerCallerSession) RepayVAIGuardianPaused

func (_VenusComproller *VenusComprollerCallerSession) RepayVAIGuardianPaused() (bool, error)

RepayVAIGuardianPaused is a free data retrieval call binding the contract method 0x76551383.

Solidity: function repayVAIGuardianPaused() view returns(bool)

func (*VenusComprollerCallerSession) SeizeGuardianPaused

func (_VenusComproller *VenusComprollerCallerSession) SeizeGuardianPaused() (bool, error)

SeizeGuardianPaused is a free data retrieval call binding the contract method 0xac0b0bb7.

Solidity: function seizeGuardianPaused() view returns(bool)

func (*VenusComprollerCallerSession) TransferGuardianPaused

func (_VenusComproller *VenusComprollerCallerSession) TransferGuardianPaused() (bool, error)

TransferGuardianPaused is a free data retrieval call binding the contract method 0x87f76303.

Solidity: function transferGuardianPaused() view returns(bool)

func (*VenusComprollerCallerSession) TreasuryAddress

func (_VenusComproller *VenusComprollerCallerSession) TreasuryAddress() (common.Address, error)

TreasuryAddress is a free data retrieval call binding the contract method 0xc5f956af.

Solidity: function treasuryAddress() view returns(address)

func (*VenusComprollerCallerSession) TreasuryGuardian

func (_VenusComproller *VenusComprollerCallerSession) TreasuryGuardian() (common.Address, error)

TreasuryGuardian is a free data retrieval call binding the contract method 0xb2eafc39.

Solidity: function treasuryGuardian() view returns(address)

func (*VenusComprollerCallerSession) TreasuryPercent

func (_VenusComproller *VenusComprollerCallerSession) TreasuryPercent() (*big.Int, error)

TreasuryPercent is a free data retrieval call binding the contract method 0x04ef9d58.

Solidity: function treasuryPercent() view returns(uint256)

func (*VenusComprollerCallerSession) VaiController

func (_VenusComproller *VenusComprollerCallerSession) VaiController() (common.Address, error)

VaiController is a free data retrieval call binding the contract method 0x9254f5e5.

Solidity: function vaiController() view returns(address)

func (*VenusComprollerCallerSession) VaiMintRate

func (_VenusComproller *VenusComprollerCallerSession) VaiMintRate() (*big.Int, error)

VaiMintRate is a free data retrieval call binding the contract method 0xbec04f72.

Solidity: function vaiMintRate() view returns(uint256)

func (*VenusComprollerCallerSession) VaiVaultAddress

func (_VenusComproller *VenusComprollerCallerSession) VaiVaultAddress() (common.Address, error)

VaiVaultAddress is a free data retrieval call binding the contract method 0x7d172bd5.

Solidity: function vaiVaultAddress() view returns(address)

func (*VenusComprollerCallerSession) VenusAccrued

func (_VenusComproller *VenusComprollerCallerSession) VenusAccrued(arg0 common.Address) (*big.Int, error)

VenusAccrued is a free data retrieval call binding the contract method 0x8a7dc165.

Solidity: function venusAccrued(address ) view returns(uint256)

func (*VenusComprollerCallerSession) VenusBorrowState

func (_VenusComproller *VenusComprollerCallerSession) VenusBorrowState(arg0 common.Address) (struct {
	Index *big.Int
	Block uint32
}, error)

VenusBorrowState is a free data retrieval call binding the contract method 0xe37d4b79.

Solidity: function venusBorrowState(address ) view returns(uint224 index, uint32 block)

func (*VenusComprollerCallerSession) VenusBorrowerIndex

func (_VenusComproller *VenusComprollerCallerSession) VenusBorrowerIndex(arg0 common.Address, arg1 common.Address) (*big.Int, error)

VenusBorrowerIndex is a free data retrieval call binding the contract method 0x08e0225c.

Solidity: function venusBorrowerIndex(address , address ) view returns(uint256)

func (*VenusComprollerCallerSession) VenusContributorSpeeds

func (_VenusComproller *VenusComprollerCallerSession) VenusContributorSpeeds(arg0 common.Address) (*big.Int, error)

VenusContributorSpeeds is a free data retrieval call binding the contract method 0xa9046134.

Solidity: function venusContributorSpeeds(address ) view returns(uint256)

func (*VenusComprollerCallerSession) VenusInitialIndex

func (_VenusComproller *VenusComprollerCallerSession) VenusInitialIndex() (*big.Int, error)

VenusInitialIndex is a free data retrieval call binding the contract method 0xc5b4db55.

Solidity: function venusInitialIndex() view returns(uint224)

func (*VenusComprollerCallerSession) VenusRate

func (_VenusComproller *VenusComprollerCallerSession) VenusRate() (*big.Int, error)

VenusRate is a free data retrieval call binding the contract method 0x879c2e1d.

Solidity: function venusRate() view returns(uint256)

func (*VenusComprollerCallerSession) VenusSpeeds

func (_VenusComproller *VenusComprollerCallerSession) VenusSpeeds(arg0 common.Address) (*big.Int, error)

VenusSpeeds is a free data retrieval call binding the contract method 0x1abcaa77.

Solidity: function venusSpeeds(address ) view returns(uint256)

func (*VenusComprollerCallerSession) VenusSupplierIndex

func (_VenusComproller *VenusComprollerCallerSession) VenusSupplierIndex(arg0 common.Address, arg1 common.Address) (*big.Int, error)

VenusSupplierIndex is a free data retrieval call binding the contract method 0x41a18d2c.

Solidity: function venusSupplierIndex(address , address ) view returns(uint256)

func (*VenusComprollerCallerSession) VenusSupplyState

func (_VenusComproller *VenusComprollerCallerSession) VenusSupplyState(arg0 common.Address) (struct {
	Index *big.Int
	Block uint32
}, error)

VenusSupplyState is a free data retrieval call binding the contract method 0xb8324c7c.

Solidity: function venusSupplyState(address ) view returns(uint224 index, uint32 block)

func (*VenusComprollerCallerSession) VenusVAIRate

func (_VenusComproller *VenusComprollerCallerSession) VenusVAIRate() (*big.Int, error)

VenusVAIRate is a free data retrieval call binding the contract method 0x399cc80c.

Solidity: function venusVAIRate() view returns(uint256)

func (*VenusComprollerCallerSession) VenusVAIVaultRate

func (_VenusComproller *VenusComprollerCallerSession) VenusVAIVaultRate() (*big.Int, error)

VenusVAIVaultRate is a free data retrieval call binding the contract method 0xfa6331d8.

Solidity: function venusVAIVaultRate() view returns(uint256)

type VenusComprollerDistributedBorrowerVenus

type VenusComprollerDistributedBorrowerVenus struct {
	VToken           common.Address
	Borrower         common.Address
	VenusDelta       *big.Int
	VenusBorrowIndex *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

VenusComprollerDistributedBorrowerVenus represents a DistributedBorrowerVenus event raised by the VenusComproller contract.

type VenusComprollerDistributedBorrowerVenusIterator

type VenusComprollerDistributedBorrowerVenusIterator struct {
	Event *VenusComprollerDistributedBorrowerVenus // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerDistributedBorrowerVenusIterator is returned from FilterDistributedBorrowerVenus and is used to iterate over the raw logs and unpacked data for DistributedBorrowerVenus events raised by the VenusComproller contract.

func (*VenusComprollerDistributedBorrowerVenusIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerDistributedBorrowerVenusIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerDistributedBorrowerVenusIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerDistributedSupplierVenus

type VenusComprollerDistributedSupplierVenus struct {
	VToken           common.Address
	Supplier         common.Address
	VenusDelta       *big.Int
	VenusSupplyIndex *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

VenusComprollerDistributedSupplierVenus represents a DistributedSupplierVenus event raised by the VenusComproller contract.

type VenusComprollerDistributedSupplierVenusIterator

type VenusComprollerDistributedSupplierVenusIterator struct {
	Event *VenusComprollerDistributedSupplierVenus // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerDistributedSupplierVenusIterator is returned from FilterDistributedSupplierVenus and is used to iterate over the raw logs and unpacked data for DistributedSupplierVenus events raised by the VenusComproller contract.

func (*VenusComprollerDistributedSupplierVenusIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerDistributedSupplierVenusIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerDistributedSupplierVenusIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerDistributedVAIMinterVenus

type VenusComprollerDistributedVAIMinterVenus struct {
	VaiMinter         common.Address
	VenusDelta        *big.Int
	VenusVAIMintIndex *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

VenusComprollerDistributedVAIMinterVenus represents a DistributedVAIMinterVenus event raised by the VenusComproller contract.

type VenusComprollerDistributedVAIMinterVenusIterator

type VenusComprollerDistributedVAIMinterVenusIterator struct {
	Event *VenusComprollerDistributedVAIMinterVenus // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerDistributedVAIMinterVenusIterator is returned from FilterDistributedVAIMinterVenus and is used to iterate over the raw logs and unpacked data for DistributedVAIMinterVenus events raised by the VenusComproller contract.

func (*VenusComprollerDistributedVAIMinterVenusIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerDistributedVAIMinterVenusIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerDistributedVAIMinterVenusIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerDistributedVAIVaultVenus

type VenusComprollerDistributedVAIVaultVenus struct {
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

VenusComprollerDistributedVAIVaultVenus represents a DistributedVAIVaultVenus event raised by the VenusComproller contract.

type VenusComprollerDistributedVAIVaultVenusIterator

type VenusComprollerDistributedVAIVaultVenusIterator struct {
	Event *VenusComprollerDistributedVAIVaultVenus // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerDistributedVAIVaultVenusIterator is returned from FilterDistributedVAIVaultVenus and is used to iterate over the raw logs and unpacked data for DistributedVAIVaultVenus events raised by the VenusComproller contract.

func (*VenusComprollerDistributedVAIVaultVenusIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerDistributedVAIVaultVenusIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerDistributedVAIVaultVenusIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerFailure

type VenusComprollerFailure struct {
	Error  *big.Int
	Info   *big.Int
	Detail *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

VenusComprollerFailure represents a Failure event raised by the VenusComproller contract.

type VenusComprollerFailureIterator

type VenusComprollerFailureIterator struct {
	Event *VenusComprollerFailure // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerFailureIterator is returned from FilterFailure and is used to iterate over the raw logs and unpacked data for Failure events raised by the VenusComproller contract.

func (*VenusComprollerFailureIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerFailureIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerFailureIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerFilterer

type VenusComprollerFilterer struct {
	// contains filtered or unexported fields
}

VenusComprollerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewVenusComprollerFilterer

func NewVenusComprollerFilterer(address common.Address, filterer bind.ContractFilterer) (*VenusComprollerFilterer, error)

NewVenusComprollerFilterer creates a new log filterer instance of VenusComproller, bound to a specific deployed contract.

func (*VenusComprollerFilterer) FilterActionPaused

func (_VenusComproller *VenusComprollerFilterer) FilterActionPaused(opts *bind.FilterOpts) (*VenusComprollerActionPausedIterator, error)

FilterActionPaused is a free log retrieval operation binding the contract event 0xef159d9a32b2472e32b098f954f3ce62d232939f1c207070b584df1814de2de0.

Solidity: event ActionPaused(string action, bool pauseState)

func (*VenusComprollerFilterer) FilterActionPausedMarket

func (_VenusComproller *VenusComprollerFilterer) FilterActionPausedMarket(opts *bind.FilterOpts) (*VenusComprollerActionPausedMarketIterator, error)

FilterActionPausedMarket is a free log retrieval operation binding the contract event 0xae9bd19d6b7dcb722457462ed82420131e5740c4283e4f5b0c8332e96becd556.

Solidity: event ActionPausedMarket(address vToken, string action, bool pauseState)

func (*VenusComprollerFilterer) FilterActionProtocolPaused

func (_VenusComproller *VenusComprollerFilterer) FilterActionProtocolPaused(opts *bind.FilterOpts) (*VenusComprollerActionProtocolPausedIterator, error)

FilterActionProtocolPaused is a free log retrieval operation binding the contract event 0xd7500633dd3ddd74daa7af62f8c8404c7fe4a81da179998db851696bed004b38.

Solidity: event ActionProtocolPaused(bool state)

func (*VenusComprollerFilterer) FilterDistributedBorrowerVenus

func (_VenusComproller *VenusComprollerFilterer) FilterDistributedBorrowerVenus(opts *bind.FilterOpts, vToken []common.Address, borrower []common.Address) (*VenusComprollerDistributedBorrowerVenusIterator, error)

FilterDistributedBorrowerVenus is a free log retrieval operation binding the contract event 0x837bdc11fca9f17ce44167944475225a205279b17e88c791c3b1f66f354668fb.

Solidity: event DistributedBorrowerVenus(address indexed vToken, address indexed borrower, uint256 venusDelta, uint256 venusBorrowIndex)

func (*VenusComprollerFilterer) FilterDistributedSupplierVenus

func (_VenusComproller *VenusComprollerFilterer) FilterDistributedSupplierVenus(opts *bind.FilterOpts, vToken []common.Address, supplier []common.Address) (*VenusComprollerDistributedSupplierVenusIterator, error)

FilterDistributedSupplierVenus is a free log retrieval operation binding the contract event 0xfa9d964d891991c113b49e3db1932abd6c67263d387119707aafdd6c4010a3a9.

Solidity: event DistributedSupplierVenus(address indexed vToken, address indexed supplier, uint256 venusDelta, uint256 venusSupplyIndex)

func (*VenusComprollerFilterer) FilterDistributedVAIMinterVenus

func (_VenusComproller *VenusComprollerFilterer) FilterDistributedVAIMinterVenus(opts *bind.FilterOpts, vaiMinter []common.Address) (*VenusComprollerDistributedVAIMinterVenusIterator, error)

FilterDistributedVAIMinterVenus is a free log retrieval operation binding the contract event 0x2fb3baf25f3d9fc9f9eb9dfd7da8567731a91413437d91bc1b8a839d0a1ba88f.

Solidity: event DistributedVAIMinterVenus(address indexed vaiMinter, uint256 venusDelta, uint256 venusVAIMintIndex)

func (*VenusComprollerFilterer) FilterDistributedVAIVaultVenus

func (_VenusComproller *VenusComprollerFilterer) FilterDistributedVAIVaultVenus(opts *bind.FilterOpts) (*VenusComprollerDistributedVAIVaultVenusIterator, error)

FilterDistributedVAIVaultVenus is a free log retrieval operation binding the contract event 0xf6d4b8f74d85a6e2d7a50225957b8a6cfec69ad92f5905627260541aa0a5565d.

Solidity: event DistributedVAIVaultVenus(uint256 amount)

func (*VenusComprollerFilterer) FilterFailure

func (_VenusComproller *VenusComprollerFilterer) FilterFailure(opts *bind.FilterOpts) (*VenusComprollerFailureIterator, error)

FilterFailure is a free log retrieval operation binding the contract event 0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0.

Solidity: event Failure(uint256 error, uint256 info, uint256 detail)

func (*VenusComprollerFilterer) FilterMarketEntered

func (_VenusComproller *VenusComprollerFilterer) FilterMarketEntered(opts *bind.FilterOpts) (*VenusComprollerMarketEnteredIterator, error)

FilterMarketEntered is a free log retrieval operation binding the contract event 0x3ab23ab0d51cccc0c3085aec51f99228625aa1a922b3a8ca89a26b0f2027a1a5.

Solidity: event MarketEntered(address vToken, address account)

func (*VenusComprollerFilterer) FilterMarketExited

func (_VenusComproller *VenusComprollerFilterer) FilterMarketExited(opts *bind.FilterOpts) (*VenusComprollerMarketExitedIterator, error)

FilterMarketExited is a free log retrieval operation binding the contract event 0xe699a64c18b07ac5b7301aa273f36a2287239eb9501d81950672794afba29a0d.

Solidity: event MarketExited(address vToken, address account)

func (*VenusComprollerFilterer) FilterMarketListed

func (_VenusComproller *VenusComprollerFilterer) FilterMarketListed(opts *bind.FilterOpts) (*VenusComprollerMarketListedIterator, error)

FilterMarketListed is a free log retrieval operation binding the contract event 0xcf583bb0c569eb967f806b11601c4cb93c10310485c67add5f8362c2f212321f.

Solidity: event MarketListed(address vToken)

func (*VenusComprollerFilterer) FilterNewBorrowCap

func (_VenusComproller *VenusComprollerFilterer) FilterNewBorrowCap(opts *bind.FilterOpts, vToken []common.Address) (*VenusComprollerNewBorrowCapIterator, error)

FilterNewBorrowCap is a free log retrieval operation binding the contract event 0x6f1951b2aad10f3fc81b86d91105b413a5b3f847a34bbc5ce1904201b14438f6.

Solidity: event NewBorrowCap(address indexed vToken, uint256 newBorrowCap)

func (*VenusComprollerFilterer) FilterNewBorrowCapGuardian

func (_VenusComproller *VenusComprollerFilterer) FilterNewBorrowCapGuardian(opts *bind.FilterOpts) (*VenusComprollerNewBorrowCapGuardianIterator, error)

FilterNewBorrowCapGuardian is a free log retrieval operation binding the contract event 0xeda98690e518e9a05f8ec6837663e188211b2da8f4906648b323f2c1d4434e29.

Solidity: event NewBorrowCapGuardian(address oldBorrowCapGuardian, address newBorrowCapGuardian)

func (*VenusComprollerFilterer) FilterNewCloseFactor

func (_VenusComproller *VenusComprollerFilterer) FilterNewCloseFactor(opts *bind.FilterOpts) (*VenusComprollerNewCloseFactorIterator, error)

FilterNewCloseFactor is a free log retrieval operation binding the contract event 0x3b9670cf975d26958e754b57098eaa2ac914d8d2a31b83257997b9f346110fd9.

Solidity: event NewCloseFactor(uint256 oldCloseFactorMantissa, uint256 newCloseFactorMantissa)

func (*VenusComprollerFilterer) FilterNewCollateralFactor

func (_VenusComproller *VenusComprollerFilterer) FilterNewCollateralFactor(opts *bind.FilterOpts) (*VenusComprollerNewCollateralFactorIterator, error)

FilterNewCollateralFactor is a free log retrieval operation binding the contract event 0x70483e6592cd5182d45ac970e05bc62cdcc90e9d8ef2c2dbe686cf383bcd7fc5.

Solidity: event NewCollateralFactor(address vToken, uint256 oldCollateralFactorMantissa, uint256 newCollateralFactorMantissa)

func (*VenusComprollerFilterer) FilterNewComptrollerLens

func (_VenusComproller *VenusComprollerFilterer) FilterNewComptrollerLens(opts *bind.FilterOpts) (*VenusComprollerNewComptrollerLensIterator, error)

FilterNewComptrollerLens is a free log retrieval operation binding the contract event 0x0f7eb572d1b3053a0a3a33c04151364cf88d163182a5e4e1088cb8e52321e08a.

Solidity: event NewComptrollerLens(address oldComptrollerLens, address newComptrollerLens)

func (*VenusComprollerFilterer) FilterNewLiquidationIncentive

func (_VenusComproller *VenusComprollerFilterer) FilterNewLiquidationIncentive(opts *bind.FilterOpts) (*VenusComprollerNewLiquidationIncentiveIterator, error)

FilterNewLiquidationIncentive is a free log retrieval operation binding the contract event 0xaeba5a6c40a8ac138134bff1aaa65debf25971188a58804bad717f82f0ec1316.

Solidity: event NewLiquidationIncentive(uint256 oldLiquidationIncentiveMantissa, uint256 newLiquidationIncentiveMantissa)

func (*VenusComprollerFilterer) FilterNewLiquidatorContract

func (_VenusComproller *VenusComprollerFilterer) FilterNewLiquidatorContract(opts *bind.FilterOpts) (*VenusComprollerNewLiquidatorContractIterator, error)

FilterNewLiquidatorContract is a free log retrieval operation binding the contract event 0xa5ea5616d5f6dbbaa62fdfcf3856723216eed485c394d9e51ec8e6d40e1d1ac1.

Solidity: event NewLiquidatorContract(address oldLiquidatorContract, address newLiquidatorContract)

func (*VenusComprollerFilterer) FilterNewPauseGuardian

func (_VenusComproller *VenusComprollerFilterer) FilterNewPauseGuardian(opts *bind.FilterOpts) (*VenusComprollerNewPauseGuardianIterator, error)

FilterNewPauseGuardian is a free log retrieval operation binding the contract event 0x0613b6ee6a04f0d09f390e4d9318894b9f6ac7fd83897cd8d18896ba579c401e.

Solidity: event NewPauseGuardian(address oldPauseGuardian, address newPauseGuardian)

func (*VenusComprollerFilterer) FilterNewPriceOracle

func (_VenusComproller *VenusComprollerFilterer) FilterNewPriceOracle(opts *bind.FilterOpts) (*VenusComprollerNewPriceOracleIterator, error)

FilterNewPriceOracle is a free log retrieval operation binding the contract event 0xd52b2b9b7e9ee655fcb95d2e5b9e0c9f69e7ef2b8e9d2d0ea78402d576d22e22.

Solidity: event NewPriceOracle(address oldPriceOracle, address newPriceOracle)

func (*VenusComprollerFilterer) FilterNewTreasuryAddress

func (_VenusComproller *VenusComprollerFilterer) FilterNewTreasuryAddress(opts *bind.FilterOpts) (*VenusComprollerNewTreasuryAddressIterator, error)

FilterNewTreasuryAddress is a free log retrieval operation binding the contract event 0x8de763046d7b8f08b6c3d03543de1d615309417842bb5d2d62f110f65809ddac.

Solidity: event NewTreasuryAddress(address oldTreasuryAddress, address newTreasuryAddress)

func (*VenusComprollerFilterer) FilterNewTreasuryGuardian

func (_VenusComproller *VenusComprollerFilterer) FilterNewTreasuryGuardian(opts *bind.FilterOpts) (*VenusComprollerNewTreasuryGuardianIterator, error)

FilterNewTreasuryGuardian is a free log retrieval operation binding the contract event 0x29f06ea15931797ebaed313d81d100963dc22cb213cb4ce2737b5a62b1a8b1e8.

Solidity: event NewTreasuryGuardian(address oldTreasuryGuardian, address newTreasuryGuardian)

func (*VenusComprollerFilterer) FilterNewTreasuryPercent

func (_VenusComproller *VenusComprollerFilterer) FilterNewTreasuryPercent(opts *bind.FilterOpts) (*VenusComprollerNewTreasuryPercentIterator, error)

FilterNewTreasuryPercent is a free log retrieval operation binding the contract event 0x0893f8f4101baaabbeb513f96761e7a36eb837403c82cc651c292a4abdc94ed7.

Solidity: event NewTreasuryPercent(uint256 oldTreasuryPercent, uint256 newTreasuryPercent)

func (*VenusComprollerFilterer) FilterNewVAIController

func (_VenusComproller *VenusComprollerFilterer) FilterNewVAIController(opts *bind.FilterOpts) (*VenusComprollerNewVAIControllerIterator, error)

FilterNewVAIController is a free log retrieval operation binding the contract event 0xe1ddcb2dab8e5b03cfc8c67a0d5861d91d16f7bd2612fd381faf4541d212c9b2.

Solidity: event NewVAIController(address oldVAIController, address newVAIController)

func (*VenusComprollerFilterer) FilterNewVAIMintRate

func (_VenusComproller *VenusComprollerFilterer) FilterNewVAIMintRate(opts *bind.FilterOpts) (*VenusComprollerNewVAIMintRateIterator, error)

FilterNewVAIMintRate is a free log retrieval operation binding the contract event 0x73747d68b346dce1e932bcd238282e7ac84c01569e1f8d0469c222fdc6e9d5a4.

Solidity: event NewVAIMintRate(uint256 oldVAIMintRate, uint256 newVAIMintRate)

func (*VenusComprollerFilterer) FilterNewVAIVaultInfo

func (_VenusComproller *VenusComprollerFilterer) FilterNewVAIVaultInfo(opts *bind.FilterOpts) (*VenusComprollerNewVAIVaultInfoIterator, error)

FilterNewVAIVaultInfo is a free log retrieval operation binding the contract event 0x7059037d74ee16b0fb06a4a30f3348dd2635f301f92e373c92899a25a522ef6e.

Solidity: event NewVAIVaultInfo(address vault_, uint256 releaseStartBlock_, uint256 releaseInterval_)

func (*VenusComprollerFilterer) FilterNewVenusVAIRate

func (_VenusComproller *VenusComprollerFilterer) FilterNewVenusVAIRate(opts *bind.FilterOpts) (*VenusComprollerNewVenusVAIRateIterator, error)

FilterNewVenusVAIRate is a free log retrieval operation binding the contract event 0x75c84862cb29e997a2ed3ab3c3db0f5af24a181e6bf58897c5ea676668511c19.

Solidity: event NewVenusVAIRate(uint256 oldVenusVAIRate, uint256 newVenusVAIRate)

func (*VenusComprollerFilterer) FilterNewVenusVAIVaultRate

func (_VenusComproller *VenusComprollerFilterer) FilterNewVenusVAIVaultRate(opts *bind.FilterOpts) (*VenusComprollerNewVenusVAIVaultRateIterator, error)

FilterNewVenusVAIVaultRate is a free log retrieval operation binding the contract event 0xe81d4ac15e5afa1e708e66664eddc697177423d950d133bda8262d8885e6da3b.

Solidity: event NewVenusVAIVaultRate(uint256 oldVenusVAIVaultRate, uint256 newVenusVAIVaultRate)

func (*VenusComprollerFilterer) FilterVenusGranted

func (_VenusComproller *VenusComprollerFilterer) FilterVenusGranted(opts *bind.FilterOpts) (*VenusComprollerVenusGrantedIterator, error)

FilterVenusGranted is a free log retrieval operation binding the contract event 0xd7fe674cac9eee3998fe3cbd7a6f93c3bc70509d97ec1550a59364be6438147e.

Solidity: event VenusGranted(address recipient, uint256 amount)

func (*VenusComprollerFilterer) FilterVenusSpeedUpdated

func (_VenusComproller *VenusComprollerFilterer) FilterVenusSpeedUpdated(opts *bind.FilterOpts, vToken []common.Address) (*VenusComprollerVenusSpeedUpdatedIterator, error)

FilterVenusSpeedUpdated is a free log retrieval operation binding the contract event 0x2a0ce45ba05a83e75ba21e1a10d6b48a8395028cc6e1ae66f6c313648379d548.

Solidity: event VenusSpeedUpdated(address indexed vToken, uint256 newSpeed)

func (*VenusComprollerFilterer) ParseActionPaused

func (_VenusComproller *VenusComprollerFilterer) ParseActionPaused(log types.Log) (*VenusComprollerActionPaused, error)

ParseActionPaused is a log parse operation binding the contract event 0xef159d9a32b2472e32b098f954f3ce62d232939f1c207070b584df1814de2de0.

Solidity: event ActionPaused(string action, bool pauseState)

func (*VenusComprollerFilterer) ParseActionPausedMarket

func (_VenusComproller *VenusComprollerFilterer) ParseActionPausedMarket(log types.Log) (*VenusComprollerActionPausedMarket, error)

ParseActionPausedMarket is a log parse operation binding the contract event 0xae9bd19d6b7dcb722457462ed82420131e5740c4283e4f5b0c8332e96becd556.

Solidity: event ActionPausedMarket(address vToken, string action, bool pauseState)

func (*VenusComprollerFilterer) ParseActionProtocolPaused

func (_VenusComproller *VenusComprollerFilterer) ParseActionProtocolPaused(log types.Log) (*VenusComprollerActionProtocolPaused, error)

ParseActionProtocolPaused is a log parse operation binding the contract event 0xd7500633dd3ddd74daa7af62f8c8404c7fe4a81da179998db851696bed004b38.

Solidity: event ActionProtocolPaused(bool state)

func (*VenusComprollerFilterer) ParseDistributedBorrowerVenus

func (_VenusComproller *VenusComprollerFilterer) ParseDistributedBorrowerVenus(log types.Log) (*VenusComprollerDistributedBorrowerVenus, error)

ParseDistributedBorrowerVenus is a log parse operation binding the contract event 0x837bdc11fca9f17ce44167944475225a205279b17e88c791c3b1f66f354668fb.

Solidity: event DistributedBorrowerVenus(address indexed vToken, address indexed borrower, uint256 venusDelta, uint256 venusBorrowIndex)

func (*VenusComprollerFilterer) ParseDistributedSupplierVenus

func (_VenusComproller *VenusComprollerFilterer) ParseDistributedSupplierVenus(log types.Log) (*VenusComprollerDistributedSupplierVenus, error)

ParseDistributedSupplierVenus is a log parse operation binding the contract event 0xfa9d964d891991c113b49e3db1932abd6c67263d387119707aafdd6c4010a3a9.

Solidity: event DistributedSupplierVenus(address indexed vToken, address indexed supplier, uint256 venusDelta, uint256 venusSupplyIndex)

func (*VenusComprollerFilterer) ParseDistributedVAIMinterVenus

func (_VenusComproller *VenusComprollerFilterer) ParseDistributedVAIMinterVenus(log types.Log) (*VenusComprollerDistributedVAIMinterVenus, error)

ParseDistributedVAIMinterVenus is a log parse operation binding the contract event 0x2fb3baf25f3d9fc9f9eb9dfd7da8567731a91413437d91bc1b8a839d0a1ba88f.

Solidity: event DistributedVAIMinterVenus(address indexed vaiMinter, uint256 venusDelta, uint256 venusVAIMintIndex)

func (*VenusComprollerFilterer) ParseDistributedVAIVaultVenus

func (_VenusComproller *VenusComprollerFilterer) ParseDistributedVAIVaultVenus(log types.Log) (*VenusComprollerDistributedVAIVaultVenus, error)

ParseDistributedVAIVaultVenus is a log parse operation binding the contract event 0xf6d4b8f74d85a6e2d7a50225957b8a6cfec69ad92f5905627260541aa0a5565d.

Solidity: event DistributedVAIVaultVenus(uint256 amount)

func (*VenusComprollerFilterer) ParseFailure

func (_VenusComproller *VenusComprollerFilterer) ParseFailure(log types.Log) (*VenusComprollerFailure, error)

ParseFailure is a log parse operation binding the contract event 0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0.

Solidity: event Failure(uint256 error, uint256 info, uint256 detail)

func (*VenusComprollerFilterer) ParseMarketEntered

func (_VenusComproller *VenusComprollerFilterer) ParseMarketEntered(log types.Log) (*VenusComprollerMarketEntered, error)

ParseMarketEntered is a log parse operation binding the contract event 0x3ab23ab0d51cccc0c3085aec51f99228625aa1a922b3a8ca89a26b0f2027a1a5.

Solidity: event MarketEntered(address vToken, address account)

func (*VenusComprollerFilterer) ParseMarketExited

func (_VenusComproller *VenusComprollerFilterer) ParseMarketExited(log types.Log) (*VenusComprollerMarketExited, error)

ParseMarketExited is a log parse operation binding the contract event 0xe699a64c18b07ac5b7301aa273f36a2287239eb9501d81950672794afba29a0d.

Solidity: event MarketExited(address vToken, address account)

func (*VenusComprollerFilterer) ParseMarketListed

func (_VenusComproller *VenusComprollerFilterer) ParseMarketListed(log types.Log) (*VenusComprollerMarketListed, error)

ParseMarketListed is a log parse operation binding the contract event 0xcf583bb0c569eb967f806b11601c4cb93c10310485c67add5f8362c2f212321f.

Solidity: event MarketListed(address vToken)

func (*VenusComprollerFilterer) ParseNewBorrowCap

func (_VenusComproller *VenusComprollerFilterer) ParseNewBorrowCap(log types.Log) (*VenusComprollerNewBorrowCap, error)

ParseNewBorrowCap is a log parse operation binding the contract event 0x6f1951b2aad10f3fc81b86d91105b413a5b3f847a34bbc5ce1904201b14438f6.

Solidity: event NewBorrowCap(address indexed vToken, uint256 newBorrowCap)

func (*VenusComprollerFilterer) ParseNewBorrowCapGuardian

func (_VenusComproller *VenusComprollerFilterer) ParseNewBorrowCapGuardian(log types.Log) (*VenusComprollerNewBorrowCapGuardian, error)

ParseNewBorrowCapGuardian is a log parse operation binding the contract event 0xeda98690e518e9a05f8ec6837663e188211b2da8f4906648b323f2c1d4434e29.

Solidity: event NewBorrowCapGuardian(address oldBorrowCapGuardian, address newBorrowCapGuardian)

func (*VenusComprollerFilterer) ParseNewCloseFactor

func (_VenusComproller *VenusComprollerFilterer) ParseNewCloseFactor(log types.Log) (*VenusComprollerNewCloseFactor, error)

ParseNewCloseFactor is a log parse operation binding the contract event 0x3b9670cf975d26958e754b57098eaa2ac914d8d2a31b83257997b9f346110fd9.

Solidity: event NewCloseFactor(uint256 oldCloseFactorMantissa, uint256 newCloseFactorMantissa)

func (*VenusComprollerFilterer) ParseNewCollateralFactor

func (_VenusComproller *VenusComprollerFilterer) ParseNewCollateralFactor(log types.Log) (*VenusComprollerNewCollateralFactor, error)

ParseNewCollateralFactor is a log parse operation binding the contract event 0x70483e6592cd5182d45ac970e05bc62cdcc90e9d8ef2c2dbe686cf383bcd7fc5.

Solidity: event NewCollateralFactor(address vToken, uint256 oldCollateralFactorMantissa, uint256 newCollateralFactorMantissa)

func (*VenusComprollerFilterer) ParseNewComptrollerLens

func (_VenusComproller *VenusComprollerFilterer) ParseNewComptrollerLens(log types.Log) (*VenusComprollerNewComptrollerLens, error)

ParseNewComptrollerLens is a log parse operation binding the contract event 0x0f7eb572d1b3053a0a3a33c04151364cf88d163182a5e4e1088cb8e52321e08a.

Solidity: event NewComptrollerLens(address oldComptrollerLens, address newComptrollerLens)

func (*VenusComprollerFilterer) ParseNewLiquidationIncentive

func (_VenusComproller *VenusComprollerFilterer) ParseNewLiquidationIncentive(log types.Log) (*VenusComprollerNewLiquidationIncentive, error)

ParseNewLiquidationIncentive is a log parse operation binding the contract event 0xaeba5a6c40a8ac138134bff1aaa65debf25971188a58804bad717f82f0ec1316.

Solidity: event NewLiquidationIncentive(uint256 oldLiquidationIncentiveMantissa, uint256 newLiquidationIncentiveMantissa)

func (*VenusComprollerFilterer) ParseNewLiquidatorContract

func (_VenusComproller *VenusComprollerFilterer) ParseNewLiquidatorContract(log types.Log) (*VenusComprollerNewLiquidatorContract, error)

ParseNewLiquidatorContract is a log parse operation binding the contract event 0xa5ea5616d5f6dbbaa62fdfcf3856723216eed485c394d9e51ec8e6d40e1d1ac1.

Solidity: event NewLiquidatorContract(address oldLiquidatorContract, address newLiquidatorContract)

func (*VenusComprollerFilterer) ParseNewPauseGuardian

func (_VenusComproller *VenusComprollerFilterer) ParseNewPauseGuardian(log types.Log) (*VenusComprollerNewPauseGuardian, error)

ParseNewPauseGuardian is a log parse operation binding the contract event 0x0613b6ee6a04f0d09f390e4d9318894b9f6ac7fd83897cd8d18896ba579c401e.

Solidity: event NewPauseGuardian(address oldPauseGuardian, address newPauseGuardian)

func (*VenusComprollerFilterer) ParseNewPriceOracle

func (_VenusComproller *VenusComprollerFilterer) ParseNewPriceOracle(log types.Log) (*VenusComprollerNewPriceOracle, error)

ParseNewPriceOracle is a log parse operation binding the contract event 0xd52b2b9b7e9ee655fcb95d2e5b9e0c9f69e7ef2b8e9d2d0ea78402d576d22e22.

Solidity: event NewPriceOracle(address oldPriceOracle, address newPriceOracle)

func (*VenusComprollerFilterer) ParseNewTreasuryAddress

func (_VenusComproller *VenusComprollerFilterer) ParseNewTreasuryAddress(log types.Log) (*VenusComprollerNewTreasuryAddress, error)

ParseNewTreasuryAddress is a log parse operation binding the contract event 0x8de763046d7b8f08b6c3d03543de1d615309417842bb5d2d62f110f65809ddac.

Solidity: event NewTreasuryAddress(address oldTreasuryAddress, address newTreasuryAddress)

func (*VenusComprollerFilterer) ParseNewTreasuryGuardian

func (_VenusComproller *VenusComprollerFilterer) ParseNewTreasuryGuardian(log types.Log) (*VenusComprollerNewTreasuryGuardian, error)

ParseNewTreasuryGuardian is a log parse operation binding the contract event 0x29f06ea15931797ebaed313d81d100963dc22cb213cb4ce2737b5a62b1a8b1e8.

Solidity: event NewTreasuryGuardian(address oldTreasuryGuardian, address newTreasuryGuardian)

func (*VenusComprollerFilterer) ParseNewTreasuryPercent

func (_VenusComproller *VenusComprollerFilterer) ParseNewTreasuryPercent(log types.Log) (*VenusComprollerNewTreasuryPercent, error)

ParseNewTreasuryPercent is a log parse operation binding the contract event 0x0893f8f4101baaabbeb513f96761e7a36eb837403c82cc651c292a4abdc94ed7.

Solidity: event NewTreasuryPercent(uint256 oldTreasuryPercent, uint256 newTreasuryPercent)

func (*VenusComprollerFilterer) ParseNewVAIController

func (_VenusComproller *VenusComprollerFilterer) ParseNewVAIController(log types.Log) (*VenusComprollerNewVAIController, error)

ParseNewVAIController is a log parse operation binding the contract event 0xe1ddcb2dab8e5b03cfc8c67a0d5861d91d16f7bd2612fd381faf4541d212c9b2.

Solidity: event NewVAIController(address oldVAIController, address newVAIController)

func (*VenusComprollerFilterer) ParseNewVAIMintRate

func (_VenusComproller *VenusComprollerFilterer) ParseNewVAIMintRate(log types.Log) (*VenusComprollerNewVAIMintRate, error)

ParseNewVAIMintRate is a log parse operation binding the contract event 0x73747d68b346dce1e932bcd238282e7ac84c01569e1f8d0469c222fdc6e9d5a4.

Solidity: event NewVAIMintRate(uint256 oldVAIMintRate, uint256 newVAIMintRate)

func (*VenusComprollerFilterer) ParseNewVAIVaultInfo

func (_VenusComproller *VenusComprollerFilterer) ParseNewVAIVaultInfo(log types.Log) (*VenusComprollerNewVAIVaultInfo, error)

ParseNewVAIVaultInfo is a log parse operation binding the contract event 0x7059037d74ee16b0fb06a4a30f3348dd2635f301f92e373c92899a25a522ef6e.

Solidity: event NewVAIVaultInfo(address vault_, uint256 releaseStartBlock_, uint256 releaseInterval_)

func (*VenusComprollerFilterer) ParseNewVenusVAIRate

func (_VenusComproller *VenusComprollerFilterer) ParseNewVenusVAIRate(log types.Log) (*VenusComprollerNewVenusVAIRate, error)

ParseNewVenusVAIRate is a log parse operation binding the contract event 0x75c84862cb29e997a2ed3ab3c3db0f5af24a181e6bf58897c5ea676668511c19.

Solidity: event NewVenusVAIRate(uint256 oldVenusVAIRate, uint256 newVenusVAIRate)

func (*VenusComprollerFilterer) ParseNewVenusVAIVaultRate

func (_VenusComproller *VenusComprollerFilterer) ParseNewVenusVAIVaultRate(log types.Log) (*VenusComprollerNewVenusVAIVaultRate, error)

ParseNewVenusVAIVaultRate is a log parse operation binding the contract event 0xe81d4ac15e5afa1e708e66664eddc697177423d950d133bda8262d8885e6da3b.

Solidity: event NewVenusVAIVaultRate(uint256 oldVenusVAIVaultRate, uint256 newVenusVAIVaultRate)

func (*VenusComprollerFilterer) ParseVenusGranted

func (_VenusComproller *VenusComprollerFilterer) ParseVenusGranted(log types.Log) (*VenusComprollerVenusGranted, error)

ParseVenusGranted is a log parse operation binding the contract event 0xd7fe674cac9eee3998fe3cbd7a6f93c3bc70509d97ec1550a59364be6438147e.

Solidity: event VenusGranted(address recipient, uint256 amount)

func (*VenusComprollerFilterer) ParseVenusSpeedUpdated

func (_VenusComproller *VenusComprollerFilterer) ParseVenusSpeedUpdated(log types.Log) (*VenusComprollerVenusSpeedUpdated, error)

ParseVenusSpeedUpdated is a log parse operation binding the contract event 0x2a0ce45ba05a83e75ba21e1a10d6b48a8395028cc6e1ae66f6c313648379d548.

Solidity: event VenusSpeedUpdated(address indexed vToken, uint256 newSpeed)

func (*VenusComprollerFilterer) WatchActionPaused

func (_VenusComproller *VenusComprollerFilterer) WatchActionPaused(opts *bind.WatchOpts, sink chan<- *VenusComprollerActionPaused) (event.Subscription, error)

WatchActionPaused is a free log subscription operation binding the contract event 0xef159d9a32b2472e32b098f954f3ce62d232939f1c207070b584df1814de2de0.

Solidity: event ActionPaused(string action, bool pauseState)

func (*VenusComprollerFilterer) WatchActionPausedMarket

func (_VenusComproller *VenusComprollerFilterer) WatchActionPausedMarket(opts *bind.WatchOpts, sink chan<- *VenusComprollerActionPausedMarket) (event.Subscription, error)

WatchActionPausedMarket is a free log subscription operation binding the contract event 0xae9bd19d6b7dcb722457462ed82420131e5740c4283e4f5b0c8332e96becd556.

Solidity: event ActionPausedMarket(address vToken, string action, bool pauseState)

func (*VenusComprollerFilterer) WatchActionProtocolPaused

func (_VenusComproller *VenusComprollerFilterer) WatchActionProtocolPaused(opts *bind.WatchOpts, sink chan<- *VenusComprollerActionProtocolPaused) (event.Subscription, error)

WatchActionProtocolPaused is a free log subscription operation binding the contract event 0xd7500633dd3ddd74daa7af62f8c8404c7fe4a81da179998db851696bed004b38.

Solidity: event ActionProtocolPaused(bool state)

func (*VenusComprollerFilterer) WatchDistributedBorrowerVenus

func (_VenusComproller *VenusComprollerFilterer) WatchDistributedBorrowerVenus(opts *bind.WatchOpts, sink chan<- *VenusComprollerDistributedBorrowerVenus, vToken []common.Address, borrower []common.Address) (event.Subscription, error)

WatchDistributedBorrowerVenus is a free log subscription operation binding the contract event 0x837bdc11fca9f17ce44167944475225a205279b17e88c791c3b1f66f354668fb.

Solidity: event DistributedBorrowerVenus(address indexed vToken, address indexed borrower, uint256 venusDelta, uint256 venusBorrowIndex)

func (*VenusComprollerFilterer) WatchDistributedSupplierVenus

func (_VenusComproller *VenusComprollerFilterer) WatchDistributedSupplierVenus(opts *bind.WatchOpts, sink chan<- *VenusComprollerDistributedSupplierVenus, vToken []common.Address, supplier []common.Address) (event.Subscription, error)

WatchDistributedSupplierVenus is a free log subscription operation binding the contract event 0xfa9d964d891991c113b49e3db1932abd6c67263d387119707aafdd6c4010a3a9.

Solidity: event DistributedSupplierVenus(address indexed vToken, address indexed supplier, uint256 venusDelta, uint256 venusSupplyIndex)

func (*VenusComprollerFilterer) WatchDistributedVAIMinterVenus

func (_VenusComproller *VenusComprollerFilterer) WatchDistributedVAIMinterVenus(opts *bind.WatchOpts, sink chan<- *VenusComprollerDistributedVAIMinterVenus, vaiMinter []common.Address) (event.Subscription, error)

WatchDistributedVAIMinterVenus is a free log subscription operation binding the contract event 0x2fb3baf25f3d9fc9f9eb9dfd7da8567731a91413437d91bc1b8a839d0a1ba88f.

Solidity: event DistributedVAIMinterVenus(address indexed vaiMinter, uint256 venusDelta, uint256 venusVAIMintIndex)

func (*VenusComprollerFilterer) WatchDistributedVAIVaultVenus

func (_VenusComproller *VenusComprollerFilterer) WatchDistributedVAIVaultVenus(opts *bind.WatchOpts, sink chan<- *VenusComprollerDistributedVAIVaultVenus) (event.Subscription, error)

WatchDistributedVAIVaultVenus is a free log subscription operation binding the contract event 0xf6d4b8f74d85a6e2d7a50225957b8a6cfec69ad92f5905627260541aa0a5565d.

Solidity: event DistributedVAIVaultVenus(uint256 amount)

func (*VenusComprollerFilterer) WatchFailure

func (_VenusComproller *VenusComprollerFilterer) WatchFailure(opts *bind.WatchOpts, sink chan<- *VenusComprollerFailure) (event.Subscription, error)

WatchFailure is a free log subscription operation binding the contract event 0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0.

Solidity: event Failure(uint256 error, uint256 info, uint256 detail)

func (*VenusComprollerFilterer) WatchMarketEntered

func (_VenusComproller *VenusComprollerFilterer) WatchMarketEntered(opts *bind.WatchOpts, sink chan<- *VenusComprollerMarketEntered) (event.Subscription, error)

WatchMarketEntered is a free log subscription operation binding the contract event 0x3ab23ab0d51cccc0c3085aec51f99228625aa1a922b3a8ca89a26b0f2027a1a5.

Solidity: event MarketEntered(address vToken, address account)

func (*VenusComprollerFilterer) WatchMarketExited

func (_VenusComproller *VenusComprollerFilterer) WatchMarketExited(opts *bind.WatchOpts, sink chan<- *VenusComprollerMarketExited) (event.Subscription, error)

WatchMarketExited is a free log subscription operation binding the contract event 0xe699a64c18b07ac5b7301aa273f36a2287239eb9501d81950672794afba29a0d.

Solidity: event MarketExited(address vToken, address account)

func (*VenusComprollerFilterer) WatchMarketListed

func (_VenusComproller *VenusComprollerFilterer) WatchMarketListed(opts *bind.WatchOpts, sink chan<- *VenusComprollerMarketListed) (event.Subscription, error)

WatchMarketListed is a free log subscription operation binding the contract event 0xcf583bb0c569eb967f806b11601c4cb93c10310485c67add5f8362c2f212321f.

Solidity: event MarketListed(address vToken)

func (*VenusComprollerFilterer) WatchNewBorrowCap

func (_VenusComproller *VenusComprollerFilterer) WatchNewBorrowCap(opts *bind.WatchOpts, sink chan<- *VenusComprollerNewBorrowCap, vToken []common.Address) (event.Subscription, error)

WatchNewBorrowCap is a free log subscription operation binding the contract event 0x6f1951b2aad10f3fc81b86d91105b413a5b3f847a34bbc5ce1904201b14438f6.

Solidity: event NewBorrowCap(address indexed vToken, uint256 newBorrowCap)

func (*VenusComprollerFilterer) WatchNewBorrowCapGuardian

func (_VenusComproller *VenusComprollerFilterer) WatchNewBorrowCapGuardian(opts *bind.WatchOpts, sink chan<- *VenusComprollerNewBorrowCapGuardian) (event.Subscription, error)

WatchNewBorrowCapGuardian is a free log subscription operation binding the contract event 0xeda98690e518e9a05f8ec6837663e188211b2da8f4906648b323f2c1d4434e29.

Solidity: event NewBorrowCapGuardian(address oldBorrowCapGuardian, address newBorrowCapGuardian)

func (*VenusComprollerFilterer) WatchNewCloseFactor

func (_VenusComproller *VenusComprollerFilterer) WatchNewCloseFactor(opts *bind.WatchOpts, sink chan<- *VenusComprollerNewCloseFactor) (event.Subscription, error)

WatchNewCloseFactor is a free log subscription operation binding the contract event 0x3b9670cf975d26958e754b57098eaa2ac914d8d2a31b83257997b9f346110fd9.

Solidity: event NewCloseFactor(uint256 oldCloseFactorMantissa, uint256 newCloseFactorMantissa)

func (*VenusComprollerFilterer) WatchNewCollateralFactor

func (_VenusComproller *VenusComprollerFilterer) WatchNewCollateralFactor(opts *bind.WatchOpts, sink chan<- *VenusComprollerNewCollateralFactor) (event.Subscription, error)

WatchNewCollateralFactor is a free log subscription operation binding the contract event 0x70483e6592cd5182d45ac970e05bc62cdcc90e9d8ef2c2dbe686cf383bcd7fc5.

Solidity: event NewCollateralFactor(address vToken, uint256 oldCollateralFactorMantissa, uint256 newCollateralFactorMantissa)

func (*VenusComprollerFilterer) WatchNewComptrollerLens

func (_VenusComproller *VenusComprollerFilterer) WatchNewComptrollerLens(opts *bind.WatchOpts, sink chan<- *VenusComprollerNewComptrollerLens) (event.Subscription, error)

WatchNewComptrollerLens is a free log subscription operation binding the contract event 0x0f7eb572d1b3053a0a3a33c04151364cf88d163182a5e4e1088cb8e52321e08a.

Solidity: event NewComptrollerLens(address oldComptrollerLens, address newComptrollerLens)

func (*VenusComprollerFilterer) WatchNewLiquidationIncentive

func (_VenusComproller *VenusComprollerFilterer) WatchNewLiquidationIncentive(opts *bind.WatchOpts, sink chan<- *VenusComprollerNewLiquidationIncentive) (event.Subscription, error)

WatchNewLiquidationIncentive is a free log subscription operation binding the contract event 0xaeba5a6c40a8ac138134bff1aaa65debf25971188a58804bad717f82f0ec1316.

Solidity: event NewLiquidationIncentive(uint256 oldLiquidationIncentiveMantissa, uint256 newLiquidationIncentiveMantissa)

func (*VenusComprollerFilterer) WatchNewLiquidatorContract

func (_VenusComproller *VenusComprollerFilterer) WatchNewLiquidatorContract(opts *bind.WatchOpts, sink chan<- *VenusComprollerNewLiquidatorContract) (event.Subscription, error)

WatchNewLiquidatorContract is a free log subscription operation binding the contract event 0xa5ea5616d5f6dbbaa62fdfcf3856723216eed485c394d9e51ec8e6d40e1d1ac1.

Solidity: event NewLiquidatorContract(address oldLiquidatorContract, address newLiquidatorContract)

func (*VenusComprollerFilterer) WatchNewPauseGuardian

func (_VenusComproller *VenusComprollerFilterer) WatchNewPauseGuardian(opts *bind.WatchOpts, sink chan<- *VenusComprollerNewPauseGuardian) (event.Subscription, error)

WatchNewPauseGuardian is a free log subscription operation binding the contract event 0x0613b6ee6a04f0d09f390e4d9318894b9f6ac7fd83897cd8d18896ba579c401e.

Solidity: event NewPauseGuardian(address oldPauseGuardian, address newPauseGuardian)

func (*VenusComprollerFilterer) WatchNewPriceOracle

func (_VenusComproller *VenusComprollerFilterer) WatchNewPriceOracle(opts *bind.WatchOpts, sink chan<- *VenusComprollerNewPriceOracle) (event.Subscription, error)

WatchNewPriceOracle is a free log subscription operation binding the contract event 0xd52b2b9b7e9ee655fcb95d2e5b9e0c9f69e7ef2b8e9d2d0ea78402d576d22e22.

Solidity: event NewPriceOracle(address oldPriceOracle, address newPriceOracle)

func (*VenusComprollerFilterer) WatchNewTreasuryAddress

func (_VenusComproller *VenusComprollerFilterer) WatchNewTreasuryAddress(opts *bind.WatchOpts, sink chan<- *VenusComprollerNewTreasuryAddress) (event.Subscription, error)

WatchNewTreasuryAddress is a free log subscription operation binding the contract event 0x8de763046d7b8f08b6c3d03543de1d615309417842bb5d2d62f110f65809ddac.

Solidity: event NewTreasuryAddress(address oldTreasuryAddress, address newTreasuryAddress)

func (*VenusComprollerFilterer) WatchNewTreasuryGuardian

func (_VenusComproller *VenusComprollerFilterer) WatchNewTreasuryGuardian(opts *bind.WatchOpts, sink chan<- *VenusComprollerNewTreasuryGuardian) (event.Subscription, error)

WatchNewTreasuryGuardian is a free log subscription operation binding the contract event 0x29f06ea15931797ebaed313d81d100963dc22cb213cb4ce2737b5a62b1a8b1e8.

Solidity: event NewTreasuryGuardian(address oldTreasuryGuardian, address newTreasuryGuardian)

func (*VenusComprollerFilterer) WatchNewTreasuryPercent

func (_VenusComproller *VenusComprollerFilterer) WatchNewTreasuryPercent(opts *bind.WatchOpts, sink chan<- *VenusComprollerNewTreasuryPercent) (event.Subscription, error)

WatchNewTreasuryPercent is a free log subscription operation binding the contract event 0x0893f8f4101baaabbeb513f96761e7a36eb837403c82cc651c292a4abdc94ed7.

Solidity: event NewTreasuryPercent(uint256 oldTreasuryPercent, uint256 newTreasuryPercent)

func (*VenusComprollerFilterer) WatchNewVAIController

func (_VenusComproller *VenusComprollerFilterer) WatchNewVAIController(opts *bind.WatchOpts, sink chan<- *VenusComprollerNewVAIController) (event.Subscription, error)

WatchNewVAIController is a free log subscription operation binding the contract event 0xe1ddcb2dab8e5b03cfc8c67a0d5861d91d16f7bd2612fd381faf4541d212c9b2.

Solidity: event NewVAIController(address oldVAIController, address newVAIController)

func (*VenusComprollerFilterer) WatchNewVAIMintRate

func (_VenusComproller *VenusComprollerFilterer) WatchNewVAIMintRate(opts *bind.WatchOpts, sink chan<- *VenusComprollerNewVAIMintRate) (event.Subscription, error)

WatchNewVAIMintRate is a free log subscription operation binding the contract event 0x73747d68b346dce1e932bcd238282e7ac84c01569e1f8d0469c222fdc6e9d5a4.

Solidity: event NewVAIMintRate(uint256 oldVAIMintRate, uint256 newVAIMintRate)

func (*VenusComprollerFilterer) WatchNewVAIVaultInfo

func (_VenusComproller *VenusComprollerFilterer) WatchNewVAIVaultInfo(opts *bind.WatchOpts, sink chan<- *VenusComprollerNewVAIVaultInfo) (event.Subscription, error)

WatchNewVAIVaultInfo is a free log subscription operation binding the contract event 0x7059037d74ee16b0fb06a4a30f3348dd2635f301f92e373c92899a25a522ef6e.

Solidity: event NewVAIVaultInfo(address vault_, uint256 releaseStartBlock_, uint256 releaseInterval_)

func (*VenusComprollerFilterer) WatchNewVenusVAIRate

func (_VenusComproller *VenusComprollerFilterer) WatchNewVenusVAIRate(opts *bind.WatchOpts, sink chan<- *VenusComprollerNewVenusVAIRate) (event.Subscription, error)

WatchNewVenusVAIRate is a free log subscription operation binding the contract event 0x75c84862cb29e997a2ed3ab3c3db0f5af24a181e6bf58897c5ea676668511c19.

Solidity: event NewVenusVAIRate(uint256 oldVenusVAIRate, uint256 newVenusVAIRate)

func (*VenusComprollerFilterer) WatchNewVenusVAIVaultRate

func (_VenusComproller *VenusComprollerFilterer) WatchNewVenusVAIVaultRate(opts *bind.WatchOpts, sink chan<- *VenusComprollerNewVenusVAIVaultRate) (event.Subscription, error)

WatchNewVenusVAIVaultRate is a free log subscription operation binding the contract event 0xe81d4ac15e5afa1e708e66664eddc697177423d950d133bda8262d8885e6da3b.

Solidity: event NewVenusVAIVaultRate(uint256 oldVenusVAIVaultRate, uint256 newVenusVAIVaultRate)

func (*VenusComprollerFilterer) WatchVenusGranted

func (_VenusComproller *VenusComprollerFilterer) WatchVenusGranted(opts *bind.WatchOpts, sink chan<- *VenusComprollerVenusGranted) (event.Subscription, error)

WatchVenusGranted is a free log subscription operation binding the contract event 0xd7fe674cac9eee3998fe3cbd7a6f93c3bc70509d97ec1550a59364be6438147e.

Solidity: event VenusGranted(address recipient, uint256 amount)

func (*VenusComprollerFilterer) WatchVenusSpeedUpdated

func (_VenusComproller *VenusComprollerFilterer) WatchVenusSpeedUpdated(opts *bind.WatchOpts, sink chan<- *VenusComprollerVenusSpeedUpdated, vToken []common.Address) (event.Subscription, error)

WatchVenusSpeedUpdated is a free log subscription operation binding the contract event 0x2a0ce45ba05a83e75ba21e1a10d6b48a8395028cc6e1ae66f6c313648379d548.

Solidity: event VenusSpeedUpdated(address indexed vToken, uint256 newSpeed)

type VenusComprollerMarketEntered

type VenusComprollerMarketEntered struct {
	VToken  common.Address
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

VenusComprollerMarketEntered represents a MarketEntered event raised by the VenusComproller contract.

type VenusComprollerMarketEnteredIterator

type VenusComprollerMarketEnteredIterator struct {
	Event *VenusComprollerMarketEntered // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerMarketEnteredIterator is returned from FilterMarketEntered and is used to iterate over the raw logs and unpacked data for MarketEntered events raised by the VenusComproller contract.

func (*VenusComprollerMarketEnteredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerMarketEnteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerMarketEnteredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerMarketExited

type VenusComprollerMarketExited struct {
	VToken  common.Address
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

VenusComprollerMarketExited represents a MarketExited event raised by the VenusComproller contract.

type VenusComprollerMarketExitedIterator

type VenusComprollerMarketExitedIterator struct {
	Event *VenusComprollerMarketExited // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerMarketExitedIterator is returned from FilterMarketExited and is used to iterate over the raw logs and unpacked data for MarketExited events raised by the VenusComproller contract.

func (*VenusComprollerMarketExitedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerMarketExitedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerMarketExitedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerMarketListed

type VenusComprollerMarketListed struct {
	VToken common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

VenusComprollerMarketListed represents a MarketListed event raised by the VenusComproller contract.

type VenusComprollerMarketListedIterator

type VenusComprollerMarketListedIterator struct {
	Event *VenusComprollerMarketListed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerMarketListedIterator is returned from FilterMarketListed and is used to iterate over the raw logs and unpacked data for MarketListed events raised by the VenusComproller contract.

func (*VenusComprollerMarketListedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerMarketListedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerMarketListedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerNewBorrowCap

type VenusComprollerNewBorrowCap struct {
	VToken       common.Address
	NewBorrowCap *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

VenusComprollerNewBorrowCap represents a NewBorrowCap event raised by the VenusComproller contract.

type VenusComprollerNewBorrowCapGuardian

type VenusComprollerNewBorrowCapGuardian struct {
	OldBorrowCapGuardian common.Address
	NewBorrowCapGuardian common.Address
	Raw                  types.Log // Blockchain specific contextual infos
}

VenusComprollerNewBorrowCapGuardian represents a NewBorrowCapGuardian event raised by the VenusComproller contract.

type VenusComprollerNewBorrowCapGuardianIterator

type VenusComprollerNewBorrowCapGuardianIterator struct {
	Event *VenusComprollerNewBorrowCapGuardian // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerNewBorrowCapGuardianIterator is returned from FilterNewBorrowCapGuardian and is used to iterate over the raw logs and unpacked data for NewBorrowCapGuardian events raised by the VenusComproller contract.

func (*VenusComprollerNewBorrowCapGuardianIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerNewBorrowCapGuardianIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerNewBorrowCapGuardianIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerNewBorrowCapIterator

type VenusComprollerNewBorrowCapIterator struct {
	Event *VenusComprollerNewBorrowCap // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerNewBorrowCapIterator is returned from FilterNewBorrowCap and is used to iterate over the raw logs and unpacked data for NewBorrowCap events raised by the VenusComproller contract.

func (*VenusComprollerNewBorrowCapIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerNewBorrowCapIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerNewBorrowCapIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerNewCloseFactor

type VenusComprollerNewCloseFactor struct {
	OldCloseFactorMantissa *big.Int
	NewCloseFactorMantissa *big.Int
	Raw                    types.Log // Blockchain specific contextual infos
}

VenusComprollerNewCloseFactor represents a NewCloseFactor event raised by the VenusComproller contract.

type VenusComprollerNewCloseFactorIterator

type VenusComprollerNewCloseFactorIterator struct {
	Event *VenusComprollerNewCloseFactor // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerNewCloseFactorIterator is returned from FilterNewCloseFactor and is used to iterate over the raw logs and unpacked data for NewCloseFactor events raised by the VenusComproller contract.

func (*VenusComprollerNewCloseFactorIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerNewCloseFactorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerNewCloseFactorIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerNewCollateralFactor

type VenusComprollerNewCollateralFactor struct {
	VToken                      common.Address
	OldCollateralFactorMantissa *big.Int
	NewCollateralFactorMantissa *big.Int
	Raw                         types.Log // Blockchain specific contextual infos
}

VenusComprollerNewCollateralFactor represents a NewCollateralFactor event raised by the VenusComproller contract.

type VenusComprollerNewCollateralFactorIterator

type VenusComprollerNewCollateralFactorIterator struct {
	Event *VenusComprollerNewCollateralFactor // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerNewCollateralFactorIterator is returned from FilterNewCollateralFactor and is used to iterate over the raw logs and unpacked data for NewCollateralFactor events raised by the VenusComproller contract.

func (*VenusComprollerNewCollateralFactorIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerNewCollateralFactorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerNewCollateralFactorIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerNewComptrollerLens

type VenusComprollerNewComptrollerLens struct {
	OldComptrollerLens common.Address
	NewComptrollerLens common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

VenusComprollerNewComptrollerLens represents a NewComptrollerLens event raised by the VenusComproller contract.

type VenusComprollerNewComptrollerLensIterator

type VenusComprollerNewComptrollerLensIterator struct {
	Event *VenusComprollerNewComptrollerLens // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerNewComptrollerLensIterator is returned from FilterNewComptrollerLens and is used to iterate over the raw logs and unpacked data for NewComptrollerLens events raised by the VenusComproller contract.

func (*VenusComprollerNewComptrollerLensIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerNewComptrollerLensIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerNewComptrollerLensIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerNewLiquidationIncentive

type VenusComprollerNewLiquidationIncentive struct {
	OldLiquidationIncentiveMantissa *big.Int
	NewLiquidationIncentiveMantissa *big.Int
	Raw                             types.Log // Blockchain specific contextual infos
}

VenusComprollerNewLiquidationIncentive represents a NewLiquidationIncentive event raised by the VenusComproller contract.

type VenusComprollerNewLiquidationIncentiveIterator

type VenusComprollerNewLiquidationIncentiveIterator struct {
	Event *VenusComprollerNewLiquidationIncentive // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerNewLiquidationIncentiveIterator is returned from FilterNewLiquidationIncentive and is used to iterate over the raw logs and unpacked data for NewLiquidationIncentive events raised by the VenusComproller contract.

func (*VenusComprollerNewLiquidationIncentiveIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerNewLiquidationIncentiveIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerNewLiquidationIncentiveIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerNewLiquidatorContract

type VenusComprollerNewLiquidatorContract struct {
	OldLiquidatorContract common.Address
	NewLiquidatorContract common.Address
	Raw                   types.Log // Blockchain specific contextual infos
}

VenusComprollerNewLiquidatorContract represents a NewLiquidatorContract event raised by the VenusComproller contract.

type VenusComprollerNewLiquidatorContractIterator

type VenusComprollerNewLiquidatorContractIterator struct {
	Event *VenusComprollerNewLiquidatorContract // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerNewLiquidatorContractIterator is returned from FilterNewLiquidatorContract and is used to iterate over the raw logs and unpacked data for NewLiquidatorContract events raised by the VenusComproller contract.

func (*VenusComprollerNewLiquidatorContractIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerNewLiquidatorContractIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerNewLiquidatorContractIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerNewPauseGuardian

type VenusComprollerNewPauseGuardian struct {
	OldPauseGuardian common.Address
	NewPauseGuardian common.Address
	Raw              types.Log // Blockchain specific contextual infos
}

VenusComprollerNewPauseGuardian represents a NewPauseGuardian event raised by the VenusComproller contract.

type VenusComprollerNewPauseGuardianIterator

type VenusComprollerNewPauseGuardianIterator struct {
	Event *VenusComprollerNewPauseGuardian // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerNewPauseGuardianIterator is returned from FilterNewPauseGuardian and is used to iterate over the raw logs and unpacked data for NewPauseGuardian events raised by the VenusComproller contract.

func (*VenusComprollerNewPauseGuardianIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerNewPauseGuardianIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerNewPauseGuardianIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerNewPriceOracle

type VenusComprollerNewPriceOracle struct {
	OldPriceOracle common.Address
	NewPriceOracle common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

VenusComprollerNewPriceOracle represents a NewPriceOracle event raised by the VenusComproller contract.

type VenusComprollerNewPriceOracleIterator

type VenusComprollerNewPriceOracleIterator struct {
	Event *VenusComprollerNewPriceOracle // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerNewPriceOracleIterator is returned from FilterNewPriceOracle and is used to iterate over the raw logs and unpacked data for NewPriceOracle events raised by the VenusComproller contract.

func (*VenusComprollerNewPriceOracleIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerNewPriceOracleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerNewPriceOracleIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerNewTreasuryAddress

type VenusComprollerNewTreasuryAddress struct {
	OldTreasuryAddress common.Address
	NewTreasuryAddress common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

VenusComprollerNewTreasuryAddress represents a NewTreasuryAddress event raised by the VenusComproller contract.

type VenusComprollerNewTreasuryAddressIterator

type VenusComprollerNewTreasuryAddressIterator struct {
	Event *VenusComprollerNewTreasuryAddress // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerNewTreasuryAddressIterator is returned from FilterNewTreasuryAddress and is used to iterate over the raw logs and unpacked data for NewTreasuryAddress events raised by the VenusComproller contract.

func (*VenusComprollerNewTreasuryAddressIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerNewTreasuryAddressIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerNewTreasuryAddressIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerNewTreasuryGuardian

type VenusComprollerNewTreasuryGuardian struct {
	OldTreasuryGuardian common.Address
	NewTreasuryGuardian common.Address
	Raw                 types.Log // Blockchain specific contextual infos
}

VenusComprollerNewTreasuryGuardian represents a NewTreasuryGuardian event raised by the VenusComproller contract.

type VenusComprollerNewTreasuryGuardianIterator

type VenusComprollerNewTreasuryGuardianIterator struct {
	Event *VenusComprollerNewTreasuryGuardian // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerNewTreasuryGuardianIterator is returned from FilterNewTreasuryGuardian and is used to iterate over the raw logs and unpacked data for NewTreasuryGuardian events raised by the VenusComproller contract.

func (*VenusComprollerNewTreasuryGuardianIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerNewTreasuryGuardianIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerNewTreasuryGuardianIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerNewTreasuryPercent

type VenusComprollerNewTreasuryPercent struct {
	OldTreasuryPercent *big.Int
	NewTreasuryPercent *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

VenusComprollerNewTreasuryPercent represents a NewTreasuryPercent event raised by the VenusComproller contract.

type VenusComprollerNewTreasuryPercentIterator

type VenusComprollerNewTreasuryPercentIterator struct {
	Event *VenusComprollerNewTreasuryPercent // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerNewTreasuryPercentIterator is returned from FilterNewTreasuryPercent and is used to iterate over the raw logs and unpacked data for NewTreasuryPercent events raised by the VenusComproller contract.

func (*VenusComprollerNewTreasuryPercentIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerNewTreasuryPercentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerNewTreasuryPercentIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerNewVAIController

type VenusComprollerNewVAIController struct {
	OldVAIController common.Address
	NewVAIController common.Address
	Raw              types.Log // Blockchain specific contextual infos
}

VenusComprollerNewVAIController represents a NewVAIController event raised by the VenusComproller contract.

type VenusComprollerNewVAIControllerIterator

type VenusComprollerNewVAIControllerIterator struct {
	Event *VenusComprollerNewVAIController // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerNewVAIControllerIterator is returned from FilterNewVAIController and is used to iterate over the raw logs and unpacked data for NewVAIController events raised by the VenusComproller contract.

func (*VenusComprollerNewVAIControllerIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerNewVAIControllerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerNewVAIControllerIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerNewVAIMintRate

type VenusComprollerNewVAIMintRate struct {
	OldVAIMintRate *big.Int
	NewVAIMintRate *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

VenusComprollerNewVAIMintRate represents a NewVAIMintRate event raised by the VenusComproller contract.

type VenusComprollerNewVAIMintRateIterator

type VenusComprollerNewVAIMintRateIterator struct {
	Event *VenusComprollerNewVAIMintRate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerNewVAIMintRateIterator is returned from FilterNewVAIMintRate and is used to iterate over the raw logs and unpacked data for NewVAIMintRate events raised by the VenusComproller contract.

func (*VenusComprollerNewVAIMintRateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerNewVAIMintRateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerNewVAIMintRateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerNewVAIVaultInfo

type VenusComprollerNewVAIVaultInfo struct {
	Vault             common.Address
	ReleaseStartBlock *big.Int
	ReleaseInterval   *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

VenusComprollerNewVAIVaultInfo represents a NewVAIVaultInfo event raised by the VenusComproller contract.

type VenusComprollerNewVAIVaultInfoIterator

type VenusComprollerNewVAIVaultInfoIterator struct {
	Event *VenusComprollerNewVAIVaultInfo // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerNewVAIVaultInfoIterator is returned from FilterNewVAIVaultInfo and is used to iterate over the raw logs and unpacked data for NewVAIVaultInfo events raised by the VenusComproller contract.

func (*VenusComprollerNewVAIVaultInfoIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerNewVAIVaultInfoIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerNewVAIVaultInfoIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerNewVenusVAIRate

type VenusComprollerNewVenusVAIRate struct {
	OldVenusVAIRate *big.Int
	NewVenusVAIRate *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

VenusComprollerNewVenusVAIRate represents a NewVenusVAIRate event raised by the VenusComproller contract.

type VenusComprollerNewVenusVAIRateIterator

type VenusComprollerNewVenusVAIRateIterator struct {
	Event *VenusComprollerNewVenusVAIRate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerNewVenusVAIRateIterator is returned from FilterNewVenusVAIRate and is used to iterate over the raw logs and unpacked data for NewVenusVAIRate events raised by the VenusComproller contract.

func (*VenusComprollerNewVenusVAIRateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerNewVenusVAIRateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerNewVenusVAIRateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerNewVenusVAIVaultRate

type VenusComprollerNewVenusVAIVaultRate struct {
	OldVenusVAIVaultRate *big.Int
	NewVenusVAIVaultRate *big.Int
	Raw                  types.Log // Blockchain specific contextual infos
}

VenusComprollerNewVenusVAIVaultRate represents a NewVenusVAIVaultRate event raised by the VenusComproller contract.

type VenusComprollerNewVenusVAIVaultRateIterator

type VenusComprollerNewVenusVAIVaultRateIterator struct {
	Event *VenusComprollerNewVenusVAIVaultRate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerNewVenusVAIVaultRateIterator is returned from FilterNewVenusVAIVaultRate and is used to iterate over the raw logs and unpacked data for NewVenusVAIVaultRate events raised by the VenusComproller contract.

func (*VenusComprollerNewVenusVAIVaultRateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerNewVenusVAIVaultRateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerNewVenusVAIVaultRateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerRaw

type VenusComprollerRaw struct {
	Contract *VenusComproller // Generic contract binding to access the raw methods on
}

VenusComprollerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*VenusComprollerRaw) Call

func (_VenusComproller *VenusComprollerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*VenusComprollerRaw) Transact

func (_VenusComproller *VenusComprollerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*VenusComprollerRaw) Transfer

func (_VenusComproller *VenusComprollerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type VenusComprollerSession

type VenusComprollerSession struct {
	Contract     *VenusComproller  // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

VenusComprollerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*VenusComprollerSession) AccountAssets

func (_VenusComproller *VenusComprollerSession) AccountAssets(arg0 common.Address, arg1 *big.Int) (common.Address, error)

AccountAssets is a free data retrieval call binding the contract method 0xdce15449.

Solidity: function accountAssets(address , uint256 ) view returns(address)

func (*VenusComprollerSession) Admin

func (_VenusComproller *VenusComprollerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*VenusComprollerSession) AllMarkets

func (_VenusComproller *VenusComprollerSession) AllMarkets(arg0 *big.Int) (common.Address, error)

AllMarkets is a free data retrieval call binding the contract method 0x52d84d1e.

Solidity: function allMarkets(uint256 ) view returns(address)

func (*VenusComprollerSession) Become

func (_VenusComproller *VenusComprollerSession) Become(unitroller common.Address) (*types.Transaction, error)

Become is a paid mutator transaction binding the contract method 0x1d504dc6.

Solidity: function _become(address unitroller) returns()

func (*VenusComprollerSession) BorrowAllowed

func (_VenusComproller *VenusComprollerSession) BorrowAllowed(vToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowAllowed is a paid mutator transaction binding the contract method 0xda3d454c.

Solidity: function borrowAllowed(address vToken, address borrower, uint256 borrowAmount) returns(uint256)

func (*VenusComprollerSession) BorrowCapGuardian

func (_VenusComproller *VenusComprollerSession) BorrowCapGuardian() (common.Address, error)

BorrowCapGuardian is a free data retrieval call binding the contract method 0x21af4569.

Solidity: function borrowCapGuardian() view returns(address)

func (*VenusComprollerSession) BorrowCaps

func (_VenusComproller *VenusComprollerSession) BorrowCaps(arg0 common.Address) (*big.Int, error)

BorrowCaps is a free data retrieval call binding the contract method 0x4a584432.

Solidity: function borrowCaps(address ) view returns(uint256)

func (*VenusComprollerSession) BorrowGuardianPaused

func (_VenusComproller *VenusComprollerSession) BorrowGuardianPaused() (bool, error)

BorrowGuardianPaused is a free data retrieval call binding the contract method 0xe6653f3d.

Solidity: function _borrowGuardianPaused() view returns(bool)

func (*VenusComprollerSession) BorrowVerify

func (_VenusComproller *VenusComprollerSession) BorrowVerify(vToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowVerify is a paid mutator transaction binding the contract method 0x5c778605.

Solidity: function borrowVerify(address vToken, address borrower, uint256 borrowAmount) returns()

func (*VenusComprollerSession) CheckMembership

func (_VenusComproller *VenusComprollerSession) CheckMembership(account common.Address, vToken common.Address) (bool, error)

CheckMembership is a free data retrieval call binding the contract method 0x929fe9a1.

Solidity: function checkMembership(address account, address vToken) view returns(bool)

func (*VenusComprollerSession) ClaimVenus

func (_VenusComproller *VenusComprollerSession) ClaimVenus(holders []common.Address, vTokens []common.Address, borrowers bool, suppliers bool, collateral bool) (*types.Transaction, error)

ClaimVenus is a paid mutator transaction binding the contract method 0x70bf66f0.

Solidity: function claimVenus(address[] holders, address[] vTokens, bool borrowers, bool suppliers, bool collateral) returns()

func (*VenusComprollerSession) ClaimVenus0

func (_VenusComproller *VenusComprollerSession) ClaimVenus0(holder common.Address, vTokens []common.Address) (*types.Transaction, error)

ClaimVenus0 is a paid mutator transaction binding the contract method 0x86df31ee.

Solidity: function claimVenus(address holder, address[] vTokens) returns()

func (*VenusComprollerSession) ClaimVenus1

func (_VenusComproller *VenusComprollerSession) ClaimVenus1(holder common.Address) (*types.Transaction, error)

ClaimVenus1 is a paid mutator transaction binding the contract method 0xadcd5fb9.

Solidity: function claimVenus(address holder) returns()

func (*VenusComprollerSession) ClaimVenus2

func (_VenusComproller *VenusComprollerSession) ClaimVenus2(holders []common.Address, vTokens []common.Address, borrowers bool, suppliers bool) (*types.Transaction, error)

ClaimVenus2 is a paid mutator transaction binding the contract method 0xd09c54ba.

Solidity: function claimVenus(address[] holders, address[] vTokens, bool borrowers, bool suppliers) returns()

func (*VenusComprollerSession) ClaimVenusAsCollateral

func (_VenusComproller *VenusComprollerSession) ClaimVenusAsCollateral(holder common.Address) (*types.Transaction, error)

ClaimVenusAsCollateral is a paid mutator transaction binding the contract method 0x7858524d.

Solidity: function claimVenusAsCollateral(address holder) returns()

func (*VenusComprollerSession) CloseFactorMantissa

func (_VenusComproller *VenusComprollerSession) CloseFactorMantissa() (*big.Int, error)

CloseFactorMantissa is a free data retrieval call binding the contract method 0xe8755446.

Solidity: function closeFactorMantissa() view returns(uint256)

func (*VenusComprollerSession) ComptrollerImplementation

func (_VenusComproller *VenusComprollerSession) ComptrollerImplementation() (common.Address, error)

ComptrollerImplementation is a free data retrieval call binding the contract method 0xbb82aa5e.

Solidity: function comptrollerImplementation() view returns(address)

func (*VenusComprollerSession) ComptrollerLens

func (_VenusComproller *VenusComprollerSession) ComptrollerLens() (common.Address, error)

ComptrollerLens is a free data retrieval call binding the contract method 0xd3270f99.

Solidity: function comptrollerLens() view returns(address)

func (*VenusComprollerSession) EnterMarkets

func (_VenusComproller *VenusComprollerSession) EnterMarkets(vTokens []common.Address) (*types.Transaction, error)

EnterMarkets is a paid mutator transaction binding the contract method 0xc2998238.

Solidity: function enterMarkets(address[] vTokens) returns(uint256[])

func (*VenusComprollerSession) ExitMarket

func (_VenusComproller *VenusComprollerSession) ExitMarket(vTokenAddress common.Address) (*types.Transaction, error)

ExitMarket is a paid mutator transaction binding the contract method 0xede4edd0.

Solidity: function exitMarket(address vTokenAddress) returns(uint256)

func (*VenusComprollerSession) GetAccountLiquidity

func (_VenusComproller *VenusComprollerSession) GetAccountLiquidity(account common.Address) (*big.Int, *big.Int, *big.Int, error)

GetAccountLiquidity is a free data retrieval call binding the contract method 0x5ec88c79.

Solidity: function getAccountLiquidity(address account) view returns(uint256, uint256, uint256)

func (*VenusComprollerSession) GetAllMarkets

func (_VenusComproller *VenusComprollerSession) GetAllMarkets() ([]common.Address, error)

GetAllMarkets is a free data retrieval call binding the contract method 0xb0772d0b.

Solidity: function getAllMarkets() view returns(address[])

func (*VenusComprollerSession) GetAssetsIn

func (_VenusComproller *VenusComprollerSession) GetAssetsIn(account common.Address) ([]common.Address, error)

GetAssetsIn is a free data retrieval call binding the contract method 0xabfceffc.

Solidity: function getAssetsIn(address account) view returns(address[])

func (*VenusComprollerSession) GetBlockNumber

func (_VenusComproller *VenusComprollerSession) GetBlockNumber() (*big.Int, error)

GetBlockNumber is a free data retrieval call binding the contract method 0x42cbb15c.

Solidity: function getBlockNumber() view returns(uint256)

func (*VenusComprollerSession) GetHypotheticalAccountLiquidity

func (_VenusComproller *VenusComprollerSession) GetHypotheticalAccountLiquidity(account common.Address, vTokenModify common.Address, redeemTokens *big.Int, borrowAmount *big.Int) (*big.Int, *big.Int, *big.Int, error)

GetHypotheticalAccountLiquidity is a free data retrieval call binding the contract method 0x4e79238f.

Solidity: function getHypotheticalAccountLiquidity(address account, address vTokenModify, uint256 redeemTokens, uint256 borrowAmount) view returns(uint256, uint256, uint256)

func (*VenusComprollerSession) GetXVSAddress

func (_VenusComproller *VenusComprollerSession) GetXVSAddress() (common.Address, error)

GetXVSAddress is a free data retrieval call binding the contract method 0xbf32442d.

Solidity: function getXVSAddress() view returns(address)

func (*VenusComprollerSession) GetXVSVTokenAddress

func (_VenusComproller *VenusComprollerSession) GetXVSVTokenAddress() (common.Address, error)

GetXVSVTokenAddress is a free data retrieval call binding the contract method 0xededbae6.

Solidity: function getXVSVTokenAddress() view returns(address)

func (*VenusComprollerSession) GrantXVS

func (_VenusComproller *VenusComprollerSession) GrantXVS(recipient common.Address, amount *big.Int) (*types.Transaction, error)

GrantXVS is a paid mutator transaction binding the contract method 0xa7604b41.

Solidity: function _grantXVS(address recipient, uint256 amount) returns()

func (*VenusComprollerSession) IsComptroller

func (_VenusComproller *VenusComprollerSession) IsComptroller() (bool, error)

IsComptroller is a free data retrieval call binding the contract method 0x007e3dd2.

Solidity: function isComptroller() view returns(bool)

func (*VenusComprollerSession) LastContributorBlock

func (_VenusComproller *VenusComprollerSession) LastContributorBlock(arg0 common.Address) (*big.Int, error)

LastContributorBlock is a free data retrieval call binding the contract method 0xbea6b8b8.

Solidity: function lastContributorBlock(address ) view returns(uint256)

func (*VenusComprollerSession) LiquidateBorrowAllowed

func (_VenusComproller *VenusComprollerSession) LiquidateBorrowAllowed(vTokenBorrowed common.Address, vTokenCollateral common.Address, liquidator common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

LiquidateBorrowAllowed is a paid mutator transaction binding the contract method 0x5fc7e71e.

Solidity: function liquidateBorrowAllowed(address vTokenBorrowed, address vTokenCollateral, address liquidator, address borrower, uint256 repayAmount) returns(uint256)

func (*VenusComprollerSession) LiquidateBorrowVerify

func (_VenusComproller *VenusComprollerSession) LiquidateBorrowVerify(vTokenBorrowed common.Address, vTokenCollateral common.Address, liquidator common.Address, borrower common.Address, actualRepayAmount *big.Int, seizeTokens *big.Int) (*types.Transaction, error)

LiquidateBorrowVerify is a paid mutator transaction binding the contract method 0x47ef3b3b.

Solidity: function liquidateBorrowVerify(address vTokenBorrowed, address vTokenCollateral, address liquidator, address borrower, uint256 actualRepayAmount, uint256 seizeTokens) returns()

func (*VenusComprollerSession) LiquidateCalculateSeizeTokens

func (_VenusComproller *VenusComprollerSession) LiquidateCalculateSeizeTokens(vTokenBorrowed common.Address, vTokenCollateral common.Address, actualRepayAmount *big.Int) (*big.Int, *big.Int, error)

LiquidateCalculateSeizeTokens is a free data retrieval call binding the contract method 0xc488847b.

Solidity: function liquidateCalculateSeizeTokens(address vTokenBorrowed, address vTokenCollateral, uint256 actualRepayAmount) view returns(uint256, uint256)

func (*VenusComprollerSession) LiquidateVAICalculateSeizeTokens

func (_VenusComproller *VenusComprollerSession) LiquidateVAICalculateSeizeTokens(vTokenCollateral common.Address, actualRepayAmount *big.Int) (*big.Int, *big.Int, error)

LiquidateVAICalculateSeizeTokens is a free data retrieval call binding the contract method 0xa78dc775.

Solidity: function liquidateVAICalculateSeizeTokens(address vTokenCollateral, uint256 actualRepayAmount) view returns(uint256, uint256)

func (*VenusComprollerSession) LiquidationIncentiveMantissa

func (_VenusComproller *VenusComprollerSession) LiquidationIncentiveMantissa() (*big.Int, error)

LiquidationIncentiveMantissa is a free data retrieval call binding the contract method 0x4ada90af.

Solidity: function liquidationIncentiveMantissa() view returns(uint256)

func (*VenusComprollerSession) LiquidatorContract

func (_VenusComproller *VenusComprollerSession) LiquidatorContract() (common.Address, error)

LiquidatorContract is a free data retrieval call binding the contract method 0x9bb27d62.

Solidity: function liquidatorContract() view returns(address)

func (*VenusComprollerSession) Markets

func (_VenusComproller *VenusComprollerSession) Markets(arg0 common.Address) (struct {
	IsListed                 bool
	CollateralFactorMantissa *big.Int
	IsVenus                  bool
}, error)

Markets is a free data retrieval call binding the contract method 0x8e8f294b.

Solidity: function markets(address ) view returns(bool isListed, uint256 collateralFactorMantissa, bool isVenus)

func (*VenusComprollerSession) MaxAssets

func (_VenusComproller *VenusComprollerSession) MaxAssets() (*big.Int, error)

MaxAssets is a free data retrieval call binding the contract method 0x94b2294b.

Solidity: function maxAssets() view returns(uint256)

func (*VenusComprollerSession) MinReleaseAmount

func (_VenusComproller *VenusComprollerSession) MinReleaseAmount() (*big.Int, error)

MinReleaseAmount is a free data retrieval call binding the contract method 0x0db4b4e5.

Solidity: function minReleaseAmount() view returns(uint256)

func (*VenusComprollerSession) MintAllowed

func (_VenusComproller *VenusComprollerSession) MintAllowed(vToken common.Address, minter common.Address, mintAmount *big.Int) (*types.Transaction, error)

MintAllowed is a paid mutator transaction binding the contract method 0x4ef4c3e1.

Solidity: function mintAllowed(address vToken, address minter, uint256 mintAmount) returns(uint256)

func (*VenusComprollerSession) MintGuardianPaused

func (_VenusComproller *VenusComprollerSession) MintGuardianPaused(arg0 common.Address) (bool, error)

MintGuardianPaused is a free data retrieval call binding the contract method 0x731f0c2b.

Solidity: function mintGuardianPaused(address ) view returns(bool)

func (*VenusComprollerSession) MintVAIGuardianPaused

func (_VenusComproller *VenusComprollerSession) MintVAIGuardianPaused() (bool, error)

MintVAIGuardianPaused is a free data retrieval call binding the contract method 0x4088c73e.

Solidity: function mintVAIGuardianPaused() view returns(bool)

func (*VenusComprollerSession) MintVerify

func (_VenusComproller *VenusComprollerSession) MintVerify(vToken common.Address, minter common.Address, actualMintAmount *big.Int, mintTokens *big.Int) (*types.Transaction, error)

MintVerify is a paid mutator transaction binding the contract method 0x41c728b9.

Solidity: function mintVerify(address vToken, address minter, uint256 actualMintAmount, uint256 mintTokens) returns()

func (*VenusComprollerSession) MintedVAIs

func (_VenusComproller *VenusComprollerSession) MintedVAIs(arg0 common.Address) (*big.Int, error)

MintedVAIs is a free data retrieval call binding the contract method 0x2bc7e29e.

Solidity: function mintedVAIs(address ) view returns(uint256)

func (*VenusComprollerSession) Oracle

func (_VenusComproller *VenusComprollerSession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*VenusComprollerSession) PauseGuardian

func (_VenusComproller *VenusComprollerSession) PauseGuardian() (common.Address, error)

PauseGuardian is a free data retrieval call binding the contract method 0x24a3d622.

Solidity: function pauseGuardian() view returns(address)

func (*VenusComprollerSession) PendingAdmin

func (_VenusComproller *VenusComprollerSession) PendingAdmin() (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

func (*VenusComprollerSession) PendingComptrollerImplementation

func (_VenusComproller *VenusComprollerSession) PendingComptrollerImplementation() (common.Address, error)

PendingComptrollerImplementation is a free data retrieval call binding the contract method 0xdcfbc0c7.

Solidity: function pendingComptrollerImplementation() view returns(address)

func (*VenusComprollerSession) ProtocolPaused

func (_VenusComproller *VenusComprollerSession) ProtocolPaused() (bool, error)

ProtocolPaused is a free data retrieval call binding the contract method 0x425fad58.

Solidity: function protocolPaused() view returns(bool)

func (*VenusComprollerSession) RedeemAllowed

func (_VenusComproller *VenusComprollerSession) RedeemAllowed(vToken common.Address, redeemer common.Address, redeemTokens *big.Int) (*types.Transaction, error)

RedeemAllowed is a paid mutator transaction binding the contract method 0xeabe7d91.

Solidity: function redeemAllowed(address vToken, address redeemer, uint256 redeemTokens) returns(uint256)

func (*VenusComprollerSession) RedeemVerify

func (_VenusComproller *VenusComprollerSession) RedeemVerify(vToken common.Address, redeemer common.Address, redeemAmount *big.Int, redeemTokens *big.Int) (*types.Transaction, error)

RedeemVerify is a paid mutator transaction binding the contract method 0x51dff989.

Solidity: function redeemVerify(address vToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens) returns()

func (*VenusComprollerSession) ReleaseStartBlock

func (_VenusComproller *VenusComprollerSession) ReleaseStartBlock() (*big.Int, error)

ReleaseStartBlock is a free data retrieval call binding the contract method 0x719f701b.

Solidity: function releaseStartBlock() view returns(uint256)

func (*VenusComprollerSession) ReleaseToVault

func (_VenusComproller *VenusComprollerSession) ReleaseToVault() (*types.Transaction, error)

ReleaseToVault is a paid mutator transaction binding the contract method 0xddfd287e.

Solidity: function releaseToVault() returns()

func (*VenusComprollerSession) RepayBorrowAllowed

func (_VenusComproller *VenusComprollerSession) RepayBorrowAllowed(vToken common.Address, payer common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowAllowed is a paid mutator transaction binding the contract method 0x24008a62.

Solidity: function repayBorrowAllowed(address vToken, address payer, address borrower, uint256 repayAmount) returns(uint256)

func (*VenusComprollerSession) RepayBorrowVerify

func (_VenusComproller *VenusComprollerSession) RepayBorrowVerify(vToken common.Address, payer common.Address, borrower common.Address, actualRepayAmount *big.Int, borrowerIndex *big.Int) (*types.Transaction, error)

RepayBorrowVerify is a paid mutator transaction binding the contract method 0x1ededc91.

Solidity: function repayBorrowVerify(address vToken, address payer, address borrower, uint256 actualRepayAmount, uint256 borrowerIndex) returns()

func (*VenusComprollerSession) RepayVAIGuardianPaused

func (_VenusComproller *VenusComprollerSession) RepayVAIGuardianPaused() (bool, error)

RepayVAIGuardianPaused is a free data retrieval call binding the contract method 0x76551383.

Solidity: function repayVAIGuardianPaused() view returns(bool)

func (*VenusComprollerSession) SeizeAllowed

func (_VenusComproller *VenusComprollerSession) SeizeAllowed(vTokenCollateral common.Address, vTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeAllowed is a paid mutator transaction binding the contract method 0xd02f7351.

Solidity: function seizeAllowed(address vTokenCollateral, address vTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*VenusComprollerSession) SeizeGuardianPaused

func (_VenusComproller *VenusComprollerSession) SeizeGuardianPaused() (bool, error)

SeizeGuardianPaused is a free data retrieval call binding the contract method 0xac0b0bb7.

Solidity: function seizeGuardianPaused() view returns(bool)

func (*VenusComprollerSession) SeizeVerify

func (_VenusComproller *VenusComprollerSession) SeizeVerify(vTokenCollateral common.Address, vTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeVerify is a paid mutator transaction binding the contract method 0x6d35bf91.

Solidity: function seizeVerify(address vTokenCollateral, address vTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns()

func (*VenusComprollerSession) SetBorrowCapGuardian

func (_VenusComproller *VenusComprollerSession) SetBorrowCapGuardian(newBorrowCapGuardian common.Address) (*types.Transaction, error)

SetBorrowCapGuardian is a paid mutator transaction binding the contract method 0x391957d7.

Solidity: function _setBorrowCapGuardian(address newBorrowCapGuardian) returns()

func (*VenusComprollerSession) SetCloseFactor

func (_VenusComproller *VenusComprollerSession) SetCloseFactor(newCloseFactorMantissa *big.Int) (*types.Transaction, error)

SetCloseFactor is a paid mutator transaction binding the contract method 0x317b0b77.

Solidity: function _setCloseFactor(uint256 newCloseFactorMantissa) returns(uint256)

func (*VenusComprollerSession) SetCollateralFactor

func (_VenusComproller *VenusComprollerSession) SetCollateralFactor(vToken common.Address, newCollateralFactorMantissa *big.Int) (*types.Transaction, error)

SetCollateralFactor is a paid mutator transaction binding the contract method 0xe4028eee.

Solidity: function _setCollateralFactor(address vToken, uint256 newCollateralFactorMantissa) returns(uint256)

func (*VenusComprollerSession) SetComptrollerLens

func (_VenusComproller *VenusComprollerSession) SetComptrollerLens(comptrollerLens_ common.Address) (*types.Transaction, error)

SetComptrollerLens is a paid mutator transaction binding the contract method 0x9bf34cbb.

Solidity: function _setComptrollerLens(address comptrollerLens_) returns(uint256)

func (*VenusComprollerSession) SetLiquidationIncentive

func (_VenusComproller *VenusComprollerSession) SetLiquidationIncentive(newLiquidationIncentiveMantissa *big.Int) (*types.Transaction, error)

SetLiquidationIncentive is a paid mutator transaction binding the contract method 0x4fd42e17.

Solidity: function _setLiquidationIncentive(uint256 newLiquidationIncentiveMantissa) returns(uint256)

func (*VenusComprollerSession) SetLiquidatorContract

func (_VenusComproller *VenusComprollerSession) SetLiquidatorContract(newLiquidatorContract_ common.Address) (*types.Transaction, error)

SetLiquidatorContract is a paid mutator transaction binding the contract method 0xbb857450.

Solidity: function _setLiquidatorContract(address newLiquidatorContract_) returns()

func (*VenusComprollerSession) SetMarketBorrowCaps

func (_VenusComproller *VenusComprollerSession) SetMarketBorrowCaps(vTokens []common.Address, newBorrowCaps []*big.Int) (*types.Transaction, error)

SetMarketBorrowCaps is a paid mutator transaction binding the contract method 0x607ef6c1.

Solidity: function _setMarketBorrowCaps(address[] vTokens, uint256[] newBorrowCaps) returns()

func (*VenusComprollerSession) SetMintedVAIOf

func (_VenusComproller *VenusComprollerSession) SetMintedVAIOf(owner common.Address, amount *big.Int) (*types.Transaction, error)

SetMintedVAIOf is a paid mutator transaction binding the contract method 0xfd51a3ad.

Solidity: function setMintedVAIOf(address owner, uint256 amount) returns(uint256)

func (*VenusComprollerSession) SetPauseGuardian

func (_VenusComproller *VenusComprollerSession) SetPauseGuardian(newPauseGuardian common.Address) (*types.Transaction, error)

SetPauseGuardian is a paid mutator transaction binding the contract method 0x5f5af1aa.

Solidity: function _setPauseGuardian(address newPauseGuardian) returns(uint256)

func (*VenusComprollerSession) SetPriceOracle

func (_VenusComproller *VenusComprollerSession) SetPriceOracle(newOracle common.Address) (*types.Transaction, error)

SetPriceOracle is a paid mutator transaction binding the contract method 0x55ee1fe1.

Solidity: function _setPriceOracle(address newOracle) returns(uint256)

func (*VenusComprollerSession) SetProtocolPaused

func (_VenusComproller *VenusComprollerSession) SetProtocolPaused(state bool) (*types.Transaction, error)

SetProtocolPaused is a paid mutator transaction binding the contract method 0x2a6a6065.

Solidity: function _setProtocolPaused(bool state) returns(bool)

func (*VenusComprollerSession) SetTreasuryData

func (_VenusComproller *VenusComprollerSession) SetTreasuryData(newTreasuryGuardian common.Address, newTreasuryAddress common.Address, newTreasuryPercent *big.Int) (*types.Transaction, error)

SetTreasuryData is a paid mutator transaction binding the contract method 0xd24febad.

Solidity: function _setTreasuryData(address newTreasuryGuardian, address newTreasuryAddress, uint256 newTreasuryPercent) returns(uint256)

func (*VenusComprollerSession) SetVAIController

func (_VenusComproller *VenusComprollerSession) SetVAIController(vaiController_ common.Address) (*types.Transaction, error)

SetVAIController is a paid mutator transaction binding the contract method 0x9cfdd9e6.

Solidity: function _setVAIController(address vaiController_) returns(uint256)

func (*VenusComprollerSession) SetVAIMintRate

func (_VenusComproller *VenusComprollerSession) SetVAIMintRate(newVAIMintRate *big.Int) (*types.Transaction, error)

SetVAIMintRate is a paid mutator transaction binding the contract method 0x2ec04124.

Solidity: function _setVAIMintRate(uint256 newVAIMintRate) returns(uint256)

func (*VenusComprollerSession) SetVAIVaultInfo

func (_VenusComproller *VenusComprollerSession) SetVAIVaultInfo(vault_ common.Address, releaseStartBlock_ *big.Int, minReleaseAmount_ *big.Int) (*types.Transaction, error)

SetVAIVaultInfo is a paid mutator transaction binding the contract method 0x4e0853db.

Solidity: function _setVAIVaultInfo(address vault_, uint256 releaseStartBlock_, uint256 minReleaseAmount_) returns()

func (*VenusComprollerSession) SetVenusSpeed

func (_VenusComproller *VenusComprollerSession) SetVenusSpeed(vToken common.Address, venusSpeed *big.Int) (*types.Transaction, error)

SetVenusSpeed is a paid mutator transaction binding the contract method 0xa06a87f1.

Solidity: function _setVenusSpeed(address vToken, uint256 venusSpeed) returns()

func (*VenusComprollerSession) SetVenusVAIVaultRate

func (_VenusComproller *VenusComprollerSession) SetVenusVAIVaultRate(venusVAIVaultRate_ *big.Int) (*types.Transaction, error)

SetVenusVAIVaultRate is a paid mutator transaction binding the contract method 0x6662c7c9.

Solidity: function _setVenusVAIVaultRate(uint256 venusVAIVaultRate_) returns()

func (*VenusComprollerSession) SupportMarket

func (_VenusComproller *VenusComprollerSession) SupportMarket(vToken common.Address) (*types.Transaction, error)

SupportMarket is a paid mutator transaction binding the contract method 0xa76b3fda.

Solidity: function _supportMarket(address vToken) returns(uint256)

func (*VenusComprollerSession) TransferAllowed

func (_VenusComproller *VenusComprollerSession) TransferAllowed(vToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferAllowed is a paid mutator transaction binding the contract method 0xbdcdc258.

Solidity: function transferAllowed(address vToken, address src, address dst, uint256 transferTokens) returns(uint256)

func (*VenusComprollerSession) TransferGuardianPaused

func (_VenusComproller *VenusComprollerSession) TransferGuardianPaused() (bool, error)

TransferGuardianPaused is a free data retrieval call binding the contract method 0x87f76303.

Solidity: function transferGuardianPaused() view returns(bool)

func (*VenusComprollerSession) TransferVerify

func (_VenusComproller *VenusComprollerSession) TransferVerify(vToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferVerify is a paid mutator transaction binding the contract method 0x6a56947e.

Solidity: function transferVerify(address vToken, address src, address dst, uint256 transferTokens) returns()

func (*VenusComprollerSession) TreasuryAddress

func (_VenusComproller *VenusComprollerSession) TreasuryAddress() (common.Address, error)

TreasuryAddress is a free data retrieval call binding the contract method 0xc5f956af.

Solidity: function treasuryAddress() view returns(address)

func (*VenusComprollerSession) TreasuryGuardian

func (_VenusComproller *VenusComprollerSession) TreasuryGuardian() (common.Address, error)

TreasuryGuardian is a free data retrieval call binding the contract method 0xb2eafc39.

Solidity: function treasuryGuardian() view returns(address)

func (*VenusComprollerSession) TreasuryPercent

func (_VenusComproller *VenusComprollerSession) TreasuryPercent() (*big.Int, error)

TreasuryPercent is a free data retrieval call binding the contract method 0x04ef9d58.

Solidity: function treasuryPercent() view returns(uint256)

func (*VenusComprollerSession) VaiController

func (_VenusComproller *VenusComprollerSession) VaiController() (common.Address, error)

VaiController is a free data retrieval call binding the contract method 0x9254f5e5.

Solidity: function vaiController() view returns(address)

func (*VenusComprollerSession) VaiMintRate

func (_VenusComproller *VenusComprollerSession) VaiMintRate() (*big.Int, error)

VaiMintRate is a free data retrieval call binding the contract method 0xbec04f72.

Solidity: function vaiMintRate() view returns(uint256)

func (*VenusComprollerSession) VaiVaultAddress

func (_VenusComproller *VenusComprollerSession) VaiVaultAddress() (common.Address, error)

VaiVaultAddress is a free data retrieval call binding the contract method 0x7d172bd5.

Solidity: function vaiVaultAddress() view returns(address)

func (*VenusComprollerSession) VenusAccrued

func (_VenusComproller *VenusComprollerSession) VenusAccrued(arg0 common.Address) (*big.Int, error)

VenusAccrued is a free data retrieval call binding the contract method 0x8a7dc165.

Solidity: function venusAccrued(address ) view returns(uint256)

func (*VenusComprollerSession) VenusBorrowState

func (_VenusComproller *VenusComprollerSession) VenusBorrowState(arg0 common.Address) (struct {
	Index *big.Int
	Block uint32
}, error)

VenusBorrowState is a free data retrieval call binding the contract method 0xe37d4b79.

Solidity: function venusBorrowState(address ) view returns(uint224 index, uint32 block)

func (*VenusComprollerSession) VenusBorrowerIndex

func (_VenusComproller *VenusComprollerSession) VenusBorrowerIndex(arg0 common.Address, arg1 common.Address) (*big.Int, error)

VenusBorrowerIndex is a free data retrieval call binding the contract method 0x08e0225c.

Solidity: function venusBorrowerIndex(address , address ) view returns(uint256)

func (*VenusComprollerSession) VenusContributorSpeeds

func (_VenusComproller *VenusComprollerSession) VenusContributorSpeeds(arg0 common.Address) (*big.Int, error)

VenusContributorSpeeds is a free data retrieval call binding the contract method 0xa9046134.

Solidity: function venusContributorSpeeds(address ) view returns(uint256)

func (*VenusComprollerSession) VenusInitialIndex

func (_VenusComproller *VenusComprollerSession) VenusInitialIndex() (*big.Int, error)

VenusInitialIndex is a free data retrieval call binding the contract method 0xc5b4db55.

Solidity: function venusInitialIndex() view returns(uint224)

func (*VenusComprollerSession) VenusRate

func (_VenusComproller *VenusComprollerSession) VenusRate() (*big.Int, error)

VenusRate is a free data retrieval call binding the contract method 0x879c2e1d.

Solidity: function venusRate() view returns(uint256)

func (*VenusComprollerSession) VenusSpeeds

func (_VenusComproller *VenusComprollerSession) VenusSpeeds(arg0 common.Address) (*big.Int, error)

VenusSpeeds is a free data retrieval call binding the contract method 0x1abcaa77.

Solidity: function venusSpeeds(address ) view returns(uint256)

func (*VenusComprollerSession) VenusSupplierIndex

func (_VenusComproller *VenusComprollerSession) VenusSupplierIndex(arg0 common.Address, arg1 common.Address) (*big.Int, error)

VenusSupplierIndex is a free data retrieval call binding the contract method 0x41a18d2c.

Solidity: function venusSupplierIndex(address , address ) view returns(uint256)

func (*VenusComprollerSession) VenusSupplyState

func (_VenusComproller *VenusComprollerSession) VenusSupplyState(arg0 common.Address) (struct {
	Index *big.Int
	Block uint32
}, error)

VenusSupplyState is a free data retrieval call binding the contract method 0xb8324c7c.

Solidity: function venusSupplyState(address ) view returns(uint224 index, uint32 block)

func (*VenusComprollerSession) VenusVAIRate

func (_VenusComproller *VenusComprollerSession) VenusVAIRate() (*big.Int, error)

VenusVAIRate is a free data retrieval call binding the contract method 0x399cc80c.

Solidity: function venusVAIRate() view returns(uint256)

func (*VenusComprollerSession) VenusVAIVaultRate

func (_VenusComproller *VenusComprollerSession) VenusVAIVaultRate() (*big.Int, error)

VenusVAIVaultRate is a free data retrieval call binding the contract method 0xfa6331d8.

Solidity: function venusVAIVaultRate() view returns(uint256)

type VenusComprollerTransactor

type VenusComprollerTransactor struct {
	// contains filtered or unexported fields
}

VenusComprollerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewVenusComprollerTransactor

func NewVenusComprollerTransactor(address common.Address, transactor bind.ContractTransactor) (*VenusComprollerTransactor, error)

NewVenusComprollerTransactor creates a new write-only instance of VenusComproller, bound to a specific deployed contract.

func (*VenusComprollerTransactor) Become

func (_VenusComproller *VenusComprollerTransactor) Become(opts *bind.TransactOpts, unitroller common.Address) (*types.Transaction, error)

Become is a paid mutator transaction binding the contract method 0x1d504dc6.

Solidity: function _become(address unitroller) returns()

func (*VenusComprollerTransactor) BorrowAllowed

func (_VenusComproller *VenusComprollerTransactor) BorrowAllowed(opts *bind.TransactOpts, vToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowAllowed is a paid mutator transaction binding the contract method 0xda3d454c.

Solidity: function borrowAllowed(address vToken, address borrower, uint256 borrowAmount) returns(uint256)

func (*VenusComprollerTransactor) BorrowVerify

func (_VenusComproller *VenusComprollerTransactor) BorrowVerify(opts *bind.TransactOpts, vToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowVerify is a paid mutator transaction binding the contract method 0x5c778605.

Solidity: function borrowVerify(address vToken, address borrower, uint256 borrowAmount) returns()

func (*VenusComprollerTransactor) ClaimVenus

func (_VenusComproller *VenusComprollerTransactor) ClaimVenus(opts *bind.TransactOpts, holders []common.Address, vTokens []common.Address, borrowers bool, suppliers bool, collateral bool) (*types.Transaction, error)

ClaimVenus is a paid mutator transaction binding the contract method 0x70bf66f0.

Solidity: function claimVenus(address[] holders, address[] vTokens, bool borrowers, bool suppliers, bool collateral) returns()

func (*VenusComprollerTransactor) ClaimVenus0

func (_VenusComproller *VenusComprollerTransactor) ClaimVenus0(opts *bind.TransactOpts, holder common.Address, vTokens []common.Address) (*types.Transaction, error)

ClaimVenus0 is a paid mutator transaction binding the contract method 0x86df31ee.

Solidity: function claimVenus(address holder, address[] vTokens) returns()

func (*VenusComprollerTransactor) ClaimVenus1

func (_VenusComproller *VenusComprollerTransactor) ClaimVenus1(opts *bind.TransactOpts, holder common.Address) (*types.Transaction, error)

ClaimVenus1 is a paid mutator transaction binding the contract method 0xadcd5fb9.

Solidity: function claimVenus(address holder) returns()

func (*VenusComprollerTransactor) ClaimVenus2

func (_VenusComproller *VenusComprollerTransactor) ClaimVenus2(opts *bind.TransactOpts, holders []common.Address, vTokens []common.Address, borrowers bool, suppliers bool) (*types.Transaction, error)

ClaimVenus2 is a paid mutator transaction binding the contract method 0xd09c54ba.

Solidity: function claimVenus(address[] holders, address[] vTokens, bool borrowers, bool suppliers) returns()

func (*VenusComprollerTransactor) ClaimVenusAsCollateral

func (_VenusComproller *VenusComprollerTransactor) ClaimVenusAsCollateral(opts *bind.TransactOpts, holder common.Address) (*types.Transaction, error)

ClaimVenusAsCollateral is a paid mutator transaction binding the contract method 0x7858524d.

Solidity: function claimVenusAsCollateral(address holder) returns()

func (*VenusComprollerTransactor) EnterMarkets

func (_VenusComproller *VenusComprollerTransactor) EnterMarkets(opts *bind.TransactOpts, vTokens []common.Address) (*types.Transaction, error)

EnterMarkets is a paid mutator transaction binding the contract method 0xc2998238.

Solidity: function enterMarkets(address[] vTokens) returns(uint256[])

func (*VenusComprollerTransactor) ExitMarket

func (_VenusComproller *VenusComprollerTransactor) ExitMarket(opts *bind.TransactOpts, vTokenAddress common.Address) (*types.Transaction, error)

ExitMarket is a paid mutator transaction binding the contract method 0xede4edd0.

Solidity: function exitMarket(address vTokenAddress) returns(uint256)

func (*VenusComprollerTransactor) GrantXVS

func (_VenusComproller *VenusComprollerTransactor) GrantXVS(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

GrantXVS is a paid mutator transaction binding the contract method 0xa7604b41.

Solidity: function _grantXVS(address recipient, uint256 amount) returns()

func (*VenusComprollerTransactor) LiquidateBorrowAllowed

func (_VenusComproller *VenusComprollerTransactor) LiquidateBorrowAllowed(opts *bind.TransactOpts, vTokenBorrowed common.Address, vTokenCollateral common.Address, liquidator common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

LiquidateBorrowAllowed is a paid mutator transaction binding the contract method 0x5fc7e71e.

Solidity: function liquidateBorrowAllowed(address vTokenBorrowed, address vTokenCollateral, address liquidator, address borrower, uint256 repayAmount) returns(uint256)

func (*VenusComprollerTransactor) LiquidateBorrowVerify

func (_VenusComproller *VenusComprollerTransactor) LiquidateBorrowVerify(opts *bind.TransactOpts, vTokenBorrowed common.Address, vTokenCollateral common.Address, liquidator common.Address, borrower common.Address, actualRepayAmount *big.Int, seizeTokens *big.Int) (*types.Transaction, error)

LiquidateBorrowVerify is a paid mutator transaction binding the contract method 0x47ef3b3b.

Solidity: function liquidateBorrowVerify(address vTokenBorrowed, address vTokenCollateral, address liquidator, address borrower, uint256 actualRepayAmount, uint256 seizeTokens) returns()

func (*VenusComprollerTransactor) MintAllowed

func (_VenusComproller *VenusComprollerTransactor) MintAllowed(opts *bind.TransactOpts, vToken common.Address, minter common.Address, mintAmount *big.Int) (*types.Transaction, error)

MintAllowed is a paid mutator transaction binding the contract method 0x4ef4c3e1.

Solidity: function mintAllowed(address vToken, address minter, uint256 mintAmount) returns(uint256)

func (*VenusComprollerTransactor) MintVerify

func (_VenusComproller *VenusComprollerTransactor) MintVerify(opts *bind.TransactOpts, vToken common.Address, minter common.Address, actualMintAmount *big.Int, mintTokens *big.Int) (*types.Transaction, error)

MintVerify is a paid mutator transaction binding the contract method 0x41c728b9.

Solidity: function mintVerify(address vToken, address minter, uint256 actualMintAmount, uint256 mintTokens) returns()

func (*VenusComprollerTransactor) RedeemAllowed

func (_VenusComproller *VenusComprollerTransactor) RedeemAllowed(opts *bind.TransactOpts, vToken common.Address, redeemer common.Address, redeemTokens *big.Int) (*types.Transaction, error)

RedeemAllowed is a paid mutator transaction binding the contract method 0xeabe7d91.

Solidity: function redeemAllowed(address vToken, address redeemer, uint256 redeemTokens) returns(uint256)

func (*VenusComprollerTransactor) RedeemVerify

func (_VenusComproller *VenusComprollerTransactor) RedeemVerify(opts *bind.TransactOpts, vToken common.Address, redeemer common.Address, redeemAmount *big.Int, redeemTokens *big.Int) (*types.Transaction, error)

RedeemVerify is a paid mutator transaction binding the contract method 0x51dff989.

Solidity: function redeemVerify(address vToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens) returns()

func (*VenusComprollerTransactor) ReleaseToVault

func (_VenusComproller *VenusComprollerTransactor) ReleaseToVault(opts *bind.TransactOpts) (*types.Transaction, error)

ReleaseToVault is a paid mutator transaction binding the contract method 0xddfd287e.

Solidity: function releaseToVault() returns()

func (*VenusComprollerTransactor) RepayBorrowAllowed

func (_VenusComproller *VenusComprollerTransactor) RepayBorrowAllowed(opts *bind.TransactOpts, vToken common.Address, payer common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowAllowed is a paid mutator transaction binding the contract method 0x24008a62.

Solidity: function repayBorrowAllowed(address vToken, address payer, address borrower, uint256 repayAmount) returns(uint256)

func (*VenusComprollerTransactor) RepayBorrowVerify

func (_VenusComproller *VenusComprollerTransactor) RepayBorrowVerify(opts *bind.TransactOpts, vToken common.Address, payer common.Address, borrower common.Address, actualRepayAmount *big.Int, borrowerIndex *big.Int) (*types.Transaction, error)

RepayBorrowVerify is a paid mutator transaction binding the contract method 0x1ededc91.

Solidity: function repayBorrowVerify(address vToken, address payer, address borrower, uint256 actualRepayAmount, uint256 borrowerIndex) returns()

func (*VenusComprollerTransactor) SeizeAllowed

func (_VenusComproller *VenusComprollerTransactor) SeizeAllowed(opts *bind.TransactOpts, vTokenCollateral common.Address, vTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeAllowed is a paid mutator transaction binding the contract method 0xd02f7351.

Solidity: function seizeAllowed(address vTokenCollateral, address vTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*VenusComprollerTransactor) SeizeVerify

func (_VenusComproller *VenusComprollerTransactor) SeizeVerify(opts *bind.TransactOpts, vTokenCollateral common.Address, vTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeVerify is a paid mutator transaction binding the contract method 0x6d35bf91.

Solidity: function seizeVerify(address vTokenCollateral, address vTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns()

func (*VenusComprollerTransactor) SetBorrowCapGuardian

func (_VenusComproller *VenusComprollerTransactor) SetBorrowCapGuardian(opts *bind.TransactOpts, newBorrowCapGuardian common.Address) (*types.Transaction, error)

SetBorrowCapGuardian is a paid mutator transaction binding the contract method 0x391957d7.

Solidity: function _setBorrowCapGuardian(address newBorrowCapGuardian) returns()

func (*VenusComprollerTransactor) SetCloseFactor

func (_VenusComproller *VenusComprollerTransactor) SetCloseFactor(opts *bind.TransactOpts, newCloseFactorMantissa *big.Int) (*types.Transaction, error)

SetCloseFactor is a paid mutator transaction binding the contract method 0x317b0b77.

Solidity: function _setCloseFactor(uint256 newCloseFactorMantissa) returns(uint256)

func (*VenusComprollerTransactor) SetCollateralFactor

func (_VenusComproller *VenusComprollerTransactor) SetCollateralFactor(opts *bind.TransactOpts, vToken common.Address, newCollateralFactorMantissa *big.Int) (*types.Transaction, error)

SetCollateralFactor is a paid mutator transaction binding the contract method 0xe4028eee.

Solidity: function _setCollateralFactor(address vToken, uint256 newCollateralFactorMantissa) returns(uint256)

func (*VenusComprollerTransactor) SetComptrollerLens

func (_VenusComproller *VenusComprollerTransactor) SetComptrollerLens(opts *bind.TransactOpts, comptrollerLens_ common.Address) (*types.Transaction, error)

SetComptrollerLens is a paid mutator transaction binding the contract method 0x9bf34cbb.

Solidity: function _setComptrollerLens(address comptrollerLens_) returns(uint256)

func (*VenusComprollerTransactor) SetLiquidationIncentive

func (_VenusComproller *VenusComprollerTransactor) SetLiquidationIncentive(opts *bind.TransactOpts, newLiquidationIncentiveMantissa *big.Int) (*types.Transaction, error)

SetLiquidationIncentive is a paid mutator transaction binding the contract method 0x4fd42e17.

Solidity: function _setLiquidationIncentive(uint256 newLiquidationIncentiveMantissa) returns(uint256)

func (*VenusComprollerTransactor) SetLiquidatorContract

func (_VenusComproller *VenusComprollerTransactor) SetLiquidatorContract(opts *bind.TransactOpts, newLiquidatorContract_ common.Address) (*types.Transaction, error)

SetLiquidatorContract is a paid mutator transaction binding the contract method 0xbb857450.

Solidity: function _setLiquidatorContract(address newLiquidatorContract_) returns()

func (*VenusComprollerTransactor) SetMarketBorrowCaps

func (_VenusComproller *VenusComprollerTransactor) SetMarketBorrowCaps(opts *bind.TransactOpts, vTokens []common.Address, newBorrowCaps []*big.Int) (*types.Transaction, error)

SetMarketBorrowCaps is a paid mutator transaction binding the contract method 0x607ef6c1.

Solidity: function _setMarketBorrowCaps(address[] vTokens, uint256[] newBorrowCaps) returns()

func (*VenusComprollerTransactor) SetMintedVAIOf

func (_VenusComproller *VenusComprollerTransactor) SetMintedVAIOf(opts *bind.TransactOpts, owner common.Address, amount *big.Int) (*types.Transaction, error)

SetMintedVAIOf is a paid mutator transaction binding the contract method 0xfd51a3ad.

Solidity: function setMintedVAIOf(address owner, uint256 amount) returns(uint256)

func (*VenusComprollerTransactor) SetPauseGuardian

func (_VenusComproller *VenusComprollerTransactor) SetPauseGuardian(opts *bind.TransactOpts, newPauseGuardian common.Address) (*types.Transaction, error)

SetPauseGuardian is a paid mutator transaction binding the contract method 0x5f5af1aa.

Solidity: function _setPauseGuardian(address newPauseGuardian) returns(uint256)

func (*VenusComprollerTransactor) SetPriceOracle

func (_VenusComproller *VenusComprollerTransactor) SetPriceOracle(opts *bind.TransactOpts, newOracle common.Address) (*types.Transaction, error)

SetPriceOracle is a paid mutator transaction binding the contract method 0x55ee1fe1.

Solidity: function _setPriceOracle(address newOracle) returns(uint256)

func (*VenusComprollerTransactor) SetProtocolPaused

func (_VenusComproller *VenusComprollerTransactor) SetProtocolPaused(opts *bind.TransactOpts, state bool) (*types.Transaction, error)

SetProtocolPaused is a paid mutator transaction binding the contract method 0x2a6a6065.

Solidity: function _setProtocolPaused(bool state) returns(bool)

func (*VenusComprollerTransactor) SetTreasuryData

func (_VenusComproller *VenusComprollerTransactor) SetTreasuryData(opts *bind.TransactOpts, newTreasuryGuardian common.Address, newTreasuryAddress common.Address, newTreasuryPercent *big.Int) (*types.Transaction, error)

SetTreasuryData is a paid mutator transaction binding the contract method 0xd24febad.

Solidity: function _setTreasuryData(address newTreasuryGuardian, address newTreasuryAddress, uint256 newTreasuryPercent) returns(uint256)

func (*VenusComprollerTransactor) SetVAIController

func (_VenusComproller *VenusComprollerTransactor) SetVAIController(opts *bind.TransactOpts, vaiController_ common.Address) (*types.Transaction, error)

SetVAIController is a paid mutator transaction binding the contract method 0x9cfdd9e6.

Solidity: function _setVAIController(address vaiController_) returns(uint256)

func (*VenusComprollerTransactor) SetVAIMintRate

func (_VenusComproller *VenusComprollerTransactor) SetVAIMintRate(opts *bind.TransactOpts, newVAIMintRate *big.Int) (*types.Transaction, error)

SetVAIMintRate is a paid mutator transaction binding the contract method 0x2ec04124.

Solidity: function _setVAIMintRate(uint256 newVAIMintRate) returns(uint256)

func (*VenusComprollerTransactor) SetVAIVaultInfo

func (_VenusComproller *VenusComprollerTransactor) SetVAIVaultInfo(opts *bind.TransactOpts, vault_ common.Address, releaseStartBlock_ *big.Int, minReleaseAmount_ *big.Int) (*types.Transaction, error)

SetVAIVaultInfo is a paid mutator transaction binding the contract method 0x4e0853db.

Solidity: function _setVAIVaultInfo(address vault_, uint256 releaseStartBlock_, uint256 minReleaseAmount_) returns()

func (*VenusComprollerTransactor) SetVenusSpeed

func (_VenusComproller *VenusComprollerTransactor) SetVenusSpeed(opts *bind.TransactOpts, vToken common.Address, venusSpeed *big.Int) (*types.Transaction, error)

SetVenusSpeed is a paid mutator transaction binding the contract method 0xa06a87f1.

Solidity: function _setVenusSpeed(address vToken, uint256 venusSpeed) returns()

func (*VenusComprollerTransactor) SetVenusVAIVaultRate

func (_VenusComproller *VenusComprollerTransactor) SetVenusVAIVaultRate(opts *bind.TransactOpts, venusVAIVaultRate_ *big.Int) (*types.Transaction, error)

SetVenusVAIVaultRate is a paid mutator transaction binding the contract method 0x6662c7c9.

Solidity: function _setVenusVAIVaultRate(uint256 venusVAIVaultRate_) returns()

func (*VenusComprollerTransactor) SupportMarket

func (_VenusComproller *VenusComprollerTransactor) SupportMarket(opts *bind.TransactOpts, vToken common.Address) (*types.Transaction, error)

SupportMarket is a paid mutator transaction binding the contract method 0xa76b3fda.

Solidity: function _supportMarket(address vToken) returns(uint256)

func (*VenusComprollerTransactor) TransferAllowed

func (_VenusComproller *VenusComprollerTransactor) TransferAllowed(opts *bind.TransactOpts, vToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferAllowed is a paid mutator transaction binding the contract method 0xbdcdc258.

Solidity: function transferAllowed(address vToken, address src, address dst, uint256 transferTokens) returns(uint256)

func (*VenusComprollerTransactor) TransferVerify

func (_VenusComproller *VenusComprollerTransactor) TransferVerify(opts *bind.TransactOpts, vToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferVerify is a paid mutator transaction binding the contract method 0x6a56947e.

Solidity: function transferVerify(address vToken, address src, address dst, uint256 transferTokens) returns()

type VenusComprollerTransactorRaw

type VenusComprollerTransactorRaw struct {
	Contract *VenusComprollerTransactor // Generic write-only contract binding to access the raw methods on
}

VenusComprollerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*VenusComprollerTransactorRaw) Transact

func (_VenusComproller *VenusComprollerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*VenusComprollerTransactorRaw) Transfer

func (_VenusComproller *VenusComprollerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type VenusComprollerTransactorSession

type VenusComprollerTransactorSession struct {
	Contract     *VenusComprollerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts          // Transaction auth options to use throughout this session
}

VenusComprollerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*VenusComprollerTransactorSession) Become

func (_VenusComproller *VenusComprollerTransactorSession) Become(unitroller common.Address) (*types.Transaction, error)

Become is a paid mutator transaction binding the contract method 0x1d504dc6.

Solidity: function _become(address unitroller) returns()

func (*VenusComprollerTransactorSession) BorrowAllowed

func (_VenusComproller *VenusComprollerTransactorSession) BorrowAllowed(vToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowAllowed is a paid mutator transaction binding the contract method 0xda3d454c.

Solidity: function borrowAllowed(address vToken, address borrower, uint256 borrowAmount) returns(uint256)

func (*VenusComprollerTransactorSession) BorrowVerify

func (_VenusComproller *VenusComprollerTransactorSession) BorrowVerify(vToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowVerify is a paid mutator transaction binding the contract method 0x5c778605.

Solidity: function borrowVerify(address vToken, address borrower, uint256 borrowAmount) returns()

func (*VenusComprollerTransactorSession) ClaimVenus

func (_VenusComproller *VenusComprollerTransactorSession) ClaimVenus(holders []common.Address, vTokens []common.Address, borrowers bool, suppliers bool, collateral bool) (*types.Transaction, error)

ClaimVenus is a paid mutator transaction binding the contract method 0x70bf66f0.

Solidity: function claimVenus(address[] holders, address[] vTokens, bool borrowers, bool suppliers, bool collateral) returns()

func (*VenusComprollerTransactorSession) ClaimVenus0

func (_VenusComproller *VenusComprollerTransactorSession) ClaimVenus0(holder common.Address, vTokens []common.Address) (*types.Transaction, error)

ClaimVenus0 is a paid mutator transaction binding the contract method 0x86df31ee.

Solidity: function claimVenus(address holder, address[] vTokens) returns()

func (*VenusComprollerTransactorSession) ClaimVenus1

func (_VenusComproller *VenusComprollerTransactorSession) ClaimVenus1(holder common.Address) (*types.Transaction, error)

ClaimVenus1 is a paid mutator transaction binding the contract method 0xadcd5fb9.

Solidity: function claimVenus(address holder) returns()

func (*VenusComprollerTransactorSession) ClaimVenus2

func (_VenusComproller *VenusComprollerTransactorSession) ClaimVenus2(holders []common.Address, vTokens []common.Address, borrowers bool, suppliers bool) (*types.Transaction, error)

ClaimVenus2 is a paid mutator transaction binding the contract method 0xd09c54ba.

Solidity: function claimVenus(address[] holders, address[] vTokens, bool borrowers, bool suppliers) returns()

func (*VenusComprollerTransactorSession) ClaimVenusAsCollateral

func (_VenusComproller *VenusComprollerTransactorSession) ClaimVenusAsCollateral(holder common.Address) (*types.Transaction, error)

ClaimVenusAsCollateral is a paid mutator transaction binding the contract method 0x7858524d.

Solidity: function claimVenusAsCollateral(address holder) returns()

func (*VenusComprollerTransactorSession) EnterMarkets

func (_VenusComproller *VenusComprollerTransactorSession) EnterMarkets(vTokens []common.Address) (*types.Transaction, error)

EnterMarkets is a paid mutator transaction binding the contract method 0xc2998238.

Solidity: function enterMarkets(address[] vTokens) returns(uint256[])

func (*VenusComprollerTransactorSession) ExitMarket

func (_VenusComproller *VenusComprollerTransactorSession) ExitMarket(vTokenAddress common.Address) (*types.Transaction, error)

ExitMarket is a paid mutator transaction binding the contract method 0xede4edd0.

Solidity: function exitMarket(address vTokenAddress) returns(uint256)

func (*VenusComprollerTransactorSession) GrantXVS

func (_VenusComproller *VenusComprollerTransactorSession) GrantXVS(recipient common.Address, amount *big.Int) (*types.Transaction, error)

GrantXVS is a paid mutator transaction binding the contract method 0xa7604b41.

Solidity: function _grantXVS(address recipient, uint256 amount) returns()

func (*VenusComprollerTransactorSession) LiquidateBorrowAllowed

func (_VenusComproller *VenusComprollerTransactorSession) LiquidateBorrowAllowed(vTokenBorrowed common.Address, vTokenCollateral common.Address, liquidator common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

LiquidateBorrowAllowed is a paid mutator transaction binding the contract method 0x5fc7e71e.

Solidity: function liquidateBorrowAllowed(address vTokenBorrowed, address vTokenCollateral, address liquidator, address borrower, uint256 repayAmount) returns(uint256)

func (*VenusComprollerTransactorSession) LiquidateBorrowVerify

func (_VenusComproller *VenusComprollerTransactorSession) LiquidateBorrowVerify(vTokenBorrowed common.Address, vTokenCollateral common.Address, liquidator common.Address, borrower common.Address, actualRepayAmount *big.Int, seizeTokens *big.Int) (*types.Transaction, error)

LiquidateBorrowVerify is a paid mutator transaction binding the contract method 0x47ef3b3b.

Solidity: function liquidateBorrowVerify(address vTokenBorrowed, address vTokenCollateral, address liquidator, address borrower, uint256 actualRepayAmount, uint256 seizeTokens) returns()

func (*VenusComprollerTransactorSession) MintAllowed

func (_VenusComproller *VenusComprollerTransactorSession) MintAllowed(vToken common.Address, minter common.Address, mintAmount *big.Int) (*types.Transaction, error)

MintAllowed is a paid mutator transaction binding the contract method 0x4ef4c3e1.

Solidity: function mintAllowed(address vToken, address minter, uint256 mintAmount) returns(uint256)

func (*VenusComprollerTransactorSession) MintVerify

func (_VenusComproller *VenusComprollerTransactorSession) MintVerify(vToken common.Address, minter common.Address, actualMintAmount *big.Int, mintTokens *big.Int) (*types.Transaction, error)

MintVerify is a paid mutator transaction binding the contract method 0x41c728b9.

Solidity: function mintVerify(address vToken, address minter, uint256 actualMintAmount, uint256 mintTokens) returns()

func (*VenusComprollerTransactorSession) RedeemAllowed

func (_VenusComproller *VenusComprollerTransactorSession) RedeemAllowed(vToken common.Address, redeemer common.Address, redeemTokens *big.Int) (*types.Transaction, error)

RedeemAllowed is a paid mutator transaction binding the contract method 0xeabe7d91.

Solidity: function redeemAllowed(address vToken, address redeemer, uint256 redeemTokens) returns(uint256)

func (*VenusComprollerTransactorSession) RedeemVerify

func (_VenusComproller *VenusComprollerTransactorSession) RedeemVerify(vToken common.Address, redeemer common.Address, redeemAmount *big.Int, redeemTokens *big.Int) (*types.Transaction, error)

RedeemVerify is a paid mutator transaction binding the contract method 0x51dff989.

Solidity: function redeemVerify(address vToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens) returns()

func (*VenusComprollerTransactorSession) ReleaseToVault

func (_VenusComproller *VenusComprollerTransactorSession) ReleaseToVault() (*types.Transaction, error)

ReleaseToVault is a paid mutator transaction binding the contract method 0xddfd287e.

Solidity: function releaseToVault() returns()

func (*VenusComprollerTransactorSession) RepayBorrowAllowed

func (_VenusComproller *VenusComprollerTransactorSession) RepayBorrowAllowed(vToken common.Address, payer common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowAllowed is a paid mutator transaction binding the contract method 0x24008a62.

Solidity: function repayBorrowAllowed(address vToken, address payer, address borrower, uint256 repayAmount) returns(uint256)

func (*VenusComprollerTransactorSession) RepayBorrowVerify

func (_VenusComproller *VenusComprollerTransactorSession) RepayBorrowVerify(vToken common.Address, payer common.Address, borrower common.Address, actualRepayAmount *big.Int, borrowerIndex *big.Int) (*types.Transaction, error)

RepayBorrowVerify is a paid mutator transaction binding the contract method 0x1ededc91.

Solidity: function repayBorrowVerify(address vToken, address payer, address borrower, uint256 actualRepayAmount, uint256 borrowerIndex) returns()

func (*VenusComprollerTransactorSession) SeizeAllowed

func (_VenusComproller *VenusComprollerTransactorSession) SeizeAllowed(vTokenCollateral common.Address, vTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeAllowed is a paid mutator transaction binding the contract method 0xd02f7351.

Solidity: function seizeAllowed(address vTokenCollateral, address vTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*VenusComprollerTransactorSession) SeizeVerify

func (_VenusComproller *VenusComprollerTransactorSession) SeizeVerify(vTokenCollateral common.Address, vTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeVerify is a paid mutator transaction binding the contract method 0x6d35bf91.

Solidity: function seizeVerify(address vTokenCollateral, address vTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns()

func (*VenusComprollerTransactorSession) SetBorrowCapGuardian

func (_VenusComproller *VenusComprollerTransactorSession) SetBorrowCapGuardian(newBorrowCapGuardian common.Address) (*types.Transaction, error)

SetBorrowCapGuardian is a paid mutator transaction binding the contract method 0x391957d7.

Solidity: function _setBorrowCapGuardian(address newBorrowCapGuardian) returns()

func (*VenusComprollerTransactorSession) SetCloseFactor

func (_VenusComproller *VenusComprollerTransactorSession) SetCloseFactor(newCloseFactorMantissa *big.Int) (*types.Transaction, error)

SetCloseFactor is a paid mutator transaction binding the contract method 0x317b0b77.

Solidity: function _setCloseFactor(uint256 newCloseFactorMantissa) returns(uint256)

func (*VenusComprollerTransactorSession) SetCollateralFactor

func (_VenusComproller *VenusComprollerTransactorSession) SetCollateralFactor(vToken common.Address, newCollateralFactorMantissa *big.Int) (*types.Transaction, error)

SetCollateralFactor is a paid mutator transaction binding the contract method 0xe4028eee.

Solidity: function _setCollateralFactor(address vToken, uint256 newCollateralFactorMantissa) returns(uint256)

func (*VenusComprollerTransactorSession) SetComptrollerLens

func (_VenusComproller *VenusComprollerTransactorSession) SetComptrollerLens(comptrollerLens_ common.Address) (*types.Transaction, error)

SetComptrollerLens is a paid mutator transaction binding the contract method 0x9bf34cbb.

Solidity: function _setComptrollerLens(address comptrollerLens_) returns(uint256)

func (*VenusComprollerTransactorSession) SetLiquidationIncentive

func (_VenusComproller *VenusComprollerTransactorSession) SetLiquidationIncentive(newLiquidationIncentiveMantissa *big.Int) (*types.Transaction, error)

SetLiquidationIncentive is a paid mutator transaction binding the contract method 0x4fd42e17.

Solidity: function _setLiquidationIncentive(uint256 newLiquidationIncentiveMantissa) returns(uint256)

func (*VenusComprollerTransactorSession) SetLiquidatorContract

func (_VenusComproller *VenusComprollerTransactorSession) SetLiquidatorContract(newLiquidatorContract_ common.Address) (*types.Transaction, error)

SetLiquidatorContract is a paid mutator transaction binding the contract method 0xbb857450.

Solidity: function _setLiquidatorContract(address newLiquidatorContract_) returns()

func (*VenusComprollerTransactorSession) SetMarketBorrowCaps

func (_VenusComproller *VenusComprollerTransactorSession) SetMarketBorrowCaps(vTokens []common.Address, newBorrowCaps []*big.Int) (*types.Transaction, error)

SetMarketBorrowCaps is a paid mutator transaction binding the contract method 0x607ef6c1.

Solidity: function _setMarketBorrowCaps(address[] vTokens, uint256[] newBorrowCaps) returns()

func (*VenusComprollerTransactorSession) SetMintedVAIOf

func (_VenusComproller *VenusComprollerTransactorSession) SetMintedVAIOf(owner common.Address, amount *big.Int) (*types.Transaction, error)

SetMintedVAIOf is a paid mutator transaction binding the contract method 0xfd51a3ad.

Solidity: function setMintedVAIOf(address owner, uint256 amount) returns(uint256)

func (*VenusComprollerTransactorSession) SetPauseGuardian

func (_VenusComproller *VenusComprollerTransactorSession) SetPauseGuardian(newPauseGuardian common.Address) (*types.Transaction, error)

SetPauseGuardian is a paid mutator transaction binding the contract method 0x5f5af1aa.

Solidity: function _setPauseGuardian(address newPauseGuardian) returns(uint256)

func (*VenusComprollerTransactorSession) SetPriceOracle

func (_VenusComproller *VenusComprollerTransactorSession) SetPriceOracle(newOracle common.Address) (*types.Transaction, error)

SetPriceOracle is a paid mutator transaction binding the contract method 0x55ee1fe1.

Solidity: function _setPriceOracle(address newOracle) returns(uint256)

func (*VenusComprollerTransactorSession) SetProtocolPaused

func (_VenusComproller *VenusComprollerTransactorSession) SetProtocolPaused(state bool) (*types.Transaction, error)

SetProtocolPaused is a paid mutator transaction binding the contract method 0x2a6a6065.

Solidity: function _setProtocolPaused(bool state) returns(bool)

func (*VenusComprollerTransactorSession) SetTreasuryData

func (_VenusComproller *VenusComprollerTransactorSession) SetTreasuryData(newTreasuryGuardian common.Address, newTreasuryAddress common.Address, newTreasuryPercent *big.Int) (*types.Transaction, error)

SetTreasuryData is a paid mutator transaction binding the contract method 0xd24febad.

Solidity: function _setTreasuryData(address newTreasuryGuardian, address newTreasuryAddress, uint256 newTreasuryPercent) returns(uint256)

func (*VenusComprollerTransactorSession) SetVAIController

func (_VenusComproller *VenusComprollerTransactorSession) SetVAIController(vaiController_ common.Address) (*types.Transaction, error)

SetVAIController is a paid mutator transaction binding the contract method 0x9cfdd9e6.

Solidity: function _setVAIController(address vaiController_) returns(uint256)

func (*VenusComprollerTransactorSession) SetVAIMintRate

func (_VenusComproller *VenusComprollerTransactorSession) SetVAIMintRate(newVAIMintRate *big.Int) (*types.Transaction, error)

SetVAIMintRate is a paid mutator transaction binding the contract method 0x2ec04124.

Solidity: function _setVAIMintRate(uint256 newVAIMintRate) returns(uint256)

func (*VenusComprollerTransactorSession) SetVAIVaultInfo

func (_VenusComproller *VenusComprollerTransactorSession) SetVAIVaultInfo(vault_ common.Address, releaseStartBlock_ *big.Int, minReleaseAmount_ *big.Int) (*types.Transaction, error)

SetVAIVaultInfo is a paid mutator transaction binding the contract method 0x4e0853db.

Solidity: function _setVAIVaultInfo(address vault_, uint256 releaseStartBlock_, uint256 minReleaseAmount_) returns()

func (*VenusComprollerTransactorSession) SetVenusSpeed

func (_VenusComproller *VenusComprollerTransactorSession) SetVenusSpeed(vToken common.Address, venusSpeed *big.Int) (*types.Transaction, error)

SetVenusSpeed is a paid mutator transaction binding the contract method 0xa06a87f1.

Solidity: function _setVenusSpeed(address vToken, uint256 venusSpeed) returns()

func (*VenusComprollerTransactorSession) SetVenusVAIVaultRate

func (_VenusComproller *VenusComprollerTransactorSession) SetVenusVAIVaultRate(venusVAIVaultRate_ *big.Int) (*types.Transaction, error)

SetVenusVAIVaultRate is a paid mutator transaction binding the contract method 0x6662c7c9.

Solidity: function _setVenusVAIVaultRate(uint256 venusVAIVaultRate_) returns()

func (*VenusComprollerTransactorSession) SupportMarket

func (_VenusComproller *VenusComprollerTransactorSession) SupportMarket(vToken common.Address) (*types.Transaction, error)

SupportMarket is a paid mutator transaction binding the contract method 0xa76b3fda.

Solidity: function _supportMarket(address vToken) returns(uint256)

func (*VenusComprollerTransactorSession) TransferAllowed

func (_VenusComproller *VenusComprollerTransactorSession) TransferAllowed(vToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferAllowed is a paid mutator transaction binding the contract method 0xbdcdc258.

Solidity: function transferAllowed(address vToken, address src, address dst, uint256 transferTokens) returns(uint256)

func (*VenusComprollerTransactorSession) TransferVerify

func (_VenusComproller *VenusComprollerTransactorSession) TransferVerify(vToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferVerify is a paid mutator transaction binding the contract method 0x6a56947e.

Solidity: function transferVerify(address vToken, address src, address dst, uint256 transferTokens) returns()

type VenusComprollerVenusGranted

type VenusComprollerVenusGranted struct {
	Recipient common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

VenusComprollerVenusGranted represents a VenusGranted event raised by the VenusComproller contract.

type VenusComprollerVenusGrantedIterator

type VenusComprollerVenusGrantedIterator struct {
	Event *VenusComprollerVenusGranted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerVenusGrantedIterator is returned from FilterVenusGranted and is used to iterate over the raw logs and unpacked data for VenusGranted events raised by the VenusComproller contract.

func (*VenusComprollerVenusGrantedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerVenusGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerVenusGrantedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusComprollerVenusSpeedUpdated

type VenusComprollerVenusSpeedUpdated struct {
	VToken   common.Address
	NewSpeed *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

VenusComprollerVenusSpeedUpdated represents a VenusSpeedUpdated event raised by the VenusComproller contract.

type VenusComprollerVenusSpeedUpdatedIterator

type VenusComprollerVenusSpeedUpdatedIterator struct {
	Event *VenusComprollerVenusSpeedUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusComprollerVenusSpeedUpdatedIterator is returned from FilterVenusSpeedUpdated and is used to iterate over the raw logs and unpacked data for VenusSpeedUpdated events raised by the VenusComproller contract.

func (*VenusComprollerVenusSpeedUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusComprollerVenusSpeedUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusComprollerVenusSpeedUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusToken

type VenusToken struct {
	VenusTokenCaller     // Read-only binding to the contract
	VenusTokenTransactor // Write-only binding to the contract
	VenusTokenFilterer   // Log filterer for contract events
}

VenusToken is an auto generated Go binding around an Ethereum contract.

func NewVenusToken

func NewVenusToken(address common.Address, backend bind.ContractBackend) (*VenusToken, error)

NewVenusToken creates a new instance of VenusToken, bound to a specific deployed contract.

type VenusTokenAccrueInterest

type VenusTokenAccrueInterest struct {
	CashPrior           *big.Int
	InterestAccumulated *big.Int
	BorrowIndex         *big.Int
	TotalBorrows        *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

VenusTokenAccrueInterest represents a AccrueInterest event raised by the VenusToken contract.

type VenusTokenAccrueInterestIterator

type VenusTokenAccrueInterestIterator struct {
	Event *VenusTokenAccrueInterest // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusTokenAccrueInterestIterator is returned from FilterAccrueInterest and is used to iterate over the raw logs and unpacked data for AccrueInterest events raised by the VenusToken contract.

func (*VenusTokenAccrueInterestIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusTokenAccrueInterestIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTokenAccrueInterestIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusTokenApproval

type VenusTokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

VenusTokenApproval represents a Approval event raised by the VenusToken contract.

type VenusTokenApprovalIterator

type VenusTokenApprovalIterator struct {
	Event *VenusTokenApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the VenusToken contract.

func (*VenusTokenApprovalIterator) Close

func (it *VenusTokenApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusTokenApprovalIterator) Error

func (it *VenusTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTokenApprovalIterator) Next

func (it *VenusTokenApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusTokenBorrow

type VenusTokenBorrow struct {
	Borrower       common.Address
	BorrowAmount   *big.Int
	AccountBorrows *big.Int
	TotalBorrows   *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

VenusTokenBorrow represents a Borrow event raised by the VenusToken contract.

type VenusTokenBorrowIterator

type VenusTokenBorrowIterator struct {
	Event *VenusTokenBorrow // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusTokenBorrowIterator is returned from FilterBorrow and is used to iterate over the raw logs and unpacked data for Borrow events raised by the VenusToken contract.

func (*VenusTokenBorrowIterator) Close

func (it *VenusTokenBorrowIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusTokenBorrowIterator) Error

func (it *VenusTokenBorrowIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTokenBorrowIterator) Next

func (it *VenusTokenBorrowIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusTokenCaller

type VenusTokenCaller struct {
	// contains filtered or unexported fields
}

VenusTokenCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewVenusTokenCaller

func NewVenusTokenCaller(address common.Address, caller bind.ContractCaller) (*VenusTokenCaller, error)

NewVenusTokenCaller creates a new read-only instance of VenusToken, bound to a specific deployed contract.

func (*VenusTokenCaller) AccrualBlockNumber

func (_VenusToken *VenusTokenCaller) AccrualBlockNumber(opts *bind.CallOpts) (*big.Int, error)

AccrualBlockNumber is a free data retrieval call binding the contract method 0x6c540baf.

Solidity: function accrualBlockNumber() view returns(uint256)

func (*VenusTokenCaller) Admin

func (_VenusToken *VenusTokenCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*VenusTokenCaller) Allowance

func (_VenusToken *VenusTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*VenusTokenCaller) BalanceOf

func (_VenusToken *VenusTokenCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*VenusTokenCaller) BorrowBalanceStored

func (_VenusToken *VenusTokenCaller) BorrowBalanceStored(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BorrowBalanceStored is a free data retrieval call binding the contract method 0x95dd9193.

Solidity: function borrowBalanceStored(address account) view returns(uint256)

func (*VenusTokenCaller) BorrowIndex

func (_VenusToken *VenusTokenCaller) BorrowIndex(opts *bind.CallOpts) (*big.Int, error)

BorrowIndex is a free data retrieval call binding the contract method 0xaa5af0fd.

Solidity: function borrowIndex() view returns(uint256)

func (*VenusTokenCaller) BorrowRatePerBlock

func (_VenusToken *VenusTokenCaller) BorrowRatePerBlock(opts *bind.CallOpts) (*big.Int, error)

BorrowRatePerBlock is a free data retrieval call binding the contract method 0xf8f9da28.

Solidity: function borrowRatePerBlock() view returns(uint256)

func (*VenusTokenCaller) Comptroller

func (_VenusToken *VenusTokenCaller) Comptroller(opts *bind.CallOpts) (common.Address, error)

Comptroller is a free data retrieval call binding the contract method 0x5fe3b567.

Solidity: function comptroller() view returns(address)

func (*VenusTokenCaller) Decimals

func (_VenusToken *VenusTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*VenusTokenCaller) ExchangeRateStored

func (_VenusToken *VenusTokenCaller) ExchangeRateStored(opts *bind.CallOpts) (*big.Int, error)

ExchangeRateStored is a free data retrieval call binding the contract method 0x182df0f5.

Solidity: function exchangeRateStored() view returns(uint256)

func (*VenusTokenCaller) GetAccountSnapshot

func (_VenusToken *VenusTokenCaller) GetAccountSnapshot(opts *bind.CallOpts, account common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)

GetAccountSnapshot is a free data retrieval call binding the contract method 0xc37f68e2.

Solidity: function getAccountSnapshot(address account) view returns(uint256, uint256, uint256, uint256)

func (*VenusTokenCaller) GetCash

func (_VenusToken *VenusTokenCaller) GetCash(opts *bind.CallOpts) (*big.Int, error)

GetCash is a free data retrieval call binding the contract method 0x3b1d21a2.

Solidity: function getCash() view returns(uint256)

func (*VenusTokenCaller) Implementation

func (_VenusToken *VenusTokenCaller) Implementation(opts *bind.CallOpts) (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*VenusTokenCaller) InterestRateModel

func (_VenusToken *VenusTokenCaller) InterestRateModel(opts *bind.CallOpts) (common.Address, error)

InterestRateModel is a free data retrieval call binding the contract method 0xf3fdb15a.

Solidity: function interestRateModel() view returns(address)

func (*VenusTokenCaller) IsVToken

func (_VenusToken *VenusTokenCaller) IsVToken(opts *bind.CallOpts) (bool, error)

IsVToken is a free data retrieval call binding the contract method 0x3d9ea3a1.

Solidity: function isVToken() view returns(bool)

func (*VenusTokenCaller) Name

func (_VenusToken *VenusTokenCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*VenusTokenCaller) PendingAdmin

func (_VenusToken *VenusTokenCaller) PendingAdmin(opts *bind.CallOpts) (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

func (*VenusTokenCaller) ReserveFactorMantissa

func (_VenusToken *VenusTokenCaller) ReserveFactorMantissa(opts *bind.CallOpts) (*big.Int, error)

ReserveFactorMantissa is a free data retrieval call binding the contract method 0x173b9904.

Solidity: function reserveFactorMantissa() view returns(uint256)

func (*VenusTokenCaller) SupplyRatePerBlock

func (_VenusToken *VenusTokenCaller) SupplyRatePerBlock(opts *bind.CallOpts) (*big.Int, error)

SupplyRatePerBlock is a free data retrieval call binding the contract method 0xae9d70b0.

Solidity: function supplyRatePerBlock() view returns(uint256)

func (*VenusTokenCaller) Symbol

func (_VenusToken *VenusTokenCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*VenusTokenCaller) TotalBorrows

func (_VenusToken *VenusTokenCaller) TotalBorrows(opts *bind.CallOpts) (*big.Int, error)

TotalBorrows is a free data retrieval call binding the contract method 0x47bd3718.

Solidity: function totalBorrows() view returns(uint256)

func (*VenusTokenCaller) TotalReserves

func (_VenusToken *VenusTokenCaller) TotalReserves(opts *bind.CallOpts) (*big.Int, error)

TotalReserves is a free data retrieval call binding the contract method 0x8f840ddd.

Solidity: function totalReserves() view returns(uint256)

func (*VenusTokenCaller) TotalSupply

func (_VenusToken *VenusTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*VenusTokenCaller) Underlying

func (_VenusToken *VenusTokenCaller) Underlying(opts *bind.CallOpts) (common.Address, error)

Underlying is a free data retrieval call binding the contract method 0x6f307dc3.

Solidity: function underlying() view returns(address)

type VenusTokenCallerRaw

type VenusTokenCallerRaw struct {
	Contract *VenusTokenCaller // Generic read-only contract binding to access the raw methods on
}

VenusTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*VenusTokenCallerRaw) Call

func (_VenusToken *VenusTokenCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type VenusTokenCallerSession

type VenusTokenCallerSession struct {
	Contract *VenusTokenCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts     // Call options to use throughout this session
}

VenusTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*VenusTokenCallerSession) AccrualBlockNumber

func (_VenusToken *VenusTokenCallerSession) AccrualBlockNumber() (*big.Int, error)

AccrualBlockNumber is a free data retrieval call binding the contract method 0x6c540baf.

Solidity: function accrualBlockNumber() view returns(uint256)

func (*VenusTokenCallerSession) Admin

func (_VenusToken *VenusTokenCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*VenusTokenCallerSession) Allowance

func (_VenusToken *VenusTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*VenusTokenCallerSession) BalanceOf

func (_VenusToken *VenusTokenCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*VenusTokenCallerSession) BorrowBalanceStored

func (_VenusToken *VenusTokenCallerSession) BorrowBalanceStored(account common.Address) (*big.Int, error)

BorrowBalanceStored is a free data retrieval call binding the contract method 0x95dd9193.

Solidity: function borrowBalanceStored(address account) view returns(uint256)

func (*VenusTokenCallerSession) BorrowIndex

func (_VenusToken *VenusTokenCallerSession) BorrowIndex() (*big.Int, error)

BorrowIndex is a free data retrieval call binding the contract method 0xaa5af0fd.

Solidity: function borrowIndex() view returns(uint256)

func (*VenusTokenCallerSession) BorrowRatePerBlock

func (_VenusToken *VenusTokenCallerSession) BorrowRatePerBlock() (*big.Int, error)

BorrowRatePerBlock is a free data retrieval call binding the contract method 0xf8f9da28.

Solidity: function borrowRatePerBlock() view returns(uint256)

func (*VenusTokenCallerSession) Comptroller

func (_VenusToken *VenusTokenCallerSession) Comptroller() (common.Address, error)

Comptroller is a free data retrieval call binding the contract method 0x5fe3b567.

Solidity: function comptroller() view returns(address)

func (*VenusTokenCallerSession) Decimals

func (_VenusToken *VenusTokenCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*VenusTokenCallerSession) ExchangeRateStored

func (_VenusToken *VenusTokenCallerSession) ExchangeRateStored() (*big.Int, error)

ExchangeRateStored is a free data retrieval call binding the contract method 0x182df0f5.

Solidity: function exchangeRateStored() view returns(uint256)

func (*VenusTokenCallerSession) GetAccountSnapshot

func (_VenusToken *VenusTokenCallerSession) GetAccountSnapshot(account common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)

GetAccountSnapshot is a free data retrieval call binding the contract method 0xc37f68e2.

Solidity: function getAccountSnapshot(address account) view returns(uint256, uint256, uint256, uint256)

func (*VenusTokenCallerSession) GetCash

func (_VenusToken *VenusTokenCallerSession) GetCash() (*big.Int, error)

GetCash is a free data retrieval call binding the contract method 0x3b1d21a2.

Solidity: function getCash() view returns(uint256)

func (*VenusTokenCallerSession) Implementation

func (_VenusToken *VenusTokenCallerSession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*VenusTokenCallerSession) InterestRateModel

func (_VenusToken *VenusTokenCallerSession) InterestRateModel() (common.Address, error)

InterestRateModel is a free data retrieval call binding the contract method 0xf3fdb15a.

Solidity: function interestRateModel() view returns(address)

func (*VenusTokenCallerSession) IsVToken

func (_VenusToken *VenusTokenCallerSession) IsVToken() (bool, error)

IsVToken is a free data retrieval call binding the contract method 0x3d9ea3a1.

Solidity: function isVToken() view returns(bool)

func (*VenusTokenCallerSession) Name

func (_VenusToken *VenusTokenCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*VenusTokenCallerSession) PendingAdmin

func (_VenusToken *VenusTokenCallerSession) PendingAdmin() (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

func (*VenusTokenCallerSession) ReserveFactorMantissa

func (_VenusToken *VenusTokenCallerSession) ReserveFactorMantissa() (*big.Int, error)

ReserveFactorMantissa is a free data retrieval call binding the contract method 0x173b9904.

Solidity: function reserveFactorMantissa() view returns(uint256)

func (*VenusTokenCallerSession) SupplyRatePerBlock

func (_VenusToken *VenusTokenCallerSession) SupplyRatePerBlock() (*big.Int, error)

SupplyRatePerBlock is a free data retrieval call binding the contract method 0xae9d70b0.

Solidity: function supplyRatePerBlock() view returns(uint256)

func (*VenusTokenCallerSession) Symbol

func (_VenusToken *VenusTokenCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*VenusTokenCallerSession) TotalBorrows

func (_VenusToken *VenusTokenCallerSession) TotalBorrows() (*big.Int, error)

TotalBorrows is a free data retrieval call binding the contract method 0x47bd3718.

Solidity: function totalBorrows() view returns(uint256)

func (*VenusTokenCallerSession) TotalReserves

func (_VenusToken *VenusTokenCallerSession) TotalReserves() (*big.Int, error)

TotalReserves is a free data retrieval call binding the contract method 0x8f840ddd.

Solidity: function totalReserves() view returns(uint256)

func (*VenusTokenCallerSession) TotalSupply

func (_VenusToken *VenusTokenCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*VenusTokenCallerSession) Underlying

func (_VenusToken *VenusTokenCallerSession) Underlying() (common.Address, error)

Underlying is a free data retrieval call binding the contract method 0x6f307dc3.

Solidity: function underlying() view returns(address)

type VenusTokenFailure

type VenusTokenFailure struct {
	Error  *big.Int
	Info   *big.Int
	Detail *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

VenusTokenFailure represents a Failure event raised by the VenusToken contract.

type VenusTokenFailureIterator

type VenusTokenFailureIterator struct {
	Event *VenusTokenFailure // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusTokenFailureIterator is returned from FilterFailure and is used to iterate over the raw logs and unpacked data for Failure events raised by the VenusToken contract.

func (*VenusTokenFailureIterator) Close

func (it *VenusTokenFailureIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusTokenFailureIterator) Error

func (it *VenusTokenFailureIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTokenFailureIterator) Next

func (it *VenusTokenFailureIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusTokenFilterer

type VenusTokenFilterer struct {
	// contains filtered or unexported fields
}

VenusTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewVenusTokenFilterer

func NewVenusTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*VenusTokenFilterer, error)

NewVenusTokenFilterer creates a new log filterer instance of VenusToken, bound to a specific deployed contract.

func (*VenusTokenFilterer) FilterAccrueInterest

func (_VenusToken *VenusTokenFilterer) FilterAccrueInterest(opts *bind.FilterOpts) (*VenusTokenAccrueInterestIterator, error)

FilterAccrueInterest is a free log retrieval operation binding the contract event 0x4dec04e750ca11537cabcd8a9eab06494de08da3735bc8871cd41250e190bc04.

Solidity: event AccrueInterest(uint256 cashPrior, uint256 interestAccumulated, uint256 borrowIndex, uint256 totalBorrows)

func (*VenusTokenFilterer) FilterApproval

func (_VenusToken *VenusTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*VenusTokenApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)

func (*VenusTokenFilterer) FilterBorrow

func (_VenusToken *VenusTokenFilterer) FilterBorrow(opts *bind.FilterOpts) (*VenusTokenBorrowIterator, error)

FilterBorrow is a free log retrieval operation binding the contract event 0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80.

Solidity: event Borrow(address borrower, uint256 borrowAmount, uint256 accountBorrows, uint256 totalBorrows)

func (*VenusTokenFilterer) FilterFailure

func (_VenusToken *VenusTokenFilterer) FilterFailure(opts *bind.FilterOpts) (*VenusTokenFailureIterator, error)

FilterFailure is a free log retrieval operation binding the contract event 0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0.

Solidity: event Failure(uint256 error, uint256 info, uint256 detail)

func (*VenusTokenFilterer) FilterLiquidateBorrow

func (_VenusToken *VenusTokenFilterer) FilterLiquidateBorrow(opts *bind.FilterOpts) (*VenusTokenLiquidateBorrowIterator, error)

FilterLiquidateBorrow is a free log retrieval operation binding the contract event 0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52.

Solidity: event LiquidateBorrow(address liquidator, address borrower, uint256 repayAmount, address vTokenCollateral, uint256 seizeTokens)

func (*VenusTokenFilterer) FilterMint

func (_VenusToken *VenusTokenFilterer) FilterMint(opts *bind.FilterOpts) (*VenusTokenMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address minter, uint256 mintAmount, uint256 mintTokens)

func (*VenusTokenFilterer) FilterNewAdmin

func (_VenusToken *VenusTokenFilterer) FilterNewAdmin(opts *bind.FilterOpts) (*VenusTokenNewAdminIterator, error)

FilterNewAdmin is a free log retrieval operation binding the contract event 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc.

Solidity: event NewAdmin(address oldAdmin, address newAdmin)

func (*VenusTokenFilterer) FilterNewComptroller

func (_VenusToken *VenusTokenFilterer) FilterNewComptroller(opts *bind.FilterOpts) (*VenusTokenNewComptrollerIterator, error)

FilterNewComptroller is a free log retrieval operation binding the contract event 0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d.

Solidity: event NewComptroller(address oldComptroller, address newComptroller)

func (*VenusTokenFilterer) FilterNewMarketInterestRateModel

func (_VenusToken *VenusTokenFilterer) FilterNewMarketInterestRateModel(opts *bind.FilterOpts) (*VenusTokenNewMarketInterestRateModelIterator, error)

FilterNewMarketInterestRateModel is a free log retrieval operation binding the contract event 0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926.

Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)

func (*VenusTokenFilterer) FilterNewPendingAdmin

func (_VenusToken *VenusTokenFilterer) FilterNewPendingAdmin(opts *bind.FilterOpts) (*VenusTokenNewPendingAdminIterator, error)

FilterNewPendingAdmin is a free log retrieval operation binding the contract event 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9.

Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)

func (*VenusTokenFilterer) FilterNewReserveFactor

func (_VenusToken *VenusTokenFilterer) FilterNewReserveFactor(opts *bind.FilterOpts) (*VenusTokenNewReserveFactorIterator, error)

FilterNewReserveFactor is a free log retrieval operation binding the contract event 0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460.

Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)

func (*VenusTokenFilterer) FilterRedeem

func (_VenusToken *VenusTokenFilterer) FilterRedeem(opts *bind.FilterOpts) (*VenusTokenRedeemIterator, error)

FilterRedeem is a free log retrieval operation binding the contract event 0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929.

Solidity: event Redeem(address redeemer, uint256 redeemAmount, uint256 redeemTokens)

func (*VenusTokenFilterer) FilterRedeemFee

func (_VenusToken *VenusTokenFilterer) FilterRedeemFee(opts *bind.FilterOpts) (*VenusTokenRedeemFeeIterator, error)

FilterRedeemFee is a free log retrieval operation binding the contract event 0xccf8e53b86a99b7e9ecf796342c165764d66154780f638c08e6241d711fba6d4.

Solidity: event RedeemFee(address redeemer, uint256 feeAmount, uint256 redeemTokens)

func (*VenusTokenFilterer) FilterRepayBorrow

func (_VenusToken *VenusTokenFilterer) FilterRepayBorrow(opts *bind.FilterOpts) (*VenusTokenRepayBorrowIterator, error)

FilterRepayBorrow is a free log retrieval operation binding the contract event 0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1.

Solidity: event RepayBorrow(address payer, address borrower, uint256 repayAmount, uint256 accountBorrows, uint256 totalBorrows)

func (*VenusTokenFilterer) FilterReservesAdded

func (_VenusToken *VenusTokenFilterer) FilterReservesAdded(opts *bind.FilterOpts) (*VenusTokenReservesAddedIterator, error)

FilterReservesAdded is a free log retrieval operation binding the contract event 0xa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc5.

Solidity: event ReservesAdded(address benefactor, uint256 addAmount, uint256 newTotalReserves)

func (*VenusTokenFilterer) FilterReservesReduced

func (_VenusToken *VenusTokenFilterer) FilterReservesReduced(opts *bind.FilterOpts) (*VenusTokenReservesReducedIterator, error)

FilterReservesReduced is a free log retrieval operation binding the contract event 0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e.

Solidity: event ReservesReduced(address admin, uint256 reduceAmount, uint256 newTotalReserves)

func (*VenusTokenFilterer) FilterTransfer

func (_VenusToken *VenusTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VenusTokenTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)

func (*VenusTokenFilterer) ParseAccrueInterest

func (_VenusToken *VenusTokenFilterer) ParseAccrueInterest(log types.Log) (*VenusTokenAccrueInterest, error)

ParseAccrueInterest is a log parse operation binding the contract event 0x4dec04e750ca11537cabcd8a9eab06494de08da3735bc8871cd41250e190bc04.

Solidity: event AccrueInterest(uint256 cashPrior, uint256 interestAccumulated, uint256 borrowIndex, uint256 totalBorrows)

func (*VenusTokenFilterer) ParseApproval

func (_VenusToken *VenusTokenFilterer) ParseApproval(log types.Log) (*VenusTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)

func (*VenusTokenFilterer) ParseBorrow

func (_VenusToken *VenusTokenFilterer) ParseBorrow(log types.Log) (*VenusTokenBorrow, error)

ParseBorrow is a log parse operation binding the contract event 0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80.

Solidity: event Borrow(address borrower, uint256 borrowAmount, uint256 accountBorrows, uint256 totalBorrows)

func (*VenusTokenFilterer) ParseFailure

func (_VenusToken *VenusTokenFilterer) ParseFailure(log types.Log) (*VenusTokenFailure, error)

ParseFailure is a log parse operation binding the contract event 0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0.

Solidity: event Failure(uint256 error, uint256 info, uint256 detail)

func (*VenusTokenFilterer) ParseLiquidateBorrow

func (_VenusToken *VenusTokenFilterer) ParseLiquidateBorrow(log types.Log) (*VenusTokenLiquidateBorrow, error)

ParseLiquidateBorrow is a log parse operation binding the contract event 0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52.

Solidity: event LiquidateBorrow(address liquidator, address borrower, uint256 repayAmount, address vTokenCollateral, uint256 seizeTokens)

func (*VenusTokenFilterer) ParseMint

func (_VenusToken *VenusTokenFilterer) ParseMint(log types.Log) (*VenusTokenMint, error)

ParseMint is a log parse operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address minter, uint256 mintAmount, uint256 mintTokens)

func (*VenusTokenFilterer) ParseNewAdmin

func (_VenusToken *VenusTokenFilterer) ParseNewAdmin(log types.Log) (*VenusTokenNewAdmin, error)

ParseNewAdmin is a log parse operation binding the contract event 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc.

Solidity: event NewAdmin(address oldAdmin, address newAdmin)

func (*VenusTokenFilterer) ParseNewComptroller

func (_VenusToken *VenusTokenFilterer) ParseNewComptroller(log types.Log) (*VenusTokenNewComptroller, error)

ParseNewComptroller is a log parse operation binding the contract event 0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d.

Solidity: event NewComptroller(address oldComptroller, address newComptroller)

func (*VenusTokenFilterer) ParseNewMarketInterestRateModel

func (_VenusToken *VenusTokenFilterer) ParseNewMarketInterestRateModel(log types.Log) (*VenusTokenNewMarketInterestRateModel, error)

ParseNewMarketInterestRateModel is a log parse operation binding the contract event 0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926.

Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)

func (*VenusTokenFilterer) ParseNewPendingAdmin

func (_VenusToken *VenusTokenFilterer) ParseNewPendingAdmin(log types.Log) (*VenusTokenNewPendingAdmin, error)

ParseNewPendingAdmin is a log parse operation binding the contract event 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9.

Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)

func (*VenusTokenFilterer) ParseNewReserveFactor

func (_VenusToken *VenusTokenFilterer) ParseNewReserveFactor(log types.Log) (*VenusTokenNewReserveFactor, error)

ParseNewReserveFactor is a log parse operation binding the contract event 0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460.

Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)

func (*VenusTokenFilterer) ParseRedeem

func (_VenusToken *VenusTokenFilterer) ParseRedeem(log types.Log) (*VenusTokenRedeem, error)

ParseRedeem is a log parse operation binding the contract event 0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929.

Solidity: event Redeem(address redeemer, uint256 redeemAmount, uint256 redeemTokens)

func (*VenusTokenFilterer) ParseRedeemFee

func (_VenusToken *VenusTokenFilterer) ParseRedeemFee(log types.Log) (*VenusTokenRedeemFee, error)

ParseRedeemFee is a log parse operation binding the contract event 0xccf8e53b86a99b7e9ecf796342c165764d66154780f638c08e6241d711fba6d4.

Solidity: event RedeemFee(address redeemer, uint256 feeAmount, uint256 redeemTokens)

func (*VenusTokenFilterer) ParseRepayBorrow

func (_VenusToken *VenusTokenFilterer) ParseRepayBorrow(log types.Log) (*VenusTokenRepayBorrow, error)

ParseRepayBorrow is a log parse operation binding the contract event 0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1.

Solidity: event RepayBorrow(address payer, address borrower, uint256 repayAmount, uint256 accountBorrows, uint256 totalBorrows)

func (*VenusTokenFilterer) ParseReservesAdded

func (_VenusToken *VenusTokenFilterer) ParseReservesAdded(log types.Log) (*VenusTokenReservesAdded, error)

ParseReservesAdded is a log parse operation binding the contract event 0xa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc5.

Solidity: event ReservesAdded(address benefactor, uint256 addAmount, uint256 newTotalReserves)

func (*VenusTokenFilterer) ParseReservesReduced

func (_VenusToken *VenusTokenFilterer) ParseReservesReduced(log types.Log) (*VenusTokenReservesReduced, error)

ParseReservesReduced is a log parse operation binding the contract event 0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e.

Solidity: event ReservesReduced(address admin, uint256 reduceAmount, uint256 newTotalReserves)

func (*VenusTokenFilterer) ParseTransfer

func (_VenusToken *VenusTokenFilterer) ParseTransfer(log types.Log) (*VenusTokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)

func (*VenusTokenFilterer) WatchAccrueInterest

func (_VenusToken *VenusTokenFilterer) WatchAccrueInterest(opts *bind.WatchOpts, sink chan<- *VenusTokenAccrueInterest) (event.Subscription, error)

WatchAccrueInterest is a free log subscription operation binding the contract event 0x4dec04e750ca11537cabcd8a9eab06494de08da3735bc8871cd41250e190bc04.

Solidity: event AccrueInterest(uint256 cashPrior, uint256 interestAccumulated, uint256 borrowIndex, uint256 totalBorrows)

func (*VenusTokenFilterer) WatchApproval

func (_VenusToken *VenusTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *VenusTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)

func (*VenusTokenFilterer) WatchBorrow

func (_VenusToken *VenusTokenFilterer) WatchBorrow(opts *bind.WatchOpts, sink chan<- *VenusTokenBorrow) (event.Subscription, error)

WatchBorrow is a free log subscription operation binding the contract event 0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80.

Solidity: event Borrow(address borrower, uint256 borrowAmount, uint256 accountBorrows, uint256 totalBorrows)

func (*VenusTokenFilterer) WatchFailure

func (_VenusToken *VenusTokenFilterer) WatchFailure(opts *bind.WatchOpts, sink chan<- *VenusTokenFailure) (event.Subscription, error)

WatchFailure is a free log subscription operation binding the contract event 0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0.

Solidity: event Failure(uint256 error, uint256 info, uint256 detail)

func (*VenusTokenFilterer) WatchLiquidateBorrow

func (_VenusToken *VenusTokenFilterer) WatchLiquidateBorrow(opts *bind.WatchOpts, sink chan<- *VenusTokenLiquidateBorrow) (event.Subscription, error)

WatchLiquidateBorrow is a free log subscription operation binding the contract event 0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52.

Solidity: event LiquidateBorrow(address liquidator, address borrower, uint256 repayAmount, address vTokenCollateral, uint256 seizeTokens)

func (*VenusTokenFilterer) WatchMint

func (_VenusToken *VenusTokenFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *VenusTokenMint) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address minter, uint256 mintAmount, uint256 mintTokens)

func (*VenusTokenFilterer) WatchNewAdmin

func (_VenusToken *VenusTokenFilterer) WatchNewAdmin(opts *bind.WatchOpts, sink chan<- *VenusTokenNewAdmin) (event.Subscription, error)

WatchNewAdmin is a free log subscription operation binding the contract event 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc.

Solidity: event NewAdmin(address oldAdmin, address newAdmin)

func (*VenusTokenFilterer) WatchNewComptroller

func (_VenusToken *VenusTokenFilterer) WatchNewComptroller(opts *bind.WatchOpts, sink chan<- *VenusTokenNewComptroller) (event.Subscription, error)

WatchNewComptroller is a free log subscription operation binding the contract event 0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d.

Solidity: event NewComptroller(address oldComptroller, address newComptroller)

func (*VenusTokenFilterer) WatchNewMarketInterestRateModel

func (_VenusToken *VenusTokenFilterer) WatchNewMarketInterestRateModel(opts *bind.WatchOpts, sink chan<- *VenusTokenNewMarketInterestRateModel) (event.Subscription, error)

WatchNewMarketInterestRateModel is a free log subscription operation binding the contract event 0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926.

Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)

func (*VenusTokenFilterer) WatchNewPendingAdmin

func (_VenusToken *VenusTokenFilterer) WatchNewPendingAdmin(opts *bind.WatchOpts, sink chan<- *VenusTokenNewPendingAdmin) (event.Subscription, error)

WatchNewPendingAdmin is a free log subscription operation binding the contract event 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9.

Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)

func (*VenusTokenFilterer) WatchNewReserveFactor

func (_VenusToken *VenusTokenFilterer) WatchNewReserveFactor(opts *bind.WatchOpts, sink chan<- *VenusTokenNewReserveFactor) (event.Subscription, error)

WatchNewReserveFactor is a free log subscription operation binding the contract event 0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460.

Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)

func (*VenusTokenFilterer) WatchRedeem

func (_VenusToken *VenusTokenFilterer) WatchRedeem(opts *bind.WatchOpts, sink chan<- *VenusTokenRedeem) (event.Subscription, error)

WatchRedeem is a free log subscription operation binding the contract event 0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929.

Solidity: event Redeem(address redeemer, uint256 redeemAmount, uint256 redeemTokens)

func (*VenusTokenFilterer) WatchRedeemFee

func (_VenusToken *VenusTokenFilterer) WatchRedeemFee(opts *bind.WatchOpts, sink chan<- *VenusTokenRedeemFee) (event.Subscription, error)

WatchRedeemFee is a free log subscription operation binding the contract event 0xccf8e53b86a99b7e9ecf796342c165764d66154780f638c08e6241d711fba6d4.

Solidity: event RedeemFee(address redeemer, uint256 feeAmount, uint256 redeemTokens)

func (*VenusTokenFilterer) WatchRepayBorrow

func (_VenusToken *VenusTokenFilterer) WatchRepayBorrow(opts *bind.WatchOpts, sink chan<- *VenusTokenRepayBorrow) (event.Subscription, error)

WatchRepayBorrow is a free log subscription operation binding the contract event 0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1.

Solidity: event RepayBorrow(address payer, address borrower, uint256 repayAmount, uint256 accountBorrows, uint256 totalBorrows)

func (*VenusTokenFilterer) WatchReservesAdded

func (_VenusToken *VenusTokenFilterer) WatchReservesAdded(opts *bind.WatchOpts, sink chan<- *VenusTokenReservesAdded) (event.Subscription, error)

WatchReservesAdded is a free log subscription operation binding the contract event 0xa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc5.

Solidity: event ReservesAdded(address benefactor, uint256 addAmount, uint256 newTotalReserves)

func (*VenusTokenFilterer) WatchReservesReduced

func (_VenusToken *VenusTokenFilterer) WatchReservesReduced(opts *bind.WatchOpts, sink chan<- *VenusTokenReservesReduced) (event.Subscription, error)

WatchReservesReduced is a free log subscription operation binding the contract event 0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e.

Solidity: event ReservesReduced(address admin, uint256 reduceAmount, uint256 newTotalReserves)

func (*VenusTokenFilterer) WatchTransfer

func (_VenusToken *VenusTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *VenusTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)

type VenusTokenLiquidateBorrow

type VenusTokenLiquidateBorrow struct {
	Liquidator       common.Address
	Borrower         common.Address
	RepayAmount      *big.Int
	VTokenCollateral common.Address
	SeizeTokens      *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

VenusTokenLiquidateBorrow represents a LiquidateBorrow event raised by the VenusToken contract.

type VenusTokenLiquidateBorrowIterator

type VenusTokenLiquidateBorrowIterator struct {
	Event *VenusTokenLiquidateBorrow // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusTokenLiquidateBorrowIterator is returned from FilterLiquidateBorrow and is used to iterate over the raw logs and unpacked data for LiquidateBorrow events raised by the VenusToken contract.

func (*VenusTokenLiquidateBorrowIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusTokenLiquidateBorrowIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTokenLiquidateBorrowIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusTokenMint

type VenusTokenMint struct {
	Minter     common.Address
	MintAmount *big.Int
	MintTokens *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

VenusTokenMint represents a Mint event raised by the VenusToken contract.

type VenusTokenMintIterator

type VenusTokenMintIterator struct {
	Event *VenusTokenMint // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusTokenMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the VenusToken contract.

func (*VenusTokenMintIterator) Close

func (it *VenusTokenMintIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusTokenMintIterator) Error

func (it *VenusTokenMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTokenMintIterator) Next

func (it *VenusTokenMintIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusTokenNewAdmin

type VenusTokenNewAdmin struct {
	OldAdmin common.Address
	NewAdmin common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

VenusTokenNewAdmin represents a NewAdmin event raised by the VenusToken contract.

type VenusTokenNewAdminIterator

type VenusTokenNewAdminIterator struct {
	Event *VenusTokenNewAdmin // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusTokenNewAdminIterator is returned from FilterNewAdmin and is used to iterate over the raw logs and unpacked data for NewAdmin events raised by the VenusToken contract.

func (*VenusTokenNewAdminIterator) Close

func (it *VenusTokenNewAdminIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusTokenNewAdminIterator) Error

func (it *VenusTokenNewAdminIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTokenNewAdminIterator) Next

func (it *VenusTokenNewAdminIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusTokenNewComptroller

type VenusTokenNewComptroller struct {
	OldComptroller common.Address
	NewComptroller common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

VenusTokenNewComptroller represents a NewComptroller event raised by the VenusToken contract.

type VenusTokenNewComptrollerIterator

type VenusTokenNewComptrollerIterator struct {
	Event *VenusTokenNewComptroller // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusTokenNewComptrollerIterator is returned from FilterNewComptroller and is used to iterate over the raw logs and unpacked data for NewComptroller events raised by the VenusToken contract.

func (*VenusTokenNewComptrollerIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusTokenNewComptrollerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTokenNewComptrollerIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusTokenNewMarketInterestRateModel

type VenusTokenNewMarketInterestRateModel struct {
	OldInterestRateModel common.Address
	NewInterestRateModel common.Address
	Raw                  types.Log // Blockchain specific contextual infos
}

VenusTokenNewMarketInterestRateModel represents a NewMarketInterestRateModel event raised by the VenusToken contract.

type VenusTokenNewMarketInterestRateModelIterator

type VenusTokenNewMarketInterestRateModelIterator struct {
	Event *VenusTokenNewMarketInterestRateModel // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusTokenNewMarketInterestRateModelIterator is returned from FilterNewMarketInterestRateModel and is used to iterate over the raw logs and unpacked data for NewMarketInterestRateModel events raised by the VenusToken contract.

func (*VenusTokenNewMarketInterestRateModelIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusTokenNewMarketInterestRateModelIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTokenNewMarketInterestRateModelIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusTokenNewPendingAdmin

type VenusTokenNewPendingAdmin struct {
	OldPendingAdmin common.Address
	NewPendingAdmin common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

VenusTokenNewPendingAdmin represents a NewPendingAdmin event raised by the VenusToken contract.

type VenusTokenNewPendingAdminIterator

type VenusTokenNewPendingAdminIterator struct {
	Event *VenusTokenNewPendingAdmin // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusTokenNewPendingAdminIterator is returned from FilterNewPendingAdmin and is used to iterate over the raw logs and unpacked data for NewPendingAdmin events raised by the VenusToken contract.

func (*VenusTokenNewPendingAdminIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusTokenNewPendingAdminIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTokenNewPendingAdminIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusTokenNewReserveFactor

type VenusTokenNewReserveFactor struct {
	OldReserveFactorMantissa *big.Int
	NewReserveFactorMantissa *big.Int
	Raw                      types.Log // Blockchain specific contextual infos
}

VenusTokenNewReserveFactor represents a NewReserveFactor event raised by the VenusToken contract.

type VenusTokenNewReserveFactorIterator

type VenusTokenNewReserveFactorIterator struct {
	Event *VenusTokenNewReserveFactor // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusTokenNewReserveFactorIterator is returned from FilterNewReserveFactor and is used to iterate over the raw logs and unpacked data for NewReserveFactor events raised by the VenusToken contract.

func (*VenusTokenNewReserveFactorIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusTokenNewReserveFactorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTokenNewReserveFactorIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusTokenRaw

type VenusTokenRaw struct {
	Contract *VenusToken // Generic contract binding to access the raw methods on
}

VenusTokenRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*VenusTokenRaw) Call

func (_VenusToken *VenusTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*VenusTokenRaw) Transact

func (_VenusToken *VenusTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*VenusTokenRaw) Transfer

func (_VenusToken *VenusTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type VenusTokenRedeem

type VenusTokenRedeem struct {
	Redeemer     common.Address
	RedeemAmount *big.Int
	RedeemTokens *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

VenusTokenRedeem represents a Redeem event raised by the VenusToken contract.

type VenusTokenRedeemFee

type VenusTokenRedeemFee struct {
	Redeemer     common.Address
	FeeAmount    *big.Int
	RedeemTokens *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

VenusTokenRedeemFee represents a RedeemFee event raised by the VenusToken contract.

type VenusTokenRedeemFeeIterator

type VenusTokenRedeemFeeIterator struct {
	Event *VenusTokenRedeemFee // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusTokenRedeemFeeIterator is returned from FilterRedeemFee and is used to iterate over the raw logs and unpacked data for RedeemFee events raised by the VenusToken contract.

func (*VenusTokenRedeemFeeIterator) Close

func (it *VenusTokenRedeemFeeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusTokenRedeemFeeIterator) Error

func (it *VenusTokenRedeemFeeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTokenRedeemFeeIterator) Next

func (it *VenusTokenRedeemFeeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusTokenRedeemIterator

type VenusTokenRedeemIterator struct {
	Event *VenusTokenRedeem // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusTokenRedeemIterator is returned from FilterRedeem and is used to iterate over the raw logs and unpacked data for Redeem events raised by the VenusToken contract.

func (*VenusTokenRedeemIterator) Close

func (it *VenusTokenRedeemIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusTokenRedeemIterator) Error

func (it *VenusTokenRedeemIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTokenRedeemIterator) Next

func (it *VenusTokenRedeemIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusTokenRepayBorrow

type VenusTokenRepayBorrow struct {
	Payer          common.Address
	Borrower       common.Address
	RepayAmount    *big.Int
	AccountBorrows *big.Int
	TotalBorrows   *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

VenusTokenRepayBorrow represents a RepayBorrow event raised by the VenusToken contract.

type VenusTokenRepayBorrowIterator

type VenusTokenRepayBorrowIterator struct {
	Event *VenusTokenRepayBorrow // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusTokenRepayBorrowIterator is returned from FilterRepayBorrow and is used to iterate over the raw logs and unpacked data for RepayBorrow events raised by the VenusToken contract.

func (*VenusTokenRepayBorrowIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusTokenRepayBorrowIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTokenRepayBorrowIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusTokenReservesAdded

type VenusTokenReservesAdded struct {
	Benefactor       common.Address
	AddAmount        *big.Int
	NewTotalReserves *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

VenusTokenReservesAdded represents a ReservesAdded event raised by the VenusToken contract.

type VenusTokenReservesAddedIterator

type VenusTokenReservesAddedIterator struct {
	Event *VenusTokenReservesAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusTokenReservesAddedIterator is returned from FilterReservesAdded and is used to iterate over the raw logs and unpacked data for ReservesAdded events raised by the VenusToken contract.

func (*VenusTokenReservesAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusTokenReservesAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTokenReservesAddedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusTokenReservesReduced

type VenusTokenReservesReduced struct {
	Admin            common.Address
	ReduceAmount     *big.Int
	NewTotalReserves *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

VenusTokenReservesReduced represents a ReservesReduced event raised by the VenusToken contract.

type VenusTokenReservesReducedIterator

type VenusTokenReservesReducedIterator struct {
	Event *VenusTokenReservesReduced // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusTokenReservesReducedIterator is returned from FilterReservesReduced and is used to iterate over the raw logs and unpacked data for ReservesReduced events raised by the VenusToken contract.

func (*VenusTokenReservesReducedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusTokenReservesReducedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTokenReservesReducedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusTokenSession

type VenusTokenSession struct {
	Contract     *VenusToken       // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

VenusTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*VenusTokenSession) AcceptAdmin

func (_VenusToken *VenusTokenSession) AcceptAdmin() (*types.Transaction, error)

AcceptAdmin is a paid mutator transaction binding the contract method 0xe9c714f2.

Solidity: function _acceptAdmin() returns(uint256)

func (*VenusTokenSession) AccrualBlockNumber

func (_VenusToken *VenusTokenSession) AccrualBlockNumber() (*big.Int, error)

AccrualBlockNumber is a free data retrieval call binding the contract method 0x6c540baf.

Solidity: function accrualBlockNumber() view returns(uint256)

func (*VenusTokenSession) AccrueInterest

func (_VenusToken *VenusTokenSession) AccrueInterest() (*types.Transaction, error)

AccrueInterest is a paid mutator transaction binding the contract method 0xa6afed95.

Solidity: function accrueInterest() returns(uint256)

func (*VenusTokenSession) AddReserves

func (_VenusToken *VenusTokenSession) AddReserves(addAmount *big.Int) (*types.Transaction, error)

AddReserves is a paid mutator transaction binding the contract method 0x3e941010.

Solidity: function _addReserves(uint256 addAmount) returns(uint256)

func (*VenusTokenSession) Admin

func (_VenusToken *VenusTokenSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*VenusTokenSession) Allowance

func (_VenusToken *VenusTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*VenusTokenSession) Approve

func (_VenusToken *VenusTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*VenusTokenSession) BalanceOf

func (_VenusToken *VenusTokenSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*VenusTokenSession) BalanceOfUnderlying

func (_VenusToken *VenusTokenSession) BalanceOfUnderlying(owner common.Address) (*types.Transaction, error)

BalanceOfUnderlying is a paid mutator transaction binding the contract method 0x3af9e669.

Solidity: function balanceOfUnderlying(address owner) returns(uint256)

func (*VenusTokenSession) BecomeImplementation

func (_VenusToken *VenusTokenSession) BecomeImplementation(data []byte) (*types.Transaction, error)

BecomeImplementation is a paid mutator transaction binding the contract method 0x56e67728.

Solidity: function _becomeImplementation(bytes data) returns()

func (*VenusTokenSession) Borrow

func (_VenusToken *VenusTokenSession) Borrow(borrowAmount *big.Int) (*types.Transaction, error)

Borrow is a paid mutator transaction binding the contract method 0xc5ebeaec.

Solidity: function borrow(uint256 borrowAmount) returns(uint256)

func (*VenusTokenSession) BorrowBalanceCurrent

func (_VenusToken *VenusTokenSession) BorrowBalanceCurrent(account common.Address) (*types.Transaction, error)

BorrowBalanceCurrent is a paid mutator transaction binding the contract method 0x17bfdfbc.

Solidity: function borrowBalanceCurrent(address account) returns(uint256)

func (*VenusTokenSession) BorrowBalanceStored

func (_VenusToken *VenusTokenSession) BorrowBalanceStored(account common.Address) (*big.Int, error)

BorrowBalanceStored is a free data retrieval call binding the contract method 0x95dd9193.

Solidity: function borrowBalanceStored(address account) view returns(uint256)

func (*VenusTokenSession) BorrowIndex

func (_VenusToken *VenusTokenSession) BorrowIndex() (*big.Int, error)

BorrowIndex is a free data retrieval call binding the contract method 0xaa5af0fd.

Solidity: function borrowIndex() view returns(uint256)

func (*VenusTokenSession) BorrowRatePerBlock

func (_VenusToken *VenusTokenSession) BorrowRatePerBlock() (*big.Int, error)

BorrowRatePerBlock is a free data retrieval call binding the contract method 0xf8f9da28.

Solidity: function borrowRatePerBlock() view returns(uint256)

func (*VenusTokenSession) Comptroller

func (_VenusToken *VenusTokenSession) Comptroller() (common.Address, error)

Comptroller is a free data retrieval call binding the contract method 0x5fe3b567.

Solidity: function comptroller() view returns(address)

func (*VenusTokenSession) Decimals

func (_VenusToken *VenusTokenSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*VenusTokenSession) ExchangeRateCurrent

func (_VenusToken *VenusTokenSession) ExchangeRateCurrent() (*types.Transaction, error)

ExchangeRateCurrent is a paid mutator transaction binding the contract method 0xbd6d894d.

Solidity: function exchangeRateCurrent() returns(uint256)

func (*VenusTokenSession) ExchangeRateStored

func (_VenusToken *VenusTokenSession) ExchangeRateStored() (*big.Int, error)

ExchangeRateStored is a free data retrieval call binding the contract method 0x182df0f5.

Solidity: function exchangeRateStored() view returns(uint256)

func (*VenusTokenSession) GetAccountSnapshot

func (_VenusToken *VenusTokenSession) GetAccountSnapshot(account common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)

GetAccountSnapshot is a free data retrieval call binding the contract method 0xc37f68e2.

Solidity: function getAccountSnapshot(address account) view returns(uint256, uint256, uint256, uint256)

func (*VenusTokenSession) GetCash

func (_VenusToken *VenusTokenSession) GetCash() (*big.Int, error)

GetCash is a free data retrieval call binding the contract method 0x3b1d21a2.

Solidity: function getCash() view returns(uint256)

func (*VenusTokenSession) Implementation

func (_VenusToken *VenusTokenSession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*VenusTokenSession) Initialize

func (_VenusToken *VenusTokenSession) Initialize(underlying_ common.Address, comptroller_ common.Address, interestRateModel_ common.Address, initialExchangeRateMantissa_ *big.Int, name_ string, symbol_ string, decimals_ uint8) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x1a31d465.

Solidity: function initialize(address underlying_, address comptroller_, address interestRateModel_, uint256 initialExchangeRateMantissa_, string name_, string symbol_, uint8 decimals_) returns()

func (*VenusTokenSession) Initialize0

func (_VenusToken *VenusTokenSession) Initialize0(comptroller_ common.Address, interestRateModel_ common.Address, initialExchangeRateMantissa_ *big.Int, name_ string, symbol_ string, decimals_ uint8) (*types.Transaction, error)

Initialize0 is a paid mutator transaction binding the contract method 0x99d8c1b4.

Solidity: function initialize(address comptroller_, address interestRateModel_, uint256 initialExchangeRateMantissa_, string name_, string symbol_, uint8 decimals_) returns()

func (*VenusTokenSession) InterestRateModel

func (_VenusToken *VenusTokenSession) InterestRateModel() (common.Address, error)

InterestRateModel is a free data retrieval call binding the contract method 0xf3fdb15a.

Solidity: function interestRateModel() view returns(address)

func (*VenusTokenSession) IsVToken

func (_VenusToken *VenusTokenSession) IsVToken() (bool, error)

IsVToken is a free data retrieval call binding the contract method 0x3d9ea3a1.

Solidity: function isVToken() view returns(bool)

func (*VenusTokenSession) LiquidateBorrow

func (_VenusToken *VenusTokenSession) LiquidateBorrow(borrower common.Address, repayAmount *big.Int, vTokenCollateral common.Address) (*types.Transaction, error)

LiquidateBorrow is a paid mutator transaction binding the contract method 0xf5e3c462.

Solidity: function liquidateBorrow(address borrower, uint256 repayAmount, address vTokenCollateral) returns(uint256)

func (*VenusTokenSession) Mint

func (_VenusToken *VenusTokenSession) Mint(mintAmount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xa0712d68.

Solidity: function mint(uint256 mintAmount) returns(uint256)

func (*VenusTokenSession) Name

func (_VenusToken *VenusTokenSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*VenusTokenSession) PendingAdmin

func (_VenusToken *VenusTokenSession) PendingAdmin() (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

func (*VenusTokenSession) Redeem

func (_VenusToken *VenusTokenSession) Redeem(redeemTokens *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xdb006a75.

Solidity: function redeem(uint256 redeemTokens) returns(uint256)

func (*VenusTokenSession) RedeemUnderlying

func (_VenusToken *VenusTokenSession) RedeemUnderlying(redeemAmount *big.Int) (*types.Transaction, error)

RedeemUnderlying is a paid mutator transaction binding the contract method 0x852a12e3.

Solidity: function redeemUnderlying(uint256 redeemAmount) returns(uint256)

func (*VenusTokenSession) ReduceReserves

func (_VenusToken *VenusTokenSession) ReduceReserves(reduceAmount *big.Int) (*types.Transaction, error)

ReduceReserves is a paid mutator transaction binding the contract method 0x601a0bf1.

Solidity: function _reduceReserves(uint256 reduceAmount) returns(uint256)

func (*VenusTokenSession) RepayBorrow

func (_VenusToken *VenusTokenSession) RepayBorrow(repayAmount *big.Int) (*types.Transaction, error)

RepayBorrow is a paid mutator transaction binding the contract method 0x0e752702.

Solidity: function repayBorrow(uint256 repayAmount) returns(uint256)

func (*VenusTokenSession) RepayBorrowBehalf

func (_VenusToken *VenusTokenSession) RepayBorrowBehalf(borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowBehalf is a paid mutator transaction binding the contract method 0x2608f818.

Solidity: function repayBorrowBehalf(address borrower, uint256 repayAmount) returns(uint256)

func (*VenusTokenSession) ReserveFactorMantissa

func (_VenusToken *VenusTokenSession) ReserveFactorMantissa() (*big.Int, error)

ReserveFactorMantissa is a free data retrieval call binding the contract method 0x173b9904.

Solidity: function reserveFactorMantissa() view returns(uint256)

func (*VenusTokenSession) ResignImplementation

func (_VenusToken *VenusTokenSession) ResignImplementation() (*types.Transaction, error)

ResignImplementation is a paid mutator transaction binding the contract method 0x153ab505.

Solidity: function _resignImplementation() returns()

func (*VenusTokenSession) Seize

func (_VenusToken *VenusTokenSession) Seize(liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

Seize is a paid mutator transaction binding the contract method 0xb2a02ff1.

Solidity: function seize(address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*VenusTokenSession) SetComptroller

func (_VenusToken *VenusTokenSession) SetComptroller(newComptroller common.Address) (*types.Transaction, error)

SetComptroller is a paid mutator transaction binding the contract method 0x4576b5db.

Solidity: function _setComptroller(address newComptroller) returns(uint256)

func (*VenusTokenSession) SetInterestRateModel

func (_VenusToken *VenusTokenSession) SetInterestRateModel(newInterestRateModel common.Address) (*types.Transaction, error)

SetInterestRateModel is a paid mutator transaction binding the contract method 0xf2b3abbd.

Solidity: function _setInterestRateModel(address newInterestRateModel) returns(uint256)

func (*VenusTokenSession) SetPendingAdmin

func (_VenusToken *VenusTokenSession) SetPendingAdmin(newPendingAdmin common.Address) (*types.Transaction, error)

SetPendingAdmin is a paid mutator transaction binding the contract method 0xb71d1a0c.

Solidity: function _setPendingAdmin(address newPendingAdmin) returns(uint256)

func (*VenusTokenSession) SetReserveFactor

func (_VenusToken *VenusTokenSession) SetReserveFactor(newReserveFactorMantissa *big.Int) (*types.Transaction, error)

SetReserveFactor is a paid mutator transaction binding the contract method 0xfca7820b.

Solidity: function _setReserveFactor(uint256 newReserveFactorMantissa) returns(uint256)

func (*VenusTokenSession) SupplyRatePerBlock

func (_VenusToken *VenusTokenSession) SupplyRatePerBlock() (*big.Int, error)

SupplyRatePerBlock is a free data retrieval call binding the contract method 0xae9d70b0.

Solidity: function supplyRatePerBlock() view returns(uint256)

func (*VenusTokenSession) Symbol

func (_VenusToken *VenusTokenSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*VenusTokenSession) TotalBorrows

func (_VenusToken *VenusTokenSession) TotalBorrows() (*big.Int, error)

TotalBorrows is a free data retrieval call binding the contract method 0x47bd3718.

Solidity: function totalBorrows() view returns(uint256)

func (*VenusTokenSession) TotalBorrowsCurrent

func (_VenusToken *VenusTokenSession) TotalBorrowsCurrent() (*types.Transaction, error)

TotalBorrowsCurrent is a paid mutator transaction binding the contract method 0x73acee98.

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*VenusTokenSession) TotalReserves

func (_VenusToken *VenusTokenSession) TotalReserves() (*big.Int, error)

TotalReserves is a free data retrieval call binding the contract method 0x8f840ddd.

Solidity: function totalReserves() view returns(uint256)

func (*VenusTokenSession) TotalSupply

func (_VenusToken *VenusTokenSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*VenusTokenSession) Transfer

func (_VenusToken *VenusTokenSession) Transfer(dst common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 amount) returns(bool)

func (*VenusTokenSession) TransferFrom

func (_VenusToken *VenusTokenSession) TransferFrom(src common.Address, dst common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 amount) returns(bool)

func (*VenusTokenSession) Underlying

func (_VenusToken *VenusTokenSession) Underlying() (common.Address, error)

Underlying is a free data retrieval call binding the contract method 0x6f307dc3.

Solidity: function underlying() view returns(address)

type VenusTokenTransactor

type VenusTokenTransactor struct {
	// contains filtered or unexported fields
}

VenusTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewVenusTokenTransactor

func NewVenusTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*VenusTokenTransactor, error)

NewVenusTokenTransactor creates a new write-only instance of VenusToken, bound to a specific deployed contract.

func (*VenusTokenTransactor) AcceptAdmin

func (_VenusToken *VenusTokenTransactor) AcceptAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptAdmin is a paid mutator transaction binding the contract method 0xe9c714f2.

Solidity: function _acceptAdmin() returns(uint256)

func (*VenusTokenTransactor) AccrueInterest

func (_VenusToken *VenusTokenTransactor) AccrueInterest(opts *bind.TransactOpts) (*types.Transaction, error)

AccrueInterest is a paid mutator transaction binding the contract method 0xa6afed95.

Solidity: function accrueInterest() returns(uint256)

func (*VenusTokenTransactor) AddReserves

func (_VenusToken *VenusTokenTransactor) AddReserves(opts *bind.TransactOpts, addAmount *big.Int) (*types.Transaction, error)

AddReserves is a paid mutator transaction binding the contract method 0x3e941010.

Solidity: function _addReserves(uint256 addAmount) returns(uint256)

func (*VenusTokenTransactor) Approve

func (_VenusToken *VenusTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*VenusTokenTransactor) BalanceOfUnderlying

func (_VenusToken *VenusTokenTransactor) BalanceOfUnderlying(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)

BalanceOfUnderlying is a paid mutator transaction binding the contract method 0x3af9e669.

Solidity: function balanceOfUnderlying(address owner) returns(uint256)

func (*VenusTokenTransactor) BecomeImplementation

func (_VenusToken *VenusTokenTransactor) BecomeImplementation(opts *bind.TransactOpts, data []byte) (*types.Transaction, error)

BecomeImplementation is a paid mutator transaction binding the contract method 0x56e67728.

Solidity: function _becomeImplementation(bytes data) returns()

func (*VenusTokenTransactor) Borrow

func (_VenusToken *VenusTokenTransactor) Borrow(opts *bind.TransactOpts, borrowAmount *big.Int) (*types.Transaction, error)

Borrow is a paid mutator transaction binding the contract method 0xc5ebeaec.

Solidity: function borrow(uint256 borrowAmount) returns(uint256)

func (*VenusTokenTransactor) BorrowBalanceCurrent

func (_VenusToken *VenusTokenTransactor) BorrowBalanceCurrent(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

BorrowBalanceCurrent is a paid mutator transaction binding the contract method 0x17bfdfbc.

Solidity: function borrowBalanceCurrent(address account) returns(uint256)

func (*VenusTokenTransactor) ExchangeRateCurrent

func (_VenusToken *VenusTokenTransactor) ExchangeRateCurrent(opts *bind.TransactOpts) (*types.Transaction, error)

ExchangeRateCurrent is a paid mutator transaction binding the contract method 0xbd6d894d.

Solidity: function exchangeRateCurrent() returns(uint256)

func (*VenusTokenTransactor) Initialize

func (_VenusToken *VenusTokenTransactor) Initialize(opts *bind.TransactOpts, underlying_ common.Address, comptroller_ common.Address, interestRateModel_ common.Address, initialExchangeRateMantissa_ *big.Int, name_ string, symbol_ string, decimals_ uint8) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x1a31d465.

Solidity: function initialize(address underlying_, address comptroller_, address interestRateModel_, uint256 initialExchangeRateMantissa_, string name_, string symbol_, uint8 decimals_) returns()

func (*VenusTokenTransactor) Initialize0

func (_VenusToken *VenusTokenTransactor) Initialize0(opts *bind.TransactOpts, comptroller_ common.Address, interestRateModel_ common.Address, initialExchangeRateMantissa_ *big.Int, name_ string, symbol_ string, decimals_ uint8) (*types.Transaction, error)

Initialize0 is a paid mutator transaction binding the contract method 0x99d8c1b4.

Solidity: function initialize(address comptroller_, address interestRateModel_, uint256 initialExchangeRateMantissa_, string name_, string symbol_, uint8 decimals_) returns()

func (*VenusTokenTransactor) LiquidateBorrow

func (_VenusToken *VenusTokenTransactor) LiquidateBorrow(opts *bind.TransactOpts, borrower common.Address, repayAmount *big.Int, vTokenCollateral common.Address) (*types.Transaction, error)

LiquidateBorrow is a paid mutator transaction binding the contract method 0xf5e3c462.

Solidity: function liquidateBorrow(address borrower, uint256 repayAmount, address vTokenCollateral) returns(uint256)

func (*VenusTokenTransactor) Mint

func (_VenusToken *VenusTokenTransactor) Mint(opts *bind.TransactOpts, mintAmount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xa0712d68.

Solidity: function mint(uint256 mintAmount) returns(uint256)

func (*VenusTokenTransactor) Redeem

func (_VenusToken *VenusTokenTransactor) Redeem(opts *bind.TransactOpts, redeemTokens *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xdb006a75.

Solidity: function redeem(uint256 redeemTokens) returns(uint256)

func (*VenusTokenTransactor) RedeemUnderlying

func (_VenusToken *VenusTokenTransactor) RedeemUnderlying(opts *bind.TransactOpts, redeemAmount *big.Int) (*types.Transaction, error)

RedeemUnderlying is a paid mutator transaction binding the contract method 0x852a12e3.

Solidity: function redeemUnderlying(uint256 redeemAmount) returns(uint256)

func (*VenusTokenTransactor) ReduceReserves

func (_VenusToken *VenusTokenTransactor) ReduceReserves(opts *bind.TransactOpts, reduceAmount *big.Int) (*types.Transaction, error)

ReduceReserves is a paid mutator transaction binding the contract method 0x601a0bf1.

Solidity: function _reduceReserves(uint256 reduceAmount) returns(uint256)

func (*VenusTokenTransactor) RepayBorrow

func (_VenusToken *VenusTokenTransactor) RepayBorrow(opts *bind.TransactOpts, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrow is a paid mutator transaction binding the contract method 0x0e752702.

Solidity: function repayBorrow(uint256 repayAmount) returns(uint256)

func (*VenusTokenTransactor) RepayBorrowBehalf

func (_VenusToken *VenusTokenTransactor) RepayBorrowBehalf(opts *bind.TransactOpts, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowBehalf is a paid mutator transaction binding the contract method 0x2608f818.

Solidity: function repayBorrowBehalf(address borrower, uint256 repayAmount) returns(uint256)

func (*VenusTokenTransactor) ResignImplementation

func (_VenusToken *VenusTokenTransactor) ResignImplementation(opts *bind.TransactOpts) (*types.Transaction, error)

ResignImplementation is a paid mutator transaction binding the contract method 0x153ab505.

Solidity: function _resignImplementation() returns()

func (*VenusTokenTransactor) Seize

func (_VenusToken *VenusTokenTransactor) Seize(opts *bind.TransactOpts, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

Seize is a paid mutator transaction binding the contract method 0xb2a02ff1.

Solidity: function seize(address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*VenusTokenTransactor) SetComptroller

func (_VenusToken *VenusTokenTransactor) SetComptroller(opts *bind.TransactOpts, newComptroller common.Address) (*types.Transaction, error)

SetComptroller is a paid mutator transaction binding the contract method 0x4576b5db.

Solidity: function _setComptroller(address newComptroller) returns(uint256)

func (*VenusTokenTransactor) SetInterestRateModel

func (_VenusToken *VenusTokenTransactor) SetInterestRateModel(opts *bind.TransactOpts, newInterestRateModel common.Address) (*types.Transaction, error)

SetInterestRateModel is a paid mutator transaction binding the contract method 0xf2b3abbd.

Solidity: function _setInterestRateModel(address newInterestRateModel) returns(uint256)

func (*VenusTokenTransactor) SetPendingAdmin

func (_VenusToken *VenusTokenTransactor) SetPendingAdmin(opts *bind.TransactOpts, newPendingAdmin common.Address) (*types.Transaction, error)

SetPendingAdmin is a paid mutator transaction binding the contract method 0xb71d1a0c.

Solidity: function _setPendingAdmin(address newPendingAdmin) returns(uint256)

func (*VenusTokenTransactor) SetReserveFactor

func (_VenusToken *VenusTokenTransactor) SetReserveFactor(opts *bind.TransactOpts, newReserveFactorMantissa *big.Int) (*types.Transaction, error)

SetReserveFactor is a paid mutator transaction binding the contract method 0xfca7820b.

Solidity: function _setReserveFactor(uint256 newReserveFactorMantissa) returns(uint256)

func (*VenusTokenTransactor) TotalBorrowsCurrent

func (_VenusToken *VenusTokenTransactor) TotalBorrowsCurrent(opts *bind.TransactOpts) (*types.Transaction, error)

TotalBorrowsCurrent is a paid mutator transaction binding the contract method 0x73acee98.

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*VenusTokenTransactor) Transfer

func (_VenusToken *VenusTokenTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 amount) returns(bool)

func (*VenusTokenTransactor) TransferFrom

func (_VenusToken *VenusTokenTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 amount) returns(bool)

type VenusTokenTransactorRaw

type VenusTokenTransactorRaw struct {
	Contract *VenusTokenTransactor // Generic write-only contract binding to access the raw methods on
}

VenusTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*VenusTokenTransactorRaw) Transact

func (_VenusToken *VenusTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*VenusTokenTransactorRaw) Transfer

func (_VenusToken *VenusTokenTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type VenusTokenTransactorSession

type VenusTokenTransactorSession struct {
	Contract     *VenusTokenTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts     // Transaction auth options to use throughout this session
}

VenusTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*VenusTokenTransactorSession) AcceptAdmin

func (_VenusToken *VenusTokenTransactorSession) AcceptAdmin() (*types.Transaction, error)

AcceptAdmin is a paid mutator transaction binding the contract method 0xe9c714f2.

Solidity: function _acceptAdmin() returns(uint256)

func (*VenusTokenTransactorSession) AccrueInterest

func (_VenusToken *VenusTokenTransactorSession) AccrueInterest() (*types.Transaction, error)

AccrueInterest is a paid mutator transaction binding the contract method 0xa6afed95.

Solidity: function accrueInterest() returns(uint256)

func (*VenusTokenTransactorSession) AddReserves

func (_VenusToken *VenusTokenTransactorSession) AddReserves(addAmount *big.Int) (*types.Transaction, error)

AddReserves is a paid mutator transaction binding the contract method 0x3e941010.

Solidity: function _addReserves(uint256 addAmount) returns(uint256)

func (*VenusTokenTransactorSession) Approve

func (_VenusToken *VenusTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*VenusTokenTransactorSession) BalanceOfUnderlying

func (_VenusToken *VenusTokenTransactorSession) BalanceOfUnderlying(owner common.Address) (*types.Transaction, error)

BalanceOfUnderlying is a paid mutator transaction binding the contract method 0x3af9e669.

Solidity: function balanceOfUnderlying(address owner) returns(uint256)

func (*VenusTokenTransactorSession) BecomeImplementation

func (_VenusToken *VenusTokenTransactorSession) BecomeImplementation(data []byte) (*types.Transaction, error)

BecomeImplementation is a paid mutator transaction binding the contract method 0x56e67728.

Solidity: function _becomeImplementation(bytes data) returns()

func (*VenusTokenTransactorSession) Borrow

func (_VenusToken *VenusTokenTransactorSession) Borrow(borrowAmount *big.Int) (*types.Transaction, error)

Borrow is a paid mutator transaction binding the contract method 0xc5ebeaec.

Solidity: function borrow(uint256 borrowAmount) returns(uint256)

func (*VenusTokenTransactorSession) BorrowBalanceCurrent

func (_VenusToken *VenusTokenTransactorSession) BorrowBalanceCurrent(account common.Address) (*types.Transaction, error)

BorrowBalanceCurrent is a paid mutator transaction binding the contract method 0x17bfdfbc.

Solidity: function borrowBalanceCurrent(address account) returns(uint256)

func (*VenusTokenTransactorSession) ExchangeRateCurrent

func (_VenusToken *VenusTokenTransactorSession) ExchangeRateCurrent() (*types.Transaction, error)

ExchangeRateCurrent is a paid mutator transaction binding the contract method 0xbd6d894d.

Solidity: function exchangeRateCurrent() returns(uint256)

func (*VenusTokenTransactorSession) Initialize

func (_VenusToken *VenusTokenTransactorSession) Initialize(underlying_ common.Address, comptroller_ common.Address, interestRateModel_ common.Address, initialExchangeRateMantissa_ *big.Int, name_ string, symbol_ string, decimals_ uint8) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x1a31d465.

Solidity: function initialize(address underlying_, address comptroller_, address interestRateModel_, uint256 initialExchangeRateMantissa_, string name_, string symbol_, uint8 decimals_) returns()

func (*VenusTokenTransactorSession) Initialize0

func (_VenusToken *VenusTokenTransactorSession) Initialize0(comptroller_ common.Address, interestRateModel_ common.Address, initialExchangeRateMantissa_ *big.Int, name_ string, symbol_ string, decimals_ uint8) (*types.Transaction, error)

Initialize0 is a paid mutator transaction binding the contract method 0x99d8c1b4.

Solidity: function initialize(address comptroller_, address interestRateModel_, uint256 initialExchangeRateMantissa_, string name_, string symbol_, uint8 decimals_) returns()

func (*VenusTokenTransactorSession) LiquidateBorrow

func (_VenusToken *VenusTokenTransactorSession) LiquidateBorrow(borrower common.Address, repayAmount *big.Int, vTokenCollateral common.Address) (*types.Transaction, error)

LiquidateBorrow is a paid mutator transaction binding the contract method 0xf5e3c462.

Solidity: function liquidateBorrow(address borrower, uint256 repayAmount, address vTokenCollateral) returns(uint256)

func (*VenusTokenTransactorSession) Mint

func (_VenusToken *VenusTokenTransactorSession) Mint(mintAmount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xa0712d68.

Solidity: function mint(uint256 mintAmount) returns(uint256)

func (*VenusTokenTransactorSession) Redeem

func (_VenusToken *VenusTokenTransactorSession) Redeem(redeemTokens *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xdb006a75.

Solidity: function redeem(uint256 redeemTokens) returns(uint256)

func (*VenusTokenTransactorSession) RedeemUnderlying

func (_VenusToken *VenusTokenTransactorSession) RedeemUnderlying(redeemAmount *big.Int) (*types.Transaction, error)

RedeemUnderlying is a paid mutator transaction binding the contract method 0x852a12e3.

Solidity: function redeemUnderlying(uint256 redeemAmount) returns(uint256)

func (*VenusTokenTransactorSession) ReduceReserves

func (_VenusToken *VenusTokenTransactorSession) ReduceReserves(reduceAmount *big.Int) (*types.Transaction, error)

ReduceReserves is a paid mutator transaction binding the contract method 0x601a0bf1.

Solidity: function _reduceReserves(uint256 reduceAmount) returns(uint256)

func (*VenusTokenTransactorSession) RepayBorrow

func (_VenusToken *VenusTokenTransactorSession) RepayBorrow(repayAmount *big.Int) (*types.Transaction, error)

RepayBorrow is a paid mutator transaction binding the contract method 0x0e752702.

Solidity: function repayBorrow(uint256 repayAmount) returns(uint256)

func (*VenusTokenTransactorSession) RepayBorrowBehalf

func (_VenusToken *VenusTokenTransactorSession) RepayBorrowBehalf(borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowBehalf is a paid mutator transaction binding the contract method 0x2608f818.

Solidity: function repayBorrowBehalf(address borrower, uint256 repayAmount) returns(uint256)

func (*VenusTokenTransactorSession) ResignImplementation

func (_VenusToken *VenusTokenTransactorSession) ResignImplementation() (*types.Transaction, error)

ResignImplementation is a paid mutator transaction binding the contract method 0x153ab505.

Solidity: function _resignImplementation() returns()

func (*VenusTokenTransactorSession) Seize

func (_VenusToken *VenusTokenTransactorSession) Seize(liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

Seize is a paid mutator transaction binding the contract method 0xb2a02ff1.

Solidity: function seize(address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*VenusTokenTransactorSession) SetComptroller

func (_VenusToken *VenusTokenTransactorSession) SetComptroller(newComptroller common.Address) (*types.Transaction, error)

SetComptroller is a paid mutator transaction binding the contract method 0x4576b5db.

Solidity: function _setComptroller(address newComptroller) returns(uint256)

func (*VenusTokenTransactorSession) SetInterestRateModel

func (_VenusToken *VenusTokenTransactorSession) SetInterestRateModel(newInterestRateModel common.Address) (*types.Transaction, error)

SetInterestRateModel is a paid mutator transaction binding the contract method 0xf2b3abbd.

Solidity: function _setInterestRateModel(address newInterestRateModel) returns(uint256)

func (*VenusTokenTransactorSession) SetPendingAdmin

func (_VenusToken *VenusTokenTransactorSession) SetPendingAdmin(newPendingAdmin common.Address) (*types.Transaction, error)

SetPendingAdmin is a paid mutator transaction binding the contract method 0xb71d1a0c.

Solidity: function _setPendingAdmin(address newPendingAdmin) returns(uint256)

func (*VenusTokenTransactorSession) SetReserveFactor

func (_VenusToken *VenusTokenTransactorSession) SetReserveFactor(newReserveFactorMantissa *big.Int) (*types.Transaction, error)

SetReserveFactor is a paid mutator transaction binding the contract method 0xfca7820b.

Solidity: function _setReserveFactor(uint256 newReserveFactorMantissa) returns(uint256)

func (*VenusTokenTransactorSession) TotalBorrowsCurrent

func (_VenusToken *VenusTokenTransactorSession) TotalBorrowsCurrent() (*types.Transaction, error)

TotalBorrowsCurrent is a paid mutator transaction binding the contract method 0x73acee98.

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*VenusTokenTransactorSession) Transfer

func (_VenusToken *VenusTokenTransactorSession) Transfer(dst common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 amount) returns(bool)

func (*VenusTokenTransactorSession) TransferFrom

func (_VenusToken *VenusTokenTransactorSession) TransferFrom(src common.Address, dst common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 amount) returns(bool)

type VenusTokenTransfer

type VenusTokenTransfer struct {
	From   common.Address
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

VenusTokenTransfer represents a Transfer event raised by the VenusToken contract.

type VenusTokenTransferIterator

type VenusTokenTransferIterator struct {
	Event *VenusTokenTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the VenusToken contract.

func (*VenusTokenTransferIterator) Close

func (it *VenusTokenTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusTokenTransferIterator) Error

func (it *VenusTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTokenTransferIterator) Next

func (it *VenusTokenTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusVaiVaultProxy

type VenusVaiVaultProxy struct {
	VenusVaiVaultProxyCaller     // Read-only binding to the contract
	VenusVaiVaultProxyTransactor // Write-only binding to the contract
	VenusVaiVaultProxyFilterer   // Log filterer for contract events
}

VenusVaiVaultProxy is an auto generated Go binding around an Ethereum contract.

func NewVenusVaiVaultProxy

func NewVenusVaiVaultProxy(address common.Address, backend bind.ContractBackend) (*VenusVaiVaultProxy, error)

NewVenusVaiVaultProxy creates a new instance of VenusVaiVaultProxy, bound to a specific deployed contract.

type VenusVaiVaultProxyAdminTransfered

type VenusVaiVaultProxyAdminTransfered struct {
	OldAdmin common.Address
	NewAdmin common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

VenusVaiVaultProxyAdminTransfered represents a AdminTransfered event raised by the VenusVaiVaultProxy contract.

type VenusVaiVaultProxyAdminTransferedIterator

type VenusVaiVaultProxyAdminTransferedIterator struct {
	Event *VenusVaiVaultProxyAdminTransfered // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusVaiVaultProxyAdminTransferedIterator is returned from FilterAdminTransfered and is used to iterate over the raw logs and unpacked data for AdminTransfered events raised by the VenusVaiVaultProxy contract.

func (*VenusVaiVaultProxyAdminTransferedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusVaiVaultProxyAdminTransferedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusVaiVaultProxyAdminTransferedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusVaiVaultProxyCaller

type VenusVaiVaultProxyCaller struct {
	// contains filtered or unexported fields
}

VenusVaiVaultProxyCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewVenusVaiVaultProxyCaller

func NewVenusVaiVaultProxyCaller(address common.Address, caller bind.ContractCaller) (*VenusVaiVaultProxyCaller, error)

NewVenusVaiVaultProxyCaller creates a new read-only instance of VenusVaiVaultProxy, bound to a specific deployed contract.

func (*VenusVaiVaultProxyCaller) AccXVSPerShare

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCaller) AccXVSPerShare(opts *bind.CallOpts) (*big.Int, error)

AccXVSPerShare is a free data retrieval call binding the contract method 0x91cc3da1.

Solidity: function accXVSPerShare() view returns(uint256)

func (*VenusVaiVaultProxyCaller) Admin

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*VenusVaiVaultProxyCaller) GetAdmin

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCaller) GetAdmin(opts *bind.CallOpts) (common.Address, error)

GetAdmin is a free data retrieval call binding the contract method 0x6e9960c3.

Solidity: function getAdmin() view returns(address)

func (*VenusVaiVaultProxyCaller) PendingAdmin

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCaller) PendingAdmin(opts *bind.CallOpts) (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

func (*VenusVaiVaultProxyCaller) PendingRewards

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCaller) PendingRewards(opts *bind.CallOpts) (*big.Int, error)

PendingRewards is a free data retrieval call binding the contract method 0xeded3fda.

Solidity: function pendingRewards() view returns(uint256)

func (*VenusVaiVaultProxyCaller) PendingVAIVaultImplementation

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCaller) PendingVAIVaultImplementation(opts *bind.CallOpts) (common.Address, error)

PendingVAIVaultImplementation is a free data retrieval call binding the contract method 0x211de6b6.

Solidity: function pendingVAIVaultImplementation() view returns(address)

func (*VenusVaiVaultProxyCaller) PendingXVS

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCaller) PendingXVS(opts *bind.CallOpts, _user common.Address) (*big.Int, error)

PendingXVS is a free data retrieval call binding the contract method 0x79c3b944.

Solidity: function pendingXVS(address _user) view returns(uint256)

func (*VenusVaiVaultProxyCaller) UserInfo

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCaller) UserInfo(opts *bind.CallOpts, arg0 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
}, error)

UserInfo is a free data retrieval call binding the contract method 0x1959a002.

Solidity: function userInfo(address ) view returns(uint256 amount, uint256 rewardDebt)

func (*VenusVaiVaultProxyCaller) Vai

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCaller) Vai(opts *bind.CallOpts) (common.Address, error)

Vai is a free data retrieval call binding the contract method 0xb62e4c92.

Solidity: function vai() view returns(address)

func (*VenusVaiVaultProxyCaller) VaiVaultImplementation

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCaller) VaiVaultImplementation(opts *bind.CallOpts) (common.Address, error)

VaiVaultImplementation is a free data retrieval call binding the contract method 0xf661bb86.

Solidity: function vaiVaultImplementation() view returns(address)

func (*VenusVaiVaultProxyCaller) Xvs

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCaller) Xvs(opts *bind.CallOpts) (common.Address, error)

Xvs is a free data retrieval call binding the contract method 0x4e79ed3c.

Solidity: function xvs() view returns(address)

func (*VenusVaiVaultProxyCaller) XvsBalance

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCaller) XvsBalance(opts *bind.CallOpts) (*big.Int, error)

XvsBalance is a free data retrieval call binding the contract method 0x761692ba.

Solidity: function xvsBalance() view returns(uint256)

type VenusVaiVaultProxyCallerRaw

type VenusVaiVaultProxyCallerRaw struct {
	Contract *VenusVaiVaultProxyCaller // Generic read-only contract binding to access the raw methods on
}

VenusVaiVaultProxyCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*VenusVaiVaultProxyCallerRaw) Call

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type VenusVaiVaultProxyCallerSession

type VenusVaiVaultProxyCallerSession struct {
	Contract *VenusVaiVaultProxyCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts             // Call options to use throughout this session
}

VenusVaiVaultProxyCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*VenusVaiVaultProxyCallerSession) AccXVSPerShare

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCallerSession) AccXVSPerShare() (*big.Int, error)

AccXVSPerShare is a free data retrieval call binding the contract method 0x91cc3da1.

Solidity: function accXVSPerShare() view returns(uint256)

func (*VenusVaiVaultProxyCallerSession) Admin

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*VenusVaiVaultProxyCallerSession) GetAdmin

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCallerSession) GetAdmin() (common.Address, error)

GetAdmin is a free data retrieval call binding the contract method 0x6e9960c3.

Solidity: function getAdmin() view returns(address)

func (*VenusVaiVaultProxyCallerSession) PendingAdmin

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCallerSession) PendingAdmin() (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

func (*VenusVaiVaultProxyCallerSession) PendingRewards

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCallerSession) PendingRewards() (*big.Int, error)

PendingRewards is a free data retrieval call binding the contract method 0xeded3fda.

Solidity: function pendingRewards() view returns(uint256)

func (*VenusVaiVaultProxyCallerSession) PendingVAIVaultImplementation

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCallerSession) PendingVAIVaultImplementation() (common.Address, error)

PendingVAIVaultImplementation is a free data retrieval call binding the contract method 0x211de6b6.

Solidity: function pendingVAIVaultImplementation() view returns(address)

func (*VenusVaiVaultProxyCallerSession) PendingXVS

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCallerSession) PendingXVS(_user common.Address) (*big.Int, error)

PendingXVS is a free data retrieval call binding the contract method 0x79c3b944.

Solidity: function pendingXVS(address _user) view returns(uint256)

func (*VenusVaiVaultProxyCallerSession) UserInfo

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCallerSession) UserInfo(arg0 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
}, error)

UserInfo is a free data retrieval call binding the contract method 0x1959a002.

Solidity: function userInfo(address ) view returns(uint256 amount, uint256 rewardDebt)

func (*VenusVaiVaultProxyCallerSession) Vai

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCallerSession) Vai() (common.Address, error)

Vai is a free data retrieval call binding the contract method 0xb62e4c92.

Solidity: function vai() view returns(address)

func (*VenusVaiVaultProxyCallerSession) VaiVaultImplementation

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCallerSession) VaiVaultImplementation() (common.Address, error)

VaiVaultImplementation is a free data retrieval call binding the contract method 0xf661bb86.

Solidity: function vaiVaultImplementation() view returns(address)

func (*VenusVaiVaultProxyCallerSession) Xvs

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCallerSession) Xvs() (common.Address, error)

Xvs is a free data retrieval call binding the contract method 0x4e79ed3c.

Solidity: function xvs() view returns(address)

func (*VenusVaiVaultProxyCallerSession) XvsBalance

func (_VenusVaiVaultProxy *VenusVaiVaultProxyCallerSession) XvsBalance() (*big.Int, error)

XvsBalance is a free data retrieval call binding the contract method 0x761692ba.

Solidity: function xvsBalance() view returns(uint256)

type VenusVaiVaultProxyDeposit

type VenusVaiVaultProxyDeposit struct {
	User   common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

VenusVaiVaultProxyDeposit represents a Deposit event raised by the VenusVaiVaultProxy contract.

type VenusVaiVaultProxyDepositIterator

type VenusVaiVaultProxyDepositIterator struct {
	Event *VenusVaiVaultProxyDeposit // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusVaiVaultProxyDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the VenusVaiVaultProxy contract.

func (*VenusVaiVaultProxyDepositIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusVaiVaultProxyDepositIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusVaiVaultProxyDepositIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusVaiVaultProxyFilterer

type VenusVaiVaultProxyFilterer struct {
	// contains filtered or unexported fields
}

VenusVaiVaultProxyFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewVenusVaiVaultProxyFilterer

func NewVenusVaiVaultProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*VenusVaiVaultProxyFilterer, error)

NewVenusVaiVaultProxyFilterer creates a new log filterer instance of VenusVaiVaultProxy, bound to a specific deployed contract.

func (*VenusVaiVaultProxyFilterer) FilterAdminTransfered

func (_VenusVaiVaultProxy *VenusVaiVaultProxyFilterer) FilterAdminTransfered(opts *bind.FilterOpts, oldAdmin []common.Address, newAdmin []common.Address) (*VenusVaiVaultProxyAdminTransferedIterator, error)

FilterAdminTransfered is a free log retrieval operation binding the contract event 0x173de3514d8508f36ce8c81d509adcd8c8c76098400f685d3042b36f9a4160c3.

Solidity: event AdminTransfered(address indexed oldAdmin, address indexed newAdmin)

func (*VenusVaiVaultProxyFilterer) FilterDeposit

func (_VenusVaiVaultProxy *VenusVaiVaultProxyFilterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address) (*VenusVaiVaultProxyDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed user, uint256 amount)

func (*VenusVaiVaultProxyFilterer) FilterWithdraw

func (_VenusVaiVaultProxy *VenusVaiVaultProxyFilterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address) (*VenusVaiVaultProxyWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address indexed user, uint256 amount)

func (*VenusVaiVaultProxyFilterer) ParseAdminTransfered

func (_VenusVaiVaultProxy *VenusVaiVaultProxyFilterer) ParseAdminTransfered(log types.Log) (*VenusVaiVaultProxyAdminTransfered, error)

ParseAdminTransfered is a log parse operation binding the contract event 0x173de3514d8508f36ce8c81d509adcd8c8c76098400f685d3042b36f9a4160c3.

Solidity: event AdminTransfered(address indexed oldAdmin, address indexed newAdmin)

func (*VenusVaiVaultProxyFilterer) ParseDeposit

func (_VenusVaiVaultProxy *VenusVaiVaultProxyFilterer) ParseDeposit(log types.Log) (*VenusVaiVaultProxyDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed user, uint256 amount)

func (*VenusVaiVaultProxyFilterer) ParseWithdraw

func (_VenusVaiVaultProxy *VenusVaiVaultProxyFilterer) ParseWithdraw(log types.Log) (*VenusVaiVaultProxyWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address indexed user, uint256 amount)

func (*VenusVaiVaultProxyFilterer) WatchAdminTransfered

func (_VenusVaiVaultProxy *VenusVaiVaultProxyFilterer) WatchAdminTransfered(opts *bind.WatchOpts, sink chan<- *VenusVaiVaultProxyAdminTransfered, oldAdmin []common.Address, newAdmin []common.Address) (event.Subscription, error)

WatchAdminTransfered is a free log subscription operation binding the contract event 0x173de3514d8508f36ce8c81d509adcd8c8c76098400f685d3042b36f9a4160c3.

Solidity: event AdminTransfered(address indexed oldAdmin, address indexed newAdmin)

func (*VenusVaiVaultProxyFilterer) WatchDeposit

func (_VenusVaiVaultProxy *VenusVaiVaultProxyFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *VenusVaiVaultProxyDeposit, user []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed user, uint256 amount)

func (*VenusVaiVaultProxyFilterer) WatchWithdraw

func (_VenusVaiVaultProxy *VenusVaiVaultProxyFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *VenusVaiVaultProxyWithdraw, user []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address indexed user, uint256 amount)

type VenusVaiVaultProxyRaw

type VenusVaiVaultProxyRaw struct {
	Contract *VenusVaiVaultProxy // Generic contract binding to access the raw methods on
}

VenusVaiVaultProxyRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*VenusVaiVaultProxyRaw) Call

func (_VenusVaiVaultProxy *VenusVaiVaultProxyRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*VenusVaiVaultProxyRaw) Transact

func (_VenusVaiVaultProxy *VenusVaiVaultProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*VenusVaiVaultProxyRaw) Transfer

func (_VenusVaiVaultProxy *VenusVaiVaultProxyRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type VenusVaiVaultProxySession

type VenusVaiVaultProxySession struct {
	Contract     *VenusVaiVaultProxy // Generic contract binding to set the session for
	CallOpts     bind.CallOpts       // Call options to use throughout this session
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

VenusVaiVaultProxySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*VenusVaiVaultProxySession) AccXVSPerShare

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) AccXVSPerShare() (*big.Int, error)

AccXVSPerShare is a free data retrieval call binding the contract method 0x91cc3da1.

Solidity: function accXVSPerShare() view returns(uint256)

func (*VenusVaiVaultProxySession) Admin

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*VenusVaiVaultProxySession) Become

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) Become(vaiVaultProxy common.Address) (*types.Transaction, error)

Become is a paid mutator transaction binding the contract method 0x1d504dc6.

Solidity: function _become(address vaiVaultProxy) returns()

func (*VenusVaiVaultProxySession) BurnAdmin

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) BurnAdmin() (*types.Transaction, error)

BurnAdmin is a paid mutator transaction binding the contract method 0x81bdf98c.

Solidity: function burnAdmin() returns()

func (*VenusVaiVaultProxySession) Claim

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) Claim() (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns()

func (*VenusVaiVaultProxySession) Deposit

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) Deposit(_amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 _amount) returns()

func (*VenusVaiVaultProxySession) GetAdmin

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) GetAdmin() (common.Address, error)

GetAdmin is a free data retrieval call binding the contract method 0x6e9960c3.

Solidity: function getAdmin() view returns(address)

func (*VenusVaiVaultProxySession) PendingAdmin

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) PendingAdmin() (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

func (*VenusVaiVaultProxySession) PendingRewards

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) PendingRewards() (*big.Int, error)

PendingRewards is a free data retrieval call binding the contract method 0xeded3fda.

Solidity: function pendingRewards() view returns(uint256)

func (*VenusVaiVaultProxySession) PendingVAIVaultImplementation

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) PendingVAIVaultImplementation() (common.Address, error)

PendingVAIVaultImplementation is a free data retrieval call binding the contract method 0x211de6b6.

Solidity: function pendingVAIVaultImplementation() view returns(address)

func (*VenusVaiVaultProxySession) PendingXVS

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) PendingXVS(_user common.Address) (*big.Int, error)

PendingXVS is a free data retrieval call binding the contract method 0x79c3b944.

Solidity: function pendingXVS(address _user) view returns(uint256)

func (*VenusVaiVaultProxySession) SetNewAdmin

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) SetNewAdmin(newAdmin common.Address) (*types.Transaction, error)

SetNewAdmin is a paid mutator transaction binding the contract method 0x8eec99c8.

Solidity: function setNewAdmin(address newAdmin) returns()

func (*VenusVaiVaultProxySession) SetVenusInfo

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) SetVenusInfo(_xvs common.Address, _vai common.Address) (*types.Transaction, error)

SetVenusInfo is a paid mutator transaction binding the contract method 0x44c0e8ee.

Solidity: function setVenusInfo(address _xvs, address _vai) returns()

func (*VenusVaiVaultProxySession) UpdatePendingRewards

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) UpdatePendingRewards() (*types.Transaction, error)

UpdatePendingRewards is a paid mutator transaction binding the contract method 0xfaa1809e.

Solidity: function updatePendingRewards() returns()

func (*VenusVaiVaultProxySession) UserInfo

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) UserInfo(arg0 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
}, error)

UserInfo is a free data retrieval call binding the contract method 0x1959a002.

Solidity: function userInfo(address ) view returns(uint256 amount, uint256 rewardDebt)

func (*VenusVaiVaultProxySession) Vai

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) Vai() (common.Address, error)

Vai is a free data retrieval call binding the contract method 0xb62e4c92.

Solidity: function vai() view returns(address)

func (*VenusVaiVaultProxySession) VaiVaultImplementation

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) VaiVaultImplementation() (common.Address, error)

VaiVaultImplementation is a free data retrieval call binding the contract method 0xf661bb86.

Solidity: function vaiVaultImplementation() view returns(address)

func (*VenusVaiVaultProxySession) Withdraw

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) Withdraw(_amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 _amount) returns()

func (*VenusVaiVaultProxySession) Xvs

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) Xvs() (common.Address, error)

Xvs is a free data retrieval call binding the contract method 0x4e79ed3c.

Solidity: function xvs() view returns(address)

func (*VenusVaiVaultProxySession) XvsBalance

func (_VenusVaiVaultProxy *VenusVaiVaultProxySession) XvsBalance() (*big.Int, error)

XvsBalance is a free data retrieval call binding the contract method 0x761692ba.

Solidity: function xvsBalance() view returns(uint256)

type VenusVaiVaultProxyTransactor

type VenusVaiVaultProxyTransactor struct {
	// contains filtered or unexported fields
}

VenusVaiVaultProxyTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewVenusVaiVaultProxyTransactor

func NewVenusVaiVaultProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*VenusVaiVaultProxyTransactor, error)

NewVenusVaiVaultProxyTransactor creates a new write-only instance of VenusVaiVaultProxy, bound to a specific deployed contract.

func (*VenusVaiVaultProxyTransactor) Become

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactor) Become(opts *bind.TransactOpts, vaiVaultProxy common.Address) (*types.Transaction, error)

Become is a paid mutator transaction binding the contract method 0x1d504dc6.

Solidity: function _become(address vaiVaultProxy) returns()

func (*VenusVaiVaultProxyTransactor) BurnAdmin

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactor) BurnAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

BurnAdmin is a paid mutator transaction binding the contract method 0x81bdf98c.

Solidity: function burnAdmin() returns()

func (*VenusVaiVaultProxyTransactor) Claim

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactor) Claim(opts *bind.TransactOpts) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns()

func (*VenusVaiVaultProxyTransactor) Deposit

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactor) Deposit(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 _amount) returns()

func (*VenusVaiVaultProxyTransactor) SetNewAdmin

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactor) SetNewAdmin(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)

SetNewAdmin is a paid mutator transaction binding the contract method 0x8eec99c8.

Solidity: function setNewAdmin(address newAdmin) returns()

func (*VenusVaiVaultProxyTransactor) SetVenusInfo

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactor) SetVenusInfo(opts *bind.TransactOpts, _xvs common.Address, _vai common.Address) (*types.Transaction, error)

SetVenusInfo is a paid mutator transaction binding the contract method 0x44c0e8ee.

Solidity: function setVenusInfo(address _xvs, address _vai) returns()

func (*VenusVaiVaultProxyTransactor) UpdatePendingRewards

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactor) UpdatePendingRewards(opts *bind.TransactOpts) (*types.Transaction, error)

UpdatePendingRewards is a paid mutator transaction binding the contract method 0xfaa1809e.

Solidity: function updatePendingRewards() returns()

func (*VenusVaiVaultProxyTransactor) Withdraw

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactor) Withdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 _amount) returns()

type VenusVaiVaultProxyTransactorRaw

type VenusVaiVaultProxyTransactorRaw struct {
	Contract *VenusVaiVaultProxyTransactor // Generic write-only contract binding to access the raw methods on
}

VenusVaiVaultProxyTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*VenusVaiVaultProxyTransactorRaw) Transact

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*VenusVaiVaultProxyTransactorRaw) Transfer

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type VenusVaiVaultProxyTransactorSession

type VenusVaiVaultProxyTransactorSession struct {
	Contract     *VenusVaiVaultProxyTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts             // Transaction auth options to use throughout this session
}

VenusVaiVaultProxyTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*VenusVaiVaultProxyTransactorSession) Become

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactorSession) Become(vaiVaultProxy common.Address) (*types.Transaction, error)

Become is a paid mutator transaction binding the contract method 0x1d504dc6.

Solidity: function _become(address vaiVaultProxy) returns()

func (*VenusVaiVaultProxyTransactorSession) BurnAdmin

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactorSession) BurnAdmin() (*types.Transaction, error)

BurnAdmin is a paid mutator transaction binding the contract method 0x81bdf98c.

Solidity: function burnAdmin() returns()

func (*VenusVaiVaultProxyTransactorSession) Claim

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactorSession) Claim() (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns()

func (*VenusVaiVaultProxyTransactorSession) Deposit

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactorSession) Deposit(_amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 _amount) returns()

func (*VenusVaiVaultProxyTransactorSession) SetNewAdmin

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactorSession) SetNewAdmin(newAdmin common.Address) (*types.Transaction, error)

SetNewAdmin is a paid mutator transaction binding the contract method 0x8eec99c8.

Solidity: function setNewAdmin(address newAdmin) returns()

func (*VenusVaiVaultProxyTransactorSession) SetVenusInfo

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactorSession) SetVenusInfo(_xvs common.Address, _vai common.Address) (*types.Transaction, error)

SetVenusInfo is a paid mutator transaction binding the contract method 0x44c0e8ee.

Solidity: function setVenusInfo(address _xvs, address _vai) returns()

func (*VenusVaiVaultProxyTransactorSession) UpdatePendingRewards

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactorSession) UpdatePendingRewards() (*types.Transaction, error)

UpdatePendingRewards is a paid mutator transaction binding the contract method 0xfaa1809e.

Solidity: function updatePendingRewards() returns()

func (*VenusVaiVaultProxyTransactorSession) Withdraw

func (_VenusVaiVaultProxy *VenusVaiVaultProxyTransactorSession) Withdraw(_amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 _amount) returns()

type VenusVaiVaultProxyWithdraw

type VenusVaiVaultProxyWithdraw struct {
	User   common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

VenusVaiVaultProxyWithdraw represents a Withdraw event raised by the VenusVaiVaultProxy contract.

type VenusVaiVaultProxyWithdrawIterator

type VenusVaiVaultProxyWithdrawIterator struct {
	Event *VenusVaiVaultProxyWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusVaiVaultProxyWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the VenusVaiVaultProxy contract.

func (*VenusVaiVaultProxyWithdrawIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusVaiVaultProxyWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusVaiVaultProxyWithdrawIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusXvsVaultProxy

type VenusXvsVaultProxy struct {
	VenusXvsVaultProxyCaller     // Read-only binding to the contract
	VenusXvsVaultProxyTransactor // Write-only binding to the contract
	VenusXvsVaultProxyFilterer   // Log filterer for contract events
}

VenusXvsVaultProxy is an auto generated Go binding around an Ethereum contract.

func NewVenusXvsVaultProxy

func NewVenusXvsVaultProxy(address common.Address, backend bind.ContractBackend) (*VenusXvsVaultProxy, error)

NewVenusXvsVaultProxy creates a new instance of VenusXvsVaultProxy, bound to a specific deployed contract.

type VenusXvsVaultProxyAdminTransferred

type VenusXvsVaultProxyAdminTransferred struct {
	OldAdmin common.Address
	NewAdmin common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

VenusXvsVaultProxyAdminTransferred represents a AdminTransferred event raised by the VenusXvsVaultProxy contract.

type VenusXvsVaultProxyAdminTransferredIterator

type VenusXvsVaultProxyAdminTransferredIterator struct {
	Event *VenusXvsVaultProxyAdminTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusXvsVaultProxyAdminTransferredIterator is returned from FilterAdminTransferred and is used to iterate over the raw logs and unpacked data for AdminTransferred events raised by the VenusXvsVaultProxy contract.

func (*VenusXvsVaultProxyAdminTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusXvsVaultProxyAdminTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusXvsVaultProxyAdminTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusXvsVaultProxyCaller

type VenusXvsVaultProxyCaller struct {
	// contains filtered or unexported fields
}

VenusXvsVaultProxyCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewVenusXvsVaultProxyCaller

func NewVenusXvsVaultProxyCaller(address common.Address, caller bind.ContractCaller) (*VenusXvsVaultProxyCaller, error)

NewVenusXvsVaultProxyCaller creates a new read-only instance of VenusXvsVaultProxy, bound to a specific deployed contract.

func (*VenusXvsVaultProxyCaller) Admin

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*VenusXvsVaultProxyCaller) Checkpoints

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) Checkpoints(opts *bind.CallOpts, arg0 common.Address, arg1 uint32) (struct {
	FromBlock uint32
	Votes     *big.Int
}, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address , uint32 ) view returns(uint32 fromBlock, uint96 votes)

func (*VenusXvsVaultProxyCaller) DELEGATIONTYPEHASH

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) DELEGATIONTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

DELEGATIONTYPEHASH is a free data retrieval call binding the contract method 0xe7a324dc.

Solidity: function DELEGATION_TYPEHASH() view returns(bytes32)

func (*VenusXvsVaultProxyCaller) DOMAINTYPEHASH

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) DOMAINTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.

Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)

func (*VenusXvsVaultProxyCaller) Delegates

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) Delegates(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address ) view returns(address)

func (*VenusXvsVaultProxyCaller) GetAdmin

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) GetAdmin(opts *bind.CallOpts) (common.Address, error)

GetAdmin is a free data retrieval call binding the contract method 0x6e9960c3.

Solidity: function getAdmin() view returns(address)

func (*VenusXvsVaultProxyCaller) GetCurrentVotes

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) GetCurrentVotes(opts *bind.CallOpts, account common.Address) (*big.Int, error)

GetCurrentVotes is a free data retrieval call binding the contract method 0xb4b5ea57.

Solidity: function getCurrentVotes(address account) view returns(uint96)

func (*VenusXvsVaultProxyCaller) GetEligibleWithdrawalAmount

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) GetEligibleWithdrawalAmount(opts *bind.CallOpts, _rewardToken common.Address, _pid *big.Int, _user common.Address) (*big.Int, error)

GetEligibleWithdrawalAmount is a free data retrieval call binding the contract method 0x6dd77cbd.

Solidity: function getEligibleWithdrawalAmount(address _rewardToken, uint256 _pid, address _user) view returns(uint256 withdrawalAmount)

func (*VenusXvsVaultProxyCaller) GetPriorVotes

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) GetPriorVotes(opts *bind.CallOpts, account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPriorVotes is a free data retrieval call binding the contract method 0x782d6fe1.

Solidity: function getPriorVotes(address account, uint256 blockNumber) view returns(uint96)

func (*VenusXvsVaultProxyCaller) GetRequestedAmount

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) GetRequestedAmount(opts *bind.CallOpts, _rewardToken common.Address, _pid *big.Int, _user common.Address) (*big.Int, error)

GetRequestedAmount is a free data retrieval call binding the contract method 0x0af13728.

Solidity: function getRequestedAmount(address _rewardToken, uint256 _pid, address _user) view returns(uint256)

func (*VenusXvsVaultProxyCaller) GetUserInfo

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) GetUserInfo(opts *bind.CallOpts, _rewardToken common.Address, _pid *big.Int, _user common.Address) (struct {
	Amount             *big.Int
	RewardDebt         *big.Int
	PendingWithdrawals *big.Int
}, error)

GetUserInfo is a free data retrieval call binding the contract method 0x98e1b31b.

Solidity: function getUserInfo(address _rewardToken, uint256 _pid, address _user) view returns(uint256 amount, uint256 rewardDebt, uint256 pendingWithdrawals)

func (*VenusXvsVaultProxyCaller) GetWithdrawalRequests

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) GetWithdrawalRequests(opts *bind.CallOpts, _rewardToken common.Address, _pid *big.Int, _user common.Address) ([]XVSVaultStorageV1WithdrawalRequest, error)

GetWithdrawalRequests is a free data retrieval call binding the contract method 0xc2102596.

Solidity: function getWithdrawalRequests(address _rewardToken, uint256 _pid, address _user) view returns((uint256,uint256)[])

func (*VenusXvsVaultProxyCaller) Implementation

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) Implementation(opts *bind.CallOpts) (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*VenusXvsVaultProxyCaller) Nonces

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*VenusXvsVaultProxyCaller) NumCheckpoints

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) NumCheckpoints(opts *bind.CallOpts, arg0 common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address ) view returns(uint32)

func (*VenusXvsVaultProxyCaller) PendingAdmin

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) PendingAdmin(opts *bind.CallOpts) (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

func (*VenusXvsVaultProxyCaller) PendingReward

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) PendingReward(opts *bind.CallOpts, _rewardToken common.Address, _pid *big.Int, _user common.Address) (*big.Int, error)

PendingReward is a free data retrieval call binding the contract method 0xa09eab7a.

Solidity: function pendingReward(address _rewardToken, uint256 _pid, address _user) view returns(uint256)

func (*VenusXvsVaultProxyCaller) PendingXVSVaultImplementation

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) PendingXVSVaultImplementation(opts *bind.CallOpts) (common.Address, error)

PendingXVSVaultImplementation is a free data retrieval call binding the contract method 0xde0368b2.

Solidity: function pendingXVSVaultImplementation() view returns(address)

func (*VenusXvsVaultProxyCaller) PoolInfos

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) PoolInfos(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct {
	Token             common.Address
	AllocPoint        *big.Int
	LastRewardBlock   *big.Int
	AccRewardPerShare *big.Int
	LockPeriod        *big.Int
}, error)

PoolInfos is a free data retrieval call binding the contract method 0x92e35000.

Solidity: function poolInfos(address , uint256 ) view returns(address token, uint256 allocPoint, uint256 lastRewardBlock, uint256 accRewardPerShare, uint256 lockPeriod)

func (*VenusXvsVaultProxyCaller) PoolLength

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) PoolLength(opts *bind.CallOpts, rewardToken common.Address) (*big.Int, error)

PoolLength is a free data retrieval call binding the contract method 0xd7ae45e2.

Solidity: function poolLength(address rewardToken) view returns(uint256)

func (*VenusXvsVaultProxyCaller) RewardTokenAmountsPerBlock

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) RewardTokenAmountsPerBlock(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

RewardTokenAmountsPerBlock is a free data retrieval call binding the contract method 0x2eda5c6c.

Solidity: function rewardTokenAmountsPerBlock(address ) view returns(uint256)

func (*VenusXvsVaultProxyCaller) TotalAllocPoints

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) TotalAllocPoints(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

TotalAllocPoints is a free data retrieval call binding the contract method 0x4298bdbd.

Solidity: function totalAllocPoints(address ) view returns(uint256)

func (*VenusXvsVaultProxyCaller) XvsAddress

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) XvsAddress(opts *bind.CallOpts) (common.Address, error)

XvsAddress is a free data retrieval call binding the contract method 0x358ae036.

Solidity: function xvsAddress() view returns(address)

func (*VenusXvsVaultProxyCaller) XvsStore

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCaller) XvsStore(opts *bind.CallOpts) (common.Address, error)

XvsStore is a free data retrieval call binding the contract method 0x24f52bbf.

Solidity: function xvsStore() view returns(address)

type VenusXvsVaultProxyCallerRaw

type VenusXvsVaultProxyCallerRaw struct {
	Contract *VenusXvsVaultProxyCaller // Generic read-only contract binding to access the raw methods on
}

VenusXvsVaultProxyCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*VenusXvsVaultProxyCallerRaw) Call

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type VenusXvsVaultProxyCallerSession

type VenusXvsVaultProxyCallerSession struct {
	Contract *VenusXvsVaultProxyCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts             // Call options to use throughout this session
}

VenusXvsVaultProxyCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*VenusXvsVaultProxyCallerSession) Admin

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*VenusXvsVaultProxyCallerSession) Checkpoints

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) Checkpoints(arg0 common.Address, arg1 uint32) (struct {
	FromBlock uint32
	Votes     *big.Int
}, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address , uint32 ) view returns(uint32 fromBlock, uint96 votes)

func (*VenusXvsVaultProxyCallerSession) DELEGATIONTYPEHASH

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) DELEGATIONTYPEHASH() ([32]byte, error)

DELEGATIONTYPEHASH is a free data retrieval call binding the contract method 0xe7a324dc.

Solidity: function DELEGATION_TYPEHASH() view returns(bytes32)

func (*VenusXvsVaultProxyCallerSession) DOMAINTYPEHASH

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) DOMAINTYPEHASH() ([32]byte, error)

DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.

Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)

func (*VenusXvsVaultProxyCallerSession) Delegates

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) Delegates(arg0 common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address ) view returns(address)

func (*VenusXvsVaultProxyCallerSession) GetAdmin

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) GetAdmin() (common.Address, error)

GetAdmin is a free data retrieval call binding the contract method 0x6e9960c3.

Solidity: function getAdmin() view returns(address)

func (*VenusXvsVaultProxyCallerSession) GetCurrentVotes

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) GetCurrentVotes(account common.Address) (*big.Int, error)

GetCurrentVotes is a free data retrieval call binding the contract method 0xb4b5ea57.

Solidity: function getCurrentVotes(address account) view returns(uint96)

func (*VenusXvsVaultProxyCallerSession) GetEligibleWithdrawalAmount

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) GetEligibleWithdrawalAmount(_rewardToken common.Address, _pid *big.Int, _user common.Address) (*big.Int, error)

GetEligibleWithdrawalAmount is a free data retrieval call binding the contract method 0x6dd77cbd.

Solidity: function getEligibleWithdrawalAmount(address _rewardToken, uint256 _pid, address _user) view returns(uint256 withdrawalAmount)

func (*VenusXvsVaultProxyCallerSession) GetPriorVotes

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) GetPriorVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPriorVotes is a free data retrieval call binding the contract method 0x782d6fe1.

Solidity: function getPriorVotes(address account, uint256 blockNumber) view returns(uint96)

func (*VenusXvsVaultProxyCallerSession) GetRequestedAmount

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) GetRequestedAmount(_rewardToken common.Address, _pid *big.Int, _user common.Address) (*big.Int, error)

GetRequestedAmount is a free data retrieval call binding the contract method 0x0af13728.

Solidity: function getRequestedAmount(address _rewardToken, uint256 _pid, address _user) view returns(uint256)

func (*VenusXvsVaultProxyCallerSession) GetUserInfo

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) GetUserInfo(_rewardToken common.Address, _pid *big.Int, _user common.Address) (struct {
	Amount             *big.Int
	RewardDebt         *big.Int
	PendingWithdrawals *big.Int
}, error)

GetUserInfo is a free data retrieval call binding the contract method 0x98e1b31b.

Solidity: function getUserInfo(address _rewardToken, uint256 _pid, address _user) view returns(uint256 amount, uint256 rewardDebt, uint256 pendingWithdrawals)

func (*VenusXvsVaultProxyCallerSession) GetWithdrawalRequests

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) GetWithdrawalRequests(_rewardToken common.Address, _pid *big.Int, _user common.Address) ([]XVSVaultStorageV1WithdrawalRequest, error)

GetWithdrawalRequests is a free data retrieval call binding the contract method 0xc2102596.

Solidity: function getWithdrawalRequests(address _rewardToken, uint256 _pid, address _user) view returns((uint256,uint256)[])

func (*VenusXvsVaultProxyCallerSession) Implementation

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*VenusXvsVaultProxyCallerSession) Nonces

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*VenusXvsVaultProxyCallerSession) NumCheckpoints

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) NumCheckpoints(arg0 common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address ) view returns(uint32)

func (*VenusXvsVaultProxyCallerSession) PendingAdmin

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) PendingAdmin() (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

func (*VenusXvsVaultProxyCallerSession) PendingReward

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) PendingReward(_rewardToken common.Address, _pid *big.Int, _user common.Address) (*big.Int, error)

PendingReward is a free data retrieval call binding the contract method 0xa09eab7a.

Solidity: function pendingReward(address _rewardToken, uint256 _pid, address _user) view returns(uint256)

func (*VenusXvsVaultProxyCallerSession) PendingXVSVaultImplementation

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) PendingXVSVaultImplementation() (common.Address, error)

PendingXVSVaultImplementation is a free data retrieval call binding the contract method 0xde0368b2.

Solidity: function pendingXVSVaultImplementation() view returns(address)

func (*VenusXvsVaultProxyCallerSession) PoolInfos

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) PoolInfos(arg0 common.Address, arg1 *big.Int) (struct {
	Token             common.Address
	AllocPoint        *big.Int
	LastRewardBlock   *big.Int
	AccRewardPerShare *big.Int
	LockPeriod        *big.Int
}, error)

PoolInfos is a free data retrieval call binding the contract method 0x92e35000.

Solidity: function poolInfos(address , uint256 ) view returns(address token, uint256 allocPoint, uint256 lastRewardBlock, uint256 accRewardPerShare, uint256 lockPeriod)

func (*VenusXvsVaultProxyCallerSession) PoolLength

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) PoolLength(rewardToken common.Address) (*big.Int, error)

PoolLength is a free data retrieval call binding the contract method 0xd7ae45e2.

Solidity: function poolLength(address rewardToken) view returns(uint256)

func (*VenusXvsVaultProxyCallerSession) RewardTokenAmountsPerBlock

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) RewardTokenAmountsPerBlock(arg0 common.Address) (*big.Int, error)

RewardTokenAmountsPerBlock is a free data retrieval call binding the contract method 0x2eda5c6c.

Solidity: function rewardTokenAmountsPerBlock(address ) view returns(uint256)

func (*VenusXvsVaultProxyCallerSession) TotalAllocPoints

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) TotalAllocPoints(arg0 common.Address) (*big.Int, error)

TotalAllocPoints is a free data retrieval call binding the contract method 0x4298bdbd.

Solidity: function totalAllocPoints(address ) view returns(uint256)

func (*VenusXvsVaultProxyCallerSession) XvsAddress

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) XvsAddress() (common.Address, error)

XvsAddress is a free data retrieval call binding the contract method 0x358ae036.

Solidity: function xvsAddress() view returns(address)

func (*VenusXvsVaultProxyCallerSession) XvsStore

func (_VenusXvsVaultProxy *VenusXvsVaultProxyCallerSession) XvsStore() (common.Address, error)

XvsStore is a free data retrieval call binding the contract method 0x24f52bbf.

Solidity: function xvsStore() view returns(address)

type VenusXvsVaultProxyDelegateChangedV2

type VenusXvsVaultProxyDelegateChangedV2 struct {
	Delegator    common.Address
	FromDelegate common.Address
	ToDelegate   common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

VenusXvsVaultProxyDelegateChangedV2 represents a DelegateChangedV2 event raised by the VenusXvsVaultProxy contract.

type VenusXvsVaultProxyDelegateChangedV2Iterator

type VenusXvsVaultProxyDelegateChangedV2Iterator struct {
	Event *VenusXvsVaultProxyDelegateChangedV2 // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusXvsVaultProxyDelegateChangedV2Iterator is returned from FilterDelegateChangedV2 and is used to iterate over the raw logs and unpacked data for DelegateChangedV2 events raised by the VenusXvsVaultProxy contract.

func (*VenusXvsVaultProxyDelegateChangedV2Iterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusXvsVaultProxyDelegateChangedV2Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusXvsVaultProxyDelegateChangedV2Iterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusXvsVaultProxyDelegateVotesChangedV2

type VenusXvsVaultProxyDelegateVotesChangedV2 struct {
	Delegate        common.Address
	PreviousBalance *big.Int
	NewBalance      *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

VenusXvsVaultProxyDelegateVotesChangedV2 represents a DelegateVotesChangedV2 event raised by the VenusXvsVaultProxy contract.

type VenusXvsVaultProxyDelegateVotesChangedV2Iterator

type VenusXvsVaultProxyDelegateVotesChangedV2Iterator struct {
	Event *VenusXvsVaultProxyDelegateVotesChangedV2 // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusXvsVaultProxyDelegateVotesChangedV2Iterator is returned from FilterDelegateVotesChangedV2 and is used to iterate over the raw logs and unpacked data for DelegateVotesChangedV2 events raised by the VenusXvsVaultProxy contract.

func (*VenusXvsVaultProxyDelegateVotesChangedV2Iterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusXvsVaultProxyDelegateVotesChangedV2Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusXvsVaultProxyDelegateVotesChangedV2Iterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusXvsVaultProxyDeposit

type VenusXvsVaultProxyDeposit struct {
	User        common.Address
	RewardToken common.Address
	Pid         *big.Int
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

VenusXvsVaultProxyDeposit represents a Deposit event raised by the VenusXvsVaultProxy contract.

type VenusXvsVaultProxyDepositIterator

type VenusXvsVaultProxyDepositIterator struct {
	Event *VenusXvsVaultProxyDeposit // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusXvsVaultProxyDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the VenusXvsVaultProxy contract.

func (*VenusXvsVaultProxyDepositIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusXvsVaultProxyDepositIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusXvsVaultProxyDepositIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusXvsVaultProxyExecutedWithdrawal

type VenusXvsVaultProxyExecutedWithdrawal struct {
	User        common.Address
	RewardToken common.Address
	Pid         *big.Int
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

VenusXvsVaultProxyExecutedWithdrawal represents a ExecutedWithdrawal event raised by the VenusXvsVaultProxy contract.

type VenusXvsVaultProxyExecutedWithdrawalIterator

type VenusXvsVaultProxyExecutedWithdrawalIterator struct {
	Event *VenusXvsVaultProxyExecutedWithdrawal // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusXvsVaultProxyExecutedWithdrawalIterator is returned from FilterExecutedWithdrawal and is used to iterate over the raw logs and unpacked data for ExecutedWithdrawal events raised by the VenusXvsVaultProxy contract.

func (*VenusXvsVaultProxyExecutedWithdrawalIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusXvsVaultProxyExecutedWithdrawalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusXvsVaultProxyExecutedWithdrawalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusXvsVaultProxyFilterer

type VenusXvsVaultProxyFilterer struct {
	// contains filtered or unexported fields
}

VenusXvsVaultProxyFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewVenusXvsVaultProxyFilterer

func NewVenusXvsVaultProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*VenusXvsVaultProxyFilterer, error)

NewVenusXvsVaultProxyFilterer creates a new log filterer instance of VenusXvsVaultProxy, bound to a specific deployed contract.

func (*VenusXvsVaultProxyFilterer) FilterAdminTransferred

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) FilterAdminTransferred(opts *bind.FilterOpts, oldAdmin []common.Address, newAdmin []common.Address) (*VenusXvsVaultProxyAdminTransferredIterator, error)

FilterAdminTransferred is a free log retrieval operation binding the contract event 0xf8ccb027dfcd135e000e9d45e6cc2d662578a8825d4c45b5e32e0adf67e79ec6.

Solidity: event AdminTransferred(address indexed oldAdmin, address indexed newAdmin)

func (*VenusXvsVaultProxyFilterer) FilterDelegateChangedV2

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) FilterDelegateChangedV2(opts *bind.FilterOpts, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (*VenusXvsVaultProxyDelegateChangedV2Iterator, error)

FilterDelegateChangedV2 is a free log retrieval operation binding the contract event 0x0cc323ffec3ea49cbcddc0de1480978126d350c6a45dff33ad2f1cda6ae99261.

Solidity: event DelegateChangedV2(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*VenusXvsVaultProxyFilterer) FilterDelegateVotesChangedV2

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) FilterDelegateVotesChangedV2(opts *bind.FilterOpts, delegate []common.Address) (*VenusXvsVaultProxyDelegateVotesChangedV2Iterator, error)

FilterDelegateVotesChangedV2 is a free log retrieval operation binding the contract event 0x6adb589fed1e8542fb7a6b10f00a85e02265e77f9ae3ca8ff93b22983e1af9a0.

Solidity: event DelegateVotesChangedV2(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*VenusXvsVaultProxyFilterer) FilterDeposit

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address, rewardToken []common.Address, pid []*big.Int) (*VenusXvsVaultProxyDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed user, address indexed rewardToken, uint256 indexed pid, uint256 amount)

func (*VenusXvsVaultProxyFilterer) FilterExecutedWithdrawal

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) FilterExecutedWithdrawal(opts *bind.FilterOpts, user []common.Address, rewardToken []common.Address, pid []*big.Int) (*VenusXvsVaultProxyExecutedWithdrawalIterator, error)

FilterExecutedWithdrawal is a free log retrieval operation binding the contract event 0xe31da05fae6db869f5ea51f4b638aa6884070b6c87f18f63bd2291a12cb2f518.

Solidity: event ExecutedWithdrawal(address indexed user, address indexed rewardToken, uint256 indexed pid, uint256 amount)

func (*VenusXvsVaultProxyFilterer) FilterPoolAdded

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) FilterPoolAdded(opts *bind.FilterOpts, rewardToken []common.Address, pid []*big.Int, token []common.Address) (*VenusXvsVaultProxyPoolAddedIterator, error)

FilterPoolAdded is a free log retrieval operation binding the contract event 0xd7fa4bff1cd2253c0789c3291a786a6f6b1a3b4569a75af683a15d52abb6a0bf.

Solidity: event PoolAdded(address indexed rewardToken, uint256 indexed pid, address indexed token, uint256 allocPoints, uint256 rewardPerBlock, uint256 lockPeriod)

func (*VenusXvsVaultProxyFilterer) FilterPoolUpdated

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) FilterPoolUpdated(opts *bind.FilterOpts, rewardToken []common.Address, pid []*big.Int) (*VenusXvsVaultProxyPoolUpdatedIterator, error)

FilterPoolUpdated is a free log retrieval operation binding the contract event 0x6ee09c6cb801194690c195c69f465aaf7c80255cbeafaab9600f47ed79de2ca9.

Solidity: event PoolUpdated(address indexed rewardToken, uint256 indexed pid, uint256 oldAllocPoints, uint256 newAllocPoints)

func (*VenusXvsVaultProxyFilterer) FilterReqestedWithdrawal

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) FilterReqestedWithdrawal(opts *bind.FilterOpts, user []common.Address, rewardToken []common.Address, pid []*big.Int) (*VenusXvsVaultProxyReqestedWithdrawalIterator, error)

FilterReqestedWithdrawal is a free log retrieval operation binding the contract event 0xc0863fcc3a3b119da683cc8d57bce56f78d0d373c023726dea2aaf6ce3f837ac.

Solidity: event ReqestedWithdrawal(address indexed user, address indexed rewardToken, uint256 indexed pid, uint256 amount)

func (*VenusXvsVaultProxyFilterer) FilterRewardAmountUpdated

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) FilterRewardAmountUpdated(opts *bind.FilterOpts, rewardToken []common.Address) (*VenusXvsVaultProxyRewardAmountUpdatedIterator, error)

FilterRewardAmountUpdated is a free log retrieval operation binding the contract event 0xad96cee0d692f0250b98e085504f399da6733854908215f6203fe3c69366d9f5.

Solidity: event RewardAmountUpdated(address indexed rewardToken, uint256 oldReward, uint256 newReward)

func (*VenusXvsVaultProxyFilterer) FilterStoreUpdated

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) FilterStoreUpdated(opts *bind.FilterOpts) (*VenusXvsVaultProxyStoreUpdatedIterator, error)

FilterStoreUpdated is a free log retrieval operation binding the contract event 0x559f314bb90394a4a9ceb724f365b36a53587d894352c43d12901fd680101456.

Solidity: event StoreUpdated(address oldXvs, address oldStore, address newXvs, address newStore)

func (*VenusXvsVaultProxyFilterer) FilterWithdrawalLockingPeriodUpdated

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) FilterWithdrawalLockingPeriodUpdated(opts *bind.FilterOpts, rewardToken []common.Address, pid []*big.Int) (*VenusXvsVaultProxyWithdrawalLockingPeriodUpdatedIterator, error)

FilterWithdrawalLockingPeriodUpdated is a free log retrieval operation binding the contract event 0x0bcf80c5060ccf99b7a993c57a94b232fc2c5c04bd74c7c7d174595fee6bc31f.

Solidity: event WithdrawalLockingPeriodUpdated(address indexed rewardToken, uint256 indexed pid, uint256 oldPeriod, uint256 newPeriod)

func (*VenusXvsVaultProxyFilterer) ParseAdminTransferred

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) ParseAdminTransferred(log types.Log) (*VenusXvsVaultProxyAdminTransferred, error)

ParseAdminTransferred is a log parse operation binding the contract event 0xf8ccb027dfcd135e000e9d45e6cc2d662578a8825d4c45b5e32e0adf67e79ec6.

Solidity: event AdminTransferred(address indexed oldAdmin, address indexed newAdmin)

func (*VenusXvsVaultProxyFilterer) ParseDelegateChangedV2

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) ParseDelegateChangedV2(log types.Log) (*VenusXvsVaultProxyDelegateChangedV2, error)

ParseDelegateChangedV2 is a log parse operation binding the contract event 0x0cc323ffec3ea49cbcddc0de1480978126d350c6a45dff33ad2f1cda6ae99261.

Solidity: event DelegateChangedV2(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*VenusXvsVaultProxyFilterer) ParseDelegateVotesChangedV2

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) ParseDelegateVotesChangedV2(log types.Log) (*VenusXvsVaultProxyDelegateVotesChangedV2, error)

ParseDelegateVotesChangedV2 is a log parse operation binding the contract event 0x6adb589fed1e8542fb7a6b10f00a85e02265e77f9ae3ca8ff93b22983e1af9a0.

Solidity: event DelegateVotesChangedV2(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*VenusXvsVaultProxyFilterer) ParseDeposit

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) ParseDeposit(log types.Log) (*VenusXvsVaultProxyDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed user, address indexed rewardToken, uint256 indexed pid, uint256 amount)

func (*VenusXvsVaultProxyFilterer) ParseExecutedWithdrawal

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) ParseExecutedWithdrawal(log types.Log) (*VenusXvsVaultProxyExecutedWithdrawal, error)

ParseExecutedWithdrawal is a log parse operation binding the contract event 0xe31da05fae6db869f5ea51f4b638aa6884070b6c87f18f63bd2291a12cb2f518.

Solidity: event ExecutedWithdrawal(address indexed user, address indexed rewardToken, uint256 indexed pid, uint256 amount)

func (*VenusXvsVaultProxyFilterer) ParsePoolAdded

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) ParsePoolAdded(log types.Log) (*VenusXvsVaultProxyPoolAdded, error)

ParsePoolAdded is a log parse operation binding the contract event 0xd7fa4bff1cd2253c0789c3291a786a6f6b1a3b4569a75af683a15d52abb6a0bf.

Solidity: event PoolAdded(address indexed rewardToken, uint256 indexed pid, address indexed token, uint256 allocPoints, uint256 rewardPerBlock, uint256 lockPeriod)

func (*VenusXvsVaultProxyFilterer) ParsePoolUpdated

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) ParsePoolUpdated(log types.Log) (*VenusXvsVaultProxyPoolUpdated, error)

ParsePoolUpdated is a log parse operation binding the contract event 0x6ee09c6cb801194690c195c69f465aaf7c80255cbeafaab9600f47ed79de2ca9.

Solidity: event PoolUpdated(address indexed rewardToken, uint256 indexed pid, uint256 oldAllocPoints, uint256 newAllocPoints)

func (*VenusXvsVaultProxyFilterer) ParseReqestedWithdrawal

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) ParseReqestedWithdrawal(log types.Log) (*VenusXvsVaultProxyReqestedWithdrawal, error)

ParseReqestedWithdrawal is a log parse operation binding the contract event 0xc0863fcc3a3b119da683cc8d57bce56f78d0d373c023726dea2aaf6ce3f837ac.

Solidity: event ReqestedWithdrawal(address indexed user, address indexed rewardToken, uint256 indexed pid, uint256 amount)

func (*VenusXvsVaultProxyFilterer) ParseRewardAmountUpdated

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) ParseRewardAmountUpdated(log types.Log) (*VenusXvsVaultProxyRewardAmountUpdated, error)

ParseRewardAmountUpdated is a log parse operation binding the contract event 0xad96cee0d692f0250b98e085504f399da6733854908215f6203fe3c69366d9f5.

Solidity: event RewardAmountUpdated(address indexed rewardToken, uint256 oldReward, uint256 newReward)

func (*VenusXvsVaultProxyFilterer) ParseStoreUpdated

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) ParseStoreUpdated(log types.Log) (*VenusXvsVaultProxyStoreUpdated, error)

ParseStoreUpdated is a log parse operation binding the contract event 0x559f314bb90394a4a9ceb724f365b36a53587d894352c43d12901fd680101456.

Solidity: event StoreUpdated(address oldXvs, address oldStore, address newXvs, address newStore)

func (*VenusXvsVaultProxyFilterer) ParseWithdrawalLockingPeriodUpdated

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) ParseWithdrawalLockingPeriodUpdated(log types.Log) (*VenusXvsVaultProxyWithdrawalLockingPeriodUpdated, error)

ParseWithdrawalLockingPeriodUpdated is a log parse operation binding the contract event 0x0bcf80c5060ccf99b7a993c57a94b232fc2c5c04bd74c7c7d174595fee6bc31f.

Solidity: event WithdrawalLockingPeriodUpdated(address indexed rewardToken, uint256 indexed pid, uint256 oldPeriod, uint256 newPeriod)

func (*VenusXvsVaultProxyFilterer) WatchAdminTransferred

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) WatchAdminTransferred(opts *bind.WatchOpts, sink chan<- *VenusXvsVaultProxyAdminTransferred, oldAdmin []common.Address, newAdmin []common.Address) (event.Subscription, error)

WatchAdminTransferred is a free log subscription operation binding the contract event 0xf8ccb027dfcd135e000e9d45e6cc2d662578a8825d4c45b5e32e0adf67e79ec6.

Solidity: event AdminTransferred(address indexed oldAdmin, address indexed newAdmin)

func (*VenusXvsVaultProxyFilterer) WatchDelegateChangedV2

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) WatchDelegateChangedV2(opts *bind.WatchOpts, sink chan<- *VenusXvsVaultProxyDelegateChangedV2, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (event.Subscription, error)

WatchDelegateChangedV2 is a free log subscription operation binding the contract event 0x0cc323ffec3ea49cbcddc0de1480978126d350c6a45dff33ad2f1cda6ae99261.

Solidity: event DelegateChangedV2(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*VenusXvsVaultProxyFilterer) WatchDelegateVotesChangedV2

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) WatchDelegateVotesChangedV2(opts *bind.WatchOpts, sink chan<- *VenusXvsVaultProxyDelegateVotesChangedV2, delegate []common.Address) (event.Subscription, error)

WatchDelegateVotesChangedV2 is a free log subscription operation binding the contract event 0x6adb589fed1e8542fb7a6b10f00a85e02265e77f9ae3ca8ff93b22983e1af9a0.

Solidity: event DelegateVotesChangedV2(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*VenusXvsVaultProxyFilterer) WatchDeposit

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *VenusXvsVaultProxyDeposit, user []common.Address, rewardToken []common.Address, pid []*big.Int) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed user, address indexed rewardToken, uint256 indexed pid, uint256 amount)

func (*VenusXvsVaultProxyFilterer) WatchExecutedWithdrawal

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) WatchExecutedWithdrawal(opts *bind.WatchOpts, sink chan<- *VenusXvsVaultProxyExecutedWithdrawal, user []common.Address, rewardToken []common.Address, pid []*big.Int) (event.Subscription, error)

WatchExecutedWithdrawal is a free log subscription operation binding the contract event 0xe31da05fae6db869f5ea51f4b638aa6884070b6c87f18f63bd2291a12cb2f518.

Solidity: event ExecutedWithdrawal(address indexed user, address indexed rewardToken, uint256 indexed pid, uint256 amount)

func (*VenusXvsVaultProxyFilterer) WatchPoolAdded

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) WatchPoolAdded(opts *bind.WatchOpts, sink chan<- *VenusXvsVaultProxyPoolAdded, rewardToken []common.Address, pid []*big.Int, token []common.Address) (event.Subscription, error)

WatchPoolAdded is a free log subscription operation binding the contract event 0xd7fa4bff1cd2253c0789c3291a786a6f6b1a3b4569a75af683a15d52abb6a0bf.

Solidity: event PoolAdded(address indexed rewardToken, uint256 indexed pid, address indexed token, uint256 allocPoints, uint256 rewardPerBlock, uint256 lockPeriod)

func (*VenusXvsVaultProxyFilterer) WatchPoolUpdated

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) WatchPoolUpdated(opts *bind.WatchOpts, sink chan<- *VenusXvsVaultProxyPoolUpdated, rewardToken []common.Address, pid []*big.Int) (event.Subscription, error)

WatchPoolUpdated is a free log subscription operation binding the contract event 0x6ee09c6cb801194690c195c69f465aaf7c80255cbeafaab9600f47ed79de2ca9.

Solidity: event PoolUpdated(address indexed rewardToken, uint256 indexed pid, uint256 oldAllocPoints, uint256 newAllocPoints)

func (*VenusXvsVaultProxyFilterer) WatchReqestedWithdrawal

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) WatchReqestedWithdrawal(opts *bind.WatchOpts, sink chan<- *VenusXvsVaultProxyReqestedWithdrawal, user []common.Address, rewardToken []common.Address, pid []*big.Int) (event.Subscription, error)

WatchReqestedWithdrawal is a free log subscription operation binding the contract event 0xc0863fcc3a3b119da683cc8d57bce56f78d0d373c023726dea2aaf6ce3f837ac.

Solidity: event ReqestedWithdrawal(address indexed user, address indexed rewardToken, uint256 indexed pid, uint256 amount)

func (*VenusXvsVaultProxyFilterer) WatchRewardAmountUpdated

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) WatchRewardAmountUpdated(opts *bind.WatchOpts, sink chan<- *VenusXvsVaultProxyRewardAmountUpdated, rewardToken []common.Address) (event.Subscription, error)

WatchRewardAmountUpdated is a free log subscription operation binding the contract event 0xad96cee0d692f0250b98e085504f399da6733854908215f6203fe3c69366d9f5.

Solidity: event RewardAmountUpdated(address indexed rewardToken, uint256 oldReward, uint256 newReward)

func (*VenusXvsVaultProxyFilterer) WatchStoreUpdated

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) WatchStoreUpdated(opts *bind.WatchOpts, sink chan<- *VenusXvsVaultProxyStoreUpdated) (event.Subscription, error)

WatchStoreUpdated is a free log subscription operation binding the contract event 0x559f314bb90394a4a9ceb724f365b36a53587d894352c43d12901fd680101456.

Solidity: event StoreUpdated(address oldXvs, address oldStore, address newXvs, address newStore)

func (*VenusXvsVaultProxyFilterer) WatchWithdrawalLockingPeriodUpdated

func (_VenusXvsVaultProxy *VenusXvsVaultProxyFilterer) WatchWithdrawalLockingPeriodUpdated(opts *bind.WatchOpts, sink chan<- *VenusXvsVaultProxyWithdrawalLockingPeriodUpdated, rewardToken []common.Address, pid []*big.Int) (event.Subscription, error)

WatchWithdrawalLockingPeriodUpdated is a free log subscription operation binding the contract event 0x0bcf80c5060ccf99b7a993c57a94b232fc2c5c04bd74c7c7d174595fee6bc31f.

Solidity: event WithdrawalLockingPeriodUpdated(address indexed rewardToken, uint256 indexed pid, uint256 oldPeriod, uint256 newPeriod)

type VenusXvsVaultProxyPoolAdded

type VenusXvsVaultProxyPoolAdded struct {
	RewardToken    common.Address
	Pid            *big.Int
	Token          common.Address
	AllocPoints    *big.Int
	RewardPerBlock *big.Int
	LockPeriod     *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

VenusXvsVaultProxyPoolAdded represents a PoolAdded event raised by the VenusXvsVaultProxy contract.

type VenusXvsVaultProxyPoolAddedIterator

type VenusXvsVaultProxyPoolAddedIterator struct {
	Event *VenusXvsVaultProxyPoolAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusXvsVaultProxyPoolAddedIterator is returned from FilterPoolAdded and is used to iterate over the raw logs and unpacked data for PoolAdded events raised by the VenusXvsVaultProxy contract.

func (*VenusXvsVaultProxyPoolAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusXvsVaultProxyPoolAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusXvsVaultProxyPoolAddedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusXvsVaultProxyPoolUpdated

type VenusXvsVaultProxyPoolUpdated struct {
	RewardToken    common.Address
	Pid            *big.Int
	OldAllocPoints *big.Int
	NewAllocPoints *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

VenusXvsVaultProxyPoolUpdated represents a PoolUpdated event raised by the VenusXvsVaultProxy contract.

type VenusXvsVaultProxyPoolUpdatedIterator

type VenusXvsVaultProxyPoolUpdatedIterator struct {
	Event *VenusXvsVaultProxyPoolUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusXvsVaultProxyPoolUpdatedIterator is returned from FilterPoolUpdated and is used to iterate over the raw logs and unpacked data for PoolUpdated events raised by the VenusXvsVaultProxy contract.

func (*VenusXvsVaultProxyPoolUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusXvsVaultProxyPoolUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusXvsVaultProxyPoolUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusXvsVaultProxyRaw

type VenusXvsVaultProxyRaw struct {
	Contract *VenusXvsVaultProxy // Generic contract binding to access the raw methods on
}

VenusXvsVaultProxyRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*VenusXvsVaultProxyRaw) Call

func (_VenusXvsVaultProxy *VenusXvsVaultProxyRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*VenusXvsVaultProxyRaw) Transact

func (_VenusXvsVaultProxy *VenusXvsVaultProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*VenusXvsVaultProxyRaw) Transfer

func (_VenusXvsVaultProxy *VenusXvsVaultProxyRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type VenusXvsVaultProxyReqestedWithdrawal

type VenusXvsVaultProxyReqestedWithdrawal struct {
	User        common.Address
	RewardToken common.Address
	Pid         *big.Int
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

VenusXvsVaultProxyReqestedWithdrawal represents a ReqestedWithdrawal event raised by the VenusXvsVaultProxy contract.

type VenusXvsVaultProxyReqestedWithdrawalIterator

type VenusXvsVaultProxyReqestedWithdrawalIterator struct {
	Event *VenusXvsVaultProxyReqestedWithdrawal // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusXvsVaultProxyReqestedWithdrawalIterator is returned from FilterReqestedWithdrawal and is used to iterate over the raw logs and unpacked data for ReqestedWithdrawal events raised by the VenusXvsVaultProxy contract.

func (*VenusXvsVaultProxyReqestedWithdrawalIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusXvsVaultProxyReqestedWithdrawalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusXvsVaultProxyReqestedWithdrawalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusXvsVaultProxyRewardAmountUpdated

type VenusXvsVaultProxyRewardAmountUpdated struct {
	RewardToken common.Address
	OldReward   *big.Int
	NewReward   *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

VenusXvsVaultProxyRewardAmountUpdated represents a RewardAmountUpdated event raised by the VenusXvsVaultProxy contract.

type VenusXvsVaultProxyRewardAmountUpdatedIterator

type VenusXvsVaultProxyRewardAmountUpdatedIterator struct {
	Event *VenusXvsVaultProxyRewardAmountUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusXvsVaultProxyRewardAmountUpdatedIterator is returned from FilterRewardAmountUpdated and is used to iterate over the raw logs and unpacked data for RewardAmountUpdated events raised by the VenusXvsVaultProxy contract.

func (*VenusXvsVaultProxyRewardAmountUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusXvsVaultProxyRewardAmountUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusXvsVaultProxyRewardAmountUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusXvsVaultProxySession

type VenusXvsVaultProxySession struct {
	Contract     *VenusXvsVaultProxy // Generic contract binding to set the session for
	CallOpts     bind.CallOpts       // Call options to use throughout this session
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

VenusXvsVaultProxySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*VenusXvsVaultProxySession) Add

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) Add(_rewardToken common.Address, _allocPoint *big.Int, _token common.Address, _rewardPerBlock *big.Int, _lockPeriod *big.Int) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0xfba1b1f9.

Solidity: function add(address _rewardToken, uint256 _allocPoint, address _token, uint256 _rewardPerBlock, uint256 _lockPeriod) returns()

func (*VenusXvsVaultProxySession) Admin

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*VenusXvsVaultProxySession) Become

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) Become(xvsVaultProxy common.Address) (*types.Transaction, error)

Become is a paid mutator transaction binding the contract method 0x1d504dc6.

Solidity: function _become(address xvsVaultProxy) returns()

func (*VenusXvsVaultProxySession) BurnAdmin

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) BurnAdmin() (*types.Transaction, error)

BurnAdmin is a paid mutator transaction binding the contract method 0x81bdf98c.

Solidity: function burnAdmin() returns()

func (*VenusXvsVaultProxySession) Checkpoints

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) Checkpoints(arg0 common.Address, arg1 uint32) (struct {
	FromBlock uint32
	Votes     *big.Int
}, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address , uint32 ) view returns(uint32 fromBlock, uint96 votes)

func (*VenusXvsVaultProxySession) DELEGATIONTYPEHASH

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) DELEGATIONTYPEHASH() ([32]byte, error)

DELEGATIONTYPEHASH is a free data retrieval call binding the contract method 0xe7a324dc.

Solidity: function DELEGATION_TYPEHASH() view returns(bytes32)

func (*VenusXvsVaultProxySession) DOMAINTYPEHASH

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) DOMAINTYPEHASH() ([32]byte, error)

DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.

Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)

func (*VenusXvsVaultProxySession) Delegate

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) Delegate(delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*VenusXvsVaultProxySession) DelegateBySig

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*VenusXvsVaultProxySession) Delegates

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) Delegates(arg0 common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address ) view returns(address)

func (*VenusXvsVaultProxySession) Deposit

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) Deposit(_rewardToken common.Address, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x0efe6a8b.

Solidity: function deposit(address _rewardToken, uint256 _pid, uint256 _amount) returns()

func (*VenusXvsVaultProxySession) ExecuteWithdrawal

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) ExecuteWithdrawal(_rewardToken common.Address, _pid *big.Int) (*types.Transaction, error)

ExecuteWithdrawal is a paid mutator transaction binding the contract method 0x7ac92456.

Solidity: function executeWithdrawal(address _rewardToken, uint256 _pid) returns()

func (*VenusXvsVaultProxySession) GetAdmin

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) GetAdmin() (common.Address, error)

GetAdmin is a free data retrieval call binding the contract method 0x6e9960c3.

Solidity: function getAdmin() view returns(address)

func (*VenusXvsVaultProxySession) GetCurrentVotes

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) GetCurrentVotes(account common.Address) (*big.Int, error)

GetCurrentVotes is a free data retrieval call binding the contract method 0xb4b5ea57.

Solidity: function getCurrentVotes(address account) view returns(uint96)

func (*VenusXvsVaultProxySession) GetEligibleWithdrawalAmount

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) GetEligibleWithdrawalAmount(_rewardToken common.Address, _pid *big.Int, _user common.Address) (*big.Int, error)

GetEligibleWithdrawalAmount is a free data retrieval call binding the contract method 0x6dd77cbd.

Solidity: function getEligibleWithdrawalAmount(address _rewardToken, uint256 _pid, address _user) view returns(uint256 withdrawalAmount)

func (*VenusXvsVaultProxySession) GetPriorVotes

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) GetPriorVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPriorVotes is a free data retrieval call binding the contract method 0x782d6fe1.

Solidity: function getPriorVotes(address account, uint256 blockNumber) view returns(uint96)

func (*VenusXvsVaultProxySession) GetRequestedAmount

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) GetRequestedAmount(_rewardToken common.Address, _pid *big.Int, _user common.Address) (*big.Int, error)

GetRequestedAmount is a free data retrieval call binding the contract method 0x0af13728.

Solidity: function getRequestedAmount(address _rewardToken, uint256 _pid, address _user) view returns(uint256)

func (*VenusXvsVaultProxySession) GetUserInfo

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) GetUserInfo(_rewardToken common.Address, _pid *big.Int, _user common.Address) (struct {
	Amount             *big.Int
	RewardDebt         *big.Int
	PendingWithdrawals *big.Int
}, error)

GetUserInfo is a free data retrieval call binding the contract method 0x98e1b31b.

Solidity: function getUserInfo(address _rewardToken, uint256 _pid, address _user) view returns(uint256 amount, uint256 rewardDebt, uint256 pendingWithdrawals)

func (*VenusXvsVaultProxySession) GetWithdrawalRequests

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) GetWithdrawalRequests(_rewardToken common.Address, _pid *big.Int, _user common.Address) ([]XVSVaultStorageV1WithdrawalRequest, error)

GetWithdrawalRequests is a free data retrieval call binding the contract method 0xc2102596.

Solidity: function getWithdrawalRequests(address _rewardToken, uint256 _pid, address _user) view returns((uint256,uint256)[])

func (*VenusXvsVaultProxySession) Implementation

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*VenusXvsVaultProxySession) MassUpdatePools

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) MassUpdatePools(_rewardToken common.Address) (*types.Transaction, error)

MassUpdatePools is a paid mutator transaction binding the contract method 0x5362b503.

Solidity: function massUpdatePools(address _rewardToken) returns()

func (*VenusXvsVaultProxySession) Nonces

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*VenusXvsVaultProxySession) NumCheckpoints

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) NumCheckpoints(arg0 common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address ) view returns(uint32)

func (*VenusXvsVaultProxySession) PendingAdmin

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) PendingAdmin() (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

func (*VenusXvsVaultProxySession) PendingReward

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) PendingReward(_rewardToken common.Address, _pid *big.Int, _user common.Address) (*big.Int, error)

PendingReward is a free data retrieval call binding the contract method 0xa09eab7a.

Solidity: function pendingReward(address _rewardToken, uint256 _pid, address _user) view returns(uint256)

func (*VenusXvsVaultProxySession) PendingXVSVaultImplementation

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) PendingXVSVaultImplementation() (common.Address, error)

PendingXVSVaultImplementation is a free data retrieval call binding the contract method 0xde0368b2.

Solidity: function pendingXVSVaultImplementation() view returns(address)

func (*VenusXvsVaultProxySession) PoolInfos

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) PoolInfos(arg0 common.Address, arg1 *big.Int) (struct {
	Token             common.Address
	AllocPoint        *big.Int
	LastRewardBlock   *big.Int
	AccRewardPerShare *big.Int
	LockPeriod        *big.Int
}, error)

PoolInfos is a free data retrieval call binding the contract method 0x92e35000.

Solidity: function poolInfos(address , uint256 ) view returns(address token, uint256 allocPoint, uint256 lastRewardBlock, uint256 accRewardPerShare, uint256 lockPeriod)

func (*VenusXvsVaultProxySession) PoolLength

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) PoolLength(rewardToken common.Address) (*big.Int, error)

PoolLength is a free data retrieval call binding the contract method 0xd7ae45e2.

Solidity: function poolLength(address rewardToken) view returns(uint256)

func (*VenusXvsVaultProxySession) RequestWithdrawal

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) RequestWithdrawal(_rewardToken common.Address, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

RequestWithdrawal is a paid mutator transaction binding the contract method 0x115b512f.

Solidity: function requestWithdrawal(address _rewardToken, uint256 _pid, uint256 _amount) returns()

func (*VenusXvsVaultProxySession) RewardTokenAmountsPerBlock

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) RewardTokenAmountsPerBlock(arg0 common.Address) (*big.Int, error)

RewardTokenAmountsPerBlock is a free data retrieval call binding the contract method 0x2eda5c6c.

Solidity: function rewardTokenAmountsPerBlock(address ) view returns(uint256)

func (*VenusXvsVaultProxySession) Set

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) Set(_rewardToken common.Address, _pid *big.Int, _allocPoint *big.Int) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x8308d7e9.

Solidity: function set(address _rewardToken, uint256 _pid, uint256 _allocPoint) returns()

func (*VenusXvsVaultProxySession) SetRewardAmountPerBlock

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) SetRewardAmountPerBlock(_rewardToken common.Address, _rewardAmount *big.Int) (*types.Transaction, error)

SetRewardAmountPerBlock is a paid mutator transaction binding the contract method 0x93c7c4d1.

Solidity: function setRewardAmountPerBlock(address _rewardToken, uint256 _rewardAmount) returns()

func (*VenusXvsVaultProxySession) SetWithdrawalLockingPeriod

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) SetWithdrawalLockingPeriod(_rewardToken common.Address, _pid *big.Int, _newPeriod *big.Int) (*types.Transaction, error)

SetWithdrawalLockingPeriod is a paid mutator transaction binding the contract method 0x9e2b6c4d.

Solidity: function setWithdrawalLockingPeriod(address _rewardToken, uint256 _pid, uint256 _newPeriod) returns()

func (*VenusXvsVaultProxySession) SetXvsStore

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) SetXvsStore(_xvs common.Address, _xvsStore common.Address) (*types.Transaction, error)

SetXvsStore is a paid mutator transaction binding the contract method 0x5ff56315.

Solidity: function setXvsStore(address _xvs, address _xvsStore) returns()

func (*VenusXvsVaultProxySession) TotalAllocPoints

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) TotalAllocPoints(arg0 common.Address) (*big.Int, error)

TotalAllocPoints is a free data retrieval call binding the contract method 0x4298bdbd.

Solidity: function totalAllocPoints(address ) view returns(uint256)

func (*VenusXvsVaultProxySession) UpdatePool

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) UpdatePool(_rewardToken common.Address, _pid *big.Int) (*types.Transaction, error)

UpdatePool is a paid mutator transaction binding the contract method 0x8ed7333d.

Solidity: function updatePool(address _rewardToken, uint256 _pid) returns()

func (*VenusXvsVaultProxySession) XvsAddress

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) XvsAddress() (common.Address, error)

XvsAddress is a free data retrieval call binding the contract method 0x358ae036.

Solidity: function xvsAddress() view returns(address)

func (*VenusXvsVaultProxySession) XvsStore

func (_VenusXvsVaultProxy *VenusXvsVaultProxySession) XvsStore() (common.Address, error)

XvsStore is a free data retrieval call binding the contract method 0x24f52bbf.

Solidity: function xvsStore() view returns(address)

type VenusXvsVaultProxyStoreUpdated

type VenusXvsVaultProxyStoreUpdated struct {
	OldXvs   common.Address
	OldStore common.Address
	NewXvs   common.Address
	NewStore common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

VenusXvsVaultProxyStoreUpdated represents a StoreUpdated event raised by the VenusXvsVaultProxy contract.

type VenusXvsVaultProxyStoreUpdatedIterator

type VenusXvsVaultProxyStoreUpdatedIterator struct {
	Event *VenusXvsVaultProxyStoreUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusXvsVaultProxyStoreUpdatedIterator is returned from FilterStoreUpdated and is used to iterate over the raw logs and unpacked data for StoreUpdated events raised by the VenusXvsVaultProxy contract.

func (*VenusXvsVaultProxyStoreUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusXvsVaultProxyStoreUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusXvsVaultProxyStoreUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VenusXvsVaultProxyTransactor

type VenusXvsVaultProxyTransactor struct {
	// contains filtered or unexported fields
}

VenusXvsVaultProxyTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewVenusXvsVaultProxyTransactor

func NewVenusXvsVaultProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*VenusXvsVaultProxyTransactor, error)

NewVenusXvsVaultProxyTransactor creates a new write-only instance of VenusXvsVaultProxy, bound to a specific deployed contract.

func (*VenusXvsVaultProxyTransactor) Add

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactor) Add(opts *bind.TransactOpts, _rewardToken common.Address, _allocPoint *big.Int, _token common.Address, _rewardPerBlock *big.Int, _lockPeriod *big.Int) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0xfba1b1f9.

Solidity: function add(address _rewardToken, uint256 _allocPoint, address _token, uint256 _rewardPerBlock, uint256 _lockPeriod) returns()

func (*VenusXvsVaultProxyTransactor) Become

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactor) Become(opts *bind.TransactOpts, xvsVaultProxy common.Address) (*types.Transaction, error)

Become is a paid mutator transaction binding the contract method 0x1d504dc6.

Solidity: function _become(address xvsVaultProxy) returns()

func (*VenusXvsVaultProxyTransactor) BurnAdmin

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactor) BurnAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

BurnAdmin is a paid mutator transaction binding the contract method 0x81bdf98c.

Solidity: function burnAdmin() returns()

func (*VenusXvsVaultProxyTransactor) Delegate

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactor) Delegate(opts *bind.TransactOpts, delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*VenusXvsVaultProxyTransactor) DelegateBySig

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactor) DelegateBySig(opts *bind.TransactOpts, delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*VenusXvsVaultProxyTransactor) Deposit

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactor) Deposit(opts *bind.TransactOpts, _rewardToken common.Address, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x0efe6a8b.

Solidity: function deposit(address _rewardToken, uint256 _pid, uint256 _amount) returns()

func (*VenusXvsVaultProxyTransactor) ExecuteWithdrawal

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactor) ExecuteWithdrawal(opts *bind.TransactOpts, _rewardToken common.Address, _pid *big.Int) (*types.Transaction, error)

ExecuteWithdrawal is a paid mutator transaction binding the contract method 0x7ac92456.

Solidity: function executeWithdrawal(address _rewardToken, uint256 _pid) returns()

func (*VenusXvsVaultProxyTransactor) MassUpdatePools

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactor) MassUpdatePools(opts *bind.TransactOpts, _rewardToken common.Address) (*types.Transaction, error)

MassUpdatePools is a paid mutator transaction binding the contract method 0x5362b503.

Solidity: function massUpdatePools(address _rewardToken) returns()

func (*VenusXvsVaultProxyTransactor) RequestWithdrawal

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactor) RequestWithdrawal(opts *bind.TransactOpts, _rewardToken common.Address, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

RequestWithdrawal is a paid mutator transaction binding the contract method 0x115b512f.

Solidity: function requestWithdrawal(address _rewardToken, uint256 _pid, uint256 _amount) returns()

func (*VenusXvsVaultProxyTransactor) Set

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactor) Set(opts *bind.TransactOpts, _rewardToken common.Address, _pid *big.Int, _allocPoint *big.Int) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x8308d7e9.

Solidity: function set(address _rewardToken, uint256 _pid, uint256 _allocPoint) returns()

func (*VenusXvsVaultProxyTransactor) SetRewardAmountPerBlock

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactor) SetRewardAmountPerBlock(opts *bind.TransactOpts, _rewardToken common.Address, _rewardAmount *big.Int) (*types.Transaction, error)

SetRewardAmountPerBlock is a paid mutator transaction binding the contract method 0x93c7c4d1.

Solidity: function setRewardAmountPerBlock(address _rewardToken, uint256 _rewardAmount) returns()

func (*VenusXvsVaultProxyTransactor) SetWithdrawalLockingPeriod

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactor) SetWithdrawalLockingPeriod(opts *bind.TransactOpts, _rewardToken common.Address, _pid *big.Int, _newPeriod *big.Int) (*types.Transaction, error)

SetWithdrawalLockingPeriod is a paid mutator transaction binding the contract method 0x9e2b6c4d.

Solidity: function setWithdrawalLockingPeriod(address _rewardToken, uint256 _pid, uint256 _newPeriod) returns()

func (*VenusXvsVaultProxyTransactor) SetXvsStore

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactor) SetXvsStore(opts *bind.TransactOpts, _xvs common.Address, _xvsStore common.Address) (*types.Transaction, error)

SetXvsStore is a paid mutator transaction binding the contract method 0x5ff56315.

Solidity: function setXvsStore(address _xvs, address _xvsStore) returns()

func (*VenusXvsVaultProxyTransactor) UpdatePool

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactor) UpdatePool(opts *bind.TransactOpts, _rewardToken common.Address, _pid *big.Int) (*types.Transaction, error)

UpdatePool is a paid mutator transaction binding the contract method 0x8ed7333d.

Solidity: function updatePool(address _rewardToken, uint256 _pid) returns()

type VenusXvsVaultProxyTransactorRaw

type VenusXvsVaultProxyTransactorRaw struct {
	Contract *VenusXvsVaultProxyTransactor // Generic write-only contract binding to access the raw methods on
}

VenusXvsVaultProxyTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*VenusXvsVaultProxyTransactorRaw) Transact

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*VenusXvsVaultProxyTransactorRaw) Transfer

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type VenusXvsVaultProxyTransactorSession

type VenusXvsVaultProxyTransactorSession struct {
	Contract     *VenusXvsVaultProxyTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts             // Transaction auth options to use throughout this session
}

VenusXvsVaultProxyTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*VenusXvsVaultProxyTransactorSession) Add

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactorSession) Add(_rewardToken common.Address, _allocPoint *big.Int, _token common.Address, _rewardPerBlock *big.Int, _lockPeriod *big.Int) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0xfba1b1f9.

Solidity: function add(address _rewardToken, uint256 _allocPoint, address _token, uint256 _rewardPerBlock, uint256 _lockPeriod) returns()

func (*VenusXvsVaultProxyTransactorSession) Become

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactorSession) Become(xvsVaultProxy common.Address) (*types.Transaction, error)

Become is a paid mutator transaction binding the contract method 0x1d504dc6.

Solidity: function _become(address xvsVaultProxy) returns()

func (*VenusXvsVaultProxyTransactorSession) BurnAdmin

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactorSession) BurnAdmin() (*types.Transaction, error)

BurnAdmin is a paid mutator transaction binding the contract method 0x81bdf98c.

Solidity: function burnAdmin() returns()

func (*VenusXvsVaultProxyTransactorSession) Delegate

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactorSession) Delegate(delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*VenusXvsVaultProxyTransactorSession) DelegateBySig

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactorSession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*VenusXvsVaultProxyTransactorSession) Deposit

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactorSession) Deposit(_rewardToken common.Address, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x0efe6a8b.

Solidity: function deposit(address _rewardToken, uint256 _pid, uint256 _amount) returns()

func (*VenusXvsVaultProxyTransactorSession) ExecuteWithdrawal

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactorSession) ExecuteWithdrawal(_rewardToken common.Address, _pid *big.Int) (*types.Transaction, error)

ExecuteWithdrawal is a paid mutator transaction binding the contract method 0x7ac92456.

Solidity: function executeWithdrawal(address _rewardToken, uint256 _pid) returns()

func (*VenusXvsVaultProxyTransactorSession) MassUpdatePools

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactorSession) MassUpdatePools(_rewardToken common.Address) (*types.Transaction, error)

MassUpdatePools is a paid mutator transaction binding the contract method 0x5362b503.

Solidity: function massUpdatePools(address _rewardToken) returns()

func (*VenusXvsVaultProxyTransactorSession) RequestWithdrawal

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactorSession) RequestWithdrawal(_rewardToken common.Address, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

RequestWithdrawal is a paid mutator transaction binding the contract method 0x115b512f.

Solidity: function requestWithdrawal(address _rewardToken, uint256 _pid, uint256 _amount) returns()

func (*VenusXvsVaultProxyTransactorSession) Set

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactorSession) Set(_rewardToken common.Address, _pid *big.Int, _allocPoint *big.Int) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x8308d7e9.

Solidity: function set(address _rewardToken, uint256 _pid, uint256 _allocPoint) returns()

func (*VenusXvsVaultProxyTransactorSession) SetRewardAmountPerBlock

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactorSession) SetRewardAmountPerBlock(_rewardToken common.Address, _rewardAmount *big.Int) (*types.Transaction, error)

SetRewardAmountPerBlock is a paid mutator transaction binding the contract method 0x93c7c4d1.

Solidity: function setRewardAmountPerBlock(address _rewardToken, uint256 _rewardAmount) returns()

func (*VenusXvsVaultProxyTransactorSession) SetWithdrawalLockingPeriod

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactorSession) SetWithdrawalLockingPeriod(_rewardToken common.Address, _pid *big.Int, _newPeriod *big.Int) (*types.Transaction, error)

SetWithdrawalLockingPeriod is a paid mutator transaction binding the contract method 0x9e2b6c4d.

Solidity: function setWithdrawalLockingPeriod(address _rewardToken, uint256 _pid, uint256 _newPeriod) returns()

func (*VenusXvsVaultProxyTransactorSession) SetXvsStore

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactorSession) SetXvsStore(_xvs common.Address, _xvsStore common.Address) (*types.Transaction, error)

SetXvsStore is a paid mutator transaction binding the contract method 0x5ff56315.

Solidity: function setXvsStore(address _xvs, address _xvsStore) returns()

func (*VenusXvsVaultProxyTransactorSession) UpdatePool

func (_VenusXvsVaultProxy *VenusXvsVaultProxyTransactorSession) UpdatePool(_rewardToken common.Address, _pid *big.Int) (*types.Transaction, error)

UpdatePool is a paid mutator transaction binding the contract method 0x8ed7333d.

Solidity: function updatePool(address _rewardToken, uint256 _pid) returns()

type VenusXvsVaultProxyWithdrawalLockingPeriodUpdated

type VenusXvsVaultProxyWithdrawalLockingPeriodUpdated struct {
	RewardToken common.Address
	Pid         *big.Int
	OldPeriod   *big.Int
	NewPeriod   *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

VenusXvsVaultProxyWithdrawalLockingPeriodUpdated represents a WithdrawalLockingPeriodUpdated event raised by the VenusXvsVaultProxy contract.

type VenusXvsVaultProxyWithdrawalLockingPeriodUpdatedIterator

type VenusXvsVaultProxyWithdrawalLockingPeriodUpdatedIterator struct {
	Event *VenusXvsVaultProxyWithdrawalLockingPeriodUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VenusXvsVaultProxyWithdrawalLockingPeriodUpdatedIterator is returned from FilterWithdrawalLockingPeriodUpdated and is used to iterate over the raw logs and unpacked data for WithdrawalLockingPeriodUpdated events raised by the VenusXvsVaultProxy contract.

func (*VenusXvsVaultProxyWithdrawalLockingPeriodUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VenusXvsVaultProxyWithdrawalLockingPeriodUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusXvsVaultProxyWithdrawalLockingPeriodUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type XVSVaultStorageV1WithdrawalRequest

type XVSVaultStorageV1WithdrawalRequest struct {
	Amount      *big.Int
	LockedUntil *big.Int
}

XVSVaultStorageV1WithdrawalRequest is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL