Versions in this module Expand all Collapse all v1 v1.0.0 Dec 12, 2019 Changes in this version + const BindingsABI + type Bindings struct + func NewBindings(address common.Address, backend bind.ContractBackend) (*Bindings, error) + type BindingsCaller struct + func NewBindingsCaller(address common.Address, caller bind.ContractCaller) (*BindingsCaller, error) + func (_Bindings *BindingsCaller) AccountAssets(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (common.Address, error) + func (_Bindings *BindingsCaller) Admin(opts *bind.CallOpts) (common.Address, error) + func (_Bindings *BindingsCaller) CheckMembership(opts *bind.CallOpts, account common.Address, cToken common.Address) (bool, error) + func (_Bindings *BindingsCaller) CloseFactorMantissa(opts *bind.CallOpts) (*big.Int, error) + func (_Bindings *BindingsCaller) ComptrollerImplementation(opts *bind.CallOpts) (common.Address, error) + func (_Bindings *BindingsCaller) GetAccountLiquidity(opts *bind.CallOpts, account common.Address) (*big.Int, *big.Int, *big.Int, error) + func (_Bindings *BindingsCaller) GetAssetsIn(opts *bind.CallOpts, account common.Address) ([]common.Address, error) + func (_Bindings *BindingsCaller) IsComptroller(opts *bind.CallOpts) (bool, error) + func (_Bindings *BindingsCaller) LiquidateCalculateSeizeTokens(opts *bind.CallOpts, cTokenBorrowed common.Address, ...) (*big.Int, *big.Int, error) + func (_Bindings *BindingsCaller) LiquidationIncentiveMantissa(opts *bind.CallOpts) (*big.Int, error) + func (_Bindings *BindingsCaller) Markets(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error) + func (_Bindings *BindingsCaller) MaxAssets(opts *bind.CallOpts) (*big.Int, error) + func (_Bindings *BindingsCaller) Oracle(opts *bind.CallOpts) (common.Address, error) + func (_Bindings *BindingsCaller) PendingAdmin(opts *bind.CallOpts) (common.Address, error) + func (_Bindings *BindingsCaller) PendingComptrollerImplementation(opts *bind.CallOpts) (common.Address, error) + type BindingsCallerRaw struct + Contract *BindingsCaller + func (_Bindings *BindingsCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + type BindingsCallerSession struct + CallOpts bind.CallOpts + Contract *BindingsCaller + func (_Bindings *BindingsCallerSession) AccountAssets(arg0 common.Address, arg1 *big.Int) (common.Address, error) + func (_Bindings *BindingsCallerSession) Admin() (common.Address, error) + func (_Bindings *BindingsCallerSession) CheckMembership(account common.Address, cToken common.Address) (bool, error) + func (_Bindings *BindingsCallerSession) CloseFactorMantissa() (*big.Int, error) + func (_Bindings *BindingsCallerSession) ComptrollerImplementation() (common.Address, error) + func (_Bindings *BindingsCallerSession) GetAccountLiquidity(account common.Address) (*big.Int, *big.Int, *big.Int, error) + func (_Bindings *BindingsCallerSession) GetAssetsIn(account common.Address) ([]common.Address, error) + func (_Bindings *BindingsCallerSession) IsComptroller() (bool, error) + func (_Bindings *BindingsCallerSession) LiquidateCalculateSeizeTokens(cTokenBorrowed common.Address, cTokenCollateral common.Address, ...) (*big.Int, *big.Int, error) + func (_Bindings *BindingsCallerSession) LiquidationIncentiveMantissa() (*big.Int, error) + func (_Bindings *BindingsCallerSession) Markets(arg0 common.Address) (struct{ ... }, error) + func (_Bindings *BindingsCallerSession) MaxAssets() (*big.Int, error) + func (_Bindings *BindingsCallerSession) Oracle() (common.Address, error) + func (_Bindings *BindingsCallerSession) PendingAdmin() (common.Address, error) + func (_Bindings *BindingsCallerSession) PendingComptrollerImplementation() (common.Address, error) + type BindingsFailure struct + Detail *big.Int + Error *big.Int + Info *big.Int + Raw types.Log + type BindingsFailureIterator struct + Event *BindingsFailure + func (it *BindingsFailureIterator) Close() error + func (it *BindingsFailureIterator) Error() error + func (it *BindingsFailureIterator) Next() bool + type BindingsFilterer struct + func NewBindingsFilterer(address common.Address, filterer bind.ContractFilterer) (*BindingsFilterer, error) + func (_Bindings *BindingsFilterer) FilterFailure(opts *bind.FilterOpts) (*BindingsFailureIterator, error) + func (_Bindings *BindingsFilterer) FilterMarketEntered(opts *bind.FilterOpts) (*BindingsMarketEnteredIterator, error) + func (_Bindings *BindingsFilterer) FilterMarketExited(opts *bind.FilterOpts) (*BindingsMarketExitedIterator, error) + func (_Bindings *BindingsFilterer) FilterMarketListed(opts *bind.FilterOpts) (*BindingsMarketListedIterator, error) + func (_Bindings *BindingsFilterer) FilterNewCloseFactor(opts *bind.FilterOpts) (*BindingsNewCloseFactorIterator, error) + func (_Bindings *BindingsFilterer) FilterNewCollateralFactor(opts *bind.FilterOpts) (*BindingsNewCollateralFactorIterator, error) + func (_Bindings *BindingsFilterer) FilterNewLiquidationIncentive(opts *bind.FilterOpts) (*BindingsNewLiquidationIncentiveIterator, error) + func (_Bindings *BindingsFilterer) FilterNewMaxAssets(opts *bind.FilterOpts) (*BindingsNewMaxAssetsIterator, error) + func (_Bindings *BindingsFilterer) FilterNewPriceOracle(opts *bind.FilterOpts) (*BindingsNewPriceOracleIterator, error) + func (_Bindings *BindingsFilterer) ParseFailure(log types.Log) (*BindingsFailure, error) + func (_Bindings *BindingsFilterer) ParseMarketEntered(log types.Log) (*BindingsMarketEntered, error) + func (_Bindings *BindingsFilterer) ParseMarketExited(log types.Log) (*BindingsMarketExited, error) + func (_Bindings *BindingsFilterer) ParseMarketListed(log types.Log) (*BindingsMarketListed, error) + func (_Bindings *BindingsFilterer) ParseNewCloseFactor(log types.Log) (*BindingsNewCloseFactor, error) + func (_Bindings *BindingsFilterer) ParseNewCollateralFactor(log types.Log) (*BindingsNewCollateralFactor, error) + func (_Bindings *BindingsFilterer) ParseNewLiquidationIncentive(log types.Log) (*BindingsNewLiquidationIncentive, error) + func (_Bindings *BindingsFilterer) ParseNewMaxAssets(log types.Log) (*BindingsNewMaxAssets, error) + func (_Bindings *BindingsFilterer) ParseNewPriceOracle(log types.Log) (*BindingsNewPriceOracle, error) + func (_Bindings *BindingsFilterer) WatchFailure(opts *bind.WatchOpts, sink chan<- *BindingsFailure) (event.Subscription, error) + func (_Bindings *BindingsFilterer) WatchMarketEntered(opts *bind.WatchOpts, sink chan<- *BindingsMarketEntered) (event.Subscription, error) + func (_Bindings *BindingsFilterer) WatchMarketExited(opts *bind.WatchOpts, sink chan<- *BindingsMarketExited) (event.Subscription, error) + func (_Bindings *BindingsFilterer) WatchMarketListed(opts *bind.WatchOpts, sink chan<- *BindingsMarketListed) (event.Subscription, error) + func (_Bindings *BindingsFilterer) WatchNewCloseFactor(opts *bind.WatchOpts, sink chan<- *BindingsNewCloseFactor) (event.Subscription, error) + func (_Bindings *BindingsFilterer) WatchNewCollateralFactor(opts *bind.WatchOpts, sink chan<- *BindingsNewCollateralFactor) (event.Subscription, error) + func (_Bindings *BindingsFilterer) WatchNewLiquidationIncentive(opts *bind.WatchOpts, sink chan<- *BindingsNewLiquidationIncentive) (event.Subscription, error) + func (_Bindings *BindingsFilterer) WatchNewMaxAssets(opts *bind.WatchOpts, sink chan<- *BindingsNewMaxAssets) (event.Subscription, error) + func (_Bindings *BindingsFilterer) WatchNewPriceOracle(opts *bind.WatchOpts, sink chan<- *BindingsNewPriceOracle) (event.Subscription, error) + type BindingsMarketEntered struct + Account common.Address + CToken common.Address + Raw types.Log + type BindingsMarketEnteredIterator struct + Event *BindingsMarketEntered + func (it *BindingsMarketEnteredIterator) Close() error + func (it *BindingsMarketEnteredIterator) Error() error + func (it *BindingsMarketEnteredIterator) Next() bool + type BindingsMarketExited struct + Account common.Address + CToken common.Address + Raw types.Log + type BindingsMarketExitedIterator struct + Event *BindingsMarketExited + func (it *BindingsMarketExitedIterator) Close() error + func (it *BindingsMarketExitedIterator) Error() error + func (it *BindingsMarketExitedIterator) Next() bool + type BindingsMarketListed struct + CToken common.Address + Raw types.Log + type BindingsMarketListedIterator struct + Event *BindingsMarketListed + func (it *BindingsMarketListedIterator) Close() error + func (it *BindingsMarketListedIterator) Error() error + func (it *BindingsMarketListedIterator) Next() bool + type BindingsNewCloseFactor struct + NewCloseFactorMantissa *big.Int + OldCloseFactorMantissa *big.Int + Raw types.Log + type BindingsNewCloseFactorIterator struct + Event *BindingsNewCloseFactor + func (it *BindingsNewCloseFactorIterator) Close() error + func (it *BindingsNewCloseFactorIterator) Error() error + func (it *BindingsNewCloseFactorIterator) Next() bool + type BindingsNewCollateralFactor struct + CToken common.Address + NewCollateralFactorMantissa *big.Int + OldCollateralFactorMantissa *big.Int + Raw types.Log + type BindingsNewCollateralFactorIterator struct + Event *BindingsNewCollateralFactor + func (it *BindingsNewCollateralFactorIterator) Close() error + func (it *BindingsNewCollateralFactorIterator) Error() error + func (it *BindingsNewCollateralFactorIterator) Next() bool + type BindingsNewLiquidationIncentive struct + NewLiquidationIncentiveMantissa *big.Int + OldLiquidationIncentiveMantissa *big.Int + Raw types.Log + type BindingsNewLiquidationIncentiveIterator struct + Event *BindingsNewLiquidationIncentive + func (it *BindingsNewLiquidationIncentiveIterator) Close() error + func (it *BindingsNewLiquidationIncentiveIterator) Error() error + func (it *BindingsNewLiquidationIncentiveIterator) Next() bool + type BindingsNewMaxAssets struct + NewMaxAssets *big.Int + OldMaxAssets *big.Int + Raw types.Log + type BindingsNewMaxAssetsIterator struct + Event *BindingsNewMaxAssets + func (it *BindingsNewMaxAssetsIterator) Close() error + func (it *BindingsNewMaxAssetsIterator) Error() error + func (it *BindingsNewMaxAssetsIterator) Next() bool + type BindingsNewPriceOracle struct + NewPriceOracle common.Address + OldPriceOracle common.Address + Raw types.Log + type BindingsNewPriceOracleIterator struct + Event *BindingsNewPriceOracle + func (it *BindingsNewPriceOracleIterator) Close() error + func (it *BindingsNewPriceOracleIterator) Error() error + func (it *BindingsNewPriceOracleIterator) Next() bool + type BindingsRaw struct + Contract *Bindings + 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 BindingsSession struct + CallOpts bind.CallOpts + Contract *Bindings + TransactOpts bind.TransactOpts + func (_Bindings *BindingsSession) AccountAssets(arg0 common.Address, arg1 *big.Int) (common.Address, error) + func (_Bindings *BindingsSession) Admin() (common.Address, error) + func (_Bindings *BindingsSession) Become(unitroller common.Address, _oracle common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsSession) BorrowAllowed(cToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsSession) BorrowVerify(cToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsSession) CheckMembership(account common.Address, cToken common.Address) (bool, error) + func (_Bindings *BindingsSession) CloseFactorMantissa() (*big.Int, error) + func (_Bindings *BindingsSession) ComptrollerImplementation() (common.Address, error) + func (_Bindings *BindingsSession) EnterMarkets(cTokens []common.Address) (*types.Transaction, error) + func (_Bindings *BindingsSession) ExitMarket(cTokenAddress common.Address) (*types.Transaction, error) + func (_Bindings *BindingsSession) GetAccountLiquidity(account common.Address) (*big.Int, *big.Int, *big.Int, error) + func (_Bindings *BindingsSession) GetAssetsIn(account common.Address) ([]common.Address, error) + func (_Bindings *BindingsSession) IsComptroller() (bool, error) + func (_Bindings *BindingsSession) LiquidateBorrowAllowed(cTokenBorrowed common.Address, cTokenCollateral common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsSession) LiquidateBorrowVerify(cTokenBorrowed common.Address, cTokenCollateral common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsSession) LiquidateCalculateSeizeTokens(cTokenBorrowed common.Address, cTokenCollateral common.Address, ...) (*big.Int, *big.Int, error) + func (_Bindings *BindingsSession) LiquidationIncentiveMantissa() (*big.Int, error) + func (_Bindings *BindingsSession) Markets(arg0 common.Address) (struct{ ... }, error) + func (_Bindings *BindingsSession) MaxAssets() (*big.Int, error) + func (_Bindings *BindingsSession) MintAllowed(cToken common.Address, minter common.Address, mintAmount *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsSession) MintVerify(cToken common.Address, minter common.Address, mintAmount *big.Int, ...) (*types.Transaction, error) + func (_Bindings *BindingsSession) Oracle() (common.Address, error) + func (_Bindings *BindingsSession) PendingAdmin() (common.Address, error) + func (_Bindings *BindingsSession) PendingComptrollerImplementation() (common.Address, error) + func (_Bindings *BindingsSession) RedeemAllowed(cToken common.Address, redeemer common.Address, redeemTokens *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsSession) RedeemVerify(cToken common.Address, redeemer common.Address, redeemAmount *big.Int, ...) (*types.Transaction, error) + func (_Bindings *BindingsSession) RepayBorrowAllowed(cToken common.Address, payer common.Address, borrower common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsSession) RepayBorrowVerify(cToken common.Address, payer common.Address, borrower common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsSession) SeizeAllowed(cTokenCollateral common.Address, cTokenBorrowed common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsSession) SeizeVerify(cTokenCollateral common.Address, cTokenBorrowed common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsSession) SetCloseFactor(newCloseFactorMantissa *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsSession) SetCollateralFactor(cToken common.Address, newCollateralFactorMantissa *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsSession) SetLiquidationIncentive(newLiquidationIncentiveMantissa *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsSession) SetMaxAssets(newMaxAssets *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsSession) SetPriceOracle(newOracle common.Address) (*types.Transaction, error) + func (_Bindings *BindingsSession) SupportMarket(cToken common.Address) (*types.Transaction, error) + func (_Bindings *BindingsSession) TransferAllowed(cToken common.Address, src common.Address, dst common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsSession) TransferVerify(cToken common.Address, src common.Address, dst common.Address, ...) (*types.Transaction, error) + type BindingsTransactor struct + func NewBindingsTransactor(address common.Address, transactor bind.ContractTransactor) (*BindingsTransactor, error) + func (_Bindings *BindingsTransactor) Become(opts *bind.TransactOpts, unitroller common.Address, _oracle common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) BorrowAllowed(opts *bind.TransactOpts, cToken common.Address, borrower common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) BorrowVerify(opts *bind.TransactOpts, cToken common.Address, borrower common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) EnterMarkets(opts *bind.TransactOpts, cTokens []common.Address) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) ExitMarket(opts *bind.TransactOpts, cTokenAddress common.Address) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) LiquidateBorrowAllowed(opts *bind.TransactOpts, cTokenBorrowed common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) LiquidateBorrowVerify(opts *bind.TransactOpts, cTokenBorrowed common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) MintAllowed(opts *bind.TransactOpts, cToken common.Address, minter common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) MintVerify(opts *bind.TransactOpts, cToken common.Address, minter common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) RedeemAllowed(opts *bind.TransactOpts, cToken common.Address, redeemer common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) RedeemVerify(opts *bind.TransactOpts, cToken common.Address, redeemer common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) RepayBorrowAllowed(opts *bind.TransactOpts, cToken common.Address, payer common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) RepayBorrowVerify(opts *bind.TransactOpts, cToken common.Address, payer common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) SeizeAllowed(opts *bind.TransactOpts, cTokenCollateral common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) SeizeVerify(opts *bind.TransactOpts, cTokenCollateral common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) SetCloseFactor(opts *bind.TransactOpts, newCloseFactorMantissa *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) SetCollateralFactor(opts *bind.TransactOpts, cToken common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) SetLiquidationIncentive(opts *bind.TransactOpts, newLiquidationIncentiveMantissa *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) SetMaxAssets(opts *bind.TransactOpts, newMaxAssets *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) SetPriceOracle(opts *bind.TransactOpts, newOracle common.Address) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) SupportMarket(opts *bind.TransactOpts, cToken common.Address) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) TransferAllowed(opts *bind.TransactOpts, cToken common.Address, src common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactor) TransferVerify(opts *bind.TransactOpts, cToken common.Address, src common.Address, ...) (*types.Transaction, error) + type BindingsTransactorRaw struct + Contract *BindingsTransactor + func (_Bindings *BindingsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Bindings *BindingsTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type BindingsTransactorSession struct + Contract *BindingsTransactor + TransactOpts bind.TransactOpts + func (_Bindings *BindingsTransactorSession) Become(unitroller common.Address, _oracle common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) BorrowAllowed(cToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) BorrowVerify(cToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) EnterMarkets(cTokens []common.Address) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) ExitMarket(cTokenAddress common.Address) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) LiquidateBorrowAllowed(cTokenBorrowed common.Address, cTokenCollateral common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) LiquidateBorrowVerify(cTokenBorrowed common.Address, cTokenCollateral common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) MintAllowed(cToken common.Address, minter common.Address, mintAmount *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) MintVerify(cToken common.Address, minter common.Address, mintAmount *big.Int, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) RedeemAllowed(cToken common.Address, redeemer common.Address, redeemTokens *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) RedeemVerify(cToken common.Address, redeemer common.Address, redeemAmount *big.Int, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) RepayBorrowAllowed(cToken common.Address, payer common.Address, borrower common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) RepayBorrowVerify(cToken common.Address, payer common.Address, borrower common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) SeizeAllowed(cTokenCollateral common.Address, cTokenBorrowed common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) SeizeVerify(cTokenCollateral common.Address, cTokenBorrowed common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) SetCloseFactor(newCloseFactorMantissa *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) SetCollateralFactor(cToken common.Address, newCollateralFactorMantissa *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) SetLiquidationIncentive(newLiquidationIncentiveMantissa *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) SetMaxAssets(newMaxAssets *big.Int) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) SetPriceOracle(newOracle common.Address) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) SupportMarket(cToken common.Address) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) TransferAllowed(cToken common.Address, src common.Address, dst common.Address, ...) (*types.Transaction, error) + func (_Bindings *BindingsTransactorSession) TransferVerify(cToken common.Address, src common.Address, dst common.Address, ...) (*types.Transaction, error)