Documentation ¶
Index ¶
- Variables
- type AaveVTokenV2
- type AaveVTokenV2Caller
- func (_AaveVTokenV2 *AaveVTokenV2Caller) BorrowAllowance(opts *bind.CallOpts, fromUser common.Address, toUser common.Address) (*big.Int, error)
- func (_AaveVTokenV2 *AaveVTokenV2Caller) GetScaledUserBalanceAndSupply(opts *bind.CallOpts, user common.Address) (*big.Int, *big.Int, error)
- func (_AaveVTokenV2 *AaveVTokenV2Caller) ScaledBalanceOf(opts *bind.CallOpts, user common.Address) (*big.Int, error)
- func (_AaveVTokenV2 *AaveVTokenV2Caller) ScaledTotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type AaveVTokenV2CallerRaw
- type AaveVTokenV2CallerSession
- func (_AaveVTokenV2 *AaveVTokenV2CallerSession) BorrowAllowance(fromUser common.Address, toUser common.Address) (*big.Int, error)
- func (_AaveVTokenV2 *AaveVTokenV2CallerSession) GetScaledUserBalanceAndSupply(user common.Address) (*big.Int, *big.Int, error)
- func (_AaveVTokenV2 *AaveVTokenV2CallerSession) ScaledBalanceOf(user common.Address) (*big.Int, error)
- func (_AaveVTokenV2 *AaveVTokenV2CallerSession) ScaledTotalSupply() (*big.Int, error)
- type AaveVTokenV2Filterer
- type AaveVTokenV2Raw
- func (_AaveVTokenV2 *AaveVTokenV2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AaveVTokenV2 *AaveVTokenV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AaveVTokenV2 *AaveVTokenV2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AaveVTokenV2Session
- func (_AaveVTokenV2 *AaveVTokenV2Session) ApproveDelegation(delegatee common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AaveVTokenV2 *AaveVTokenV2Session) BorrowAllowance(fromUser common.Address, toUser common.Address) (*big.Int, error)
- func (_AaveVTokenV2 *AaveVTokenV2Session) GetScaledUserBalanceAndSupply(user common.Address) (*big.Int, *big.Int, error)
- func (_AaveVTokenV2 *AaveVTokenV2Session) ScaledBalanceOf(user common.Address) (*big.Int, error)
- func (_AaveVTokenV2 *AaveVTokenV2Session) ScaledTotalSupply() (*big.Int, error)
- type AaveVTokenV2Transactor
- type AaveVTokenV2TransactorRaw
- type AaveVTokenV2TransactorSession
Constants ¶
This section is empty.
Variables ¶
var AaveVTokenV2ABI = AaveVTokenV2MetaData.ABI
AaveVTokenV2ABI is the input ABI used to generate the binding from. Deprecated: Use AaveVTokenV2MetaData.ABI instead.
var AaveVTokenV2MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approveDelegation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\"}],\"name\":\"getScaledUserBalanceAndSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\"}]",
}
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) 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) 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) 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 ¶
ScaledTotalSupply is a free data retrieval call binding the contract method 0xb1bf962d.
Solidity: function scaledTotalSupply() view returns(uint256)
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) 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) 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) 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)
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) 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) 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) 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) ScaledBalanceOf ¶
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)
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) 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()
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) 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()