aaveUiPoolDataProviderV3

package
v0.1.23 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AaveUiPoolDataProviderV3ABI = AaveUiPoolDataProviderV3MetaData.ABI

AaveUiPoolDataProviderV3ABI is the input ABI used to generate the binding from. Deprecated: Use AaveUiPoolDataProviderV3MetaData.ABI instead.

View Source
var AaveUiPoolDataProviderV3MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIPoolAddressesProviderV3\",\"name\":\"provider\",\"type\":\"address\"}],\"name\":\"getReservesData\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"underlyingAsset\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"baseLTVasCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveLiquidationThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveLiquidationBonus\",\"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\"},{\"internalType\":\"uint128\",\"name\":\"liquidityIndex\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"variableBorrowIndex\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"liquidityRate\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"variableBorrowRate\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"stableBorrowRate\",\"type\":\"uint128\"},{\"internalType\":\"uint40\",\"name\":\"lastUpdateTimestamp\",\"type\":\"uint40\"},{\"internalType\":\"address\",\"name\":\"aTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"stableDebtTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"variableDebtTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"interestRateStrategyAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"availableLiquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalPrincipalStableDebt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"averageStableRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"stableDebtLastUpdateTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalScaledVariableDebt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"priceInMarketReferenceCurrency\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"priceOracle\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"variableRateSlope1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"variableRateSlope2\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"stableRateSlope1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"stableRateSlope2\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"baseStableBorrowRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"baseVariableBorrowRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"optimalUsageRatio\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"isPaused\",\"type\":\"bool\"},{\"internalType\":\"uint128\",\"name\":\"accruedToTreasury\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"unbacked\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"isolationModeTotalDebt\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"debtCeiling\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"debtCeilingDecimals\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"eModeCategoryId\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"borrowCap\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"supplyCap\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"eModeLtv\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"eModeLiquidationThreshold\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"eModeLiquidationBonus\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"eModePriceSource\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"eModeLabel\",\"type\":\"string\"},{\"internalType\":\"bool\",\"name\":\"borrowableInIsolation\",\"type\":\"bool\"}],\"internalType\":\"structIUiPoolDataProviderV3.AggregatedReserveData[]\",\"name\":\"\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"marketReferenceCurrencyUnit\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"marketReferenceCurrencyPriceInUsd\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"networkBaseTokenPriceInUsd\",\"type\":\"int256\"},{\"internalType\":\"uint8\",\"name\":\"networkBaseTokenPriceDecimals\",\"type\":\"uint8\"}],\"internalType\":\"structIUiPoolDataProviderV3.BaseCurrencyInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIPoolAddressesProviderV3\",\"name\":\"provider\",\"type\":\"address\"}],\"name\":\"getReservesList\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIPoolAddressesProviderV3\",\"name\":\"provider\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getUserReservesData\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"underlyingAsset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"scaledATokenBalance\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"usageAsCollateralEnabledOnUser\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"stableBorrowRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"scaledVariableDebt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"principalStableDebt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"stableBorrowLastUpdateTimestamp\",\"type\":\"uint256\"}],\"internalType\":\"structIUiPoolDataProviderV3.UserReserveData[]\",\"name\":\"\",\"type\":\"tuple[]\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

AaveUiPoolDataProviderV3MetaData contains all meta data concerning the AaveUiPoolDataProviderV3 contract.

Functions

This section is empty.

Types

type AaveUiPoolDataProviderV3

type AaveUiPoolDataProviderV3 struct {
	AaveUiPoolDataProviderV3Caller     // Read-only binding to the contract
	AaveUiPoolDataProviderV3Transactor // Write-only binding to the contract
	AaveUiPoolDataProviderV3Filterer   // Log filterer for contract events
}

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

func NewAaveUiPoolDataProviderV3

func NewAaveUiPoolDataProviderV3(address common.Address, backend bind.ContractBackend) (*AaveUiPoolDataProviderV3, error)

NewAaveUiPoolDataProviderV3 creates a new instance of AaveUiPoolDataProviderV3, bound to a specific deployed contract.

type AaveUiPoolDataProviderV3Caller

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

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

func NewAaveUiPoolDataProviderV3Caller

func NewAaveUiPoolDataProviderV3Caller(address common.Address, caller bind.ContractCaller) (*AaveUiPoolDataProviderV3Caller, error)

NewAaveUiPoolDataProviderV3Caller creates a new read-only instance of AaveUiPoolDataProviderV3, bound to a specific deployed contract.

func (*AaveUiPoolDataProviderV3Caller) GetReservesData

GetReservesData is a free data retrieval call binding the contract method 0xec489c21.

Solidity: function getReservesData(address provider) view returns((address,string,string,uint256,uint256,uint256,uint256,uint256,bool,bool,bool,bool,bool,uint128,uint128,uint128,uint128,uint128,uint40,address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,uint256,uint256,bool,uint128,uint128,uint128,uint256,uint256,uint8,uint256,uint256,uint16,uint16,uint16,address,string,bool)[], (uint256,int256,int256,uint8))

func (*AaveUiPoolDataProviderV3Caller) GetReservesList

func (_AaveUiPoolDataProviderV3 *AaveUiPoolDataProviderV3Caller) GetReservesList(opts *bind.CallOpts, provider common.Address) ([]common.Address, error)

GetReservesList is a free data retrieval call binding the contract method 0x586c1442.

Solidity: function getReservesList(address provider) view returns(address[])

func (*AaveUiPoolDataProviderV3Caller) GetUserReservesData

func (_AaveUiPoolDataProviderV3 *AaveUiPoolDataProviderV3Caller) GetUserReservesData(opts *bind.CallOpts, provider common.Address, user common.Address) ([]IUiPoolDataProviderV3UserReserveData, uint8, error)

GetUserReservesData is a free data retrieval call binding the contract method 0x51974cc0.

Solidity: function getUserReservesData(address provider, address user) view returns((address,uint256,bool,uint256,uint256,uint256,uint256)[], uint8)

type AaveUiPoolDataProviderV3CallerRaw

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

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

func (*AaveUiPoolDataProviderV3CallerRaw) Call

func (_AaveUiPoolDataProviderV3 *AaveUiPoolDataProviderV3CallerRaw) 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 AaveUiPoolDataProviderV3CallerSession

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

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

func (*AaveUiPoolDataProviderV3CallerSession) GetReservesData

GetReservesData is a free data retrieval call binding the contract method 0xec489c21.

Solidity: function getReservesData(address provider) view returns((address,string,string,uint256,uint256,uint256,uint256,uint256,bool,bool,bool,bool,bool,uint128,uint128,uint128,uint128,uint128,uint40,address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,uint256,uint256,bool,uint128,uint128,uint128,uint256,uint256,uint8,uint256,uint256,uint16,uint16,uint16,address,string,bool)[], (uint256,int256,int256,uint8))

func (*AaveUiPoolDataProviderV3CallerSession) GetReservesList

func (_AaveUiPoolDataProviderV3 *AaveUiPoolDataProviderV3CallerSession) GetReservesList(provider common.Address) ([]common.Address, error)

GetReservesList is a free data retrieval call binding the contract method 0x586c1442.

Solidity: function getReservesList(address provider) view returns(address[])

func (*AaveUiPoolDataProviderV3CallerSession) GetUserReservesData

func (_AaveUiPoolDataProviderV3 *AaveUiPoolDataProviderV3CallerSession) GetUserReservesData(provider common.Address, user common.Address) ([]IUiPoolDataProviderV3UserReserveData, uint8, error)

GetUserReservesData is a free data retrieval call binding the contract method 0x51974cc0.

Solidity: function getUserReservesData(address provider, address user) view returns((address,uint256,bool,uint256,uint256,uint256,uint256)[], uint8)

type AaveUiPoolDataProviderV3Filterer

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

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

func NewAaveUiPoolDataProviderV3Filterer

func NewAaveUiPoolDataProviderV3Filterer(address common.Address, filterer bind.ContractFilterer) (*AaveUiPoolDataProviderV3Filterer, error)

NewAaveUiPoolDataProviderV3Filterer creates a new log filterer instance of AaveUiPoolDataProviderV3, bound to a specific deployed contract.

type AaveUiPoolDataProviderV3Raw

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

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

func (*AaveUiPoolDataProviderV3Raw) Call

func (_AaveUiPoolDataProviderV3 *AaveUiPoolDataProviderV3Raw) 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 (*AaveUiPoolDataProviderV3Raw) Transact

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

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

func (*AaveUiPoolDataProviderV3Raw) Transfer

func (_AaveUiPoolDataProviderV3 *AaveUiPoolDataProviderV3Raw) 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 AaveUiPoolDataProviderV3Session

type AaveUiPoolDataProviderV3Session struct {
	Contract     *AaveUiPoolDataProviderV3 // 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
}

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

func (*AaveUiPoolDataProviderV3Session) GetReservesData

GetReservesData is a free data retrieval call binding the contract method 0xec489c21.

Solidity: function getReservesData(address provider) view returns((address,string,string,uint256,uint256,uint256,uint256,uint256,bool,bool,bool,bool,bool,uint128,uint128,uint128,uint128,uint128,uint40,address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,uint256,uint256,bool,uint128,uint128,uint128,uint256,uint256,uint8,uint256,uint256,uint16,uint16,uint16,address,string,bool)[], (uint256,int256,int256,uint8))

func (*AaveUiPoolDataProviderV3Session) GetReservesList

func (_AaveUiPoolDataProviderV3 *AaveUiPoolDataProviderV3Session) GetReservesList(provider common.Address) ([]common.Address, error)

GetReservesList is a free data retrieval call binding the contract method 0x586c1442.

Solidity: function getReservesList(address provider) view returns(address[])

func (*AaveUiPoolDataProviderV3Session) GetUserReservesData

func (_AaveUiPoolDataProviderV3 *AaveUiPoolDataProviderV3Session) GetUserReservesData(provider common.Address, user common.Address) ([]IUiPoolDataProviderV3UserReserveData, uint8, error)

GetUserReservesData is a free data retrieval call binding the contract method 0x51974cc0.

Solidity: function getUserReservesData(address provider, address user) view returns((address,uint256,bool,uint256,uint256,uint256,uint256)[], uint8)

type AaveUiPoolDataProviderV3Transactor

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

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

func NewAaveUiPoolDataProviderV3Transactor

func NewAaveUiPoolDataProviderV3Transactor(address common.Address, transactor bind.ContractTransactor) (*AaveUiPoolDataProviderV3Transactor, error)

NewAaveUiPoolDataProviderV3Transactor creates a new write-only instance of AaveUiPoolDataProviderV3, bound to a specific deployed contract.

type AaveUiPoolDataProviderV3TransactorRaw

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

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

func (*AaveUiPoolDataProviderV3TransactorRaw) Transact

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

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

func (*AaveUiPoolDataProviderV3TransactorRaw) Transfer

func (_AaveUiPoolDataProviderV3 *AaveUiPoolDataProviderV3TransactorRaw) 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 AaveUiPoolDataProviderV3TransactorSession

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

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

type IUiPoolDataProviderV3AggregatedReserveData

type IUiPoolDataProviderV3AggregatedReserveData struct {
	UnderlyingAsset                common.Address
	Name                           string
	Symbol                         string
	Decimals                       *big.Int
	BaseLTVasCollateral            *big.Int
	ReserveLiquidationThreshold    *big.Int
	ReserveLiquidationBonus        *big.Int
	ReserveFactor                  *big.Int
	UsageAsCollateralEnabled       bool
	BorrowingEnabled               bool
	StableBorrowRateEnabled        bool
	IsActive                       bool
	IsFrozen                       bool
	LiquidityIndex                 *big.Int
	VariableBorrowIndex            *big.Int
	LiquidityRate                  *big.Int
	VariableBorrowRate             *big.Int
	StableBorrowRate               *big.Int
	LastUpdateTimestamp            *big.Int
	ATokenAddress                  common.Address
	StableDebtTokenAddress         common.Address
	VariableDebtTokenAddress       common.Address
	InterestRateStrategyAddress    common.Address
	AvailableLiquidity             *big.Int
	TotalPrincipalStableDebt       *big.Int
	AverageStableRate              *big.Int
	StableDebtLastUpdateTimestamp  *big.Int
	TotalScaledVariableDebt        *big.Int
	PriceInMarketReferenceCurrency *big.Int
	PriceOracle                    common.Address
	VariableRateSlope1             *big.Int
	VariableRateSlope2             *big.Int
	StableRateSlope1               *big.Int
	StableRateSlope2               *big.Int
	BaseStableBorrowRate           *big.Int
	BaseVariableBorrowRate         *big.Int
	OptimalUsageRatio              *big.Int
	IsPaused                       bool
	AccruedToTreasury              *big.Int
	Unbacked                       *big.Int
	IsolationModeTotalDebt         *big.Int
	DebtCeiling                    *big.Int
	DebtCeilingDecimals            *big.Int
	EModeCategoryId                uint8
	BorrowCap                      *big.Int
	SupplyCap                      *big.Int
	EModeLtv                       uint16
	EModeLiquidationThreshold      uint16
	EModeLiquidationBonus          uint16
	EModePriceSource               common.Address
	EModeLabel                     string
	BorrowableInIsolation          bool
}

IUiPoolDataProviderV3AggregatedReserveData is an auto generated low-level Go binding around an user-defined struct.

type IUiPoolDataProviderV3BaseCurrencyInfo

type IUiPoolDataProviderV3BaseCurrencyInfo struct {
	MarketReferenceCurrencyUnit       *big.Int
	MarketReferenceCurrencyPriceInUsd *big.Int
	NetworkBaseTokenPriceInUsd        *big.Int
	NetworkBaseTokenPriceDecimals     uint8
}

IUiPoolDataProviderV3BaseCurrencyInfo is an auto generated low-level Go binding around an user-defined struct.

type IUiPoolDataProviderV3UserReserveData

type IUiPoolDataProviderV3UserReserveData struct {
	UnderlyingAsset                 common.Address
	ScaledATokenBalance             *big.Int
	UsageAsCollateralEnabledOnUser  bool
	StableBorrowRate                *big.Int
	ScaledVariableDebt              *big.Int
	PrincipalStableDebt             *big.Int
	StableBorrowLastUpdateTimestamp *big.Int
}

IUiPoolDataProviderV3UserReserveData is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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