Documentation ¶
Index ¶
- Variables
- type Bindings
- type BindingsAccrueInterest
- type BindingsAccrueInterestIterator
- type BindingsApproval
- type BindingsApprovalIterator
- type BindingsBorrow
- type BindingsBorrowIterator
- type BindingsCaller
- func (_Bindings *BindingsCaller) AccrualBlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_Bindings *BindingsCaller) Admin(opts *bind.CallOpts) (common.Address, error)
- func (_Bindings *BindingsCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_Bindings *BindingsCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_Bindings *BindingsCaller) BorrowBalanceStored(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Bindings *BindingsCaller) BorrowIndex(opts *bind.CallOpts) (*big.Int, error)
- func (_Bindings *BindingsCaller) BorrowRatePerBlock(opts *bind.CallOpts) (*big.Int, error)
- func (_Bindings *BindingsCaller) Comptroller(opts *bind.CallOpts) (common.Address, error)
- func (_Bindings *BindingsCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_Bindings *BindingsCaller) ExchangeRateStored(opts *bind.CallOpts) (*big.Int, error)
- func (_Bindings *BindingsCaller) GetAccountSnapshot(opts *bind.CallOpts, account common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)
- func (_Bindings *BindingsCaller) GetCash(opts *bind.CallOpts) (*big.Int, error)
- func (_Bindings *BindingsCaller) GetReserveAddressById(opts *bind.CallOpts, id uint16) (common.Address, error)
- func (_Bindings *BindingsCaller) GetReserveData(opts *bind.CallOpts, asset common.Address) (DataTypesReserveData, error)
- func (_Bindings *BindingsCaller) GetReserveNormalizedIncome(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
- func (_Bindings *BindingsCaller) GetUserAccountData(opts *bind.CallOpts, user common.Address) (struct{ ... }, error)
- func (_Bindings *BindingsCaller) InitialExchangeRateMantissa(opts *bind.CallOpts) (*big.Int, error)
- func (_Bindings *BindingsCaller) InterestRateModel(opts *bind.CallOpts) (common.Address, error)
- func (_Bindings *BindingsCaller) IsCToken(opts *bind.CallOpts) (bool, error)
- func (_Bindings *BindingsCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Bindings *BindingsCaller) PendingAdmin(opts *bind.CallOpts) (common.Address, error)
- func (_Bindings *BindingsCaller) ReserveFactorMantissa(opts *bind.CallOpts) (*big.Int, error)
- func (_Bindings *BindingsCaller) SupplyRatePerBlock(opts *bind.CallOpts) (*big.Int, error)
- func (_Bindings *BindingsCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Bindings *BindingsCaller) TotalBorrows(opts *bind.CallOpts) (*big.Int, error)
- func (_Bindings *BindingsCaller) TotalReserves(opts *bind.CallOpts) (*big.Int, error)
- func (_Bindings *BindingsCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_Bindings *BindingsCaller) Underlying(opts *bind.CallOpts) (common.Address, error)
- type BindingsCallerRaw
- type BindingsCallerSession
- func (_Bindings *BindingsCallerSession) AccrualBlockNumber() (*big.Int, error)
- func (_Bindings *BindingsCallerSession) Admin() (common.Address, error)
- func (_Bindings *BindingsCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Bindings *BindingsCallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Bindings *BindingsCallerSession) BorrowBalanceStored(account common.Address) (*big.Int, error)
- func (_Bindings *BindingsCallerSession) BorrowIndex() (*big.Int, error)
- func (_Bindings *BindingsCallerSession) BorrowRatePerBlock() (*big.Int, error)
- func (_Bindings *BindingsCallerSession) Comptroller() (common.Address, error)
- func (_Bindings *BindingsCallerSession) Decimals() (*big.Int, error)
- func (_Bindings *BindingsCallerSession) ExchangeRateStored() (*big.Int, error)
- func (_Bindings *BindingsCallerSession) GetAccountSnapshot(account common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)
- func (_Bindings *BindingsCallerSession) GetCash() (*big.Int, error)
- func (_Bindings *BindingsCallerSession) GetReserveAddressById(id uint16) (common.Address, error)
- func (_Bindings *BindingsCallerSession) GetReserveData(asset common.Address) (DataTypesReserveData, error)
- func (_Bindings *BindingsCallerSession) GetReserveNormalizedIncome(asset common.Address) (*big.Int, error)
- func (_Bindings *BindingsCallerSession) GetUserAccountData(user common.Address) (struct{ ... }, error)
- func (_Bindings *BindingsCallerSession) InitialExchangeRateMantissa() (*big.Int, error)
- func (_Bindings *BindingsCallerSession) InterestRateModel() (common.Address, error)
- func (_Bindings *BindingsCallerSession) IsCToken() (bool, error)
- func (_Bindings *BindingsCallerSession) Name() (string, error)
- func (_Bindings *BindingsCallerSession) PendingAdmin() (common.Address, error)
- func (_Bindings *BindingsCallerSession) ReserveFactorMantissa() (*big.Int, error)
- func (_Bindings *BindingsCallerSession) SupplyRatePerBlock() (*big.Int, error)
- func (_Bindings *BindingsCallerSession) Symbol() (string, error)
- func (_Bindings *BindingsCallerSession) TotalBorrows() (*big.Int, error)
- func (_Bindings *BindingsCallerSession) TotalReserves() (*big.Int, error)
- func (_Bindings *BindingsCallerSession) TotalSupply() (*big.Int, error)
- func (_Bindings *BindingsCallerSession) Underlying() (common.Address, error)
- type BindingsFailure
- type BindingsFailureIterator
- type BindingsFilterer
- func (_Bindings *BindingsFilterer) FilterAccrueInterest(opts *bind.FilterOpts) (*BindingsAccrueInterestIterator, error)
- func (_Bindings *BindingsFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BindingsApprovalIterator, error)
- func (_Bindings *BindingsFilterer) FilterBorrow(opts *bind.FilterOpts) (*BindingsBorrowIterator, error)
- func (_Bindings *BindingsFilterer) FilterFailure(opts *bind.FilterOpts) (*BindingsFailureIterator, error)
- func (_Bindings *BindingsFilterer) FilterLiquidateBorrow(opts *bind.FilterOpts) (*BindingsLiquidateBorrowIterator, error)
- func (_Bindings *BindingsFilterer) FilterMint(opts *bind.FilterOpts) (*BindingsMintIterator, error)
- func (_Bindings *BindingsFilterer) FilterNewAdmin(opts *bind.FilterOpts) (*BindingsNewAdminIterator, error)
- func (_Bindings *BindingsFilterer) FilterNewComptroller(opts *bind.FilterOpts) (*BindingsNewComptrollerIterator, error)
- func (_Bindings *BindingsFilterer) FilterNewMarketInterestRateModel(opts *bind.FilterOpts) (*BindingsNewMarketInterestRateModelIterator, error)
- func (_Bindings *BindingsFilterer) FilterNewPendingAdmin(opts *bind.FilterOpts) (*BindingsNewPendingAdminIterator, error)
- func (_Bindings *BindingsFilterer) FilterNewReserveFactor(opts *bind.FilterOpts) (*BindingsNewReserveFactorIterator, error)
- func (_Bindings *BindingsFilterer) FilterRedeem(opts *bind.FilterOpts) (*BindingsRedeemIterator, error)
- func (_Bindings *BindingsFilterer) FilterRepayBorrow(opts *bind.FilterOpts) (*BindingsRepayBorrowIterator, error)
- func (_Bindings *BindingsFilterer) FilterReservesReduced(opts *bind.FilterOpts) (*BindingsReservesReducedIterator, error)
- func (_Bindings *BindingsFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BindingsTransferIterator, error)
- func (_Bindings *BindingsFilterer) ParseAccrueInterest(log types.Log) (*BindingsAccrueInterest, error)
- func (_Bindings *BindingsFilterer) ParseApproval(log types.Log) (*BindingsApproval, error)
- func (_Bindings *BindingsFilterer) ParseBorrow(log types.Log) (*BindingsBorrow, error)
- func (_Bindings *BindingsFilterer) ParseFailure(log types.Log) (*BindingsFailure, error)
- func (_Bindings *BindingsFilterer) ParseLiquidateBorrow(log types.Log) (*BindingsLiquidateBorrow, error)
- func (_Bindings *BindingsFilterer) ParseMint(log types.Log) (*BindingsMint, error)
- func (_Bindings *BindingsFilterer) ParseNewAdmin(log types.Log) (*BindingsNewAdmin, error)
- func (_Bindings *BindingsFilterer) ParseNewComptroller(log types.Log) (*BindingsNewComptroller, error)
- func (_Bindings *BindingsFilterer) ParseNewMarketInterestRateModel(log types.Log) (*BindingsNewMarketInterestRateModel, error)
- func (_Bindings *BindingsFilterer) ParseNewPendingAdmin(log types.Log) (*BindingsNewPendingAdmin, error)
- func (_Bindings *BindingsFilterer) ParseNewReserveFactor(log types.Log) (*BindingsNewReserveFactor, error)
- func (_Bindings *BindingsFilterer) ParseRedeem(log types.Log) (*BindingsRedeem, error)
- func (_Bindings *BindingsFilterer) ParseRepayBorrow(log types.Log) (*BindingsRepayBorrow, error)
- func (_Bindings *BindingsFilterer) ParseReservesReduced(log types.Log) (*BindingsReservesReduced, error)
- func (_Bindings *BindingsFilterer) ParseTransfer(log types.Log) (*BindingsTransfer, error)
- func (_Bindings *BindingsFilterer) WatchAccrueInterest(opts *bind.WatchOpts, sink chan<- *BindingsAccrueInterest) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BindingsApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchBorrow(opts *bind.WatchOpts, sink chan<- *BindingsBorrow) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchFailure(opts *bind.WatchOpts, sink chan<- *BindingsFailure) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchLiquidateBorrow(opts *bind.WatchOpts, sink chan<- *BindingsLiquidateBorrow) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *BindingsMint) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchNewAdmin(opts *bind.WatchOpts, sink chan<- *BindingsNewAdmin) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchNewComptroller(opts *bind.WatchOpts, sink chan<- *BindingsNewComptroller) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchNewMarketInterestRateModel(opts *bind.WatchOpts, sink chan<- *BindingsNewMarketInterestRateModel) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchNewPendingAdmin(opts *bind.WatchOpts, sink chan<- *BindingsNewPendingAdmin) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchNewReserveFactor(opts *bind.WatchOpts, sink chan<- *BindingsNewReserveFactor) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchRedeem(opts *bind.WatchOpts, sink chan<- *BindingsRedeem) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchRepayBorrow(opts *bind.WatchOpts, sink chan<- *BindingsRepayBorrow) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchReservesReduced(opts *bind.WatchOpts, sink chan<- *BindingsReservesReduced) (event.Subscription, error)
- func (_Bindings *BindingsFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BindingsTransfer, from []common.Address, ...) (event.Subscription, error)
- type BindingsLiquidateBorrow
- type BindingsLiquidateBorrowIterator
- type BindingsMint
- type BindingsMintIterator
- type BindingsNewAdmin
- type BindingsNewAdminIterator
- type BindingsNewComptroller
- type BindingsNewComptrollerIterator
- type BindingsNewMarketInterestRateModel
- type BindingsNewMarketInterestRateModelIterator
- type BindingsNewPendingAdmin
- type BindingsNewPendingAdminIterator
- type BindingsNewReserveFactor
- type BindingsNewReserveFactorIterator
- type BindingsRaw
- func (_Bindings *BindingsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Bindings *BindingsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Bindings *BindingsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BindingsRedeem
- type BindingsRedeemIterator
- type BindingsRepayBorrow
- type BindingsRepayBorrowIterator
- type BindingsReservesReduced
- type BindingsReservesReducedIterator
- type BindingsSession
- func (_Bindings *BindingsSession) AcceptAdmin() (*types.Transaction, error)
- func (_Bindings *BindingsSession) AccrualBlockNumber() (*big.Int, error)
- func (_Bindings *BindingsSession) AccrueInterest() (*types.Transaction, error)
- func (_Bindings *BindingsSession) Admin() (common.Address, error)
- func (_Bindings *BindingsSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Bindings *BindingsSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Bindings *BindingsSession) BalanceOfUnderlying(owner common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsSession) Borrow(borrowAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsSession) BorrowBalanceCurrent(account common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsSession) BorrowBalanceStored(account common.Address) (*big.Int, error)
- func (_Bindings *BindingsSession) BorrowIndex() (*big.Int, error)
- func (_Bindings *BindingsSession) BorrowRatePerBlock() (*big.Int, error)
- func (_Bindings *BindingsSession) Comptroller() (common.Address, error)
- func (_Bindings *BindingsSession) Decimals() (*big.Int, error)
- func (_Bindings *BindingsSession) Deposit(asset common.Address, amount *big.Int, onBehalfOf common.Address, ...) (*types.Transaction, error)
- func (_Bindings *BindingsSession) ExchangeRateCurrent() (*types.Transaction, error)
- func (_Bindings *BindingsSession) ExchangeRateStored() (*big.Int, error)
- func (_Bindings *BindingsSession) GetAccountSnapshot(account common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)
- func (_Bindings *BindingsSession) GetCash() (*big.Int, error)
- func (_Bindings *BindingsSession) GetReserveAddressById(id uint16) (common.Address, error)
- func (_Bindings *BindingsSession) GetReserveData(asset common.Address) (DataTypesReserveData, error)
- func (_Bindings *BindingsSession) GetReserveNormalizedIncome(asset common.Address) (*big.Int, error)
- func (_Bindings *BindingsSession) GetUserAccountData(user common.Address) (struct{ ... }, error)
- func (_Bindings *BindingsSession) InitialExchangeRateMantissa() (*big.Int, error)
- func (_Bindings *BindingsSession) InterestRateModel() (common.Address, error)
- func (_Bindings *BindingsSession) IsCToken() (bool, error)
- func (_Bindings *BindingsSession) LiquidateBorrow(borrower common.Address, repayAmount *big.Int, cTokenCollateral common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsSession) Mint(mintAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsSession) MintOnDeposit(_account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsSession) Name() (string, error)
- func (_Bindings *BindingsSession) PendingAdmin() (common.Address, error)
- func (_Bindings *BindingsSession) Redeem(redeemTokens *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsSession) RedeemUnderlying(redeemAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsSession) ReduceReserves(reduceAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsSession) RepayBorrow(repayAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsSession) RepayBorrowBehalf(borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsSession) ReserveFactorMantissa() (*big.Int, error)
- func (_Bindings *BindingsSession) Seize(liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsSession) SetComptroller(newComptroller common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsSession) SetInterestRateModel(newInterestRateModel common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsSession) SetPendingAdmin(newPendingAdmin common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsSession) SetReserveFactor(newReserveFactorMantissa *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsSession) Supply(asset common.Address, amount *big.Int, onBehalfOf common.Address, ...) (*types.Transaction, error)
- func (_Bindings *BindingsSession) SupplyRatePerBlock() (*big.Int, error)
- func (_Bindings *BindingsSession) Symbol() (string, error)
- func (_Bindings *BindingsSession) TotalBorrows() (*big.Int, error)
- func (_Bindings *BindingsSession) TotalBorrowsCurrent() (*types.Transaction, error)
- func (_Bindings *BindingsSession) TotalReserves() (*big.Int, error)
- func (_Bindings *BindingsSession) TotalSupply() (*big.Int, error)
- func (_Bindings *BindingsSession) Transfer(dst common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsSession) TransferFrom(src common.Address, dst common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsSession) Underlying() (common.Address, error)
- func (_Bindings *BindingsSession) Withdraw(asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)
- type BindingsTransactor
- func (_Bindings *BindingsTransactor) AcceptAdmin(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) AccrueInterest(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) BalanceOfUnderlying(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) Borrow(opts *bind.TransactOpts, borrowAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) BorrowBalanceCurrent(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) Deposit(opts *bind.TransactOpts, asset common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) ExchangeRateCurrent(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) LiquidateBorrow(opts *bind.TransactOpts, borrower common.Address, repayAmount *big.Int, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) Mint(opts *bind.TransactOpts, mintAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) MintOnDeposit(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) Redeem(opts *bind.TransactOpts, redeemTokens *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) RedeemUnderlying(opts *bind.TransactOpts, redeemAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) ReduceReserves(opts *bind.TransactOpts, reduceAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) RepayBorrow(opts *bind.TransactOpts, repayAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) RepayBorrowBehalf(opts *bind.TransactOpts, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) Seize(opts *bind.TransactOpts, liquidator common.Address, borrower common.Address, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) SetComptroller(opts *bind.TransactOpts, newComptroller common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) SetInterestRateModel(opts *bind.TransactOpts, newInterestRateModel common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) SetPendingAdmin(opts *bind.TransactOpts, newPendingAdmin common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) SetReserveFactor(opts *bind.TransactOpts, newReserveFactorMantissa *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) Supply(opts *bind.TransactOpts, asset common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) TotalBorrowsCurrent(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactor) Withdraw(opts *bind.TransactOpts, asset common.Address, amount *big.Int, ...) (*types.Transaction, error)
- type BindingsTransactorRaw
- type BindingsTransactorSession
- func (_Bindings *BindingsTransactorSession) AcceptAdmin() (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) AccrueInterest() (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) BalanceOfUnderlying(owner common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) Borrow(borrowAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) BorrowBalanceCurrent(account common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) Deposit(asset common.Address, amount *big.Int, onBehalfOf common.Address, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) ExchangeRateCurrent() (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) LiquidateBorrow(borrower common.Address, repayAmount *big.Int, cTokenCollateral common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) Mint(mintAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) MintOnDeposit(_account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) Redeem(redeemTokens *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) RedeemUnderlying(redeemAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) ReduceReserves(reduceAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) RepayBorrow(repayAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) RepayBorrowBehalf(borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) Seize(liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) SetComptroller(newComptroller common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) SetInterestRateModel(newInterestRateModel common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) SetPendingAdmin(newPendingAdmin common.Address) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) SetReserveFactor(newReserveFactorMantissa *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) Supply(asset common.Address, amount *big.Int, onBehalfOf common.Address, ...) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) TotalBorrowsCurrent() (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) Transfer(dst common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) TransferFrom(src common.Address, dst common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) Withdraw(asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)
- type BindingsTransfer
- type BindingsTransferIterator
- type DataTypesReserveConfigurationMap
- type DataTypesReserveData
Constants ¶
This section is empty.
Variables ¶
var BindingsABI = BindingsMetaData.ABI
BindingsABI is the input ABI used to generate the binding from. Deprecated: Use BindingsMetaData.ABI instead.
var BindingsMetaData = &bind.MetaData{
ABI: "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0x06fdde03\"},{\"constant\":false,\"inputs\":[{\"name\":\"spender\",\"type\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0x095ea7b3\"},{\"constant\":false,\"inputs\":[{\"name\":\"repayAmount\",\"type\":\"uint256\"}],\"name\":\"repayBorrow\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0x0e752702\"},{\"constant\":true,\"inputs\":[],\"name\":\"reserveFactorMantissa\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0x173b9904\"},{\"constant\":false,\"inputs\":[{\"name\":\"account\",\"type\":\"address\"}],\"name\":\"borrowBalanceCurrent\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0x17bfdfbc\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0x18160ddd\"},{\"constant\":true,\"inputs\":[],\"name\":\"exchangeRateStored\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0x182df0f5\"},{\"constant\":false,\"inputs\":[{\"name\":\"src\",\"type\":\"address\"},{\"name\":\"dst\",\"type\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0x23b872dd\"},{\"constant\":false,\"inputs\":[{\"name\":\"borrower\",\"type\":\"address\"},{\"name\":\"repayAmount\",\"type\":\"uint256\"}],\"name\":\"repayBorrowBehalf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0x2608f818\"},{\"constant\":true,\"inputs\":[],\"name\":\"pendingAdmin\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0x26782247\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0x313ce567\"},{\"constant\":false,\"inputs\":[{\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOfUnderlying\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0x3af9e669\"},{\"constant\":true,\"inputs\":[],\"name\":\"getCash\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0x3b1d21a2\"},{\"constant\":false,\"inputs\":[{\"name\":\"newComptroller\",\"type\":\"address\"}],\"name\":\"_setComptroller\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0x4576b5db\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalBorrows\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0x47bd3718\"},{\"constant\":true,\"inputs\":[],\"name\":\"comptroller\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0x5fe3b567\"},{\"constant\":false,\"inputs\":[{\"name\":\"reduceAmount\",\"type\":\"uint256\"}],\"name\":\"_reduceReserves\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0x601a0bf1\"},{\"constant\":true,\"inputs\":[],\"name\":\"initialExchangeRateMantissa\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0x675d972c\"},{\"constant\":true,\"inputs\":[],\"name\":\"accrualBlockNumber\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0x6c540baf\"},{\"constant\":true,\"inputs\":[],\"name\":\"underlying\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0x6f307dc3\"},{\"constant\":true,\"inputs\":[{\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0x70a08231\"},{\"constant\":false,\"inputs\":[],\"name\":\"totalBorrowsCurrent\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0x73acee98\"},{\"constant\":false,\"inputs\":[{\"name\":\"redeemAmount\",\"type\":\"uint256\"}],\"name\":\"redeemUnderlying\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0x852a12e3\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalReserves\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0x8f840ddd\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0x95d89b41\"},{\"constant\":true,\"inputs\":[{\"name\":\"account\",\"type\":\"address\"}],\"name\":\"borrowBalanceStored\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0x95dd9193\"},{\"constant\":false,\"inputs\":[{\"name\":\"mintAmount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0xa0712d68\"},{\"constant\":false,\"inputs\":[],\"name\":\"accrueInterest\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0xa6afed95\"},{\"constant\":false,\"inputs\":[{\"name\":\"dst\",\"type\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0xa9059cbb\"},{\"constant\":true,\"inputs\":[],\"name\":\"borrowIndex\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0xaa5af0fd\"},{\"constant\":true,\"inputs\":[],\"name\":\"supplyRatePerBlock\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0xae9d70b0\"},{\"constant\":false,\"inputs\":[{\"name\":\"liquidator\",\"type\":\"address\"},{\"name\":\"borrower\",\"type\":\"address\"},{\"name\":\"seizeTokens\",\"type\":\"uint256\"}],\"name\":\"seize\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0xb2a02ff1\"},{\"constant\":false,\"inputs\":[{\"name\":\"newPendingAdmin\",\"type\":\"address\"}],\"name\":\"_setPendingAdmin\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0xb71d1a0c\"},{\"constant\":false,\"inputs\":[],\"name\":\"exchangeRateCurrent\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0xbd6d894d\"},{\"constant\":true,\"inputs\":[{\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getAccountSnapshot\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0xc37f68e2\"},{\"constant\":false,\"inputs\":[{\"name\":\"borrowAmount\",\"type\":\"uint256\"}],\"name\":\"borrow\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0xc5ebeaec\"},{\"constant\":false,\"inputs\":[{\"name\":\"redeemTokens\",\"type\":\"uint256\"}],\"name\":\"redeem\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0xdb006a75\"},{\"constant\":true,\"inputs\":[{\"name\":\"owner\",\"type\":\"address\"},{\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0xdd62ed3e\"},{\"constant\":false,\"inputs\":[],\"name\":\"_acceptAdmin\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0xe9c714f2\"},{\"constant\":false,\"inputs\":[{\"name\":\"newInterestRateModel\",\"type\":\"address\"}],\"name\":\"_setInterestRateModel\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0xf2b3abbd\"},{\"constant\":true,\"inputs\":[],\"name\":\"interestRateModel\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0xf3fdb15a\"},{\"constant\":false,\"inputs\":[{\"name\":\"borrower\",\"type\":\"address\"},{\"name\":\"repayAmount\",\"type\":\"uint256\"},{\"name\":\"cTokenCollateral\",\"type\":\"address\"}],\"name\":\"liquidateBorrow\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0xf5e3c462\"},{\"constant\":true,\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0xf851a440\"},{\"constant\":true,\"inputs\":[],\"name\":\"borrowRatePerBlock\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0xf8f9da28\"},{\"constant\":false,\"inputs\":[{\"name\":\"newReserveFactorMantissa\",\"type\":\"uint256\"}],\"name\":\"_setReserveFactor\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"signature\":\"0xfca7820b\"},{\"constant\":true,\"inputs\":[],\"name\":\"isCToken\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"signature\":\"0xfe9c44ae\"},{\"inputs\":[{\"name\":\"underlying_\",\"type\":\"address\"},{\"name\":\"comptroller_\",\"type\":\"address\"},{\"name\":\"interestRateModel_\",\"type\":\"address\"},{\"name\":\"initialExchangeRateMantissa_\",\"type\":\"uint256\"},{\"name\":\"name_\",\"type\":\"string\"},{\"name\":\"symbol_\",\"type\":\"string\"},{\"name\":\"decimals_\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\",\"signature\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"interestAccumulated\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"borrowIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"totalBorrows\",\"type\":\"uint256\"}],\"name\":\"AccrueInterest\",\"type\":\"event\",\"signature\":\"0x875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"minter\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"mintAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"mintTokens\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\",\"signature\":\"0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"redeemer\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"redeemAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"redeemTokens\",\"type\":\"uint256\"}],\"name\":\"Redeem\",\"type\":\"event\",\"signature\":\"0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"borrowAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"accountBorrows\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"totalBorrows\",\"type\":\"uint256\"}],\"name\":\"Borrow\",\"type\":\"event\",\"signature\":\"0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"payer\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"repayAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"accountBorrows\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"totalBorrows\",\"type\":\"uint256\"}],\"name\":\"RepayBorrow\",\"type\":\"event\",\"signature\":\"0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"liquidator\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"repayAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"cTokenCollateral\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"seizeTokens\",\"type\":\"uint256\"}],\"name\":\"LiquidateBorrow\",\"type\":\"event\",\"signature\":\"0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"oldPendingAdmin\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"newPendingAdmin\",\"type\":\"address\"}],\"name\":\"NewPendingAdmin\",\"type\":\"event\",\"signature\":\"0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"oldAdmin\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"NewAdmin\",\"type\":\"event\",\"signature\":\"0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"oldComptroller\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"newComptroller\",\"type\":\"address\"}],\"name\":\"NewComptroller\",\"type\":\"event\",\"signature\":\"0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"oldInterestRateModel\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"newInterestRateModel\",\"type\":\"address\"}],\"name\":\"NewMarketInterestRateModel\",\"type\":\"event\",\"signature\":\"0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"oldReserveFactorMantissa\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"newReserveFactorMantissa\",\"type\":\"uint256\"}],\"name\":\"NewReserveFactor\",\"type\":\"event\",\"signature\":\"0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"admin\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"reduceAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"newTotalReserves\",\"type\":\"uint256\"}],\"name\":\"ReservesReduced\",\"type\":\"event\",\"signature\":\"0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"error\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"info\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"detail\",\"type\":\"uint256\"}],\"name\":\"Failure\",\"type\":\"event\",\"signature\":\"0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\",\"signature\":\"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\",\"signature\":\"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"mintOnDeposit\",\"outputs\":[],\"payable\":false,\"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\":\"supply\",\"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\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"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\":\"currentLiquidityRate\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"variableBorrowIndex\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"currentVariableBorrowRate\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"currentStableBorrowRate\",\"type\":\"uint128\"},{\"internalType\":\"uint40\",\"name\":\"lastUpdateTimestamp\",\"type\":\"uint40\"},{\"internalType\":\"uint16\",\"name\":\"id\",\"type\":\"uint16\"},{\"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\":\"uint128\",\"name\":\"accruedToTreasury\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"unbacked\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"isolationModeTotalDebt\",\"type\":\"uint128\"}],\"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\":\"uint16\",\"name\":\"id\",\"type\":\"uint16\"}],\"name\":\"getReserveAddressById\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getUserAccountData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalCollateralBase\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalDebtBase\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"availableBorrowsBase\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentLiquidationThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ltv\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"healthFactor\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
BindingsMetaData contains all meta data concerning the Bindings contract.
Functions ¶
This section is empty.
Types ¶
type Bindings ¶
type Bindings struct { BindingsCaller // Read-only binding to the contract BindingsTransactor // Write-only binding to the contract BindingsFilterer // Log filterer for contract events }
Bindings is an auto generated Go binding around an Ethereum contract.
func NewBindings ¶
NewBindings creates a new instance of Bindings, bound to a specific deployed contract.
type BindingsAccrueInterest ¶
type BindingsAccrueInterest struct { InterestAccumulated *big.Int BorrowIndex *big.Int TotalBorrows *big.Int Raw types.Log // Blockchain specific contextual infos }
BindingsAccrueInterest represents a AccrueInterest event raised by the Bindings contract.
type BindingsAccrueInterestIterator ¶
type BindingsAccrueInterestIterator struct { Event *BindingsAccrueInterest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsAccrueInterestIterator is returned from FilterAccrueInterest and is used to iterate over the raw logs and unpacked data for AccrueInterest events raised by the Bindings contract.
func (*BindingsAccrueInterestIterator) Close ¶
func (it *BindingsAccrueInterestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsAccrueInterestIterator) Error ¶
func (it *BindingsAccrueInterestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsAccrueInterestIterator) Next ¶
func (it *BindingsAccrueInterestIterator) 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 BindingsApproval ¶
type BindingsApproval struct { Owner common.Address Spender common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
BindingsApproval represents a Approval event raised by the Bindings contract.
type BindingsApprovalIterator ¶
type BindingsApprovalIterator struct { Event *BindingsApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Bindings contract.
func (*BindingsApprovalIterator) Close ¶
func (it *BindingsApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsApprovalIterator) Error ¶
func (it *BindingsApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsApprovalIterator) Next ¶
func (it *BindingsApprovalIterator) 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 BindingsBorrow ¶
type BindingsBorrow struct { Borrower common.Address BorrowAmount *big.Int AccountBorrows *big.Int TotalBorrows *big.Int Raw types.Log // Blockchain specific contextual infos }
BindingsBorrow represents a Borrow event raised by the Bindings contract.
type BindingsBorrowIterator ¶
type BindingsBorrowIterator struct { Event *BindingsBorrow // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsBorrowIterator is returned from FilterBorrow and is used to iterate over the raw logs and unpacked data for Borrow events raised by the Bindings contract.
func (*BindingsBorrowIterator) Close ¶
func (it *BindingsBorrowIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsBorrowIterator) Error ¶
func (it *BindingsBorrowIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsBorrowIterator) Next ¶
func (it *BindingsBorrowIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BindingsCaller ¶
type BindingsCaller struct {
// contains filtered or unexported fields
}
BindingsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBindingsCaller ¶
func NewBindingsCaller(address common.Address, caller bind.ContractCaller) (*BindingsCaller, error)
NewBindingsCaller creates a new read-only instance of Bindings, bound to a specific deployed contract.
func (*BindingsCaller) AccrualBlockNumber ¶
AccrualBlockNumber is a free data retrieval call binding the contract method 0x6c540baf.
Solidity: function accrualBlockNumber() view returns(uint256)
func (*BindingsCaller) Admin ¶
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*BindingsCaller) Allowance ¶
func (_Bindings *BindingsCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*BindingsCaller) BalanceOf ¶
func (_Bindings *BindingsCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*BindingsCaller) BorrowBalanceStored ¶
func (_Bindings *BindingsCaller) BorrowBalanceStored(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BorrowBalanceStored is a free data retrieval call binding the contract method 0x95dd9193.
Solidity: function borrowBalanceStored(address account) view returns(uint256)
func (*BindingsCaller) BorrowIndex ¶
BorrowIndex is a free data retrieval call binding the contract method 0xaa5af0fd.
Solidity: function borrowIndex() view returns(uint256)
func (*BindingsCaller) BorrowRatePerBlock ¶
BorrowRatePerBlock is a free data retrieval call binding the contract method 0xf8f9da28.
Solidity: function borrowRatePerBlock() view returns(uint256)
func (*BindingsCaller) Comptroller ¶
Comptroller is a free data retrieval call binding the contract method 0x5fe3b567.
Solidity: function comptroller() view returns(address)
func (*BindingsCaller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*BindingsCaller) ExchangeRateStored ¶
ExchangeRateStored is a free data retrieval call binding the contract method 0x182df0f5.
Solidity: function exchangeRateStored() view returns(uint256)
func (*BindingsCaller) GetAccountSnapshot ¶
func (_Bindings *BindingsCaller) GetAccountSnapshot(opts *bind.CallOpts, account common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)
GetAccountSnapshot is a free data retrieval call binding the contract method 0xc37f68e2.
Solidity: function getAccountSnapshot(address account) view returns(uint256, uint256, uint256, uint256)
func (*BindingsCaller) GetCash ¶
GetCash is a free data retrieval call binding the contract method 0x3b1d21a2.
Solidity: function getCash() view returns(uint256)
func (*BindingsCaller) GetReserveAddressById ¶
func (_Bindings *BindingsCaller) GetReserveAddressById(opts *bind.CallOpts, id uint16) (common.Address, error)
GetReserveAddressById is a free data retrieval call binding the contract method 0x52751797.
Solidity: function getReserveAddressById(uint16 id) view returns(address)
func (*BindingsCaller) GetReserveData ¶
func (_Bindings *BindingsCaller) GetReserveData(opts *bind.CallOpts, asset common.Address) (DataTypesReserveData, error)
GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.
Solidity: function getReserveData(address asset) view returns(((uint256),uint128,uint128,uint128,uint128,uint128,uint40,uint16,address,address,address,address,uint128,uint128,uint128))
func (*BindingsCaller) GetReserveNormalizedIncome ¶
func (_Bindings *BindingsCaller) GetReserveNormalizedIncome(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
GetReserveNormalizedIncome is a free data retrieval call binding the contract method 0xd15e0053.
Solidity: function getReserveNormalizedIncome(address asset) view returns(uint256)
func (*BindingsCaller) GetUserAccountData ¶
func (_Bindings *BindingsCaller) GetUserAccountData(opts *bind.CallOpts, user common.Address) (struct { TotalCollateralBase *big.Int TotalDebtBase *big.Int AvailableBorrowsBase *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 totalCollateralBase, uint256 totalDebtBase, uint256 availableBorrowsBase, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)
func (*BindingsCaller) InitialExchangeRateMantissa ¶
InitialExchangeRateMantissa is a free data retrieval call binding the contract method 0x675d972c.
Solidity: function initialExchangeRateMantissa() view returns(uint256)
func (*BindingsCaller) InterestRateModel ¶
InterestRateModel is a free data retrieval call binding the contract method 0xf3fdb15a.
Solidity: function interestRateModel() view returns(address)
func (*BindingsCaller) IsCToken ¶
func (_Bindings *BindingsCaller) IsCToken(opts *bind.CallOpts) (bool, error)
IsCToken is a free data retrieval call binding the contract method 0xfe9c44ae.
Solidity: function isCToken() view returns(bool)
func (*BindingsCaller) Name ¶
func (_Bindings *BindingsCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BindingsCaller) PendingAdmin ¶
PendingAdmin is a free data retrieval call binding the contract method 0x26782247.
Solidity: function pendingAdmin() view returns(address)
func (*BindingsCaller) ReserveFactorMantissa ¶
ReserveFactorMantissa is a free data retrieval call binding the contract method 0x173b9904.
Solidity: function reserveFactorMantissa() view returns(uint256)
func (*BindingsCaller) SupplyRatePerBlock ¶
SupplyRatePerBlock is a free data retrieval call binding the contract method 0xae9d70b0.
Solidity: function supplyRatePerBlock() view returns(uint256)
func (*BindingsCaller) Symbol ¶
func (_Bindings *BindingsCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BindingsCaller) TotalBorrows ¶
TotalBorrows is a free data retrieval call binding the contract method 0x47bd3718.
Solidity: function totalBorrows() view returns(uint256)
func (*BindingsCaller) TotalReserves ¶
TotalReserves is a free data retrieval call binding the contract method 0x8f840ddd.
Solidity: function totalReserves() view returns(uint256)
func (*BindingsCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BindingsCaller) Underlying ¶
Underlying is a free data retrieval call binding the contract method 0x6f307dc3.
Solidity: function underlying() view returns(address)
type BindingsCallerRaw ¶
type BindingsCallerRaw struct {
Contract *BindingsCaller // Generic read-only contract binding to access the raw methods on
}
BindingsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BindingsCallerRaw) Call ¶
func (_Bindings *BindingsCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type BindingsCallerSession ¶
type BindingsCallerSession struct { Contract *BindingsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BindingsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BindingsCallerSession) AccrualBlockNumber ¶
func (_Bindings *BindingsCallerSession) AccrualBlockNumber() (*big.Int, error)
AccrualBlockNumber is a free data retrieval call binding the contract method 0x6c540baf.
Solidity: function accrualBlockNumber() view returns(uint256)
func (*BindingsCallerSession) Admin ¶
func (_Bindings *BindingsCallerSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*BindingsCallerSession) Allowance ¶
func (_Bindings *BindingsCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*BindingsCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*BindingsCallerSession) BorrowBalanceStored ¶
func (_Bindings *BindingsCallerSession) BorrowBalanceStored(account common.Address) (*big.Int, error)
BorrowBalanceStored is a free data retrieval call binding the contract method 0x95dd9193.
Solidity: function borrowBalanceStored(address account) view returns(uint256)
func (*BindingsCallerSession) BorrowIndex ¶
func (_Bindings *BindingsCallerSession) BorrowIndex() (*big.Int, error)
BorrowIndex is a free data retrieval call binding the contract method 0xaa5af0fd.
Solidity: function borrowIndex() view returns(uint256)
func (*BindingsCallerSession) BorrowRatePerBlock ¶
func (_Bindings *BindingsCallerSession) BorrowRatePerBlock() (*big.Int, error)
BorrowRatePerBlock is a free data retrieval call binding the contract method 0xf8f9da28.
Solidity: function borrowRatePerBlock() view returns(uint256)
func (*BindingsCallerSession) Comptroller ¶
func (_Bindings *BindingsCallerSession) Comptroller() (common.Address, error)
Comptroller is a free data retrieval call binding the contract method 0x5fe3b567.
Solidity: function comptroller() view returns(address)
func (*BindingsCallerSession) Decimals ¶
func (_Bindings *BindingsCallerSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*BindingsCallerSession) ExchangeRateStored ¶
func (_Bindings *BindingsCallerSession) ExchangeRateStored() (*big.Int, error)
ExchangeRateStored is a free data retrieval call binding the contract method 0x182df0f5.
Solidity: function exchangeRateStored() view returns(uint256)
func (*BindingsCallerSession) GetAccountSnapshot ¶
func (_Bindings *BindingsCallerSession) GetAccountSnapshot(account common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)
GetAccountSnapshot is a free data retrieval call binding the contract method 0xc37f68e2.
Solidity: function getAccountSnapshot(address account) view returns(uint256, uint256, uint256, uint256)
func (*BindingsCallerSession) GetCash ¶
func (_Bindings *BindingsCallerSession) GetCash() (*big.Int, error)
GetCash is a free data retrieval call binding the contract method 0x3b1d21a2.
Solidity: function getCash() view returns(uint256)
func (*BindingsCallerSession) GetReserveAddressById ¶
func (_Bindings *BindingsCallerSession) GetReserveAddressById(id uint16) (common.Address, error)
GetReserveAddressById is a free data retrieval call binding the contract method 0x52751797.
Solidity: function getReserveAddressById(uint16 id) view returns(address)
func (*BindingsCallerSession) GetReserveData ¶
func (_Bindings *BindingsCallerSession) GetReserveData(asset common.Address) (DataTypesReserveData, error)
GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.
Solidity: function getReserveData(address asset) view returns(((uint256),uint128,uint128,uint128,uint128,uint128,uint40,uint16,address,address,address,address,uint128,uint128,uint128))
func (*BindingsCallerSession) GetReserveNormalizedIncome ¶
func (_Bindings *BindingsCallerSession) GetReserveNormalizedIncome(asset common.Address) (*big.Int, error)
GetReserveNormalizedIncome is a free data retrieval call binding the contract method 0xd15e0053.
Solidity: function getReserveNormalizedIncome(address asset) view returns(uint256)
func (*BindingsCallerSession) GetUserAccountData ¶
func (_Bindings *BindingsCallerSession) GetUserAccountData(user common.Address) (struct { TotalCollateralBase *big.Int TotalDebtBase *big.Int AvailableBorrowsBase *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 totalCollateralBase, uint256 totalDebtBase, uint256 availableBorrowsBase, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)
func (*BindingsCallerSession) InitialExchangeRateMantissa ¶
func (_Bindings *BindingsCallerSession) InitialExchangeRateMantissa() (*big.Int, error)
InitialExchangeRateMantissa is a free data retrieval call binding the contract method 0x675d972c.
Solidity: function initialExchangeRateMantissa() view returns(uint256)
func (*BindingsCallerSession) InterestRateModel ¶
func (_Bindings *BindingsCallerSession) InterestRateModel() (common.Address, error)
InterestRateModel is a free data retrieval call binding the contract method 0xf3fdb15a.
Solidity: function interestRateModel() view returns(address)
func (*BindingsCallerSession) IsCToken ¶
func (_Bindings *BindingsCallerSession) IsCToken() (bool, error)
IsCToken is a free data retrieval call binding the contract method 0xfe9c44ae.
Solidity: function isCToken() view returns(bool)
func (*BindingsCallerSession) Name ¶
func (_Bindings *BindingsCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BindingsCallerSession) PendingAdmin ¶
func (_Bindings *BindingsCallerSession) PendingAdmin() (common.Address, error)
PendingAdmin is a free data retrieval call binding the contract method 0x26782247.
Solidity: function pendingAdmin() view returns(address)
func (*BindingsCallerSession) ReserveFactorMantissa ¶
func (_Bindings *BindingsCallerSession) ReserveFactorMantissa() (*big.Int, error)
ReserveFactorMantissa is a free data retrieval call binding the contract method 0x173b9904.
Solidity: function reserveFactorMantissa() view returns(uint256)
func (*BindingsCallerSession) SupplyRatePerBlock ¶
func (_Bindings *BindingsCallerSession) SupplyRatePerBlock() (*big.Int, error)
SupplyRatePerBlock is a free data retrieval call binding the contract method 0xae9d70b0.
Solidity: function supplyRatePerBlock() view returns(uint256)
func (*BindingsCallerSession) Symbol ¶
func (_Bindings *BindingsCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BindingsCallerSession) TotalBorrows ¶
func (_Bindings *BindingsCallerSession) TotalBorrows() (*big.Int, error)
TotalBorrows is a free data retrieval call binding the contract method 0x47bd3718.
Solidity: function totalBorrows() view returns(uint256)
func (*BindingsCallerSession) TotalReserves ¶
func (_Bindings *BindingsCallerSession) TotalReserves() (*big.Int, error)
TotalReserves is a free data retrieval call binding the contract method 0x8f840ddd.
Solidity: function totalReserves() view returns(uint256)
func (*BindingsCallerSession) TotalSupply ¶
func (_Bindings *BindingsCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BindingsCallerSession) Underlying ¶
func (_Bindings *BindingsCallerSession) Underlying() (common.Address, error)
Underlying is a free data retrieval call binding the contract method 0x6f307dc3.
Solidity: function underlying() view returns(address)
type BindingsFailure ¶
type BindingsFailure struct { Error *big.Int Info *big.Int Detail *big.Int Raw types.Log // Blockchain specific contextual infos }
BindingsFailure represents a Failure event raised by the Bindings contract.
type BindingsFailureIterator ¶
type BindingsFailureIterator struct { Event *BindingsFailure // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsFailureIterator is returned from FilterFailure and is used to iterate over the raw logs and unpacked data for Failure events raised by the Bindings contract.
func (*BindingsFailureIterator) Close ¶
func (it *BindingsFailureIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsFailureIterator) Error ¶
func (it *BindingsFailureIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsFailureIterator) Next ¶
func (it *BindingsFailureIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BindingsFilterer ¶
type BindingsFilterer struct {
// contains filtered or unexported fields
}
BindingsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBindingsFilterer ¶
func NewBindingsFilterer(address common.Address, filterer bind.ContractFilterer) (*BindingsFilterer, error)
NewBindingsFilterer creates a new log filterer instance of Bindings, bound to a specific deployed contract.
func (*BindingsFilterer) FilterAccrueInterest ¶
func (_Bindings *BindingsFilterer) FilterAccrueInterest(opts *bind.FilterOpts) (*BindingsAccrueInterestIterator, error)
FilterAccrueInterest is a free log retrieval operation binding the contract event 0x875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9.
Solidity: event AccrueInterest(uint256 interestAccumulated, uint256 borrowIndex, uint256 totalBorrows)
func (*BindingsFilterer) FilterApproval ¶
func (_Bindings *BindingsFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BindingsApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)
func (*BindingsFilterer) FilterBorrow ¶
func (_Bindings *BindingsFilterer) FilterBorrow(opts *bind.FilterOpts) (*BindingsBorrowIterator, error)
FilterBorrow is a free log retrieval operation binding the contract event 0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80.
Solidity: event Borrow(address borrower, uint256 borrowAmount, uint256 accountBorrows, uint256 totalBorrows)
func (*BindingsFilterer) FilterFailure ¶
func (_Bindings *BindingsFilterer) FilterFailure(opts *bind.FilterOpts) (*BindingsFailureIterator, error)
FilterFailure is a free log retrieval operation binding the contract event 0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0.
Solidity: event Failure(uint256 error, uint256 info, uint256 detail)
func (*BindingsFilterer) FilterLiquidateBorrow ¶
func (_Bindings *BindingsFilterer) FilterLiquidateBorrow(opts *bind.FilterOpts) (*BindingsLiquidateBorrowIterator, error)
FilterLiquidateBorrow is a free log retrieval operation binding the contract event 0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52.
Solidity: event LiquidateBorrow(address liquidator, address borrower, uint256 repayAmount, address cTokenCollateral, uint256 seizeTokens)
func (*BindingsFilterer) FilterMint ¶
func (_Bindings *BindingsFilterer) FilterMint(opts *bind.FilterOpts) (*BindingsMintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.
Solidity: event Mint(address minter, uint256 mintAmount, uint256 mintTokens)
func (*BindingsFilterer) FilterNewAdmin ¶
func (_Bindings *BindingsFilterer) FilterNewAdmin(opts *bind.FilterOpts) (*BindingsNewAdminIterator, error)
FilterNewAdmin is a free log retrieval operation binding the contract event 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc.
Solidity: event NewAdmin(address oldAdmin, address newAdmin)
func (*BindingsFilterer) FilterNewComptroller ¶
func (_Bindings *BindingsFilterer) FilterNewComptroller(opts *bind.FilterOpts) (*BindingsNewComptrollerIterator, error)
FilterNewComptroller is a free log retrieval operation binding the contract event 0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d.
Solidity: event NewComptroller(address oldComptroller, address newComptroller)
func (*BindingsFilterer) FilterNewMarketInterestRateModel ¶
func (_Bindings *BindingsFilterer) FilterNewMarketInterestRateModel(opts *bind.FilterOpts) (*BindingsNewMarketInterestRateModelIterator, error)
FilterNewMarketInterestRateModel is a free log retrieval operation binding the contract event 0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926.
Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)
func (*BindingsFilterer) FilterNewPendingAdmin ¶
func (_Bindings *BindingsFilterer) FilterNewPendingAdmin(opts *bind.FilterOpts) (*BindingsNewPendingAdminIterator, error)
FilterNewPendingAdmin is a free log retrieval operation binding the contract event 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9.
Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)
func (*BindingsFilterer) FilterNewReserveFactor ¶
func (_Bindings *BindingsFilterer) FilterNewReserveFactor(opts *bind.FilterOpts) (*BindingsNewReserveFactorIterator, error)
FilterNewReserveFactor is a free log retrieval operation binding the contract event 0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460.
Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)
func (*BindingsFilterer) FilterRedeem ¶
func (_Bindings *BindingsFilterer) FilterRedeem(opts *bind.FilterOpts) (*BindingsRedeemIterator, error)
FilterRedeem is a free log retrieval operation binding the contract event 0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929.
Solidity: event Redeem(address redeemer, uint256 redeemAmount, uint256 redeemTokens)
func (*BindingsFilterer) FilterRepayBorrow ¶
func (_Bindings *BindingsFilterer) FilterRepayBorrow(opts *bind.FilterOpts) (*BindingsRepayBorrowIterator, error)
FilterRepayBorrow is a free log retrieval operation binding the contract event 0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1.
Solidity: event RepayBorrow(address payer, address borrower, uint256 repayAmount, uint256 accountBorrows, uint256 totalBorrows)
func (*BindingsFilterer) FilterReservesReduced ¶
func (_Bindings *BindingsFilterer) FilterReservesReduced(opts *bind.FilterOpts) (*BindingsReservesReducedIterator, error)
FilterReservesReduced is a free log retrieval operation binding the contract event 0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e.
Solidity: event ReservesReduced(address admin, uint256 reduceAmount, uint256 newTotalReserves)
func (*BindingsFilterer) FilterTransfer ¶
func (_Bindings *BindingsFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BindingsTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)
func (*BindingsFilterer) ParseAccrueInterest ¶
func (_Bindings *BindingsFilterer) ParseAccrueInterest(log types.Log) (*BindingsAccrueInterest, error)
ParseAccrueInterest is a log parse operation binding the contract event 0x875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9.
Solidity: event AccrueInterest(uint256 interestAccumulated, uint256 borrowIndex, uint256 totalBorrows)
func (*BindingsFilterer) ParseApproval ¶
func (_Bindings *BindingsFilterer) ParseApproval(log types.Log) (*BindingsApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)
func (*BindingsFilterer) ParseBorrow ¶
func (_Bindings *BindingsFilterer) ParseBorrow(log types.Log) (*BindingsBorrow, error)
ParseBorrow is a log parse operation binding the contract event 0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80.
Solidity: event Borrow(address borrower, uint256 borrowAmount, uint256 accountBorrows, uint256 totalBorrows)
func (*BindingsFilterer) ParseFailure ¶
func (_Bindings *BindingsFilterer) ParseFailure(log types.Log) (*BindingsFailure, error)
ParseFailure is a log parse operation binding the contract event 0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0.
Solidity: event Failure(uint256 error, uint256 info, uint256 detail)
func (*BindingsFilterer) ParseLiquidateBorrow ¶
func (_Bindings *BindingsFilterer) ParseLiquidateBorrow(log types.Log) (*BindingsLiquidateBorrow, error)
ParseLiquidateBorrow is a log parse operation binding the contract event 0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52.
Solidity: event LiquidateBorrow(address liquidator, address borrower, uint256 repayAmount, address cTokenCollateral, uint256 seizeTokens)
func (*BindingsFilterer) ParseMint ¶
func (_Bindings *BindingsFilterer) ParseMint(log types.Log) (*BindingsMint, error)
ParseMint is a log parse operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.
Solidity: event Mint(address minter, uint256 mintAmount, uint256 mintTokens)
func (*BindingsFilterer) ParseNewAdmin ¶
func (_Bindings *BindingsFilterer) ParseNewAdmin(log types.Log) (*BindingsNewAdmin, error)
ParseNewAdmin is a log parse operation binding the contract event 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc.
Solidity: event NewAdmin(address oldAdmin, address newAdmin)
func (*BindingsFilterer) ParseNewComptroller ¶
func (_Bindings *BindingsFilterer) ParseNewComptroller(log types.Log) (*BindingsNewComptroller, error)
ParseNewComptroller is a log parse operation binding the contract event 0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d.
Solidity: event NewComptroller(address oldComptroller, address newComptroller)
func (*BindingsFilterer) ParseNewMarketInterestRateModel ¶
func (_Bindings *BindingsFilterer) ParseNewMarketInterestRateModel(log types.Log) (*BindingsNewMarketInterestRateModel, error)
ParseNewMarketInterestRateModel is a log parse operation binding the contract event 0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926.
Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)
func (*BindingsFilterer) ParseNewPendingAdmin ¶
func (_Bindings *BindingsFilterer) ParseNewPendingAdmin(log types.Log) (*BindingsNewPendingAdmin, error)
ParseNewPendingAdmin is a log parse operation binding the contract event 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9.
Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)
func (*BindingsFilterer) ParseNewReserveFactor ¶
func (_Bindings *BindingsFilterer) ParseNewReserveFactor(log types.Log) (*BindingsNewReserveFactor, error)
ParseNewReserveFactor is a log parse operation binding the contract event 0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460.
Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)
func (*BindingsFilterer) ParseRedeem ¶
func (_Bindings *BindingsFilterer) ParseRedeem(log types.Log) (*BindingsRedeem, error)
ParseRedeem is a log parse operation binding the contract event 0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929.
Solidity: event Redeem(address redeemer, uint256 redeemAmount, uint256 redeemTokens)
func (*BindingsFilterer) ParseRepayBorrow ¶
func (_Bindings *BindingsFilterer) ParseRepayBorrow(log types.Log) (*BindingsRepayBorrow, error)
ParseRepayBorrow is a log parse operation binding the contract event 0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1.
Solidity: event RepayBorrow(address payer, address borrower, uint256 repayAmount, uint256 accountBorrows, uint256 totalBorrows)
func (*BindingsFilterer) ParseReservesReduced ¶
func (_Bindings *BindingsFilterer) ParseReservesReduced(log types.Log) (*BindingsReservesReduced, error)
ParseReservesReduced is a log parse operation binding the contract event 0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e.
Solidity: event ReservesReduced(address admin, uint256 reduceAmount, uint256 newTotalReserves)
func (*BindingsFilterer) ParseTransfer ¶
func (_Bindings *BindingsFilterer) ParseTransfer(log types.Log) (*BindingsTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)
func (*BindingsFilterer) WatchAccrueInterest ¶
func (_Bindings *BindingsFilterer) WatchAccrueInterest(opts *bind.WatchOpts, sink chan<- *BindingsAccrueInterest) (event.Subscription, error)
WatchAccrueInterest is a free log subscription operation binding the contract event 0x875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9.
Solidity: event AccrueInterest(uint256 interestAccumulated, uint256 borrowIndex, uint256 totalBorrows)
func (*BindingsFilterer) WatchApproval ¶
func (_Bindings *BindingsFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BindingsApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)
func (*BindingsFilterer) WatchBorrow ¶
func (_Bindings *BindingsFilterer) WatchBorrow(opts *bind.WatchOpts, sink chan<- *BindingsBorrow) (event.Subscription, error)
WatchBorrow is a free log subscription operation binding the contract event 0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80.
Solidity: event Borrow(address borrower, uint256 borrowAmount, uint256 accountBorrows, uint256 totalBorrows)
func (*BindingsFilterer) WatchFailure ¶
func (_Bindings *BindingsFilterer) WatchFailure(opts *bind.WatchOpts, sink chan<- *BindingsFailure) (event.Subscription, error)
WatchFailure is a free log subscription operation binding the contract event 0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0.
Solidity: event Failure(uint256 error, uint256 info, uint256 detail)
func (*BindingsFilterer) WatchLiquidateBorrow ¶
func (_Bindings *BindingsFilterer) WatchLiquidateBorrow(opts *bind.WatchOpts, sink chan<- *BindingsLiquidateBorrow) (event.Subscription, error)
WatchLiquidateBorrow is a free log subscription operation binding the contract event 0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52.
Solidity: event LiquidateBorrow(address liquidator, address borrower, uint256 repayAmount, address cTokenCollateral, uint256 seizeTokens)
func (*BindingsFilterer) WatchMint ¶
func (_Bindings *BindingsFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *BindingsMint) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.
Solidity: event Mint(address minter, uint256 mintAmount, uint256 mintTokens)
func (*BindingsFilterer) WatchNewAdmin ¶
func (_Bindings *BindingsFilterer) WatchNewAdmin(opts *bind.WatchOpts, sink chan<- *BindingsNewAdmin) (event.Subscription, error)
WatchNewAdmin is a free log subscription operation binding the contract event 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc.
Solidity: event NewAdmin(address oldAdmin, address newAdmin)
func (*BindingsFilterer) WatchNewComptroller ¶
func (_Bindings *BindingsFilterer) WatchNewComptroller(opts *bind.WatchOpts, sink chan<- *BindingsNewComptroller) (event.Subscription, error)
WatchNewComptroller is a free log subscription operation binding the contract event 0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d.
Solidity: event NewComptroller(address oldComptroller, address newComptroller)
func (*BindingsFilterer) WatchNewMarketInterestRateModel ¶
func (_Bindings *BindingsFilterer) WatchNewMarketInterestRateModel(opts *bind.WatchOpts, sink chan<- *BindingsNewMarketInterestRateModel) (event.Subscription, error)
WatchNewMarketInterestRateModel is a free log subscription operation binding the contract event 0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926.
Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)
func (*BindingsFilterer) WatchNewPendingAdmin ¶
func (_Bindings *BindingsFilterer) WatchNewPendingAdmin(opts *bind.WatchOpts, sink chan<- *BindingsNewPendingAdmin) (event.Subscription, error)
WatchNewPendingAdmin is a free log subscription operation binding the contract event 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9.
Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)
func (*BindingsFilterer) WatchNewReserveFactor ¶
func (_Bindings *BindingsFilterer) WatchNewReserveFactor(opts *bind.WatchOpts, sink chan<- *BindingsNewReserveFactor) (event.Subscription, error)
WatchNewReserveFactor is a free log subscription operation binding the contract event 0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460.
Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)
func (*BindingsFilterer) WatchRedeem ¶
func (_Bindings *BindingsFilterer) WatchRedeem(opts *bind.WatchOpts, sink chan<- *BindingsRedeem) (event.Subscription, error)
WatchRedeem is a free log subscription operation binding the contract event 0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929.
Solidity: event Redeem(address redeemer, uint256 redeemAmount, uint256 redeemTokens)
func (*BindingsFilterer) WatchRepayBorrow ¶
func (_Bindings *BindingsFilterer) WatchRepayBorrow(opts *bind.WatchOpts, sink chan<- *BindingsRepayBorrow) (event.Subscription, error)
WatchRepayBorrow is a free log subscription operation binding the contract event 0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1.
Solidity: event RepayBorrow(address payer, address borrower, uint256 repayAmount, uint256 accountBorrows, uint256 totalBorrows)
func (*BindingsFilterer) WatchReservesReduced ¶
func (_Bindings *BindingsFilterer) WatchReservesReduced(opts *bind.WatchOpts, sink chan<- *BindingsReservesReduced) (event.Subscription, error)
WatchReservesReduced is a free log subscription operation binding the contract event 0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e.
Solidity: event ReservesReduced(address admin, uint256 reduceAmount, uint256 newTotalReserves)
func (*BindingsFilterer) WatchTransfer ¶
func (_Bindings *BindingsFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BindingsTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)
type BindingsLiquidateBorrow ¶
type BindingsLiquidateBorrow struct { Liquidator common.Address Borrower common.Address RepayAmount *big.Int CTokenCollateral common.Address SeizeTokens *big.Int Raw types.Log // Blockchain specific contextual infos }
BindingsLiquidateBorrow represents a LiquidateBorrow event raised by the Bindings contract.
type BindingsLiquidateBorrowIterator ¶
type BindingsLiquidateBorrowIterator struct { Event *BindingsLiquidateBorrow // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsLiquidateBorrowIterator is returned from FilterLiquidateBorrow and is used to iterate over the raw logs and unpacked data for LiquidateBorrow events raised by the Bindings contract.
func (*BindingsLiquidateBorrowIterator) Close ¶
func (it *BindingsLiquidateBorrowIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsLiquidateBorrowIterator) Error ¶
func (it *BindingsLiquidateBorrowIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsLiquidateBorrowIterator) Next ¶
func (it *BindingsLiquidateBorrowIterator) 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 BindingsMint ¶
type BindingsMint struct { Minter common.Address MintAmount *big.Int MintTokens *big.Int Raw types.Log // Blockchain specific contextual infos }
BindingsMint represents a Mint event raised by the Bindings contract.
type BindingsMintIterator ¶
type BindingsMintIterator struct { Event *BindingsMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the Bindings contract.
func (*BindingsMintIterator) Close ¶
func (it *BindingsMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsMintIterator) Error ¶
func (it *BindingsMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsMintIterator) Next ¶
func (it *BindingsMintIterator) 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 BindingsNewAdmin ¶
type BindingsNewAdmin struct { OldAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
BindingsNewAdmin represents a NewAdmin event raised by the Bindings contract.
type BindingsNewAdminIterator ¶
type BindingsNewAdminIterator struct { Event *BindingsNewAdmin // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsNewAdminIterator is returned from FilterNewAdmin and is used to iterate over the raw logs and unpacked data for NewAdmin events raised by the Bindings contract.
func (*BindingsNewAdminIterator) Close ¶
func (it *BindingsNewAdminIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsNewAdminIterator) Error ¶
func (it *BindingsNewAdminIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsNewAdminIterator) Next ¶
func (it *BindingsNewAdminIterator) 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 BindingsNewComptroller ¶
type BindingsNewComptroller struct { OldComptroller common.Address NewComptroller common.Address Raw types.Log // Blockchain specific contextual infos }
BindingsNewComptroller represents a NewComptroller event raised by the Bindings contract.
type BindingsNewComptrollerIterator ¶
type BindingsNewComptrollerIterator struct { Event *BindingsNewComptroller // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsNewComptrollerIterator is returned from FilterNewComptroller and is used to iterate over the raw logs and unpacked data for NewComptroller events raised by the Bindings contract.
func (*BindingsNewComptrollerIterator) Close ¶
func (it *BindingsNewComptrollerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsNewComptrollerIterator) Error ¶
func (it *BindingsNewComptrollerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsNewComptrollerIterator) Next ¶
func (it *BindingsNewComptrollerIterator) 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 BindingsNewMarketInterestRateModel ¶
type BindingsNewMarketInterestRateModel struct { OldInterestRateModel common.Address NewInterestRateModel common.Address Raw types.Log // Blockchain specific contextual infos }
BindingsNewMarketInterestRateModel represents a NewMarketInterestRateModel event raised by the Bindings contract.
type BindingsNewMarketInterestRateModelIterator ¶
type BindingsNewMarketInterestRateModelIterator struct { Event *BindingsNewMarketInterestRateModel // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsNewMarketInterestRateModelIterator is returned from FilterNewMarketInterestRateModel and is used to iterate over the raw logs and unpacked data for NewMarketInterestRateModel events raised by the Bindings contract.
func (*BindingsNewMarketInterestRateModelIterator) Close ¶
func (it *BindingsNewMarketInterestRateModelIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsNewMarketInterestRateModelIterator) Error ¶
func (it *BindingsNewMarketInterestRateModelIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsNewMarketInterestRateModelIterator) Next ¶
func (it *BindingsNewMarketInterestRateModelIterator) 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 BindingsNewPendingAdmin ¶
type BindingsNewPendingAdmin struct { OldPendingAdmin common.Address NewPendingAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
BindingsNewPendingAdmin represents a NewPendingAdmin event raised by the Bindings contract.
type BindingsNewPendingAdminIterator ¶
type BindingsNewPendingAdminIterator struct { Event *BindingsNewPendingAdmin // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsNewPendingAdminIterator is returned from FilterNewPendingAdmin and is used to iterate over the raw logs and unpacked data for NewPendingAdmin events raised by the Bindings contract.
func (*BindingsNewPendingAdminIterator) Close ¶
func (it *BindingsNewPendingAdminIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsNewPendingAdminIterator) Error ¶
func (it *BindingsNewPendingAdminIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsNewPendingAdminIterator) Next ¶
func (it *BindingsNewPendingAdminIterator) 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 BindingsNewReserveFactor ¶
type BindingsNewReserveFactor struct { OldReserveFactorMantissa *big.Int NewReserveFactorMantissa *big.Int Raw types.Log // Blockchain specific contextual infos }
BindingsNewReserveFactor represents a NewReserveFactor event raised by the Bindings contract.
type BindingsNewReserveFactorIterator ¶
type BindingsNewReserveFactorIterator struct { Event *BindingsNewReserveFactor // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsNewReserveFactorIterator is returned from FilterNewReserveFactor and is used to iterate over the raw logs and unpacked data for NewReserveFactor events raised by the Bindings contract.
func (*BindingsNewReserveFactorIterator) Close ¶
func (it *BindingsNewReserveFactorIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsNewReserveFactorIterator) Error ¶
func (it *BindingsNewReserveFactorIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsNewReserveFactorIterator) Next ¶
func (it *BindingsNewReserveFactorIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BindingsRaw ¶
type BindingsRaw struct {
Contract *Bindings // Generic contract binding to access the raw methods on
}
BindingsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BindingsRaw) Call ¶
func (_Bindings *BindingsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*BindingsRaw) Transact ¶
func (_Bindings *BindingsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BindingsRaw) Transfer ¶
func (_Bindings *BindingsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type BindingsRedeem ¶
type BindingsRedeem struct { Redeemer common.Address RedeemAmount *big.Int RedeemTokens *big.Int Raw types.Log // Blockchain specific contextual infos }
BindingsRedeem represents a Redeem event raised by the Bindings contract.
type BindingsRedeemIterator ¶
type BindingsRedeemIterator struct { Event *BindingsRedeem // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsRedeemIterator is returned from FilterRedeem and is used to iterate over the raw logs and unpacked data for Redeem events raised by the Bindings contract.
func (*BindingsRedeemIterator) Close ¶
func (it *BindingsRedeemIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsRedeemIterator) Error ¶
func (it *BindingsRedeemIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsRedeemIterator) Next ¶
func (it *BindingsRedeemIterator) 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 BindingsRepayBorrow ¶
type BindingsRepayBorrow struct { Payer common.Address Borrower common.Address RepayAmount *big.Int AccountBorrows *big.Int TotalBorrows *big.Int Raw types.Log // Blockchain specific contextual infos }
BindingsRepayBorrow represents a RepayBorrow event raised by the Bindings contract.
type BindingsRepayBorrowIterator ¶
type BindingsRepayBorrowIterator struct { Event *BindingsRepayBorrow // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsRepayBorrowIterator is returned from FilterRepayBorrow and is used to iterate over the raw logs and unpacked data for RepayBorrow events raised by the Bindings contract.
func (*BindingsRepayBorrowIterator) Close ¶
func (it *BindingsRepayBorrowIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsRepayBorrowIterator) Error ¶
func (it *BindingsRepayBorrowIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsRepayBorrowIterator) Next ¶
func (it *BindingsRepayBorrowIterator) 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 BindingsReservesReduced ¶
type BindingsReservesReduced struct { Admin common.Address ReduceAmount *big.Int NewTotalReserves *big.Int Raw types.Log // Blockchain specific contextual infos }
BindingsReservesReduced represents a ReservesReduced event raised by the Bindings contract.
type BindingsReservesReducedIterator ¶
type BindingsReservesReducedIterator struct { Event *BindingsReservesReduced // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsReservesReducedIterator is returned from FilterReservesReduced and is used to iterate over the raw logs and unpacked data for ReservesReduced events raised by the Bindings contract.
func (*BindingsReservesReducedIterator) Close ¶
func (it *BindingsReservesReducedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsReservesReducedIterator) Error ¶
func (it *BindingsReservesReducedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsReservesReducedIterator) Next ¶
func (it *BindingsReservesReducedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BindingsSession ¶
type BindingsSession struct { Contract *Bindings // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BindingsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BindingsSession) AcceptAdmin ¶
func (_Bindings *BindingsSession) AcceptAdmin() (*types.Transaction, error)
AcceptAdmin is a paid mutator transaction binding the contract method 0xe9c714f2.
Solidity: function _acceptAdmin() returns(uint256)
func (*BindingsSession) AccrualBlockNumber ¶
func (_Bindings *BindingsSession) AccrualBlockNumber() (*big.Int, error)
AccrualBlockNumber is a free data retrieval call binding the contract method 0x6c540baf.
Solidity: function accrualBlockNumber() view returns(uint256)
func (*BindingsSession) AccrueInterest ¶
func (_Bindings *BindingsSession) AccrueInterest() (*types.Transaction, error)
AccrueInterest is a paid mutator transaction binding the contract method 0xa6afed95.
Solidity: function accrueInterest() returns(uint256)
func (*BindingsSession) Admin ¶
func (_Bindings *BindingsSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*BindingsSession) Allowance ¶
func (_Bindings *BindingsSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*BindingsSession) Approve ¶
func (_Bindings *BindingsSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*BindingsSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*BindingsSession) BalanceOfUnderlying ¶
func (_Bindings *BindingsSession) BalanceOfUnderlying(owner common.Address) (*types.Transaction, error)
BalanceOfUnderlying is a paid mutator transaction binding the contract method 0x3af9e669.
Solidity: function balanceOfUnderlying(address owner) returns(uint256)
func (*BindingsSession) Borrow ¶
func (_Bindings *BindingsSession) Borrow(borrowAmount *big.Int) (*types.Transaction, error)
Borrow is a paid mutator transaction binding the contract method 0xc5ebeaec.
Solidity: function borrow(uint256 borrowAmount) returns(uint256)
func (*BindingsSession) BorrowBalanceCurrent ¶
func (_Bindings *BindingsSession) BorrowBalanceCurrent(account common.Address) (*types.Transaction, error)
BorrowBalanceCurrent is a paid mutator transaction binding the contract method 0x17bfdfbc.
Solidity: function borrowBalanceCurrent(address account) returns(uint256)
func (*BindingsSession) BorrowBalanceStored ¶
BorrowBalanceStored is a free data retrieval call binding the contract method 0x95dd9193.
Solidity: function borrowBalanceStored(address account) view returns(uint256)
func (*BindingsSession) BorrowIndex ¶
func (_Bindings *BindingsSession) BorrowIndex() (*big.Int, error)
BorrowIndex is a free data retrieval call binding the contract method 0xaa5af0fd.
Solidity: function borrowIndex() view returns(uint256)
func (*BindingsSession) BorrowRatePerBlock ¶
func (_Bindings *BindingsSession) BorrowRatePerBlock() (*big.Int, error)
BorrowRatePerBlock is a free data retrieval call binding the contract method 0xf8f9da28.
Solidity: function borrowRatePerBlock() view returns(uint256)
func (*BindingsSession) Comptroller ¶
func (_Bindings *BindingsSession) Comptroller() (common.Address, error)
Comptroller is a free data retrieval call binding the contract method 0x5fe3b567.
Solidity: function comptroller() view returns(address)
func (*BindingsSession) Decimals ¶
func (_Bindings *BindingsSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*BindingsSession) Deposit ¶
func (_Bindings *BindingsSession) Deposit(asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xe8eda9df.
Solidity: function deposit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()
func (*BindingsSession) ExchangeRateCurrent ¶
func (_Bindings *BindingsSession) ExchangeRateCurrent() (*types.Transaction, error)
ExchangeRateCurrent is a paid mutator transaction binding the contract method 0xbd6d894d.
Solidity: function exchangeRateCurrent() returns(uint256)
func (*BindingsSession) ExchangeRateStored ¶
func (_Bindings *BindingsSession) ExchangeRateStored() (*big.Int, error)
ExchangeRateStored is a free data retrieval call binding the contract method 0x182df0f5.
Solidity: function exchangeRateStored() view returns(uint256)
func (*BindingsSession) GetAccountSnapshot ¶
func (_Bindings *BindingsSession) GetAccountSnapshot(account common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)
GetAccountSnapshot is a free data retrieval call binding the contract method 0xc37f68e2.
Solidity: function getAccountSnapshot(address account) view returns(uint256, uint256, uint256, uint256)
func (*BindingsSession) GetCash ¶
func (_Bindings *BindingsSession) GetCash() (*big.Int, error)
GetCash is a free data retrieval call binding the contract method 0x3b1d21a2.
Solidity: function getCash() view returns(uint256)
func (*BindingsSession) GetReserveAddressById ¶
func (_Bindings *BindingsSession) GetReserveAddressById(id uint16) (common.Address, error)
GetReserveAddressById is a free data retrieval call binding the contract method 0x52751797.
Solidity: function getReserveAddressById(uint16 id) view returns(address)
func (*BindingsSession) GetReserveData ¶
func (_Bindings *BindingsSession) GetReserveData(asset common.Address) (DataTypesReserveData, error)
GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.
Solidity: function getReserveData(address asset) view returns(((uint256),uint128,uint128,uint128,uint128,uint128,uint40,uint16,address,address,address,address,uint128,uint128,uint128))
func (*BindingsSession) GetReserveNormalizedIncome ¶
func (_Bindings *BindingsSession) GetReserveNormalizedIncome(asset common.Address) (*big.Int, error)
GetReserveNormalizedIncome is a free data retrieval call binding the contract method 0xd15e0053.
Solidity: function getReserveNormalizedIncome(address asset) view returns(uint256)
func (*BindingsSession) GetUserAccountData ¶
func (_Bindings *BindingsSession) GetUserAccountData(user common.Address) (struct { TotalCollateralBase *big.Int TotalDebtBase *big.Int AvailableBorrowsBase *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 totalCollateralBase, uint256 totalDebtBase, uint256 availableBorrowsBase, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)
func (*BindingsSession) InitialExchangeRateMantissa ¶
func (_Bindings *BindingsSession) InitialExchangeRateMantissa() (*big.Int, error)
InitialExchangeRateMantissa is a free data retrieval call binding the contract method 0x675d972c.
Solidity: function initialExchangeRateMantissa() view returns(uint256)
func (*BindingsSession) InterestRateModel ¶
func (_Bindings *BindingsSession) InterestRateModel() (common.Address, error)
InterestRateModel is a free data retrieval call binding the contract method 0xf3fdb15a.
Solidity: function interestRateModel() view returns(address)
func (*BindingsSession) IsCToken ¶
func (_Bindings *BindingsSession) IsCToken() (bool, error)
IsCToken is a free data retrieval call binding the contract method 0xfe9c44ae.
Solidity: function isCToken() view returns(bool)
func (*BindingsSession) LiquidateBorrow ¶
func (_Bindings *BindingsSession) LiquidateBorrow(borrower common.Address, repayAmount *big.Int, cTokenCollateral common.Address) (*types.Transaction, error)
LiquidateBorrow is a paid mutator transaction binding the contract method 0xf5e3c462.
Solidity: function liquidateBorrow(address borrower, uint256 repayAmount, address cTokenCollateral) returns(uint256)
func (*BindingsSession) Mint ¶
func (_Bindings *BindingsSession) Mint(mintAmount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0xa0712d68.
Solidity: function mint(uint256 mintAmount) returns(uint256)
func (*BindingsSession) MintOnDeposit ¶
func (_Bindings *BindingsSession) MintOnDeposit(_account common.Address, _amount *big.Int) (*types.Transaction, error)
MintOnDeposit is a paid mutator transaction binding the contract method 0x94362e8b.
Solidity: function mintOnDeposit(address _account, uint256 _amount) returns()
func (*BindingsSession) Name ¶
func (_Bindings *BindingsSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BindingsSession) PendingAdmin ¶
func (_Bindings *BindingsSession) PendingAdmin() (common.Address, error)
PendingAdmin is a free data retrieval call binding the contract method 0x26782247.
Solidity: function pendingAdmin() view returns(address)
func (*BindingsSession) Redeem ¶
func (_Bindings *BindingsSession) Redeem(redeemTokens *big.Int) (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0xdb006a75.
Solidity: function redeem(uint256 redeemTokens) returns(uint256)
func (*BindingsSession) RedeemUnderlying ¶
func (_Bindings *BindingsSession) RedeemUnderlying(redeemAmount *big.Int) (*types.Transaction, error)
RedeemUnderlying is a paid mutator transaction binding the contract method 0x852a12e3.
Solidity: function redeemUnderlying(uint256 redeemAmount) returns(uint256)
func (*BindingsSession) ReduceReserves ¶
func (_Bindings *BindingsSession) ReduceReserves(reduceAmount *big.Int) (*types.Transaction, error)
ReduceReserves is a paid mutator transaction binding the contract method 0x601a0bf1.
Solidity: function _reduceReserves(uint256 reduceAmount) returns(uint256)
func (*BindingsSession) RepayBorrow ¶
func (_Bindings *BindingsSession) RepayBorrow(repayAmount *big.Int) (*types.Transaction, error)
RepayBorrow is a paid mutator transaction binding the contract method 0x0e752702.
Solidity: function repayBorrow(uint256 repayAmount) returns(uint256)
func (*BindingsSession) RepayBorrowBehalf ¶
func (_Bindings *BindingsSession) RepayBorrowBehalf(borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)
RepayBorrowBehalf is a paid mutator transaction binding the contract method 0x2608f818.
Solidity: function repayBorrowBehalf(address borrower, uint256 repayAmount) returns(uint256)
func (*BindingsSession) ReserveFactorMantissa ¶
func (_Bindings *BindingsSession) ReserveFactorMantissa() (*big.Int, error)
ReserveFactorMantissa is a free data retrieval call binding the contract method 0x173b9904.
Solidity: function reserveFactorMantissa() view returns(uint256)
func (*BindingsSession) Seize ¶
func (_Bindings *BindingsSession) Seize(liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)
Seize is a paid mutator transaction binding the contract method 0xb2a02ff1.
Solidity: function seize(address liquidator, address borrower, uint256 seizeTokens) returns(uint256)
func (*BindingsSession) SetComptroller ¶
func (_Bindings *BindingsSession) SetComptroller(newComptroller common.Address) (*types.Transaction, error)
SetComptroller is a paid mutator transaction binding the contract method 0x4576b5db.
Solidity: function _setComptroller(address newComptroller) returns(uint256)
func (*BindingsSession) SetInterestRateModel ¶
func (_Bindings *BindingsSession) SetInterestRateModel(newInterestRateModel common.Address) (*types.Transaction, error)
SetInterestRateModel is a paid mutator transaction binding the contract method 0xf2b3abbd.
Solidity: function _setInterestRateModel(address newInterestRateModel) returns(uint256)
func (*BindingsSession) SetPendingAdmin ¶
func (_Bindings *BindingsSession) SetPendingAdmin(newPendingAdmin common.Address) (*types.Transaction, error)
SetPendingAdmin is a paid mutator transaction binding the contract method 0xb71d1a0c.
Solidity: function _setPendingAdmin(address newPendingAdmin) returns(uint256)
func (*BindingsSession) SetReserveFactor ¶
func (_Bindings *BindingsSession) SetReserveFactor(newReserveFactorMantissa *big.Int) (*types.Transaction, error)
SetReserveFactor is a paid mutator transaction binding the contract method 0xfca7820b.
Solidity: function _setReserveFactor(uint256 newReserveFactorMantissa) returns(uint256)
func (*BindingsSession) Supply ¶
func (_Bindings *BindingsSession) Supply(asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)
Supply is a paid mutator transaction binding the contract method 0x617ba037.
Solidity: function supply(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()
func (*BindingsSession) SupplyRatePerBlock ¶
func (_Bindings *BindingsSession) SupplyRatePerBlock() (*big.Int, error)
SupplyRatePerBlock is a free data retrieval call binding the contract method 0xae9d70b0.
Solidity: function supplyRatePerBlock() view returns(uint256)
func (*BindingsSession) Symbol ¶
func (_Bindings *BindingsSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BindingsSession) TotalBorrows ¶
func (_Bindings *BindingsSession) TotalBorrows() (*big.Int, error)
TotalBorrows is a free data retrieval call binding the contract method 0x47bd3718.
Solidity: function totalBorrows() view returns(uint256)
func (*BindingsSession) TotalBorrowsCurrent ¶
func (_Bindings *BindingsSession) TotalBorrowsCurrent() (*types.Transaction, error)
TotalBorrowsCurrent is a paid mutator transaction binding the contract method 0x73acee98.
Solidity: function totalBorrowsCurrent() returns(uint256)
func (*BindingsSession) TotalReserves ¶
func (_Bindings *BindingsSession) TotalReserves() (*big.Int, error)
TotalReserves is a free data retrieval call binding the contract method 0x8f840ddd.
Solidity: function totalReserves() view returns(uint256)
func (*BindingsSession) TotalSupply ¶
func (_Bindings *BindingsSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BindingsSession) Transfer ¶
func (_Bindings *BindingsSession) Transfer(dst common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address dst, uint256 amount) returns(bool)
func (*BindingsSession) TransferFrom ¶
func (_Bindings *BindingsSession) TransferFrom(src common.Address, dst common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 amount) returns(bool)
func (*BindingsSession) Underlying ¶
func (_Bindings *BindingsSession) Underlying() (common.Address, error)
Underlying is a free data retrieval call binding the contract method 0x6f307dc3.
Solidity: function underlying() view returns(address)
func (*BindingsSession) Withdraw ¶
func (_Bindings *BindingsSession) Withdraw(asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x69328dec.
Solidity: function withdraw(address asset, uint256 amount, address to) returns(uint256)
type BindingsTransactor ¶
type BindingsTransactor struct {
// contains filtered or unexported fields
}
BindingsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBindingsTransactor ¶
func NewBindingsTransactor(address common.Address, transactor bind.ContractTransactor) (*BindingsTransactor, error)
NewBindingsTransactor creates a new write-only instance of Bindings, bound to a specific deployed contract.
func (*BindingsTransactor) AcceptAdmin ¶
func (_Bindings *BindingsTransactor) AcceptAdmin(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptAdmin is a paid mutator transaction binding the contract method 0xe9c714f2.
Solidity: function _acceptAdmin() returns(uint256)
func (*BindingsTransactor) AccrueInterest ¶
func (_Bindings *BindingsTransactor) AccrueInterest(opts *bind.TransactOpts) (*types.Transaction, error)
AccrueInterest is a paid mutator transaction binding the contract method 0xa6afed95.
Solidity: function accrueInterest() returns(uint256)
func (*BindingsTransactor) Approve ¶
func (_Bindings *BindingsTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*BindingsTransactor) BalanceOfUnderlying ¶
func (_Bindings *BindingsTransactor) BalanceOfUnderlying(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)
BalanceOfUnderlying is a paid mutator transaction binding the contract method 0x3af9e669.
Solidity: function balanceOfUnderlying(address owner) returns(uint256)
func (*BindingsTransactor) Borrow ¶
func (_Bindings *BindingsTransactor) Borrow(opts *bind.TransactOpts, borrowAmount *big.Int) (*types.Transaction, error)
Borrow is a paid mutator transaction binding the contract method 0xc5ebeaec.
Solidity: function borrow(uint256 borrowAmount) returns(uint256)
func (*BindingsTransactor) BorrowBalanceCurrent ¶
func (_Bindings *BindingsTransactor) BorrowBalanceCurrent(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
BorrowBalanceCurrent is a paid mutator transaction binding the contract method 0x17bfdfbc.
Solidity: function borrowBalanceCurrent(address account) returns(uint256)
func (*BindingsTransactor) Deposit ¶
func (_Bindings *BindingsTransactor) Deposit(opts *bind.TransactOpts, asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xe8eda9df.
Solidity: function deposit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()
func (*BindingsTransactor) ExchangeRateCurrent ¶
func (_Bindings *BindingsTransactor) ExchangeRateCurrent(opts *bind.TransactOpts) (*types.Transaction, error)
ExchangeRateCurrent is a paid mutator transaction binding the contract method 0xbd6d894d.
Solidity: function exchangeRateCurrent() returns(uint256)
func (*BindingsTransactor) LiquidateBorrow ¶
func (_Bindings *BindingsTransactor) LiquidateBorrow(opts *bind.TransactOpts, borrower common.Address, repayAmount *big.Int, cTokenCollateral common.Address) (*types.Transaction, error)
LiquidateBorrow is a paid mutator transaction binding the contract method 0xf5e3c462.
Solidity: function liquidateBorrow(address borrower, uint256 repayAmount, address cTokenCollateral) returns(uint256)
func (*BindingsTransactor) Mint ¶
func (_Bindings *BindingsTransactor) Mint(opts *bind.TransactOpts, mintAmount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0xa0712d68.
Solidity: function mint(uint256 mintAmount) returns(uint256)
func (*BindingsTransactor) MintOnDeposit ¶
func (_Bindings *BindingsTransactor) MintOnDeposit(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error)
MintOnDeposit is a paid mutator transaction binding the contract method 0x94362e8b.
Solidity: function mintOnDeposit(address _account, uint256 _amount) returns()
func (*BindingsTransactor) Redeem ¶
func (_Bindings *BindingsTransactor) Redeem(opts *bind.TransactOpts, redeemTokens *big.Int) (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0xdb006a75.
Solidity: function redeem(uint256 redeemTokens) returns(uint256)
func (*BindingsTransactor) RedeemUnderlying ¶
func (_Bindings *BindingsTransactor) RedeemUnderlying(opts *bind.TransactOpts, redeemAmount *big.Int) (*types.Transaction, error)
RedeemUnderlying is a paid mutator transaction binding the contract method 0x852a12e3.
Solidity: function redeemUnderlying(uint256 redeemAmount) returns(uint256)
func (*BindingsTransactor) ReduceReserves ¶
func (_Bindings *BindingsTransactor) ReduceReserves(opts *bind.TransactOpts, reduceAmount *big.Int) (*types.Transaction, error)
ReduceReserves is a paid mutator transaction binding the contract method 0x601a0bf1.
Solidity: function _reduceReserves(uint256 reduceAmount) returns(uint256)
func (*BindingsTransactor) RepayBorrow ¶
func (_Bindings *BindingsTransactor) RepayBorrow(opts *bind.TransactOpts, repayAmount *big.Int) (*types.Transaction, error)
RepayBorrow is a paid mutator transaction binding the contract method 0x0e752702.
Solidity: function repayBorrow(uint256 repayAmount) returns(uint256)
func (*BindingsTransactor) RepayBorrowBehalf ¶
func (_Bindings *BindingsTransactor) RepayBorrowBehalf(opts *bind.TransactOpts, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)
RepayBorrowBehalf is a paid mutator transaction binding the contract method 0x2608f818.
Solidity: function repayBorrowBehalf(address borrower, uint256 repayAmount) returns(uint256)
func (*BindingsTransactor) Seize ¶
func (_Bindings *BindingsTransactor) Seize(opts *bind.TransactOpts, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)
Seize is a paid mutator transaction binding the contract method 0xb2a02ff1.
Solidity: function seize(address liquidator, address borrower, uint256 seizeTokens) returns(uint256)
func (*BindingsTransactor) SetComptroller ¶
func (_Bindings *BindingsTransactor) SetComptroller(opts *bind.TransactOpts, newComptroller common.Address) (*types.Transaction, error)
SetComptroller is a paid mutator transaction binding the contract method 0x4576b5db.
Solidity: function _setComptroller(address newComptroller) returns(uint256)
func (*BindingsTransactor) SetInterestRateModel ¶
func (_Bindings *BindingsTransactor) SetInterestRateModel(opts *bind.TransactOpts, newInterestRateModel common.Address) (*types.Transaction, error)
SetInterestRateModel is a paid mutator transaction binding the contract method 0xf2b3abbd.
Solidity: function _setInterestRateModel(address newInterestRateModel) returns(uint256)
func (*BindingsTransactor) SetPendingAdmin ¶
func (_Bindings *BindingsTransactor) SetPendingAdmin(opts *bind.TransactOpts, newPendingAdmin common.Address) (*types.Transaction, error)
SetPendingAdmin is a paid mutator transaction binding the contract method 0xb71d1a0c.
Solidity: function _setPendingAdmin(address newPendingAdmin) returns(uint256)
func (*BindingsTransactor) SetReserveFactor ¶
func (_Bindings *BindingsTransactor) SetReserveFactor(opts *bind.TransactOpts, newReserveFactorMantissa *big.Int) (*types.Transaction, error)
SetReserveFactor is a paid mutator transaction binding the contract method 0xfca7820b.
Solidity: function _setReserveFactor(uint256 newReserveFactorMantissa) returns(uint256)
func (*BindingsTransactor) Supply ¶
func (_Bindings *BindingsTransactor) Supply(opts *bind.TransactOpts, asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)
Supply is a paid mutator transaction binding the contract method 0x617ba037.
Solidity: function supply(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()
func (*BindingsTransactor) TotalBorrowsCurrent ¶
func (_Bindings *BindingsTransactor) TotalBorrowsCurrent(opts *bind.TransactOpts) (*types.Transaction, error)
TotalBorrowsCurrent is a paid mutator transaction binding the contract method 0x73acee98.
Solidity: function totalBorrowsCurrent() returns(uint256)
func (*BindingsTransactor) Transfer ¶
func (_Bindings *BindingsTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address dst, uint256 amount) returns(bool)
func (*BindingsTransactor) TransferFrom ¶
func (_Bindings *BindingsTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 amount) returns(bool)
func (*BindingsTransactor) Withdraw ¶
func (_Bindings *BindingsTransactor) Withdraw(opts *bind.TransactOpts, asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x69328dec.
Solidity: function withdraw(address asset, uint256 amount, address to) returns(uint256)
type BindingsTransactorRaw ¶
type BindingsTransactorRaw struct {
Contract *BindingsTransactor // Generic write-only contract binding to access the raw methods on
}
BindingsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BindingsTransactorRaw) Transact ¶
func (_Bindings *BindingsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BindingsTransactorRaw) Transfer ¶
func (_Bindings *BindingsTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type BindingsTransactorSession ¶
type BindingsTransactorSession struct { Contract *BindingsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BindingsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BindingsTransactorSession) AcceptAdmin ¶
func (_Bindings *BindingsTransactorSession) AcceptAdmin() (*types.Transaction, error)
AcceptAdmin is a paid mutator transaction binding the contract method 0xe9c714f2.
Solidity: function _acceptAdmin() returns(uint256)
func (*BindingsTransactorSession) AccrueInterest ¶
func (_Bindings *BindingsTransactorSession) AccrueInterest() (*types.Transaction, error)
AccrueInterest is a paid mutator transaction binding the contract method 0xa6afed95.
Solidity: function accrueInterest() returns(uint256)
func (*BindingsTransactorSession) Approve ¶
func (_Bindings *BindingsTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*BindingsTransactorSession) BalanceOfUnderlying ¶
func (_Bindings *BindingsTransactorSession) BalanceOfUnderlying(owner common.Address) (*types.Transaction, error)
BalanceOfUnderlying is a paid mutator transaction binding the contract method 0x3af9e669.
Solidity: function balanceOfUnderlying(address owner) returns(uint256)
func (*BindingsTransactorSession) Borrow ¶
func (_Bindings *BindingsTransactorSession) Borrow(borrowAmount *big.Int) (*types.Transaction, error)
Borrow is a paid mutator transaction binding the contract method 0xc5ebeaec.
Solidity: function borrow(uint256 borrowAmount) returns(uint256)
func (*BindingsTransactorSession) BorrowBalanceCurrent ¶
func (_Bindings *BindingsTransactorSession) BorrowBalanceCurrent(account common.Address) (*types.Transaction, error)
BorrowBalanceCurrent is a paid mutator transaction binding the contract method 0x17bfdfbc.
Solidity: function borrowBalanceCurrent(address account) returns(uint256)
func (*BindingsTransactorSession) Deposit ¶
func (_Bindings *BindingsTransactorSession) Deposit(asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xe8eda9df.
Solidity: function deposit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()
func (*BindingsTransactorSession) ExchangeRateCurrent ¶
func (_Bindings *BindingsTransactorSession) ExchangeRateCurrent() (*types.Transaction, error)
ExchangeRateCurrent is a paid mutator transaction binding the contract method 0xbd6d894d.
Solidity: function exchangeRateCurrent() returns(uint256)
func (*BindingsTransactorSession) LiquidateBorrow ¶
func (_Bindings *BindingsTransactorSession) LiquidateBorrow(borrower common.Address, repayAmount *big.Int, cTokenCollateral common.Address) (*types.Transaction, error)
LiquidateBorrow is a paid mutator transaction binding the contract method 0xf5e3c462.
Solidity: function liquidateBorrow(address borrower, uint256 repayAmount, address cTokenCollateral) returns(uint256)
func (*BindingsTransactorSession) Mint ¶
func (_Bindings *BindingsTransactorSession) Mint(mintAmount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0xa0712d68.
Solidity: function mint(uint256 mintAmount) returns(uint256)
func (*BindingsTransactorSession) MintOnDeposit ¶
func (_Bindings *BindingsTransactorSession) MintOnDeposit(_account common.Address, _amount *big.Int) (*types.Transaction, error)
MintOnDeposit is a paid mutator transaction binding the contract method 0x94362e8b.
Solidity: function mintOnDeposit(address _account, uint256 _amount) returns()
func (*BindingsTransactorSession) Redeem ¶
func (_Bindings *BindingsTransactorSession) Redeem(redeemTokens *big.Int) (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0xdb006a75.
Solidity: function redeem(uint256 redeemTokens) returns(uint256)
func (*BindingsTransactorSession) RedeemUnderlying ¶
func (_Bindings *BindingsTransactorSession) RedeemUnderlying(redeemAmount *big.Int) (*types.Transaction, error)
RedeemUnderlying is a paid mutator transaction binding the contract method 0x852a12e3.
Solidity: function redeemUnderlying(uint256 redeemAmount) returns(uint256)
func (*BindingsTransactorSession) ReduceReserves ¶
func (_Bindings *BindingsTransactorSession) ReduceReserves(reduceAmount *big.Int) (*types.Transaction, error)
ReduceReserves is a paid mutator transaction binding the contract method 0x601a0bf1.
Solidity: function _reduceReserves(uint256 reduceAmount) returns(uint256)
func (*BindingsTransactorSession) RepayBorrow ¶
func (_Bindings *BindingsTransactorSession) RepayBorrow(repayAmount *big.Int) (*types.Transaction, error)
RepayBorrow is a paid mutator transaction binding the contract method 0x0e752702.
Solidity: function repayBorrow(uint256 repayAmount) returns(uint256)
func (*BindingsTransactorSession) RepayBorrowBehalf ¶
func (_Bindings *BindingsTransactorSession) RepayBorrowBehalf(borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)
RepayBorrowBehalf is a paid mutator transaction binding the contract method 0x2608f818.
Solidity: function repayBorrowBehalf(address borrower, uint256 repayAmount) returns(uint256)
func (*BindingsTransactorSession) Seize ¶
func (_Bindings *BindingsTransactorSession) Seize(liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)
Seize is a paid mutator transaction binding the contract method 0xb2a02ff1.
Solidity: function seize(address liquidator, address borrower, uint256 seizeTokens) returns(uint256)
func (*BindingsTransactorSession) SetComptroller ¶
func (_Bindings *BindingsTransactorSession) SetComptroller(newComptroller common.Address) (*types.Transaction, error)
SetComptroller is a paid mutator transaction binding the contract method 0x4576b5db.
Solidity: function _setComptroller(address newComptroller) returns(uint256)
func (*BindingsTransactorSession) SetInterestRateModel ¶
func (_Bindings *BindingsTransactorSession) SetInterestRateModel(newInterestRateModel common.Address) (*types.Transaction, error)
SetInterestRateModel is a paid mutator transaction binding the contract method 0xf2b3abbd.
Solidity: function _setInterestRateModel(address newInterestRateModel) returns(uint256)
func (*BindingsTransactorSession) SetPendingAdmin ¶
func (_Bindings *BindingsTransactorSession) SetPendingAdmin(newPendingAdmin common.Address) (*types.Transaction, error)
SetPendingAdmin is a paid mutator transaction binding the contract method 0xb71d1a0c.
Solidity: function _setPendingAdmin(address newPendingAdmin) returns(uint256)
func (*BindingsTransactorSession) SetReserveFactor ¶
func (_Bindings *BindingsTransactorSession) SetReserveFactor(newReserveFactorMantissa *big.Int) (*types.Transaction, error)
SetReserveFactor is a paid mutator transaction binding the contract method 0xfca7820b.
Solidity: function _setReserveFactor(uint256 newReserveFactorMantissa) returns(uint256)
func (*BindingsTransactorSession) Supply ¶
func (_Bindings *BindingsTransactorSession) Supply(asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)
Supply is a paid mutator transaction binding the contract method 0x617ba037.
Solidity: function supply(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()
func (*BindingsTransactorSession) TotalBorrowsCurrent ¶
func (_Bindings *BindingsTransactorSession) TotalBorrowsCurrent() (*types.Transaction, error)
TotalBorrowsCurrent is a paid mutator transaction binding the contract method 0x73acee98.
Solidity: function totalBorrowsCurrent() returns(uint256)
func (*BindingsTransactorSession) Transfer ¶
func (_Bindings *BindingsTransactorSession) Transfer(dst common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address dst, uint256 amount) returns(bool)
func (*BindingsTransactorSession) TransferFrom ¶
func (_Bindings *BindingsTransactorSession) TransferFrom(src common.Address, dst common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 amount) returns(bool)
func (*BindingsTransactorSession) Withdraw ¶
func (_Bindings *BindingsTransactorSession) Withdraw(asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x69328dec.
Solidity: function withdraw(address asset, uint256 amount, address to) returns(uint256)
type BindingsTransfer ¶
type BindingsTransfer struct { From common.Address To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
BindingsTransfer represents a Transfer event raised by the Bindings contract.
type BindingsTransferIterator ¶
type BindingsTransferIterator struct { Event *BindingsTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Bindings contract.
func (*BindingsTransferIterator) Close ¶
func (it *BindingsTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsTransferIterator) Error ¶
func (it *BindingsTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsTransferIterator) Next ¶
func (it *BindingsTransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type DataTypesReserveConfigurationMap ¶
DataTypesReserveConfigurationMap is an auto generated low-level Go binding around an user-defined struct.
type DataTypesReserveData ¶
type DataTypesReserveData struct { Configuration DataTypesReserveConfigurationMap LiquidityIndex *big.Int CurrentLiquidityRate *big.Int VariableBorrowIndex *big.Int CurrentVariableBorrowRate *big.Int CurrentStableBorrowRate *big.Int LastUpdateTimestamp *big.Int Id uint16 ATokenAddress common.Address StableDebtTokenAddress common.Address VariableDebtTokenAddress common.Address InterestRateStrategyAddress common.Address AccruedToTreasury *big.Int Unbacked *big.Int IsolationModeTotalDebt *big.Int }
DataTypesReserveData is an auto generated low-level Go binding around an user-defined struct.