Documentation ¶
Index ¶
- Variables
- type Borrow
- func (*Borrow) Descriptor() ([]byte, []int)deprecated
- func (x *Borrow) GetAmount() []byte
- func (x *Borrow) GetBlockNumber() uint64
- func (x *Borrow) GetBorrowRate() []byte
- func (x *Borrow) GetBorrowRateMode() []byte
- func (x *Borrow) GetLogIndex() uint64
- func (x *Borrow) GetOnBehalfOf() []byte
- func (x *Borrow) GetReferral() uint32
- func (x *Borrow) GetReserve() []byte
- func (x *Borrow) GetTs() *timestamppb.Timestamp
- func (x *Borrow) GetTxHash() []byte
- func (x *Borrow) GetUser() []byte
- func (*Borrow) ProtoMessage()
- func (x *Borrow) ProtoReflect() protoreflect.Message
- func (x *Borrow) Reset()
- func (x *Borrow) String() string
- type Deposit
- func (*Deposit) Descriptor() ([]byte, []int)deprecated
- func (x *Deposit) GetAmount() []byte
- func (x *Deposit) GetBlockNumber() uint64
- func (x *Deposit) GetLogIndex() uint64
- func (x *Deposit) GetOnBehalfOf() []byte
- func (x *Deposit) GetReferral() uint32
- func (x *Deposit) GetReserve() []byte
- func (x *Deposit) GetTs() *timestamppb.Timestamp
- func (x *Deposit) GetTxHash() []byte
- func (x *Deposit) GetUser() []byte
- func (*Deposit) ProtoMessage()
- func (x *Deposit) ProtoReflect() protoreflect.Message
- func (x *Deposit) Reset()
- func (x *Deposit) String() string
- type FlashLoan
- func (*FlashLoan) Descriptor() ([]byte, []int)deprecated
- func (x *FlashLoan) GetAmount() []byte
- func (x *FlashLoan) GetAsset() []byte
- func (x *FlashLoan) GetBlockNumber() uint64
- func (x *FlashLoan) GetInitiator() []byte
- func (x *FlashLoan) GetLogIndex() uint64
- func (x *FlashLoan) GetPremium() []byte
- func (x *FlashLoan) GetReferralCode() uint32
- func (x *FlashLoan) GetTarget() []byte
- func (x *FlashLoan) GetTs() *timestamppb.Timestamp
- func (x *FlashLoan) GetTxHash() []byte
- func (*FlashLoan) ProtoMessage()
- func (x *FlashLoan) ProtoReflect() protoreflect.Message
- func (x *FlashLoan) Reset()
- func (x *FlashLoan) String() string
- type Lendingpool
- type LendingpoolBorrow
- type LendingpoolBorrowIterator
- type LendingpoolCaller
- func (_Lendingpool *LendingpoolCaller) FLASHLOANPREMIUMTOTAL(opts *bind.CallOpts) (*big.Int, error)
- func (_Lendingpool *LendingpoolCaller) GetAddressesProvider(opts *bind.CallOpts) (common.Address, error)
- func (_Lendingpool *LendingpoolCaller) GetConfiguration(opts *bind.CallOpts, asset common.Address) (Struct0, error)
- func (_Lendingpool *LendingpoolCaller) GetReserveData(opts *bind.CallOpts, asset common.Address) (Struct1, error)
- func (_Lendingpool *LendingpoolCaller) GetReserveNormalizedIncome(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
- func (_Lendingpool *LendingpoolCaller) GetReserveNormalizedVariableDebt(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
- func (_Lendingpool *LendingpoolCaller) GetReservesList(opts *bind.CallOpts) ([]common.Address, error)
- func (_Lendingpool *LendingpoolCaller) GetUserAccountData(opts *bind.CallOpts, user common.Address) (struct{ ... }, error)
- func (_Lendingpool *LendingpoolCaller) GetUserConfiguration(opts *bind.CallOpts, user common.Address) (Struct0, error)
- func (_Lendingpool *LendingpoolCaller) LENDINGPOOLREVISION(opts *bind.CallOpts) (*big.Int, error)
- func (_Lendingpool *LendingpoolCaller) MAXNUMBERRESERVES(opts *bind.CallOpts) (*big.Int, error)
- func (_Lendingpool *LendingpoolCaller) MAXSTABLERATEBORROWSIZEPERCENT(opts *bind.CallOpts) (*big.Int, error)
- func (_Lendingpool *LendingpoolCaller) Paused(opts *bind.CallOpts) (bool, error)
- type LendingpoolCallerRaw
- type LendingpoolCallerSession
- func (_Lendingpool *LendingpoolCallerSession) FLASHLOANPREMIUMTOTAL() (*big.Int, error)
- func (_Lendingpool *LendingpoolCallerSession) GetAddressesProvider() (common.Address, error)
- func (_Lendingpool *LendingpoolCallerSession) GetConfiguration(asset common.Address) (Struct0, error)
- func (_Lendingpool *LendingpoolCallerSession) GetReserveData(asset common.Address) (Struct1, error)
- func (_Lendingpool *LendingpoolCallerSession) GetReserveNormalizedIncome(asset common.Address) (*big.Int, error)
- func (_Lendingpool *LendingpoolCallerSession) GetReserveNormalizedVariableDebt(asset common.Address) (*big.Int, error)
- func (_Lendingpool *LendingpoolCallerSession) GetReservesList() ([]common.Address, error)
- func (_Lendingpool *LendingpoolCallerSession) GetUserAccountData(user common.Address) (struct{ ... }, error)
- func (_Lendingpool *LendingpoolCallerSession) GetUserConfiguration(user common.Address) (Struct0, error)
- func (_Lendingpool *LendingpoolCallerSession) LENDINGPOOLREVISION() (*big.Int, error)
- func (_Lendingpool *LendingpoolCallerSession) MAXNUMBERRESERVES() (*big.Int, error)
- func (_Lendingpool *LendingpoolCallerSession) MAXSTABLERATEBORROWSIZEPERCENT() (*big.Int, error)
- func (_Lendingpool *LendingpoolCallerSession) Paused() (bool, error)
- type LendingpoolDeposit
- type LendingpoolDepositIterator
- type LendingpoolFilterer
- func (_Lendingpool *LendingpoolFilterer) FilterBorrow(opts *bind.FilterOpts, reserve []common.Address, onBehalfOf []common.Address, ...) (*LendingpoolBorrowIterator, error)
- func (_Lendingpool *LendingpoolFilterer) FilterDeposit(opts *bind.FilterOpts, reserve []common.Address, onBehalfOf []common.Address, ...) (*LendingpoolDepositIterator, error)
- func (_Lendingpool *LendingpoolFilterer) FilterFlashLoan(opts *bind.FilterOpts, target []common.Address, initiator []common.Address, ...) (*LendingpoolFlashLoanIterator, error)
- func (_Lendingpool *LendingpoolFilterer) FilterLiquidationCall(opts *bind.FilterOpts, collateralAsset []common.Address, ...) (*LendingpoolLiquidationCallIterator, error)
- func (_Lendingpool *LendingpoolFilterer) FilterPaused(opts *bind.FilterOpts) (*LendingpoolPausedIterator, error)
- func (_Lendingpool *LendingpoolFilterer) FilterRebalanceStableBorrowRate(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*LendingpoolRebalanceStableBorrowRateIterator, error)
- func (_Lendingpool *LendingpoolFilterer) FilterRepay(opts *bind.FilterOpts, reserve []common.Address, user []common.Address, ...) (*LendingpoolRepayIterator, error)
- func (_Lendingpool *LendingpoolFilterer) FilterReserveDataUpdated(opts *bind.FilterOpts, reserve []common.Address) (*LendingpoolReserveDataUpdatedIterator, error)
- func (_Lendingpool *LendingpoolFilterer) FilterReserveUsedAsCollateralDisabled(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*LendingpoolReserveUsedAsCollateralDisabledIterator, error)
- func (_Lendingpool *LendingpoolFilterer) FilterReserveUsedAsCollateralEnabled(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*LendingpoolReserveUsedAsCollateralEnabledIterator, error)
- func (_Lendingpool *LendingpoolFilterer) FilterSwap(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*LendingpoolSwapIterator, error)
- func (_Lendingpool *LendingpoolFilterer) FilterUnpaused(opts *bind.FilterOpts) (*LendingpoolUnpausedIterator, error)
- func (_Lendingpool *LendingpoolFilterer) FilterWithdraw(opts *bind.FilterOpts, reserve []common.Address, user []common.Address, ...) (*LendingpoolWithdrawIterator, error)
- func (_Lendingpool *LendingpoolFilterer) ParseBorrow(log types.Log) (*LendingpoolBorrow, error)
- func (_Lendingpool *LendingpoolFilterer) ParseDeposit(log types.Log) (*LendingpoolDeposit, error)
- func (_Lendingpool *LendingpoolFilterer) ParseFlashLoan(log types.Log) (*LendingpoolFlashLoan, error)
- func (_Lendingpool *LendingpoolFilterer) ParseLiquidationCall(log types.Log) (*LendingpoolLiquidationCall, error)
- func (_Lendingpool *LendingpoolFilterer) ParsePaused(log types.Log) (*LendingpoolPaused, error)
- func (_Lendingpool *LendingpoolFilterer) ParseRebalanceStableBorrowRate(log types.Log) (*LendingpoolRebalanceStableBorrowRate, error)
- func (_Lendingpool *LendingpoolFilterer) ParseRepay(log types.Log) (*LendingpoolRepay, error)
- func (_Lendingpool *LendingpoolFilterer) ParseReserveDataUpdated(log types.Log) (*LendingpoolReserveDataUpdated, error)
- func (_Lendingpool *LendingpoolFilterer) ParseReserveUsedAsCollateralDisabled(log types.Log) (*LendingpoolReserveUsedAsCollateralDisabled, error)
- func (_Lendingpool *LendingpoolFilterer) ParseReserveUsedAsCollateralEnabled(log types.Log) (*LendingpoolReserveUsedAsCollateralEnabled, error)
- func (_Lendingpool *LendingpoolFilterer) ParseSwap(log types.Log) (*LendingpoolSwap, error)
- func (_Lendingpool *LendingpoolFilterer) ParseUnpaused(log types.Log) (*LendingpoolUnpaused, error)
- func (_Lendingpool *LendingpoolFilterer) ParseWithdraw(log types.Log) (*LendingpoolWithdraw, error)
- func (_Lendingpool *LendingpoolFilterer) WatchBorrow(opts *bind.WatchOpts, sink chan<- *LendingpoolBorrow, reserve []common.Address, ...) (event.Subscription, error)
- func (_Lendingpool *LendingpoolFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *LendingpoolDeposit, ...) (event.Subscription, error)
- func (_Lendingpool *LendingpoolFilterer) WatchFlashLoan(opts *bind.WatchOpts, sink chan<- *LendingpoolFlashLoan, ...) (event.Subscription, error)
- func (_Lendingpool *LendingpoolFilterer) WatchLiquidationCall(opts *bind.WatchOpts, sink chan<- *LendingpoolLiquidationCall, ...) (event.Subscription, error)
- func (_Lendingpool *LendingpoolFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *LendingpoolPaused) (event.Subscription, error)
- func (_Lendingpool *LendingpoolFilterer) WatchRebalanceStableBorrowRate(opts *bind.WatchOpts, sink chan<- *LendingpoolRebalanceStableBorrowRate, ...) (event.Subscription, error)
- func (_Lendingpool *LendingpoolFilterer) WatchRepay(opts *bind.WatchOpts, sink chan<- *LendingpoolRepay, reserve []common.Address, ...) (event.Subscription, error)
- func (_Lendingpool *LendingpoolFilterer) WatchReserveDataUpdated(opts *bind.WatchOpts, sink chan<- *LendingpoolReserveDataUpdated, ...) (event.Subscription, error)
- func (_Lendingpool *LendingpoolFilterer) WatchReserveUsedAsCollateralDisabled(opts *bind.WatchOpts, sink chan<- *LendingpoolReserveUsedAsCollateralDisabled, ...) (event.Subscription, error)
- func (_Lendingpool *LendingpoolFilterer) WatchReserveUsedAsCollateralEnabled(opts *bind.WatchOpts, sink chan<- *LendingpoolReserveUsedAsCollateralEnabled, ...) (event.Subscription, error)
- func (_Lendingpool *LendingpoolFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *LendingpoolSwap, reserve []common.Address, ...) (event.Subscription, error)
- func (_Lendingpool *LendingpoolFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *LendingpoolUnpaused) (event.Subscription, error)
- func (_Lendingpool *LendingpoolFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *LendingpoolWithdraw, ...) (event.Subscription, error)
- type LendingpoolFlashLoan
- type LendingpoolFlashLoanIterator
- type LendingpoolLiquidationCall
- type LendingpoolLiquidationCallIterator
- type LendingpoolPaused
- type LendingpoolPausedIterator
- type LendingpoolRaw
- func (_Lendingpool *LendingpoolRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Lendingpool *LendingpoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LendingpoolRebalanceStableBorrowRate
- type LendingpoolRebalanceStableBorrowRateIterator
- type LendingpoolRepay
- type LendingpoolRepayIterator
- type LendingpoolReserveDataUpdated
- type LendingpoolReserveDataUpdatedIterator
- type LendingpoolReserveUsedAsCollateralDisabled
- type LendingpoolReserveUsedAsCollateralDisabledIterator
- type LendingpoolReserveUsedAsCollateralEnabled
- type LendingpoolReserveUsedAsCollateralEnabledIterator
- type LendingpoolSession
- func (_Lendingpool *LendingpoolSession) Borrow(asset common.Address, amount *big.Int, interestRateMode *big.Int, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolSession) Deposit(asset common.Address, amount *big.Int, onBehalfOf common.Address, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolSession) FLASHLOANPREMIUMTOTAL() (*big.Int, error)
- func (_Lendingpool *LendingpoolSession) FinalizeTransfer(asset common.Address, from common.Address, to common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolSession) FlashLoan(receiverAddress common.Address, assets []common.Address, amounts []*big.Int, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolSession) GetAddressesProvider() (common.Address, error)
- func (_Lendingpool *LendingpoolSession) GetConfiguration(asset common.Address) (Struct0, error)
- func (_Lendingpool *LendingpoolSession) GetReserveData(asset common.Address) (Struct1, error)
- func (_Lendingpool *LendingpoolSession) GetReserveNormalizedIncome(asset common.Address) (*big.Int, error)
- func (_Lendingpool *LendingpoolSession) GetReserveNormalizedVariableDebt(asset common.Address) (*big.Int, error)
- func (_Lendingpool *LendingpoolSession) GetReservesList() ([]common.Address, error)
- func (_Lendingpool *LendingpoolSession) GetUserAccountData(user common.Address) (struct{ ... }, error)
- func (_Lendingpool *LendingpoolSession) GetUserConfiguration(user common.Address) (Struct0, error)
- func (_Lendingpool *LendingpoolSession) InitReserve(asset common.Address, aTokenAddress common.Address, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolSession) Initialize(provider common.Address) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolSession) LENDINGPOOLREVISION() (*big.Int, error)
- func (_Lendingpool *LendingpoolSession) LiquidationCall(collateralAsset common.Address, debtAsset common.Address, user common.Address, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolSession) MAXNUMBERRESERVES() (*big.Int, error)
- func (_Lendingpool *LendingpoolSession) MAXSTABLERATEBORROWSIZEPERCENT() (*big.Int, error)
- func (_Lendingpool *LendingpoolSession) Paused() (bool, error)
- func (_Lendingpool *LendingpoolSession) RebalanceStableBorrowRate(asset common.Address, user common.Address) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolSession) Repay(asset common.Address, amount *big.Int, rateMode *big.Int, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolSession) SetConfiguration(asset common.Address, configuration *big.Int) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolSession) SetPause(val bool) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolSession) SetReserveInterestRateStrategyAddress(asset common.Address, rateStrategyAddress common.Address) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolSession) SetUserUseReserveAsCollateral(asset common.Address, useAsCollateral bool) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolSession) SwapBorrowRateMode(asset common.Address, rateMode *big.Int) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolSession) Withdraw(asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)
- type LendingpoolSwap
- type LendingpoolSwapIterator
- type LendingpoolTransactor
- func (_Lendingpool *LendingpoolTransactor) Borrow(opts *bind.TransactOpts, asset common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactor) Deposit(opts *bind.TransactOpts, asset common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactor) FinalizeTransfer(opts *bind.TransactOpts, asset common.Address, from common.Address, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactor) FlashLoan(opts *bind.TransactOpts, receiverAddress common.Address, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactor) InitReserve(opts *bind.TransactOpts, asset common.Address, aTokenAddress common.Address, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactor) Initialize(opts *bind.TransactOpts, provider common.Address) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactor) LiquidationCall(opts *bind.TransactOpts, collateralAsset common.Address, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactor) RebalanceStableBorrowRate(opts *bind.TransactOpts, asset common.Address, user common.Address) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactor) Repay(opts *bind.TransactOpts, asset common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactor) SetConfiguration(opts *bind.TransactOpts, asset common.Address, configuration *big.Int) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactor) SetPause(opts *bind.TransactOpts, val bool) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactor) SetReserveInterestRateStrategyAddress(opts *bind.TransactOpts, asset common.Address, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactor) SetUserUseReserveAsCollateral(opts *bind.TransactOpts, asset common.Address, useAsCollateral bool) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactor) SwapBorrowRateMode(opts *bind.TransactOpts, asset common.Address, rateMode *big.Int) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactor) Withdraw(opts *bind.TransactOpts, asset common.Address, amount *big.Int, ...) (*types.Transaction, error)
- type LendingpoolTransactorRaw
- type LendingpoolTransactorSession
- func (_Lendingpool *LendingpoolTransactorSession) Borrow(asset common.Address, amount *big.Int, interestRateMode *big.Int, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactorSession) Deposit(asset common.Address, amount *big.Int, onBehalfOf common.Address, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactorSession) FinalizeTransfer(asset common.Address, from common.Address, to common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactorSession) FlashLoan(receiverAddress common.Address, assets []common.Address, amounts []*big.Int, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactorSession) InitReserve(asset common.Address, aTokenAddress common.Address, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactorSession) Initialize(provider common.Address) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactorSession) LiquidationCall(collateralAsset common.Address, debtAsset common.Address, user common.Address, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactorSession) RebalanceStableBorrowRate(asset common.Address, user common.Address) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactorSession) Repay(asset common.Address, amount *big.Int, rateMode *big.Int, ...) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactorSession) SetConfiguration(asset common.Address, configuration *big.Int) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactorSession) SetPause(val bool) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactorSession) SetReserveInterestRateStrategyAddress(asset common.Address, rateStrategyAddress common.Address) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactorSession) SetUserUseReserveAsCollateral(asset common.Address, useAsCollateral bool) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactorSession) SwapBorrowRateMode(asset common.Address, rateMode *big.Int) (*types.Transaction, error)
- func (_Lendingpool *LendingpoolTransactorSession) Withdraw(asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)
- type LendingpoolUnpaused
- type LendingpoolUnpausedIterator
- type LendingpoolWithdraw
- type LendingpoolWithdrawIterator
- type LiquidationCall
- func (*LiquidationCall) Descriptor() ([]byte, []int)deprecated
- func (x *LiquidationCall) GetBlockNumber() uint64
- func (x *LiquidationCall) GetCollateralAsset() []byte
- func (x *LiquidationCall) GetDebtAsset() []byte
- func (x *LiquidationCall) GetDebtToCover() []byte
- func (x *LiquidationCall) GetLiquidatedCollateralAmount() []byte
- func (x *LiquidationCall) GetLiquidator() []byte
- func (x *LiquidationCall) GetLogIndex() uint64
- func (x *LiquidationCall) GetReceiveAToken() bool
- func (x *LiquidationCall) GetTs() *timestamppb.Timestamp
- func (x *LiquidationCall) GetTxHash() []byte
- func (x *LiquidationCall) GetUser() []byte
- func (*LiquidationCall) ProtoMessage()
- func (x *LiquidationCall) ProtoReflect() protoreflect.Message
- func (x *LiquidationCall) Reset()
- func (x *LiquidationCall) String() string
- type Paused
- func (*Paused) Descriptor() ([]byte, []int)deprecated
- func (x *Paused) GetBlockNumber() uint64
- func (x *Paused) GetLogIndex() uint64
- func (x *Paused) GetTs() *timestamppb.Timestamp
- func (x *Paused) GetTxHash() []byte
- func (*Paused) ProtoMessage()
- func (x *Paused) ProtoReflect() protoreflect.Message
- func (x *Paused) Reset()
- func (x *Paused) String() string
- type RebalanceStableBorrowRate
- func (*RebalanceStableBorrowRate) Descriptor() ([]byte, []int)deprecated
- func (x *RebalanceStableBorrowRate) GetBlockNumber() uint64
- func (x *RebalanceStableBorrowRate) GetLogIndex() uint64
- func (x *RebalanceStableBorrowRate) GetReserve() []byte
- func (x *RebalanceStableBorrowRate) GetTs() *timestamppb.Timestamp
- func (x *RebalanceStableBorrowRate) GetTxHash() []byte
- func (x *RebalanceStableBorrowRate) GetUser() []byte
- func (*RebalanceStableBorrowRate) ProtoMessage()
- func (x *RebalanceStableBorrowRate) ProtoReflect() protoreflect.Message
- func (x *RebalanceStableBorrowRate) Reset()
- func (x *RebalanceStableBorrowRate) String() string
- type Repay
- func (*Repay) Descriptor() ([]byte, []int)deprecated
- func (x *Repay) GetAmount() []byte
- func (x *Repay) GetBlockNumber() uint64
- func (x *Repay) GetLogIndex() uint64
- func (x *Repay) GetRepayer() []byte
- func (x *Repay) GetReserve() []byte
- func (x *Repay) GetTs() *timestamppb.Timestamp
- func (x *Repay) GetTxHash() []byte
- func (x *Repay) GetUser() []byte
- func (*Repay) ProtoMessage()
- func (x *Repay) ProtoReflect() protoreflect.Message
- func (x *Repay) Reset()
- func (x *Repay) String() string
- type ReserveDataUpdated
- func (*ReserveDataUpdated) Descriptor() ([]byte, []int)deprecated
- func (x *ReserveDataUpdated) GetBlockNumber() uint64
- func (x *ReserveDataUpdated) GetLiquidityIndex() []byte
- func (x *ReserveDataUpdated) GetLiquidityRate() []byte
- func (x *ReserveDataUpdated) GetLogIndex() uint64
- func (x *ReserveDataUpdated) GetReserve() []byte
- func (x *ReserveDataUpdated) GetStableBorrowRate() []byte
- func (x *ReserveDataUpdated) GetTs() *timestamppb.Timestamp
- func (x *ReserveDataUpdated) GetTxHash() []byte
- func (x *ReserveDataUpdated) GetVariableBorrowIndex() []byte
- func (x *ReserveDataUpdated) GetVariableBorrowRate() []byte
- func (*ReserveDataUpdated) ProtoMessage()
- func (x *ReserveDataUpdated) ProtoReflect() protoreflect.Message
- func (x *ReserveDataUpdated) Reset()
- func (x *ReserveDataUpdated) String() string
- type ReserveUsedAsCollateralDisabled
- func (*ReserveUsedAsCollateralDisabled) Descriptor() ([]byte, []int)deprecated
- func (x *ReserveUsedAsCollateralDisabled) GetBlockNumber() uint64
- func (x *ReserveUsedAsCollateralDisabled) GetLogIndex() uint64
- func (x *ReserveUsedAsCollateralDisabled) GetReserve() []byte
- func (x *ReserveUsedAsCollateralDisabled) GetTs() *timestamppb.Timestamp
- func (x *ReserveUsedAsCollateralDisabled) GetTxHash() []byte
- func (x *ReserveUsedAsCollateralDisabled) GetUser() []byte
- func (*ReserveUsedAsCollateralDisabled) ProtoMessage()
- func (x *ReserveUsedAsCollateralDisabled) ProtoReflect() protoreflect.Message
- func (x *ReserveUsedAsCollateralDisabled) Reset()
- func (x *ReserveUsedAsCollateralDisabled) String() string
- type ReserveUsedAsCollateralEnabled
- func (*ReserveUsedAsCollateralEnabled) Descriptor() ([]byte, []int)deprecated
- func (x *ReserveUsedAsCollateralEnabled) GetBlockNumber() uint64
- func (x *ReserveUsedAsCollateralEnabled) GetLogIndex() uint64
- func (x *ReserveUsedAsCollateralEnabled) GetReserve() []byte
- func (x *ReserveUsedAsCollateralEnabled) GetTs() *timestamppb.Timestamp
- func (x *ReserveUsedAsCollateralEnabled) GetTxHash() []byte
- func (x *ReserveUsedAsCollateralEnabled) GetUser() []byte
- func (*ReserveUsedAsCollateralEnabled) ProtoMessage()
- func (x *ReserveUsedAsCollateralEnabled) ProtoReflect() protoreflect.Message
- func (x *ReserveUsedAsCollateralEnabled) Reset()
- func (x *ReserveUsedAsCollateralEnabled) String() string
- type SmartContract
- type Struct0
- type Struct1
- type Swap
- func (*Swap) Descriptor() ([]byte, []int)deprecated
- func (x *Swap) GetBlockNumber() uint64
- func (x *Swap) GetLogIndex() uint64
- func (x *Swap) GetRateMode() []byte
- func (x *Swap) GetReserve() []byte
- func (x *Swap) GetTs() *timestamppb.Timestamp
- func (x *Swap) GetTxHash() []byte
- func (x *Swap) GetUser() []byte
- func (*Swap) ProtoMessage()
- func (x *Swap) ProtoReflect() protoreflect.Message
- func (x *Swap) Reset()
- func (x *Swap) String() string
- type Unpaused
- func (*Unpaused) Descriptor() ([]byte, []int)deprecated
- func (x *Unpaused) GetBlockNumber() uint64
- func (x *Unpaused) GetLogIndex() uint64
- func (x *Unpaused) GetTs() *timestamppb.Timestamp
- func (x *Unpaused) GetTxHash() []byte
- func (*Unpaused) ProtoMessage()
- func (x *Unpaused) ProtoReflect() protoreflect.Message
- func (x *Unpaused) Reset()
- func (x *Unpaused) String() string
- type Withdraw
- func (*Withdraw) Descriptor() ([]byte, []int)deprecated
- func (x *Withdraw) GetAmount() []byte
- func (x *Withdraw) GetBlockNumber() uint64
- func (x *Withdraw) GetLogIndex() uint64
- func (x *Withdraw) GetReserve() []byte
- func (x *Withdraw) GetTo() []byte
- func (x *Withdraw) GetTs() *timestamppb.Timestamp
- func (x *Withdraw) GetTxHash() []byte
- func (x *Withdraw) GetUser() []byte
- func (*Withdraw) ProtoMessage()
- func (x *Withdraw) ProtoReflect() protoreflect.Message
- func (x *Withdraw) Reset()
- func (x *Withdraw) String() string
Constants ¶
This section is empty.
Variables ¶
var File_lendingpool_proto protoreflect.FileDescriptor
var LendingpoolABI = LendingpoolMetaData.ABI
LendingpoolABI is the input ABI used to generate the binding from. Deprecated: Use LendingpoolMetaData.ABI instead.
var LendingpoolMetaData = &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\"}]",
}
LendingpoolMetaData contains all meta data concerning the Lendingpool contract.
Functions ¶
This section is empty.
Types ¶
type Borrow ¶
type Borrow struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Reserve []byte `protobuf:"bytes,2,opt,name=reserve,proto3" json:"reserve,omitempty"` User []byte `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` OnBehalfOf []byte `protobuf:"bytes,4,opt,name=onBehalfOf,proto3" json:"onBehalfOf,omitempty"` Amount []byte `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` // uint256 BorrowRateMode []byte `protobuf:"bytes,6,opt,name=borrowRateMode,proto3" json:"borrowRateMode,omitempty"` // uint256 BorrowRate []byte `protobuf:"bytes,7,opt,name=borrowRate,proto3" json:"borrowRate,omitempty"` // uint256 Referral uint32 `protobuf:"varint,8,opt,name=referral,proto3" json:"referral,omitempty"` BlockNumber uint64 `protobuf:"varint,9,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` LogIndex uint64 `protobuf:"varint,10,opt,name=logIndex,proto3" json:"logIndex,omitempty"` TxHash []byte `protobuf:"bytes,11,opt,name=txHash,proto3" json:"txHash,omitempty"` // contains filtered or unexported fields }
func (*Borrow) Descriptor
deprecated
func (*Borrow) GetBlockNumber ¶
func (*Borrow) GetBorrowRate ¶
func (*Borrow) GetBorrowRateMode ¶
func (*Borrow) GetLogIndex ¶
func (*Borrow) GetOnBehalfOf ¶
func (*Borrow) GetReferral ¶
func (*Borrow) GetReserve ¶
func (*Borrow) GetTs ¶
func (x *Borrow) GetTs() *timestamppb.Timestamp
func (*Borrow) ProtoMessage ¶
func (*Borrow) ProtoMessage()
func (*Borrow) ProtoReflect ¶
func (x *Borrow) ProtoReflect() protoreflect.Message
type Deposit ¶
type Deposit struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Reserve []byte `protobuf:"bytes,2,opt,name=reserve,proto3" json:"reserve,omitempty"` User []byte `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` OnBehalfOf []byte `protobuf:"bytes,4,opt,name=onBehalfOf,proto3" json:"onBehalfOf,omitempty"` Amount []byte `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` // uint256 Referral uint32 `protobuf:"varint,6,opt,name=referral,proto3" json:"referral,omitempty"` BlockNumber uint64 `protobuf:"varint,7,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` LogIndex uint64 `protobuf:"varint,8,opt,name=logIndex,proto3" json:"logIndex,omitempty"` TxHash []byte `protobuf:"bytes,9,opt,name=txHash,proto3" json:"txHash,omitempty"` // contains filtered or unexported fields }
func (*Deposit) Descriptor
deprecated
func (*Deposit) GetBlockNumber ¶
func (*Deposit) GetLogIndex ¶
func (*Deposit) GetOnBehalfOf ¶
func (*Deposit) GetReferral ¶
func (*Deposit) GetReserve ¶
func (*Deposit) GetTs ¶
func (x *Deposit) GetTs() *timestamppb.Timestamp
func (*Deposit) ProtoMessage ¶
func (*Deposit) ProtoMessage()
func (*Deposit) ProtoReflect ¶
func (x *Deposit) ProtoReflect() protoreflect.Message
type FlashLoan ¶
type FlashLoan struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Target []byte `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` Initiator []byte `protobuf:"bytes,3,opt,name=initiator,proto3" json:"initiator,omitempty"` Asset []byte `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"` Amount []byte `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` // uint256 Premium []byte `protobuf:"bytes,6,opt,name=premium,proto3" json:"premium,omitempty"` // uint256 ReferralCode uint32 `protobuf:"varint,7,opt,name=referralCode,proto3" json:"referralCode,omitempty"` BlockNumber uint64 `protobuf:"varint,8,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` LogIndex uint64 `protobuf:"varint,9,opt,name=logIndex,proto3" json:"logIndex,omitempty"` TxHash []byte `protobuf:"bytes,10,opt,name=txHash,proto3" json:"txHash,omitempty"` // contains filtered or unexported fields }
func (*FlashLoan) Descriptor
deprecated
func (*FlashLoan) GetBlockNumber ¶
func (*FlashLoan) GetInitiator ¶
func (*FlashLoan) GetLogIndex ¶
func (*FlashLoan) GetPremium ¶
func (*FlashLoan) GetReferralCode ¶
func (*FlashLoan) GetTs ¶
func (x *FlashLoan) GetTs() *timestamppb.Timestamp
func (*FlashLoan) ProtoMessage ¶
func (*FlashLoan) ProtoMessage()
func (*FlashLoan) ProtoReflect ¶
func (x *FlashLoan) ProtoReflect() protoreflect.Message
type Lendingpool ¶
type Lendingpool struct { LendingpoolCaller // Read-only binding to the contract LendingpoolTransactor // Write-only binding to the contract LendingpoolFilterer // Log filterer for contract events }
Lendingpool is an auto generated Go binding around an Ethereum contract.
func NewLendingpool ¶
func NewLendingpool(address common.Address, backend bind.ContractBackend) (*Lendingpool, error)
NewLendingpool creates a new instance of Lendingpool, bound to a specific deployed contract.
type LendingpoolBorrow ¶
type LendingpoolBorrow 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 }
LendingpoolBorrow represents a Borrow event raised by the Lendingpool contract.
type LendingpoolBorrowIterator ¶
type LendingpoolBorrowIterator struct { Event *LendingpoolBorrow // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LendingpoolBorrowIterator is returned from FilterBorrow and is used to iterate over the raw logs and unpacked data for Borrow events raised by the Lendingpool contract.
func (*LendingpoolBorrowIterator) Close ¶
func (it *LendingpoolBorrowIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LendingpoolBorrowIterator) Error ¶
func (it *LendingpoolBorrowIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LendingpoolBorrowIterator) Next ¶
func (it *LendingpoolBorrowIterator) 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 LendingpoolCaller ¶
type LendingpoolCaller struct {
// contains filtered or unexported fields
}
LendingpoolCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLendingpoolCaller ¶
func NewLendingpoolCaller(address common.Address, caller bind.ContractCaller) (*LendingpoolCaller, error)
NewLendingpoolCaller creates a new read-only instance of Lendingpool, bound to a specific deployed contract.
func (*LendingpoolCaller) FLASHLOANPREMIUMTOTAL ¶
FLASHLOANPREMIUMTOTAL is a free data retrieval call binding the contract method 0x074b2e43.
Solidity: function FLASHLOAN_PREMIUM_TOTAL() view returns(uint256)
func (*LendingpoolCaller) GetAddressesProvider ¶
func (_Lendingpool *LendingpoolCaller) GetAddressesProvider(opts *bind.CallOpts) (common.Address, error)
GetAddressesProvider is a free data retrieval call binding the contract method 0xfe65acfe.
Solidity: function getAddressesProvider() view returns(address)
func (*LendingpoolCaller) GetConfiguration ¶
func (_Lendingpool *LendingpoolCaller) GetConfiguration(opts *bind.CallOpts, asset common.Address) (Struct0, error)
GetConfiguration is a free data retrieval call binding the contract method 0xc44b11f7.
Solidity: function getConfiguration(address asset) view returns((uint256))
func (*LendingpoolCaller) GetReserveData ¶
func (_Lendingpool *LendingpoolCaller) GetReserveData(opts *bind.CallOpts, asset common.Address) (Struct1, 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 (*LendingpoolCaller) GetReserveNormalizedIncome ¶
func (_Lendingpool *LendingpoolCaller) 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 (*LendingpoolCaller) GetReserveNormalizedVariableDebt ¶
func (_Lendingpool *LendingpoolCaller) 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 (*LendingpoolCaller) GetReservesList ¶
func (_Lendingpool *LendingpoolCaller) GetReservesList(opts *bind.CallOpts) ([]common.Address, error)
GetReservesList is a free data retrieval call binding the contract method 0xd1946dbc.
Solidity: function getReservesList() view returns(address[])
func (*LendingpoolCaller) GetUserAccountData ¶
func (_Lendingpool *LendingpoolCaller) 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 (*LendingpoolCaller) GetUserConfiguration ¶
func (_Lendingpool *LendingpoolCaller) GetUserConfiguration(opts *bind.CallOpts, user common.Address) (Struct0, error)
GetUserConfiguration is a free data retrieval call binding the contract method 0x4417a583.
Solidity: function getUserConfiguration(address user) view returns((uint256))
func (*LendingpoolCaller) LENDINGPOOLREVISION ¶
LENDINGPOOLREVISION is a free data retrieval call binding the contract method 0x8afaff02.
Solidity: function LENDINGPOOL_REVISION() view returns(uint256)
func (*LendingpoolCaller) MAXNUMBERRESERVES ¶
MAXNUMBERRESERVES is a free data retrieval call binding the contract method 0xf8119d51.
Solidity: function MAX_NUMBER_RESERVES() view returns(uint256)
func (*LendingpoolCaller) MAXSTABLERATEBORROWSIZEPERCENT ¶
func (_Lendingpool *LendingpoolCaller) 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 LendingpoolCallerRaw ¶
type LendingpoolCallerRaw struct {
Contract *LendingpoolCaller // Generic read-only contract binding to access the raw methods on
}
LendingpoolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LendingpoolCallerRaw) Call ¶
func (_Lendingpool *LendingpoolCallerRaw) 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 LendingpoolCallerSession ¶
type LendingpoolCallerSession struct { Contract *LendingpoolCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LendingpoolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LendingpoolCallerSession) FLASHLOANPREMIUMTOTAL ¶
func (_Lendingpool *LendingpoolCallerSession) 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 (*LendingpoolCallerSession) GetAddressesProvider ¶
func (_Lendingpool *LendingpoolCallerSession) GetAddressesProvider() (common.Address, error)
GetAddressesProvider is a free data retrieval call binding the contract method 0xfe65acfe.
Solidity: function getAddressesProvider() view returns(address)
func (*LendingpoolCallerSession) GetConfiguration ¶
func (_Lendingpool *LendingpoolCallerSession) GetConfiguration(asset common.Address) (Struct0, error)
GetConfiguration is a free data retrieval call binding the contract method 0xc44b11f7.
Solidity: function getConfiguration(address asset) view returns((uint256))
func (*LendingpoolCallerSession) GetReserveData ¶
func (_Lendingpool *LendingpoolCallerSession) GetReserveData(asset common.Address) (Struct1, 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 (*LendingpoolCallerSession) GetReserveNormalizedIncome ¶
func (_Lendingpool *LendingpoolCallerSession) 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 (*LendingpoolCallerSession) GetReserveNormalizedVariableDebt ¶
func (_Lendingpool *LendingpoolCallerSession) 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 (*LendingpoolCallerSession) GetReservesList ¶
func (_Lendingpool *LendingpoolCallerSession) GetReservesList() ([]common.Address, error)
GetReservesList is a free data retrieval call binding the contract method 0xd1946dbc.
Solidity: function getReservesList() view returns(address[])
func (*LendingpoolCallerSession) GetUserAccountData ¶
func (_Lendingpool *LendingpoolCallerSession) 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 (*LendingpoolCallerSession) GetUserConfiguration ¶
func (_Lendingpool *LendingpoolCallerSession) GetUserConfiguration(user common.Address) (Struct0, error)
GetUserConfiguration is a free data retrieval call binding the contract method 0x4417a583.
Solidity: function getUserConfiguration(address user) view returns((uint256))
func (*LendingpoolCallerSession) LENDINGPOOLREVISION ¶
func (_Lendingpool *LendingpoolCallerSession) LENDINGPOOLREVISION() (*big.Int, error)
LENDINGPOOLREVISION is a free data retrieval call binding the contract method 0x8afaff02.
Solidity: function LENDINGPOOL_REVISION() view returns(uint256)
func (*LendingpoolCallerSession) MAXNUMBERRESERVES ¶
func (_Lendingpool *LendingpoolCallerSession) 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 (*LendingpoolCallerSession) MAXSTABLERATEBORROWSIZEPERCENT ¶
func (_Lendingpool *LendingpoolCallerSession) 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 (*LendingpoolCallerSession) Paused ¶
func (_Lendingpool *LendingpoolCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
type LendingpoolDeposit ¶
type LendingpoolDeposit struct { Reserve common.Address User common.Address OnBehalfOf common.Address Amount *big.Int Referral uint16 Raw types.Log // Blockchain specific contextual infos }
LendingpoolDeposit represents a Deposit event raised by the Lendingpool contract.
type LendingpoolDepositIterator ¶
type LendingpoolDepositIterator struct { Event *LendingpoolDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LendingpoolDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the Lendingpool contract.
func (*LendingpoolDepositIterator) Close ¶
func (it *LendingpoolDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LendingpoolDepositIterator) Error ¶
func (it *LendingpoolDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LendingpoolDepositIterator) Next ¶
func (it *LendingpoolDepositIterator) 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 LendingpoolFilterer ¶
type LendingpoolFilterer struct {
// contains filtered or unexported fields
}
LendingpoolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLendingpoolFilterer ¶
func NewLendingpoolFilterer(address common.Address, filterer bind.ContractFilterer) (*LendingpoolFilterer, error)
NewLendingpoolFilterer creates a new log filterer instance of Lendingpool, bound to a specific deployed contract.
func (*LendingpoolFilterer) FilterBorrow ¶
func (_Lendingpool *LendingpoolFilterer) FilterBorrow(opts *bind.FilterOpts, reserve []common.Address, onBehalfOf []common.Address, referral []uint16) (*LendingpoolBorrowIterator, 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 (*LendingpoolFilterer) FilterDeposit ¶
func (_Lendingpool *LendingpoolFilterer) FilterDeposit(opts *bind.FilterOpts, reserve []common.Address, onBehalfOf []common.Address, referral []uint16) (*LendingpoolDepositIterator, 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 (*LendingpoolFilterer) FilterFlashLoan ¶
func (_Lendingpool *LendingpoolFilterer) FilterFlashLoan(opts *bind.FilterOpts, target []common.Address, initiator []common.Address, asset []common.Address) (*LendingpoolFlashLoanIterator, 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 (*LendingpoolFilterer) FilterLiquidationCall ¶
func (_Lendingpool *LendingpoolFilterer) FilterLiquidationCall(opts *bind.FilterOpts, collateralAsset []common.Address, debtAsset []common.Address, user []common.Address) (*LendingpoolLiquidationCallIterator, 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 (*LendingpoolFilterer) FilterPaused ¶
func (_Lendingpool *LendingpoolFilterer) FilterPaused(opts *bind.FilterOpts) (*LendingpoolPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x9e87fac88ff661f02d44f95383c817fece4bce600a3dab7a54406878b965e752.
Solidity: event Paused()
func (*LendingpoolFilterer) FilterRebalanceStableBorrowRate ¶
func (_Lendingpool *LendingpoolFilterer) FilterRebalanceStableBorrowRate(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*LendingpoolRebalanceStableBorrowRateIterator, error)
FilterRebalanceStableBorrowRate is a free log retrieval operation binding the contract event 0x9f439ae0c81e41a04d3fdfe07aed54e6a179fb0db15be7702eb66fa8ef6f5300.
Solidity: event RebalanceStableBorrowRate(address indexed reserve, address indexed user)
func (*LendingpoolFilterer) FilterRepay ¶
func (_Lendingpool *LendingpoolFilterer) FilterRepay(opts *bind.FilterOpts, reserve []common.Address, user []common.Address, repayer []common.Address) (*LendingpoolRepayIterator, 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 (*LendingpoolFilterer) FilterReserveDataUpdated ¶
func (_Lendingpool *LendingpoolFilterer) FilterReserveDataUpdated(opts *bind.FilterOpts, reserve []common.Address) (*LendingpoolReserveDataUpdatedIterator, 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 (*LendingpoolFilterer) FilterReserveUsedAsCollateralDisabled ¶
func (_Lendingpool *LendingpoolFilterer) FilterReserveUsedAsCollateralDisabled(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*LendingpoolReserveUsedAsCollateralDisabledIterator, error)
FilterReserveUsedAsCollateralDisabled is a free log retrieval operation binding the contract event 0x44c58d81365b66dd4b1a7f36c25aa97b8c71c361ee4937adc1a00000227db5dd.
Solidity: event ReserveUsedAsCollateralDisabled(address indexed reserve, address indexed user)
func (*LendingpoolFilterer) FilterReserveUsedAsCollateralEnabled ¶
func (_Lendingpool *LendingpoolFilterer) FilterReserveUsedAsCollateralEnabled(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*LendingpoolReserveUsedAsCollateralEnabledIterator, error)
FilterReserveUsedAsCollateralEnabled is a free log retrieval operation binding the contract event 0x00058a56ea94653cdf4f152d227ace22d4c00ad99e2a43f58cb7d9e3feb295f2.
Solidity: event ReserveUsedAsCollateralEnabled(address indexed reserve, address indexed user)
func (*LendingpoolFilterer) FilterSwap ¶
func (_Lendingpool *LendingpoolFilterer) FilterSwap(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*LendingpoolSwapIterator, 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 (*LendingpoolFilterer) FilterUnpaused ¶
func (_Lendingpool *LendingpoolFilterer) FilterUnpaused(opts *bind.FilterOpts) (*LendingpoolUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0xa45f47fdea8a1efdd9029a5691c7f759c32b7c698632b563573e155625d16933.
Solidity: event Unpaused()
func (*LendingpoolFilterer) FilterWithdraw ¶
func (_Lendingpool *LendingpoolFilterer) FilterWithdraw(opts *bind.FilterOpts, reserve []common.Address, user []common.Address, to []common.Address) (*LendingpoolWithdrawIterator, 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 (*LendingpoolFilterer) ParseBorrow ¶
func (_Lendingpool *LendingpoolFilterer) ParseBorrow(log types.Log) (*LendingpoolBorrow, 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 (*LendingpoolFilterer) ParseDeposit ¶
func (_Lendingpool *LendingpoolFilterer) ParseDeposit(log types.Log) (*LendingpoolDeposit, 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 (*LendingpoolFilterer) ParseFlashLoan ¶
func (_Lendingpool *LendingpoolFilterer) ParseFlashLoan(log types.Log) (*LendingpoolFlashLoan, 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 (*LendingpoolFilterer) ParseLiquidationCall ¶
func (_Lendingpool *LendingpoolFilterer) ParseLiquidationCall(log types.Log) (*LendingpoolLiquidationCall, 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 (*LendingpoolFilterer) ParsePaused ¶
func (_Lendingpool *LendingpoolFilterer) ParsePaused(log types.Log) (*LendingpoolPaused, error)
ParsePaused is a log parse operation binding the contract event 0x9e87fac88ff661f02d44f95383c817fece4bce600a3dab7a54406878b965e752.
Solidity: event Paused()
func (*LendingpoolFilterer) ParseRebalanceStableBorrowRate ¶
func (_Lendingpool *LendingpoolFilterer) ParseRebalanceStableBorrowRate(log types.Log) (*LendingpoolRebalanceStableBorrowRate, error)
ParseRebalanceStableBorrowRate is a log parse operation binding the contract event 0x9f439ae0c81e41a04d3fdfe07aed54e6a179fb0db15be7702eb66fa8ef6f5300.
Solidity: event RebalanceStableBorrowRate(address indexed reserve, address indexed user)
func (*LendingpoolFilterer) ParseRepay ¶
func (_Lendingpool *LendingpoolFilterer) ParseRepay(log types.Log) (*LendingpoolRepay, 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 (*LendingpoolFilterer) ParseReserveDataUpdated ¶
func (_Lendingpool *LendingpoolFilterer) ParseReserveDataUpdated(log types.Log) (*LendingpoolReserveDataUpdated, 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 (*LendingpoolFilterer) ParseReserveUsedAsCollateralDisabled ¶
func (_Lendingpool *LendingpoolFilterer) ParseReserveUsedAsCollateralDisabled(log types.Log) (*LendingpoolReserveUsedAsCollateralDisabled, error)
ParseReserveUsedAsCollateralDisabled is a log parse operation binding the contract event 0x44c58d81365b66dd4b1a7f36c25aa97b8c71c361ee4937adc1a00000227db5dd.
Solidity: event ReserveUsedAsCollateralDisabled(address indexed reserve, address indexed user)
func (*LendingpoolFilterer) ParseReserveUsedAsCollateralEnabled ¶
func (_Lendingpool *LendingpoolFilterer) ParseReserveUsedAsCollateralEnabled(log types.Log) (*LendingpoolReserveUsedAsCollateralEnabled, error)
ParseReserveUsedAsCollateralEnabled is a log parse operation binding the contract event 0x00058a56ea94653cdf4f152d227ace22d4c00ad99e2a43f58cb7d9e3feb295f2.
Solidity: event ReserveUsedAsCollateralEnabled(address indexed reserve, address indexed user)
func (*LendingpoolFilterer) ParseSwap ¶
func (_Lendingpool *LendingpoolFilterer) ParseSwap(log types.Log) (*LendingpoolSwap, error)
ParseSwap is a log parse operation binding the contract event 0xea368a40e9570069bb8e6511d668293ad2e1f03b0d982431fd223de9f3b70ca6.
Solidity: event Swap(address indexed reserve, address indexed user, uint256 rateMode)
func (*LendingpoolFilterer) ParseUnpaused ¶
func (_Lendingpool *LendingpoolFilterer) ParseUnpaused(log types.Log) (*LendingpoolUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0xa45f47fdea8a1efdd9029a5691c7f759c32b7c698632b563573e155625d16933.
Solidity: event Unpaused()
func (*LendingpoolFilterer) ParseWithdraw ¶
func (_Lendingpool *LendingpoolFilterer) ParseWithdraw(log types.Log) (*LendingpoolWithdraw, 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 (*LendingpoolFilterer) WatchBorrow ¶
func (_Lendingpool *LendingpoolFilterer) WatchBorrow(opts *bind.WatchOpts, sink chan<- *LendingpoolBorrow, 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 (*LendingpoolFilterer) WatchDeposit ¶
func (_Lendingpool *LendingpoolFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *LendingpoolDeposit, 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 (*LendingpoolFilterer) WatchFlashLoan ¶
func (_Lendingpool *LendingpoolFilterer) WatchFlashLoan(opts *bind.WatchOpts, sink chan<- *LendingpoolFlashLoan, 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 (*LendingpoolFilterer) WatchLiquidationCall ¶
func (_Lendingpool *LendingpoolFilterer) WatchLiquidationCall(opts *bind.WatchOpts, sink chan<- *LendingpoolLiquidationCall, 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 (*LendingpoolFilterer) WatchPaused ¶
func (_Lendingpool *LendingpoolFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *LendingpoolPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x9e87fac88ff661f02d44f95383c817fece4bce600a3dab7a54406878b965e752.
Solidity: event Paused()
func (*LendingpoolFilterer) WatchRebalanceStableBorrowRate ¶
func (_Lendingpool *LendingpoolFilterer) WatchRebalanceStableBorrowRate(opts *bind.WatchOpts, sink chan<- *LendingpoolRebalanceStableBorrowRate, 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 (*LendingpoolFilterer) WatchRepay ¶
func (_Lendingpool *LendingpoolFilterer) WatchRepay(opts *bind.WatchOpts, sink chan<- *LendingpoolRepay, 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 (*LendingpoolFilterer) WatchReserveDataUpdated ¶
func (_Lendingpool *LendingpoolFilterer) WatchReserveDataUpdated(opts *bind.WatchOpts, sink chan<- *LendingpoolReserveDataUpdated, 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 (*LendingpoolFilterer) WatchReserveUsedAsCollateralDisabled ¶
func (_Lendingpool *LendingpoolFilterer) WatchReserveUsedAsCollateralDisabled(opts *bind.WatchOpts, sink chan<- *LendingpoolReserveUsedAsCollateralDisabled, 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 (*LendingpoolFilterer) WatchReserveUsedAsCollateralEnabled ¶
func (_Lendingpool *LendingpoolFilterer) WatchReserveUsedAsCollateralEnabled(opts *bind.WatchOpts, sink chan<- *LendingpoolReserveUsedAsCollateralEnabled, 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 (*LendingpoolFilterer) WatchSwap ¶
func (_Lendingpool *LendingpoolFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *LendingpoolSwap, 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 (*LendingpoolFilterer) WatchUnpaused ¶
func (_Lendingpool *LendingpoolFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *LendingpoolUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0xa45f47fdea8a1efdd9029a5691c7f759c32b7c698632b563573e155625d16933.
Solidity: event Unpaused()
func (*LendingpoolFilterer) WatchWithdraw ¶
func (_Lendingpool *LendingpoolFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *LendingpoolWithdraw, 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 LendingpoolFlashLoan ¶
type LendingpoolFlashLoan 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 }
LendingpoolFlashLoan represents a FlashLoan event raised by the Lendingpool contract.
type LendingpoolFlashLoanIterator ¶
type LendingpoolFlashLoanIterator struct { Event *LendingpoolFlashLoan // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LendingpoolFlashLoanIterator is returned from FilterFlashLoan and is used to iterate over the raw logs and unpacked data for FlashLoan events raised by the Lendingpool contract.
func (*LendingpoolFlashLoanIterator) Close ¶
func (it *LendingpoolFlashLoanIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LendingpoolFlashLoanIterator) Error ¶
func (it *LendingpoolFlashLoanIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LendingpoolFlashLoanIterator) Next ¶
func (it *LendingpoolFlashLoanIterator) 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 LendingpoolLiquidationCall ¶
type LendingpoolLiquidationCall 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 }
LendingpoolLiquidationCall represents a LiquidationCall event raised by the Lendingpool contract.
type LendingpoolLiquidationCallIterator ¶
type LendingpoolLiquidationCallIterator struct { Event *LendingpoolLiquidationCall // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LendingpoolLiquidationCallIterator is returned from FilterLiquidationCall and is used to iterate over the raw logs and unpacked data for LiquidationCall events raised by the Lendingpool contract.
func (*LendingpoolLiquidationCallIterator) Close ¶
func (it *LendingpoolLiquidationCallIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LendingpoolLiquidationCallIterator) Error ¶
func (it *LendingpoolLiquidationCallIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LendingpoolLiquidationCallIterator) Next ¶
func (it *LendingpoolLiquidationCallIterator) 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 LendingpoolPaused ¶
LendingpoolPaused represents a Paused event raised by the Lendingpool contract.
type LendingpoolPausedIterator ¶
type LendingpoolPausedIterator struct { Event *LendingpoolPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LendingpoolPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Lendingpool contract.
func (*LendingpoolPausedIterator) Close ¶
func (it *LendingpoolPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LendingpoolPausedIterator) Error ¶
func (it *LendingpoolPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LendingpoolPausedIterator) Next ¶
func (it *LendingpoolPausedIterator) 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 LendingpoolRaw ¶
type LendingpoolRaw struct {
Contract *Lendingpool // Generic contract binding to access the raw methods on
}
LendingpoolRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LendingpoolRaw) Call ¶
func (_Lendingpool *LendingpoolRaw) 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 (*LendingpoolRaw) Transact ¶
func (_Lendingpool *LendingpoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LendingpoolRaw) Transfer ¶
func (_Lendingpool *LendingpoolRaw) 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 LendingpoolRebalanceStableBorrowRate ¶
type LendingpoolRebalanceStableBorrowRate struct { Reserve common.Address User common.Address Raw types.Log // Blockchain specific contextual infos }
LendingpoolRebalanceStableBorrowRate represents a RebalanceStableBorrowRate event raised by the Lendingpool contract.
type LendingpoolRebalanceStableBorrowRateIterator ¶
type LendingpoolRebalanceStableBorrowRateIterator struct { Event *LendingpoolRebalanceStableBorrowRate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LendingpoolRebalanceStableBorrowRateIterator is returned from FilterRebalanceStableBorrowRate and is used to iterate over the raw logs and unpacked data for RebalanceStableBorrowRate events raised by the Lendingpool contract.
func (*LendingpoolRebalanceStableBorrowRateIterator) Close ¶
func (it *LendingpoolRebalanceStableBorrowRateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LendingpoolRebalanceStableBorrowRateIterator) Error ¶
func (it *LendingpoolRebalanceStableBorrowRateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LendingpoolRebalanceStableBorrowRateIterator) Next ¶
func (it *LendingpoolRebalanceStableBorrowRateIterator) 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 LendingpoolRepay ¶
type LendingpoolRepay struct { Reserve common.Address User common.Address Repayer common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
LendingpoolRepay represents a Repay event raised by the Lendingpool contract.
type LendingpoolRepayIterator ¶
type LendingpoolRepayIterator struct { Event *LendingpoolRepay // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LendingpoolRepayIterator is returned from FilterRepay and is used to iterate over the raw logs and unpacked data for Repay events raised by the Lendingpool contract.
func (*LendingpoolRepayIterator) Close ¶
func (it *LendingpoolRepayIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LendingpoolRepayIterator) Error ¶
func (it *LendingpoolRepayIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LendingpoolRepayIterator) Next ¶
func (it *LendingpoolRepayIterator) 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 LendingpoolReserveDataUpdated ¶
type LendingpoolReserveDataUpdated 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 }
LendingpoolReserveDataUpdated represents a ReserveDataUpdated event raised by the Lendingpool contract.
type LendingpoolReserveDataUpdatedIterator ¶
type LendingpoolReserveDataUpdatedIterator struct { Event *LendingpoolReserveDataUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LendingpoolReserveDataUpdatedIterator is returned from FilterReserveDataUpdated and is used to iterate over the raw logs and unpacked data for ReserveDataUpdated events raised by the Lendingpool contract.
func (*LendingpoolReserveDataUpdatedIterator) Close ¶
func (it *LendingpoolReserveDataUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LendingpoolReserveDataUpdatedIterator) Error ¶
func (it *LendingpoolReserveDataUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LendingpoolReserveDataUpdatedIterator) Next ¶
func (it *LendingpoolReserveDataUpdatedIterator) 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 LendingpoolReserveUsedAsCollateralDisabled ¶
type LendingpoolReserveUsedAsCollateralDisabled struct { Reserve common.Address User common.Address Raw types.Log // Blockchain specific contextual infos }
LendingpoolReserveUsedAsCollateralDisabled represents a ReserveUsedAsCollateralDisabled event raised by the Lendingpool contract.
type LendingpoolReserveUsedAsCollateralDisabledIterator ¶
type LendingpoolReserveUsedAsCollateralDisabledIterator struct { Event *LendingpoolReserveUsedAsCollateralDisabled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LendingpoolReserveUsedAsCollateralDisabledIterator is returned from FilterReserveUsedAsCollateralDisabled and is used to iterate over the raw logs and unpacked data for ReserveUsedAsCollateralDisabled events raised by the Lendingpool contract.
func (*LendingpoolReserveUsedAsCollateralDisabledIterator) Close ¶
func (it *LendingpoolReserveUsedAsCollateralDisabledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LendingpoolReserveUsedAsCollateralDisabledIterator) Error ¶
func (it *LendingpoolReserveUsedAsCollateralDisabledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LendingpoolReserveUsedAsCollateralDisabledIterator) Next ¶
func (it *LendingpoolReserveUsedAsCollateralDisabledIterator) 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 LendingpoolReserveUsedAsCollateralEnabled ¶
type LendingpoolReserveUsedAsCollateralEnabled struct { Reserve common.Address User common.Address Raw types.Log // Blockchain specific contextual infos }
LendingpoolReserveUsedAsCollateralEnabled represents a ReserveUsedAsCollateralEnabled event raised by the Lendingpool contract.
type LendingpoolReserveUsedAsCollateralEnabledIterator ¶
type LendingpoolReserveUsedAsCollateralEnabledIterator struct { Event *LendingpoolReserveUsedAsCollateralEnabled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LendingpoolReserveUsedAsCollateralEnabledIterator is returned from FilterReserveUsedAsCollateralEnabled and is used to iterate over the raw logs and unpacked data for ReserveUsedAsCollateralEnabled events raised by the Lendingpool contract.
func (*LendingpoolReserveUsedAsCollateralEnabledIterator) Close ¶
func (it *LendingpoolReserveUsedAsCollateralEnabledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LendingpoolReserveUsedAsCollateralEnabledIterator) Error ¶
func (it *LendingpoolReserveUsedAsCollateralEnabledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LendingpoolReserveUsedAsCollateralEnabledIterator) Next ¶
func (it *LendingpoolReserveUsedAsCollateralEnabledIterator) 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 LendingpoolSession ¶
type LendingpoolSession struct { Contract *Lendingpool // 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 }
LendingpoolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LendingpoolSession) Borrow ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) Deposit ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) FLASHLOANPREMIUMTOTAL ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) FinalizeTransfer ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) FlashLoan ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) GetAddressesProvider ¶
func (_Lendingpool *LendingpoolSession) GetAddressesProvider() (common.Address, error)
GetAddressesProvider is a free data retrieval call binding the contract method 0xfe65acfe.
Solidity: function getAddressesProvider() view returns(address)
func (*LendingpoolSession) GetConfiguration ¶
func (_Lendingpool *LendingpoolSession) GetConfiguration(asset common.Address) (Struct0, error)
GetConfiguration is a free data retrieval call binding the contract method 0xc44b11f7.
Solidity: function getConfiguration(address asset) view returns((uint256))
func (*LendingpoolSession) GetReserveData ¶
func (_Lendingpool *LendingpoolSession) GetReserveData(asset common.Address) (Struct1, 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 (*LendingpoolSession) GetReserveNormalizedIncome ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) GetReserveNormalizedVariableDebt ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) GetReservesList ¶
func (_Lendingpool *LendingpoolSession) GetReservesList() ([]common.Address, error)
GetReservesList is a free data retrieval call binding the contract method 0xd1946dbc.
Solidity: function getReservesList() view returns(address[])
func (*LendingpoolSession) GetUserAccountData ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) GetUserConfiguration ¶
func (_Lendingpool *LendingpoolSession) GetUserConfiguration(user common.Address) (Struct0, error)
GetUserConfiguration is a free data retrieval call binding the contract method 0x4417a583.
Solidity: function getUserConfiguration(address user) view returns((uint256))
func (*LendingpoolSession) InitReserve ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) Initialize ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) LENDINGPOOLREVISION ¶
func (_Lendingpool *LendingpoolSession) LENDINGPOOLREVISION() (*big.Int, error)
LENDINGPOOLREVISION is a free data retrieval call binding the contract method 0x8afaff02.
Solidity: function LENDINGPOOL_REVISION() view returns(uint256)
func (*LendingpoolSession) LiquidationCall ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) MAXNUMBERRESERVES ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) MAXSTABLERATEBORROWSIZEPERCENT ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) Paused ¶
func (_Lendingpool *LendingpoolSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*LendingpoolSession) RebalanceStableBorrowRate ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) Repay ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) SetConfiguration ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) SetPause ¶
func (_Lendingpool *LendingpoolSession) SetPause(val bool) (*types.Transaction, error)
SetPause is a paid mutator transaction binding the contract method 0xbedb86fb.
Solidity: function setPause(bool val) returns()
func (*LendingpoolSession) SetReserveInterestRateStrategyAddress ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) SetUserUseReserveAsCollateral ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) SwapBorrowRateMode ¶
func (_Lendingpool *LendingpoolSession) 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 (*LendingpoolSession) Withdraw ¶
func (_Lendingpool *LendingpoolSession) 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 LendingpoolSwap ¶
type LendingpoolSwap struct { Reserve common.Address User common.Address RateMode *big.Int Raw types.Log // Blockchain specific contextual infos }
LendingpoolSwap represents a Swap event raised by the Lendingpool contract.
type LendingpoolSwapIterator ¶
type LendingpoolSwapIterator struct { Event *LendingpoolSwap // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LendingpoolSwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the Lendingpool contract.
func (*LendingpoolSwapIterator) Close ¶
func (it *LendingpoolSwapIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LendingpoolSwapIterator) Error ¶
func (it *LendingpoolSwapIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LendingpoolSwapIterator) Next ¶
func (it *LendingpoolSwapIterator) 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 LendingpoolTransactor ¶
type LendingpoolTransactor struct {
// contains filtered or unexported fields
}
LendingpoolTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLendingpoolTransactor ¶
func NewLendingpoolTransactor(address common.Address, transactor bind.ContractTransactor) (*LendingpoolTransactor, error)
NewLendingpoolTransactor creates a new write-only instance of Lendingpool, bound to a specific deployed contract.
func (*LendingpoolTransactor) Borrow ¶
func (_Lendingpool *LendingpoolTransactor) 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 (*LendingpoolTransactor) Deposit ¶
func (_Lendingpool *LendingpoolTransactor) 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 (*LendingpoolTransactor) FinalizeTransfer ¶
func (_Lendingpool *LendingpoolTransactor) 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 (*LendingpoolTransactor) FlashLoan ¶
func (_Lendingpool *LendingpoolTransactor) 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 (*LendingpoolTransactor) InitReserve ¶
func (_Lendingpool *LendingpoolTransactor) 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 (*LendingpoolTransactor) Initialize ¶
func (_Lendingpool *LendingpoolTransactor) 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 (*LendingpoolTransactor) LiquidationCall ¶
func (_Lendingpool *LendingpoolTransactor) 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 (*LendingpoolTransactor) RebalanceStableBorrowRate ¶
func (_Lendingpool *LendingpoolTransactor) 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 (*LendingpoolTransactor) Repay ¶
func (_Lendingpool *LendingpoolTransactor) 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 (*LendingpoolTransactor) SetConfiguration ¶
func (_Lendingpool *LendingpoolTransactor) 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 (*LendingpoolTransactor) SetPause ¶
func (_Lendingpool *LendingpoolTransactor) 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 (*LendingpoolTransactor) SetReserveInterestRateStrategyAddress ¶
func (_Lendingpool *LendingpoolTransactor) 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 (*LendingpoolTransactor) SetUserUseReserveAsCollateral ¶
func (_Lendingpool *LendingpoolTransactor) 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 (*LendingpoolTransactor) SwapBorrowRateMode ¶
func (_Lendingpool *LendingpoolTransactor) 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 (*LendingpoolTransactor) Withdraw ¶
func (_Lendingpool *LendingpoolTransactor) 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 LendingpoolTransactorRaw ¶
type LendingpoolTransactorRaw struct {
Contract *LendingpoolTransactor // Generic write-only contract binding to access the raw methods on
}
LendingpoolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LendingpoolTransactorRaw) Transact ¶
func (_Lendingpool *LendingpoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LendingpoolTransactorRaw) Transfer ¶
func (_Lendingpool *LendingpoolTransactorRaw) 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 LendingpoolTransactorSession ¶
type LendingpoolTransactorSession struct { Contract *LendingpoolTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LendingpoolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LendingpoolTransactorSession) Borrow ¶
func (_Lendingpool *LendingpoolTransactorSession) 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 (*LendingpoolTransactorSession) Deposit ¶
func (_Lendingpool *LendingpoolTransactorSession) 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 (*LendingpoolTransactorSession) FinalizeTransfer ¶
func (_Lendingpool *LendingpoolTransactorSession) 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 (*LendingpoolTransactorSession) FlashLoan ¶
func (_Lendingpool *LendingpoolTransactorSession) 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 (*LendingpoolTransactorSession) InitReserve ¶
func (_Lendingpool *LendingpoolTransactorSession) 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 (*LendingpoolTransactorSession) Initialize ¶
func (_Lendingpool *LendingpoolTransactorSession) 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 (*LendingpoolTransactorSession) LiquidationCall ¶
func (_Lendingpool *LendingpoolTransactorSession) 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 (*LendingpoolTransactorSession) RebalanceStableBorrowRate ¶
func (_Lendingpool *LendingpoolTransactorSession) 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 (*LendingpoolTransactorSession) Repay ¶
func (_Lendingpool *LendingpoolTransactorSession) 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 (*LendingpoolTransactorSession) SetConfiguration ¶
func (_Lendingpool *LendingpoolTransactorSession) 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 (*LendingpoolTransactorSession) SetPause ¶
func (_Lendingpool *LendingpoolTransactorSession) SetPause(val bool) (*types.Transaction, error)
SetPause is a paid mutator transaction binding the contract method 0xbedb86fb.
Solidity: function setPause(bool val) returns()
func (*LendingpoolTransactorSession) SetReserveInterestRateStrategyAddress ¶
func (_Lendingpool *LendingpoolTransactorSession) 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 (*LendingpoolTransactorSession) SetUserUseReserveAsCollateral ¶
func (_Lendingpool *LendingpoolTransactorSession) 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 (*LendingpoolTransactorSession) SwapBorrowRateMode ¶
func (_Lendingpool *LendingpoolTransactorSession) 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 (*LendingpoolTransactorSession) Withdraw ¶
func (_Lendingpool *LendingpoolTransactorSession) 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 LendingpoolUnpaused ¶
LendingpoolUnpaused represents a Unpaused event raised by the Lendingpool contract.
type LendingpoolUnpausedIterator ¶
type LendingpoolUnpausedIterator struct { Event *LendingpoolUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LendingpoolUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Lendingpool contract.
func (*LendingpoolUnpausedIterator) Close ¶
func (it *LendingpoolUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LendingpoolUnpausedIterator) Error ¶
func (it *LendingpoolUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LendingpoolUnpausedIterator) Next ¶
func (it *LendingpoolUnpausedIterator) 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 LendingpoolWithdraw ¶
type LendingpoolWithdraw struct { Reserve common.Address User common.Address To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
LendingpoolWithdraw represents a Withdraw event raised by the Lendingpool contract.
type LendingpoolWithdrawIterator ¶
type LendingpoolWithdrawIterator struct { Event *LendingpoolWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LendingpoolWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the Lendingpool contract.
func (*LendingpoolWithdrawIterator) Close ¶
func (it *LendingpoolWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LendingpoolWithdrawIterator) Error ¶
func (it *LendingpoolWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LendingpoolWithdrawIterator) Next ¶
func (it *LendingpoolWithdrawIterator) 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 LiquidationCall ¶
type LiquidationCall struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` CollateralAsset []byte `protobuf:"bytes,2,opt,name=collateralAsset,proto3" json:"collateralAsset,omitempty"` DebtAsset []byte `protobuf:"bytes,3,opt,name=debtAsset,proto3" json:"debtAsset,omitempty"` User []byte `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` DebtToCover []byte `protobuf:"bytes,5,opt,name=debtToCover,proto3" json:"debtToCover,omitempty"` // uint256 LiquidatedCollateralAmount []byte `protobuf:"bytes,6,opt,name=liquidatedCollateralAmount,proto3" json:"liquidatedCollateralAmount,omitempty"` // uint256 Liquidator []byte `protobuf:"bytes,7,opt,name=liquidator,proto3" json:"liquidator,omitempty"` ReceiveAToken bool `protobuf:"varint,8,opt,name=receiveAToken,proto3" json:"receiveAToken,omitempty"` BlockNumber uint64 `protobuf:"varint,9,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` LogIndex uint64 `protobuf:"varint,10,opt,name=logIndex,proto3" json:"logIndex,omitempty"` TxHash []byte `protobuf:"bytes,11,opt,name=txHash,proto3" json:"txHash,omitempty"` // contains filtered or unexported fields }
func (*LiquidationCall) Descriptor
deprecated
func (*LiquidationCall) Descriptor() ([]byte, []int)
Deprecated: Use LiquidationCall.ProtoReflect.Descriptor instead.
func (*LiquidationCall) GetBlockNumber ¶
func (x *LiquidationCall) GetBlockNumber() uint64
func (*LiquidationCall) GetCollateralAsset ¶
func (x *LiquidationCall) GetCollateralAsset() []byte
func (*LiquidationCall) GetDebtAsset ¶
func (x *LiquidationCall) GetDebtAsset() []byte
func (*LiquidationCall) GetDebtToCover ¶
func (x *LiquidationCall) GetDebtToCover() []byte
func (*LiquidationCall) GetLiquidatedCollateralAmount ¶
func (x *LiquidationCall) GetLiquidatedCollateralAmount() []byte
func (*LiquidationCall) GetLiquidator ¶
func (x *LiquidationCall) GetLiquidator() []byte
func (*LiquidationCall) GetLogIndex ¶
func (x *LiquidationCall) GetLogIndex() uint64
func (*LiquidationCall) GetReceiveAToken ¶
func (x *LiquidationCall) GetReceiveAToken() bool
func (*LiquidationCall) GetTs ¶
func (x *LiquidationCall) GetTs() *timestamppb.Timestamp
func (*LiquidationCall) GetTxHash ¶
func (x *LiquidationCall) GetTxHash() []byte
func (*LiquidationCall) GetUser ¶
func (x *LiquidationCall) GetUser() []byte
func (*LiquidationCall) ProtoMessage ¶
func (*LiquidationCall) ProtoMessage()
func (*LiquidationCall) ProtoReflect ¶
func (x *LiquidationCall) ProtoReflect() protoreflect.Message
func (*LiquidationCall) Reset ¶
func (x *LiquidationCall) Reset()
func (*LiquidationCall) String ¶
func (x *LiquidationCall) String() string
type Paused ¶
type Paused struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` BlockNumber uint64 `protobuf:"varint,2,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` LogIndex uint64 `protobuf:"varint,3,opt,name=logIndex,proto3" json:"logIndex,omitempty"` TxHash []byte `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"` // contains filtered or unexported fields }
func (*Paused) Descriptor
deprecated
func (*Paused) GetBlockNumber ¶
func (*Paused) GetLogIndex ¶
func (*Paused) GetTs ¶
func (x *Paused) GetTs() *timestamppb.Timestamp
func (*Paused) ProtoMessage ¶
func (*Paused) ProtoMessage()
func (*Paused) ProtoReflect ¶
func (x *Paused) ProtoReflect() protoreflect.Message
type RebalanceStableBorrowRate ¶
type RebalanceStableBorrowRate struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Reserve []byte `protobuf:"bytes,2,opt,name=reserve,proto3" json:"reserve,omitempty"` User []byte `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` BlockNumber uint64 `protobuf:"varint,4,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` LogIndex uint64 `protobuf:"varint,5,opt,name=logIndex,proto3" json:"logIndex,omitempty"` TxHash []byte `protobuf:"bytes,6,opt,name=txHash,proto3" json:"txHash,omitempty"` // contains filtered or unexported fields }
func (*RebalanceStableBorrowRate) Descriptor
deprecated
func (*RebalanceStableBorrowRate) Descriptor() ([]byte, []int)
Deprecated: Use RebalanceStableBorrowRate.ProtoReflect.Descriptor instead.
func (*RebalanceStableBorrowRate) GetBlockNumber ¶
func (x *RebalanceStableBorrowRate) GetBlockNumber() uint64
func (*RebalanceStableBorrowRate) GetLogIndex ¶
func (x *RebalanceStableBorrowRate) GetLogIndex() uint64
func (*RebalanceStableBorrowRate) GetReserve ¶
func (x *RebalanceStableBorrowRate) GetReserve() []byte
func (*RebalanceStableBorrowRate) GetTs ¶
func (x *RebalanceStableBorrowRate) GetTs() *timestamppb.Timestamp
func (*RebalanceStableBorrowRate) GetTxHash ¶
func (x *RebalanceStableBorrowRate) GetTxHash() []byte
func (*RebalanceStableBorrowRate) GetUser ¶
func (x *RebalanceStableBorrowRate) GetUser() []byte
func (*RebalanceStableBorrowRate) ProtoMessage ¶
func (*RebalanceStableBorrowRate) ProtoMessage()
func (*RebalanceStableBorrowRate) ProtoReflect ¶
func (x *RebalanceStableBorrowRate) ProtoReflect() protoreflect.Message
func (*RebalanceStableBorrowRate) Reset ¶
func (x *RebalanceStableBorrowRate) Reset()
func (*RebalanceStableBorrowRate) String ¶
func (x *RebalanceStableBorrowRate) String() string
type Repay ¶
type Repay struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Reserve []byte `protobuf:"bytes,2,opt,name=reserve,proto3" json:"reserve,omitempty"` User []byte `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` Repayer []byte `protobuf:"bytes,4,opt,name=repayer,proto3" json:"repayer,omitempty"` Amount []byte `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` // uint256 BlockNumber uint64 `protobuf:"varint,6,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` LogIndex uint64 `protobuf:"varint,7,opt,name=logIndex,proto3" json:"logIndex,omitempty"` TxHash []byte `protobuf:"bytes,8,opt,name=txHash,proto3" json:"txHash,omitempty"` // contains filtered or unexported fields }
func (*Repay) Descriptor
deprecated
func (*Repay) GetBlockNumber ¶
func (*Repay) GetLogIndex ¶
func (*Repay) GetRepayer ¶
func (*Repay) GetReserve ¶
func (*Repay) GetTs ¶
func (x *Repay) GetTs() *timestamppb.Timestamp
func (*Repay) ProtoMessage ¶
func (*Repay) ProtoMessage()
func (*Repay) ProtoReflect ¶
func (x *Repay) ProtoReflect() protoreflect.Message
type ReserveDataUpdated ¶
type ReserveDataUpdated struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Reserve []byte `protobuf:"bytes,2,opt,name=reserve,proto3" json:"reserve,omitempty"` LiquidityRate []byte `protobuf:"bytes,3,opt,name=liquidityRate,proto3" json:"liquidityRate,omitempty"` // uint256 StableBorrowRate []byte `protobuf:"bytes,4,opt,name=stableBorrowRate,proto3" json:"stableBorrowRate,omitempty"` // uint256 VariableBorrowRate []byte `protobuf:"bytes,5,opt,name=variableBorrowRate,proto3" json:"variableBorrowRate,omitempty"` // uint256 LiquidityIndex []byte `protobuf:"bytes,6,opt,name=liquidityIndex,proto3" json:"liquidityIndex,omitempty"` // uint256 VariableBorrowIndex []byte `protobuf:"bytes,7,opt,name=variableBorrowIndex,proto3" json:"variableBorrowIndex,omitempty"` // uint256 BlockNumber uint64 `protobuf:"varint,8,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` LogIndex uint64 `protobuf:"varint,9,opt,name=logIndex,proto3" json:"logIndex,omitempty"` TxHash []byte `protobuf:"bytes,10,opt,name=txHash,proto3" json:"txHash,omitempty"` // contains filtered or unexported fields }
func (*ReserveDataUpdated) Descriptor
deprecated
func (*ReserveDataUpdated) Descriptor() ([]byte, []int)
Deprecated: Use ReserveDataUpdated.ProtoReflect.Descriptor instead.
func (*ReserveDataUpdated) GetBlockNumber ¶
func (x *ReserveDataUpdated) GetBlockNumber() uint64
func (*ReserveDataUpdated) GetLiquidityIndex ¶
func (x *ReserveDataUpdated) GetLiquidityIndex() []byte
func (*ReserveDataUpdated) GetLiquidityRate ¶
func (x *ReserveDataUpdated) GetLiquidityRate() []byte
func (*ReserveDataUpdated) GetLogIndex ¶
func (x *ReserveDataUpdated) GetLogIndex() uint64
func (*ReserveDataUpdated) GetReserve ¶
func (x *ReserveDataUpdated) GetReserve() []byte
func (*ReserveDataUpdated) GetStableBorrowRate ¶
func (x *ReserveDataUpdated) GetStableBorrowRate() []byte
func (*ReserveDataUpdated) GetTs ¶
func (x *ReserveDataUpdated) GetTs() *timestamppb.Timestamp
func (*ReserveDataUpdated) GetTxHash ¶
func (x *ReserveDataUpdated) GetTxHash() []byte
func (*ReserveDataUpdated) GetVariableBorrowIndex ¶
func (x *ReserveDataUpdated) GetVariableBorrowIndex() []byte
func (*ReserveDataUpdated) GetVariableBorrowRate ¶
func (x *ReserveDataUpdated) GetVariableBorrowRate() []byte
func (*ReserveDataUpdated) ProtoMessage ¶
func (*ReserveDataUpdated) ProtoMessage()
func (*ReserveDataUpdated) ProtoReflect ¶
func (x *ReserveDataUpdated) ProtoReflect() protoreflect.Message
func (*ReserveDataUpdated) Reset ¶
func (x *ReserveDataUpdated) Reset()
func (*ReserveDataUpdated) String ¶
func (x *ReserveDataUpdated) String() string
type ReserveUsedAsCollateralDisabled ¶
type ReserveUsedAsCollateralDisabled struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Reserve []byte `protobuf:"bytes,2,opt,name=reserve,proto3" json:"reserve,omitempty"` User []byte `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` BlockNumber uint64 `protobuf:"varint,4,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` LogIndex uint64 `protobuf:"varint,5,opt,name=logIndex,proto3" json:"logIndex,omitempty"` TxHash []byte `protobuf:"bytes,6,opt,name=txHash,proto3" json:"txHash,omitempty"` // contains filtered or unexported fields }
func (*ReserveUsedAsCollateralDisabled) Descriptor
deprecated
func (*ReserveUsedAsCollateralDisabled) Descriptor() ([]byte, []int)
Deprecated: Use ReserveUsedAsCollateralDisabled.ProtoReflect.Descriptor instead.
func (*ReserveUsedAsCollateralDisabled) GetBlockNumber ¶
func (x *ReserveUsedAsCollateralDisabled) GetBlockNumber() uint64
func (*ReserveUsedAsCollateralDisabled) GetLogIndex ¶
func (x *ReserveUsedAsCollateralDisabled) GetLogIndex() uint64
func (*ReserveUsedAsCollateralDisabled) GetReserve ¶
func (x *ReserveUsedAsCollateralDisabled) GetReserve() []byte
func (*ReserveUsedAsCollateralDisabled) GetTs ¶
func (x *ReserveUsedAsCollateralDisabled) GetTs() *timestamppb.Timestamp
func (*ReserveUsedAsCollateralDisabled) GetTxHash ¶
func (x *ReserveUsedAsCollateralDisabled) GetTxHash() []byte
func (*ReserveUsedAsCollateralDisabled) GetUser ¶
func (x *ReserveUsedAsCollateralDisabled) GetUser() []byte
func (*ReserveUsedAsCollateralDisabled) ProtoMessage ¶
func (*ReserveUsedAsCollateralDisabled) ProtoMessage()
func (*ReserveUsedAsCollateralDisabled) ProtoReflect ¶
func (x *ReserveUsedAsCollateralDisabled) ProtoReflect() protoreflect.Message
func (*ReserveUsedAsCollateralDisabled) Reset ¶
func (x *ReserveUsedAsCollateralDisabled) Reset()
func (*ReserveUsedAsCollateralDisabled) String ¶
func (x *ReserveUsedAsCollateralDisabled) String() string
type ReserveUsedAsCollateralEnabled ¶
type ReserveUsedAsCollateralEnabled struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Reserve []byte `protobuf:"bytes,2,opt,name=reserve,proto3" json:"reserve,omitempty"` User []byte `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` BlockNumber uint64 `protobuf:"varint,4,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` LogIndex uint64 `protobuf:"varint,5,opt,name=logIndex,proto3" json:"logIndex,omitempty"` TxHash []byte `protobuf:"bytes,6,opt,name=txHash,proto3" json:"txHash,omitempty"` // contains filtered or unexported fields }
func (*ReserveUsedAsCollateralEnabled) Descriptor
deprecated
func (*ReserveUsedAsCollateralEnabled) Descriptor() ([]byte, []int)
Deprecated: Use ReserveUsedAsCollateralEnabled.ProtoReflect.Descriptor instead.
func (*ReserveUsedAsCollateralEnabled) GetBlockNumber ¶
func (x *ReserveUsedAsCollateralEnabled) GetBlockNumber() uint64
func (*ReserveUsedAsCollateralEnabled) GetLogIndex ¶
func (x *ReserveUsedAsCollateralEnabled) GetLogIndex() uint64
func (*ReserveUsedAsCollateralEnabled) GetReserve ¶
func (x *ReserveUsedAsCollateralEnabled) GetReserve() []byte
func (*ReserveUsedAsCollateralEnabled) GetTs ¶
func (x *ReserveUsedAsCollateralEnabled) GetTs() *timestamppb.Timestamp
func (*ReserveUsedAsCollateralEnabled) GetTxHash ¶
func (x *ReserveUsedAsCollateralEnabled) GetTxHash() []byte
func (*ReserveUsedAsCollateralEnabled) GetUser ¶
func (x *ReserveUsedAsCollateralEnabled) GetUser() []byte
func (*ReserveUsedAsCollateralEnabled) ProtoMessage ¶
func (*ReserveUsedAsCollateralEnabled) ProtoMessage()
func (*ReserveUsedAsCollateralEnabled) ProtoReflect ¶
func (x *ReserveUsedAsCollateralEnabled) ProtoReflect() protoreflect.Message
func (*ReserveUsedAsCollateralEnabled) Reset ¶
func (x *ReserveUsedAsCollateralEnabled) Reset()
func (*ReserveUsedAsCollateralEnabled) String ¶
func (x *ReserveUsedAsCollateralEnabled) String() string
type SmartContract ¶
func NewContract ¶
func NewContract(addr string) (*SmartContract, error)
func (*SmartContract) Address ¶
func (c *SmartContract) Address() string
func (*SmartContract) Message ¶
func (c *SmartContract) Message(vLog types.Log, ts *timestamppb.Timestamp) proto.Message
type Struct1 ¶
type Struct1 struct { Configuration Struct0 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 }
Struct1 is an auto generated low-level Go binding around an user-defined struct.
type Swap ¶
type Swap struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Reserve []byte `protobuf:"bytes,2,opt,name=reserve,proto3" json:"reserve,omitempty"` User []byte `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` RateMode []byte `protobuf:"bytes,4,opt,name=rateMode,proto3" json:"rateMode,omitempty"` // uint256 BlockNumber uint64 `protobuf:"varint,5,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` LogIndex uint64 `protobuf:"varint,6,opt,name=logIndex,proto3" json:"logIndex,omitempty"` TxHash []byte `protobuf:"bytes,7,opt,name=txHash,proto3" json:"txHash,omitempty"` // contains filtered or unexported fields }
func (*Swap) Descriptor
deprecated
func (*Swap) GetBlockNumber ¶
func (*Swap) GetLogIndex ¶
func (*Swap) GetRateMode ¶
func (*Swap) GetReserve ¶
func (*Swap) GetTs ¶
func (x *Swap) GetTs() *timestamppb.Timestamp
func (*Swap) ProtoMessage ¶
func (*Swap) ProtoMessage()
func (*Swap) ProtoReflect ¶
func (x *Swap) ProtoReflect() protoreflect.Message
type Unpaused ¶
type Unpaused struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` BlockNumber uint64 `protobuf:"varint,2,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` LogIndex uint64 `protobuf:"varint,3,opt,name=logIndex,proto3" json:"logIndex,omitempty"` TxHash []byte `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"` // contains filtered or unexported fields }
func (*Unpaused) Descriptor
deprecated
func (*Unpaused) GetBlockNumber ¶
func (*Unpaused) GetLogIndex ¶
func (*Unpaused) GetTs ¶
func (x *Unpaused) GetTs() *timestamppb.Timestamp
func (*Unpaused) ProtoMessage ¶
func (*Unpaused) ProtoMessage()
func (*Unpaused) ProtoReflect ¶
func (x *Unpaused) ProtoReflect() protoreflect.Message
type Withdraw ¶
type Withdraw struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Reserve []byte `protobuf:"bytes,2,opt,name=reserve,proto3" json:"reserve,omitempty"` User []byte `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` To []byte `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` Amount []byte `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` // uint256 BlockNumber uint64 `protobuf:"varint,6,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` LogIndex uint64 `protobuf:"varint,7,opt,name=logIndex,proto3" json:"logIndex,omitempty"` TxHash []byte `protobuf:"bytes,8,opt,name=txHash,proto3" json:"txHash,omitempty"` // contains filtered or unexported fields }
func (*Withdraw) Descriptor
deprecated
func (*Withdraw) GetBlockNumber ¶
func (*Withdraw) GetLogIndex ¶
func (*Withdraw) GetReserve ¶
func (*Withdraw) GetTs ¶
func (x *Withdraw) GetTs() *timestamppb.Timestamp
func (*Withdraw) ProtoMessage ¶
func (*Withdraw) ProtoMessage()
func (*Withdraw) ProtoReflect ¶
func (x *Withdraw) ProtoReflect() protoreflect.Message