aaveVTokenV2

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AaveVTokenV2ABI = AaveVTokenV2MetaData.ABI

AaveVTokenV2ABI is the input ABI used to generate the binding from. Deprecated: Use AaveVTokenV2MetaData.ABI instead.

View Source
var AaveVTokenV2MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"DEBT_TOKEN_REVISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UNDERLYING_ASSET_ADDRESS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approveDelegation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"fromUser\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"toUser\",\"type\":\"address\"}],\"name\":\"borrowAllowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getIncentivesController\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getScaledUserBalanceAndSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"underlyingAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"incentivesController\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"debtTokenDecimals\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"debtTokenName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"debtTokenSymbol\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"scaledBalanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"scaledTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

AaveVTokenV2MetaData contains all meta data concerning the AaveVTokenV2 contract.

Functions

This section is empty.

Types

type AaveVTokenV2

type AaveVTokenV2 struct {
	AaveVTokenV2Caller     // Read-only binding to the contract
	AaveVTokenV2Transactor // Write-only binding to the contract
	AaveVTokenV2Filterer   // Log filterer for contract events
}

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

func NewAaveVTokenV2

func NewAaveVTokenV2(address common.Address, backend bind.ContractBackend) (*AaveVTokenV2, error)

NewAaveVTokenV2 creates a new instance of AaveVTokenV2, bound to a specific deployed contract.

type AaveVTokenV2Caller

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

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

func NewAaveVTokenV2Caller

func NewAaveVTokenV2Caller(address common.Address, caller bind.ContractCaller) (*AaveVTokenV2Caller, error)

NewAaveVTokenV2Caller creates a new read-only instance of AaveVTokenV2, bound to a specific deployed contract.

func (*AaveVTokenV2Caller) Allowance added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Caller) 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 (*AaveVTokenV2Caller) BalanceOf added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Caller) BalanceOf(opts *bind.CallOpts, user common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address user) view returns(uint256)

func (*AaveVTokenV2Caller) BorrowAllowance

func (_AaveVTokenV2 *AaveVTokenV2Caller) BorrowAllowance(opts *bind.CallOpts, fromUser common.Address, toUser common.Address) (*big.Int, error)

BorrowAllowance is a free data retrieval call binding the contract method 0x6bd76d24.

Solidity: function borrowAllowance(address fromUser, address toUser) view returns(uint256)

func (*AaveVTokenV2Caller) DEBTTOKENREVISION added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Caller) DEBTTOKENREVISION(opts *bind.CallOpts) (*big.Int, error)

DEBTTOKENREVISION is a free data retrieval call binding the contract method 0xb9a7b622.

Solidity: function DEBT_TOKEN_REVISION() view returns(uint256)

func (*AaveVTokenV2Caller) Decimals added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Caller) 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 (*AaveVTokenV2Caller) GetIncentivesController added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Caller) GetIncentivesController(opts *bind.CallOpts) (common.Address, error)

GetIncentivesController is a free data retrieval call binding the contract method 0x75d26413.

Solidity: function getIncentivesController() view returns(address)

func (*AaveVTokenV2Caller) GetScaledUserBalanceAndSupply

func (_AaveVTokenV2 *AaveVTokenV2Caller) GetScaledUserBalanceAndSupply(opts *bind.CallOpts, user common.Address) (*big.Int, *big.Int, error)

GetScaledUserBalanceAndSupply is a free data retrieval call binding the contract method 0x0afbcdc9.

Solidity: function getScaledUserBalanceAndSupply(address user) view returns(uint256, uint256)

func (*AaveVTokenV2Caller) Name added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Caller) 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 (*AaveVTokenV2Caller) POOL added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Caller) POOL(opts *bind.CallOpts) (common.Address, error)

POOL is a free data retrieval call binding the contract method 0x7535d246.

Solidity: function POOL() view returns(address)

func (*AaveVTokenV2Caller) ScaledBalanceOf

func (_AaveVTokenV2 *AaveVTokenV2Caller) ScaledBalanceOf(opts *bind.CallOpts, user common.Address) (*big.Int, error)

ScaledBalanceOf is a free data retrieval call binding the contract method 0x1da24f3e.

Solidity: function scaledBalanceOf(address user) view returns(uint256)

func (*AaveVTokenV2Caller) ScaledTotalSupply

func (_AaveVTokenV2 *AaveVTokenV2Caller) ScaledTotalSupply(opts *bind.CallOpts) (*big.Int, error)

ScaledTotalSupply is a free data retrieval call binding the contract method 0xb1bf962d.

Solidity: function scaledTotalSupply() view returns(uint256)

func (*AaveVTokenV2Caller) Symbol added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Caller) 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 (*AaveVTokenV2Caller) TotalSupply added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Caller) 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 (*AaveVTokenV2Caller) UNDERLYINGASSETADDRESS added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Caller) UNDERLYINGASSETADDRESS(opts *bind.CallOpts) (common.Address, error)

UNDERLYINGASSETADDRESS is a free data retrieval call binding the contract method 0xb16a19de.

Solidity: function UNDERLYING_ASSET_ADDRESS() view returns(address)

type AaveVTokenV2CallerRaw

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

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

func (*AaveVTokenV2CallerRaw) Call

func (_AaveVTokenV2 *AaveVTokenV2CallerRaw) 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 AaveVTokenV2CallerSession

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

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

func (*AaveVTokenV2CallerSession) Allowance added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2CallerSession) 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 (*AaveVTokenV2CallerSession) BalanceOf added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2CallerSession) BalanceOf(user common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address user) view returns(uint256)

func (*AaveVTokenV2CallerSession) BorrowAllowance

func (_AaveVTokenV2 *AaveVTokenV2CallerSession) BorrowAllowance(fromUser common.Address, toUser common.Address) (*big.Int, error)

BorrowAllowance is a free data retrieval call binding the contract method 0x6bd76d24.

Solidity: function borrowAllowance(address fromUser, address toUser) view returns(uint256)

func (*AaveVTokenV2CallerSession) DEBTTOKENREVISION added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2CallerSession) DEBTTOKENREVISION() (*big.Int, error)

DEBTTOKENREVISION is a free data retrieval call binding the contract method 0xb9a7b622.

Solidity: function DEBT_TOKEN_REVISION() view returns(uint256)

func (*AaveVTokenV2CallerSession) Decimals added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2CallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*AaveVTokenV2CallerSession) GetIncentivesController added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2CallerSession) GetIncentivesController() (common.Address, error)

GetIncentivesController is a free data retrieval call binding the contract method 0x75d26413.

Solidity: function getIncentivesController() view returns(address)

func (*AaveVTokenV2CallerSession) GetScaledUserBalanceAndSupply

func (_AaveVTokenV2 *AaveVTokenV2CallerSession) GetScaledUserBalanceAndSupply(user common.Address) (*big.Int, *big.Int, error)

GetScaledUserBalanceAndSupply is a free data retrieval call binding the contract method 0x0afbcdc9.

Solidity: function getScaledUserBalanceAndSupply(address user) view returns(uint256, uint256)

func (*AaveVTokenV2CallerSession) Name added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2CallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*AaveVTokenV2CallerSession) POOL added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2CallerSession) POOL() (common.Address, error)

POOL is a free data retrieval call binding the contract method 0x7535d246.

Solidity: function POOL() view returns(address)

func (*AaveVTokenV2CallerSession) ScaledBalanceOf

func (_AaveVTokenV2 *AaveVTokenV2CallerSession) ScaledBalanceOf(user common.Address) (*big.Int, error)

ScaledBalanceOf is a free data retrieval call binding the contract method 0x1da24f3e.

Solidity: function scaledBalanceOf(address user) view returns(uint256)

func (*AaveVTokenV2CallerSession) ScaledTotalSupply

func (_AaveVTokenV2 *AaveVTokenV2CallerSession) ScaledTotalSupply() (*big.Int, error)

ScaledTotalSupply is a free data retrieval call binding the contract method 0xb1bf962d.

Solidity: function scaledTotalSupply() view returns(uint256)

func (*AaveVTokenV2CallerSession) Symbol added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2CallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*AaveVTokenV2CallerSession) TotalSupply added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*AaveVTokenV2CallerSession) UNDERLYINGASSETADDRESS added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2CallerSession) UNDERLYINGASSETADDRESS() (common.Address, error)

UNDERLYINGASSETADDRESS is a free data retrieval call binding the contract method 0xb16a19de.

Solidity: function UNDERLYING_ASSET_ADDRESS() view returns(address)

type AaveVTokenV2Filterer

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

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

func NewAaveVTokenV2Filterer

func NewAaveVTokenV2Filterer(address common.Address, filterer bind.ContractFilterer) (*AaveVTokenV2Filterer, error)

NewAaveVTokenV2Filterer creates a new log filterer instance of AaveVTokenV2, bound to a specific deployed contract.

type AaveVTokenV2Raw

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

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

func (*AaveVTokenV2Raw) Call

func (_AaveVTokenV2 *AaveVTokenV2Raw) 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 (*AaveVTokenV2Raw) Transact

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

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

func (*AaveVTokenV2Raw) Transfer

func (_AaveVTokenV2 *AaveVTokenV2Raw) 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 AaveVTokenV2Session

type AaveVTokenV2Session struct {
	Contract     *AaveVTokenV2     // 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
}

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

func (*AaveVTokenV2Session) Allowance added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) 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 (*AaveVTokenV2Session) Approve added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) 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 (*AaveVTokenV2Session) ApproveDelegation

func (_AaveVTokenV2 *AaveVTokenV2Session) ApproveDelegation(delegatee common.Address, amount *big.Int) (*types.Transaction, error)

ApproveDelegation is a paid mutator transaction binding the contract method 0xc04a8a10.

Solidity: function approveDelegation(address delegatee, uint256 amount) returns()

func (*AaveVTokenV2Session) BalanceOf added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) BalanceOf(user common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address user) view returns(uint256)

func (*AaveVTokenV2Session) BorrowAllowance

func (_AaveVTokenV2 *AaveVTokenV2Session) BorrowAllowance(fromUser common.Address, toUser common.Address) (*big.Int, error)

BorrowAllowance is a free data retrieval call binding the contract method 0x6bd76d24.

Solidity: function borrowAllowance(address fromUser, address toUser) view returns(uint256)

func (*AaveVTokenV2Session) Burn added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) Burn(user common.Address, amount *big.Int, index *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xf5298aca.

Solidity: function burn(address user, uint256 amount, uint256 index) returns()

func (*AaveVTokenV2Session) DEBTTOKENREVISION added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) DEBTTOKENREVISION() (*big.Int, error)

DEBTTOKENREVISION is a free data retrieval call binding the contract method 0xb9a7b622.

Solidity: function DEBT_TOKEN_REVISION() view returns(uint256)

func (*AaveVTokenV2Session) Decimals added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*AaveVTokenV2Session) DecreaseAllowance added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*AaveVTokenV2Session) GetIncentivesController added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) GetIncentivesController() (common.Address, error)

GetIncentivesController is a free data retrieval call binding the contract method 0x75d26413.

Solidity: function getIncentivesController() view returns(address)

func (*AaveVTokenV2Session) GetScaledUserBalanceAndSupply

func (_AaveVTokenV2 *AaveVTokenV2Session) GetScaledUserBalanceAndSupply(user common.Address) (*big.Int, *big.Int, error)

GetScaledUserBalanceAndSupply is a free data retrieval call binding the contract method 0x0afbcdc9.

Solidity: function getScaledUserBalanceAndSupply(address user) view returns(uint256, uint256)

func (*AaveVTokenV2Session) IncreaseAllowance added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*AaveVTokenV2Session) Initialize added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) Initialize(pool common.Address, underlyingAsset common.Address, incentivesController common.Address, debtTokenDecimals uint8, debtTokenName string, debtTokenSymbol string, params []byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc222ec8a.

Solidity: function initialize(address pool, address underlyingAsset, address incentivesController, uint8 debtTokenDecimals, string debtTokenName, string debtTokenSymbol, bytes params) returns()

func (*AaveVTokenV2Session) Mint added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) Mint(user common.Address, onBehalfOf common.Address, amount *big.Int, index *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xb3f1c93d.

Solidity: function mint(address user, address onBehalfOf, uint256 amount, uint256 index) returns(bool)

func (*AaveVTokenV2Session) Name added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*AaveVTokenV2Session) POOL added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) POOL() (common.Address, error)

POOL is a free data retrieval call binding the contract method 0x7535d246.

Solidity: function POOL() view returns(address)

func (*AaveVTokenV2Session) ScaledBalanceOf

func (_AaveVTokenV2 *AaveVTokenV2Session) ScaledBalanceOf(user common.Address) (*big.Int, error)

ScaledBalanceOf is a free data retrieval call binding the contract method 0x1da24f3e.

Solidity: function scaledBalanceOf(address user) view returns(uint256)

func (*AaveVTokenV2Session) ScaledTotalSupply

func (_AaveVTokenV2 *AaveVTokenV2Session) ScaledTotalSupply() (*big.Int, error)

ScaledTotalSupply is a free data retrieval call binding the contract method 0xb1bf962d.

Solidity: function scaledTotalSupply() view returns(uint256)

func (*AaveVTokenV2Session) Symbol added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*AaveVTokenV2Session) TotalSupply added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*AaveVTokenV2Session) Transfer added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*AaveVTokenV2Session) TransferFrom added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*AaveVTokenV2Session) UNDERLYINGASSETADDRESS added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Session) UNDERLYINGASSETADDRESS() (common.Address, error)

UNDERLYINGASSETADDRESS is a free data retrieval call binding the contract method 0xb16a19de.

Solidity: function UNDERLYING_ASSET_ADDRESS() view returns(address)

type AaveVTokenV2Transactor

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

AaveVTokenV2Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewAaveVTokenV2Transactor

func NewAaveVTokenV2Transactor(address common.Address, transactor bind.ContractTransactor) (*AaveVTokenV2Transactor, error)

NewAaveVTokenV2Transactor creates a new write-only instance of AaveVTokenV2, bound to a specific deployed contract.

func (*AaveVTokenV2Transactor) Approve added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Transactor) 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 (*AaveVTokenV2Transactor) ApproveDelegation

func (_AaveVTokenV2 *AaveVTokenV2Transactor) ApproveDelegation(opts *bind.TransactOpts, delegatee common.Address, amount *big.Int) (*types.Transaction, error)

ApproveDelegation is a paid mutator transaction binding the contract method 0xc04a8a10.

Solidity: function approveDelegation(address delegatee, uint256 amount) returns()

func (*AaveVTokenV2Transactor) Burn added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Transactor) Burn(opts *bind.TransactOpts, user common.Address, amount *big.Int, index *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xf5298aca.

Solidity: function burn(address user, uint256 amount, uint256 index) returns()

func (*AaveVTokenV2Transactor) DecreaseAllowance added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*AaveVTokenV2Transactor) IncreaseAllowance added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*AaveVTokenV2Transactor) Initialize added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Transactor) Initialize(opts *bind.TransactOpts, pool common.Address, underlyingAsset common.Address, incentivesController common.Address, debtTokenDecimals uint8, debtTokenName string, debtTokenSymbol string, params []byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc222ec8a.

Solidity: function initialize(address pool, address underlyingAsset, address incentivesController, uint8 debtTokenDecimals, string debtTokenName, string debtTokenSymbol, bytes params) returns()

func (*AaveVTokenV2Transactor) Mint added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Transactor) Mint(opts *bind.TransactOpts, user common.Address, onBehalfOf common.Address, amount *big.Int, index *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xb3f1c93d.

Solidity: function mint(address user, address onBehalfOf, uint256 amount, uint256 index) returns(bool)

func (*AaveVTokenV2Transactor) Transfer added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*AaveVTokenV2Transactor) TransferFrom added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type AaveVTokenV2TransactorRaw

type AaveVTokenV2TransactorRaw struct {
	Contract *AaveVTokenV2Transactor // Generic write-only contract binding to access the raw methods on
}

AaveVTokenV2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*AaveVTokenV2TransactorRaw) Transact

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

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

func (*AaveVTokenV2TransactorRaw) Transfer

func (_AaveVTokenV2 *AaveVTokenV2TransactorRaw) 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 AaveVTokenV2TransactorSession

type AaveVTokenV2TransactorSession struct {
	Contract     *AaveVTokenV2Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

AaveVTokenV2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*AaveVTokenV2TransactorSession) Approve added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2TransactorSession) 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 (*AaveVTokenV2TransactorSession) ApproveDelegation

func (_AaveVTokenV2 *AaveVTokenV2TransactorSession) ApproveDelegation(delegatee common.Address, amount *big.Int) (*types.Transaction, error)

ApproveDelegation is a paid mutator transaction binding the contract method 0xc04a8a10.

Solidity: function approveDelegation(address delegatee, uint256 amount) returns()

func (*AaveVTokenV2TransactorSession) Burn added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2TransactorSession) Burn(user common.Address, amount *big.Int, index *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xf5298aca.

Solidity: function burn(address user, uint256 amount, uint256 index) returns()

func (*AaveVTokenV2TransactorSession) DecreaseAllowance added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2TransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*AaveVTokenV2TransactorSession) IncreaseAllowance added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2TransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*AaveVTokenV2TransactorSession) Initialize added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2TransactorSession) Initialize(pool common.Address, underlyingAsset common.Address, incentivesController common.Address, debtTokenDecimals uint8, debtTokenName string, debtTokenSymbol string, params []byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc222ec8a.

Solidity: function initialize(address pool, address underlyingAsset, address incentivesController, uint8 debtTokenDecimals, string debtTokenName, string debtTokenSymbol, bytes params) returns()

func (*AaveVTokenV2TransactorSession) Mint added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2TransactorSession) Mint(user common.Address, onBehalfOf common.Address, amount *big.Int, index *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xb3f1c93d.

Solidity: function mint(address user, address onBehalfOf, uint256 amount, uint256 index) returns(bool)

func (*AaveVTokenV2TransactorSession) Transfer added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*AaveVTokenV2TransactorSession) TransferFrom added in v0.1.10

func (_AaveVTokenV2 *AaveVTokenV2TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL