Documentation ¶
Index ¶
- Variables
- type IPoolDataProviderTokenData
- type SparkPoolDataProvider
- type SparkPoolDataProviderCaller
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) ADDRESSESPROVIDER(opts *bind.CallOpts) (common.Address, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetATokenTotalSupply(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetAllATokens(opts *bind.CallOpts) ([]IPoolDataProviderTokenData, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetAllReservesTokens(opts *bind.CallOpts) ([]IPoolDataProviderTokenData, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetDebtCeiling(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetDebtCeilingDecimals(opts *bind.CallOpts) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetFlashLoanEnabled(opts *bind.CallOpts, asset common.Address) (bool, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetInterestRateStrategyAddress(opts *bind.CallOpts, asset common.Address) (common.Address, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetLiquidationProtocolFee(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetPaused(opts *bind.CallOpts, asset common.Address) (bool, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetReserveCaps(opts *bind.CallOpts, asset common.Address) (struct{ ... }, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetReserveConfigurationData(opts *bind.CallOpts, asset common.Address) (struct{ ... }, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetReserveData(opts *bind.CallOpts, asset common.Address) (struct{ ... }, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetReserveEModeCategory(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetReserveTokensAddresses(opts *bind.CallOpts, asset common.Address) (struct{ ... }, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetSiloedBorrowing(opts *bind.CallOpts, asset common.Address) (bool, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetTotalDebt(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetUnbackedMintCap(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetUserReserveData(opts *bind.CallOpts, asset common.Address, user common.Address) (struct{ ... }, error)
- type SparkPoolDataProviderCallerRaw
- type SparkPoolDataProviderCallerSession
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) ADDRESSESPROVIDER() (common.Address, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetATokenTotalSupply(asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetAllATokens() ([]IPoolDataProviderTokenData, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetAllReservesTokens() ([]IPoolDataProviderTokenData, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetDebtCeiling(asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetDebtCeilingDecimals() (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetFlashLoanEnabled(asset common.Address) (bool, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetInterestRateStrategyAddress(asset common.Address) (common.Address, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetLiquidationProtocolFee(asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetPaused(asset common.Address) (bool, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetReserveCaps(asset common.Address) (struct{ ... }, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetReserveConfigurationData(asset common.Address) (struct{ ... }, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetReserveData(asset common.Address) (struct{ ... }, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetReserveEModeCategory(asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetReserveTokensAddresses(asset common.Address) (struct{ ... }, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetSiloedBorrowing(asset common.Address) (bool, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetTotalDebt(asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetUnbackedMintCap(asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetUserReserveData(asset common.Address, user common.Address) (struct{ ... }, error)
- type SparkPoolDataProviderFilterer
- type SparkPoolDataProviderRaw
- func (_SparkPoolDataProvider *SparkPoolDataProviderRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SparkPoolDataProvider *SparkPoolDataProviderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SparkPoolDataProviderSession
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) ADDRESSESPROVIDER() (common.Address, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetATokenTotalSupply(asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetAllATokens() ([]IPoolDataProviderTokenData, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetAllReservesTokens() ([]IPoolDataProviderTokenData, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetDebtCeiling(asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetDebtCeilingDecimals() (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetFlashLoanEnabled(asset common.Address) (bool, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetInterestRateStrategyAddress(asset common.Address) (common.Address, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetLiquidationProtocolFee(asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetPaused(asset common.Address) (bool, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetReserveCaps(asset common.Address) (struct{ ... }, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetReserveConfigurationData(asset common.Address) (struct{ ... }, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetReserveData(asset common.Address) (struct{ ... }, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetReserveEModeCategory(asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetReserveTokensAddresses(asset common.Address) (struct{ ... }, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetSiloedBorrowing(asset common.Address) (bool, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetTotalDebt(asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetUnbackedMintCap(asset common.Address) (*big.Int, error)
- func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetUserReserveData(asset common.Address, user common.Address) (struct{ ... }, error)
- type SparkPoolDataProviderTransactor
- type SparkPoolDataProviderTransactorRaw
- type SparkPoolDataProviderTransactorSession
Constants ¶
This section is empty.
Variables ¶
var SparkPoolDataProviderABI = SparkPoolDataProviderMetaData.ABI
SparkPoolDataProviderABI is the input ABI used to generate the binding from. Deprecated: Use SparkPoolDataProviderMetaData.ABI instead.
var SparkPoolDataProviderMetaData = &bind.MetaData{
ABI: "[{\"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\":\"structIPoolDataProvider.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\":\"structIPoolDataProvider.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\":\"getFlashLoanEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"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\"}]",
}
SparkPoolDataProviderMetaData contains all meta data concerning the SparkPoolDataProvider contract.
Functions ¶
This section is empty.
Types ¶
type IPoolDataProviderTokenData ¶
IPoolDataProviderTokenData is an auto generated low-level Go binding around an user-defined struct.
type SparkPoolDataProvider ¶
type SparkPoolDataProvider struct { SparkPoolDataProviderCaller // Read-only binding to the contract SparkPoolDataProviderTransactor // Write-only binding to the contract SparkPoolDataProviderFilterer // Log filterer for contract events }
SparkPoolDataProvider is an auto generated Go binding around an Ethereum contract.
func NewSparkPoolDataProvider ¶
func NewSparkPoolDataProvider(address common.Address, backend bind.ContractBackend) (*SparkPoolDataProvider, error)
NewSparkPoolDataProvider creates a new instance of SparkPoolDataProvider, bound to a specific deployed contract.
type SparkPoolDataProviderCaller ¶
type SparkPoolDataProviderCaller struct {
// contains filtered or unexported fields
}
SparkPoolDataProviderCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSparkPoolDataProviderCaller ¶
func NewSparkPoolDataProviderCaller(address common.Address, caller bind.ContractCaller) (*SparkPoolDataProviderCaller, error)
NewSparkPoolDataProviderCaller creates a new read-only instance of SparkPoolDataProvider, bound to a specific deployed contract.
func (*SparkPoolDataProviderCaller) ADDRESSESPROVIDER ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) 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 (*SparkPoolDataProviderCaller) GetATokenTotalSupply ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) 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 (*SparkPoolDataProviderCaller) GetAllATokens ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetAllATokens(opts *bind.CallOpts) ([]IPoolDataProviderTokenData, error)
GetAllATokens is a free data retrieval call binding the contract method 0xf561ae41.
Solidity: function getAllATokens() view returns((string,address)[])
func (*SparkPoolDataProviderCaller) GetAllReservesTokens ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetAllReservesTokens(opts *bind.CallOpts) ([]IPoolDataProviderTokenData, error)
GetAllReservesTokens is a free data retrieval call binding the contract method 0xb316ff89.
Solidity: function getAllReservesTokens() view returns((string,address)[])
func (*SparkPoolDataProviderCaller) GetDebtCeiling ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) 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 (*SparkPoolDataProviderCaller) GetDebtCeilingDecimals ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) 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 (*SparkPoolDataProviderCaller) GetFlashLoanEnabled ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) GetFlashLoanEnabled(opts *bind.CallOpts, asset common.Address) (bool, error)
GetFlashLoanEnabled is a free data retrieval call binding the contract method 0xd7ed3ef4.
Solidity: function getFlashLoanEnabled(address asset) view returns(bool)
func (*SparkPoolDataProviderCaller) GetInterestRateStrategyAddress ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) 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 (*SparkPoolDataProviderCaller) GetLiquidationProtocolFee ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) 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 (*SparkPoolDataProviderCaller) GetPaused ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) 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 (*SparkPoolDataProviderCaller) GetReserveCaps ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) 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 (*SparkPoolDataProviderCaller) GetReserveConfigurationData ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) 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 (*SparkPoolDataProviderCaller) GetReserveData ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) 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 (*SparkPoolDataProviderCaller) GetReserveEModeCategory ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) 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 (*SparkPoolDataProviderCaller) GetReserveTokensAddresses ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) 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 (*SparkPoolDataProviderCaller) GetSiloedBorrowing ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) 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 (*SparkPoolDataProviderCaller) GetTotalDebt ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) 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 (*SparkPoolDataProviderCaller) GetUnbackedMintCap ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) 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 (*SparkPoolDataProviderCaller) GetUserReserveData ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCaller) 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 SparkPoolDataProviderCallerRaw ¶
type SparkPoolDataProviderCallerRaw struct {
Contract *SparkPoolDataProviderCaller // Generic read-only contract binding to access the raw methods on
}
SparkPoolDataProviderCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SparkPoolDataProviderCallerRaw) Call ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerRaw) 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 SparkPoolDataProviderCallerSession ¶
type SparkPoolDataProviderCallerSession struct { Contract *SparkPoolDataProviderCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SparkPoolDataProviderCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SparkPoolDataProviderCallerSession) ADDRESSESPROVIDER ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) ADDRESSESPROVIDER() (common.Address, error)
ADDRESSESPROVIDER is a free data retrieval call binding the contract method 0x0542975c.
Solidity: function ADDRESSES_PROVIDER() view returns(address)
func (*SparkPoolDataProviderCallerSession) GetATokenTotalSupply ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) 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 (*SparkPoolDataProviderCallerSession) GetAllATokens ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetAllATokens() ([]IPoolDataProviderTokenData, error)
GetAllATokens is a free data retrieval call binding the contract method 0xf561ae41.
Solidity: function getAllATokens() view returns((string,address)[])
func (*SparkPoolDataProviderCallerSession) GetAllReservesTokens ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetAllReservesTokens() ([]IPoolDataProviderTokenData, error)
GetAllReservesTokens is a free data retrieval call binding the contract method 0xb316ff89.
Solidity: function getAllReservesTokens() view returns((string,address)[])
func (*SparkPoolDataProviderCallerSession) GetDebtCeiling ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) 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 (*SparkPoolDataProviderCallerSession) GetDebtCeilingDecimals ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetDebtCeilingDecimals() (*big.Int, error)
GetDebtCeilingDecimals is a free data retrieval call binding the contract method 0x69b169e1.
Solidity: function getDebtCeilingDecimals() pure returns(uint256)
func (*SparkPoolDataProviderCallerSession) GetFlashLoanEnabled ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) GetFlashLoanEnabled(asset common.Address) (bool, error)
GetFlashLoanEnabled is a free data retrieval call binding the contract method 0xd7ed3ef4.
Solidity: function getFlashLoanEnabled(address asset) view returns(bool)
func (*SparkPoolDataProviderCallerSession) GetInterestRateStrategyAddress ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) 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 (*SparkPoolDataProviderCallerSession) GetLiquidationProtocolFee ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) 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 (*SparkPoolDataProviderCallerSession) GetPaused ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) 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 (*SparkPoolDataProviderCallerSession) GetReserveCaps ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) 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 (*SparkPoolDataProviderCallerSession) GetReserveConfigurationData ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) 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 (*SparkPoolDataProviderCallerSession) GetReserveData ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) 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 (*SparkPoolDataProviderCallerSession) GetReserveEModeCategory ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) 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 (*SparkPoolDataProviderCallerSession) GetReserveTokensAddresses ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) 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 (*SparkPoolDataProviderCallerSession) GetSiloedBorrowing ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) 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 (*SparkPoolDataProviderCallerSession) GetTotalDebt ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) 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 (*SparkPoolDataProviderCallerSession) GetUnbackedMintCap ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) 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 (*SparkPoolDataProviderCallerSession) GetUserReserveData ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderCallerSession) 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 SparkPoolDataProviderFilterer ¶
type SparkPoolDataProviderFilterer struct {
// contains filtered or unexported fields
}
SparkPoolDataProviderFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSparkPoolDataProviderFilterer ¶
func NewSparkPoolDataProviderFilterer(address common.Address, filterer bind.ContractFilterer) (*SparkPoolDataProviderFilterer, error)
NewSparkPoolDataProviderFilterer creates a new log filterer instance of SparkPoolDataProvider, bound to a specific deployed contract.
type SparkPoolDataProviderRaw ¶
type SparkPoolDataProviderRaw struct {
Contract *SparkPoolDataProvider // Generic contract binding to access the raw methods on
}
SparkPoolDataProviderRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SparkPoolDataProviderRaw) Call ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderRaw) 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 (*SparkPoolDataProviderRaw) Transact ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SparkPoolDataProviderRaw) Transfer ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderRaw) 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 SparkPoolDataProviderSession ¶
type SparkPoolDataProviderSession struct { Contract *SparkPoolDataProvider // 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 }
SparkPoolDataProviderSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SparkPoolDataProviderSession) ADDRESSESPROVIDER ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) ADDRESSESPROVIDER() (common.Address, error)
ADDRESSESPROVIDER is a free data retrieval call binding the contract method 0x0542975c.
Solidity: function ADDRESSES_PROVIDER() view returns(address)
func (*SparkPoolDataProviderSession) GetATokenTotalSupply ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) 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 (*SparkPoolDataProviderSession) GetAllATokens ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetAllATokens() ([]IPoolDataProviderTokenData, error)
GetAllATokens is a free data retrieval call binding the contract method 0xf561ae41.
Solidity: function getAllATokens() view returns((string,address)[])
func (*SparkPoolDataProviderSession) GetAllReservesTokens ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetAllReservesTokens() ([]IPoolDataProviderTokenData, error)
GetAllReservesTokens is a free data retrieval call binding the contract method 0xb316ff89.
Solidity: function getAllReservesTokens() view returns((string,address)[])
func (*SparkPoolDataProviderSession) GetDebtCeiling ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) 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 (*SparkPoolDataProviderSession) GetDebtCeilingDecimals ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetDebtCeilingDecimals() (*big.Int, error)
GetDebtCeilingDecimals is a free data retrieval call binding the contract method 0x69b169e1.
Solidity: function getDebtCeilingDecimals() pure returns(uint256)
func (*SparkPoolDataProviderSession) GetFlashLoanEnabled ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) GetFlashLoanEnabled(asset common.Address) (bool, error)
GetFlashLoanEnabled is a free data retrieval call binding the contract method 0xd7ed3ef4.
Solidity: function getFlashLoanEnabled(address asset) view returns(bool)
func (*SparkPoolDataProviderSession) GetInterestRateStrategyAddress ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) 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 (*SparkPoolDataProviderSession) GetLiquidationProtocolFee ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) 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 (*SparkPoolDataProviderSession) GetPaused ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) 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 (*SparkPoolDataProviderSession) GetReserveCaps ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) 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 (*SparkPoolDataProviderSession) GetReserveConfigurationData ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) 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 (*SparkPoolDataProviderSession) GetReserveData ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) 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 (*SparkPoolDataProviderSession) GetReserveEModeCategory ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) 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 (*SparkPoolDataProviderSession) GetReserveTokensAddresses ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) 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 (*SparkPoolDataProviderSession) GetSiloedBorrowing ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) 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 (*SparkPoolDataProviderSession) GetTotalDebt ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) 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 (*SparkPoolDataProviderSession) GetUnbackedMintCap ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) 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 (*SparkPoolDataProviderSession) GetUserReserveData ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderSession) 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 SparkPoolDataProviderTransactor ¶
type SparkPoolDataProviderTransactor struct {
// contains filtered or unexported fields
}
SparkPoolDataProviderTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSparkPoolDataProviderTransactor ¶
func NewSparkPoolDataProviderTransactor(address common.Address, transactor bind.ContractTransactor) (*SparkPoolDataProviderTransactor, error)
NewSparkPoolDataProviderTransactor creates a new write-only instance of SparkPoolDataProvider, bound to a specific deployed contract.
type SparkPoolDataProviderTransactorRaw ¶
type SparkPoolDataProviderTransactorRaw struct {
Contract *SparkPoolDataProviderTransactor // Generic write-only contract binding to access the raw methods on
}
SparkPoolDataProviderTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SparkPoolDataProviderTransactorRaw) Transact ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SparkPoolDataProviderTransactorRaw) Transfer ¶
func (_SparkPoolDataProvider *SparkPoolDataProviderTransactorRaw) 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 SparkPoolDataProviderTransactorSession ¶
type SparkPoolDataProviderTransactorSession struct { Contract *SparkPoolDataProviderTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SparkPoolDataProviderTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.