bindings

package
v2.0.0-...-c896575 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BindingsABI = "" /* 12957-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

func NewBindings(address common.Address, backend bind.ContractBackend) (*Bindings, error)

NewBindings creates a new instance of Bindings, bound to a specific deployed contract.

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) AccountAssets

func (_Bindings *BindingsCaller) AccountAssets(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (common.Address, error)

AccountAssets is a free data retrieval call binding the contract method 0xdce15449.

Solidity: function accountAssets(address , uint256 ) constant returns(address)

func (*BindingsCaller) Admin

func (_Bindings *BindingsCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*BindingsCaller) CheckMembership

func (_Bindings *BindingsCaller) CheckMembership(opts *bind.CallOpts, account common.Address, cToken common.Address) (bool, error)

CheckMembership is a free data retrieval call binding the contract method 0x929fe9a1.

Solidity: function checkMembership(address account, address cToken) constant returns(bool)

func (*BindingsCaller) CloseFactorMantissa

func (_Bindings *BindingsCaller) CloseFactorMantissa(opts *bind.CallOpts) (*big.Int, error)

CloseFactorMantissa is a free data retrieval call binding the contract method 0xe8755446.

Solidity: function closeFactorMantissa() constant returns(uint256)

func (*BindingsCaller) ComptrollerImplementation

func (_Bindings *BindingsCaller) ComptrollerImplementation(opts *bind.CallOpts) (common.Address, error)

ComptrollerImplementation is a free data retrieval call binding the contract method 0xbb82aa5e.

Solidity: function comptrollerImplementation() constant returns(address)

func (*BindingsCaller) GetAccountLiquidity

func (_Bindings *BindingsCaller) GetAccountLiquidity(opts *bind.CallOpts, account common.Address) (*big.Int, *big.Int, *big.Int, error)

GetAccountLiquidity is a free data retrieval call binding the contract method 0x5ec88c79.

Solidity: function getAccountLiquidity(address account) constant returns(uint256, uint256, uint256)

func (*BindingsCaller) GetAssetsIn

func (_Bindings *BindingsCaller) GetAssetsIn(opts *bind.CallOpts, account common.Address) ([]common.Address, error)

GetAssetsIn is a free data retrieval call binding the contract method 0xabfceffc.

Solidity: function getAssetsIn(address account) constant returns(address[])

func (*BindingsCaller) IsComptroller

func (_Bindings *BindingsCaller) IsComptroller(opts *bind.CallOpts) (bool, error)

IsComptroller is a free data retrieval call binding the contract method 0x007e3dd2.

Solidity: function isComptroller() constant returns(bool)

func (*BindingsCaller) LiquidateCalculateSeizeTokens

func (_Bindings *BindingsCaller) LiquidateCalculateSeizeTokens(opts *bind.CallOpts, cTokenBorrowed common.Address, cTokenCollateral common.Address, repayAmount *big.Int) (*big.Int, *big.Int, error)

LiquidateCalculateSeizeTokens is a free data retrieval call binding the contract method 0xc488847b.

Solidity: function liquidateCalculateSeizeTokens(address cTokenBorrowed, address cTokenCollateral, uint256 repayAmount) constant returns(uint256, uint256)

func (*BindingsCaller) LiquidationIncentiveMantissa

func (_Bindings *BindingsCaller) LiquidationIncentiveMantissa(opts *bind.CallOpts) (*big.Int, error)

LiquidationIncentiveMantissa is a free data retrieval call binding the contract method 0x4ada90af.

Solidity: function liquidationIncentiveMantissa() constant returns(uint256)

func (*BindingsCaller) Markets

func (_Bindings *BindingsCaller) Markets(opts *bind.CallOpts, arg0 common.Address) (struct {
	IsListed                 bool
	CollateralFactorMantissa *big.Int
}, error)

Markets is a free data retrieval call binding the contract method 0x8e8f294b.

Solidity: function markets(address ) constant returns(bool isListed, uint256 collateralFactorMantissa)

func (*BindingsCaller) MaxAssets

func (_Bindings *BindingsCaller) MaxAssets(opts *bind.CallOpts) (*big.Int, error)

MaxAssets is a free data retrieval call binding the contract method 0x94b2294b.

Solidity: function maxAssets() constant returns(uint256)

func (*BindingsCaller) Oracle

func (_Bindings *BindingsCaller) Oracle(opts *bind.CallOpts) (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() constant returns(address)

func (*BindingsCaller) PendingAdmin

func (_Bindings *BindingsCaller) PendingAdmin(opts *bind.CallOpts) (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() constant returns(address)

func (*BindingsCaller) PendingComptrollerImplementation

func (_Bindings *BindingsCaller) PendingComptrollerImplementation(opts *bind.CallOpts) (common.Address, error)

PendingComptrollerImplementation is a free data retrieval call binding the contract method 0xdcfbc0c7.

Solidity: function pendingComptrollerImplementation() 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) AccountAssets

func (_Bindings *BindingsCallerSession) AccountAssets(arg0 common.Address, arg1 *big.Int) (common.Address, error)

AccountAssets is a free data retrieval call binding the contract method 0xdce15449.

Solidity: function accountAssets(address , uint256 ) constant returns(address)

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) CheckMembership

func (_Bindings *BindingsCallerSession) CheckMembership(account common.Address, cToken common.Address) (bool, error)

CheckMembership is a free data retrieval call binding the contract method 0x929fe9a1.

Solidity: function checkMembership(address account, address cToken) constant returns(bool)

func (*BindingsCallerSession) CloseFactorMantissa

func (_Bindings *BindingsCallerSession) CloseFactorMantissa() (*big.Int, error)

CloseFactorMantissa is a free data retrieval call binding the contract method 0xe8755446.

Solidity: function closeFactorMantissa() constant returns(uint256)

func (*BindingsCallerSession) ComptrollerImplementation

func (_Bindings *BindingsCallerSession) ComptrollerImplementation() (common.Address, error)

ComptrollerImplementation is a free data retrieval call binding the contract method 0xbb82aa5e.

Solidity: function comptrollerImplementation() constant returns(address)

func (*BindingsCallerSession) GetAccountLiquidity

func (_Bindings *BindingsCallerSession) GetAccountLiquidity(account common.Address) (*big.Int, *big.Int, *big.Int, error)

GetAccountLiquidity is a free data retrieval call binding the contract method 0x5ec88c79.

Solidity: function getAccountLiquidity(address account) constant returns(uint256, uint256, uint256)

func (*BindingsCallerSession) GetAssetsIn

func (_Bindings *BindingsCallerSession) GetAssetsIn(account common.Address) ([]common.Address, error)

GetAssetsIn is a free data retrieval call binding the contract method 0xabfceffc.

Solidity: function getAssetsIn(address account) constant returns(address[])

func (*BindingsCallerSession) IsComptroller

func (_Bindings *BindingsCallerSession) IsComptroller() (bool, error)

IsComptroller is a free data retrieval call binding the contract method 0x007e3dd2.

Solidity: function isComptroller() constant returns(bool)

func (*BindingsCallerSession) LiquidateCalculateSeizeTokens

func (_Bindings *BindingsCallerSession) LiquidateCalculateSeizeTokens(cTokenBorrowed common.Address, cTokenCollateral common.Address, repayAmount *big.Int) (*big.Int, *big.Int, error)

LiquidateCalculateSeizeTokens is a free data retrieval call binding the contract method 0xc488847b.

Solidity: function liquidateCalculateSeizeTokens(address cTokenBorrowed, address cTokenCollateral, uint256 repayAmount) constant returns(uint256, uint256)

func (*BindingsCallerSession) LiquidationIncentiveMantissa

func (_Bindings *BindingsCallerSession) LiquidationIncentiveMantissa() (*big.Int, error)

LiquidationIncentiveMantissa is a free data retrieval call binding the contract method 0x4ada90af.

Solidity: function liquidationIncentiveMantissa() constant returns(uint256)

func (*BindingsCallerSession) Markets

func (_Bindings *BindingsCallerSession) Markets(arg0 common.Address) (struct {
	IsListed                 bool
	CollateralFactorMantissa *big.Int
}, error)

Markets is a free data retrieval call binding the contract method 0x8e8f294b.

Solidity: function markets(address ) constant returns(bool isListed, uint256 collateralFactorMantissa)

func (*BindingsCallerSession) MaxAssets

func (_Bindings *BindingsCallerSession) MaxAssets() (*big.Int, error)

MaxAssets is a free data retrieval call binding the contract method 0x94b2294b.

Solidity: function maxAssets() constant returns(uint256)

func (*BindingsCallerSession) Oracle

func (_Bindings *BindingsCallerSession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() constant returns(address)

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) PendingComptrollerImplementation

func (_Bindings *BindingsCallerSession) PendingComptrollerImplementation() (common.Address, error)

PendingComptrollerImplementation is a free data retrieval call binding the contract method 0xdcfbc0c7.

Solidity: function pendingComptrollerImplementation() 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) 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) FilterMarketEntered

func (_Bindings *BindingsFilterer) FilterMarketEntered(opts *bind.FilterOpts) (*BindingsMarketEnteredIterator, error)

FilterMarketEntered is a free log retrieval operation binding the contract event 0x3ab23ab0d51cccc0c3085aec51f99228625aa1a922b3a8ca89a26b0f2027a1a5.

Solidity: event MarketEntered(address cToken, address account)

func (*BindingsFilterer) FilterMarketExited

func (_Bindings *BindingsFilterer) FilterMarketExited(opts *bind.FilterOpts) (*BindingsMarketExitedIterator, error)

FilterMarketExited is a free log retrieval operation binding the contract event 0xe699a64c18b07ac5b7301aa273f36a2287239eb9501d81950672794afba29a0d.

Solidity: event MarketExited(address cToken, address account)

func (*BindingsFilterer) FilterMarketListed

func (_Bindings *BindingsFilterer) FilterMarketListed(opts *bind.FilterOpts) (*BindingsMarketListedIterator, error)

FilterMarketListed is a free log retrieval operation binding the contract event 0xcf583bb0c569eb967f806b11601c4cb93c10310485c67add5f8362c2f212321f.

Solidity: event MarketListed(address cToken)

func (*BindingsFilterer) FilterNewCloseFactor

func (_Bindings *BindingsFilterer) FilterNewCloseFactor(opts *bind.FilterOpts) (*BindingsNewCloseFactorIterator, error)

FilterNewCloseFactor is a free log retrieval operation binding the contract event 0x3b9670cf975d26958e754b57098eaa2ac914d8d2a31b83257997b9f346110fd9.

Solidity: event NewCloseFactor(uint256 oldCloseFactorMantissa, uint256 newCloseFactorMantissa)

func (*BindingsFilterer) FilterNewCollateralFactor

func (_Bindings *BindingsFilterer) FilterNewCollateralFactor(opts *bind.FilterOpts) (*BindingsNewCollateralFactorIterator, error)

FilterNewCollateralFactor is a free log retrieval operation binding the contract event 0x70483e6592cd5182d45ac970e05bc62cdcc90e9d8ef2c2dbe686cf383bcd7fc5.

Solidity: event NewCollateralFactor(address cToken, uint256 oldCollateralFactorMantissa, uint256 newCollateralFactorMantissa)

func (*BindingsFilterer) FilterNewLiquidationIncentive

func (_Bindings *BindingsFilterer) FilterNewLiquidationIncentive(opts *bind.FilterOpts) (*BindingsNewLiquidationIncentiveIterator, error)

FilterNewLiquidationIncentive is a free log retrieval operation binding the contract event 0xaeba5a6c40a8ac138134bff1aaa65debf25971188a58804bad717f82f0ec1316.

Solidity: event NewLiquidationIncentive(uint256 oldLiquidationIncentiveMantissa, uint256 newLiquidationIncentiveMantissa)

func (*BindingsFilterer) FilterNewMaxAssets

func (_Bindings *BindingsFilterer) FilterNewMaxAssets(opts *bind.FilterOpts) (*BindingsNewMaxAssetsIterator, error)

FilterNewMaxAssets is a free log retrieval operation binding the contract event 0x7093cf1eb653f749c3ff531d6df7f92764536a7fa0d13530cd26e070780c32ea.

Solidity: event NewMaxAssets(uint256 oldMaxAssets, uint256 newMaxAssets)

func (*BindingsFilterer) FilterNewPriceOracle

func (_Bindings *BindingsFilterer) FilterNewPriceOracle(opts *bind.FilterOpts) (*BindingsNewPriceOracleIterator, error)

FilterNewPriceOracle is a free log retrieval operation binding the contract event 0xd52b2b9b7e9ee655fcb95d2e5b9e0c9f69e7ef2b8e9d2d0ea78402d576d22e22.

Solidity: event NewPriceOracle(address oldPriceOracle, address newPriceOracle)

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) ParseMarketEntered

func (_Bindings *BindingsFilterer) ParseMarketEntered(log types.Log) (*BindingsMarketEntered, error)

ParseMarketEntered is a log parse operation binding the contract event 0x3ab23ab0d51cccc0c3085aec51f99228625aa1a922b3a8ca89a26b0f2027a1a5.

Solidity: event MarketEntered(address cToken, address account)

func (*BindingsFilterer) ParseMarketExited

func (_Bindings *BindingsFilterer) ParseMarketExited(log types.Log) (*BindingsMarketExited, error)

ParseMarketExited is a log parse operation binding the contract event 0xe699a64c18b07ac5b7301aa273f36a2287239eb9501d81950672794afba29a0d.

Solidity: event MarketExited(address cToken, address account)

func (*BindingsFilterer) ParseMarketListed

func (_Bindings *BindingsFilterer) ParseMarketListed(log types.Log) (*BindingsMarketListed, error)

ParseMarketListed is a log parse operation binding the contract event 0xcf583bb0c569eb967f806b11601c4cb93c10310485c67add5f8362c2f212321f.

Solidity: event MarketListed(address cToken)

func (*BindingsFilterer) ParseNewCloseFactor

func (_Bindings *BindingsFilterer) ParseNewCloseFactor(log types.Log) (*BindingsNewCloseFactor, error)

ParseNewCloseFactor is a log parse operation binding the contract event 0x3b9670cf975d26958e754b57098eaa2ac914d8d2a31b83257997b9f346110fd9.

Solidity: event NewCloseFactor(uint256 oldCloseFactorMantissa, uint256 newCloseFactorMantissa)

func (*BindingsFilterer) ParseNewCollateralFactor

func (_Bindings *BindingsFilterer) ParseNewCollateralFactor(log types.Log) (*BindingsNewCollateralFactor, error)

ParseNewCollateralFactor is a log parse operation binding the contract event 0x70483e6592cd5182d45ac970e05bc62cdcc90e9d8ef2c2dbe686cf383bcd7fc5.

Solidity: event NewCollateralFactor(address cToken, uint256 oldCollateralFactorMantissa, uint256 newCollateralFactorMantissa)

func (*BindingsFilterer) ParseNewLiquidationIncentive

func (_Bindings *BindingsFilterer) ParseNewLiquidationIncentive(log types.Log) (*BindingsNewLiquidationIncentive, error)

ParseNewLiquidationIncentive is a log parse operation binding the contract event 0xaeba5a6c40a8ac138134bff1aaa65debf25971188a58804bad717f82f0ec1316.

Solidity: event NewLiquidationIncentive(uint256 oldLiquidationIncentiveMantissa, uint256 newLiquidationIncentiveMantissa)

func (*BindingsFilterer) ParseNewMaxAssets

func (_Bindings *BindingsFilterer) ParseNewMaxAssets(log types.Log) (*BindingsNewMaxAssets, error)

ParseNewMaxAssets is a log parse operation binding the contract event 0x7093cf1eb653f749c3ff531d6df7f92764536a7fa0d13530cd26e070780c32ea.

Solidity: event NewMaxAssets(uint256 oldMaxAssets, uint256 newMaxAssets)

func (*BindingsFilterer) ParseNewPriceOracle

func (_Bindings *BindingsFilterer) ParseNewPriceOracle(log types.Log) (*BindingsNewPriceOracle, error)

ParseNewPriceOracle is a log parse operation binding the contract event 0xd52b2b9b7e9ee655fcb95d2e5b9e0c9f69e7ef2b8e9d2d0ea78402d576d22e22.

Solidity: event NewPriceOracle(address oldPriceOracle, address newPriceOracle)

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) WatchMarketEntered

func (_Bindings *BindingsFilterer) WatchMarketEntered(opts *bind.WatchOpts, sink chan<- *BindingsMarketEntered) (event.Subscription, error)

WatchMarketEntered is a free log subscription operation binding the contract event 0x3ab23ab0d51cccc0c3085aec51f99228625aa1a922b3a8ca89a26b0f2027a1a5.

Solidity: event MarketEntered(address cToken, address account)

func (*BindingsFilterer) WatchMarketExited

func (_Bindings *BindingsFilterer) WatchMarketExited(opts *bind.WatchOpts, sink chan<- *BindingsMarketExited) (event.Subscription, error)

WatchMarketExited is a free log subscription operation binding the contract event 0xe699a64c18b07ac5b7301aa273f36a2287239eb9501d81950672794afba29a0d.

Solidity: event MarketExited(address cToken, address account)

func (*BindingsFilterer) WatchMarketListed

func (_Bindings *BindingsFilterer) WatchMarketListed(opts *bind.WatchOpts, sink chan<- *BindingsMarketListed) (event.Subscription, error)

WatchMarketListed is a free log subscription operation binding the contract event 0xcf583bb0c569eb967f806b11601c4cb93c10310485c67add5f8362c2f212321f.

Solidity: event MarketListed(address cToken)

func (*BindingsFilterer) WatchNewCloseFactor

func (_Bindings *BindingsFilterer) WatchNewCloseFactor(opts *bind.WatchOpts, sink chan<- *BindingsNewCloseFactor) (event.Subscription, error)

WatchNewCloseFactor is a free log subscription operation binding the contract event 0x3b9670cf975d26958e754b57098eaa2ac914d8d2a31b83257997b9f346110fd9.

Solidity: event NewCloseFactor(uint256 oldCloseFactorMantissa, uint256 newCloseFactorMantissa)

func (*BindingsFilterer) WatchNewCollateralFactor

func (_Bindings *BindingsFilterer) WatchNewCollateralFactor(opts *bind.WatchOpts, sink chan<- *BindingsNewCollateralFactor) (event.Subscription, error)

WatchNewCollateralFactor is a free log subscription operation binding the contract event 0x70483e6592cd5182d45ac970e05bc62cdcc90e9d8ef2c2dbe686cf383bcd7fc5.

Solidity: event NewCollateralFactor(address cToken, uint256 oldCollateralFactorMantissa, uint256 newCollateralFactorMantissa)

func (*BindingsFilterer) WatchNewLiquidationIncentive

func (_Bindings *BindingsFilterer) WatchNewLiquidationIncentive(opts *bind.WatchOpts, sink chan<- *BindingsNewLiquidationIncentive) (event.Subscription, error)

WatchNewLiquidationIncentive is a free log subscription operation binding the contract event 0xaeba5a6c40a8ac138134bff1aaa65debf25971188a58804bad717f82f0ec1316.

Solidity: event NewLiquidationIncentive(uint256 oldLiquidationIncentiveMantissa, uint256 newLiquidationIncentiveMantissa)

func (*BindingsFilterer) WatchNewMaxAssets

func (_Bindings *BindingsFilterer) WatchNewMaxAssets(opts *bind.WatchOpts, sink chan<- *BindingsNewMaxAssets) (event.Subscription, error)

WatchNewMaxAssets is a free log subscription operation binding the contract event 0x7093cf1eb653f749c3ff531d6df7f92764536a7fa0d13530cd26e070780c32ea.

Solidity: event NewMaxAssets(uint256 oldMaxAssets, uint256 newMaxAssets)

func (*BindingsFilterer) WatchNewPriceOracle

func (_Bindings *BindingsFilterer) WatchNewPriceOracle(opts *bind.WatchOpts, sink chan<- *BindingsNewPriceOracle) (event.Subscription, error)

WatchNewPriceOracle is a free log subscription operation binding the contract event 0xd52b2b9b7e9ee655fcb95d2e5b9e0c9f69e7ef2b8e9d2d0ea78402d576d22e22.

Solidity: event NewPriceOracle(address oldPriceOracle, address newPriceOracle)

type BindingsMarketEntered

type BindingsMarketEntered struct {
	CToken  common.Address
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

BindingsMarketEntered represents a MarketEntered event raised by the Bindings contract.

type BindingsMarketEnteredIterator

type BindingsMarketEnteredIterator struct {
	Event *BindingsMarketEntered // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BindingsMarketEnteredIterator is returned from FilterMarketEntered and is used to iterate over the raw logs and unpacked data for MarketEntered events raised by the Bindings contract.

func (*BindingsMarketEnteredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BindingsMarketEnteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsMarketEnteredIterator) Next

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 BindingsMarketExited

type BindingsMarketExited struct {
	CToken  common.Address
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

BindingsMarketExited represents a MarketExited event raised by the Bindings contract.

type BindingsMarketExitedIterator

type BindingsMarketExitedIterator struct {
	Event *BindingsMarketExited // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BindingsMarketExitedIterator is returned from FilterMarketExited and is used to iterate over the raw logs and unpacked data for MarketExited events raised by the Bindings contract.

func (*BindingsMarketExitedIterator) Close

func (it *BindingsMarketExitedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BindingsMarketExitedIterator) Error

func (it *BindingsMarketExitedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsMarketExitedIterator) Next

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 BindingsMarketListed

type BindingsMarketListed struct {
	CToken common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

BindingsMarketListed represents a MarketListed event raised by the Bindings contract.

type BindingsMarketListedIterator

type BindingsMarketListedIterator struct {
	Event *BindingsMarketListed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BindingsMarketListedIterator is returned from FilterMarketListed and is used to iterate over the raw logs and unpacked data for MarketListed events raised by the Bindings contract.

func (*BindingsMarketListedIterator) Close

func (it *BindingsMarketListedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BindingsMarketListedIterator) Error

func (it *BindingsMarketListedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsMarketListedIterator) Next

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 BindingsNewCloseFactor

type BindingsNewCloseFactor struct {
	OldCloseFactorMantissa *big.Int
	NewCloseFactorMantissa *big.Int
	Raw                    types.Log // Blockchain specific contextual infos
}

BindingsNewCloseFactor represents a NewCloseFactor event raised by the Bindings contract.

type BindingsNewCloseFactorIterator

type BindingsNewCloseFactorIterator struct {
	Event *BindingsNewCloseFactor // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BindingsNewCloseFactorIterator is returned from FilterNewCloseFactor and is used to iterate over the raw logs and unpacked data for NewCloseFactor events raised by the Bindings contract.

func (*BindingsNewCloseFactorIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BindingsNewCloseFactorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsNewCloseFactorIterator) Next

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 BindingsNewCollateralFactor

type BindingsNewCollateralFactor struct {
	CToken                      common.Address
	OldCollateralFactorMantissa *big.Int
	NewCollateralFactorMantissa *big.Int
	Raw                         types.Log // Blockchain specific contextual infos
}

BindingsNewCollateralFactor represents a NewCollateralFactor event raised by the Bindings contract.

type BindingsNewCollateralFactorIterator

type BindingsNewCollateralFactorIterator struct {
	Event *BindingsNewCollateralFactor // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BindingsNewCollateralFactorIterator is returned from FilterNewCollateralFactor and is used to iterate over the raw logs and unpacked data for NewCollateralFactor events raised by the Bindings contract.

func (*BindingsNewCollateralFactorIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BindingsNewCollateralFactorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsNewCollateralFactorIterator) Next

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 BindingsNewLiquidationIncentive

type BindingsNewLiquidationIncentive struct {
	OldLiquidationIncentiveMantissa *big.Int
	NewLiquidationIncentiveMantissa *big.Int
	Raw                             types.Log // Blockchain specific contextual infos
}

BindingsNewLiquidationIncentive represents a NewLiquidationIncentive event raised by the Bindings contract.

type BindingsNewLiquidationIncentiveIterator

type BindingsNewLiquidationIncentiveIterator struct {
	Event *BindingsNewLiquidationIncentive // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BindingsNewLiquidationIncentiveIterator is returned from FilterNewLiquidationIncentive and is used to iterate over the raw logs and unpacked data for NewLiquidationIncentive events raised by the Bindings contract.

func (*BindingsNewLiquidationIncentiveIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BindingsNewLiquidationIncentiveIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsNewLiquidationIncentiveIterator) Next

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 BindingsNewMaxAssets

type BindingsNewMaxAssets struct {
	OldMaxAssets *big.Int
	NewMaxAssets *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

BindingsNewMaxAssets represents a NewMaxAssets event raised by the Bindings contract.

type BindingsNewMaxAssetsIterator

type BindingsNewMaxAssetsIterator struct {
	Event *BindingsNewMaxAssets // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BindingsNewMaxAssetsIterator is returned from FilterNewMaxAssets and is used to iterate over the raw logs and unpacked data for NewMaxAssets events raised by the Bindings contract.

func (*BindingsNewMaxAssetsIterator) Close

func (it *BindingsNewMaxAssetsIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BindingsNewMaxAssetsIterator) Error

func (it *BindingsNewMaxAssetsIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsNewMaxAssetsIterator) Next

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 BindingsNewPriceOracle

type BindingsNewPriceOracle struct {
	OldPriceOracle common.Address
	NewPriceOracle common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

BindingsNewPriceOracle represents a NewPriceOracle event raised by the Bindings contract.

type BindingsNewPriceOracleIterator

type BindingsNewPriceOracleIterator struct {
	Event *BindingsNewPriceOracle // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BindingsNewPriceOracleIterator is returned from FilterNewPriceOracle and is used to iterate over the raw logs and unpacked data for NewPriceOracle events raised by the Bindings contract.

func (*BindingsNewPriceOracleIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BindingsNewPriceOracleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsNewPriceOracleIterator) Next

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 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) AccountAssets

func (_Bindings *BindingsSession) AccountAssets(arg0 common.Address, arg1 *big.Int) (common.Address, error)

AccountAssets is a free data retrieval call binding the contract method 0xdce15449.

Solidity: function accountAssets(address , uint256 ) constant returns(address)

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) Become

func (_Bindings *BindingsSession) Become(unitroller common.Address, _oracle common.Address, _closeFactorMantissa *big.Int, _maxAssets *big.Int, reinitializing bool) (*types.Transaction, error)

Become is a paid mutator transaction binding the contract method 0x32000e00.

Solidity: function _become(address unitroller, address _oracle, uint256 _closeFactorMantissa, uint256 _maxAssets, bool reinitializing) returns()

func (*BindingsSession) BorrowAllowed

func (_Bindings *BindingsSession) BorrowAllowed(cToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowAllowed is a paid mutator transaction binding the contract method 0xda3d454c.

Solidity: function borrowAllowed(address cToken, address borrower, uint256 borrowAmount) returns(uint256)

func (*BindingsSession) BorrowVerify

func (_Bindings *BindingsSession) BorrowVerify(cToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowVerify is a paid mutator transaction binding the contract method 0x5c778605.

Solidity: function borrowVerify(address cToken, address borrower, uint256 borrowAmount) returns()

func (*BindingsSession) CheckMembership

func (_Bindings *BindingsSession) CheckMembership(account common.Address, cToken common.Address) (bool, error)

CheckMembership is a free data retrieval call binding the contract method 0x929fe9a1.

Solidity: function checkMembership(address account, address cToken) constant returns(bool)

func (*BindingsSession) CloseFactorMantissa

func (_Bindings *BindingsSession) CloseFactorMantissa() (*big.Int, error)

CloseFactorMantissa is a free data retrieval call binding the contract method 0xe8755446.

Solidity: function closeFactorMantissa() constant returns(uint256)

func (*BindingsSession) ComptrollerImplementation

func (_Bindings *BindingsSession) ComptrollerImplementation() (common.Address, error)

ComptrollerImplementation is a free data retrieval call binding the contract method 0xbb82aa5e.

Solidity: function comptrollerImplementation() constant returns(address)

func (*BindingsSession) EnterMarkets

func (_Bindings *BindingsSession) EnterMarkets(cTokens []common.Address) (*types.Transaction, error)

EnterMarkets is a paid mutator transaction binding the contract method 0xc2998238.

Solidity: function enterMarkets(address[] cTokens) returns(uint256[])

func (*BindingsSession) ExitMarket

func (_Bindings *BindingsSession) ExitMarket(cTokenAddress common.Address) (*types.Transaction, error)

ExitMarket is a paid mutator transaction binding the contract method 0xede4edd0.

Solidity: function exitMarket(address cTokenAddress) returns(uint256)

func (*BindingsSession) GetAccountLiquidity

func (_Bindings *BindingsSession) GetAccountLiquidity(account common.Address) (*big.Int, *big.Int, *big.Int, error)

GetAccountLiquidity is a free data retrieval call binding the contract method 0x5ec88c79.

Solidity: function getAccountLiquidity(address account) constant returns(uint256, uint256, uint256)

func (*BindingsSession) GetAssetsIn

func (_Bindings *BindingsSession) GetAssetsIn(account common.Address) ([]common.Address, error)

GetAssetsIn is a free data retrieval call binding the contract method 0xabfceffc.

Solidity: function getAssetsIn(address account) constant returns(address[])

func (*BindingsSession) IsComptroller

func (_Bindings *BindingsSession) IsComptroller() (bool, error)

IsComptroller is a free data retrieval call binding the contract method 0x007e3dd2.

Solidity: function isComptroller() constant returns(bool)

func (*BindingsSession) LiquidateBorrowAllowed

func (_Bindings *BindingsSession) LiquidateBorrowAllowed(cTokenBorrowed common.Address, cTokenCollateral common.Address, liquidator common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

LiquidateBorrowAllowed is a paid mutator transaction binding the contract method 0x5fc7e71e.

Solidity: function liquidateBorrowAllowed(address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint256 repayAmount) returns(uint256)

func (*BindingsSession) LiquidateBorrowVerify

func (_Bindings *BindingsSession) LiquidateBorrowVerify(cTokenBorrowed common.Address, cTokenCollateral common.Address, liquidator common.Address, borrower common.Address, repayAmount *big.Int, seizeTokens *big.Int) (*types.Transaction, error)

LiquidateBorrowVerify is a paid mutator transaction binding the contract method 0x47ef3b3b.

Solidity: function liquidateBorrowVerify(address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint256 repayAmount, uint256 seizeTokens) returns()

func (*BindingsSession) LiquidateCalculateSeizeTokens

func (_Bindings *BindingsSession) LiquidateCalculateSeizeTokens(cTokenBorrowed common.Address, cTokenCollateral common.Address, repayAmount *big.Int) (*big.Int, *big.Int, error)

LiquidateCalculateSeizeTokens is a free data retrieval call binding the contract method 0xc488847b.

Solidity: function liquidateCalculateSeizeTokens(address cTokenBorrowed, address cTokenCollateral, uint256 repayAmount) constant returns(uint256, uint256)

func (*BindingsSession) LiquidationIncentiveMantissa

func (_Bindings *BindingsSession) LiquidationIncentiveMantissa() (*big.Int, error)

LiquidationIncentiveMantissa is a free data retrieval call binding the contract method 0x4ada90af.

Solidity: function liquidationIncentiveMantissa() constant returns(uint256)

func (*BindingsSession) Markets

func (_Bindings *BindingsSession) Markets(arg0 common.Address) (struct {
	IsListed                 bool
	CollateralFactorMantissa *big.Int
}, error)

Markets is a free data retrieval call binding the contract method 0x8e8f294b.

Solidity: function markets(address ) constant returns(bool isListed, uint256 collateralFactorMantissa)

func (*BindingsSession) MaxAssets

func (_Bindings *BindingsSession) MaxAssets() (*big.Int, error)

MaxAssets is a free data retrieval call binding the contract method 0x94b2294b.

Solidity: function maxAssets() constant returns(uint256)

func (*BindingsSession) MintAllowed

func (_Bindings *BindingsSession) MintAllowed(cToken common.Address, minter common.Address, mintAmount *big.Int) (*types.Transaction, error)

MintAllowed is a paid mutator transaction binding the contract method 0x4ef4c3e1.

Solidity: function mintAllowed(address cToken, address minter, uint256 mintAmount) returns(uint256)

func (*BindingsSession) MintVerify

func (_Bindings *BindingsSession) MintVerify(cToken common.Address, minter common.Address, mintAmount *big.Int, mintTokens *big.Int) (*types.Transaction, error)

MintVerify is a paid mutator transaction binding the contract method 0x41c728b9.

Solidity: function mintVerify(address cToken, address minter, uint256 mintAmount, uint256 mintTokens) returns()

func (*BindingsSession) Oracle

func (_Bindings *BindingsSession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() constant returns(address)

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) PendingComptrollerImplementation

func (_Bindings *BindingsSession) PendingComptrollerImplementation() (common.Address, error)

PendingComptrollerImplementation is a free data retrieval call binding the contract method 0xdcfbc0c7.

Solidity: function pendingComptrollerImplementation() constant returns(address)

func (*BindingsSession) RedeemAllowed

func (_Bindings *BindingsSession) RedeemAllowed(cToken common.Address, redeemer common.Address, redeemTokens *big.Int) (*types.Transaction, error)

RedeemAllowed is a paid mutator transaction binding the contract method 0xeabe7d91.

Solidity: function redeemAllowed(address cToken, address redeemer, uint256 redeemTokens) returns(uint256)

func (*BindingsSession) RedeemVerify

func (_Bindings *BindingsSession) RedeemVerify(cToken common.Address, redeemer common.Address, redeemAmount *big.Int, redeemTokens *big.Int) (*types.Transaction, error)

RedeemVerify is a paid mutator transaction binding the contract method 0x51dff989.

Solidity: function redeemVerify(address cToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens) returns()

func (*BindingsSession) RepayBorrowAllowed

func (_Bindings *BindingsSession) RepayBorrowAllowed(cToken common.Address, payer common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowAllowed is a paid mutator transaction binding the contract method 0x24008a62.

Solidity: function repayBorrowAllowed(address cToken, address payer, address borrower, uint256 repayAmount) returns(uint256)

func (*BindingsSession) RepayBorrowVerify

func (_Bindings *BindingsSession) RepayBorrowVerify(cToken common.Address, payer common.Address, borrower common.Address, repayAmount *big.Int, borrowerIndex *big.Int) (*types.Transaction, error)

RepayBorrowVerify is a paid mutator transaction binding the contract method 0x1ededc91.

Solidity: function repayBorrowVerify(address cToken, address payer, address borrower, uint256 repayAmount, uint256 borrowerIndex) returns()

func (*BindingsSession) SeizeAllowed

func (_Bindings *BindingsSession) SeizeAllowed(cTokenCollateral common.Address, cTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeAllowed is a paid mutator transaction binding the contract method 0xd02f7351.

Solidity: function seizeAllowed(address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*BindingsSession) SeizeVerify

func (_Bindings *BindingsSession) SeizeVerify(cTokenCollateral common.Address, cTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeVerify is a paid mutator transaction binding the contract method 0x6d35bf91.

Solidity: function seizeVerify(address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns()

func (*BindingsSession) SetCloseFactor

func (_Bindings *BindingsSession) SetCloseFactor(newCloseFactorMantissa *big.Int) (*types.Transaction, error)

SetCloseFactor is a paid mutator transaction binding the contract method 0x317b0b77.

Solidity: function _setCloseFactor(uint256 newCloseFactorMantissa) returns(uint256)

func (*BindingsSession) SetCollateralFactor

func (_Bindings *BindingsSession) SetCollateralFactor(cToken common.Address, newCollateralFactorMantissa *big.Int) (*types.Transaction, error)

SetCollateralFactor is a paid mutator transaction binding the contract method 0xe4028eee.

Solidity: function _setCollateralFactor(address cToken, uint256 newCollateralFactorMantissa) returns(uint256)

func (*BindingsSession) SetLiquidationIncentive

func (_Bindings *BindingsSession) SetLiquidationIncentive(newLiquidationIncentiveMantissa *big.Int) (*types.Transaction, error)

SetLiquidationIncentive is a paid mutator transaction binding the contract method 0x4fd42e17.

Solidity: function _setLiquidationIncentive(uint256 newLiquidationIncentiveMantissa) returns(uint256)

func (*BindingsSession) SetMaxAssets

func (_Bindings *BindingsSession) SetMaxAssets(newMaxAssets *big.Int) (*types.Transaction, error)

SetMaxAssets is a paid mutator transaction binding the contract method 0xd9226ced.

Solidity: function _setMaxAssets(uint256 newMaxAssets) returns(uint256)

func (*BindingsSession) SetPriceOracle

func (_Bindings *BindingsSession) SetPriceOracle(newOracle common.Address) (*types.Transaction, error)

SetPriceOracle is a paid mutator transaction binding the contract method 0x55ee1fe1.

Solidity: function _setPriceOracle(address newOracle) returns(uint256)

func (*BindingsSession) SupportMarket

func (_Bindings *BindingsSession) SupportMarket(cToken common.Address) (*types.Transaction, error)

SupportMarket is a paid mutator transaction binding the contract method 0xa76b3fda.

Solidity: function _supportMarket(address cToken) returns(uint256)

func (*BindingsSession) TransferAllowed

func (_Bindings *BindingsSession) TransferAllowed(cToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferAllowed is a paid mutator transaction binding the contract method 0xbdcdc258.

Solidity: function transferAllowed(address cToken, address src, address dst, uint256 transferTokens) returns(uint256)

func (*BindingsSession) TransferVerify

func (_Bindings *BindingsSession) TransferVerify(cToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferVerify is a paid mutator transaction binding the contract method 0x6a56947e.

Solidity: function transferVerify(address cToken, address src, address dst, uint256 transferTokens) returns()

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) Become

func (_Bindings *BindingsTransactor) Become(opts *bind.TransactOpts, unitroller common.Address, _oracle common.Address, _closeFactorMantissa *big.Int, _maxAssets *big.Int, reinitializing bool) (*types.Transaction, error)

Become is a paid mutator transaction binding the contract method 0x32000e00.

Solidity: function _become(address unitroller, address _oracle, uint256 _closeFactorMantissa, uint256 _maxAssets, bool reinitializing) returns()

func (*BindingsTransactor) BorrowAllowed

func (_Bindings *BindingsTransactor) BorrowAllowed(opts *bind.TransactOpts, cToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowAllowed is a paid mutator transaction binding the contract method 0xda3d454c.

Solidity: function borrowAllowed(address cToken, address borrower, uint256 borrowAmount) returns(uint256)

func (*BindingsTransactor) BorrowVerify

func (_Bindings *BindingsTransactor) BorrowVerify(opts *bind.TransactOpts, cToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowVerify is a paid mutator transaction binding the contract method 0x5c778605.

Solidity: function borrowVerify(address cToken, address borrower, uint256 borrowAmount) returns()

func (*BindingsTransactor) EnterMarkets

func (_Bindings *BindingsTransactor) EnterMarkets(opts *bind.TransactOpts, cTokens []common.Address) (*types.Transaction, error)

EnterMarkets is a paid mutator transaction binding the contract method 0xc2998238.

Solidity: function enterMarkets(address[] cTokens) returns(uint256[])

func (*BindingsTransactor) ExitMarket

func (_Bindings *BindingsTransactor) ExitMarket(opts *bind.TransactOpts, cTokenAddress common.Address) (*types.Transaction, error)

ExitMarket is a paid mutator transaction binding the contract method 0xede4edd0.

Solidity: function exitMarket(address cTokenAddress) returns(uint256)

func (*BindingsTransactor) LiquidateBorrowAllowed

func (_Bindings *BindingsTransactor) LiquidateBorrowAllowed(opts *bind.TransactOpts, cTokenBorrowed common.Address, cTokenCollateral common.Address, liquidator common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

LiquidateBorrowAllowed is a paid mutator transaction binding the contract method 0x5fc7e71e.

Solidity: function liquidateBorrowAllowed(address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint256 repayAmount) returns(uint256)

func (*BindingsTransactor) LiquidateBorrowVerify

func (_Bindings *BindingsTransactor) LiquidateBorrowVerify(opts *bind.TransactOpts, cTokenBorrowed common.Address, cTokenCollateral common.Address, liquidator common.Address, borrower common.Address, repayAmount *big.Int, seizeTokens *big.Int) (*types.Transaction, error)

LiquidateBorrowVerify is a paid mutator transaction binding the contract method 0x47ef3b3b.

Solidity: function liquidateBorrowVerify(address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint256 repayAmount, uint256 seizeTokens) returns()

func (*BindingsTransactor) MintAllowed

func (_Bindings *BindingsTransactor) MintAllowed(opts *bind.TransactOpts, cToken common.Address, minter common.Address, mintAmount *big.Int) (*types.Transaction, error)

MintAllowed is a paid mutator transaction binding the contract method 0x4ef4c3e1.

Solidity: function mintAllowed(address cToken, address minter, uint256 mintAmount) returns(uint256)

func (*BindingsTransactor) MintVerify

func (_Bindings *BindingsTransactor) MintVerify(opts *bind.TransactOpts, cToken common.Address, minter common.Address, mintAmount *big.Int, mintTokens *big.Int) (*types.Transaction, error)

MintVerify is a paid mutator transaction binding the contract method 0x41c728b9.

Solidity: function mintVerify(address cToken, address minter, uint256 mintAmount, uint256 mintTokens) returns()

func (*BindingsTransactor) RedeemAllowed

func (_Bindings *BindingsTransactor) RedeemAllowed(opts *bind.TransactOpts, cToken common.Address, redeemer common.Address, redeemTokens *big.Int) (*types.Transaction, error)

RedeemAllowed is a paid mutator transaction binding the contract method 0xeabe7d91.

Solidity: function redeemAllowed(address cToken, address redeemer, uint256 redeemTokens) returns(uint256)

func (*BindingsTransactor) RedeemVerify

func (_Bindings *BindingsTransactor) RedeemVerify(opts *bind.TransactOpts, cToken common.Address, redeemer common.Address, redeemAmount *big.Int, redeemTokens *big.Int) (*types.Transaction, error)

RedeemVerify is a paid mutator transaction binding the contract method 0x51dff989.

Solidity: function redeemVerify(address cToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens) returns()

func (*BindingsTransactor) RepayBorrowAllowed

func (_Bindings *BindingsTransactor) RepayBorrowAllowed(opts *bind.TransactOpts, cToken common.Address, payer common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowAllowed is a paid mutator transaction binding the contract method 0x24008a62.

Solidity: function repayBorrowAllowed(address cToken, address payer, address borrower, uint256 repayAmount) returns(uint256)

func (*BindingsTransactor) RepayBorrowVerify

func (_Bindings *BindingsTransactor) RepayBorrowVerify(opts *bind.TransactOpts, cToken common.Address, payer common.Address, borrower common.Address, repayAmount *big.Int, borrowerIndex *big.Int) (*types.Transaction, error)

RepayBorrowVerify is a paid mutator transaction binding the contract method 0x1ededc91.

Solidity: function repayBorrowVerify(address cToken, address payer, address borrower, uint256 repayAmount, uint256 borrowerIndex) returns()

func (*BindingsTransactor) SeizeAllowed

func (_Bindings *BindingsTransactor) SeizeAllowed(opts *bind.TransactOpts, cTokenCollateral common.Address, cTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeAllowed is a paid mutator transaction binding the contract method 0xd02f7351.

Solidity: function seizeAllowed(address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*BindingsTransactor) SeizeVerify

func (_Bindings *BindingsTransactor) SeizeVerify(opts *bind.TransactOpts, cTokenCollateral common.Address, cTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeVerify is a paid mutator transaction binding the contract method 0x6d35bf91.

Solidity: function seizeVerify(address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns()

func (*BindingsTransactor) SetCloseFactor

func (_Bindings *BindingsTransactor) SetCloseFactor(opts *bind.TransactOpts, newCloseFactorMantissa *big.Int) (*types.Transaction, error)

SetCloseFactor is a paid mutator transaction binding the contract method 0x317b0b77.

Solidity: function _setCloseFactor(uint256 newCloseFactorMantissa) returns(uint256)

func (*BindingsTransactor) SetCollateralFactor

func (_Bindings *BindingsTransactor) SetCollateralFactor(opts *bind.TransactOpts, cToken common.Address, newCollateralFactorMantissa *big.Int) (*types.Transaction, error)

SetCollateralFactor is a paid mutator transaction binding the contract method 0xe4028eee.

Solidity: function _setCollateralFactor(address cToken, uint256 newCollateralFactorMantissa) returns(uint256)

func (*BindingsTransactor) SetLiquidationIncentive

func (_Bindings *BindingsTransactor) SetLiquidationIncentive(opts *bind.TransactOpts, newLiquidationIncentiveMantissa *big.Int) (*types.Transaction, error)

SetLiquidationIncentive is a paid mutator transaction binding the contract method 0x4fd42e17.

Solidity: function _setLiquidationIncentive(uint256 newLiquidationIncentiveMantissa) returns(uint256)

func (*BindingsTransactor) SetMaxAssets

func (_Bindings *BindingsTransactor) SetMaxAssets(opts *bind.TransactOpts, newMaxAssets *big.Int) (*types.Transaction, error)

SetMaxAssets is a paid mutator transaction binding the contract method 0xd9226ced.

Solidity: function _setMaxAssets(uint256 newMaxAssets) returns(uint256)

func (*BindingsTransactor) SetPriceOracle

func (_Bindings *BindingsTransactor) SetPriceOracle(opts *bind.TransactOpts, newOracle common.Address) (*types.Transaction, error)

SetPriceOracle is a paid mutator transaction binding the contract method 0x55ee1fe1.

Solidity: function _setPriceOracle(address newOracle) returns(uint256)

func (*BindingsTransactor) SupportMarket

func (_Bindings *BindingsTransactor) SupportMarket(opts *bind.TransactOpts, cToken common.Address) (*types.Transaction, error)

SupportMarket is a paid mutator transaction binding the contract method 0xa76b3fda.

Solidity: function _supportMarket(address cToken) returns(uint256)

func (*BindingsTransactor) TransferAllowed

func (_Bindings *BindingsTransactor) TransferAllowed(opts *bind.TransactOpts, cToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferAllowed is a paid mutator transaction binding the contract method 0xbdcdc258.

Solidity: function transferAllowed(address cToken, address src, address dst, uint256 transferTokens) returns(uint256)

func (*BindingsTransactor) TransferVerify

func (_Bindings *BindingsTransactor) TransferVerify(opts *bind.TransactOpts, cToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferVerify is a paid mutator transaction binding the contract method 0x6a56947e.

Solidity: function transferVerify(address cToken, address src, address dst, uint256 transferTokens) returns()

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) Become

func (_Bindings *BindingsTransactorSession) Become(unitroller common.Address, _oracle common.Address, _closeFactorMantissa *big.Int, _maxAssets *big.Int, reinitializing bool) (*types.Transaction, error)

Become is a paid mutator transaction binding the contract method 0x32000e00.

Solidity: function _become(address unitroller, address _oracle, uint256 _closeFactorMantissa, uint256 _maxAssets, bool reinitializing) returns()

func (*BindingsTransactorSession) BorrowAllowed

func (_Bindings *BindingsTransactorSession) BorrowAllowed(cToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowAllowed is a paid mutator transaction binding the contract method 0xda3d454c.

Solidity: function borrowAllowed(address cToken, address borrower, uint256 borrowAmount) returns(uint256)

func (*BindingsTransactorSession) BorrowVerify

func (_Bindings *BindingsTransactorSession) BorrowVerify(cToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowVerify is a paid mutator transaction binding the contract method 0x5c778605.

Solidity: function borrowVerify(address cToken, address borrower, uint256 borrowAmount) returns()

func (*BindingsTransactorSession) EnterMarkets

func (_Bindings *BindingsTransactorSession) EnterMarkets(cTokens []common.Address) (*types.Transaction, error)

EnterMarkets is a paid mutator transaction binding the contract method 0xc2998238.

Solidity: function enterMarkets(address[] cTokens) returns(uint256[])

func (*BindingsTransactorSession) ExitMarket

func (_Bindings *BindingsTransactorSession) ExitMarket(cTokenAddress common.Address) (*types.Transaction, error)

ExitMarket is a paid mutator transaction binding the contract method 0xede4edd0.

Solidity: function exitMarket(address cTokenAddress) returns(uint256)

func (*BindingsTransactorSession) LiquidateBorrowAllowed

func (_Bindings *BindingsTransactorSession) LiquidateBorrowAllowed(cTokenBorrowed common.Address, cTokenCollateral common.Address, liquidator common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

LiquidateBorrowAllowed is a paid mutator transaction binding the contract method 0x5fc7e71e.

Solidity: function liquidateBorrowAllowed(address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint256 repayAmount) returns(uint256)

func (*BindingsTransactorSession) LiquidateBorrowVerify

func (_Bindings *BindingsTransactorSession) LiquidateBorrowVerify(cTokenBorrowed common.Address, cTokenCollateral common.Address, liquidator common.Address, borrower common.Address, repayAmount *big.Int, seizeTokens *big.Int) (*types.Transaction, error)

LiquidateBorrowVerify is a paid mutator transaction binding the contract method 0x47ef3b3b.

Solidity: function liquidateBorrowVerify(address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint256 repayAmount, uint256 seizeTokens) returns()

func (*BindingsTransactorSession) MintAllowed

func (_Bindings *BindingsTransactorSession) MintAllowed(cToken common.Address, minter common.Address, mintAmount *big.Int) (*types.Transaction, error)

MintAllowed is a paid mutator transaction binding the contract method 0x4ef4c3e1.

Solidity: function mintAllowed(address cToken, address minter, uint256 mintAmount) returns(uint256)

func (*BindingsTransactorSession) MintVerify

func (_Bindings *BindingsTransactorSession) MintVerify(cToken common.Address, minter common.Address, mintAmount *big.Int, mintTokens *big.Int) (*types.Transaction, error)

MintVerify is a paid mutator transaction binding the contract method 0x41c728b9.

Solidity: function mintVerify(address cToken, address minter, uint256 mintAmount, uint256 mintTokens) returns()

func (*BindingsTransactorSession) RedeemAllowed

func (_Bindings *BindingsTransactorSession) RedeemAllowed(cToken common.Address, redeemer common.Address, redeemTokens *big.Int) (*types.Transaction, error)

RedeemAllowed is a paid mutator transaction binding the contract method 0xeabe7d91.

Solidity: function redeemAllowed(address cToken, address redeemer, uint256 redeemTokens) returns(uint256)

func (*BindingsTransactorSession) RedeemVerify

func (_Bindings *BindingsTransactorSession) RedeemVerify(cToken common.Address, redeemer common.Address, redeemAmount *big.Int, redeemTokens *big.Int) (*types.Transaction, error)

RedeemVerify is a paid mutator transaction binding the contract method 0x51dff989.

Solidity: function redeemVerify(address cToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens) returns()

func (*BindingsTransactorSession) RepayBorrowAllowed

func (_Bindings *BindingsTransactorSession) RepayBorrowAllowed(cToken common.Address, payer common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowAllowed is a paid mutator transaction binding the contract method 0x24008a62.

Solidity: function repayBorrowAllowed(address cToken, address payer, address borrower, uint256 repayAmount) returns(uint256)

func (*BindingsTransactorSession) RepayBorrowVerify

func (_Bindings *BindingsTransactorSession) RepayBorrowVerify(cToken common.Address, payer common.Address, borrower common.Address, repayAmount *big.Int, borrowerIndex *big.Int) (*types.Transaction, error)

RepayBorrowVerify is a paid mutator transaction binding the contract method 0x1ededc91.

Solidity: function repayBorrowVerify(address cToken, address payer, address borrower, uint256 repayAmount, uint256 borrowerIndex) returns()

func (*BindingsTransactorSession) SeizeAllowed

func (_Bindings *BindingsTransactorSession) SeizeAllowed(cTokenCollateral common.Address, cTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeAllowed is a paid mutator transaction binding the contract method 0xd02f7351.

Solidity: function seizeAllowed(address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*BindingsTransactorSession) SeizeVerify

func (_Bindings *BindingsTransactorSession) SeizeVerify(cTokenCollateral common.Address, cTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeVerify is a paid mutator transaction binding the contract method 0x6d35bf91.

Solidity: function seizeVerify(address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns()

func (*BindingsTransactorSession) SetCloseFactor

func (_Bindings *BindingsTransactorSession) SetCloseFactor(newCloseFactorMantissa *big.Int) (*types.Transaction, error)

SetCloseFactor is a paid mutator transaction binding the contract method 0x317b0b77.

Solidity: function _setCloseFactor(uint256 newCloseFactorMantissa) returns(uint256)

func (*BindingsTransactorSession) SetCollateralFactor

func (_Bindings *BindingsTransactorSession) SetCollateralFactor(cToken common.Address, newCollateralFactorMantissa *big.Int) (*types.Transaction, error)

SetCollateralFactor is a paid mutator transaction binding the contract method 0xe4028eee.

Solidity: function _setCollateralFactor(address cToken, uint256 newCollateralFactorMantissa) returns(uint256)

func (*BindingsTransactorSession) SetLiquidationIncentive

func (_Bindings *BindingsTransactorSession) SetLiquidationIncentive(newLiquidationIncentiveMantissa *big.Int) (*types.Transaction, error)

SetLiquidationIncentive is a paid mutator transaction binding the contract method 0x4fd42e17.

Solidity: function _setLiquidationIncentive(uint256 newLiquidationIncentiveMantissa) returns(uint256)

func (*BindingsTransactorSession) SetMaxAssets

func (_Bindings *BindingsTransactorSession) SetMaxAssets(newMaxAssets *big.Int) (*types.Transaction, error)

SetMaxAssets is a paid mutator transaction binding the contract method 0xd9226ced.

Solidity: function _setMaxAssets(uint256 newMaxAssets) returns(uint256)

func (*BindingsTransactorSession) SetPriceOracle

func (_Bindings *BindingsTransactorSession) SetPriceOracle(newOracle common.Address) (*types.Transaction, error)

SetPriceOracle is a paid mutator transaction binding the contract method 0x55ee1fe1.

Solidity: function _setPriceOracle(address newOracle) returns(uint256)

func (*BindingsTransactorSession) SupportMarket

func (_Bindings *BindingsTransactorSession) SupportMarket(cToken common.Address) (*types.Transaction, error)

SupportMarket is a paid mutator transaction binding the contract method 0xa76b3fda.

Solidity: function _supportMarket(address cToken) returns(uint256)

func (*BindingsTransactorSession) TransferAllowed

func (_Bindings *BindingsTransactorSession) TransferAllowed(cToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferAllowed is a paid mutator transaction binding the contract method 0xbdcdc258.

Solidity: function transferAllowed(address cToken, address src, address dst, uint256 transferTokens) returns(uint256)

func (*BindingsTransactorSession) TransferVerify

func (_Bindings *BindingsTransactorSession) TransferVerify(cToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferVerify is a paid mutator transaction binding the contract method 0x6a56947e.

Solidity: function transferVerify(address cToken, address src, address dst, uint256 transferTokens) returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL