Documentation ¶
Index ¶
- Constants
- 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) (uint8, error)
- func (_Bindings *BindingsCaller) DelegateToViewImplementation(opts *bind.CallOpts, data []byte) ([]byte, 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) Implementation(opts *bind.CallOpts) (common.Address, 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() (uint8, error)
- func (_Bindings *BindingsCallerSession) DelegateToViewImplementation(data []byte) ([]byte, 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) Implementation() (common.Address, 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) FilterNewImplementation(opts *bind.FilterOpts) (*BindingsNewImplementationIterator, 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) FilterReservesAdded(opts *bind.FilterOpts) (*BindingsReservesAddedIterator, 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) ParseNewImplementation(log types.Log) (*BindingsNewImplementation, 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) ParseReservesAdded(log types.Log) (*BindingsReservesAdded, 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) WatchNewImplementation(opts *bind.WatchOpts, sink chan<- *BindingsNewImplementation) (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) WatchReservesAdded(opts *bind.WatchOpts, sink chan<- *BindingsReservesAdded) (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 BindingsNewImplementation
- type BindingsNewImplementationIterator
- 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, params ...interface{}) 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 BindingsReservesAdded
- type BindingsReservesAddedIterator
- 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) AddReserves(addAmount *big.Int) (*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() (uint8, error)
- func (_Bindings *BindingsSession) DelegateToImplementation(data []byte) (*types.Transaction, error)
- func (_Bindings *BindingsSession) DelegateToViewImplementation(data []byte) ([]byte, 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) Implementation() (common.Address, 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) 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) SetImplementation(implementation_ common.Address, allowResign bool, ...) (*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) 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)
- 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) AddReserves(opts *bind.TransactOpts, addAmount *big.Int) (*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) DelegateToImplementation(opts *bind.TransactOpts, data []byte) (*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) 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) SetImplementation(opts *bind.TransactOpts, implementation_ common.Address, allowResign bool, ...) (*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) 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)
- type BindingsTransactorRaw
- type BindingsTransactorSession
- func (_Bindings *BindingsTransactorSession) AcceptAdmin() (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) AccrueInterest() (*types.Transaction, error)
- func (_Bindings *BindingsTransactorSession) AddReserves(addAmount *big.Int) (*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) DelegateToImplementation(data []byte) (*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) 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) SetImplementation(implementation_ common.Address, allowResign bool, ...) (*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) 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)
- type BindingsTransfer
- type BindingsTransferIterator
Constants ¶
const BindingsABI = "" /* 23947-byte string literal not displayed */
BindingsABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
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 { CashPrior *big.Int 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() constant returns(uint256)
func (*BindingsCaller) Admin ¶
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() constant 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) constant 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) constant 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) constant returns(uint256)
func (*BindingsCaller) BorrowIndex ¶
BorrowIndex is a free data retrieval call binding the contract method 0xaa5af0fd.
Solidity: function borrowIndex() constant returns(uint256)
func (*BindingsCaller) BorrowRatePerBlock ¶
BorrowRatePerBlock is a free data retrieval call binding the contract method 0xf8f9da28.
Solidity: function borrowRatePerBlock() constant returns(uint256)
func (*BindingsCaller) Comptroller ¶
Comptroller is a free data retrieval call binding the contract method 0x5fe3b567.
Solidity: function comptroller() constant returns(address)
func (*BindingsCaller) Decimals ¶
func (_Bindings *BindingsCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*BindingsCaller) DelegateToViewImplementation ¶
func (_Bindings *BindingsCaller) DelegateToViewImplementation(opts *bind.CallOpts, data []byte) ([]byte, error)
DelegateToViewImplementation is a free data retrieval call binding the contract method 0x4487152f.
Solidity: function delegateToViewImplementation(bytes data) constant returns(bytes)
func (*BindingsCaller) ExchangeRateStored ¶
ExchangeRateStored is a free data retrieval call binding the contract method 0x182df0f5.
Solidity: function exchangeRateStored() constant 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) constant returns(uint256, uint256, uint256, uint256)
func (*BindingsCaller) GetCash ¶
GetCash is a free data retrieval call binding the contract method 0x3b1d21a2.
Solidity: function getCash() constant returns(uint256)
func (*BindingsCaller) Implementation ¶
Implementation is a free data retrieval call binding the contract method 0x5c60da1b.
Solidity: function implementation() constant returns(address)
func (*BindingsCaller) InterestRateModel ¶
InterestRateModel is a free data retrieval call binding the contract method 0xf3fdb15a.
Solidity: function interestRateModel() constant 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() constant 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() constant returns(string)
func (*BindingsCaller) PendingAdmin ¶
PendingAdmin is a free data retrieval call binding the contract method 0x26782247.
Solidity: function pendingAdmin() constant returns(address)
func (*BindingsCaller) ReserveFactorMantissa ¶
ReserveFactorMantissa is a free data retrieval call binding the contract method 0x173b9904.
Solidity: function reserveFactorMantissa() constant returns(uint256)
func (*BindingsCaller) SupplyRatePerBlock ¶
SupplyRatePerBlock is a free data retrieval call binding the contract method 0xae9d70b0.
Solidity: function supplyRatePerBlock() constant 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() constant returns(string)
func (*BindingsCaller) TotalBorrows ¶
TotalBorrows is a free data retrieval call binding the contract method 0x47bd3718.
Solidity: function totalBorrows() constant returns(uint256)
func (*BindingsCaller) TotalReserves ¶
TotalReserves is a free data retrieval call binding the contract method 0x8f840ddd.
Solidity: function totalReserves() constant returns(uint256)
func (*BindingsCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*BindingsCaller) Underlying ¶
Underlying is a free data retrieval call binding the contract method 0x6f307dc3.
Solidity: function underlying() constant 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() constant 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() constant 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) constant returns(uint256)
func (*BindingsCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) constant 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) constant 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() constant 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() constant 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() constant returns(address)
func (*BindingsCallerSession) Decimals ¶
func (_Bindings *BindingsCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*BindingsCallerSession) DelegateToViewImplementation ¶
func (_Bindings *BindingsCallerSession) DelegateToViewImplementation(data []byte) ([]byte, error)
DelegateToViewImplementation is a free data retrieval call binding the contract method 0x4487152f.
Solidity: function delegateToViewImplementation(bytes data) constant returns(bytes)
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() constant 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) constant 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() constant returns(uint256)
func (*BindingsCallerSession) Implementation ¶
func (_Bindings *BindingsCallerSession) Implementation() (common.Address, error)
Implementation is a free data retrieval call binding the contract method 0x5c60da1b.
Solidity: function implementation() constant returns(address)
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() constant 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() constant 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() constant 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() constant 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() constant 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() constant 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() constant 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() constant 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() constant 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() constant 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() constant 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 0x4dec04e750ca11537cabcd8a9eab06494de08da3735bc8871cd41250e190bc04.
Solidity: event AccrueInterest(uint256 cashPrior, 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) FilterNewImplementation ¶
func (_Bindings *BindingsFilterer) FilterNewImplementation(opts *bind.FilterOpts) (*BindingsNewImplementationIterator, error)
FilterNewImplementation is a free log retrieval operation binding the contract event 0xd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a.
Solidity: event NewImplementation(address oldImplementation, address newImplementation)
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) FilterReservesAdded ¶
func (_Bindings *BindingsFilterer) FilterReservesAdded(opts *bind.FilterOpts) (*BindingsReservesAddedIterator, error)
FilterReservesAdded is a free log retrieval operation binding the contract event 0xa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc5.
Solidity: event ReservesAdded(address benefactor, uint256 addAmount, uint256 newTotalReserves)
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 0x4dec04e750ca11537cabcd8a9eab06494de08da3735bc8871cd41250e190bc04.
Solidity: event AccrueInterest(uint256 cashPrior, 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) ParseNewImplementation ¶
func (_Bindings *BindingsFilterer) ParseNewImplementation(log types.Log) (*BindingsNewImplementation, error)
ParseNewImplementation is a log parse operation binding the contract event 0xd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a.
Solidity: event NewImplementation(address oldImplementation, address newImplementation)
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) ParseReservesAdded ¶
func (_Bindings *BindingsFilterer) ParseReservesAdded(log types.Log) (*BindingsReservesAdded, error)
ParseReservesAdded is a log parse operation binding the contract event 0xa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc5.
Solidity: event ReservesAdded(address benefactor, uint256 addAmount, uint256 newTotalReserves)
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 0x4dec04e750ca11537cabcd8a9eab06494de08da3735bc8871cd41250e190bc04.
Solidity: event AccrueInterest(uint256 cashPrior, 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) WatchNewImplementation ¶
func (_Bindings *BindingsFilterer) WatchNewImplementation(opts *bind.WatchOpts, sink chan<- *BindingsNewImplementation) (event.Subscription, error)
WatchNewImplementation is a free log subscription operation binding the contract event 0xd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a.
Solidity: event NewImplementation(address oldImplementation, address newImplementation)
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) WatchReservesAdded ¶
func (_Bindings *BindingsFilterer) WatchReservesAdded(opts *bind.WatchOpts, sink chan<- *BindingsReservesAdded) (event.Subscription, error)
WatchReservesAdded is a free log subscription operation binding the contract event 0xa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc5.
Solidity: event ReservesAdded(address benefactor, uint256 addAmount, uint256 newTotalReserves)
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 BindingsNewImplementation ¶
type BindingsNewImplementation struct { OldImplementation common.Address NewImplementation common.Address Raw types.Log // Blockchain specific contextual infos }
BindingsNewImplementation represents a NewImplementation event raised by the Bindings contract.
type BindingsNewImplementationIterator ¶
type BindingsNewImplementationIterator struct { Event *BindingsNewImplementation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsNewImplementationIterator is returned from FilterNewImplementation and is used to iterate over the raw logs and unpacked data for NewImplementation events raised by the Bindings contract.
func (*BindingsNewImplementationIterator) Close ¶
func (it *BindingsNewImplementationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsNewImplementationIterator) Error ¶
func (it *BindingsNewImplementationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsNewImplementationIterator) Next ¶
func (it *BindingsNewImplementationIterator) 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 BindingsReservesAdded ¶
type BindingsReservesAdded struct { Benefactor common.Address AddAmount *big.Int NewTotalReserves *big.Int Raw types.Log // Blockchain specific contextual infos }
BindingsReservesAdded represents a ReservesAdded event raised by the Bindings contract.
type BindingsReservesAddedIterator ¶
type BindingsReservesAddedIterator struct { Event *BindingsReservesAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BindingsReservesAddedIterator is returned from FilterReservesAdded and is used to iterate over the raw logs and unpacked data for ReservesAdded events raised by the Bindings contract.
func (*BindingsReservesAddedIterator) Close ¶
func (it *BindingsReservesAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BindingsReservesAddedIterator) Error ¶
func (it *BindingsReservesAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BindingsReservesAddedIterator) Next ¶
func (it *BindingsReservesAddedIterator) 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() constant 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) AddReserves ¶
func (_Bindings *BindingsSession) AddReserves(addAmount *big.Int) (*types.Transaction, error)
AddReserves is a paid mutator transaction binding the contract method 0x3e941010.
Solidity: function _addReserves(uint256 addAmount) 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() constant 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) constant 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) constant 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) constant 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() constant 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() constant 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() constant returns(address)
func (*BindingsSession) Decimals ¶
func (_Bindings *BindingsSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*BindingsSession) DelegateToImplementation ¶
func (_Bindings *BindingsSession) DelegateToImplementation(data []byte) (*types.Transaction, error)
DelegateToImplementation is a paid mutator transaction binding the contract method 0x0933c1ed.
Solidity: function delegateToImplementation(bytes data) returns(bytes)
func (*BindingsSession) DelegateToViewImplementation ¶
func (_Bindings *BindingsSession) DelegateToViewImplementation(data []byte) ([]byte, error)
DelegateToViewImplementation is a free data retrieval call binding the contract method 0x4487152f.
Solidity: function delegateToViewImplementation(bytes data) constant returns(bytes)
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() constant 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) constant 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() constant returns(uint256)
func (*BindingsSession) Implementation ¶
func (_Bindings *BindingsSession) Implementation() (common.Address, error)
Implementation is a free data retrieval call binding the contract method 0x5c60da1b.
Solidity: function implementation() constant returns(address)
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() constant 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() constant 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) Name ¶
func (_Bindings *BindingsSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant 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() constant 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() constant 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) SetImplementation ¶
func (_Bindings *BindingsSession) SetImplementation(implementation_ common.Address, allowResign bool, becomeImplementationData []byte) (*types.Transaction, error)
SetImplementation is a paid mutator transaction binding the contract method 0x555bcc40.
Solidity: function _setImplementation(address implementation_, bool allowResign, bytes becomeImplementationData) returns()
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) SupplyRatePerBlock ¶
func (_Bindings *BindingsSession) SupplyRatePerBlock() (*big.Int, error)
SupplyRatePerBlock is a free data retrieval call binding the contract method 0xae9d70b0.
Solidity: function supplyRatePerBlock() constant 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() constant 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() constant 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() constant 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() constant 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() constant returns(address)
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) AddReserves ¶
func (_Bindings *BindingsTransactor) AddReserves(opts *bind.TransactOpts, addAmount *big.Int) (*types.Transaction, error)
AddReserves is a paid mutator transaction binding the contract method 0x3e941010.
Solidity: function _addReserves(uint256 addAmount) 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) DelegateToImplementation ¶
func (_Bindings *BindingsTransactor) DelegateToImplementation(opts *bind.TransactOpts, data []byte) (*types.Transaction, error)
DelegateToImplementation is a paid mutator transaction binding the contract method 0x0933c1ed.
Solidity: function delegateToImplementation(bytes data) returns(bytes)
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) 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) SetImplementation ¶
func (_Bindings *BindingsTransactor) SetImplementation(opts *bind.TransactOpts, implementation_ common.Address, allowResign bool, becomeImplementationData []byte) (*types.Transaction, error)
SetImplementation is a paid mutator transaction binding the contract method 0x555bcc40.
Solidity: function _setImplementation(address implementation_, bool allowResign, bytes becomeImplementationData) returns()
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) 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)
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) AddReserves ¶
func (_Bindings *BindingsTransactorSession) AddReserves(addAmount *big.Int) (*types.Transaction, error)
AddReserves is a paid mutator transaction binding the contract method 0x3e941010.
Solidity: function _addReserves(uint256 addAmount) 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) DelegateToImplementation ¶
func (_Bindings *BindingsTransactorSession) DelegateToImplementation(data []byte) (*types.Transaction, error)
DelegateToImplementation is a paid mutator transaction binding the contract method 0x0933c1ed.
Solidity: function delegateToImplementation(bytes data) returns(bytes)
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) 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) SetImplementation ¶
func (_Bindings *BindingsTransactorSession) SetImplementation(implementation_ common.Address, allowResign bool, becomeImplementationData []byte) (*types.Transaction, error)
SetImplementation is a paid mutator transaction binding the contract method 0x555bcc40.
Solidity: function _setImplementation(address implementation_, bool allowResign, bytes becomeImplementationData) returns()
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) 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)
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.