Documentation
¶
Index ¶
- Variables
- type Bindings
- type BindingsBorrow
- type BindingsBorrowIterator
- type BindingsCaller
- func (_Bindings *BindingsCaller) FLASHLOANPREMIUMTOTAL(opts *bind.CallOpts) (*big.Int, error)
- func (_Bindings *BindingsCaller) GetAddressesProvider(opts *bind.CallOpts) (common.Address, error)
- func (_Bindings *BindingsCaller) GetConfiguration(opts *bind.CallOpts, asset common.Address) (DataTypesReserveConfigurationMap, error)
- func (_Bindings *BindingsCaller) GetReserveData(opts *bind.CallOpts, asset common.Address) (DataTypesReserveData, error)
- func (_Bindings *BindingsCaller) GetReserveNormalizedIncome(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
- func (_Bindings *BindingsCaller) GetReserveNormalizedVariableDebt(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
- func (_Bindings *BindingsCaller) GetReservesList(opts *bind.CallOpts) ([]common.Address, error)
- func (_Bindings *BindingsCaller) GetUserAccountData(opts *bind.CallOpts, user common.Address) (struct{ ... }, error)
- func (_Bindings *BindingsCaller) GetUserConfiguration(opts *bind.CallOpts, user common.Address) (DataTypesUserConfigurationMap, error)
- func (_Bindings *BindingsCaller) LENDINGPOOLREVISION(opts *bind.CallOpts) (*big.Int, error)
- func (_Bindings *BindingsCaller) MAXNUMBERRESERVES(opts *bind.CallOpts) (*big.Int, error)
- func (_Bindings *BindingsCaller) MAXSTABLERATEBORROWSIZEPERCENT(opts *bind.CallOpts) (*big.Int, error)
- func (_Bindings *BindingsCaller) Paused(opts *bind.CallOpts) (bool, error)
- type BindingsCallerRaw
- type BindingsCallerSession
- func (_Bindings *BindingsCallerSession) FLASHLOANPREMIUMTOTAL() (*big.Int, error)
- func (_Bindings *BindingsCallerSession) GetAddressesProvider() (common.Address, error)
- func (_Bindings *BindingsCallerSession) GetConfiguration(asset common.Address) (DataTypesReserveConfigurationMap, error)
- func (_Bindings *BindingsCallerSession) GetReserveData(asset common.Address) (DataTypesReserveData, error)
- func (_Bindings *BindingsCallerSession) GetReserveNormalizedIncome(asset common.Address) (*big.Int, error)
- func (_Bindings *BindingsCallerSession) GetReserveNormalizedVariableDebt(asset common.Address) (*big.Int, error)
- func (_Bindings *BindingsCallerSession) GetReservesList() ([]common.Address, error)
- func (_Bindings *BindingsCallerSession) GetUserAccountData(user common.Address) (struct{ ... }, error)
- func (_Bindings *BindingsCallerSession) GetUserConfiguration(user common.Address) (DataTypesUserConfigurationMap, error)
- func (_Bindings *BindingsCallerSession) LENDINGPOOLREVISION() (*big.Int, error)
- func (_Bindings *BindingsCallerSession) MAXNUMBERRESERVES() (*big.Int, error)
- func (_Bindings *BindingsCallerSession) MAXSTABLERATEBORROWSIZEPERCENT() (*big.Int, error)
- func (_Bindings *BindingsCallerSession) Paused() (bool, error)
- type BindingsDeposit
- type BindingsDepositIterator
- type BindingsFilterer
- func (_Bindings *BindingsFilterer) FilterBorrow(opts *bind.FilterOpts, reserve []common.Address, onBehalfOf []common.Address, ...) (*BindingsBorrowIterator, error)
- func (_Bindings *BindingsFilterer) FilterDeposit(opts *bind.FilterOpts, reserve []common.Address, onBehalfOf []common.Address, ...) (*BindingsDepositIterator, error)
- func (_Bindings *BindingsFilterer) FilterFlashLoan(opts *bind.FilterOpts, target []common.Address, initiator []common.Address, ...) (*BindingsFlashLoanIterator, error)
- func (_Bindings *BindingsFilterer) FilterLiquidationCall(opts *bind.FilterOpts, collateralAsset []common.Address, ...) (*BindingsLiquidationCallIterator, error)
- func (_Bindings *BindingsFilterer) FilterPaused(opts *bind.FilterOpts) (*BindingsPausedIterator, error)
- func (_Bindings *BindingsFilterer) FilterRebalanceStableBorrowRate(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*BindingsRebalanceStableBorrowRateIterator, error)
- func (_Bindings *BindingsFilterer) FilterRepay(opts *bind.FilterOpts, reserve []common.Address, user []common.Address, ...) (*BindingsRepayIterator, error)
- func (_Bindings *BindingsFilterer) FilterReserveDataUpdated(opts *bind.FilterOpts, reserve []common.Address) (*BindingsReserveDataUpdatedIterator, error)
- func (_Bindings *BindingsFilterer) FilterReserveUsedAsCollateralDisabled(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*BindingsReserveUsedAsCollateralDisabledIterator, error)
- func (_Bindings *BindingsFilterer) FilterReserveUsedAsCollateralEnabled(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*BindingsReserveUsedAsCollateralEnabledIterator, error)
- func (_Bindings *BindingsFilterer) FilterSwap(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*BindingsSwapIterator, error)
- func (_Bindings *BindingsFilterer) FilterUnpaused(opts *bind.FilterOpts) (*BindingsUnpausedIterator, error)
- func (_Bindings *BindingsFilterer) FilterWithdraw(opts *bind.FilterOpts, reserve []common.Address, user []common.Address, ...) (*BindingsWithdrawIterator, error)
- func (_Bindings *BindingsFilterer) ParseBorrow(log types.Log) (*BindingsBorrow, error)
- func (_Bindings *BindingsFilterer) ParseDeposit(log types.Log) (*BindingsDeposit, error)
- func (_Bindings *BindingsFilterer) ParseFlashLoan(log types.Log) (*BindingsFlashLoan, error)
- func (_Bindings *BindingsFilterer) ParseLiquidationCall(log types.Log) (*BindingsLiquidationCall, error)
- func (_Bindings *BindingsFilterer) ParsePaused(log types.Log) (*BindingsPaused, error)
- func (_Bindings *BindingsFilterer) ParseRebalanceStableBorrowRate(log types.Log) (*BindingsRebalanceStableBorrowRate, error)
- func (_Bindings *BindingsFilterer) ParseRepay(log types.Log) (*BindingsRepay, error)
- func (_Bindings *BindingsFilterer) ParseReserveDataUpdated(log types.Log) (*BindingsReserveDataUpdated, error)
- func (_Bindings *BindingsFilterer) ParseReserveUsedAsCollateralDisabled(log types.Log) (*BindingsReserveUsedAsCollateralDisabled, error)
- func (_Bindings *BindingsFilterer) ParseReserveUsedAsCollateralEnabled(log types.Log) (*BindingsReserveUsedAsCollateralEnabled, error)
- func (_Bindings *BindingsFilterer) ParseSwap(log types.Log) (*BindingsSwap, error)
- func (_Bindings *BindingsFilterer) ParseUnpaused(log types.Log) (*BindingsUnpaused, error)
- func (_Bindings *BindingsFilterer) ParseWithdraw(log types.Log) (*BindingsWithdraw, error)
- func (_Bindings *BindingsFilterer) WatchBorrow(opts *bind.WatchOpts, sink chan<- *BindingsBorrow, reserve []common.Address, ...) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *BindingsDeposit, reserve []common.Address, ...) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchFlashLoan(opts *bind.WatchOpts, sink chan<- *BindingsFlashLoan, target []common.Address, ...) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchLiquidationCall(opts *bind.WatchOpts, sink chan<- *BindingsLiquidationCall, ...) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *BindingsPaused) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchRebalanceStableBorrowRate(opts *bind.WatchOpts, sink chan<- *BindingsRebalanceStableBorrowRate, ...) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchRepay(opts *bind.WatchOpts, sink chan<- *BindingsRepay, reserve []common.Address, ...) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchReserveDataUpdated(opts *bind.WatchOpts, sink chan<- *BindingsReserveDataUpdated, ...) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchReserveUsedAsCollateralDisabled(opts *bind.WatchOpts, sink chan<- *BindingsReserveUsedAsCollateralDisabled, ...) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchReserveUsedAsCollateralEnabled(opts *bind.WatchOpts, sink chan<- *BindingsReserveUsedAsCollateralEnabled, ...) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *BindingsSwap, reserve []common.Address, ...) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *BindingsUnpaused) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *BindingsWithdraw, reserve []common.Address, ...) (event.Subscription, error)
- type BindingsFlashLoan
- type BindingsFlashLoanIterator
- type BindingsLiquidationCall
- type BindingsLiquidationCallIterator
- type BindingsPaused
- type BindingsPausedIterator
- type BindingsRaw
- func (_Bindings *BindingsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Bindings *BindingsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Bindings *BindingsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BindingsRebalanceStableBorrowRate
- type BindingsRebalanceStableBorrowRateIterator
- type BindingsRepay
- type BindingsRepayIterator
- type BindingsReserveDataUpdated
- type BindingsReserveDataUpdatedIterator
- type BindingsReserveUsedAsCollateralDisabled
- type BindingsReserveUsedAsCollateralDisabledIterator
- type BindingsReserveUsedAsCollateralEnabled
- type BindingsReserveUsedAsCollateralEnabledIterator
- type BindingsSession
- func (_Bindings *BindingsSession) Borrow(asset common.Address, amount *big.Int, interestRateMode *big.Int, ...) (*types.Transaction, error)
- func (_Bindings *BindingsSession) Deposit(asset common.Address, amount *big.Int, onBehalfOf common.Address, ...) (*types.Transaction, error)
- func (_Bindings *BindingsSession) FLASHLOANPREMIUMTOTAL() (*big.Int, error)
- func (_Bindings *BindingsSession) FinalizeTransfer(asset common.Address, from common.Address, to common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Bindings *BindingsSession) FlashLoan(receiverAddress common.Address, assets []common.Address, amounts []*big.Int, ...) (*types.Transaction, error)
- func (_Bindings *BindingsSession) GetAddressesProvider() (common.Address, error)
- func (_Bindings *BindingsSession) GetConfiguration(asset common.Address) (DataTypesReserveConfigurationMap, error)
- func (_Bindings *BindingsSession) GetReserveData(asset common.Address) (DataTypesReserveData, error)
- func (_Bindings *BindingsSession) GetReserveNormalizedIncome(asset common.Address) (*big.Int, error)
- func (_Bindings *BindingsSession) GetReserveNormalizedVariableDebt(asset common.Address) (*big.Int, error)
- func (_Bindings *BindingsSession) GetReservesList() ([]common.Address, error)
- func (_Bindings *BindingsSession) GetUserAccountData(user common.Address) (struct{ ... }, error)
- func (_Bindings *BindingsSession) GetUserConfiguration(user common.Address) (DataTypesUserConfigurationMap, error)
- func (_Bindings *BindingsSession) InitReserve(asset common.Address, aTokenAddress common.Address, ...) (*types.Transaction, error)
- func (_Bindings *BindingsSession) Initialize(provider common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsSession) LENDINGPOOLREVISION() (*big.Int, error)
- func (_Bindings *BindingsSession) LiquidationCall(collateralAsset common.Address, debtAsset common.Address, user common.Address, ...) (*types.Transaction, error)
- func (_Bindings *BindingsSession) MAXNUMBERRESERVES() (*big.Int, error)
- func (_Bindings *BindingsSession) MAXSTABLERATEBORROWSIZEPERCENT() (*big.Int, error)
- func (_Bindings *BindingsSession) Paused() (bool, error)
- func (_Bindings *BindingsSession) RebalanceStableBorrowRate(asset common.Address, user common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsSession) Repay(asset common.Address, amount *big.Int, rateMode *big.Int, ...) (*types.Transaction, error)
- func (_Bindings *BindingsSession) SetConfiguration(asset common.Address, configuration *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsSession) SetPause(val bool) (*types.Transaction, error)
- func (_Bindings *BindingsSession) SetReserveInterestRateStrategyAddress(asset common.Address, rateStrategyAddress common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsSession) SetUserUseReserveAsCollateral(asset common.Address, useAsCollateral bool) (*types.Transaction, error)
- func (_Bindings *BindingsSession) SwapBorrowRateMode(asset common.Address, rateMode *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsSession) Withdraw(asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)
- type BindingsSwap
- type BindingsSwapIterator
- type BindingsTransactor
- func (_Bindings *BindingsTransactor) Borrow(opts *bind.TransactOpts, asset common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) Deposit(opts *bind.TransactOpts, asset common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) FinalizeTransfer(opts *bind.TransactOpts, asset common.Address, from common.Address, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) FlashLoan(opts *bind.TransactOpts, receiverAddress common.Address, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) InitReserve(opts *bind.TransactOpts, asset common.Address, aTokenAddress common.Address, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) Initialize(opts *bind.TransactOpts, provider common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) LiquidationCall(opts *bind.TransactOpts, collateralAsset common.Address, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) RebalanceStableBorrowRate(opts *bind.TransactOpts, asset common.Address, user common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) Repay(opts *bind.TransactOpts, asset common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) SetConfiguration(opts *bind.TransactOpts, asset common.Address, configuration *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) SetPause(opts *bind.TransactOpts, val bool) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) SetReserveInterestRateStrategyAddress(opts *bind.TransactOpts, asset common.Address, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) SetUserUseReserveAsCollateral(opts *bind.TransactOpts, asset common.Address, useAsCollateral bool) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) SwapBorrowRateMode(opts *bind.TransactOpts, asset common.Address, rateMode *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) Withdraw(opts *bind.TransactOpts, asset common.Address, amount *big.Int, ...) (*types.Transaction, error)
- type BindingsTransactorRaw
- type BindingsTransactorSession
- func (_Bindings *BindingsTransactorSession) Borrow(asset common.Address, amount *big.Int, interestRateMode *big.Int, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) Deposit(asset common.Address, amount *big.Int, onBehalfOf common.Address, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) FinalizeTransfer(asset common.Address, from common.Address, to common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) FlashLoan(receiverAddress common.Address, assets []common.Address, amounts []*big.Int, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) InitReserve(asset common.Address, aTokenAddress common.Address, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) Initialize(provider common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) LiquidationCall(collateralAsset common.Address, debtAsset common.Address, user common.Address, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) RebalanceStableBorrowRate(asset common.Address, user common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) Repay(asset common.Address, amount *big.Int, rateMode *big.Int, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) SetConfiguration(asset common.Address, configuration *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) SetPause(val bool) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) SetReserveInterestRateStrategyAddress(asset common.Address, rateStrategyAddress common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) SetUserUseReserveAsCollateral(asset common.Address, useAsCollateral bool) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) SwapBorrowRateMode(asset common.Address, rateMode *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) Withdraw(asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)
- type BindingsUnpaused
- type BindingsUnpausedIterator
- type BindingsWithdraw
- type BindingsWithdrawIterator
- type DataTypesReserveConfigurationMap
- type DataTypesReserveData
- type DataTypesUserConfigurationMap
Constants ¶
This section is empty.
Variables ¶
var BindingsABI = BindingsMetaData.ABI
BindingsABI is the input ABI used to generate the binding from. Deprecated: Use BindingsMetaData.ABI instead.
var BindingsMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"borrowRateMode\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"borrowRate\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"referral\",\"type\":\"uint16\"}],\"name\":\"Borrow\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"referral\",\"type\":\"uint16\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"initiator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"premium\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"}],\"name\":\"FlashLoan\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralAsset\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"debtAsset\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"debtToCover\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidatedCollateralAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"liquidator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"receiveAToken\",\"type\":\"bool\"}],\"name\":\"LiquidationCall\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"RebalanceStableBorrowRate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"repayer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Repay\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidityRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"stableBorrowRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"variableBorrowRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidityIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"variableBorrowIndex\",\"type\":\"uint256\"}],\"name\":\"ReserveDataUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"ReserveUsedAsCollateralDisabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"ReserveUsedAsCollateralEnabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rateMode\",\"type\":\"uint256\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"FLASHLOAN_PREMIUM_TOTAL\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LENDINGPOOL_REVISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_NUMBER_RESERVES\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_STABLE_RATE_BORROW_SIZE_PERCENT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"interestRateMode\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"}],\"name\":\"borrow\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balanceFromBefore\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balanceToBefore\",\"type\":\"uint256\"}],\"name\":\"finalizeTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiverAddress\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"modes\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"},{\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"}],\"name\":\"flashLoan\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAddressesProvider\",\"outputs\":[{\"internalType\":\"contractILendingPoolAddressesProvider\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getConfiguration\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"data\",\"type\":\"uint256\"}],\"internalType\":\"structDataTypes.ReserveConfigurationMap\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getReserveData\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"data\",\"type\":\"uint256\"}],\"internalType\":\"structDataTypes.ReserveConfigurationMap\",\"name\":\"configuration\",\"type\":\"tuple\"},{\"internalType\":\"uint128\",\"name\":\"liquidityIndex\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"variableBorrowIndex\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"currentLiquidityRate\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"currentVariableBorrowRate\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"currentStableBorrowRate\",\"type\":\"uint128\"},{\"internalType\":\"uint40\",\"name\":\"lastUpdateTimestamp\",\"type\":\"uint40\"},{\"internalType\":\"address\",\"name\":\"aTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"stableDebtTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"variableDebtTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"interestRateStrategyAddress\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"id\",\"type\":\"uint8\"}],\"internalType\":\"structDataTypes.ReserveData\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getReserveNormalizedIncome\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getReserveNormalizedVariableDebt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getReservesList\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getUserAccountData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalCollateralETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalDebtETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"availableBorrowsETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentLiquidationThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ltv\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"healthFactor\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getUserConfiguration\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"data\",\"type\":\"uint256\"}],\"internalType\":\"structDataTypes.UserConfigurationMap\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"aTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"stableDebtAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"variableDebtAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"interestRateStrategyAddress\",\"type\":\"address\"}],\"name\":\"initReserve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractILendingPoolAddressesProvider\",\"name\":\"provider\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"collateralAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"debtAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"debtToCover\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"receiveAToken\",\"type\":\"bool\"}],\"name\":\"liquidationCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"rebalanceStableBorrowRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rateMode\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"}],\"name\":\"repay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"configuration\",\"type\":\"uint256\"}],\"name\":\"setConfiguration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"val\",\"type\":\"bool\"}],\"name\":\"setPause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"rateStrategyAddress\",\"type\":\"address\"}],\"name\":\"setReserveInterestRateStrategyAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"useAsCollateral\",\"type\":\"bool\"}],\"name\":\"setUserUseReserveAsCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"rateMode\",\"type\":\"uint256\"}],\"name\":\"swapBorrowRateMode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
BindingsMetaData contains all meta data concerning the Bindings contract.
Functions ¶
This section is empty.
Types ¶
type Bindings ¶
type Bindings struct { BindingsCaller // Read-only binding to the contract BindingsTransactor // Write-only binding to the contract BindingsFilterer // Log filterer for contract events }
Bindings is an auto generated Go binding around an Ethereum contract.
func NewBindings ¶
NewBindings creates a new instance of Bindings, bound to a specific deployed contract.
type BindingsBorrow ¶
type BindingsBorrow struct { Reserve common.Address User common.Address OnBehalfOf common.Address Amount *big.Int BorrowRateMode *big.Int BorrowRate *big.Int Referral uint16 Raw types.Log // Blockchain specific contextual infos }
BindingsBorrow represents a Borrow event raised by the Bindings contract.
type BindingsBorrowIterator ¶
type BindingsBorrowIterator struct { Event *BindingsBorrow // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsBorrowIterator is returned from FilterBorrow and is used to iterate over the raw logs and unpacked data for Borrow events raised by the Bindings contract.
func (*BindingsBorrowIterator) Close ¶
func (it *BindingsBorrowIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsBorrowIterator) Error ¶
func (it *BindingsBorrowIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsBorrowIterator) Next ¶
func (it *BindingsBorrowIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BindingsCaller ¶
type BindingsCaller struct {
// contains filtered or unexported fields
}
BindingsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBindingsCaller ¶
func NewBindingsCaller(address common.Address, caller bind.ContractCaller) (*BindingsCaller, error)
NewBindingsCaller creates a new read-only instance of Bindings, bound to a specific deployed contract.
func (*BindingsCaller) FLASHLOANPREMIUMTOTAL ¶
FLASHLOANPREMIUMTOTAL is a free data retrieval call binding the contract method 0x074b2e43.
Solidity: function FLASHLOAN_PREMIUM_TOTAL() view returns(uint256)
func (*BindingsCaller) GetAddressesProvider ¶
GetAddressesProvider is a free data retrieval call binding the contract method 0xfe65acfe.
Solidity: function getAddressesProvider() view returns(address)
func (*BindingsCaller) GetConfiguration ¶
func (_Bindings *BindingsCaller) GetConfiguration(opts *bind.CallOpts, asset common.Address) (DataTypesReserveConfigurationMap, error)
GetConfiguration is a free data retrieval call binding the contract method 0xc44b11f7.
Solidity: function getConfiguration(address asset) view returns((uint256))
func (*BindingsCaller) GetReserveData ¶
func (_Bindings *BindingsCaller) GetReserveData(opts *bind.CallOpts, asset common.Address) (DataTypesReserveData, error)
GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.
Solidity: function getReserveData(address asset) view returns(((uint256),uint128,uint128,uint128,uint128,uint128,uint40,address,address,address,address,uint8))
func (*BindingsCaller) GetReserveNormalizedIncome ¶
func (_Bindings *BindingsCaller) GetReserveNormalizedIncome(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
GetReserveNormalizedIncome is a free data retrieval call binding the contract method 0xd15e0053.
Solidity: function getReserveNormalizedIncome(address asset) view returns(uint256)
func (*BindingsCaller) GetReserveNormalizedVariableDebt ¶
func (_Bindings *BindingsCaller) GetReserveNormalizedVariableDebt(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
GetReserveNormalizedVariableDebt is a free data retrieval call binding the contract method 0x386497fd.
Solidity: function getReserveNormalizedVariableDebt(address asset) view returns(uint256)
func (*BindingsCaller) GetReservesList ¶
GetReservesList is a free data retrieval call binding the contract method 0xd1946dbc.
Solidity: function getReservesList() view returns(address[])
func (*BindingsCaller) GetUserAccountData ¶
func (_Bindings *BindingsCaller) GetUserAccountData(opts *bind.CallOpts, user common.Address) (struct { TotalCollateralETH *big.Int TotalDebtETH *big.Int AvailableBorrowsETH *big.Int CurrentLiquidationThreshold *big.Int Ltv *big.Int HealthFactor *big.Int }, error)
GetUserAccountData is a free data retrieval call binding the contract method 0xbf92857c.
Solidity: function getUserAccountData(address user) view returns(uint256 totalCollateralETH, uint256 totalDebtETH, uint256 availableBorrowsETH, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)
func (*BindingsCaller) GetUserConfiguration ¶
func (_Bindings *BindingsCaller) GetUserConfiguration(opts *bind.CallOpts, user common.Address) (DataTypesUserConfigurationMap, error)
GetUserConfiguration is a free data retrieval call binding the contract method 0x4417a583.
Solidity: function getUserConfiguration(address user) view returns((uint256))
func (*BindingsCaller) LENDINGPOOLREVISION ¶
LENDINGPOOLREVISION is a free data retrieval call binding the contract method 0x8afaff02.
Solidity: function LENDINGPOOL_REVISION() view returns(uint256)
func (*BindingsCaller) MAXNUMBERRESERVES ¶
MAXNUMBERRESERVES is a free data retrieval call binding the contract method 0xf8119d51.
Solidity: function MAX_NUMBER_RESERVES() view returns(uint256)
func (*BindingsCaller) MAXSTABLERATEBORROWSIZEPERCENT ¶
func (_Bindings *BindingsCaller) MAXSTABLERATEBORROWSIZEPERCENT(opts *bind.CallOpts) (*big.Int, error)
MAXSTABLERATEBORROWSIZEPERCENT is a free data retrieval call binding the contract method 0xe82fec2f.
Solidity: function MAX_STABLE_RATE_BORROW_SIZE_PERCENT() view returns(uint256)
type BindingsCallerRaw ¶
type BindingsCallerRaw struct {
Contract *BindingsCaller // Generic read-only contract binding to access the raw methods on
}
BindingsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BindingsCallerRaw) Call ¶
func (_Bindings *BindingsCallerRaw) 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 BindingsCallerSession ¶
type BindingsCallerSession struct { Contract *BindingsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BindingsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BindingsCallerSession) FLASHLOANPREMIUMTOTAL ¶
func (_Bindings *BindingsCallerSession) FLASHLOANPREMIUMTOTAL() (*big.Int, error)
FLASHLOANPREMIUMTOTAL is a free data retrieval call binding the contract method 0x074b2e43.
Solidity: function FLASHLOAN_PREMIUM_TOTAL() view returns(uint256)
func (*BindingsCallerSession) GetAddressesProvider ¶
func (_Bindings *BindingsCallerSession) GetAddressesProvider() (common.Address, error)
GetAddressesProvider is a free data retrieval call binding the contract method 0xfe65acfe.
Solidity: function getAddressesProvider() view returns(address)
func (*BindingsCallerSession) GetConfiguration ¶
func (_Bindings *BindingsCallerSession) GetConfiguration(asset common.Address) (DataTypesReserveConfigurationMap, error)
GetConfiguration is a free data retrieval call binding the contract method 0xc44b11f7.
Solidity: function getConfiguration(address asset) view returns((uint256))
func (*BindingsCallerSession) GetReserveData ¶
func (_Bindings *BindingsCallerSession) GetReserveData(asset common.Address) (DataTypesReserveData, error)
GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.
Solidity: function getReserveData(address asset) view returns(((uint256),uint128,uint128,uint128,uint128,uint128,uint40,address,address,address,address,uint8))
func (*BindingsCallerSession) GetReserveNormalizedIncome ¶
func (_Bindings *BindingsCallerSession) GetReserveNormalizedIncome(asset common.Address) (*big.Int, error)
GetReserveNormalizedIncome is a free data retrieval call binding the contract method 0xd15e0053.
Solidity: function getReserveNormalizedIncome(address asset) view returns(uint256)
func (*BindingsCallerSession) GetReserveNormalizedVariableDebt ¶
func (_Bindings *BindingsCallerSession) GetReserveNormalizedVariableDebt(asset common.Address) (*big.Int, error)
GetReserveNormalizedVariableDebt is a free data retrieval call binding the contract method 0x386497fd.
Solidity: function getReserveNormalizedVariableDebt(address asset) view returns(uint256)
func (*BindingsCallerSession) GetReservesList ¶
func (_Bindings *BindingsCallerSession) GetReservesList() ([]common.Address, error)
GetReservesList is a free data retrieval call binding the contract method 0xd1946dbc.
Solidity: function getReservesList() view returns(address[])
func (*BindingsCallerSession) GetUserAccountData ¶
func (_Bindings *BindingsCallerSession) GetUserAccountData(user common.Address) (struct { TotalCollateralETH *big.Int TotalDebtETH *big.Int AvailableBorrowsETH *big.Int CurrentLiquidationThreshold *big.Int Ltv *big.Int HealthFactor *big.Int }, error)
GetUserAccountData is a free data retrieval call binding the contract method 0xbf92857c.
Solidity: function getUserAccountData(address user) view returns(uint256 totalCollateralETH, uint256 totalDebtETH, uint256 availableBorrowsETH, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)
func (*BindingsCallerSession) GetUserConfiguration ¶
func (_Bindings *BindingsCallerSession) GetUserConfiguration(user common.Address) (DataTypesUserConfigurationMap, error)
GetUserConfiguration is a free data retrieval call binding the contract method 0x4417a583.
Solidity: function getUserConfiguration(address user) view returns((uint256))
func (*BindingsCallerSession) LENDINGPOOLREVISION ¶
func (_Bindings *BindingsCallerSession) LENDINGPOOLREVISION() (*big.Int, error)
LENDINGPOOLREVISION is a free data retrieval call binding the contract method 0x8afaff02.
Solidity: function LENDINGPOOL_REVISION() view returns(uint256)
func (*BindingsCallerSession) MAXNUMBERRESERVES ¶
func (_Bindings *BindingsCallerSession) MAXNUMBERRESERVES() (*big.Int, error)
MAXNUMBERRESERVES is a free data retrieval call binding the contract method 0xf8119d51.
Solidity: function MAX_NUMBER_RESERVES() view returns(uint256)
func (*BindingsCallerSession) MAXSTABLERATEBORROWSIZEPERCENT ¶
func (_Bindings *BindingsCallerSession) MAXSTABLERATEBORROWSIZEPERCENT() (*big.Int, error)
MAXSTABLERATEBORROWSIZEPERCENT is a free data retrieval call binding the contract method 0xe82fec2f.
Solidity: function MAX_STABLE_RATE_BORROW_SIZE_PERCENT() view returns(uint256)
func (*BindingsCallerSession) Paused ¶
func (_Bindings *BindingsCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
type BindingsDeposit ¶
type BindingsDeposit struct { Reserve common.Address User common.Address OnBehalfOf common.Address Amount *big.Int Referral uint16 Raw types.Log // Blockchain specific contextual infos }
BindingsDeposit represents a Deposit event raised by the Bindings contract.
type BindingsDepositIterator ¶
type BindingsDepositIterator struct { Event *BindingsDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the Bindings contract.
func (*BindingsDepositIterator) Close ¶
func (it *BindingsDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsDepositIterator) Error ¶
func (it *BindingsDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsDepositIterator) Next ¶
func (it *BindingsDepositIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BindingsFilterer ¶
type BindingsFilterer struct {
// contains filtered or unexported fields
}
BindingsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBindingsFilterer ¶
func NewBindingsFilterer(address common.Address, filterer bind.ContractFilterer) (*BindingsFilterer, error)
NewBindingsFilterer creates a new log filterer instance of Bindings, bound to a specific deployed contract.
func (*BindingsFilterer) FilterBorrow ¶
func (_Bindings *BindingsFilterer) FilterBorrow(opts *bind.FilterOpts, reserve []common.Address, onBehalfOf []common.Address, referral []uint16) (*BindingsBorrowIterator, error)
FilterBorrow is a free log retrieval operation binding the contract event 0xc6a898309e823ee50bac64e45ca8adba6690e99e7841c45d754e2a38e9019d9b.
Solidity: event Borrow(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint256 borrowRateMode, uint256 borrowRate, uint16 indexed referral)
func (*BindingsFilterer) FilterDeposit ¶
func (_Bindings *BindingsFilterer) FilterDeposit(opts *bind.FilterOpts, reserve []common.Address, onBehalfOf []common.Address, referral []uint16) (*BindingsDepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0xde6857219544bb5b7746f48ed30be6386fefc61b2f864cacf559893bf50fd951.
Solidity: event Deposit(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint16 indexed referral)
func (*BindingsFilterer) FilterFlashLoan ¶
func (_Bindings *BindingsFilterer) FilterFlashLoan(opts *bind.FilterOpts, target []common.Address, initiator []common.Address, asset []common.Address) (*BindingsFlashLoanIterator, error)
FilterFlashLoan is a free log retrieval operation binding the contract event 0x631042c832b07452973831137f2d73e395028b44b250dedc5abb0ee766e168ac.
Solidity: event FlashLoan(address indexed target, address indexed initiator, address indexed asset, uint256 amount, uint256 premium, uint16 referralCode)
func (*BindingsFilterer) FilterLiquidationCall ¶
func (_Bindings *BindingsFilterer) FilterLiquidationCall(opts *bind.FilterOpts, collateralAsset []common.Address, debtAsset []common.Address, user []common.Address) (*BindingsLiquidationCallIterator, error)
FilterLiquidationCall is a free log retrieval operation binding the contract event 0xe413a321e8681d831f4dbccbca790d2952b56f977908e45be37335533e005286.
Solidity: event LiquidationCall(address indexed collateralAsset, address indexed debtAsset, address indexed user, uint256 debtToCover, uint256 liquidatedCollateralAmount, address liquidator, bool receiveAToken)
func (*BindingsFilterer) FilterPaused ¶
func (_Bindings *BindingsFilterer) FilterPaused(opts *bind.FilterOpts) (*BindingsPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x9e87fac88ff661f02d44f95383c817fece4bce600a3dab7a54406878b965e752.
Solidity: event Paused()
func (*BindingsFilterer) FilterRebalanceStableBorrowRate ¶
func (_Bindings *BindingsFilterer) FilterRebalanceStableBorrowRate(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*BindingsRebalanceStableBorrowRateIterator, error)
FilterRebalanceStableBorrowRate is a free log retrieval operation binding the contract event 0x9f439ae0c81e41a04d3fdfe07aed54e6a179fb0db15be7702eb66fa8ef6f5300.
Solidity: event RebalanceStableBorrowRate(address indexed reserve, address indexed user)
func (*BindingsFilterer) FilterRepay ¶
func (_Bindings *BindingsFilterer) FilterRepay(opts *bind.FilterOpts, reserve []common.Address, user []common.Address, repayer []common.Address) (*BindingsRepayIterator, error)
FilterRepay is a free log retrieval operation binding the contract event 0x4cdde6e09bb755c9a5589ebaec640bbfedff1362d4b255ebf8339782b9942faa.
Solidity: event Repay(address indexed reserve, address indexed user, address indexed repayer, uint256 amount)
func (*BindingsFilterer) FilterReserveDataUpdated ¶
func (_Bindings *BindingsFilterer) FilterReserveDataUpdated(opts *bind.FilterOpts, reserve []common.Address) (*BindingsReserveDataUpdatedIterator, error)
FilterReserveDataUpdated is a free log retrieval operation binding the contract event 0x804c9b842b2748a22bb64b345453a3de7ca54a6ca45ce00d415894979e22897a.
Solidity: event ReserveDataUpdated(address indexed reserve, uint256 liquidityRate, uint256 stableBorrowRate, uint256 variableBorrowRate, uint256 liquidityIndex, uint256 variableBorrowIndex)
func (*BindingsFilterer) FilterReserveUsedAsCollateralDisabled ¶
func (_Bindings *BindingsFilterer) FilterReserveUsedAsCollateralDisabled(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*BindingsReserveUsedAsCollateralDisabledIterator, error)
FilterReserveUsedAsCollateralDisabled is a free log retrieval operation binding the contract event 0x44c58d81365b66dd4b1a7f36c25aa97b8c71c361ee4937adc1a00000227db5dd.
Solidity: event ReserveUsedAsCollateralDisabled(address indexed reserve, address indexed user)
func (*BindingsFilterer) FilterReserveUsedAsCollateralEnabled ¶
func (_Bindings *BindingsFilterer) FilterReserveUsedAsCollateralEnabled(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*BindingsReserveUsedAsCollateralEnabledIterator, error)
FilterReserveUsedAsCollateralEnabled is a free log retrieval operation binding the contract event 0x00058a56ea94653cdf4f152d227ace22d4c00ad99e2a43f58cb7d9e3feb295f2.
Solidity: event ReserveUsedAsCollateralEnabled(address indexed reserve, address indexed user)
func (*BindingsFilterer) FilterSwap ¶
func (_Bindings *BindingsFilterer) FilterSwap(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*BindingsSwapIterator, error)
FilterSwap is a free log retrieval operation binding the contract event 0xea368a40e9570069bb8e6511d668293ad2e1f03b0d982431fd223de9f3b70ca6.
Solidity: event Swap(address indexed reserve, address indexed user, uint256 rateMode)
func (*BindingsFilterer) FilterUnpaused ¶
func (_Bindings *BindingsFilterer) FilterUnpaused(opts *bind.FilterOpts) (*BindingsUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0xa45f47fdea8a1efdd9029a5691c7f759c32b7c698632b563573e155625d16933.
Solidity: event Unpaused()
func (*BindingsFilterer) FilterWithdraw ¶
func (_Bindings *BindingsFilterer) FilterWithdraw(opts *bind.FilterOpts, reserve []common.Address, user []common.Address, to []common.Address) (*BindingsWithdrawIterator, error)
FilterWithdraw is a free log retrieval operation binding the contract event 0x3115d1449a7b732c986cba18244e897a450f61e1bb8d589cd2e69e6c8924f9f7.
Solidity: event Withdraw(address indexed reserve, address indexed user, address indexed to, uint256 amount)
func (*BindingsFilterer) ParseBorrow ¶
func (_Bindings *BindingsFilterer) ParseBorrow(log types.Log) (*BindingsBorrow, error)
ParseBorrow is a log parse operation binding the contract event 0xc6a898309e823ee50bac64e45ca8adba6690e99e7841c45d754e2a38e9019d9b.
Solidity: event Borrow(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint256 borrowRateMode, uint256 borrowRate, uint16 indexed referral)
func (*BindingsFilterer) ParseDeposit ¶
func (_Bindings *BindingsFilterer) ParseDeposit(log types.Log) (*BindingsDeposit, error)
ParseDeposit is a log parse operation binding the contract event 0xde6857219544bb5b7746f48ed30be6386fefc61b2f864cacf559893bf50fd951.
Solidity: event Deposit(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint16 indexed referral)
func (*BindingsFilterer) ParseFlashLoan ¶
func (_Bindings *BindingsFilterer) ParseFlashLoan(log types.Log) (*BindingsFlashLoan, error)
ParseFlashLoan is a log parse operation binding the contract event 0x631042c832b07452973831137f2d73e395028b44b250dedc5abb0ee766e168ac.
Solidity: event FlashLoan(address indexed target, address indexed initiator, address indexed asset, uint256 amount, uint256 premium, uint16 referralCode)
func (*BindingsFilterer) ParseLiquidationCall ¶
func (_Bindings *BindingsFilterer) ParseLiquidationCall(log types.Log) (*BindingsLiquidationCall, error)
ParseLiquidationCall is a log parse operation binding the contract event 0xe413a321e8681d831f4dbccbca790d2952b56f977908e45be37335533e005286.
Solidity: event LiquidationCall(address indexed collateralAsset, address indexed debtAsset, address indexed user, uint256 debtToCover, uint256 liquidatedCollateralAmount, address liquidator, bool receiveAToken)
func (*BindingsFilterer) ParsePaused ¶
func (_Bindings *BindingsFilterer) ParsePaused(log types.Log) (*BindingsPaused, error)
ParsePaused is a log parse operation binding the contract event 0x9e87fac88ff661f02d44f95383c817fece4bce600a3dab7a54406878b965e752.
Solidity: event Paused()
func (*BindingsFilterer) ParseRebalanceStableBorrowRate ¶
func (_Bindings *BindingsFilterer) ParseRebalanceStableBorrowRate(log types.Log) (*BindingsRebalanceStableBorrowRate, error)
ParseRebalanceStableBorrowRate is a log parse operation binding the contract event 0x9f439ae0c81e41a04d3fdfe07aed54e6a179fb0db15be7702eb66fa8ef6f5300.
Solidity: event RebalanceStableBorrowRate(address indexed reserve, address indexed user)
func (*BindingsFilterer) ParseRepay ¶
func (_Bindings *BindingsFilterer) ParseRepay(log types.Log) (*BindingsRepay, error)
ParseRepay is a log parse operation binding the contract event 0x4cdde6e09bb755c9a5589ebaec640bbfedff1362d4b255ebf8339782b9942faa.
Solidity: event Repay(address indexed reserve, address indexed user, address indexed repayer, uint256 amount)
func (*BindingsFilterer) ParseReserveDataUpdated ¶
func (_Bindings *BindingsFilterer) ParseReserveDataUpdated(log types.Log) (*BindingsReserveDataUpdated, error)
ParseReserveDataUpdated is a log parse operation binding the contract event 0x804c9b842b2748a22bb64b345453a3de7ca54a6ca45ce00d415894979e22897a.
Solidity: event ReserveDataUpdated(address indexed reserve, uint256 liquidityRate, uint256 stableBorrowRate, uint256 variableBorrowRate, uint256 liquidityIndex, uint256 variableBorrowIndex)
func (*BindingsFilterer) ParseReserveUsedAsCollateralDisabled ¶
func (_Bindings *BindingsFilterer) ParseReserveUsedAsCollateralDisabled(log types.Log) (*BindingsReserveUsedAsCollateralDisabled, error)
ParseReserveUsedAsCollateralDisabled is a log parse operation binding the contract event 0x44c58d81365b66dd4b1a7f36c25aa97b8c71c361ee4937adc1a00000227db5dd.
Solidity: event ReserveUsedAsCollateralDisabled(address indexed reserve, address indexed user)
func (*BindingsFilterer) ParseReserveUsedAsCollateralEnabled ¶
func (_Bindings *BindingsFilterer) ParseReserveUsedAsCollateralEnabled(log types.Log) (*BindingsReserveUsedAsCollateralEnabled, error)
ParseReserveUsedAsCollateralEnabled is a log parse operation binding the contract event 0x00058a56ea94653cdf4f152d227ace22d4c00ad99e2a43f58cb7d9e3feb295f2.
Solidity: event ReserveUsedAsCollateralEnabled(address indexed reserve, address indexed user)
func (*BindingsFilterer) ParseSwap ¶
func (_Bindings *BindingsFilterer) ParseSwap(log types.Log) (*BindingsSwap, error)
ParseSwap is a log parse operation binding the contract event 0xea368a40e9570069bb8e6511d668293ad2e1f03b0d982431fd223de9f3b70ca6.
Solidity: event Swap(address indexed reserve, address indexed user, uint256 rateMode)
func (*BindingsFilterer) ParseUnpaused ¶
func (_Bindings *BindingsFilterer) ParseUnpaused(log types.Log) (*BindingsUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0xa45f47fdea8a1efdd9029a5691c7f759c32b7c698632b563573e155625d16933.
Solidity: event Unpaused()
func (*BindingsFilterer) ParseWithdraw ¶
func (_Bindings *BindingsFilterer) ParseWithdraw(log types.Log) (*BindingsWithdraw, error)
ParseWithdraw is a log parse operation binding the contract event 0x3115d1449a7b732c986cba18244e897a450f61e1bb8d589cd2e69e6c8924f9f7.
Solidity: event Withdraw(address indexed reserve, address indexed user, address indexed to, uint256 amount)
func (*BindingsFilterer) WatchBorrow ¶
func (_Bindings *BindingsFilterer) WatchBorrow(opts *bind.WatchOpts, sink chan<- *BindingsBorrow, reserve []common.Address, onBehalfOf []common.Address, referral []uint16) (event.Subscription, error)
WatchBorrow is a free log subscription operation binding the contract event 0xc6a898309e823ee50bac64e45ca8adba6690e99e7841c45d754e2a38e9019d9b.
Solidity: event Borrow(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint256 borrowRateMode, uint256 borrowRate, uint16 indexed referral)
func (*BindingsFilterer) WatchDeposit ¶
func (_Bindings *BindingsFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *BindingsDeposit, reserve []common.Address, onBehalfOf []common.Address, referral []uint16) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0xde6857219544bb5b7746f48ed30be6386fefc61b2f864cacf559893bf50fd951.
Solidity: event Deposit(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint16 indexed referral)
func (*BindingsFilterer) WatchFlashLoan ¶
func (_Bindings *BindingsFilterer) WatchFlashLoan(opts *bind.WatchOpts, sink chan<- *BindingsFlashLoan, target []common.Address, initiator []common.Address, asset []common.Address) (event.Subscription, error)
WatchFlashLoan is a free log subscription operation binding the contract event 0x631042c832b07452973831137f2d73e395028b44b250dedc5abb0ee766e168ac.
Solidity: event FlashLoan(address indexed target, address indexed initiator, address indexed asset, uint256 amount, uint256 premium, uint16 referralCode)
func (*BindingsFilterer) WatchLiquidationCall ¶
func (_Bindings *BindingsFilterer) WatchLiquidationCall(opts *bind.WatchOpts, sink chan<- *BindingsLiquidationCall, collateralAsset []common.Address, debtAsset []common.Address, user []common.Address) (event.Subscription, error)
WatchLiquidationCall is a free log subscription operation binding the contract event 0xe413a321e8681d831f4dbccbca790d2952b56f977908e45be37335533e005286.
Solidity: event LiquidationCall(address indexed collateralAsset, address indexed debtAsset, address indexed user, uint256 debtToCover, uint256 liquidatedCollateralAmount, address liquidator, bool receiveAToken)
func (*BindingsFilterer) WatchPaused ¶
func (_Bindings *BindingsFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *BindingsPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x9e87fac88ff661f02d44f95383c817fece4bce600a3dab7a54406878b965e752.
Solidity: event Paused()
func (*BindingsFilterer) WatchRebalanceStableBorrowRate ¶
func (_Bindings *BindingsFilterer) WatchRebalanceStableBorrowRate(opts *bind.WatchOpts, sink chan<- *BindingsRebalanceStableBorrowRate, reserve []common.Address, user []common.Address) (event.Subscription, error)
WatchRebalanceStableBorrowRate is a free log subscription operation binding the contract event 0x9f439ae0c81e41a04d3fdfe07aed54e6a179fb0db15be7702eb66fa8ef6f5300.
Solidity: event RebalanceStableBorrowRate(address indexed reserve, address indexed user)
func (*BindingsFilterer) WatchRepay ¶
func (_Bindings *BindingsFilterer) WatchRepay(opts *bind.WatchOpts, sink chan<- *BindingsRepay, reserve []common.Address, user []common.Address, repayer []common.Address) (event.Subscription, error)
WatchRepay is a free log subscription operation binding the contract event 0x4cdde6e09bb755c9a5589ebaec640bbfedff1362d4b255ebf8339782b9942faa.
Solidity: event Repay(address indexed reserve, address indexed user, address indexed repayer, uint256 amount)
func (*BindingsFilterer) WatchReserveDataUpdated ¶
func (_Bindings *BindingsFilterer) WatchReserveDataUpdated(opts *bind.WatchOpts, sink chan<- *BindingsReserveDataUpdated, reserve []common.Address) (event.Subscription, error)
WatchReserveDataUpdated is a free log subscription operation binding the contract event 0x804c9b842b2748a22bb64b345453a3de7ca54a6ca45ce00d415894979e22897a.
Solidity: event ReserveDataUpdated(address indexed reserve, uint256 liquidityRate, uint256 stableBorrowRate, uint256 variableBorrowRate, uint256 liquidityIndex, uint256 variableBorrowIndex)
func (*BindingsFilterer) WatchReserveUsedAsCollateralDisabled ¶
func (_Bindings *BindingsFilterer) WatchReserveUsedAsCollateralDisabled(opts *bind.WatchOpts, sink chan<- *BindingsReserveUsedAsCollateralDisabled, reserve []common.Address, user []common.Address) (event.Subscription, error)
WatchReserveUsedAsCollateralDisabled is a free log subscription operation binding the contract event 0x44c58d81365b66dd4b1a7f36c25aa97b8c71c361ee4937adc1a00000227db5dd.
Solidity: event ReserveUsedAsCollateralDisabled(address indexed reserve, address indexed user)
func (*BindingsFilterer) WatchReserveUsedAsCollateralEnabled ¶
func (_Bindings *BindingsFilterer) WatchReserveUsedAsCollateralEnabled(opts *bind.WatchOpts, sink chan<- *BindingsReserveUsedAsCollateralEnabled, reserve []common.Address, user []common.Address) (event.Subscription, error)
WatchReserveUsedAsCollateralEnabled is a free log subscription operation binding the contract event 0x00058a56ea94653cdf4f152d227ace22d4c00ad99e2a43f58cb7d9e3feb295f2.
Solidity: event ReserveUsedAsCollateralEnabled(address indexed reserve, address indexed user)
func (*BindingsFilterer) WatchSwap ¶
func (_Bindings *BindingsFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *BindingsSwap, reserve []common.Address, user []common.Address) (event.Subscription, error)
WatchSwap is a free log subscription operation binding the contract event 0xea368a40e9570069bb8e6511d668293ad2e1f03b0d982431fd223de9f3b70ca6.
Solidity: event Swap(address indexed reserve, address indexed user, uint256 rateMode)
func (*BindingsFilterer) WatchUnpaused ¶
func (_Bindings *BindingsFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *BindingsUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0xa45f47fdea8a1efdd9029a5691c7f759c32b7c698632b563573e155625d16933.
Solidity: event Unpaused()
func (*BindingsFilterer) WatchWithdraw ¶
func (_Bindings *BindingsFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *BindingsWithdraw, reserve []common.Address, user []common.Address, to []common.Address) (event.Subscription, error)
WatchWithdraw is a free log subscription operation binding the contract event 0x3115d1449a7b732c986cba18244e897a450f61e1bb8d589cd2e69e6c8924f9f7.
Solidity: event Withdraw(address indexed reserve, address indexed user, address indexed to, uint256 amount)
type BindingsFlashLoan ¶
type BindingsFlashLoan struct { Target common.Address Initiator common.Address Asset common.Address Amount *big.Int Premium *big.Int ReferralCode uint16 Raw types.Log // Blockchain specific contextual infos }
BindingsFlashLoan represents a FlashLoan event raised by the Bindings contract.
type BindingsFlashLoanIterator ¶
type BindingsFlashLoanIterator struct { Event *BindingsFlashLoan // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsFlashLoanIterator is returned from FilterFlashLoan and is used to iterate over the raw logs and unpacked data for FlashLoan events raised by the Bindings contract.
func (*BindingsFlashLoanIterator) Close ¶
func (it *BindingsFlashLoanIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsFlashLoanIterator) Error ¶
func (it *BindingsFlashLoanIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsFlashLoanIterator) Next ¶
func (it *BindingsFlashLoanIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BindingsLiquidationCall ¶
type BindingsLiquidationCall struct { CollateralAsset common.Address DebtAsset common.Address User common.Address DebtToCover *big.Int LiquidatedCollateralAmount *big.Int Liquidator common.Address ReceiveAToken bool Raw types.Log // Blockchain specific contextual infos }
BindingsLiquidationCall represents a LiquidationCall event raised by the Bindings contract.
type BindingsLiquidationCallIterator ¶
type BindingsLiquidationCallIterator struct { Event *BindingsLiquidationCall // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsLiquidationCallIterator is returned from FilterLiquidationCall and is used to iterate over the raw logs and unpacked data for LiquidationCall events raised by the Bindings contract.
func (*BindingsLiquidationCallIterator) Close ¶
func (it *BindingsLiquidationCallIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsLiquidationCallIterator) Error ¶
func (it *BindingsLiquidationCallIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsLiquidationCallIterator) Next ¶
func (it *BindingsLiquidationCallIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BindingsPaused ¶
BindingsPaused represents a Paused event raised by the Bindings contract.
type BindingsPausedIterator ¶
type BindingsPausedIterator struct { Event *BindingsPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Bindings contract.
func (*BindingsPausedIterator) Close ¶
func (it *BindingsPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsPausedIterator) Error ¶
func (it *BindingsPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsPausedIterator) Next ¶
func (it *BindingsPausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BindingsRaw ¶
type BindingsRaw struct {
Contract *Bindings // Generic contract binding to access the raw methods on
}
BindingsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BindingsRaw) Call ¶
func (_Bindings *BindingsRaw) 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 (*BindingsRaw) Transact ¶
func (_Bindings *BindingsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BindingsRaw) Transfer ¶
func (_Bindings *BindingsRaw) 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 BindingsRebalanceStableBorrowRate ¶
type BindingsRebalanceStableBorrowRate struct { Reserve common.Address User common.Address Raw types.Log // Blockchain specific contextual infos }
BindingsRebalanceStableBorrowRate represents a RebalanceStableBorrowRate event raised by the Bindings contract.
type BindingsRebalanceStableBorrowRateIterator ¶
type BindingsRebalanceStableBorrowRateIterator struct { Event *BindingsRebalanceStableBorrowRate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsRebalanceStableBorrowRateIterator is returned from FilterRebalanceStableBorrowRate and is used to iterate over the raw logs and unpacked data for RebalanceStableBorrowRate events raised by the Bindings contract.
func (*BindingsRebalanceStableBorrowRateIterator) Close ¶
func (it *BindingsRebalanceStableBorrowRateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsRebalanceStableBorrowRateIterator) Error ¶
func (it *BindingsRebalanceStableBorrowRateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsRebalanceStableBorrowRateIterator) Next ¶
func (it *BindingsRebalanceStableBorrowRateIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BindingsRepay ¶
type BindingsRepay struct { Reserve common.Address User common.Address Repayer common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
BindingsRepay represents a Repay event raised by the Bindings contract.
type BindingsRepayIterator ¶
type BindingsRepayIterator struct { Event *BindingsRepay // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsRepayIterator is returned from FilterRepay and is used to iterate over the raw logs and unpacked data for Repay events raised by the Bindings contract.
func (*BindingsRepayIterator) Close ¶
func (it *BindingsRepayIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsRepayIterator) Error ¶
func (it *BindingsRepayIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsRepayIterator) Next ¶
func (it *BindingsRepayIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BindingsReserveDataUpdated ¶
type BindingsReserveDataUpdated struct { Reserve common.Address LiquidityRate *big.Int StableBorrowRate *big.Int VariableBorrowRate *big.Int LiquidityIndex *big.Int VariableBorrowIndex *big.Int Raw types.Log // Blockchain specific contextual infos }
BindingsReserveDataUpdated represents a ReserveDataUpdated event raised by the Bindings contract.
type BindingsReserveDataUpdatedIterator ¶
type BindingsReserveDataUpdatedIterator struct { Event *BindingsReserveDataUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsReserveDataUpdatedIterator is returned from FilterReserveDataUpdated and is used to iterate over the raw logs and unpacked data for ReserveDataUpdated events raised by the Bindings contract.
func (*BindingsReserveDataUpdatedIterator) Close ¶
func (it *BindingsReserveDataUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsReserveDataUpdatedIterator) Error ¶
func (it *BindingsReserveDataUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsReserveDataUpdatedIterator) Next ¶
func (it *BindingsReserveDataUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BindingsReserveUsedAsCollateralDisabled ¶
type BindingsReserveUsedAsCollateralDisabled struct { Reserve common.Address User common.Address Raw types.Log // Blockchain specific contextual infos }
BindingsReserveUsedAsCollateralDisabled represents a ReserveUsedAsCollateralDisabled event raised by the Bindings contract.
type BindingsReserveUsedAsCollateralDisabledIterator ¶
type BindingsReserveUsedAsCollateralDisabledIterator struct { Event *BindingsReserveUsedAsCollateralDisabled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsReserveUsedAsCollateralDisabledIterator is returned from FilterReserveUsedAsCollateralDisabled and is used to iterate over the raw logs and unpacked data for ReserveUsedAsCollateralDisabled events raised by the Bindings contract.
func (*BindingsReserveUsedAsCollateralDisabledIterator) Close ¶
func (it *BindingsReserveUsedAsCollateralDisabledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsReserveUsedAsCollateralDisabledIterator) Error ¶
func (it *BindingsReserveUsedAsCollateralDisabledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsReserveUsedAsCollateralDisabledIterator) Next ¶
func (it *BindingsReserveUsedAsCollateralDisabledIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BindingsReserveUsedAsCollateralEnabled ¶
type BindingsReserveUsedAsCollateralEnabled struct { Reserve common.Address User common.Address Raw types.Log // Blockchain specific contextual infos }
BindingsReserveUsedAsCollateralEnabled represents a ReserveUsedAsCollateralEnabled event raised by the Bindings contract.
type BindingsReserveUsedAsCollateralEnabledIterator ¶
type BindingsReserveUsedAsCollateralEnabledIterator struct { Event *BindingsReserveUsedAsCollateralEnabled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsReserveUsedAsCollateralEnabledIterator is returned from FilterReserveUsedAsCollateralEnabled and is used to iterate over the raw logs and unpacked data for ReserveUsedAsCollateralEnabled events raised by the Bindings contract.
func (*BindingsReserveUsedAsCollateralEnabledIterator) Close ¶
func (it *BindingsReserveUsedAsCollateralEnabledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsReserveUsedAsCollateralEnabledIterator) Error ¶
func (it *BindingsReserveUsedAsCollateralEnabledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsReserveUsedAsCollateralEnabledIterator) Next ¶
func (it *BindingsReserveUsedAsCollateralEnabledIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BindingsSession ¶
type BindingsSession struct { Contract *Bindings // 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 }
BindingsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BindingsSession) Borrow ¶
func (_Bindings *BindingsSession) Borrow(asset common.Address, amount *big.Int, interestRateMode *big.Int, referralCode uint16, onBehalfOf common.Address) (*types.Transaction, error)
Borrow is a paid mutator transaction binding the contract method 0xa415bcad.
Solidity: function borrow(address asset, uint256 amount, uint256 interestRateMode, uint16 referralCode, address onBehalfOf) returns()
func (*BindingsSession) Deposit ¶
func (_Bindings *BindingsSession) Deposit(asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xe8eda9df.
Solidity: function deposit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()
func (*BindingsSession) FLASHLOANPREMIUMTOTAL ¶
func (_Bindings *BindingsSession) FLASHLOANPREMIUMTOTAL() (*big.Int, error)
FLASHLOANPREMIUMTOTAL is a free data retrieval call binding the contract method 0x074b2e43.
Solidity: function FLASHLOAN_PREMIUM_TOTAL() view returns(uint256)
func (*BindingsSession) FinalizeTransfer ¶
func (_Bindings *BindingsSession) FinalizeTransfer(asset common.Address, from common.Address, to common.Address, amount *big.Int, balanceFromBefore *big.Int, balanceToBefore *big.Int) (*types.Transaction, error)
FinalizeTransfer is a paid mutator transaction binding the contract method 0xd5ed3933.
Solidity: function finalizeTransfer(address asset, address from, address to, uint256 amount, uint256 balanceFromBefore, uint256 balanceToBefore) returns()
func (*BindingsSession) FlashLoan ¶
func (_Bindings *BindingsSession) FlashLoan(receiverAddress common.Address, assets []common.Address, amounts []*big.Int, modes []*big.Int, onBehalfOf common.Address, params []byte, referralCode uint16) (*types.Transaction, error)
FlashLoan is a paid mutator transaction binding the contract method 0xab9c4b5d.
Solidity: function flashLoan(address receiverAddress, address[] assets, uint256[] amounts, uint256[] modes, address onBehalfOf, bytes params, uint16 referralCode) returns()
func (*BindingsSession) GetAddressesProvider ¶
func (_Bindings *BindingsSession) GetAddressesProvider() (common.Address, error)
GetAddressesProvider is a free data retrieval call binding the contract method 0xfe65acfe.
Solidity: function getAddressesProvider() view returns(address)
func (*BindingsSession) GetConfiguration ¶
func (_Bindings *BindingsSession) GetConfiguration(asset common.Address) (DataTypesReserveConfigurationMap, error)
GetConfiguration is a free data retrieval call binding the contract method 0xc44b11f7.
Solidity: function getConfiguration(address asset) view returns((uint256))
func (*BindingsSession) GetReserveData ¶
func (_Bindings *BindingsSession) GetReserveData(asset common.Address) (DataTypesReserveData, error)
GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.
Solidity: function getReserveData(address asset) view returns(((uint256),uint128,uint128,uint128,uint128,uint128,uint40,address,address,address,address,uint8))
func (*BindingsSession) GetReserveNormalizedIncome ¶
func (_Bindings *BindingsSession) GetReserveNormalizedIncome(asset common.Address) (*big.Int, error)
GetReserveNormalizedIncome is a free data retrieval call binding the contract method 0xd15e0053.
Solidity: function getReserveNormalizedIncome(address asset) view returns(uint256)
func (*BindingsSession) GetReserveNormalizedVariableDebt ¶
func (_Bindings *BindingsSession) GetReserveNormalizedVariableDebt(asset common.Address) (*big.Int, error)
GetReserveNormalizedVariableDebt is a free data retrieval call binding the contract method 0x386497fd.
Solidity: function getReserveNormalizedVariableDebt(address asset) view returns(uint256)
func (*BindingsSession) GetReservesList ¶
func (_Bindings *BindingsSession) GetReservesList() ([]common.Address, error)
GetReservesList is a free data retrieval call binding the contract method 0xd1946dbc.
Solidity: function getReservesList() view returns(address[])
func (*BindingsSession) GetUserAccountData ¶
func (_Bindings *BindingsSession) GetUserAccountData(user common.Address) (struct { TotalCollateralETH *big.Int TotalDebtETH *big.Int AvailableBorrowsETH *big.Int CurrentLiquidationThreshold *big.Int Ltv *big.Int HealthFactor *big.Int }, error)
GetUserAccountData is a free data retrieval call binding the contract method 0xbf92857c.
Solidity: function getUserAccountData(address user) view returns(uint256 totalCollateralETH, uint256 totalDebtETH, uint256 availableBorrowsETH, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)
func (*BindingsSession) GetUserConfiguration ¶
func (_Bindings *BindingsSession) GetUserConfiguration(user common.Address) (DataTypesUserConfigurationMap, error)
GetUserConfiguration is a free data retrieval call binding the contract method 0x4417a583.
Solidity: function getUserConfiguration(address user) view returns((uint256))
func (*BindingsSession) InitReserve ¶
func (_Bindings *BindingsSession) InitReserve(asset common.Address, aTokenAddress common.Address, stableDebtAddress common.Address, variableDebtAddress common.Address, interestRateStrategyAddress common.Address) (*types.Transaction, error)
InitReserve is a paid mutator transaction binding the contract method 0x7a708e92.
Solidity: function initReserve(address asset, address aTokenAddress, address stableDebtAddress, address variableDebtAddress, address interestRateStrategyAddress) returns()
func (*BindingsSession) Initialize ¶
func (_Bindings *BindingsSession) Initialize(provider common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address provider) returns()
func (*BindingsSession) LENDINGPOOLREVISION ¶
func (_Bindings *BindingsSession) LENDINGPOOLREVISION() (*big.Int, error)
LENDINGPOOLREVISION is a free data retrieval call binding the contract method 0x8afaff02.
Solidity: function LENDINGPOOL_REVISION() view returns(uint256)
func (*BindingsSession) LiquidationCall ¶
func (_Bindings *BindingsSession) LiquidationCall(collateralAsset common.Address, debtAsset common.Address, user common.Address, debtToCover *big.Int, receiveAToken bool) (*types.Transaction, error)
LiquidationCall is a paid mutator transaction binding the contract method 0x00a718a9.
Solidity: function liquidationCall(address collateralAsset, address debtAsset, address user, uint256 debtToCover, bool receiveAToken) returns()
func (*BindingsSession) MAXNUMBERRESERVES ¶
func (_Bindings *BindingsSession) MAXNUMBERRESERVES() (*big.Int, error)
MAXNUMBERRESERVES is a free data retrieval call binding the contract method 0xf8119d51.
Solidity: function MAX_NUMBER_RESERVES() view returns(uint256)
func (*BindingsSession) MAXSTABLERATEBORROWSIZEPERCENT ¶
func (_Bindings *BindingsSession) MAXSTABLERATEBORROWSIZEPERCENT() (*big.Int, error)
MAXSTABLERATEBORROWSIZEPERCENT is a free data retrieval call binding the contract method 0xe82fec2f.
Solidity: function MAX_STABLE_RATE_BORROW_SIZE_PERCENT() view returns(uint256)
func (*BindingsSession) Paused ¶
func (_Bindings *BindingsSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*BindingsSession) RebalanceStableBorrowRate ¶
func (_Bindings *BindingsSession) RebalanceStableBorrowRate(asset common.Address, user common.Address) (*types.Transaction, error)
RebalanceStableBorrowRate is a paid mutator transaction binding the contract method 0xcd112382.
Solidity: function rebalanceStableBorrowRate(address asset, address user) returns()
func (*BindingsSession) Repay ¶
func (_Bindings *BindingsSession) Repay(asset common.Address, amount *big.Int, rateMode *big.Int, onBehalfOf common.Address) (*types.Transaction, error)
Repay is a paid mutator transaction binding the contract method 0x573ade81.
Solidity: function repay(address asset, uint256 amount, uint256 rateMode, address onBehalfOf) returns(uint256)
func (*BindingsSession) SetConfiguration ¶
func (_Bindings *BindingsSession) SetConfiguration(asset common.Address, configuration *big.Int) (*types.Transaction, error)
SetConfiguration is a paid mutator transaction binding the contract method 0xb8d29276.
Solidity: function setConfiguration(address asset, uint256 configuration) returns()
func (*BindingsSession) SetPause ¶
func (_Bindings *BindingsSession) SetPause(val bool) (*types.Transaction, error)
SetPause is a paid mutator transaction binding the contract method 0xbedb86fb.
Solidity: function setPause(bool val) returns()
func (*BindingsSession) SetReserveInterestRateStrategyAddress ¶
func (_Bindings *BindingsSession) SetReserveInterestRateStrategyAddress(asset common.Address, rateStrategyAddress common.Address) (*types.Transaction, error)
SetReserveInterestRateStrategyAddress is a paid mutator transaction binding the contract method 0x1d2118f9.
Solidity: function setReserveInterestRateStrategyAddress(address asset, address rateStrategyAddress) returns()
func (*BindingsSession) SetUserUseReserveAsCollateral ¶
func (_Bindings *BindingsSession) SetUserUseReserveAsCollateral(asset common.Address, useAsCollateral bool) (*types.Transaction, error)
SetUserUseReserveAsCollateral is a paid mutator transaction binding the contract method 0x5a3b74b9.
Solidity: function setUserUseReserveAsCollateral(address asset, bool useAsCollateral) returns()
func (*BindingsSession) SwapBorrowRateMode ¶
func (_Bindings *BindingsSession) SwapBorrowRateMode(asset common.Address, rateMode *big.Int) (*types.Transaction, error)
SwapBorrowRateMode is a paid mutator transaction binding the contract method 0x94ba89a2.
Solidity: function swapBorrowRateMode(address asset, uint256 rateMode) returns()
func (*BindingsSession) Withdraw ¶
func (_Bindings *BindingsSession) Withdraw(asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x69328dec.
Solidity: function withdraw(address asset, uint256 amount, address to) returns(uint256)
type BindingsSwap ¶
type BindingsSwap struct { Reserve common.Address User common.Address RateMode *big.Int Raw types.Log // Blockchain specific contextual infos }
BindingsSwap represents a Swap event raised by the Bindings contract.
type BindingsSwapIterator ¶
type BindingsSwapIterator struct { Event *BindingsSwap // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsSwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the Bindings contract.
func (*BindingsSwapIterator) Close ¶
func (it *BindingsSwapIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsSwapIterator) Error ¶
func (it *BindingsSwapIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsSwapIterator) Next ¶
func (it *BindingsSwapIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BindingsTransactor ¶
type BindingsTransactor struct {
// contains filtered or unexported fields
}
BindingsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBindingsTransactor ¶
func NewBindingsTransactor(address common.Address, transactor bind.ContractTransactor) (*BindingsTransactor, error)
NewBindingsTransactor creates a new write-only instance of Bindings, bound to a specific deployed contract.
func (*BindingsTransactor) Borrow ¶
func (_Bindings *BindingsTransactor) Borrow(opts *bind.TransactOpts, asset common.Address, amount *big.Int, interestRateMode *big.Int, referralCode uint16, onBehalfOf common.Address) (*types.Transaction, error)
Borrow is a paid mutator transaction binding the contract method 0xa415bcad.
Solidity: function borrow(address asset, uint256 amount, uint256 interestRateMode, uint16 referralCode, address onBehalfOf) returns()
func (*BindingsTransactor) Deposit ¶
func (_Bindings *BindingsTransactor) Deposit(opts *bind.TransactOpts, asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xe8eda9df.
Solidity: function deposit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()
func (*BindingsTransactor) FinalizeTransfer ¶
func (_Bindings *BindingsTransactor) FinalizeTransfer(opts *bind.TransactOpts, asset common.Address, from common.Address, to common.Address, amount *big.Int, balanceFromBefore *big.Int, balanceToBefore *big.Int) (*types.Transaction, error)
FinalizeTransfer is a paid mutator transaction binding the contract method 0xd5ed3933.
Solidity: function finalizeTransfer(address asset, address from, address to, uint256 amount, uint256 balanceFromBefore, uint256 balanceToBefore) returns()
func (*BindingsTransactor) FlashLoan ¶
func (_Bindings *BindingsTransactor) FlashLoan(opts *bind.TransactOpts, receiverAddress common.Address, assets []common.Address, amounts []*big.Int, modes []*big.Int, onBehalfOf common.Address, params []byte, referralCode uint16) (*types.Transaction, error)
FlashLoan is a paid mutator transaction binding the contract method 0xab9c4b5d.
Solidity: function flashLoan(address receiverAddress, address[] assets, uint256[] amounts, uint256[] modes, address onBehalfOf, bytes params, uint16 referralCode) returns()
func (*BindingsTransactor) InitReserve ¶
func (_Bindings *BindingsTransactor) InitReserve(opts *bind.TransactOpts, asset common.Address, aTokenAddress common.Address, stableDebtAddress common.Address, variableDebtAddress common.Address, interestRateStrategyAddress common.Address) (*types.Transaction, error)
InitReserve is a paid mutator transaction binding the contract method 0x7a708e92.
Solidity: function initReserve(address asset, address aTokenAddress, address stableDebtAddress, address variableDebtAddress, address interestRateStrategyAddress) returns()
func (*BindingsTransactor) Initialize ¶
func (_Bindings *BindingsTransactor) Initialize(opts *bind.TransactOpts, provider common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address provider) returns()
func (*BindingsTransactor) LiquidationCall ¶
func (_Bindings *BindingsTransactor) LiquidationCall(opts *bind.TransactOpts, collateralAsset common.Address, debtAsset common.Address, user common.Address, debtToCover *big.Int, receiveAToken bool) (*types.Transaction, error)
LiquidationCall is a paid mutator transaction binding the contract method 0x00a718a9.
Solidity: function liquidationCall(address collateralAsset, address debtAsset, address user, uint256 debtToCover, bool receiveAToken) returns()
func (*BindingsTransactor) RebalanceStableBorrowRate ¶
func (_Bindings *BindingsTransactor) RebalanceStableBorrowRate(opts *bind.TransactOpts, asset common.Address, user common.Address) (*types.Transaction, error)
RebalanceStableBorrowRate is a paid mutator transaction binding the contract method 0xcd112382.
Solidity: function rebalanceStableBorrowRate(address asset, address user) returns()
func (*BindingsTransactor) Repay ¶
func (_Bindings *BindingsTransactor) Repay(opts *bind.TransactOpts, asset common.Address, amount *big.Int, rateMode *big.Int, onBehalfOf common.Address) (*types.Transaction, error)
Repay is a paid mutator transaction binding the contract method 0x573ade81.
Solidity: function repay(address asset, uint256 amount, uint256 rateMode, address onBehalfOf) returns(uint256)
func (*BindingsTransactor) SetConfiguration ¶
func (_Bindings *BindingsTransactor) SetConfiguration(opts *bind.TransactOpts, asset common.Address, configuration *big.Int) (*types.Transaction, error)
SetConfiguration is a paid mutator transaction binding the contract method 0xb8d29276.
Solidity: function setConfiguration(address asset, uint256 configuration) returns()
func (*BindingsTransactor) SetPause ¶
func (_Bindings *BindingsTransactor) SetPause(opts *bind.TransactOpts, val bool) (*types.Transaction, error)
SetPause is a paid mutator transaction binding the contract method 0xbedb86fb.
Solidity: function setPause(bool val) returns()
func (*BindingsTransactor) SetReserveInterestRateStrategyAddress ¶
func (_Bindings *BindingsTransactor) SetReserveInterestRateStrategyAddress(opts *bind.TransactOpts, asset common.Address, rateStrategyAddress common.Address) (*types.Transaction, error)
SetReserveInterestRateStrategyAddress is a paid mutator transaction binding the contract method 0x1d2118f9.
Solidity: function setReserveInterestRateStrategyAddress(address asset, address rateStrategyAddress) returns()
func (*BindingsTransactor) SetUserUseReserveAsCollateral ¶
func (_Bindings *BindingsTransactor) SetUserUseReserveAsCollateral(opts *bind.TransactOpts, asset common.Address, useAsCollateral bool) (*types.Transaction, error)
SetUserUseReserveAsCollateral is a paid mutator transaction binding the contract method 0x5a3b74b9.
Solidity: function setUserUseReserveAsCollateral(address asset, bool useAsCollateral) returns()
func (*BindingsTransactor) SwapBorrowRateMode ¶
func (_Bindings *BindingsTransactor) SwapBorrowRateMode(opts *bind.TransactOpts, asset common.Address, rateMode *big.Int) (*types.Transaction, error)
SwapBorrowRateMode is a paid mutator transaction binding the contract method 0x94ba89a2.
Solidity: function swapBorrowRateMode(address asset, uint256 rateMode) returns()
func (*BindingsTransactor) Withdraw ¶
func (_Bindings *BindingsTransactor) Withdraw(opts *bind.TransactOpts, asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x69328dec.
Solidity: function withdraw(address asset, uint256 amount, address to) returns(uint256)
type BindingsTransactorRaw ¶
type BindingsTransactorRaw struct {
Contract *BindingsTransactor // Generic write-only contract binding to access the raw methods on
}
BindingsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BindingsTransactorRaw) Transact ¶
func (_Bindings *BindingsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BindingsTransactorRaw) Transfer ¶
func (_Bindings *BindingsTransactorRaw) 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 BindingsTransactorSession ¶
type BindingsTransactorSession struct { Contract *BindingsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BindingsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BindingsTransactorSession) Borrow ¶
func (_Bindings *BindingsTransactorSession) Borrow(asset common.Address, amount *big.Int, interestRateMode *big.Int, referralCode uint16, onBehalfOf common.Address) (*types.Transaction, error)
Borrow is a paid mutator transaction binding the contract method 0xa415bcad.
Solidity: function borrow(address asset, uint256 amount, uint256 interestRateMode, uint16 referralCode, address onBehalfOf) returns()
func (*BindingsTransactorSession) Deposit ¶
func (_Bindings *BindingsTransactorSession) Deposit(asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xe8eda9df.
Solidity: function deposit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()
func (*BindingsTransactorSession) FinalizeTransfer ¶
func (_Bindings *BindingsTransactorSession) FinalizeTransfer(asset common.Address, from common.Address, to common.Address, amount *big.Int, balanceFromBefore *big.Int, balanceToBefore *big.Int) (*types.Transaction, error)
FinalizeTransfer is a paid mutator transaction binding the contract method 0xd5ed3933.
Solidity: function finalizeTransfer(address asset, address from, address to, uint256 amount, uint256 balanceFromBefore, uint256 balanceToBefore) returns()
func (*BindingsTransactorSession) FlashLoan ¶
func (_Bindings *BindingsTransactorSession) FlashLoan(receiverAddress common.Address, assets []common.Address, amounts []*big.Int, modes []*big.Int, onBehalfOf common.Address, params []byte, referralCode uint16) (*types.Transaction, error)
FlashLoan is a paid mutator transaction binding the contract method 0xab9c4b5d.
Solidity: function flashLoan(address receiverAddress, address[] assets, uint256[] amounts, uint256[] modes, address onBehalfOf, bytes params, uint16 referralCode) returns()
func (*BindingsTransactorSession) InitReserve ¶
func (_Bindings *BindingsTransactorSession) InitReserve(asset common.Address, aTokenAddress common.Address, stableDebtAddress common.Address, variableDebtAddress common.Address, interestRateStrategyAddress common.Address) (*types.Transaction, error)
InitReserve is a paid mutator transaction binding the contract method 0x7a708e92.
Solidity: function initReserve(address asset, address aTokenAddress, address stableDebtAddress, address variableDebtAddress, address interestRateStrategyAddress) returns()
func (*BindingsTransactorSession) Initialize ¶
func (_Bindings *BindingsTransactorSession) Initialize(provider common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address provider) returns()
func (*BindingsTransactorSession) LiquidationCall ¶
func (_Bindings *BindingsTransactorSession) LiquidationCall(collateralAsset common.Address, debtAsset common.Address, user common.Address, debtToCover *big.Int, receiveAToken bool) (*types.Transaction, error)
LiquidationCall is a paid mutator transaction binding the contract method 0x00a718a9.
Solidity: function liquidationCall(address collateralAsset, address debtAsset, address user, uint256 debtToCover, bool receiveAToken) returns()
func (*BindingsTransactorSession) RebalanceStableBorrowRate ¶
func (_Bindings *BindingsTransactorSession) RebalanceStableBorrowRate(asset common.Address, user common.Address) (*types.Transaction, error)
RebalanceStableBorrowRate is a paid mutator transaction binding the contract method 0xcd112382.
Solidity: function rebalanceStableBorrowRate(address asset, address user) returns()
func (*BindingsTransactorSession) Repay ¶
func (_Bindings *BindingsTransactorSession) Repay(asset common.Address, amount *big.Int, rateMode *big.Int, onBehalfOf common.Address) (*types.Transaction, error)
Repay is a paid mutator transaction binding the contract method 0x573ade81.
Solidity: function repay(address asset, uint256 amount, uint256 rateMode, address onBehalfOf) returns(uint256)
func (*BindingsTransactorSession) SetConfiguration ¶
func (_Bindings *BindingsTransactorSession) SetConfiguration(asset common.Address, configuration *big.Int) (*types.Transaction, error)
SetConfiguration is a paid mutator transaction binding the contract method 0xb8d29276.
Solidity: function setConfiguration(address asset, uint256 configuration) returns()
func (*BindingsTransactorSession) SetPause ¶
func (_Bindings *BindingsTransactorSession) SetPause(val bool) (*types.Transaction, error)
SetPause is a paid mutator transaction binding the contract method 0xbedb86fb.
Solidity: function setPause(bool val) returns()
func (*BindingsTransactorSession) SetReserveInterestRateStrategyAddress ¶
func (_Bindings *BindingsTransactorSession) SetReserveInterestRateStrategyAddress(asset common.Address, rateStrategyAddress common.Address) (*types.Transaction, error)
SetReserveInterestRateStrategyAddress is a paid mutator transaction binding the contract method 0x1d2118f9.
Solidity: function setReserveInterestRateStrategyAddress(address asset, address rateStrategyAddress) returns()
func (*BindingsTransactorSession) SetUserUseReserveAsCollateral ¶
func (_Bindings *BindingsTransactorSession) SetUserUseReserveAsCollateral(asset common.Address, useAsCollateral bool) (*types.Transaction, error)
SetUserUseReserveAsCollateral is a paid mutator transaction binding the contract method 0x5a3b74b9.
Solidity: function setUserUseReserveAsCollateral(address asset, bool useAsCollateral) returns()
func (*BindingsTransactorSession) SwapBorrowRateMode ¶
func (_Bindings *BindingsTransactorSession) SwapBorrowRateMode(asset common.Address, rateMode *big.Int) (*types.Transaction, error)
SwapBorrowRateMode is a paid mutator transaction binding the contract method 0x94ba89a2.
Solidity: function swapBorrowRateMode(address asset, uint256 rateMode) returns()
func (*BindingsTransactorSession) Withdraw ¶
func (_Bindings *BindingsTransactorSession) Withdraw(asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x69328dec.
Solidity: function withdraw(address asset, uint256 amount, address to) returns(uint256)
type BindingsUnpaused ¶
BindingsUnpaused represents a Unpaused event raised by the Bindings contract.
type BindingsUnpausedIterator ¶
type BindingsUnpausedIterator struct { Event *BindingsUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Bindings contract.
func (*BindingsUnpausedIterator) Close ¶
func (it *BindingsUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsUnpausedIterator) Error ¶
func (it *BindingsUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsUnpausedIterator) Next ¶
func (it *BindingsUnpausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BindingsWithdraw ¶
type BindingsWithdraw struct { Reserve common.Address User common.Address To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
BindingsWithdraw represents a Withdraw event raised by the Bindings contract.
type BindingsWithdrawIterator ¶
type BindingsWithdrawIterator struct { Event *BindingsWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the Bindings contract.
func (*BindingsWithdrawIterator) Close ¶
func (it *BindingsWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsWithdrawIterator) Error ¶
func (it *BindingsWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsWithdrawIterator) Next ¶
func (it *BindingsWithdrawIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type DataTypesReserveConfigurationMap ¶
DataTypesReserveConfigurationMap is an auto generated low-level Go binding around an user-defined struct.
type DataTypesReserveData ¶
type DataTypesReserveData struct { Configuration DataTypesReserveConfigurationMap LiquidityIndex *big.Int VariableBorrowIndex *big.Int CurrentLiquidityRate *big.Int CurrentVariableBorrowRate *big.Int CurrentStableBorrowRate *big.Int LastUpdateTimestamp *big.Int ATokenAddress common.Address StableDebtTokenAddress common.Address VariableDebtTokenAddress common.Address InterestRateStrategyAddress common.Address Id uint8 }
DataTypesReserveData is an auto generated low-level Go binding around an user-defined struct.
type DataTypesUserConfigurationMap ¶
DataTypesUserConfigurationMap is an auto generated low-level Go binding around an user-defined struct.