Documentation ¶
Index ¶
- Variables
- type AaveATokenV2
- type AaveATokenV2Caller
- func (_AaveATokenV2 *AaveATokenV2Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) BalanceOf(opts *bind.CallOpts, _user common.Address) (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) POOL(opts *bind.CallOpts) (common.Address, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) UNDERLYINGASSETADDRESS(opts *bind.CallOpts) (common.Address, error)
- type AaveATokenV2CallerRaw
- type AaveATokenV2CallerSession
- func (_AaveATokenV2 *AaveATokenV2CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2CallerSession) BalanceOf(_user common.Address) (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2CallerSession) Decimals() (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2CallerSession) POOL() (common.Address, error)
- func (_AaveATokenV2 *AaveATokenV2CallerSession) UNDERLYINGASSETADDRESS() (common.Address, error)
- type AaveATokenV2Filterer
- type AaveATokenV2Raw
- func (_AaveATokenV2 *AaveATokenV2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AaveATokenV2 *AaveATokenV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AaveATokenV2Session
- func (_AaveATokenV2 *AaveATokenV2Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Session) BalanceOf(_user common.Address) (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2Session) Decimals() (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2Session) POOL() (common.Address, error)
- func (_AaveATokenV2 *AaveATokenV2Session) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Session) UNDERLYINGASSETADDRESS() (common.Address, error)
- type AaveATokenV2Transactor
- func (_AaveATokenV2 *AaveATokenV2Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Transactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type AaveATokenV2TransactorRaw
- type AaveATokenV2TransactorSession
- func (_AaveATokenV2 *AaveATokenV2TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2TransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var AaveATokenV2ABI = AaveATokenV2MetaData.ABI
AaveATokenV2ABI is the input ABI used to generate the binding from. Deprecated: Use AaveATokenV2MetaData.ABI instead.
var AaveATokenV2MetaData = &bind.MetaData{
ABI: "[{\"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\":\"_user\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[],\"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\"}]",
}
AaveATokenV2MetaData contains all meta data concerning the AaveATokenV2 contract.
Functions ¶
This section is empty.
Types ¶
type AaveATokenV2 ¶
type AaveATokenV2 struct { AaveATokenV2Caller // Read-only binding to the contract AaveATokenV2Transactor // Write-only binding to the contract AaveATokenV2Filterer // Log filterer for contract events }
AaveATokenV2 is an auto generated Go binding around an Ethereum contract.
func NewAaveATokenV2 ¶
func NewAaveATokenV2(address common.Address, backend bind.ContractBackend) (*AaveATokenV2, error)
NewAaveATokenV2 creates a new instance of AaveATokenV2, bound to a specific deployed contract.
type AaveATokenV2Caller ¶
type AaveATokenV2Caller struct {
// contains filtered or unexported fields
}
AaveATokenV2Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewAaveATokenV2Caller ¶
func NewAaveATokenV2Caller(address common.Address, caller bind.ContractCaller) (*AaveATokenV2Caller, error)
NewAaveATokenV2Caller creates a new read-only instance of AaveATokenV2, bound to a specific deployed contract.
func (*AaveATokenV2Caller) Allowance ¶
func (_AaveATokenV2 *AaveATokenV2Caller) 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 (*AaveATokenV2Caller) BalanceOf ¶
func (_AaveATokenV2 *AaveATokenV2Caller) 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 (*AaveATokenV2Caller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*AaveATokenV2Caller) POOL ¶
POOL is a free data retrieval call binding the contract method 0x7535d246.
Solidity: function POOL() view returns(address)
func (*AaveATokenV2Caller) UNDERLYINGASSETADDRESS ¶
func (_AaveATokenV2 *AaveATokenV2Caller) 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 AaveATokenV2CallerRaw ¶
type AaveATokenV2CallerRaw struct {
Contract *AaveATokenV2Caller // Generic read-only contract binding to access the raw methods on
}
AaveATokenV2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AaveATokenV2CallerRaw) Call ¶
func (_AaveATokenV2 *AaveATokenV2CallerRaw) 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 AaveATokenV2CallerSession ¶
type AaveATokenV2CallerSession struct { Contract *AaveATokenV2Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AaveATokenV2CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AaveATokenV2CallerSession) Allowance ¶
func (_AaveATokenV2 *AaveATokenV2CallerSession) 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 (*AaveATokenV2CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _user) view returns(uint256)
func (*AaveATokenV2CallerSession) Decimals ¶
func (_AaveATokenV2 *AaveATokenV2CallerSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*AaveATokenV2CallerSession) POOL ¶
func (_AaveATokenV2 *AaveATokenV2CallerSession) POOL() (common.Address, error)
POOL is a free data retrieval call binding the contract method 0x7535d246.
Solidity: function POOL() view returns(address)
func (*AaveATokenV2CallerSession) UNDERLYINGASSETADDRESS ¶
func (_AaveATokenV2 *AaveATokenV2CallerSession) 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 AaveATokenV2Filterer ¶
type AaveATokenV2Filterer struct {
// contains filtered or unexported fields
}
AaveATokenV2Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAaveATokenV2Filterer ¶
func NewAaveATokenV2Filterer(address common.Address, filterer bind.ContractFilterer) (*AaveATokenV2Filterer, error)
NewAaveATokenV2Filterer creates a new log filterer instance of AaveATokenV2, bound to a specific deployed contract.
type AaveATokenV2Raw ¶
type AaveATokenV2Raw struct {
Contract *AaveATokenV2 // Generic contract binding to access the raw methods on
}
AaveATokenV2Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*AaveATokenV2Raw) Call ¶
func (_AaveATokenV2 *AaveATokenV2Raw) 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 (*AaveATokenV2Raw) Transact ¶
func (_AaveATokenV2 *AaveATokenV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AaveATokenV2Raw) Transfer ¶
func (_AaveATokenV2 *AaveATokenV2Raw) 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 AaveATokenV2Session ¶
type AaveATokenV2Session struct { Contract *AaveATokenV2 // 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 }
AaveATokenV2Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AaveATokenV2Session) Allowance ¶
func (_AaveATokenV2 *AaveATokenV2Session) 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 (*AaveATokenV2Session) Approve ¶
func (_AaveATokenV2 *AaveATokenV2Session) 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 (*AaveATokenV2Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _user) view returns(uint256)
func (*AaveATokenV2Session) Decimals ¶
func (_AaveATokenV2 *AaveATokenV2Session) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*AaveATokenV2Session) POOL ¶
func (_AaveATokenV2 *AaveATokenV2Session) POOL() (common.Address, error)
POOL is a free data retrieval call binding the contract method 0x7535d246.
Solidity: function POOL() view returns(address)
func (*AaveATokenV2Session) Transfer ¶
func (_AaveATokenV2 *AaveATokenV2Session) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns()
func (*AaveATokenV2Session) TransferFrom ¶
func (_AaveATokenV2 *AaveATokenV2Session) 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 (*AaveATokenV2Session) UNDERLYINGASSETADDRESS ¶
func (_AaveATokenV2 *AaveATokenV2Session) 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 AaveATokenV2Transactor ¶
type AaveATokenV2Transactor struct {
// contains filtered or unexported fields
}
AaveATokenV2Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAaveATokenV2Transactor ¶
func NewAaveATokenV2Transactor(address common.Address, transactor bind.ContractTransactor) (*AaveATokenV2Transactor, error)
NewAaveATokenV2Transactor creates a new write-only instance of AaveATokenV2, bound to a specific deployed contract.
func (*AaveATokenV2Transactor) Approve ¶
func (_AaveATokenV2 *AaveATokenV2Transactor) 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 (*AaveATokenV2Transactor) Transfer ¶
func (_AaveATokenV2 *AaveATokenV2Transactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns()
func (*AaveATokenV2Transactor) TransferFrom ¶
func (_AaveATokenV2 *AaveATokenV2Transactor) 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 AaveATokenV2TransactorRaw ¶
type AaveATokenV2TransactorRaw struct {
Contract *AaveATokenV2Transactor // Generic write-only contract binding to access the raw methods on
}
AaveATokenV2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AaveATokenV2TransactorRaw) Transact ¶
func (_AaveATokenV2 *AaveATokenV2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AaveATokenV2TransactorRaw) Transfer ¶
func (_AaveATokenV2 *AaveATokenV2TransactorRaw) 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 AaveATokenV2TransactorSession ¶
type AaveATokenV2TransactorSession struct { Contract *AaveATokenV2Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AaveATokenV2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AaveATokenV2TransactorSession) Approve ¶
func (_AaveATokenV2 *AaveATokenV2TransactorSession) 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 (*AaveATokenV2TransactorSession) Transfer ¶
func (_AaveATokenV2 *AaveATokenV2TransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns()
func (*AaveATokenV2TransactorSession) TransferFrom ¶
func (_AaveATokenV2 *AaveATokenV2TransactorSession) 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)