Documentation ¶
Index ¶
- Variables
- type AavePoolDataProvider
- type AavePoolDataProviderCaller
- func (_AavePoolDataProvider *AavePoolDataProviderCaller) ADDRESSESPROVIDER(opts *bind.CallOpts) (common.Address, error)
- func (_AavePoolDataProvider *AavePoolDataProviderCaller) GetAllATokens(opts *bind.CallOpts) ([]IAaveProtocolDataProviderTokenData, error)
- func (_AavePoolDataProvider *AavePoolDataProviderCaller) GetAllReservesTokens(opts *bind.CallOpts) ([]IAaveProtocolDataProviderTokenData, error)
- func (_AavePoolDataProvider *AavePoolDataProviderCaller) GetReserveConfigurationData(opts *bind.CallOpts, asset common.Address) (struct{ ... }, error)
- func (_AavePoolDataProvider *AavePoolDataProviderCaller) GetReserveData(opts *bind.CallOpts, asset common.Address) (struct{ ... }, error)
- func (_AavePoolDataProvider *AavePoolDataProviderCaller) GetReserveEModeCategory(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
- func (_AavePoolDataProvider *AavePoolDataProviderCaller) GetReserveTokensAddresses(opts *bind.CallOpts, asset common.Address) (struct{ ... }, error)
- func (_AavePoolDataProvider *AavePoolDataProviderCaller) GetUserReserveData(opts *bind.CallOpts, asset common.Address, user common.Address) (struct{ ... }, error)
- type AavePoolDataProviderCallerRaw
- type AavePoolDataProviderCallerSession
- func (_AavePoolDataProvider *AavePoolDataProviderCallerSession) ADDRESSESPROVIDER() (common.Address, error)
- func (_AavePoolDataProvider *AavePoolDataProviderCallerSession) GetAllATokens() ([]IAaveProtocolDataProviderTokenData, error)
- func (_AavePoolDataProvider *AavePoolDataProviderCallerSession) GetAllReservesTokens() ([]IAaveProtocolDataProviderTokenData, error)
- func (_AavePoolDataProvider *AavePoolDataProviderCallerSession) GetReserveConfigurationData(asset common.Address) (struct{ ... }, error)
- func (_AavePoolDataProvider *AavePoolDataProviderCallerSession) GetReserveData(asset common.Address) (struct{ ... }, error)
- func (_AavePoolDataProvider *AavePoolDataProviderCallerSession) GetReserveEModeCategory(asset common.Address) (*big.Int, error)
- func (_AavePoolDataProvider *AavePoolDataProviderCallerSession) GetReserveTokensAddresses(asset common.Address) (struct{ ... }, error)
- func (_AavePoolDataProvider *AavePoolDataProviderCallerSession) GetUserReserveData(asset common.Address, user common.Address) (struct{ ... }, error)
- type AavePoolDataProviderFilterer
- type AavePoolDataProviderRaw
- func (_AavePoolDataProvider *AavePoolDataProviderRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AavePoolDataProvider *AavePoolDataProviderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AavePoolDataProvider *AavePoolDataProviderRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AavePoolDataProviderSession
- func (_AavePoolDataProvider *AavePoolDataProviderSession) ADDRESSESPROVIDER() (common.Address, error)
- func (_AavePoolDataProvider *AavePoolDataProviderSession) GetAllATokens() ([]IAaveProtocolDataProviderTokenData, error)
- func (_AavePoolDataProvider *AavePoolDataProviderSession) GetAllReservesTokens() ([]IAaveProtocolDataProviderTokenData, error)
- func (_AavePoolDataProvider *AavePoolDataProviderSession) GetReserveConfigurationData(asset common.Address) (struct{ ... }, error)
- func (_AavePoolDataProvider *AavePoolDataProviderSession) GetReserveData(asset common.Address) (struct{ ... }, error)
- func (_AavePoolDataProvider *AavePoolDataProviderSession) GetReserveEModeCategory(asset common.Address) (*big.Int, error)
- func (_AavePoolDataProvider *AavePoolDataProviderSession) GetReserveTokensAddresses(asset common.Address) (struct{ ... }, error)
- func (_AavePoolDataProvider *AavePoolDataProviderSession) GetUserReserveData(asset common.Address, user common.Address) (struct{ ... }, error)
- type AavePoolDataProviderTransactor
- type AavePoolDataProviderTransactorRaw
- type AavePoolDataProviderTransactorSession
- type IAaveProtocolDataProviderTokenData
Constants ¶
This section is empty.
Variables ¶
var AavePoolDataProviderABI = AavePoolDataProviderMetaData.ABI
AavePoolDataProviderABI is the input ABI used to generate the binding from. Deprecated: Use AavePoolDataProviderMetaData.ABI instead.
var AavePoolDataProviderMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"ADDRESSES_PROVIDER\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllATokens\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"internalType\":\"structIAaveProtocolDataProvider.TokenData[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllReservesTokens\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"internalType\":\"structIAaveProtocolDataProvider.TokenData[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getReserveConfigurationData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ltv\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationBonus\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveFactor\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"usageAsCollateralEnabled\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"borrowingEnabled\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"stableBorrowRateEnabled\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isActive\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isFrozen\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getReserveData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"availableLiquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalStableDebt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalVariableDebt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidityRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"variableBorrowRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"stableBorrowRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"averageStableBorrowRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidityIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"variableBorrowIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint40\",\"name\":\"lastUpdateTimestamp\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getReserveEModeCategory\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getReserveTokensAddresses\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"aTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"stableDebtTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"variableDebtTokenAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getUserReserveData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"currentATokenBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentStableDebt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentVariableDebt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"principalStableDebt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"scaledVariableDebt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"stableBorrowRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidityRate\",\"type\":\"uint256\"},{\"internalType\":\"uint40\",\"name\":\"stableRateLastUpdated\",\"type\":\"uint40\"},{\"internalType\":\"bool\",\"name\":\"usageAsCollateralEnabled\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
AavePoolDataProviderMetaData contains all meta data concerning the AavePoolDataProvider contract.
Functions ¶
This section is empty.
Types ¶
type AavePoolDataProvider ¶
type AavePoolDataProvider struct { AavePoolDataProviderCaller // Read-only binding to the contract AavePoolDataProviderTransactor // Write-only binding to the contract AavePoolDataProviderFilterer // Log filterer for contract events }
AavePoolDataProvider is an auto generated Go binding around an Ethereum contract.
func NewAavePoolDataProvider ¶
func NewAavePoolDataProvider(address common.Address, backend bind.ContractBackend) (*AavePoolDataProvider, error)
NewAavePoolDataProvider creates a new instance of AavePoolDataProvider, bound to a specific deployed contract.
type AavePoolDataProviderCaller ¶
type AavePoolDataProviderCaller struct {
// contains filtered or unexported fields
}
AavePoolDataProviderCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAavePoolDataProviderCaller ¶
func NewAavePoolDataProviderCaller(address common.Address, caller bind.ContractCaller) (*AavePoolDataProviderCaller, error)
NewAavePoolDataProviderCaller creates a new read-only instance of AavePoolDataProvider, bound to a specific deployed contract.
func (*AavePoolDataProviderCaller) ADDRESSESPROVIDER ¶
func (_AavePoolDataProvider *AavePoolDataProviderCaller) ADDRESSESPROVIDER(opts *bind.CallOpts) (common.Address, error)
ADDRESSESPROVIDER is a free data retrieval call binding the contract method 0x0542975c.
Solidity: function ADDRESSES_PROVIDER() view returns(address)
func (*AavePoolDataProviderCaller) GetAllATokens ¶
func (_AavePoolDataProvider *AavePoolDataProviderCaller) GetAllATokens(opts *bind.CallOpts) ([]IAaveProtocolDataProviderTokenData, error)
GetAllATokens is a free data retrieval call binding the contract method 0xf561ae41.
Solidity: function getAllATokens() view returns((string,address)[])
func (*AavePoolDataProviderCaller) GetAllReservesTokens ¶
func (_AavePoolDataProvider *AavePoolDataProviderCaller) GetAllReservesTokens(opts *bind.CallOpts) ([]IAaveProtocolDataProviderTokenData, error)
GetAllReservesTokens is a free data retrieval call binding the contract method 0xb316ff89.
Solidity: function getAllReservesTokens() view returns((string,address)[])
func (*AavePoolDataProviderCaller) GetReserveConfigurationData ¶
func (_AavePoolDataProvider *AavePoolDataProviderCaller) GetReserveConfigurationData(opts *bind.CallOpts, asset common.Address) (struct { Decimals *big.Int Ltv *big.Int LiquidationThreshold *big.Int LiquidationBonus *big.Int ReserveFactor *big.Int UsageAsCollateralEnabled bool BorrowingEnabled bool StableBorrowRateEnabled bool IsActive bool IsFrozen bool }, error)
GetReserveConfigurationData is a free data retrieval call binding the contract method 0x3e150141.
Solidity: function getReserveConfigurationData(address asset) view returns(uint256 decimals, uint256 ltv, uint256 liquidationThreshold, uint256 liquidationBonus, uint256 reserveFactor, bool usageAsCollateralEnabled, bool borrowingEnabled, bool stableBorrowRateEnabled, bool isActive, bool isFrozen)
func (*AavePoolDataProviderCaller) GetReserveData ¶
func (_AavePoolDataProvider *AavePoolDataProviderCaller) GetReserveData(opts *bind.CallOpts, asset common.Address) (struct { AvailableLiquidity *big.Int TotalStableDebt *big.Int TotalVariableDebt *big.Int LiquidityRate *big.Int VariableBorrowRate *big.Int StableBorrowRate *big.Int AverageStableBorrowRate *big.Int LiquidityIndex *big.Int VariableBorrowIndex *big.Int LastUpdateTimestamp *big.Int }, error)
GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.
Solidity: function getReserveData(address asset) view returns(uint256 availableLiquidity, uint256 totalStableDebt, uint256 totalVariableDebt, uint256 liquidityRate, uint256 variableBorrowRate, uint256 stableBorrowRate, uint256 averageStableBorrowRate, uint256 liquidityIndex, uint256 variableBorrowIndex, uint40 lastUpdateTimestamp)
func (*AavePoolDataProviderCaller) GetReserveEModeCategory ¶
func (_AavePoolDataProvider *AavePoolDataProviderCaller) GetReserveEModeCategory(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
GetReserveEModeCategory is a free data retrieval call binding the contract method 0x163a0f20.
Solidity: function getReserveEModeCategory(address asset) view returns(uint256)
func (*AavePoolDataProviderCaller) GetReserveTokensAddresses ¶
func (_AavePoolDataProvider *AavePoolDataProviderCaller) GetReserveTokensAddresses(opts *bind.CallOpts, asset common.Address) (struct { ATokenAddress common.Address StableDebtTokenAddress common.Address VariableDebtTokenAddress common.Address }, error)
GetReserveTokensAddresses is a free data retrieval call binding the contract method 0xd2493b6c.
Solidity: function getReserveTokensAddresses(address asset) view returns(address aTokenAddress, address stableDebtTokenAddress, address variableDebtTokenAddress)
func (*AavePoolDataProviderCaller) GetUserReserveData ¶
func (_AavePoolDataProvider *AavePoolDataProviderCaller) GetUserReserveData(opts *bind.CallOpts, asset common.Address, user common.Address) (struct { CurrentATokenBalance *big.Int CurrentStableDebt *big.Int CurrentVariableDebt *big.Int PrincipalStableDebt *big.Int ScaledVariableDebt *big.Int StableBorrowRate *big.Int LiquidityRate *big.Int StableRateLastUpdated *big.Int UsageAsCollateralEnabled bool }, error)
GetUserReserveData is a free data retrieval call binding the contract method 0x28dd2d01.
Solidity: function getUserReserveData(address asset, address user) view returns(uint256 currentATokenBalance, uint256 currentStableDebt, uint256 currentVariableDebt, uint256 principalStableDebt, uint256 scaledVariableDebt, uint256 stableBorrowRate, uint256 liquidityRate, uint40 stableRateLastUpdated, bool usageAsCollateralEnabled)
type AavePoolDataProviderCallerRaw ¶
type AavePoolDataProviderCallerRaw struct {
Contract *AavePoolDataProviderCaller // Generic read-only contract binding to access the raw methods on
}
AavePoolDataProviderCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AavePoolDataProviderCallerRaw) Call ¶
func (_AavePoolDataProvider *AavePoolDataProviderCallerRaw) 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 AavePoolDataProviderCallerSession ¶
type AavePoolDataProviderCallerSession struct { Contract *AavePoolDataProviderCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AavePoolDataProviderCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AavePoolDataProviderCallerSession) ADDRESSESPROVIDER ¶
func (_AavePoolDataProvider *AavePoolDataProviderCallerSession) ADDRESSESPROVIDER() (common.Address, error)
ADDRESSESPROVIDER is a free data retrieval call binding the contract method 0x0542975c.
Solidity: function ADDRESSES_PROVIDER() view returns(address)
func (*AavePoolDataProviderCallerSession) GetAllATokens ¶
func (_AavePoolDataProvider *AavePoolDataProviderCallerSession) GetAllATokens() ([]IAaveProtocolDataProviderTokenData, error)
GetAllATokens is a free data retrieval call binding the contract method 0xf561ae41.
Solidity: function getAllATokens() view returns((string,address)[])
func (*AavePoolDataProviderCallerSession) GetAllReservesTokens ¶
func (_AavePoolDataProvider *AavePoolDataProviderCallerSession) GetAllReservesTokens() ([]IAaveProtocolDataProviderTokenData, error)
GetAllReservesTokens is a free data retrieval call binding the contract method 0xb316ff89.
Solidity: function getAllReservesTokens() view returns((string,address)[])
func (*AavePoolDataProviderCallerSession) GetReserveConfigurationData ¶
func (_AavePoolDataProvider *AavePoolDataProviderCallerSession) GetReserveConfigurationData(asset common.Address) (struct { Decimals *big.Int Ltv *big.Int LiquidationThreshold *big.Int LiquidationBonus *big.Int ReserveFactor *big.Int UsageAsCollateralEnabled bool BorrowingEnabled bool StableBorrowRateEnabled bool IsActive bool IsFrozen bool }, error)
GetReserveConfigurationData is a free data retrieval call binding the contract method 0x3e150141.
Solidity: function getReserveConfigurationData(address asset) view returns(uint256 decimals, uint256 ltv, uint256 liquidationThreshold, uint256 liquidationBonus, uint256 reserveFactor, bool usageAsCollateralEnabled, bool borrowingEnabled, bool stableBorrowRateEnabled, bool isActive, bool isFrozen)
func (*AavePoolDataProviderCallerSession) GetReserveData ¶
func (_AavePoolDataProvider *AavePoolDataProviderCallerSession) GetReserveData(asset common.Address) (struct { AvailableLiquidity *big.Int TotalStableDebt *big.Int TotalVariableDebt *big.Int LiquidityRate *big.Int VariableBorrowRate *big.Int StableBorrowRate *big.Int AverageStableBorrowRate *big.Int LiquidityIndex *big.Int VariableBorrowIndex *big.Int LastUpdateTimestamp *big.Int }, error)
GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.
Solidity: function getReserveData(address asset) view returns(uint256 availableLiquidity, uint256 totalStableDebt, uint256 totalVariableDebt, uint256 liquidityRate, uint256 variableBorrowRate, uint256 stableBorrowRate, uint256 averageStableBorrowRate, uint256 liquidityIndex, uint256 variableBorrowIndex, uint40 lastUpdateTimestamp)
func (*AavePoolDataProviderCallerSession) GetReserveEModeCategory ¶
func (_AavePoolDataProvider *AavePoolDataProviderCallerSession) GetReserveEModeCategory(asset common.Address) (*big.Int, error)
GetReserveEModeCategory is a free data retrieval call binding the contract method 0x163a0f20.
Solidity: function getReserveEModeCategory(address asset) view returns(uint256)
func (*AavePoolDataProviderCallerSession) GetReserveTokensAddresses ¶
func (_AavePoolDataProvider *AavePoolDataProviderCallerSession) GetReserveTokensAddresses(asset common.Address) (struct { ATokenAddress common.Address StableDebtTokenAddress common.Address VariableDebtTokenAddress common.Address }, error)
GetReserveTokensAddresses is a free data retrieval call binding the contract method 0xd2493b6c.
Solidity: function getReserveTokensAddresses(address asset) view returns(address aTokenAddress, address stableDebtTokenAddress, address variableDebtTokenAddress)
func (*AavePoolDataProviderCallerSession) GetUserReserveData ¶
func (_AavePoolDataProvider *AavePoolDataProviderCallerSession) GetUserReserveData(asset common.Address, user common.Address) (struct { CurrentATokenBalance *big.Int CurrentStableDebt *big.Int CurrentVariableDebt *big.Int PrincipalStableDebt *big.Int ScaledVariableDebt *big.Int StableBorrowRate *big.Int LiquidityRate *big.Int StableRateLastUpdated *big.Int UsageAsCollateralEnabled bool }, error)
GetUserReserveData is a free data retrieval call binding the contract method 0x28dd2d01.
Solidity: function getUserReserveData(address asset, address user) view returns(uint256 currentATokenBalance, uint256 currentStableDebt, uint256 currentVariableDebt, uint256 principalStableDebt, uint256 scaledVariableDebt, uint256 stableBorrowRate, uint256 liquidityRate, uint40 stableRateLastUpdated, bool usageAsCollateralEnabled)
type AavePoolDataProviderFilterer ¶
type AavePoolDataProviderFilterer struct {
// contains filtered or unexported fields
}
AavePoolDataProviderFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAavePoolDataProviderFilterer ¶
func NewAavePoolDataProviderFilterer(address common.Address, filterer bind.ContractFilterer) (*AavePoolDataProviderFilterer, error)
NewAavePoolDataProviderFilterer creates a new log filterer instance of AavePoolDataProvider, bound to a specific deployed contract.
type AavePoolDataProviderRaw ¶
type AavePoolDataProviderRaw struct {
Contract *AavePoolDataProvider // Generic contract binding to access the raw methods on
}
AavePoolDataProviderRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AavePoolDataProviderRaw) Call ¶
func (_AavePoolDataProvider *AavePoolDataProviderRaw) 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 (*AavePoolDataProviderRaw) Transact ¶
func (_AavePoolDataProvider *AavePoolDataProviderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AavePoolDataProviderRaw) Transfer ¶
func (_AavePoolDataProvider *AavePoolDataProviderRaw) 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 AavePoolDataProviderSession ¶
type AavePoolDataProviderSession struct { Contract *AavePoolDataProvider // 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 }
AavePoolDataProviderSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AavePoolDataProviderSession) ADDRESSESPROVIDER ¶
func (_AavePoolDataProvider *AavePoolDataProviderSession) ADDRESSESPROVIDER() (common.Address, error)
ADDRESSESPROVIDER is a free data retrieval call binding the contract method 0x0542975c.
Solidity: function ADDRESSES_PROVIDER() view returns(address)
func (*AavePoolDataProviderSession) GetAllATokens ¶
func (_AavePoolDataProvider *AavePoolDataProviderSession) GetAllATokens() ([]IAaveProtocolDataProviderTokenData, error)
GetAllATokens is a free data retrieval call binding the contract method 0xf561ae41.
Solidity: function getAllATokens() view returns((string,address)[])
func (*AavePoolDataProviderSession) GetAllReservesTokens ¶
func (_AavePoolDataProvider *AavePoolDataProviderSession) GetAllReservesTokens() ([]IAaveProtocolDataProviderTokenData, error)
GetAllReservesTokens is a free data retrieval call binding the contract method 0xb316ff89.
Solidity: function getAllReservesTokens() view returns((string,address)[])
func (*AavePoolDataProviderSession) GetReserveConfigurationData ¶
func (_AavePoolDataProvider *AavePoolDataProviderSession) GetReserveConfigurationData(asset common.Address) (struct { Decimals *big.Int Ltv *big.Int LiquidationThreshold *big.Int LiquidationBonus *big.Int ReserveFactor *big.Int UsageAsCollateralEnabled bool BorrowingEnabled bool StableBorrowRateEnabled bool IsActive bool IsFrozen bool }, error)
GetReserveConfigurationData is a free data retrieval call binding the contract method 0x3e150141.
Solidity: function getReserveConfigurationData(address asset) view returns(uint256 decimals, uint256 ltv, uint256 liquidationThreshold, uint256 liquidationBonus, uint256 reserveFactor, bool usageAsCollateralEnabled, bool borrowingEnabled, bool stableBorrowRateEnabled, bool isActive, bool isFrozen)
func (*AavePoolDataProviderSession) GetReserveData ¶
func (_AavePoolDataProvider *AavePoolDataProviderSession) GetReserveData(asset common.Address) (struct { AvailableLiquidity *big.Int TotalStableDebt *big.Int TotalVariableDebt *big.Int LiquidityRate *big.Int VariableBorrowRate *big.Int StableBorrowRate *big.Int AverageStableBorrowRate *big.Int LiquidityIndex *big.Int VariableBorrowIndex *big.Int LastUpdateTimestamp *big.Int }, error)
GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.
Solidity: function getReserveData(address asset) view returns(uint256 availableLiquidity, uint256 totalStableDebt, uint256 totalVariableDebt, uint256 liquidityRate, uint256 variableBorrowRate, uint256 stableBorrowRate, uint256 averageStableBorrowRate, uint256 liquidityIndex, uint256 variableBorrowIndex, uint40 lastUpdateTimestamp)
func (*AavePoolDataProviderSession) GetReserveEModeCategory ¶
func (_AavePoolDataProvider *AavePoolDataProviderSession) GetReserveEModeCategory(asset common.Address) (*big.Int, error)
GetReserveEModeCategory is a free data retrieval call binding the contract method 0x163a0f20.
Solidity: function getReserveEModeCategory(address asset) view returns(uint256)
func (*AavePoolDataProviderSession) GetReserveTokensAddresses ¶
func (_AavePoolDataProvider *AavePoolDataProviderSession) GetReserveTokensAddresses(asset common.Address) (struct { ATokenAddress common.Address StableDebtTokenAddress common.Address VariableDebtTokenAddress common.Address }, error)
GetReserveTokensAddresses is a free data retrieval call binding the contract method 0xd2493b6c.
Solidity: function getReserveTokensAddresses(address asset) view returns(address aTokenAddress, address stableDebtTokenAddress, address variableDebtTokenAddress)
func (*AavePoolDataProviderSession) GetUserReserveData ¶
func (_AavePoolDataProvider *AavePoolDataProviderSession) GetUserReserveData(asset common.Address, user common.Address) (struct { CurrentATokenBalance *big.Int CurrentStableDebt *big.Int CurrentVariableDebt *big.Int PrincipalStableDebt *big.Int ScaledVariableDebt *big.Int StableBorrowRate *big.Int LiquidityRate *big.Int StableRateLastUpdated *big.Int UsageAsCollateralEnabled bool }, error)
GetUserReserveData is a free data retrieval call binding the contract method 0x28dd2d01.
Solidity: function getUserReserveData(address asset, address user) view returns(uint256 currentATokenBalance, uint256 currentStableDebt, uint256 currentVariableDebt, uint256 principalStableDebt, uint256 scaledVariableDebt, uint256 stableBorrowRate, uint256 liquidityRate, uint40 stableRateLastUpdated, bool usageAsCollateralEnabled)
type AavePoolDataProviderTransactor ¶
type AavePoolDataProviderTransactor struct {
// contains filtered or unexported fields
}
AavePoolDataProviderTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAavePoolDataProviderTransactor ¶
func NewAavePoolDataProviderTransactor(address common.Address, transactor bind.ContractTransactor) (*AavePoolDataProviderTransactor, error)
NewAavePoolDataProviderTransactor creates a new write-only instance of AavePoolDataProvider, bound to a specific deployed contract.
type AavePoolDataProviderTransactorRaw ¶
type AavePoolDataProviderTransactorRaw struct {
Contract *AavePoolDataProviderTransactor // Generic write-only contract binding to access the raw methods on
}
AavePoolDataProviderTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AavePoolDataProviderTransactorRaw) Transact ¶
func (_AavePoolDataProvider *AavePoolDataProviderTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AavePoolDataProviderTransactorRaw) Transfer ¶
func (_AavePoolDataProvider *AavePoolDataProviderTransactorRaw) 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 AavePoolDataProviderTransactorSession ¶
type AavePoolDataProviderTransactorSession struct { Contract *AavePoolDataProviderTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AavePoolDataProviderTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type IAaveProtocolDataProviderTokenData ¶
IAaveProtocolDataProviderTokenData is an auto generated low-level Go binding around an user-defined struct.