aaveDefaultReserveInterestRateStrategy

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AaveDefaultReserveInterestRateStrategyABI = AaveDefaultReserveInterestRateStrategyMetaData.ABI

AaveDefaultReserveInterestRateStrategyABI is the input ABI used to generate the binding from. Deprecated: Use AaveDefaultReserveInterestRateStrategyMetaData.ABI instead.

View Source
var AaveDefaultReserveInterestRateStrategyMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"ADDRESSES_PROVIDER\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_EXCESS_STABLE_TO_TOTAL_DEBT_RATIO\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_EXCESS_USAGE_RATIO\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OPTIMAL_STABLE_TO_TOTAL_DEBT_RATIO\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OPTIMAL_USAGE_RATIO\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"unbacked\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidityAdded\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidityTaken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalStableDebt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalVariableDebt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"averageStableBorrowRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveFactor\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"aToken\",\"type\":\"address\"}],\"internalType\":\"structIDefaultReserveInterestRateStrategy.CalculateInterestRatesParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"calculateInterestRates\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBaseStableBorrowRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBaseVariableBorrowRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMaxVariableBorrowRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStableRateExcessOffset\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStableRateSlope1\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStableRateSlope2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVariableRateSlope1\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVariableRateSlope2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

AaveDefaultReserveInterestRateStrategyMetaData contains all meta data concerning the AaveDefaultReserveInterestRateStrategy contract.

Functions

This section is empty.

Types

type AaveDefaultReserveInterestRateStrategy

type AaveDefaultReserveInterestRateStrategy struct {
	AaveDefaultReserveInterestRateStrategyCaller     // Read-only binding to the contract
	AaveDefaultReserveInterestRateStrategyTransactor // Write-only binding to the contract
	AaveDefaultReserveInterestRateStrategyFilterer   // Log filterer for contract events
}

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

func NewAaveDefaultReserveInterestRateStrategy

func NewAaveDefaultReserveInterestRateStrategy(address common.Address, backend bind.ContractBackend) (*AaveDefaultReserveInterestRateStrategy, error)

NewAaveDefaultReserveInterestRateStrategy creates a new instance of AaveDefaultReserveInterestRateStrategy, bound to a specific deployed contract.

type AaveDefaultReserveInterestRateStrategyCaller

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

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

func NewAaveDefaultReserveInterestRateStrategyCaller

func NewAaveDefaultReserveInterestRateStrategyCaller(address common.Address, caller bind.ContractCaller) (*AaveDefaultReserveInterestRateStrategyCaller, error)

NewAaveDefaultReserveInterestRateStrategyCaller creates a new read-only instance of AaveDefaultReserveInterestRateStrategy, bound to a specific deployed contract.

func (*AaveDefaultReserveInterestRateStrategyCaller) ADDRESSESPROVIDER

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCaller) 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 (*AaveDefaultReserveInterestRateStrategyCaller) CalculateInterestRates

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCaller) CalculateInterestRates(opts *bind.CallOpts, params IDefaultReserveInterestRateStrategyCalculateInterestRatesParams) (*big.Int, *big.Int, *big.Int, error)

CalculateInterestRates is a free data retrieval call binding the contract method 0xa5898709.

Solidity: function calculateInterestRates((uint256,uint256,uint256,uint256,uint256,uint256,uint256,address,address) params) view returns(uint256, uint256, uint256)

func (*AaveDefaultReserveInterestRateStrategyCaller) GetBaseStableBorrowRate

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCaller) GetBaseStableBorrowRate(opts *bind.CallOpts) (*big.Int, error)

GetBaseStableBorrowRate is a free data retrieval call binding the contract method 0xacd78686.

Solidity: function getBaseStableBorrowRate() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCaller) GetBaseVariableBorrowRate

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCaller) GetBaseVariableBorrowRate(opts *bind.CallOpts) (*big.Int, error)

GetBaseVariableBorrowRate is a free data retrieval call binding the contract method 0x34762ca5.

Solidity: function getBaseVariableBorrowRate() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCaller) GetMaxVariableBorrowRate

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCaller) GetMaxVariableBorrowRate(opts *bind.CallOpts) (*big.Int, error)

GetMaxVariableBorrowRate is a free data retrieval call binding the contract method 0x80031e37.

Solidity: function getMaxVariableBorrowRate() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCaller) GetStableRateExcessOffset

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCaller) GetStableRateExcessOffset(opts *bind.CallOpts) (*big.Int, error)

GetStableRateExcessOffset is a free data retrieval call binding the contract method 0xbc626908.

Solidity: function getStableRateExcessOffset() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCaller) GetStableRateSlope1

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCaller) GetStableRateSlope1(opts *bind.CallOpts) (*big.Int, error)

GetStableRateSlope1 is a free data retrieval call binding the contract method 0xd5cd7391.

Solidity: function getStableRateSlope1() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCaller) GetStableRateSlope2

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCaller) GetStableRateSlope2(opts *bind.CallOpts) (*big.Int, error)

GetStableRateSlope2 is a free data retrieval call binding the contract method 0x14e32da4.

Solidity: function getStableRateSlope2() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCaller) GetVariableRateSlope1

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCaller) GetVariableRateSlope1(opts *bind.CallOpts) (*big.Int, error)

GetVariableRateSlope1 is a free data retrieval call binding the contract method 0x0b3429a2.

Solidity: function getVariableRateSlope1() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCaller) GetVariableRateSlope2

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCaller) GetVariableRateSlope2(opts *bind.CallOpts) (*big.Int, error)

GetVariableRateSlope2 is a free data retrieval call binding the contract method 0xf4202409.

Solidity: function getVariableRateSlope2() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCaller) MAXEXCESSSTABLETOTOTALDEBTRATIO

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCaller) MAXEXCESSSTABLETOTOTALDEBTRATIO(opts *bind.CallOpts) (*big.Int, error)

MAXEXCESSSTABLETOTOTALDEBTRATIO is a free data retrieval call binding the contract method 0xfe5fd698.

Solidity: function MAX_EXCESS_STABLE_TO_TOTAL_DEBT_RATIO() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCaller) MAXEXCESSUSAGERATIO

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCaller) MAXEXCESSUSAGERATIO(opts *bind.CallOpts) (*big.Int, error)

MAXEXCESSUSAGERATIO is a free data retrieval call binding the contract method 0xa9c622f8.

Solidity: function MAX_EXCESS_USAGE_RATIO() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCaller) OPTIMALSTABLETOTOTALDEBTRATIO

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCaller) OPTIMALSTABLETOTOTALDEBTRATIO(opts *bind.CallOpts) (*big.Int, error)

OPTIMALSTABLETOTOTALDEBTRATIO is a free data retrieval call binding the contract method 0x6fb92589.

Solidity: function OPTIMAL_STABLE_TO_TOTAL_DEBT_RATIO() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCaller) OPTIMALUSAGERATIO

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCaller) OPTIMALUSAGERATIO(opts *bind.CallOpts) (*big.Int, error)

OPTIMALUSAGERATIO is a free data retrieval call binding the contract method 0x54c365c6.

Solidity: function OPTIMAL_USAGE_RATIO() view returns(uint256)

type AaveDefaultReserveInterestRateStrategyCallerRaw

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

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

func (*AaveDefaultReserveInterestRateStrategyCallerRaw) Call

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCallerRaw) 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 AaveDefaultReserveInterestRateStrategyCallerSession

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

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

func (*AaveDefaultReserveInterestRateStrategyCallerSession) ADDRESSESPROVIDER

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCallerSession) ADDRESSESPROVIDER() (common.Address, error)

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

Solidity: function ADDRESSES_PROVIDER() view returns(address)

func (*AaveDefaultReserveInterestRateStrategyCallerSession) CalculateInterestRates

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCallerSession) CalculateInterestRates(params IDefaultReserveInterestRateStrategyCalculateInterestRatesParams) (*big.Int, *big.Int, *big.Int, error)

CalculateInterestRates is a free data retrieval call binding the contract method 0xa5898709.

Solidity: function calculateInterestRates((uint256,uint256,uint256,uint256,uint256,uint256,uint256,address,address) params) view returns(uint256, uint256, uint256)

func (*AaveDefaultReserveInterestRateStrategyCallerSession) GetBaseStableBorrowRate

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCallerSession) GetBaseStableBorrowRate() (*big.Int, error)

GetBaseStableBorrowRate is a free data retrieval call binding the contract method 0xacd78686.

Solidity: function getBaseStableBorrowRate() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCallerSession) GetBaseVariableBorrowRate

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCallerSession) GetBaseVariableBorrowRate() (*big.Int, error)

GetBaseVariableBorrowRate is a free data retrieval call binding the contract method 0x34762ca5.

Solidity: function getBaseVariableBorrowRate() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCallerSession) GetMaxVariableBorrowRate

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCallerSession) GetMaxVariableBorrowRate() (*big.Int, error)

GetMaxVariableBorrowRate is a free data retrieval call binding the contract method 0x80031e37.

Solidity: function getMaxVariableBorrowRate() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCallerSession) GetStableRateExcessOffset

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCallerSession) GetStableRateExcessOffset() (*big.Int, error)

GetStableRateExcessOffset is a free data retrieval call binding the contract method 0xbc626908.

Solidity: function getStableRateExcessOffset() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCallerSession) GetStableRateSlope1

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCallerSession) GetStableRateSlope1() (*big.Int, error)

GetStableRateSlope1 is a free data retrieval call binding the contract method 0xd5cd7391.

Solidity: function getStableRateSlope1() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCallerSession) GetStableRateSlope2

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCallerSession) GetStableRateSlope2() (*big.Int, error)

GetStableRateSlope2 is a free data retrieval call binding the contract method 0x14e32da4.

Solidity: function getStableRateSlope2() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCallerSession) GetVariableRateSlope1

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCallerSession) GetVariableRateSlope1() (*big.Int, error)

GetVariableRateSlope1 is a free data retrieval call binding the contract method 0x0b3429a2.

Solidity: function getVariableRateSlope1() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCallerSession) GetVariableRateSlope2

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCallerSession) GetVariableRateSlope2() (*big.Int, error)

GetVariableRateSlope2 is a free data retrieval call binding the contract method 0xf4202409.

Solidity: function getVariableRateSlope2() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCallerSession) MAXEXCESSSTABLETOTOTALDEBTRATIO

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCallerSession) MAXEXCESSSTABLETOTOTALDEBTRATIO() (*big.Int, error)

MAXEXCESSSTABLETOTOTALDEBTRATIO is a free data retrieval call binding the contract method 0xfe5fd698.

Solidity: function MAX_EXCESS_STABLE_TO_TOTAL_DEBT_RATIO() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCallerSession) MAXEXCESSUSAGERATIO

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCallerSession) MAXEXCESSUSAGERATIO() (*big.Int, error)

MAXEXCESSUSAGERATIO is a free data retrieval call binding the contract method 0xa9c622f8.

Solidity: function MAX_EXCESS_USAGE_RATIO() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCallerSession) OPTIMALSTABLETOTOTALDEBTRATIO

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCallerSession) OPTIMALSTABLETOTOTALDEBTRATIO() (*big.Int, error)

OPTIMALSTABLETOTOTALDEBTRATIO is a free data retrieval call binding the contract method 0x6fb92589.

Solidity: function OPTIMAL_STABLE_TO_TOTAL_DEBT_RATIO() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategyCallerSession) OPTIMALUSAGERATIO

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyCallerSession) OPTIMALUSAGERATIO() (*big.Int, error)

OPTIMALUSAGERATIO is a free data retrieval call binding the contract method 0x54c365c6.

Solidity: function OPTIMAL_USAGE_RATIO() view returns(uint256)

type AaveDefaultReserveInterestRateStrategyFilterer

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

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

func NewAaveDefaultReserveInterestRateStrategyFilterer

func NewAaveDefaultReserveInterestRateStrategyFilterer(address common.Address, filterer bind.ContractFilterer) (*AaveDefaultReserveInterestRateStrategyFilterer, error)

NewAaveDefaultReserveInterestRateStrategyFilterer creates a new log filterer instance of AaveDefaultReserveInterestRateStrategy, bound to a specific deployed contract.

type AaveDefaultReserveInterestRateStrategyRaw

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

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

func (*AaveDefaultReserveInterestRateStrategyRaw) Call

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyRaw) 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 (*AaveDefaultReserveInterestRateStrategyRaw) Transact

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

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

func (*AaveDefaultReserveInterestRateStrategyRaw) Transfer

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyRaw) 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 AaveDefaultReserveInterestRateStrategySession

type AaveDefaultReserveInterestRateStrategySession struct {
	Contract     *AaveDefaultReserveInterestRateStrategy // 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
}

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

func (*AaveDefaultReserveInterestRateStrategySession) ADDRESSESPROVIDER

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategySession) ADDRESSESPROVIDER() (common.Address, error)

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

Solidity: function ADDRESSES_PROVIDER() view returns(address)

func (*AaveDefaultReserveInterestRateStrategySession) CalculateInterestRates

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategySession) CalculateInterestRates(params IDefaultReserveInterestRateStrategyCalculateInterestRatesParams) (*big.Int, *big.Int, *big.Int, error)

CalculateInterestRates is a free data retrieval call binding the contract method 0xa5898709.

Solidity: function calculateInterestRates((uint256,uint256,uint256,uint256,uint256,uint256,uint256,address,address) params) view returns(uint256, uint256, uint256)

func (*AaveDefaultReserveInterestRateStrategySession) GetBaseStableBorrowRate

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategySession) GetBaseStableBorrowRate() (*big.Int, error)

GetBaseStableBorrowRate is a free data retrieval call binding the contract method 0xacd78686.

Solidity: function getBaseStableBorrowRate() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategySession) GetBaseVariableBorrowRate

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategySession) GetBaseVariableBorrowRate() (*big.Int, error)

GetBaseVariableBorrowRate is a free data retrieval call binding the contract method 0x34762ca5.

Solidity: function getBaseVariableBorrowRate() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategySession) GetMaxVariableBorrowRate

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategySession) GetMaxVariableBorrowRate() (*big.Int, error)

GetMaxVariableBorrowRate is a free data retrieval call binding the contract method 0x80031e37.

Solidity: function getMaxVariableBorrowRate() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategySession) GetStableRateExcessOffset

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategySession) GetStableRateExcessOffset() (*big.Int, error)

GetStableRateExcessOffset is a free data retrieval call binding the contract method 0xbc626908.

Solidity: function getStableRateExcessOffset() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategySession) GetStableRateSlope1

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategySession) GetStableRateSlope1() (*big.Int, error)

GetStableRateSlope1 is a free data retrieval call binding the contract method 0xd5cd7391.

Solidity: function getStableRateSlope1() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategySession) GetStableRateSlope2

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategySession) GetStableRateSlope2() (*big.Int, error)

GetStableRateSlope2 is a free data retrieval call binding the contract method 0x14e32da4.

Solidity: function getStableRateSlope2() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategySession) GetVariableRateSlope1

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategySession) GetVariableRateSlope1() (*big.Int, error)

GetVariableRateSlope1 is a free data retrieval call binding the contract method 0x0b3429a2.

Solidity: function getVariableRateSlope1() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategySession) GetVariableRateSlope2

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategySession) GetVariableRateSlope2() (*big.Int, error)

GetVariableRateSlope2 is a free data retrieval call binding the contract method 0xf4202409.

Solidity: function getVariableRateSlope2() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategySession) MAXEXCESSSTABLETOTOTALDEBTRATIO

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategySession) MAXEXCESSSTABLETOTOTALDEBTRATIO() (*big.Int, error)

MAXEXCESSSTABLETOTOTALDEBTRATIO is a free data retrieval call binding the contract method 0xfe5fd698.

Solidity: function MAX_EXCESS_STABLE_TO_TOTAL_DEBT_RATIO() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategySession) MAXEXCESSUSAGERATIO

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategySession) MAXEXCESSUSAGERATIO() (*big.Int, error)

MAXEXCESSUSAGERATIO is a free data retrieval call binding the contract method 0xa9c622f8.

Solidity: function MAX_EXCESS_USAGE_RATIO() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategySession) OPTIMALSTABLETOTOTALDEBTRATIO

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategySession) OPTIMALSTABLETOTOTALDEBTRATIO() (*big.Int, error)

OPTIMALSTABLETOTOTALDEBTRATIO is a free data retrieval call binding the contract method 0x6fb92589.

Solidity: function OPTIMAL_STABLE_TO_TOTAL_DEBT_RATIO() view returns(uint256)

func (*AaveDefaultReserveInterestRateStrategySession) OPTIMALUSAGERATIO

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategySession) OPTIMALUSAGERATIO() (*big.Int, error)

OPTIMALUSAGERATIO is a free data retrieval call binding the contract method 0x54c365c6.

Solidity: function OPTIMAL_USAGE_RATIO() view returns(uint256)

type AaveDefaultReserveInterestRateStrategyTransactor

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

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

func NewAaveDefaultReserveInterestRateStrategyTransactor

func NewAaveDefaultReserveInterestRateStrategyTransactor(address common.Address, transactor bind.ContractTransactor) (*AaveDefaultReserveInterestRateStrategyTransactor, error)

NewAaveDefaultReserveInterestRateStrategyTransactor creates a new write-only instance of AaveDefaultReserveInterestRateStrategy, bound to a specific deployed contract.

type AaveDefaultReserveInterestRateStrategyTransactorRaw

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

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

func (*AaveDefaultReserveInterestRateStrategyTransactorRaw) Transact

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

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

func (*AaveDefaultReserveInterestRateStrategyTransactorRaw) Transfer

func (_AaveDefaultReserveInterestRateStrategy *AaveDefaultReserveInterestRateStrategyTransactorRaw) 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 AaveDefaultReserveInterestRateStrategyTransactorSession

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

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

type IDefaultReserveInterestRateStrategyCalculateInterestRatesParams

type IDefaultReserveInterestRateStrategyCalculateInterestRatesParams struct {
	Unbacked                *big.Int
	LiquidityAdded          *big.Int
	LiquidityTaken          *big.Int
	TotalStableDebt         *big.Int
	TotalVariableDebt       *big.Int
	AverageStableBorrowRate *big.Int
	ReserveFactor           *big.Int
	Reserve                 common.Address
	AToken                  common.Address
}

IDefaultReserveInterestRateStrategyCalculateInterestRatesParams 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