aave

package
v0.0.0-...-bd3dd7f Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AaveV3ProtocolDataProviderABI = AaveV3ProtocolDataProviderMetaData.ABI

AaveV3ProtocolDataProviderABI is the input ABI used to generate the binding from. Deprecated: Use AaveV3ProtocolDataProviderMetaData.ABI instead.

View Source
var AaveV3ProtocolDataProviderMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIPoolAddressesProvider\",\"name\":\"addressesProvider\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ADDRESSES_PROVIDER\",\"outputs\":[{\"internalType\":\"contractIPoolAddressesProvider\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getATokenTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllATokens\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"internalType\":\"structAaveProtocolDataProvider.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\":\"structAaveProtocolDataProvider.TokenData[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getDebtCeiling\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDebtCeilingDecimals\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getInterestRateStrategyAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"irStrategyAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getLiquidationProtocolFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isPaused\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getReserveCaps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"borrowCap\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"supplyCap\",\"type\":\"uint256\"}],\"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\":\"unbacked\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accruedToTreasuryScaled\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalAToken\",\"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\"}],\"name\":\"getSiloedBorrowing\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getTotalDebt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getUnbackedMintCap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\"}]",
}

AaveV3ProtocolDataProviderMetaData contains all meta data concerning the AaveV3ProtocolDataProvider contract.

Functions

This section is empty.

Types

type AaveProtocolDataProviderTokenData

type AaveProtocolDataProviderTokenData struct {
	Symbol       string
	TokenAddress common.Address
}

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

type AaveV3ProtocolDataProvider

type AaveV3ProtocolDataProvider struct {
	AaveV3ProtocolDataProviderCaller     // Read-only binding to the contract
	AaveV3ProtocolDataProviderTransactor // Write-only binding to the contract
	AaveV3ProtocolDataProviderFilterer   // Log filterer for contract events
}

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

func NewAaveV3ProtocolDataProvider

func NewAaveV3ProtocolDataProvider(address common.Address, backend bind.ContractBackend) (*AaveV3ProtocolDataProvider, error)

NewAaveV3ProtocolDataProvider creates a new instance of AaveV3ProtocolDataProvider, bound to a specific deployed contract.

type AaveV3ProtocolDataProviderCaller

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

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

func NewAaveV3ProtocolDataProviderCaller

func NewAaveV3ProtocolDataProviderCaller(address common.Address, caller bind.ContractCaller) (*AaveV3ProtocolDataProviderCaller, error)

NewAaveV3ProtocolDataProviderCaller creates a new read-only instance of AaveV3ProtocolDataProvider, bound to a specific deployed contract.

func (*AaveV3ProtocolDataProviderCaller) ADDRESSESPROVIDER

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) 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 (*AaveV3ProtocolDataProviderCaller) GetATokenTotalSupply

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) GetATokenTotalSupply(opts *bind.CallOpts, asset common.Address) (*big.Int, error)

GetATokenTotalSupply is a free data retrieval call binding the contract method 0x51460e25.

Solidity: function getATokenTotalSupply(address asset) view returns(uint256)

func (*AaveV3ProtocolDataProviderCaller) GetAllATokens

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) GetAllATokens(opts *bind.CallOpts) ([]AaveProtocolDataProviderTokenData, error)

GetAllATokens is a free data retrieval call binding the contract method 0xf561ae41.

Solidity: function getAllATokens() view returns((string,address)[])

func (*AaveV3ProtocolDataProviderCaller) GetAllReservesTokens

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) GetAllReservesTokens(opts *bind.CallOpts) ([]AaveProtocolDataProviderTokenData, error)

GetAllReservesTokens is a free data retrieval call binding the contract method 0xb316ff89.

Solidity: function getAllReservesTokens() view returns((string,address)[])

func (*AaveV3ProtocolDataProviderCaller) GetDebtCeiling

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) GetDebtCeiling(opts *bind.CallOpts, asset common.Address) (*big.Int, error)

GetDebtCeiling is a free data retrieval call binding the contract method 0x3c798109.

Solidity: function getDebtCeiling(address asset) view returns(uint256)

func (*AaveV3ProtocolDataProviderCaller) GetDebtCeilingDecimals

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) GetDebtCeilingDecimals(opts *bind.CallOpts) (*big.Int, error)

GetDebtCeilingDecimals is a free data retrieval call binding the contract method 0x69b169e1.

Solidity: function getDebtCeilingDecimals() pure returns(uint256)

func (*AaveV3ProtocolDataProviderCaller) GetInterestRateStrategyAddress

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) GetInterestRateStrategyAddress(opts *bind.CallOpts, asset common.Address) (common.Address, error)

GetInterestRateStrategyAddress is a free data retrieval call binding the contract method 0x6744362a.

Solidity: function getInterestRateStrategyAddress(address asset) view returns(address irStrategyAddress)

func (*AaveV3ProtocolDataProviderCaller) GetLiquidationProtocolFee

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) GetLiquidationProtocolFee(opts *bind.CallOpts, asset common.Address) (*big.Int, error)

GetLiquidationProtocolFee is a free data retrieval call binding the contract method 0x3cb8a622.

Solidity: function getLiquidationProtocolFee(address asset) view returns(uint256)

func (*AaveV3ProtocolDataProviderCaller) GetPaused

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) GetPaused(opts *bind.CallOpts, asset common.Address) (bool, error)

GetPaused is a free data retrieval call binding the contract method 0xb55d9904.

Solidity: function getPaused(address asset) view returns(bool isPaused)

func (*AaveV3ProtocolDataProviderCaller) GetReserveCaps

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) GetReserveCaps(opts *bind.CallOpts, asset common.Address) (struct {
	BorrowCap *big.Int
	SupplyCap *big.Int
}, error)

GetReserveCaps is a free data retrieval call binding the contract method 0x46fbe558.

Solidity: function getReserveCaps(address asset) view returns(uint256 borrowCap, uint256 supplyCap)

func (*AaveV3ProtocolDataProviderCaller) GetReserveConfigurationData

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) 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 (*AaveV3ProtocolDataProviderCaller) GetReserveData

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) GetReserveData(opts *bind.CallOpts, asset common.Address) (struct {
	Unbacked                *big.Int
	AccruedToTreasuryScaled *big.Int
	TotalAToken             *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 unbacked, uint256 accruedToTreasuryScaled, uint256 totalAToken, uint256 totalStableDebt, uint256 totalVariableDebt, uint256 liquidityRate, uint256 variableBorrowRate, uint256 stableBorrowRate, uint256 averageStableBorrowRate, uint256 liquidityIndex, uint256 variableBorrowIndex, uint40 lastUpdateTimestamp)

func (*AaveV3ProtocolDataProviderCaller) GetReserveEModeCategory

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) 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 (*AaveV3ProtocolDataProviderCaller) GetReserveTokensAddresses

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) 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 (*AaveV3ProtocolDataProviderCaller) GetSiloedBorrowing

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) GetSiloedBorrowing(opts *bind.CallOpts, asset common.Address) (bool, error)

GetSiloedBorrowing is a free data retrieval call binding the contract method 0xfcf40a62.

Solidity: function getSiloedBorrowing(address asset) view returns(bool)

func (*AaveV3ProtocolDataProviderCaller) GetTotalDebt

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) GetTotalDebt(opts *bind.CallOpts, asset common.Address) (*big.Int, error)

GetTotalDebt is a free data retrieval call binding the contract method 0x4d44ac4f.

Solidity: function getTotalDebt(address asset) view returns(uint256)

func (*AaveV3ProtocolDataProviderCaller) GetUnbackedMintCap

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) GetUnbackedMintCap(opts *bind.CallOpts, asset common.Address) (*big.Int, error)

GetUnbackedMintCap is a free data retrieval call binding the contract method 0x7ba1ae36.

Solidity: function getUnbackedMintCap(address asset) view returns(uint256)

func (*AaveV3ProtocolDataProviderCaller) GetUserReserveData

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCaller) 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 AaveV3ProtocolDataProviderCallerRaw

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

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

func (*AaveV3ProtocolDataProviderCallerRaw) Call

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerRaw) 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 AaveV3ProtocolDataProviderCallerSession

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

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

func (*AaveV3ProtocolDataProviderCallerSession) ADDRESSESPROVIDER

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) ADDRESSESPROVIDER() (common.Address, error)

ADDRESSESPROVIDER is a free data retrieval call binding the contract method 0x0542975c.

Solidity: function ADDRESSES_PROVIDER() view returns(address)

func (*AaveV3ProtocolDataProviderCallerSession) GetATokenTotalSupply

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) GetATokenTotalSupply(asset common.Address) (*big.Int, error)

GetATokenTotalSupply is a free data retrieval call binding the contract method 0x51460e25.

Solidity: function getATokenTotalSupply(address asset) view returns(uint256)

func (*AaveV3ProtocolDataProviderCallerSession) GetAllATokens

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) GetAllATokens() ([]AaveProtocolDataProviderTokenData, error)

GetAllATokens is a free data retrieval call binding the contract method 0xf561ae41.

Solidity: function getAllATokens() view returns((string,address)[])

func (*AaveV3ProtocolDataProviderCallerSession) GetAllReservesTokens

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) GetAllReservesTokens() ([]AaveProtocolDataProviderTokenData, error)

GetAllReservesTokens is a free data retrieval call binding the contract method 0xb316ff89.

Solidity: function getAllReservesTokens() view returns((string,address)[])

func (*AaveV3ProtocolDataProviderCallerSession) GetDebtCeiling

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) GetDebtCeiling(asset common.Address) (*big.Int, error)

GetDebtCeiling is a free data retrieval call binding the contract method 0x3c798109.

Solidity: function getDebtCeiling(address asset) view returns(uint256)

func (*AaveV3ProtocolDataProviderCallerSession) GetDebtCeilingDecimals

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) GetDebtCeilingDecimals() (*big.Int, error)

GetDebtCeilingDecimals is a free data retrieval call binding the contract method 0x69b169e1.

Solidity: function getDebtCeilingDecimals() pure returns(uint256)

func (*AaveV3ProtocolDataProviderCallerSession) GetInterestRateStrategyAddress

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) GetInterestRateStrategyAddress(asset common.Address) (common.Address, error)

GetInterestRateStrategyAddress is a free data retrieval call binding the contract method 0x6744362a.

Solidity: function getInterestRateStrategyAddress(address asset) view returns(address irStrategyAddress)

func (*AaveV3ProtocolDataProviderCallerSession) GetLiquidationProtocolFee

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) GetLiquidationProtocolFee(asset common.Address) (*big.Int, error)

GetLiquidationProtocolFee is a free data retrieval call binding the contract method 0x3cb8a622.

Solidity: function getLiquidationProtocolFee(address asset) view returns(uint256)

func (*AaveV3ProtocolDataProviderCallerSession) GetPaused

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) GetPaused(asset common.Address) (bool, error)

GetPaused is a free data retrieval call binding the contract method 0xb55d9904.

Solidity: function getPaused(address asset) view returns(bool isPaused)

func (*AaveV3ProtocolDataProviderCallerSession) GetReserveCaps

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) GetReserveCaps(asset common.Address) (struct {
	BorrowCap *big.Int
	SupplyCap *big.Int
}, error)

GetReserveCaps is a free data retrieval call binding the contract method 0x46fbe558.

Solidity: function getReserveCaps(address asset) view returns(uint256 borrowCap, uint256 supplyCap)

func (*AaveV3ProtocolDataProviderCallerSession) GetReserveConfigurationData

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) 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 (*AaveV3ProtocolDataProviderCallerSession) GetReserveData

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) GetReserveData(asset common.Address) (struct {
	Unbacked                *big.Int
	AccruedToTreasuryScaled *big.Int
	TotalAToken             *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 unbacked, uint256 accruedToTreasuryScaled, uint256 totalAToken, uint256 totalStableDebt, uint256 totalVariableDebt, uint256 liquidityRate, uint256 variableBorrowRate, uint256 stableBorrowRate, uint256 averageStableBorrowRate, uint256 liquidityIndex, uint256 variableBorrowIndex, uint40 lastUpdateTimestamp)

func (*AaveV3ProtocolDataProviderCallerSession) GetReserveEModeCategory

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) 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 (*AaveV3ProtocolDataProviderCallerSession) GetReserveTokensAddresses

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) 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 (*AaveV3ProtocolDataProviderCallerSession) GetSiloedBorrowing

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) GetSiloedBorrowing(asset common.Address) (bool, error)

GetSiloedBorrowing is a free data retrieval call binding the contract method 0xfcf40a62.

Solidity: function getSiloedBorrowing(address asset) view returns(bool)

func (*AaveV3ProtocolDataProviderCallerSession) GetTotalDebt

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) GetTotalDebt(asset common.Address) (*big.Int, error)

GetTotalDebt is a free data retrieval call binding the contract method 0x4d44ac4f.

Solidity: function getTotalDebt(address asset) view returns(uint256)

func (*AaveV3ProtocolDataProviderCallerSession) GetUnbackedMintCap

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) GetUnbackedMintCap(asset common.Address) (*big.Int, error)

GetUnbackedMintCap is a free data retrieval call binding the contract method 0x7ba1ae36.

Solidity: function getUnbackedMintCap(address asset) view returns(uint256)

func (*AaveV3ProtocolDataProviderCallerSession) GetUserReserveData

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderCallerSession) 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 AaveV3ProtocolDataProviderFilterer

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

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

func NewAaveV3ProtocolDataProviderFilterer

func NewAaveV3ProtocolDataProviderFilterer(address common.Address, filterer bind.ContractFilterer) (*AaveV3ProtocolDataProviderFilterer, error)

NewAaveV3ProtocolDataProviderFilterer creates a new log filterer instance of AaveV3ProtocolDataProvider, bound to a specific deployed contract.

type AaveV3ProtocolDataProviderRaw

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

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

func (*AaveV3ProtocolDataProviderRaw) Call

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderRaw) 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 (*AaveV3ProtocolDataProviderRaw) Transact

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

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

func (*AaveV3ProtocolDataProviderRaw) Transfer

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderRaw) 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 AaveV3ProtocolDataProviderSession

type AaveV3ProtocolDataProviderSession struct {
	Contract     *AaveV3ProtocolDataProvider // 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
}

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

func (*AaveV3ProtocolDataProviderSession) ADDRESSESPROVIDER

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) ADDRESSESPROVIDER() (common.Address, error)

ADDRESSESPROVIDER is a free data retrieval call binding the contract method 0x0542975c.

Solidity: function ADDRESSES_PROVIDER() view returns(address)

func (*AaveV3ProtocolDataProviderSession) GetATokenTotalSupply

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) GetATokenTotalSupply(asset common.Address) (*big.Int, error)

GetATokenTotalSupply is a free data retrieval call binding the contract method 0x51460e25.

Solidity: function getATokenTotalSupply(address asset) view returns(uint256)

func (*AaveV3ProtocolDataProviderSession) GetAllATokens

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) GetAllATokens() ([]AaveProtocolDataProviderTokenData, error)

GetAllATokens is a free data retrieval call binding the contract method 0xf561ae41.

Solidity: function getAllATokens() view returns((string,address)[])

func (*AaveV3ProtocolDataProviderSession) GetAllReservesTokens

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) GetAllReservesTokens() ([]AaveProtocolDataProviderTokenData, error)

GetAllReservesTokens is a free data retrieval call binding the contract method 0xb316ff89.

Solidity: function getAllReservesTokens() view returns((string,address)[])

func (*AaveV3ProtocolDataProviderSession) GetDebtCeiling

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) GetDebtCeiling(asset common.Address) (*big.Int, error)

GetDebtCeiling is a free data retrieval call binding the contract method 0x3c798109.

Solidity: function getDebtCeiling(address asset) view returns(uint256)

func (*AaveV3ProtocolDataProviderSession) GetDebtCeilingDecimals

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) GetDebtCeilingDecimals() (*big.Int, error)

GetDebtCeilingDecimals is a free data retrieval call binding the contract method 0x69b169e1.

Solidity: function getDebtCeilingDecimals() pure returns(uint256)

func (*AaveV3ProtocolDataProviderSession) GetInterestRateStrategyAddress

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) GetInterestRateStrategyAddress(asset common.Address) (common.Address, error)

GetInterestRateStrategyAddress is a free data retrieval call binding the contract method 0x6744362a.

Solidity: function getInterestRateStrategyAddress(address asset) view returns(address irStrategyAddress)

func (*AaveV3ProtocolDataProviderSession) GetLiquidationProtocolFee

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) GetLiquidationProtocolFee(asset common.Address) (*big.Int, error)

GetLiquidationProtocolFee is a free data retrieval call binding the contract method 0x3cb8a622.

Solidity: function getLiquidationProtocolFee(address asset) view returns(uint256)

func (*AaveV3ProtocolDataProviderSession) GetPaused

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) GetPaused(asset common.Address) (bool, error)

GetPaused is a free data retrieval call binding the contract method 0xb55d9904.

Solidity: function getPaused(address asset) view returns(bool isPaused)

func (*AaveV3ProtocolDataProviderSession) GetReserveCaps

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) GetReserveCaps(asset common.Address) (struct {
	BorrowCap *big.Int
	SupplyCap *big.Int
}, error)

GetReserveCaps is a free data retrieval call binding the contract method 0x46fbe558.

Solidity: function getReserveCaps(address asset) view returns(uint256 borrowCap, uint256 supplyCap)

func (*AaveV3ProtocolDataProviderSession) GetReserveConfigurationData

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) 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 (*AaveV3ProtocolDataProviderSession) GetReserveData

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) GetReserveData(asset common.Address) (struct {
	Unbacked                *big.Int
	AccruedToTreasuryScaled *big.Int
	TotalAToken             *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 unbacked, uint256 accruedToTreasuryScaled, uint256 totalAToken, uint256 totalStableDebt, uint256 totalVariableDebt, uint256 liquidityRate, uint256 variableBorrowRate, uint256 stableBorrowRate, uint256 averageStableBorrowRate, uint256 liquidityIndex, uint256 variableBorrowIndex, uint40 lastUpdateTimestamp)

func (*AaveV3ProtocolDataProviderSession) GetReserveEModeCategory

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) 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 (*AaveV3ProtocolDataProviderSession) GetReserveTokensAddresses

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) 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 (*AaveV3ProtocolDataProviderSession) GetSiloedBorrowing

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) GetSiloedBorrowing(asset common.Address) (bool, error)

GetSiloedBorrowing is a free data retrieval call binding the contract method 0xfcf40a62.

Solidity: function getSiloedBorrowing(address asset) view returns(bool)

func (*AaveV3ProtocolDataProviderSession) GetTotalDebt

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) GetTotalDebt(asset common.Address) (*big.Int, error)

GetTotalDebt is a free data retrieval call binding the contract method 0x4d44ac4f.

Solidity: function getTotalDebt(address asset) view returns(uint256)

func (*AaveV3ProtocolDataProviderSession) GetUnbackedMintCap

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) GetUnbackedMintCap(asset common.Address) (*big.Int, error)

GetUnbackedMintCap is a free data retrieval call binding the contract method 0x7ba1ae36.

Solidity: function getUnbackedMintCap(address asset) view returns(uint256)

func (*AaveV3ProtocolDataProviderSession) GetUserReserveData

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderSession) 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 AaveV3ProtocolDataProviderTransactor

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

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

func NewAaveV3ProtocolDataProviderTransactor

func NewAaveV3ProtocolDataProviderTransactor(address common.Address, transactor bind.ContractTransactor) (*AaveV3ProtocolDataProviderTransactor, error)

NewAaveV3ProtocolDataProviderTransactor creates a new write-only instance of AaveV3ProtocolDataProvider, bound to a specific deployed contract.

type AaveV3ProtocolDataProviderTransactorRaw

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

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

func (*AaveV3ProtocolDataProviderTransactorRaw) Transact

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

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

func (*AaveV3ProtocolDataProviderTransactorRaw) Transfer

func (_AaveV3ProtocolDataProvider *AaveV3ProtocolDataProviderTransactorRaw) 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 AaveV3ProtocolDataProviderTransactorSession

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

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

Jump to

Keyboard shortcuts

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