Documentation ¶
Index ¶
- Variables
- type AaveATokenV2
- type AaveATokenV2Caller
- func (_AaveATokenV2 *AaveATokenV2Caller) ATOKENREVISION(opts *bind.CallOpts) (*big.Int, error)
- 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) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) EIP712REVISION(opts *bind.CallOpts) ([]byte, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) GetIncentivesController(opts *bind.CallOpts) (common.Address, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) GetScaledUserBalanceAndSupply(opts *bind.CallOpts, user common.Address) (*big.Int, *big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) Name(opts *bind.CallOpts) (string, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) POOL(opts *bind.CallOpts) (common.Address, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) RESERVETREASURYADDRESS(opts *bind.CallOpts) (common.Address, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) ScaledBalanceOf(opts *bind.CallOpts, user common.Address) (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) ScaledTotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2Caller) UNDERLYINGASSETADDRESS(opts *bind.CallOpts) (common.Address, error)
- type AaveATokenV2CallerRaw
- type AaveATokenV2CallerSession
- func (_AaveATokenV2 *AaveATokenV2CallerSession) ATOKENREVISION() (*big.Int, error)
- 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) DOMAINSEPARATOR() ([32]byte, error)
- func (_AaveATokenV2 *AaveATokenV2CallerSession) Decimals() (uint8, error)
- func (_AaveATokenV2 *AaveATokenV2CallerSession) EIP712REVISION() ([]byte, error)
- func (_AaveATokenV2 *AaveATokenV2CallerSession) GetIncentivesController() (common.Address, error)
- func (_AaveATokenV2 *AaveATokenV2CallerSession) GetScaledUserBalanceAndSupply(user common.Address) (*big.Int, *big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2CallerSession) Name() (string, error)
- func (_AaveATokenV2 *AaveATokenV2CallerSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2CallerSession) PERMITTYPEHASH() ([32]byte, error)
- func (_AaveATokenV2 *AaveATokenV2CallerSession) POOL() (common.Address, error)
- func (_AaveATokenV2 *AaveATokenV2CallerSession) RESERVETREASURYADDRESS() (common.Address, error)
- func (_AaveATokenV2 *AaveATokenV2CallerSession) ScaledBalanceOf(user common.Address) (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2CallerSession) ScaledTotalSupply() (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2CallerSession) Symbol() (string, error)
- func (_AaveATokenV2 *AaveATokenV2CallerSession) TotalSupply() (*big.Int, 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) ATOKENREVISION() (*big.Int, error)
- 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) Burn(user common.Address, receiverOfUnderlying common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Session) DOMAINSEPARATOR() ([32]byte, error)
- func (_AaveATokenV2 *AaveATokenV2Session) Decimals() (uint8, error)
- func (_AaveATokenV2 *AaveATokenV2Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Session) EIP712REVISION() ([]byte, error)
- func (_AaveATokenV2 *AaveATokenV2Session) GetIncentivesController() (common.Address, error)
- func (_AaveATokenV2 *AaveATokenV2Session) GetScaledUserBalanceAndSupply(user common.Address) (*big.Int, *big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2Session) HandleRepayment(user common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Session) Initialize(pool common.Address, treasury common.Address, underlyingAsset common.Address, ...) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Session) Mint(user common.Address, amount *big.Int, index *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Session) MintToTreasury(amount *big.Int, index *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Session) Name() (string, error)
- func (_AaveATokenV2 *AaveATokenV2Session) Nonces(arg0 common.Address) (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2Session) PERMITTYPEHASH() ([32]byte, error)
- func (_AaveATokenV2 *AaveATokenV2Session) POOL() (common.Address, error)
- func (_AaveATokenV2 *AaveATokenV2Session) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Session) RESERVETREASURYADDRESS() (common.Address, error)
- func (_AaveATokenV2 *AaveATokenV2Session) ScaledBalanceOf(user common.Address) (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2Session) ScaledTotalSupply() (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2Session) Symbol() (string, error)
- func (_AaveATokenV2 *AaveATokenV2Session) TotalSupply() (*big.Int, error)
- func (_AaveATokenV2 *AaveATokenV2Session) Transfer(recipient 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) TransferOnLiquidation(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Session) TransferUnderlyingTo(target 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) Burn(opts *bind.TransactOpts, user common.Address, ...) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Transactor) HandleRepayment(opts *bind.TransactOpts, user common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Transactor) Initialize(opts *bind.TransactOpts, pool common.Address, treasury common.Address, ...) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Transactor) Mint(opts *bind.TransactOpts, user common.Address, amount *big.Int, index *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Transactor) MintToTreasury(opts *bind.TransactOpts, amount *big.Int, index *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Transactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Transactor) TransferOnLiquidation(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2Transactor) TransferUnderlyingTo(opts *bind.TransactOpts, target common.Address, amount *big.Int) (*types.Transaction, error)
- type AaveATokenV2TransactorRaw
- type AaveATokenV2TransactorSession
- func (_AaveATokenV2 *AaveATokenV2TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2TransactorSession) Burn(user common.Address, receiverOfUnderlying common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2TransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2TransactorSession) HandleRepayment(user common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2TransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2TransactorSession) Initialize(pool common.Address, treasury common.Address, underlyingAsset common.Address, ...) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2TransactorSession) Mint(user common.Address, amount *big.Int, index *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2TransactorSession) MintToTreasury(amount *big.Int, index *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2TransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2TransactorSession) TransferOnLiquidation(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_AaveATokenV2 *AaveATokenV2TransactorSession) TransferUnderlyingTo(target 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\":\"ATOKEN_REVISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"EIP712_REVISION\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RESERVE_TREASURY_ADDRESS\",\"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\":\"\",\"type\":\"address\"}],\"name\":\"_nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiverOfUnderlying\",\"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\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"handleRepayment\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"treasury\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"underlyingAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"incentivesController\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"aTokenDecimals\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"aTokenName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"aTokenSymbol\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"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\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"mintToTreasury\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferOnLiquidation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferUnderlyingTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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) ATOKENREVISION ¶ added in v0.1.10
ATOKENREVISION is a free data retrieval call binding the contract method 0x0bd7ad3b.
Solidity: function ATOKEN_REVISION() view returns(uint256)
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) DOMAINSEPARATOR ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Caller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*AaveATokenV2Caller) Decimals ¶
func (_AaveATokenV2 *AaveATokenV2Caller) 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 (*AaveATokenV2Caller) EIP712REVISION ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Caller) EIP712REVISION(opts *bind.CallOpts) ([]byte, error)
EIP712REVISION is a free data retrieval call binding the contract method 0x78160376.
Solidity: function EIP712_REVISION() view returns(bytes)
func (*AaveATokenV2Caller) GetIncentivesController ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Caller) 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 (*AaveATokenV2Caller) GetScaledUserBalanceAndSupply ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Caller) 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 (*AaveATokenV2Caller) Name ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Caller) 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 (*AaveATokenV2Caller) Nonces ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Caller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0xb9844d8d.
Solidity: function _nonces(address ) view returns(uint256)
func (*AaveATokenV2Caller) PERMITTYPEHASH ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Caller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*AaveATokenV2Caller) POOL ¶
POOL is a free data retrieval call binding the contract method 0x7535d246.
Solidity: function POOL() view returns(address)
func (*AaveATokenV2Caller) RESERVETREASURYADDRESS ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Caller) RESERVETREASURYADDRESS(opts *bind.CallOpts) (common.Address, error)
RESERVETREASURYADDRESS is a free data retrieval call binding the contract method 0xae167335.
Solidity: function RESERVE_TREASURY_ADDRESS() view returns(address)
func (*AaveATokenV2Caller) ScaledBalanceOf ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Caller) 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 (*AaveATokenV2Caller) ScaledTotalSupply ¶ added in v0.1.10
ScaledTotalSupply is a free data retrieval call binding the contract method 0xb1bf962d.
Solidity: function scaledTotalSupply() view returns(uint256)
func (*AaveATokenV2Caller) Symbol ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Caller) 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 (*AaveATokenV2Caller) TotalSupply ¶ added in v0.1.10
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
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) ATOKENREVISION ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2CallerSession) ATOKENREVISION() (*big.Int, error)
ATOKENREVISION is a free data retrieval call binding the contract method 0x0bd7ad3b.
Solidity: function ATOKEN_REVISION() view returns(uint256)
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) DOMAINSEPARATOR ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2CallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*AaveATokenV2CallerSession) Decimals ¶
func (_AaveATokenV2 *AaveATokenV2CallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*AaveATokenV2CallerSession) EIP712REVISION ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2CallerSession) EIP712REVISION() ([]byte, error)
EIP712REVISION is a free data retrieval call binding the contract method 0x78160376.
Solidity: function EIP712_REVISION() view returns(bytes)
func (*AaveATokenV2CallerSession) GetIncentivesController ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2CallerSession) GetIncentivesController() (common.Address, error)
GetIncentivesController is a free data retrieval call binding the contract method 0x75d26413.
Solidity: function getIncentivesController() view returns(address)
func (*AaveATokenV2CallerSession) GetScaledUserBalanceAndSupply ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2CallerSession) 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 (*AaveATokenV2CallerSession) Name ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2CallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*AaveATokenV2CallerSession) Nonces ¶ added in v0.1.10
Nonces is a free data retrieval call binding the contract method 0xb9844d8d.
Solidity: function _nonces(address ) view returns(uint256)
func (*AaveATokenV2CallerSession) PERMITTYPEHASH ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2CallerSession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
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) RESERVETREASURYADDRESS ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2CallerSession) RESERVETREASURYADDRESS() (common.Address, error)
RESERVETREASURYADDRESS is a free data retrieval call binding the contract method 0xae167335.
Solidity: function RESERVE_TREASURY_ADDRESS() view returns(address)
func (*AaveATokenV2CallerSession) ScaledBalanceOf ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2CallerSession) 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 (*AaveATokenV2CallerSession) ScaledTotalSupply ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2CallerSession) ScaledTotalSupply() (*big.Int, error)
ScaledTotalSupply is a free data retrieval call binding the contract method 0xb1bf962d.
Solidity: function scaledTotalSupply() view returns(uint256)
func (*AaveATokenV2CallerSession) Symbol ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2CallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*AaveATokenV2CallerSession) TotalSupply ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
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) ATOKENREVISION ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) ATOKENREVISION() (*big.Int, error)
ATOKENREVISION is a free data retrieval call binding the contract method 0x0bd7ad3b.
Solidity: function ATOKEN_REVISION() view returns(uint256)
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) Burn ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) Burn(user common.Address, receiverOfUnderlying common.Address, amount *big.Int, index *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xd7020d0a.
Solidity: function burn(address user, address receiverOfUnderlying, uint256 amount, uint256 index) returns()
func (*AaveATokenV2Session) DOMAINSEPARATOR ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*AaveATokenV2Session) Decimals ¶
func (_AaveATokenV2 *AaveATokenV2Session) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*AaveATokenV2Session) DecreaseAllowance ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) 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 (*AaveATokenV2Session) EIP712REVISION ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) EIP712REVISION() ([]byte, error)
EIP712REVISION is a free data retrieval call binding the contract method 0x78160376.
Solidity: function EIP712_REVISION() view returns(bytes)
func (*AaveATokenV2Session) GetIncentivesController ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) GetIncentivesController() (common.Address, error)
GetIncentivesController is a free data retrieval call binding the contract method 0x75d26413.
Solidity: function getIncentivesController() view returns(address)
func (*AaveATokenV2Session) GetScaledUserBalanceAndSupply ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) 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 (*AaveATokenV2Session) HandleRepayment ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) HandleRepayment(user common.Address, amount *big.Int) (*types.Transaction, error)
HandleRepayment is a paid mutator transaction binding the contract method 0x88dd91a1.
Solidity: function handleRepayment(address user, uint256 amount) returns()
func (*AaveATokenV2Session) IncreaseAllowance ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) 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 (*AaveATokenV2Session) Initialize ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) Initialize(pool common.Address, treasury common.Address, underlyingAsset common.Address, incentivesController common.Address, aTokenDecimals uint8, aTokenName string, aTokenSymbol string, params []byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x183fb413.
Solidity: function initialize(address pool, address treasury, address underlyingAsset, address incentivesController, uint8 aTokenDecimals, string aTokenName, string aTokenSymbol, bytes params) returns()
func (*AaveATokenV2Session) Mint ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) Mint(user common.Address, amount *big.Int, index *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x156e29f6.
Solidity: function mint(address user, uint256 amount, uint256 index) returns(bool)
func (*AaveATokenV2Session) MintToTreasury ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) MintToTreasury(amount *big.Int, index *big.Int) (*types.Transaction, error)
MintToTreasury is a paid mutator transaction binding the contract method 0x7df5bd3b.
Solidity: function mintToTreasury(uint256 amount, uint256 index) returns()
func (*AaveATokenV2Session) Name ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*AaveATokenV2Session) Nonces ¶ added in v0.1.10
Nonces is a free data retrieval call binding the contract method 0xb9844d8d.
Solidity: function _nonces(address ) view returns(uint256)
func (*AaveATokenV2Session) PERMITTYPEHASH ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
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) Permit ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*AaveATokenV2Session) RESERVETREASURYADDRESS ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) RESERVETREASURYADDRESS() (common.Address, error)
RESERVETREASURYADDRESS is a free data retrieval call binding the contract method 0xae167335.
Solidity: function RESERVE_TREASURY_ADDRESS() view returns(address)
func (*AaveATokenV2Session) ScaledBalanceOf ¶ added in v0.1.10
ScaledBalanceOf is a free data retrieval call binding the contract method 0x1da24f3e.
Solidity: function scaledBalanceOf(address user) view returns(uint256)
func (*AaveATokenV2Session) ScaledTotalSupply ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) ScaledTotalSupply() (*big.Int, error)
ScaledTotalSupply is a free data retrieval call binding the contract method 0xb1bf962d.
Solidity: function scaledTotalSupply() view returns(uint256)
func (*AaveATokenV2Session) Symbol ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*AaveATokenV2Session) TotalSupply ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*AaveATokenV2Session) Transfer ¶
func (_AaveATokenV2 *AaveATokenV2Session) 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 (*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) TransferOnLiquidation ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) TransferOnLiquidation(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferOnLiquidation is a paid mutator transaction binding the contract method 0xf866c319.
Solidity: function transferOnLiquidation(address from, address to, uint256 value) returns()
func (*AaveATokenV2Session) TransferUnderlyingTo ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Session) TransferUnderlyingTo(target common.Address, amount *big.Int) (*types.Transaction, error)
TransferUnderlyingTo is a paid mutator transaction binding the contract method 0x4efecaa5.
Solidity: function transferUnderlyingTo(address target, uint256 amount) returns(uint256)
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) Burn ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Transactor) Burn(opts *bind.TransactOpts, user common.Address, receiverOfUnderlying common.Address, amount *big.Int, index *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xd7020d0a.
Solidity: function burn(address user, address receiverOfUnderlying, uint256 amount, uint256 index) returns()
func (*AaveATokenV2Transactor) DecreaseAllowance ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Transactor) 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 (*AaveATokenV2Transactor) HandleRepayment ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Transactor) HandleRepayment(opts *bind.TransactOpts, user common.Address, amount *big.Int) (*types.Transaction, error)
HandleRepayment is a paid mutator transaction binding the contract method 0x88dd91a1.
Solidity: function handleRepayment(address user, uint256 amount) returns()
func (*AaveATokenV2Transactor) IncreaseAllowance ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Transactor) 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 (*AaveATokenV2Transactor) Initialize ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Transactor) Initialize(opts *bind.TransactOpts, pool common.Address, treasury common.Address, underlyingAsset common.Address, incentivesController common.Address, aTokenDecimals uint8, aTokenName string, aTokenSymbol string, params []byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x183fb413.
Solidity: function initialize(address pool, address treasury, address underlyingAsset, address incentivesController, uint8 aTokenDecimals, string aTokenName, string aTokenSymbol, bytes params) returns()
func (*AaveATokenV2Transactor) Mint ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Transactor) Mint(opts *bind.TransactOpts, user common.Address, amount *big.Int, index *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x156e29f6.
Solidity: function mint(address user, uint256 amount, uint256 index) returns(bool)
func (*AaveATokenV2Transactor) MintToTreasury ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Transactor) MintToTreasury(opts *bind.TransactOpts, amount *big.Int, index *big.Int) (*types.Transaction, error)
MintToTreasury is a paid mutator transaction binding the contract method 0x7df5bd3b.
Solidity: function mintToTreasury(uint256 amount, uint256 index) returns()
func (*AaveATokenV2Transactor) Permit ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Transactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*AaveATokenV2Transactor) Transfer ¶
func (_AaveATokenV2 *AaveATokenV2Transactor) 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 (*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)
func (*AaveATokenV2Transactor) TransferOnLiquidation ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Transactor) TransferOnLiquidation(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferOnLiquidation is a paid mutator transaction binding the contract method 0xf866c319.
Solidity: function transferOnLiquidation(address from, address to, uint256 value) returns()
func (*AaveATokenV2Transactor) TransferUnderlyingTo ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2Transactor) TransferUnderlyingTo(opts *bind.TransactOpts, target common.Address, amount *big.Int) (*types.Transaction, error)
TransferUnderlyingTo is a paid mutator transaction binding the contract method 0x4efecaa5.
Solidity: function transferUnderlyingTo(address target, uint256 amount) returns(uint256)
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) Burn ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2TransactorSession) Burn(user common.Address, receiverOfUnderlying common.Address, amount *big.Int, index *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xd7020d0a.
Solidity: function burn(address user, address receiverOfUnderlying, uint256 amount, uint256 index) returns()
func (*AaveATokenV2TransactorSession) DecreaseAllowance ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2TransactorSession) 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 (*AaveATokenV2TransactorSession) HandleRepayment ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2TransactorSession) HandleRepayment(user common.Address, amount *big.Int) (*types.Transaction, error)
HandleRepayment is a paid mutator transaction binding the contract method 0x88dd91a1.
Solidity: function handleRepayment(address user, uint256 amount) returns()
func (*AaveATokenV2TransactorSession) IncreaseAllowance ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2TransactorSession) 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 (*AaveATokenV2TransactorSession) Initialize ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2TransactorSession) Initialize(pool common.Address, treasury common.Address, underlyingAsset common.Address, incentivesController common.Address, aTokenDecimals uint8, aTokenName string, aTokenSymbol string, params []byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x183fb413.
Solidity: function initialize(address pool, address treasury, address underlyingAsset, address incentivesController, uint8 aTokenDecimals, string aTokenName, string aTokenSymbol, bytes params) returns()
func (*AaveATokenV2TransactorSession) Mint ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2TransactorSession) Mint(user common.Address, amount *big.Int, index *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x156e29f6.
Solidity: function mint(address user, uint256 amount, uint256 index) returns(bool)
func (*AaveATokenV2TransactorSession) MintToTreasury ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2TransactorSession) MintToTreasury(amount *big.Int, index *big.Int) (*types.Transaction, error)
MintToTreasury is a paid mutator transaction binding the contract method 0x7df5bd3b.
Solidity: function mintToTreasury(uint256 amount, uint256 index) returns()
func (*AaveATokenV2TransactorSession) Permit ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2TransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*AaveATokenV2TransactorSession) Transfer ¶
func (_AaveATokenV2 *AaveATokenV2TransactorSession) 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 (*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)
func (*AaveATokenV2TransactorSession) TransferOnLiquidation ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2TransactorSession) TransferOnLiquidation(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferOnLiquidation is a paid mutator transaction binding the contract method 0xf866c319.
Solidity: function transferOnLiquidation(address from, address to, uint256 value) returns()
func (*AaveATokenV2TransactorSession) TransferUnderlyingTo ¶ added in v0.1.10
func (_AaveATokenV2 *AaveATokenV2TransactorSession) TransferUnderlyingTo(target common.Address, amount *big.Int) (*types.Transaction, error)
TransferUnderlyingTo is a paid mutator transaction binding the contract method 0x4efecaa5.
Solidity: function transferUnderlyingTo(address target, uint256 amount) returns(uint256)