Documentation ¶
Index ¶
- Constants
- type ActionsActionArgs
- type MarginVaultVault
- type OtokenController
- type OtokenControllerAccountOperatorUpdated
- type OtokenControllerAccountOperatorUpdatedIterator
- type OtokenControllerCallExecuted
- type OtokenControllerCallExecutedIterator
- type OtokenControllerCallRestricted
- type OtokenControllerCallRestrictedIterator
- type OtokenControllerCaller
- func (_OtokenController *OtokenControllerCaller) Addressbook(opts *bind.CallOpts) (common.Address, error)
- func (_OtokenController *OtokenControllerCaller) Calculator(opts *bind.CallOpts) (common.Address, error)
- func (_OtokenController *OtokenControllerCaller) CallRestricted(opts *bind.CallOpts) (bool, error)
- func (_OtokenController *OtokenControllerCaller) FullPauser(opts *bind.CallOpts) (common.Address, error)
- func (_OtokenController *OtokenControllerCaller) GetAccountVaultCounter(opts *bind.CallOpts, _accountOwner common.Address) (*big.Int, error)
- func (_OtokenController *OtokenControllerCaller) GetConfiguration(opts *bind.CallOpts) (common.Address, common.Address, common.Address, common.Address, error)
- func (_OtokenController *OtokenControllerCaller) GetPayout(opts *bind.CallOpts, _otoken common.Address, _amount *big.Int) (*big.Int, error)
- func (_OtokenController *OtokenControllerCaller) GetProceed(opts *bind.CallOpts, _owner common.Address, _vaultId *big.Int) (*big.Int, error)
- func (_OtokenController *OtokenControllerCaller) GetVault(opts *bind.CallOpts, _owner common.Address, _vaultId *big.Int) (MarginVaultVault, error)
- func (_OtokenController *OtokenControllerCaller) HasExpired(opts *bind.CallOpts, _otoken common.Address) (bool, error)
- func (_OtokenController *OtokenControllerCaller) IsOperator(opts *bind.CallOpts, _owner common.Address, _operator common.Address) (bool, error)
- func (_OtokenController *OtokenControllerCaller) IsSettlementAllowed(opts *bind.CallOpts, _otoken common.Address) (bool, error)
- func (_OtokenController *OtokenControllerCaller) Oracle(opts *bind.CallOpts) (common.Address, error)
- func (_OtokenController *OtokenControllerCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_OtokenController *OtokenControllerCaller) PartialPauser(opts *bind.CallOpts) (common.Address, error)
- func (_OtokenController *OtokenControllerCaller) Pool(opts *bind.CallOpts) (common.Address, error)
- func (_OtokenController *OtokenControllerCaller) SystemFullyPaused(opts *bind.CallOpts) (bool, error)
- func (_OtokenController *OtokenControllerCaller) SystemPartiallyPaused(opts *bind.CallOpts) (bool, error)
- func (_OtokenController *OtokenControllerCaller) Whitelist(opts *bind.CallOpts) (common.Address, error)
- type OtokenControllerCallerRaw
- type OtokenControllerCallerSession
- func (_OtokenController *OtokenControllerCallerSession) Addressbook() (common.Address, error)
- func (_OtokenController *OtokenControllerCallerSession) Calculator() (common.Address, error)
- func (_OtokenController *OtokenControllerCallerSession) CallRestricted() (bool, error)
- func (_OtokenController *OtokenControllerCallerSession) FullPauser() (common.Address, error)
- func (_OtokenController *OtokenControllerCallerSession) GetAccountVaultCounter(_accountOwner common.Address) (*big.Int, error)
- func (_OtokenController *OtokenControllerCallerSession) GetConfiguration() (common.Address, common.Address, common.Address, common.Address, error)
- func (_OtokenController *OtokenControllerCallerSession) GetPayout(_otoken common.Address, _amount *big.Int) (*big.Int, error)
- func (_OtokenController *OtokenControllerCallerSession) GetProceed(_owner common.Address, _vaultId *big.Int) (*big.Int, error)
- func (_OtokenController *OtokenControllerCallerSession) GetVault(_owner common.Address, _vaultId *big.Int) (MarginVaultVault, error)
- func (_OtokenController *OtokenControllerCallerSession) HasExpired(_otoken common.Address) (bool, error)
- func (_OtokenController *OtokenControllerCallerSession) IsOperator(_owner common.Address, _operator common.Address) (bool, error)
- func (_OtokenController *OtokenControllerCallerSession) IsSettlementAllowed(_otoken common.Address) (bool, error)
- func (_OtokenController *OtokenControllerCallerSession) Oracle() (common.Address, error)
- func (_OtokenController *OtokenControllerCallerSession) Owner() (common.Address, error)
- func (_OtokenController *OtokenControllerCallerSession) PartialPauser() (common.Address, error)
- func (_OtokenController *OtokenControllerCallerSession) Pool() (common.Address, error)
- func (_OtokenController *OtokenControllerCallerSession) SystemFullyPaused() (bool, error)
- func (_OtokenController *OtokenControllerCallerSession) SystemPartiallyPaused() (bool, error)
- func (_OtokenController *OtokenControllerCallerSession) Whitelist() (common.Address, error)
- type OtokenControllerCollateralAssetDeposited
- type OtokenControllerCollateralAssetDepositedIterator
- type OtokenControllerCollateralAssetWithdrawed
- type OtokenControllerCollateralAssetWithdrawedIterator
- type OtokenControllerFilterer
- func (_OtokenController *OtokenControllerFilterer) FilterAccountOperatorUpdated(opts *bind.FilterOpts, accountOwner []common.Address, ...) (*OtokenControllerAccountOperatorUpdatedIterator, error)
- func (_OtokenController *OtokenControllerFilterer) FilterCallExecuted(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*OtokenControllerCallExecutedIterator, error)
- func (_OtokenController *OtokenControllerFilterer) FilterCallRestricted(opts *bind.FilterOpts) (*OtokenControllerCallRestrictedIterator, error)
- func (_OtokenController *OtokenControllerFilterer) FilterCollateralAssetDeposited(opts *bind.FilterOpts, asset []common.Address, accountOwner []common.Address, ...) (*OtokenControllerCollateralAssetDepositedIterator, error)
- func (_OtokenController *OtokenControllerFilterer) FilterCollateralAssetWithdrawed(opts *bind.FilterOpts, asset []common.Address, AccountOwner []common.Address, ...) (*OtokenControllerCollateralAssetWithdrawedIterator, error)
- func (_OtokenController *OtokenControllerFilterer) FilterFullPauserUpdated(opts *bind.FilterOpts, oldFullPauser []common.Address, ...) (*OtokenControllerFullPauserUpdatedIterator, error)
- func (_OtokenController *OtokenControllerFilterer) FilterLongOtokenDeposited(opts *bind.FilterOpts, otoken []common.Address, accountOwner []common.Address, ...) (*OtokenControllerLongOtokenDepositedIterator, error)
- func (_OtokenController *OtokenControllerFilterer) FilterLongOtokenWithdrawed(opts *bind.FilterOpts, otoken []common.Address, AccountOwner []common.Address, ...) (*OtokenControllerLongOtokenWithdrawedIterator, error)
- func (_OtokenController *OtokenControllerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OtokenControllerOwnershipTransferredIterator, error)
- func (_OtokenController *OtokenControllerFilterer) FilterPartialPauserUpdated(opts *bind.FilterOpts, oldPartialPauser []common.Address, ...) (*OtokenControllerPartialPauserUpdatedIterator, error)
- func (_OtokenController *OtokenControllerFilterer) FilterRedeem(opts *bind.FilterOpts, otoken []common.Address, redeemer []common.Address, ...) (*OtokenControllerRedeemIterator, error)
- func (_OtokenController *OtokenControllerFilterer) FilterShortOtokenBurned(opts *bind.FilterOpts, otoken []common.Address, AccountOwner []common.Address, ...) (*OtokenControllerShortOtokenBurnedIterator, error)
- func (_OtokenController *OtokenControllerFilterer) FilterShortOtokenMinted(opts *bind.FilterOpts, otoken []common.Address, AccountOwner []common.Address, ...) (*OtokenControllerShortOtokenMintedIterator, error)
- func (_OtokenController *OtokenControllerFilterer) FilterSystemFullyPaused(opts *bind.FilterOpts) (*OtokenControllerSystemFullyPausedIterator, error)
- func (_OtokenController *OtokenControllerFilterer) FilterSystemPartiallyPaused(opts *bind.FilterOpts) (*OtokenControllerSystemPartiallyPausedIterator, error)
- func (_OtokenController *OtokenControllerFilterer) FilterVaultOpened(opts *bind.FilterOpts, accountOwner []common.Address) (*OtokenControllerVaultOpenedIterator, error)
- func (_OtokenController *OtokenControllerFilterer) FilterVaultSettled(opts *bind.FilterOpts, AccountOwner []common.Address, to []common.Address, ...) (*OtokenControllerVaultSettledIterator, error)
- func (_OtokenController *OtokenControllerFilterer) ParseAccountOperatorUpdated(log types.Log) (*OtokenControllerAccountOperatorUpdated, error)
- func (_OtokenController *OtokenControllerFilterer) ParseCallExecuted(log types.Log) (*OtokenControllerCallExecuted, error)
- func (_OtokenController *OtokenControllerFilterer) ParseCallRestricted(log types.Log) (*OtokenControllerCallRestricted, error)
- func (_OtokenController *OtokenControllerFilterer) ParseCollateralAssetDeposited(log types.Log) (*OtokenControllerCollateralAssetDeposited, error)
- func (_OtokenController *OtokenControllerFilterer) ParseCollateralAssetWithdrawed(log types.Log) (*OtokenControllerCollateralAssetWithdrawed, error)
- func (_OtokenController *OtokenControllerFilterer) ParseFullPauserUpdated(log types.Log) (*OtokenControllerFullPauserUpdated, error)
- func (_OtokenController *OtokenControllerFilterer) ParseLongOtokenDeposited(log types.Log) (*OtokenControllerLongOtokenDeposited, error)
- func (_OtokenController *OtokenControllerFilterer) ParseLongOtokenWithdrawed(log types.Log) (*OtokenControllerLongOtokenWithdrawed, error)
- func (_OtokenController *OtokenControllerFilterer) ParseOwnershipTransferred(log types.Log) (*OtokenControllerOwnershipTransferred, error)
- func (_OtokenController *OtokenControllerFilterer) ParsePartialPauserUpdated(log types.Log) (*OtokenControllerPartialPauserUpdated, error)
- func (_OtokenController *OtokenControllerFilterer) ParseRedeem(log types.Log) (*OtokenControllerRedeem, error)
- func (_OtokenController *OtokenControllerFilterer) ParseShortOtokenBurned(log types.Log) (*OtokenControllerShortOtokenBurned, error)
- func (_OtokenController *OtokenControllerFilterer) ParseShortOtokenMinted(log types.Log) (*OtokenControllerShortOtokenMinted, error)
- func (_OtokenController *OtokenControllerFilterer) ParseSystemFullyPaused(log types.Log) (*OtokenControllerSystemFullyPaused, error)
- func (_OtokenController *OtokenControllerFilterer) ParseSystemPartiallyPaused(log types.Log) (*OtokenControllerSystemPartiallyPaused, error)
- func (_OtokenController *OtokenControllerFilterer) ParseVaultOpened(log types.Log) (*OtokenControllerVaultOpened, error)
- func (_OtokenController *OtokenControllerFilterer) ParseVaultSettled(log types.Log) (*OtokenControllerVaultSettled, error)
- func (_OtokenController *OtokenControllerFilterer) WatchAccountOperatorUpdated(opts *bind.WatchOpts, sink chan<- *OtokenControllerAccountOperatorUpdated, ...) (event.Subscription, error)
- func (_OtokenController *OtokenControllerFilterer) WatchCallExecuted(opts *bind.WatchOpts, sink chan<- *OtokenControllerCallExecuted, ...) (event.Subscription, error)
- func (_OtokenController *OtokenControllerFilterer) WatchCallRestricted(opts *bind.WatchOpts, sink chan<- *OtokenControllerCallRestricted) (event.Subscription, error)
- func (_OtokenController *OtokenControllerFilterer) WatchCollateralAssetDeposited(opts *bind.WatchOpts, sink chan<- *OtokenControllerCollateralAssetDeposited, ...) (event.Subscription, error)
- func (_OtokenController *OtokenControllerFilterer) WatchCollateralAssetWithdrawed(opts *bind.WatchOpts, sink chan<- *OtokenControllerCollateralAssetWithdrawed, ...) (event.Subscription, error)
- func (_OtokenController *OtokenControllerFilterer) WatchFullPauserUpdated(opts *bind.WatchOpts, sink chan<- *OtokenControllerFullPauserUpdated, ...) (event.Subscription, error)
- func (_OtokenController *OtokenControllerFilterer) WatchLongOtokenDeposited(opts *bind.WatchOpts, sink chan<- *OtokenControllerLongOtokenDeposited, ...) (event.Subscription, error)
- func (_OtokenController *OtokenControllerFilterer) WatchLongOtokenWithdrawed(opts *bind.WatchOpts, sink chan<- *OtokenControllerLongOtokenWithdrawed, ...) (event.Subscription, error)
- func (_OtokenController *OtokenControllerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OtokenControllerOwnershipTransferred, ...) (event.Subscription, error)
- func (_OtokenController *OtokenControllerFilterer) WatchPartialPauserUpdated(opts *bind.WatchOpts, sink chan<- *OtokenControllerPartialPauserUpdated, ...) (event.Subscription, error)
- func (_OtokenController *OtokenControllerFilterer) WatchRedeem(opts *bind.WatchOpts, sink chan<- *OtokenControllerRedeem, ...) (event.Subscription, error)
- func (_OtokenController *OtokenControllerFilterer) WatchShortOtokenBurned(opts *bind.WatchOpts, sink chan<- *OtokenControllerShortOtokenBurned, ...) (event.Subscription, error)
- func (_OtokenController *OtokenControllerFilterer) WatchShortOtokenMinted(opts *bind.WatchOpts, sink chan<- *OtokenControllerShortOtokenMinted, ...) (event.Subscription, error)
- func (_OtokenController *OtokenControllerFilterer) WatchSystemFullyPaused(opts *bind.WatchOpts, sink chan<- *OtokenControllerSystemFullyPaused) (event.Subscription, error)
- func (_OtokenController *OtokenControllerFilterer) WatchSystemPartiallyPaused(opts *bind.WatchOpts, sink chan<- *OtokenControllerSystemPartiallyPaused) (event.Subscription, error)
- func (_OtokenController *OtokenControllerFilterer) WatchVaultOpened(opts *bind.WatchOpts, sink chan<- *OtokenControllerVaultOpened, ...) (event.Subscription, error)
- func (_OtokenController *OtokenControllerFilterer) WatchVaultSettled(opts *bind.WatchOpts, sink chan<- *OtokenControllerVaultSettled, ...) (event.Subscription, error)
- type OtokenControllerFullPauserUpdated
- type OtokenControllerFullPauserUpdatedIterator
- type OtokenControllerLongOtokenDeposited
- type OtokenControllerLongOtokenDepositedIterator
- type OtokenControllerLongOtokenWithdrawed
- type OtokenControllerLongOtokenWithdrawedIterator
- type OtokenControllerOwnershipTransferred
- type OtokenControllerOwnershipTransferredIterator
- type OtokenControllerPartialPauserUpdated
- type OtokenControllerPartialPauserUpdatedIterator
- type OtokenControllerRaw
- func (_OtokenController *OtokenControllerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_OtokenController *OtokenControllerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OtokenControllerRedeem
- type OtokenControllerRedeemIterator
- type OtokenControllerSession
- func (_OtokenController *OtokenControllerSession) Addressbook() (common.Address, error)
- func (_OtokenController *OtokenControllerSession) Calculator() (common.Address, error)
- func (_OtokenController *OtokenControllerSession) CallRestricted() (bool, error)
- func (_OtokenController *OtokenControllerSession) FullPauser() (common.Address, error)
- func (_OtokenController *OtokenControllerSession) GetAccountVaultCounter(_accountOwner common.Address) (*big.Int, error)
- func (_OtokenController *OtokenControllerSession) GetConfiguration() (common.Address, common.Address, common.Address, common.Address, error)
- func (_OtokenController *OtokenControllerSession) GetPayout(_otoken common.Address, _amount *big.Int) (*big.Int, error)
- func (_OtokenController *OtokenControllerSession) GetProceed(_owner common.Address, _vaultId *big.Int) (*big.Int, error)
- func (_OtokenController *OtokenControllerSession) GetVault(_owner common.Address, _vaultId *big.Int) (MarginVaultVault, error)
- func (_OtokenController *OtokenControllerSession) HasExpired(_otoken common.Address) (bool, error)
- func (_OtokenController *OtokenControllerSession) Initialize(_addressBook common.Address, _owner common.Address) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerSession) IsOperator(_owner common.Address, _operator common.Address) (bool, error)
- func (_OtokenController *OtokenControllerSession) IsSettlementAllowed(_otoken common.Address) (bool, error)
- func (_OtokenController *OtokenControllerSession) Operate(_actions []ActionsActionArgs) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerSession) Oracle() (common.Address, error)
- func (_OtokenController *OtokenControllerSession) Owner() (common.Address, error)
- func (_OtokenController *OtokenControllerSession) PartialPauser() (common.Address, error)
- func (_OtokenController *OtokenControllerSession) Pool() (common.Address, error)
- func (_OtokenController *OtokenControllerSession) RefreshConfiguration() (*types.Transaction, error)
- func (_OtokenController *OtokenControllerSession) RenounceOwnership() (*types.Transaction, error)
- func (_OtokenController *OtokenControllerSession) SetCallRestriction(_isRestricted bool) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerSession) SetFullPauser(_fullPauser common.Address) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerSession) SetOperator(_operator common.Address, _isOperator bool) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerSession) SetPartialPauser(_partialPauser common.Address) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerSession) SetSystemFullyPaused(_fullyPaused bool) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerSession) SetSystemPartiallyPaused(_partiallyPaused bool) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerSession) SystemFullyPaused() (bool, error)
- func (_OtokenController *OtokenControllerSession) SystemPartiallyPaused() (bool, error)
- func (_OtokenController *OtokenControllerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerSession) Whitelist() (common.Address, error)
- type OtokenControllerShortOtokenBurned
- type OtokenControllerShortOtokenBurnedIterator
- type OtokenControllerShortOtokenMinted
- type OtokenControllerShortOtokenMintedIterator
- type OtokenControllerSystemFullyPaused
- type OtokenControllerSystemFullyPausedIterator
- type OtokenControllerSystemPartiallyPaused
- type OtokenControllerSystemPartiallyPausedIterator
- type OtokenControllerTransactor
- func (_OtokenController *OtokenControllerTransactor) Initialize(opts *bind.TransactOpts, _addressBook common.Address, _owner common.Address) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactor) Operate(opts *bind.TransactOpts, _actions []ActionsActionArgs) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactor) RefreshConfiguration(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactor) SetCallRestriction(opts *bind.TransactOpts, _isRestricted bool) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactor) SetFullPauser(opts *bind.TransactOpts, _fullPauser common.Address) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactor) SetOperator(opts *bind.TransactOpts, _operator common.Address, _isOperator bool) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactor) SetPartialPauser(opts *bind.TransactOpts, _partialPauser common.Address) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactor) SetSystemFullyPaused(opts *bind.TransactOpts, _fullyPaused bool) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactor) SetSystemPartiallyPaused(opts *bind.TransactOpts, _partiallyPaused bool) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type OtokenControllerTransactorRaw
- type OtokenControllerTransactorSession
- func (_OtokenController *OtokenControllerTransactorSession) Initialize(_addressBook common.Address, _owner common.Address) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactorSession) Operate(_actions []ActionsActionArgs) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactorSession) RefreshConfiguration() (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactorSession) SetCallRestriction(_isRestricted bool) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactorSession) SetFullPauser(_fullPauser common.Address) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactorSession) SetOperator(_operator common.Address, _isOperator bool) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactorSession) SetPartialPauser(_partialPauser common.Address) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactorSession) SetSystemFullyPaused(_fullyPaused bool) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactorSession) SetSystemPartiallyPaused(_partiallyPaused bool) (*types.Transaction, error)
- func (_OtokenController *OtokenControllerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type OtokenControllerVaultOpened
- type OtokenControllerVaultOpenedIterator
- type OtokenControllerVaultSettled
- type OtokenControllerVaultSettledIterator
Constants ¶
const OtokenControllerABI = "" /* 14327-byte string literal not displayed */
OtokenControllerABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionsActionArgs ¶
type ActionsActionArgs struct { ActionType uint8 Owner common.Address SecondAddress common.Address Asset common.Address VaultId *big.Int Amount *big.Int Index *big.Int Data []byte }
ActionsActionArgs is an auto generated low-level Go binding around an user-defined struct.
type MarginVaultVault ¶
type MarginVaultVault struct { ShortOtokens []common.Address LongOtokens []common.Address CollateralAssets []common.Address ShortAmounts []*big.Int LongAmounts []*big.Int CollateralAmounts []*big.Int }
MarginVaultVault is an auto generated low-level Go binding around an user-defined struct.
type OtokenController ¶
type OtokenController struct { OtokenControllerCaller // Read-only binding to the contract OtokenControllerTransactor // Write-only binding to the contract OtokenControllerFilterer // Log filterer for contract events }
OtokenController is an auto generated Go binding around an Ethereum contract.
func NewOtokenController ¶
func NewOtokenController(address common.Address, backend bind.ContractBackend) (*OtokenController, error)
NewOtokenController creates a new instance of OtokenController, bound to a specific deployed contract.
type OtokenControllerAccountOperatorUpdated ¶
type OtokenControllerAccountOperatorUpdated struct { AccountOwner common.Address Operator common.Address IsSet bool Raw types.Log // Blockchain specific contextual infos }
OtokenControllerAccountOperatorUpdated represents a AccountOperatorUpdated event raised by the OtokenController contract.
type OtokenControllerAccountOperatorUpdatedIterator ¶
type OtokenControllerAccountOperatorUpdatedIterator struct { Event *OtokenControllerAccountOperatorUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OtokenControllerAccountOperatorUpdatedIterator is returned from FilterAccountOperatorUpdated and is used to iterate over the raw logs and unpacked data for AccountOperatorUpdated events raised by the OtokenController contract.
func (*OtokenControllerAccountOperatorUpdatedIterator) Close ¶
func (it *OtokenControllerAccountOperatorUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OtokenControllerAccountOperatorUpdatedIterator) Error ¶
func (it *OtokenControllerAccountOperatorUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OtokenControllerAccountOperatorUpdatedIterator) Next ¶
func (it *OtokenControllerAccountOperatorUpdatedIterator) 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 OtokenControllerCallExecuted ¶
type OtokenControllerCallExecuted struct { From common.Address To common.Address Data []byte Raw types.Log // Blockchain specific contextual infos }
OtokenControllerCallExecuted represents a CallExecuted event raised by the OtokenController contract.
type OtokenControllerCallExecutedIterator ¶
type OtokenControllerCallExecutedIterator struct { Event *OtokenControllerCallExecuted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OtokenControllerCallExecutedIterator is returned from FilterCallExecuted and is used to iterate over the raw logs and unpacked data for CallExecuted events raised by the OtokenController contract.
func (*OtokenControllerCallExecutedIterator) Close ¶
func (it *OtokenControllerCallExecutedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OtokenControllerCallExecutedIterator) Error ¶
func (it *OtokenControllerCallExecutedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OtokenControllerCallExecutedIterator) Next ¶
func (it *OtokenControllerCallExecutedIterator) 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 OtokenControllerCallRestricted ¶
type OtokenControllerCallRestricted struct { IsRestricted bool Raw types.Log // Blockchain specific contextual infos }
OtokenControllerCallRestricted represents a CallRestricted event raised by the OtokenController contract.
type OtokenControllerCallRestrictedIterator ¶
type OtokenControllerCallRestrictedIterator struct { Event *OtokenControllerCallRestricted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OtokenControllerCallRestrictedIterator is returned from FilterCallRestricted and is used to iterate over the raw logs and unpacked data for CallRestricted events raised by the OtokenController contract.
func (*OtokenControllerCallRestrictedIterator) Close ¶
func (it *OtokenControllerCallRestrictedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OtokenControllerCallRestrictedIterator) Error ¶
func (it *OtokenControllerCallRestrictedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OtokenControllerCallRestrictedIterator) Next ¶
func (it *OtokenControllerCallRestrictedIterator) 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 OtokenControllerCaller ¶
type OtokenControllerCaller struct {
// contains filtered or unexported fields
}
OtokenControllerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOtokenControllerCaller ¶
func NewOtokenControllerCaller(address common.Address, caller bind.ContractCaller) (*OtokenControllerCaller, error)
NewOtokenControllerCaller creates a new read-only instance of OtokenController, bound to a specific deployed contract.
func (*OtokenControllerCaller) Addressbook ¶
func (_OtokenController *OtokenControllerCaller) Addressbook(opts *bind.CallOpts) (common.Address, error)
Addressbook is a free data retrieval call binding the contract method 0x70dc320c.
Solidity: function addressbook() view returns(address)
func (*OtokenControllerCaller) Calculator ¶
func (_OtokenController *OtokenControllerCaller) Calculator(opts *bind.CallOpts) (common.Address, error)
Calculator is a free data retrieval call binding the contract method 0xce3e39c0.
Solidity: function calculator() view returns(address)
func (*OtokenControllerCaller) CallRestricted ¶
func (_OtokenController *OtokenControllerCaller) CallRestricted(opts *bind.CallOpts) (bool, error)
CallRestricted is a free data retrieval call binding the contract method 0x6c0c3b99.
Solidity: function callRestricted() view returns(bool)
func (*OtokenControllerCaller) FullPauser ¶
func (_OtokenController *OtokenControllerCaller) FullPauser(opts *bind.CallOpts) (common.Address, error)
FullPauser is a free data retrieval call binding the contract method 0x29729d88.
Solidity: function fullPauser() view returns(address)
func (*OtokenControllerCaller) GetAccountVaultCounter ¶
func (_OtokenController *OtokenControllerCaller) GetAccountVaultCounter(opts *bind.CallOpts, _accountOwner common.Address) (*big.Int, error)
GetAccountVaultCounter is a free data retrieval call binding the contract method 0xcaa6d21a.
Solidity: function getAccountVaultCounter(address _accountOwner) view returns(uint256)
func (*OtokenControllerCaller) GetConfiguration ¶
func (_OtokenController *OtokenControllerCaller) GetConfiguration(opts *bind.CallOpts) (common.Address, common.Address, common.Address, common.Address, error)
GetConfiguration is a free data retrieval call binding the contract method 0x6bd50cef.
Solidity: function getConfiguration() view returns(address, address, address, address)
func (*OtokenControllerCaller) GetPayout ¶
func (_OtokenController *OtokenControllerCaller) GetPayout(opts *bind.CallOpts, _otoken common.Address, _amount *big.Int) (*big.Int, error)
GetPayout is a free data retrieval call binding the contract method 0x565eea19.
Solidity: function getPayout(address _otoken, uint256 _amount) view returns(uint256)
func (*OtokenControllerCaller) GetProceed ¶
func (_OtokenController *OtokenControllerCaller) GetProceed(opts *bind.CallOpts, _owner common.Address, _vaultId *big.Int) (*big.Int, error)
GetProceed is a free data retrieval call binding the contract method 0xc220101d.
Solidity: function getProceed(address _owner, uint256 _vaultId) view returns(uint256)
func (*OtokenControllerCaller) GetVault ¶
func (_OtokenController *OtokenControllerCaller) GetVault(opts *bind.CallOpts, _owner common.Address, _vaultId *big.Int) (MarginVaultVault, error)
GetVault is a free data retrieval call binding the contract method 0xd99d13f5.
Solidity: function getVault(address _owner, uint256 _vaultId) view returns((address[],address[],address[],uint256[],uint256[],uint256[]))
func (*OtokenControllerCaller) HasExpired ¶
func (_OtokenController *OtokenControllerCaller) HasExpired(opts *bind.CallOpts, _otoken common.Address) (bool, error)
HasExpired is a free data retrieval call binding the contract method 0xf77bc88b.
Solidity: function hasExpired(address _otoken) view returns(bool)
func (*OtokenControllerCaller) IsOperator ¶
func (_OtokenController *OtokenControllerCaller) IsOperator(opts *bind.CallOpts, _owner common.Address, _operator common.Address) (bool, error)
IsOperator is a free data retrieval call binding the contract method 0xb6363cf2.
Solidity: function isOperator(address _owner, address _operator) view returns(bool)
func (*OtokenControllerCaller) IsSettlementAllowed ¶
func (_OtokenController *OtokenControllerCaller) IsSettlementAllowed(opts *bind.CallOpts, _otoken common.Address) (bool, error)
IsSettlementAllowed is a free data retrieval call binding the contract method 0xe723406c.
Solidity: function isSettlementAllowed(address _otoken) view returns(bool)
func (*OtokenControllerCaller) Oracle ¶
func (_OtokenController *OtokenControllerCaller) Oracle(opts *bind.CallOpts) (common.Address, error)
Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.
Solidity: function oracle() view returns(address)
func (*OtokenControllerCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OtokenControllerCaller) PartialPauser ¶
func (_OtokenController *OtokenControllerCaller) PartialPauser(opts *bind.CallOpts) (common.Address, error)
PartialPauser is a free data retrieval call binding the contract method 0x9db93891.
Solidity: function partialPauser() view returns(address)
func (*OtokenControllerCaller) Pool ¶
Pool is a free data retrieval call binding the contract method 0x16f0115b.
Solidity: function pool() view returns(address)
func (*OtokenControllerCaller) SystemFullyPaused ¶
func (_OtokenController *OtokenControllerCaller) SystemFullyPaused(opts *bind.CallOpts) (bool, error)
SystemFullyPaused is a free data retrieval call binding the contract method 0xeab7775b.
Solidity: function systemFullyPaused() view returns(bool)
func (*OtokenControllerCaller) SystemPartiallyPaused ¶
func (_OtokenController *OtokenControllerCaller) SystemPartiallyPaused(opts *bind.CallOpts) (bool, error)
SystemPartiallyPaused is a free data retrieval call binding the contract method 0xcdee058a.
Solidity: function systemPartiallyPaused() view returns(bool)
type OtokenControllerCallerRaw ¶
type OtokenControllerCallerRaw struct {
Contract *OtokenControllerCaller // Generic read-only contract binding to access the raw methods on
}
OtokenControllerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OtokenControllerCallerRaw) Call ¶
func (_OtokenController *OtokenControllerCallerRaw) 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 OtokenControllerCallerSession ¶
type OtokenControllerCallerSession struct { Contract *OtokenControllerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OtokenControllerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OtokenControllerCallerSession) Addressbook ¶
func (_OtokenController *OtokenControllerCallerSession) Addressbook() (common.Address, error)
Addressbook is a free data retrieval call binding the contract method 0x70dc320c.
Solidity: function addressbook() view returns(address)
func (*OtokenControllerCallerSession) Calculator ¶
func (_OtokenController *OtokenControllerCallerSession) Calculator() (common.Address, error)
Calculator is a free data retrieval call binding the contract method 0xce3e39c0.
Solidity: function calculator() view returns(address)
func (*OtokenControllerCallerSession) CallRestricted ¶
func (_OtokenController *OtokenControllerCallerSession) CallRestricted() (bool, error)
CallRestricted is a free data retrieval call binding the contract method 0x6c0c3b99.
Solidity: function callRestricted() view returns(bool)
func (*OtokenControllerCallerSession) FullPauser ¶
func (_OtokenController *OtokenControllerCallerSession) FullPauser() (common.Address, error)
FullPauser is a free data retrieval call binding the contract method 0x29729d88.
Solidity: function fullPauser() view returns(address)
func (*OtokenControllerCallerSession) GetAccountVaultCounter ¶
func (_OtokenController *OtokenControllerCallerSession) GetAccountVaultCounter(_accountOwner common.Address) (*big.Int, error)
GetAccountVaultCounter is a free data retrieval call binding the contract method 0xcaa6d21a.
Solidity: function getAccountVaultCounter(address _accountOwner) view returns(uint256)
func (*OtokenControllerCallerSession) GetConfiguration ¶
func (_OtokenController *OtokenControllerCallerSession) GetConfiguration() (common.Address, common.Address, common.Address, common.Address, error)
GetConfiguration is a free data retrieval call binding the contract method 0x6bd50cef.
Solidity: function getConfiguration() view returns(address, address, address, address)
func (*OtokenControllerCallerSession) GetPayout ¶
func (_OtokenController *OtokenControllerCallerSession) GetPayout(_otoken common.Address, _amount *big.Int) (*big.Int, error)
GetPayout is a free data retrieval call binding the contract method 0x565eea19.
Solidity: function getPayout(address _otoken, uint256 _amount) view returns(uint256)
func (*OtokenControllerCallerSession) GetProceed ¶
func (_OtokenController *OtokenControllerCallerSession) GetProceed(_owner common.Address, _vaultId *big.Int) (*big.Int, error)
GetProceed is a free data retrieval call binding the contract method 0xc220101d.
Solidity: function getProceed(address _owner, uint256 _vaultId) view returns(uint256)
func (*OtokenControllerCallerSession) GetVault ¶
func (_OtokenController *OtokenControllerCallerSession) GetVault(_owner common.Address, _vaultId *big.Int) (MarginVaultVault, error)
GetVault is a free data retrieval call binding the contract method 0xd99d13f5.
Solidity: function getVault(address _owner, uint256 _vaultId) view returns((address[],address[],address[],uint256[],uint256[],uint256[]))
func (*OtokenControllerCallerSession) HasExpired ¶
func (_OtokenController *OtokenControllerCallerSession) HasExpired(_otoken common.Address) (bool, error)
HasExpired is a free data retrieval call binding the contract method 0xf77bc88b.
Solidity: function hasExpired(address _otoken) view returns(bool)
func (*OtokenControllerCallerSession) IsOperator ¶
func (_OtokenController *OtokenControllerCallerSession) IsOperator(_owner common.Address, _operator common.Address) (bool, error)
IsOperator is a free data retrieval call binding the contract method 0xb6363cf2.
Solidity: function isOperator(address _owner, address _operator) view returns(bool)
func (*OtokenControllerCallerSession) IsSettlementAllowed ¶
func (_OtokenController *OtokenControllerCallerSession) IsSettlementAllowed(_otoken common.Address) (bool, error)
IsSettlementAllowed is a free data retrieval call binding the contract method 0xe723406c.
Solidity: function isSettlementAllowed(address _otoken) view returns(bool)
func (*OtokenControllerCallerSession) Oracle ¶
func (_OtokenController *OtokenControllerCallerSession) Oracle() (common.Address, error)
Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.
Solidity: function oracle() view returns(address)
func (*OtokenControllerCallerSession) Owner ¶
func (_OtokenController *OtokenControllerCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OtokenControllerCallerSession) PartialPauser ¶
func (_OtokenController *OtokenControllerCallerSession) PartialPauser() (common.Address, error)
PartialPauser is a free data retrieval call binding the contract method 0x9db93891.
Solidity: function partialPauser() view returns(address)
func (*OtokenControllerCallerSession) Pool ¶
func (_OtokenController *OtokenControllerCallerSession) Pool() (common.Address, error)
Pool is a free data retrieval call binding the contract method 0x16f0115b.
Solidity: function pool() view returns(address)
func (*OtokenControllerCallerSession) SystemFullyPaused ¶
func (_OtokenController *OtokenControllerCallerSession) SystemFullyPaused() (bool, error)
SystemFullyPaused is a free data retrieval call binding the contract method 0xeab7775b.
Solidity: function systemFullyPaused() view returns(bool)
func (*OtokenControllerCallerSession) SystemPartiallyPaused ¶
func (_OtokenController *OtokenControllerCallerSession) SystemPartiallyPaused() (bool, error)
SystemPartiallyPaused is a free data retrieval call binding the contract method 0xcdee058a.
Solidity: function systemPartiallyPaused() view returns(bool)
type OtokenControllerCollateralAssetDeposited ¶
type OtokenControllerCollateralAssetDeposited struct { Asset common.Address AccountOwner common.Address From common.Address VaultId *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
OtokenControllerCollateralAssetDeposited represents a CollateralAssetDeposited event raised by the OtokenController contract.
type OtokenControllerCollateralAssetDepositedIterator ¶
type OtokenControllerCollateralAssetDepositedIterator struct { Event *OtokenControllerCollateralAssetDeposited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OtokenControllerCollateralAssetDepositedIterator is returned from FilterCollateralAssetDeposited and is used to iterate over the raw logs and unpacked data for CollateralAssetDeposited events raised by the OtokenController contract.
func (*OtokenControllerCollateralAssetDepositedIterator) Close ¶
func (it *OtokenControllerCollateralAssetDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OtokenControllerCollateralAssetDepositedIterator) Error ¶
func (it *OtokenControllerCollateralAssetDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OtokenControllerCollateralAssetDepositedIterator) Next ¶
func (it *OtokenControllerCollateralAssetDepositedIterator) 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 OtokenControllerCollateralAssetWithdrawed ¶
type OtokenControllerCollateralAssetWithdrawed struct { Asset common.Address AccountOwner common.Address To common.Address VaultId *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
OtokenControllerCollateralAssetWithdrawed represents a CollateralAssetWithdrawed event raised by the OtokenController contract.
type OtokenControllerCollateralAssetWithdrawedIterator ¶
type OtokenControllerCollateralAssetWithdrawedIterator struct { Event *OtokenControllerCollateralAssetWithdrawed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OtokenControllerCollateralAssetWithdrawedIterator is returned from FilterCollateralAssetWithdrawed and is used to iterate over the raw logs and unpacked data for CollateralAssetWithdrawed events raised by the OtokenController contract.
func (*OtokenControllerCollateralAssetWithdrawedIterator) Close ¶
func (it *OtokenControllerCollateralAssetWithdrawedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OtokenControllerCollateralAssetWithdrawedIterator) Error ¶
func (it *OtokenControllerCollateralAssetWithdrawedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OtokenControllerCollateralAssetWithdrawedIterator) Next ¶
func (it *OtokenControllerCollateralAssetWithdrawedIterator) 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 OtokenControllerFilterer ¶
type OtokenControllerFilterer struct {
// contains filtered or unexported fields
}
OtokenControllerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOtokenControllerFilterer ¶
func NewOtokenControllerFilterer(address common.Address, filterer bind.ContractFilterer) (*OtokenControllerFilterer, error)
NewOtokenControllerFilterer creates a new log filterer instance of OtokenController, bound to a specific deployed contract.
func (*OtokenControllerFilterer) FilterAccountOperatorUpdated ¶
func (_OtokenController *OtokenControllerFilterer) FilterAccountOperatorUpdated(opts *bind.FilterOpts, accountOwner []common.Address, operator []common.Address) (*OtokenControllerAccountOperatorUpdatedIterator, error)
FilterAccountOperatorUpdated is a free log retrieval operation binding the contract event 0x1ae45540b0875932452da603b351ce2f1758258ba1345e79f8fc94f044cb0787.
Solidity: event AccountOperatorUpdated(address indexed accountOwner, address indexed operator, bool isSet)
func (*OtokenControllerFilterer) FilterCallExecuted ¶
func (_OtokenController *OtokenControllerFilterer) FilterCallExecuted(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*OtokenControllerCallExecutedIterator, error)
FilterCallExecuted is a free log retrieval operation binding the contract event 0x8750bdaf6e88201790ee2765fea3ac73b514a52658c818723a30de91029ad000.
Solidity: event CallExecuted(address indexed from, address indexed to, bytes data)
func (*OtokenControllerFilterer) FilterCallRestricted ¶
func (_OtokenController *OtokenControllerFilterer) FilterCallRestricted(opts *bind.FilterOpts) (*OtokenControllerCallRestrictedIterator, error)
FilterCallRestricted is a free log retrieval operation binding the contract event 0x26d614575a4c104c181c87003d4bb00cc7ade00d5b47bf8775171c12a376b255.
Solidity: event CallRestricted(bool isRestricted)
func (*OtokenControllerFilterer) FilterCollateralAssetDeposited ¶
func (_OtokenController *OtokenControllerFilterer) FilterCollateralAssetDeposited(opts *bind.FilterOpts, asset []common.Address, accountOwner []common.Address, from []common.Address) (*OtokenControllerCollateralAssetDepositedIterator, error)
FilterCollateralAssetDeposited is a free log retrieval operation binding the contract event 0xbfab88b861f171b7db714f00e5966131253918d55ddba816c3eb94657d102390.
Solidity: event CollateralAssetDeposited(address indexed asset, address indexed accountOwner, address indexed from, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) FilterCollateralAssetWithdrawed ¶
func (_OtokenController *OtokenControllerFilterer) FilterCollateralAssetWithdrawed(opts *bind.FilterOpts, asset []common.Address, AccountOwner []common.Address, to []common.Address) (*OtokenControllerCollateralAssetWithdrawedIterator, error)
FilterCollateralAssetWithdrawed is a free log retrieval operation binding the contract event 0xfe86f7694b6c54a528acbe27be61dd4a85e9a89aeef7f650a1b439045ccee5a4.
Solidity: event CollateralAssetWithdrawed(address indexed asset, address indexed AccountOwner, address indexed to, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) FilterFullPauserUpdated ¶
func (_OtokenController *OtokenControllerFilterer) FilterFullPauserUpdated(opts *bind.FilterOpts, oldFullPauser []common.Address, newFullPauser []common.Address) (*OtokenControllerFullPauserUpdatedIterator, error)
FilterFullPauserUpdated is a free log retrieval operation binding the contract event 0x44f3e9e7b454118e9fcb2e3026396f57ca21d7bd7dcabd31d7f986806422f4df.
Solidity: event FullPauserUpdated(address indexed oldFullPauser, address indexed newFullPauser)
func (*OtokenControllerFilterer) FilterLongOtokenDeposited ¶
func (_OtokenController *OtokenControllerFilterer) FilterLongOtokenDeposited(opts *bind.FilterOpts, otoken []common.Address, accountOwner []common.Address, from []common.Address) (*OtokenControllerLongOtokenDepositedIterator, error)
FilterLongOtokenDeposited is a free log retrieval operation binding the contract event 0x2607e210004cef0ad6b3e6aedb778bffb03c1586f8dcf55d49afffde210d8bb1.
Solidity: event LongOtokenDeposited(address indexed otoken, address indexed accountOwner, address indexed from, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) FilterLongOtokenWithdrawed ¶
func (_OtokenController *OtokenControllerFilterer) FilterLongOtokenWithdrawed(opts *bind.FilterOpts, otoken []common.Address, AccountOwner []common.Address, to []common.Address) (*OtokenControllerLongOtokenWithdrawedIterator, error)
FilterLongOtokenWithdrawed is a free log retrieval operation binding the contract event 0xbd023c53d293da163d185720d4274f4ddabc09d5304491a55abb296cc811d9fa.
Solidity: event LongOtokenWithdrawed(address indexed otoken, address indexed AccountOwner, address indexed to, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) FilterOwnershipTransferred ¶
func (_OtokenController *OtokenControllerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OtokenControllerOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OtokenControllerFilterer) FilterPartialPauserUpdated ¶
func (_OtokenController *OtokenControllerFilterer) FilterPartialPauserUpdated(opts *bind.FilterOpts, oldPartialPauser []common.Address, newPartialPauser []common.Address) (*OtokenControllerPartialPauserUpdatedIterator, error)
FilterPartialPauserUpdated is a free log retrieval operation binding the contract event 0x1440312dbc326ddc21bfa95078324bf5aaf6899e8a27cba3057c60adfc84e40b.
Solidity: event PartialPauserUpdated(address indexed oldPartialPauser, address indexed newPartialPauser)
func (*OtokenControllerFilterer) FilterRedeem ¶
func (_OtokenController *OtokenControllerFilterer) FilterRedeem(opts *bind.FilterOpts, otoken []common.Address, redeemer []common.Address, receiver []common.Address) (*OtokenControllerRedeemIterator, error)
FilterRedeem is a free log retrieval operation binding the contract event 0x18fd144d7dbcbaa6f00fd47a84adc7dc3cc64a326ffa2dc7691a25e3837dba03.
Solidity: event Redeem(address indexed otoken, address indexed redeemer, address indexed receiver, address collateralAsset, uint256 otokenBurned, uint256 payout)
func (*OtokenControllerFilterer) FilterShortOtokenBurned ¶
func (_OtokenController *OtokenControllerFilterer) FilterShortOtokenBurned(opts *bind.FilterOpts, otoken []common.Address, AccountOwner []common.Address, from []common.Address) (*OtokenControllerShortOtokenBurnedIterator, error)
FilterShortOtokenBurned is a free log retrieval operation binding the contract event 0xdd96b18f26fd9950581b9fd821fa907fc318845fc4d220b825a7b19bfdd174e8.
Solidity: event ShortOtokenBurned(address indexed otoken, address indexed AccountOwner, address indexed from, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) FilterShortOtokenMinted ¶
func (_OtokenController *OtokenControllerFilterer) FilterShortOtokenMinted(opts *bind.FilterOpts, otoken []common.Address, AccountOwner []common.Address, to []common.Address) (*OtokenControllerShortOtokenMintedIterator, error)
FilterShortOtokenMinted is a free log retrieval operation binding the contract event 0x4d7f96086c92b2f9a254ad21548b1c1f2d99502c7949508866349b96bb1a8d8a.
Solidity: event ShortOtokenMinted(address indexed otoken, address indexed AccountOwner, address indexed to, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) FilterSystemFullyPaused ¶
func (_OtokenController *OtokenControllerFilterer) FilterSystemFullyPaused(opts *bind.FilterOpts) (*OtokenControllerSystemFullyPausedIterator, error)
FilterSystemFullyPaused is a free log retrieval operation binding the contract event 0x4f1d0445688d95c99ca9fc036f551b205fd18ff26a4443b1979c16d1ba66b535.
Solidity: event SystemFullyPaused(bool isPaused)
func (*OtokenControllerFilterer) FilterSystemPartiallyPaused ¶
func (_OtokenController *OtokenControllerFilterer) FilterSystemPartiallyPaused(opts *bind.FilterOpts) (*OtokenControllerSystemPartiallyPausedIterator, error)
FilterSystemPartiallyPaused is a free log retrieval operation binding the contract event 0x531c3d7229f510a8da00a0f5792686958cdd9c8a120c3c030a6053cd66b68556.
Solidity: event SystemPartiallyPaused(bool isPaused)
func (*OtokenControllerFilterer) FilterVaultOpened ¶
func (_OtokenController *OtokenControllerFilterer) FilterVaultOpened(opts *bind.FilterOpts, accountOwner []common.Address) (*OtokenControllerVaultOpenedIterator, error)
FilterVaultOpened is a free log retrieval operation binding the contract event 0x1774e23245eedaa4541d7c6aafe9840fbea9a6dc740c21dfbe2ecf3162789cb7.
Solidity: event VaultOpened(address indexed accountOwner, uint256 vaultId)
func (*OtokenControllerFilterer) FilterVaultSettled ¶
func (_OtokenController *OtokenControllerFilterer) FilterVaultSettled(opts *bind.FilterOpts, AccountOwner []common.Address, to []common.Address, otoken []common.Address) (*OtokenControllerVaultSettledIterator, error)
FilterVaultSettled is a free log retrieval operation binding the contract event 0x14228c91fa4bb9206a82a4fb6af9b066b035cf69957e4a51fee88f693a06bbd0.
Solidity: event VaultSettled(address indexed AccountOwner, address indexed to, address indexed otoken, uint256 vaultId, uint256 payout)
func (*OtokenControllerFilterer) ParseAccountOperatorUpdated ¶
func (_OtokenController *OtokenControllerFilterer) ParseAccountOperatorUpdated(log types.Log) (*OtokenControllerAccountOperatorUpdated, error)
ParseAccountOperatorUpdated is a log parse operation binding the contract event 0x1ae45540b0875932452da603b351ce2f1758258ba1345e79f8fc94f044cb0787.
Solidity: event AccountOperatorUpdated(address indexed accountOwner, address indexed operator, bool isSet)
func (*OtokenControllerFilterer) ParseCallExecuted ¶
func (_OtokenController *OtokenControllerFilterer) ParseCallExecuted(log types.Log) (*OtokenControllerCallExecuted, error)
ParseCallExecuted is a log parse operation binding the contract event 0x8750bdaf6e88201790ee2765fea3ac73b514a52658c818723a30de91029ad000.
Solidity: event CallExecuted(address indexed from, address indexed to, bytes data)
func (*OtokenControllerFilterer) ParseCallRestricted ¶
func (_OtokenController *OtokenControllerFilterer) ParseCallRestricted(log types.Log) (*OtokenControllerCallRestricted, error)
ParseCallRestricted is a log parse operation binding the contract event 0x26d614575a4c104c181c87003d4bb00cc7ade00d5b47bf8775171c12a376b255.
Solidity: event CallRestricted(bool isRestricted)
func (*OtokenControllerFilterer) ParseCollateralAssetDeposited ¶
func (_OtokenController *OtokenControllerFilterer) ParseCollateralAssetDeposited(log types.Log) (*OtokenControllerCollateralAssetDeposited, error)
ParseCollateralAssetDeposited is a log parse operation binding the contract event 0xbfab88b861f171b7db714f00e5966131253918d55ddba816c3eb94657d102390.
Solidity: event CollateralAssetDeposited(address indexed asset, address indexed accountOwner, address indexed from, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) ParseCollateralAssetWithdrawed ¶
func (_OtokenController *OtokenControllerFilterer) ParseCollateralAssetWithdrawed(log types.Log) (*OtokenControllerCollateralAssetWithdrawed, error)
ParseCollateralAssetWithdrawed is a log parse operation binding the contract event 0xfe86f7694b6c54a528acbe27be61dd4a85e9a89aeef7f650a1b439045ccee5a4.
Solidity: event CollateralAssetWithdrawed(address indexed asset, address indexed AccountOwner, address indexed to, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) ParseFullPauserUpdated ¶
func (_OtokenController *OtokenControllerFilterer) ParseFullPauserUpdated(log types.Log) (*OtokenControllerFullPauserUpdated, error)
ParseFullPauserUpdated is a log parse operation binding the contract event 0x44f3e9e7b454118e9fcb2e3026396f57ca21d7bd7dcabd31d7f986806422f4df.
Solidity: event FullPauserUpdated(address indexed oldFullPauser, address indexed newFullPauser)
func (*OtokenControllerFilterer) ParseLongOtokenDeposited ¶
func (_OtokenController *OtokenControllerFilterer) ParseLongOtokenDeposited(log types.Log) (*OtokenControllerLongOtokenDeposited, error)
ParseLongOtokenDeposited is a log parse operation binding the contract event 0x2607e210004cef0ad6b3e6aedb778bffb03c1586f8dcf55d49afffde210d8bb1.
Solidity: event LongOtokenDeposited(address indexed otoken, address indexed accountOwner, address indexed from, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) ParseLongOtokenWithdrawed ¶
func (_OtokenController *OtokenControllerFilterer) ParseLongOtokenWithdrawed(log types.Log) (*OtokenControllerLongOtokenWithdrawed, error)
ParseLongOtokenWithdrawed is a log parse operation binding the contract event 0xbd023c53d293da163d185720d4274f4ddabc09d5304491a55abb296cc811d9fa.
Solidity: event LongOtokenWithdrawed(address indexed otoken, address indexed AccountOwner, address indexed to, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) ParseOwnershipTransferred ¶
func (_OtokenController *OtokenControllerFilterer) ParseOwnershipTransferred(log types.Log) (*OtokenControllerOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OtokenControllerFilterer) ParsePartialPauserUpdated ¶
func (_OtokenController *OtokenControllerFilterer) ParsePartialPauserUpdated(log types.Log) (*OtokenControllerPartialPauserUpdated, error)
ParsePartialPauserUpdated is a log parse operation binding the contract event 0x1440312dbc326ddc21bfa95078324bf5aaf6899e8a27cba3057c60adfc84e40b.
Solidity: event PartialPauserUpdated(address indexed oldPartialPauser, address indexed newPartialPauser)
func (*OtokenControllerFilterer) ParseRedeem ¶
func (_OtokenController *OtokenControllerFilterer) ParseRedeem(log types.Log) (*OtokenControllerRedeem, error)
ParseRedeem is a log parse operation binding the contract event 0x18fd144d7dbcbaa6f00fd47a84adc7dc3cc64a326ffa2dc7691a25e3837dba03.
Solidity: event Redeem(address indexed otoken, address indexed redeemer, address indexed receiver, address collateralAsset, uint256 otokenBurned, uint256 payout)
func (*OtokenControllerFilterer) ParseShortOtokenBurned ¶
func (_OtokenController *OtokenControllerFilterer) ParseShortOtokenBurned(log types.Log) (*OtokenControllerShortOtokenBurned, error)
ParseShortOtokenBurned is a log parse operation binding the contract event 0xdd96b18f26fd9950581b9fd821fa907fc318845fc4d220b825a7b19bfdd174e8.
Solidity: event ShortOtokenBurned(address indexed otoken, address indexed AccountOwner, address indexed from, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) ParseShortOtokenMinted ¶
func (_OtokenController *OtokenControllerFilterer) ParseShortOtokenMinted(log types.Log) (*OtokenControllerShortOtokenMinted, error)
ParseShortOtokenMinted is a log parse operation binding the contract event 0x4d7f96086c92b2f9a254ad21548b1c1f2d99502c7949508866349b96bb1a8d8a.
Solidity: event ShortOtokenMinted(address indexed otoken, address indexed AccountOwner, address indexed to, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) ParseSystemFullyPaused ¶
func (_OtokenController *OtokenControllerFilterer) ParseSystemFullyPaused(log types.Log) (*OtokenControllerSystemFullyPaused, error)
ParseSystemFullyPaused is a log parse operation binding the contract event 0x4f1d0445688d95c99ca9fc036f551b205fd18ff26a4443b1979c16d1ba66b535.
Solidity: event SystemFullyPaused(bool isPaused)
func (*OtokenControllerFilterer) ParseSystemPartiallyPaused ¶
func (_OtokenController *OtokenControllerFilterer) ParseSystemPartiallyPaused(log types.Log) (*OtokenControllerSystemPartiallyPaused, error)
ParseSystemPartiallyPaused is a log parse operation binding the contract event 0x531c3d7229f510a8da00a0f5792686958cdd9c8a120c3c030a6053cd66b68556.
Solidity: event SystemPartiallyPaused(bool isPaused)
func (*OtokenControllerFilterer) ParseVaultOpened ¶
func (_OtokenController *OtokenControllerFilterer) ParseVaultOpened(log types.Log) (*OtokenControllerVaultOpened, error)
ParseVaultOpened is a log parse operation binding the contract event 0x1774e23245eedaa4541d7c6aafe9840fbea9a6dc740c21dfbe2ecf3162789cb7.
Solidity: event VaultOpened(address indexed accountOwner, uint256 vaultId)
func (*OtokenControllerFilterer) ParseVaultSettled ¶
func (_OtokenController *OtokenControllerFilterer) ParseVaultSettled(log types.Log) (*OtokenControllerVaultSettled, error)
ParseVaultSettled is a log parse operation binding the contract event 0x14228c91fa4bb9206a82a4fb6af9b066b035cf69957e4a51fee88f693a06bbd0.
Solidity: event VaultSettled(address indexed AccountOwner, address indexed to, address indexed otoken, uint256 vaultId, uint256 payout)
func (*OtokenControllerFilterer) WatchAccountOperatorUpdated ¶
func (_OtokenController *OtokenControllerFilterer) WatchAccountOperatorUpdated(opts *bind.WatchOpts, sink chan<- *OtokenControllerAccountOperatorUpdated, accountOwner []common.Address, operator []common.Address) (event.Subscription, error)
WatchAccountOperatorUpdated is a free log subscription operation binding the contract event 0x1ae45540b0875932452da603b351ce2f1758258ba1345e79f8fc94f044cb0787.
Solidity: event AccountOperatorUpdated(address indexed accountOwner, address indexed operator, bool isSet)
func (*OtokenControllerFilterer) WatchCallExecuted ¶
func (_OtokenController *OtokenControllerFilterer) WatchCallExecuted(opts *bind.WatchOpts, sink chan<- *OtokenControllerCallExecuted, from []common.Address, to []common.Address) (event.Subscription, error)
WatchCallExecuted is a free log subscription operation binding the contract event 0x8750bdaf6e88201790ee2765fea3ac73b514a52658c818723a30de91029ad000.
Solidity: event CallExecuted(address indexed from, address indexed to, bytes data)
func (*OtokenControllerFilterer) WatchCallRestricted ¶
func (_OtokenController *OtokenControllerFilterer) WatchCallRestricted(opts *bind.WatchOpts, sink chan<- *OtokenControllerCallRestricted) (event.Subscription, error)
WatchCallRestricted is a free log subscription operation binding the contract event 0x26d614575a4c104c181c87003d4bb00cc7ade00d5b47bf8775171c12a376b255.
Solidity: event CallRestricted(bool isRestricted)
func (*OtokenControllerFilterer) WatchCollateralAssetDeposited ¶
func (_OtokenController *OtokenControllerFilterer) WatchCollateralAssetDeposited(opts *bind.WatchOpts, sink chan<- *OtokenControllerCollateralAssetDeposited, asset []common.Address, accountOwner []common.Address, from []common.Address) (event.Subscription, error)
WatchCollateralAssetDeposited is a free log subscription operation binding the contract event 0xbfab88b861f171b7db714f00e5966131253918d55ddba816c3eb94657d102390.
Solidity: event CollateralAssetDeposited(address indexed asset, address indexed accountOwner, address indexed from, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) WatchCollateralAssetWithdrawed ¶
func (_OtokenController *OtokenControllerFilterer) WatchCollateralAssetWithdrawed(opts *bind.WatchOpts, sink chan<- *OtokenControllerCollateralAssetWithdrawed, asset []common.Address, AccountOwner []common.Address, to []common.Address) (event.Subscription, error)
WatchCollateralAssetWithdrawed is a free log subscription operation binding the contract event 0xfe86f7694b6c54a528acbe27be61dd4a85e9a89aeef7f650a1b439045ccee5a4.
Solidity: event CollateralAssetWithdrawed(address indexed asset, address indexed AccountOwner, address indexed to, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) WatchFullPauserUpdated ¶
func (_OtokenController *OtokenControllerFilterer) WatchFullPauserUpdated(opts *bind.WatchOpts, sink chan<- *OtokenControllerFullPauserUpdated, oldFullPauser []common.Address, newFullPauser []common.Address) (event.Subscription, error)
WatchFullPauserUpdated is a free log subscription operation binding the contract event 0x44f3e9e7b454118e9fcb2e3026396f57ca21d7bd7dcabd31d7f986806422f4df.
Solidity: event FullPauserUpdated(address indexed oldFullPauser, address indexed newFullPauser)
func (*OtokenControllerFilterer) WatchLongOtokenDeposited ¶
func (_OtokenController *OtokenControllerFilterer) WatchLongOtokenDeposited(opts *bind.WatchOpts, sink chan<- *OtokenControllerLongOtokenDeposited, otoken []common.Address, accountOwner []common.Address, from []common.Address) (event.Subscription, error)
WatchLongOtokenDeposited is a free log subscription operation binding the contract event 0x2607e210004cef0ad6b3e6aedb778bffb03c1586f8dcf55d49afffde210d8bb1.
Solidity: event LongOtokenDeposited(address indexed otoken, address indexed accountOwner, address indexed from, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) WatchLongOtokenWithdrawed ¶
func (_OtokenController *OtokenControllerFilterer) WatchLongOtokenWithdrawed(opts *bind.WatchOpts, sink chan<- *OtokenControllerLongOtokenWithdrawed, otoken []common.Address, AccountOwner []common.Address, to []common.Address) (event.Subscription, error)
WatchLongOtokenWithdrawed is a free log subscription operation binding the contract event 0xbd023c53d293da163d185720d4274f4ddabc09d5304491a55abb296cc811d9fa.
Solidity: event LongOtokenWithdrawed(address indexed otoken, address indexed AccountOwner, address indexed to, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) WatchOwnershipTransferred ¶
func (_OtokenController *OtokenControllerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OtokenControllerOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OtokenControllerFilterer) WatchPartialPauserUpdated ¶
func (_OtokenController *OtokenControllerFilterer) WatchPartialPauserUpdated(opts *bind.WatchOpts, sink chan<- *OtokenControllerPartialPauserUpdated, oldPartialPauser []common.Address, newPartialPauser []common.Address) (event.Subscription, error)
WatchPartialPauserUpdated is a free log subscription operation binding the contract event 0x1440312dbc326ddc21bfa95078324bf5aaf6899e8a27cba3057c60adfc84e40b.
Solidity: event PartialPauserUpdated(address indexed oldPartialPauser, address indexed newPartialPauser)
func (*OtokenControllerFilterer) WatchRedeem ¶
func (_OtokenController *OtokenControllerFilterer) WatchRedeem(opts *bind.WatchOpts, sink chan<- *OtokenControllerRedeem, otoken []common.Address, redeemer []common.Address, receiver []common.Address) (event.Subscription, error)
WatchRedeem is a free log subscription operation binding the contract event 0x18fd144d7dbcbaa6f00fd47a84adc7dc3cc64a326ffa2dc7691a25e3837dba03.
Solidity: event Redeem(address indexed otoken, address indexed redeemer, address indexed receiver, address collateralAsset, uint256 otokenBurned, uint256 payout)
func (*OtokenControllerFilterer) WatchShortOtokenBurned ¶
func (_OtokenController *OtokenControllerFilterer) WatchShortOtokenBurned(opts *bind.WatchOpts, sink chan<- *OtokenControllerShortOtokenBurned, otoken []common.Address, AccountOwner []common.Address, from []common.Address) (event.Subscription, error)
WatchShortOtokenBurned is a free log subscription operation binding the contract event 0xdd96b18f26fd9950581b9fd821fa907fc318845fc4d220b825a7b19bfdd174e8.
Solidity: event ShortOtokenBurned(address indexed otoken, address indexed AccountOwner, address indexed from, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) WatchShortOtokenMinted ¶
func (_OtokenController *OtokenControllerFilterer) WatchShortOtokenMinted(opts *bind.WatchOpts, sink chan<- *OtokenControllerShortOtokenMinted, otoken []common.Address, AccountOwner []common.Address, to []common.Address) (event.Subscription, error)
WatchShortOtokenMinted is a free log subscription operation binding the contract event 0x4d7f96086c92b2f9a254ad21548b1c1f2d99502c7949508866349b96bb1a8d8a.
Solidity: event ShortOtokenMinted(address indexed otoken, address indexed AccountOwner, address indexed to, uint256 vaultId, uint256 amount)
func (*OtokenControllerFilterer) WatchSystemFullyPaused ¶
func (_OtokenController *OtokenControllerFilterer) WatchSystemFullyPaused(opts *bind.WatchOpts, sink chan<- *OtokenControllerSystemFullyPaused) (event.Subscription, error)
WatchSystemFullyPaused is a free log subscription operation binding the contract event 0x4f1d0445688d95c99ca9fc036f551b205fd18ff26a4443b1979c16d1ba66b535.
Solidity: event SystemFullyPaused(bool isPaused)
func (*OtokenControllerFilterer) WatchSystemPartiallyPaused ¶
func (_OtokenController *OtokenControllerFilterer) WatchSystemPartiallyPaused(opts *bind.WatchOpts, sink chan<- *OtokenControllerSystemPartiallyPaused) (event.Subscription, error)
WatchSystemPartiallyPaused is a free log subscription operation binding the contract event 0x531c3d7229f510a8da00a0f5792686958cdd9c8a120c3c030a6053cd66b68556.
Solidity: event SystemPartiallyPaused(bool isPaused)
func (*OtokenControllerFilterer) WatchVaultOpened ¶
func (_OtokenController *OtokenControllerFilterer) WatchVaultOpened(opts *bind.WatchOpts, sink chan<- *OtokenControllerVaultOpened, accountOwner []common.Address) (event.Subscription, error)
WatchVaultOpened is a free log subscription operation binding the contract event 0x1774e23245eedaa4541d7c6aafe9840fbea9a6dc740c21dfbe2ecf3162789cb7.
Solidity: event VaultOpened(address indexed accountOwner, uint256 vaultId)
func (*OtokenControllerFilterer) WatchVaultSettled ¶
func (_OtokenController *OtokenControllerFilterer) WatchVaultSettled(opts *bind.WatchOpts, sink chan<- *OtokenControllerVaultSettled, AccountOwner []common.Address, to []common.Address, otoken []common.Address) (event.Subscription, error)
WatchVaultSettled is a free log subscription operation binding the contract event 0x14228c91fa4bb9206a82a4fb6af9b066b035cf69957e4a51fee88f693a06bbd0.
Solidity: event VaultSettled(address indexed AccountOwner, address indexed to, address indexed otoken, uint256 vaultId, uint256 payout)
type OtokenControllerFullPauserUpdated ¶
type OtokenControllerFullPauserUpdated struct { OldFullPauser common.Address NewFullPauser common.Address Raw types.Log // Blockchain specific contextual infos }
OtokenControllerFullPauserUpdated represents a FullPauserUpdated event raised by the OtokenController contract.
type OtokenControllerFullPauserUpdatedIterator ¶
type OtokenControllerFullPauserUpdatedIterator struct { Event *OtokenControllerFullPauserUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OtokenControllerFullPauserUpdatedIterator is returned from FilterFullPauserUpdated and is used to iterate over the raw logs and unpacked data for FullPauserUpdated events raised by the OtokenController contract.
func (*OtokenControllerFullPauserUpdatedIterator) Close ¶
func (it *OtokenControllerFullPauserUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OtokenControllerFullPauserUpdatedIterator) Error ¶
func (it *OtokenControllerFullPauserUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OtokenControllerFullPauserUpdatedIterator) Next ¶
func (it *OtokenControllerFullPauserUpdatedIterator) 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 OtokenControllerLongOtokenDeposited ¶
type OtokenControllerLongOtokenDeposited struct { Otoken common.Address AccountOwner common.Address From common.Address VaultId *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
OtokenControllerLongOtokenDeposited represents a LongOtokenDeposited event raised by the OtokenController contract.
type OtokenControllerLongOtokenDepositedIterator ¶
type OtokenControllerLongOtokenDepositedIterator struct { Event *OtokenControllerLongOtokenDeposited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OtokenControllerLongOtokenDepositedIterator is returned from FilterLongOtokenDeposited and is used to iterate over the raw logs and unpacked data for LongOtokenDeposited events raised by the OtokenController contract.
func (*OtokenControllerLongOtokenDepositedIterator) Close ¶
func (it *OtokenControllerLongOtokenDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OtokenControllerLongOtokenDepositedIterator) Error ¶
func (it *OtokenControllerLongOtokenDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OtokenControllerLongOtokenDepositedIterator) Next ¶
func (it *OtokenControllerLongOtokenDepositedIterator) 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 OtokenControllerLongOtokenWithdrawed ¶
type OtokenControllerLongOtokenWithdrawed struct { Otoken common.Address AccountOwner common.Address To common.Address VaultId *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
OtokenControllerLongOtokenWithdrawed represents a LongOtokenWithdrawed event raised by the OtokenController contract.
type OtokenControllerLongOtokenWithdrawedIterator ¶
type OtokenControllerLongOtokenWithdrawedIterator struct { Event *OtokenControllerLongOtokenWithdrawed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OtokenControllerLongOtokenWithdrawedIterator is returned from FilterLongOtokenWithdrawed and is used to iterate over the raw logs and unpacked data for LongOtokenWithdrawed events raised by the OtokenController contract.
func (*OtokenControllerLongOtokenWithdrawedIterator) Close ¶
func (it *OtokenControllerLongOtokenWithdrawedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OtokenControllerLongOtokenWithdrawedIterator) Error ¶
func (it *OtokenControllerLongOtokenWithdrawedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OtokenControllerLongOtokenWithdrawedIterator) Next ¶
func (it *OtokenControllerLongOtokenWithdrawedIterator) 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 OtokenControllerOwnershipTransferred ¶
type OtokenControllerOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
OtokenControllerOwnershipTransferred represents a OwnershipTransferred event raised by the OtokenController contract.
type OtokenControllerOwnershipTransferredIterator ¶
type OtokenControllerOwnershipTransferredIterator struct { Event *OtokenControllerOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OtokenControllerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the OtokenController contract.
func (*OtokenControllerOwnershipTransferredIterator) Close ¶
func (it *OtokenControllerOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OtokenControllerOwnershipTransferredIterator) Error ¶
func (it *OtokenControllerOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OtokenControllerOwnershipTransferredIterator) Next ¶
func (it *OtokenControllerOwnershipTransferredIterator) 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 OtokenControllerPartialPauserUpdated ¶
type OtokenControllerPartialPauserUpdated struct { OldPartialPauser common.Address NewPartialPauser common.Address Raw types.Log // Blockchain specific contextual infos }
OtokenControllerPartialPauserUpdated represents a PartialPauserUpdated event raised by the OtokenController contract.
type OtokenControllerPartialPauserUpdatedIterator ¶
type OtokenControllerPartialPauserUpdatedIterator struct { Event *OtokenControllerPartialPauserUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OtokenControllerPartialPauserUpdatedIterator is returned from FilterPartialPauserUpdated and is used to iterate over the raw logs and unpacked data for PartialPauserUpdated events raised by the OtokenController contract.
func (*OtokenControllerPartialPauserUpdatedIterator) Close ¶
func (it *OtokenControllerPartialPauserUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OtokenControllerPartialPauserUpdatedIterator) Error ¶
func (it *OtokenControllerPartialPauserUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OtokenControllerPartialPauserUpdatedIterator) Next ¶
func (it *OtokenControllerPartialPauserUpdatedIterator) 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 OtokenControllerRaw ¶
type OtokenControllerRaw struct {
Contract *OtokenController // Generic contract binding to access the raw methods on
}
OtokenControllerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OtokenControllerRaw) Call ¶
func (_OtokenController *OtokenControllerRaw) 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 (*OtokenControllerRaw) Transact ¶
func (_OtokenController *OtokenControllerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OtokenControllerRaw) Transfer ¶
func (_OtokenController *OtokenControllerRaw) 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 OtokenControllerRedeem ¶
type OtokenControllerRedeem struct { Otoken common.Address Redeemer common.Address Receiver common.Address CollateralAsset common.Address OtokenBurned *big.Int Payout *big.Int Raw types.Log // Blockchain specific contextual infos }
OtokenControllerRedeem represents a Redeem event raised by the OtokenController contract.
type OtokenControllerRedeemIterator ¶
type OtokenControllerRedeemIterator struct { Event *OtokenControllerRedeem // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OtokenControllerRedeemIterator is returned from FilterRedeem and is used to iterate over the raw logs and unpacked data for Redeem events raised by the OtokenController contract.
func (*OtokenControllerRedeemIterator) Close ¶
func (it *OtokenControllerRedeemIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OtokenControllerRedeemIterator) Error ¶
func (it *OtokenControllerRedeemIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OtokenControllerRedeemIterator) Next ¶
func (it *OtokenControllerRedeemIterator) 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 OtokenControllerSession ¶
type OtokenControllerSession struct { Contract *OtokenController // 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 }
OtokenControllerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OtokenControllerSession) Addressbook ¶
func (_OtokenController *OtokenControllerSession) Addressbook() (common.Address, error)
Addressbook is a free data retrieval call binding the contract method 0x70dc320c.
Solidity: function addressbook() view returns(address)
func (*OtokenControllerSession) Calculator ¶
func (_OtokenController *OtokenControllerSession) Calculator() (common.Address, error)
Calculator is a free data retrieval call binding the contract method 0xce3e39c0.
Solidity: function calculator() view returns(address)
func (*OtokenControllerSession) CallRestricted ¶
func (_OtokenController *OtokenControllerSession) CallRestricted() (bool, error)
CallRestricted is a free data retrieval call binding the contract method 0x6c0c3b99.
Solidity: function callRestricted() view returns(bool)
func (*OtokenControllerSession) FullPauser ¶
func (_OtokenController *OtokenControllerSession) FullPauser() (common.Address, error)
FullPauser is a free data retrieval call binding the contract method 0x29729d88.
Solidity: function fullPauser() view returns(address)
func (*OtokenControllerSession) GetAccountVaultCounter ¶
func (_OtokenController *OtokenControllerSession) GetAccountVaultCounter(_accountOwner common.Address) (*big.Int, error)
GetAccountVaultCounter is a free data retrieval call binding the contract method 0xcaa6d21a.
Solidity: function getAccountVaultCounter(address _accountOwner) view returns(uint256)
func (*OtokenControllerSession) GetConfiguration ¶
func (_OtokenController *OtokenControllerSession) GetConfiguration() (common.Address, common.Address, common.Address, common.Address, error)
GetConfiguration is a free data retrieval call binding the contract method 0x6bd50cef.
Solidity: function getConfiguration() view returns(address, address, address, address)
func (*OtokenControllerSession) GetPayout ¶
func (_OtokenController *OtokenControllerSession) GetPayout(_otoken common.Address, _amount *big.Int) (*big.Int, error)
GetPayout is a free data retrieval call binding the contract method 0x565eea19.
Solidity: function getPayout(address _otoken, uint256 _amount) view returns(uint256)
func (*OtokenControllerSession) GetProceed ¶
func (_OtokenController *OtokenControllerSession) GetProceed(_owner common.Address, _vaultId *big.Int) (*big.Int, error)
GetProceed is a free data retrieval call binding the contract method 0xc220101d.
Solidity: function getProceed(address _owner, uint256 _vaultId) view returns(uint256)
func (*OtokenControllerSession) GetVault ¶
func (_OtokenController *OtokenControllerSession) GetVault(_owner common.Address, _vaultId *big.Int) (MarginVaultVault, error)
GetVault is a free data retrieval call binding the contract method 0xd99d13f5.
Solidity: function getVault(address _owner, uint256 _vaultId) view returns((address[],address[],address[],uint256[],uint256[],uint256[]))
func (*OtokenControllerSession) HasExpired ¶
func (_OtokenController *OtokenControllerSession) HasExpired(_otoken common.Address) (bool, error)
HasExpired is a free data retrieval call binding the contract method 0xf77bc88b.
Solidity: function hasExpired(address _otoken) view returns(bool)
func (*OtokenControllerSession) Initialize ¶
func (_OtokenController *OtokenControllerSession) Initialize(_addressBook common.Address, _owner common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _addressBook, address _owner) returns()
func (*OtokenControllerSession) IsOperator ¶
func (_OtokenController *OtokenControllerSession) IsOperator(_owner common.Address, _operator common.Address) (bool, error)
IsOperator is a free data retrieval call binding the contract method 0xb6363cf2.
Solidity: function isOperator(address _owner, address _operator) view returns(bool)
func (*OtokenControllerSession) IsSettlementAllowed ¶
func (_OtokenController *OtokenControllerSession) IsSettlementAllowed(_otoken common.Address) (bool, error)
IsSettlementAllowed is a free data retrieval call binding the contract method 0xe723406c.
Solidity: function isSettlementAllowed(address _otoken) view returns(bool)
func (*OtokenControllerSession) Operate ¶
func (_OtokenController *OtokenControllerSession) Operate(_actions []ActionsActionArgs) (*types.Transaction, error)
Operate is a paid mutator transaction binding the contract method 0xb617f0c6.
Solidity: function operate((uint8,address,address,address,uint256,uint256,uint256,bytes)[] _actions) returns()
func (*OtokenControllerSession) Oracle ¶
func (_OtokenController *OtokenControllerSession) Oracle() (common.Address, error)
Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.
Solidity: function oracle() view returns(address)
func (*OtokenControllerSession) Owner ¶
func (_OtokenController *OtokenControllerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OtokenControllerSession) PartialPauser ¶
func (_OtokenController *OtokenControllerSession) PartialPauser() (common.Address, error)
PartialPauser is a free data retrieval call binding the contract method 0x9db93891.
Solidity: function partialPauser() view returns(address)
func (*OtokenControllerSession) Pool ¶
func (_OtokenController *OtokenControllerSession) Pool() (common.Address, error)
Pool is a free data retrieval call binding the contract method 0x16f0115b.
Solidity: function pool() view returns(address)
func (*OtokenControllerSession) RefreshConfiguration ¶
func (_OtokenController *OtokenControllerSession) RefreshConfiguration() (*types.Transaction, error)
RefreshConfiguration is a paid mutator transaction binding the contract method 0x64681083.
Solidity: function refreshConfiguration() returns()
func (*OtokenControllerSession) RenounceOwnership ¶
func (_OtokenController *OtokenControllerSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OtokenControllerSession) SetCallRestriction ¶
func (_OtokenController *OtokenControllerSession) SetCallRestriction(_isRestricted bool) (*types.Transaction, error)
SetCallRestriction is a paid mutator transaction binding the contract method 0xcab2e805.
Solidity: function setCallRestriction(bool _isRestricted) returns()
func (*OtokenControllerSession) SetFullPauser ¶
func (_OtokenController *OtokenControllerSession) SetFullPauser(_fullPauser common.Address) (*types.Transaction, error)
SetFullPauser is a paid mutator transaction binding the contract method 0xbeca75d7.
Solidity: function setFullPauser(address _fullPauser) returns()
func (*OtokenControllerSession) SetOperator ¶
func (_OtokenController *OtokenControllerSession) SetOperator(_operator common.Address, _isOperator bool) (*types.Transaction, error)
SetOperator is a paid mutator transaction binding the contract method 0x558a7297.
Solidity: function setOperator(address _operator, bool _isOperator) returns()
func (*OtokenControllerSession) SetPartialPauser ¶
func (_OtokenController *OtokenControllerSession) SetPartialPauser(_partialPauser common.Address) (*types.Transaction, error)
SetPartialPauser is a paid mutator transaction binding the contract method 0xbc463a3d.
Solidity: function setPartialPauser(address _partialPauser) returns()
func (*OtokenControllerSession) SetSystemFullyPaused ¶
func (_OtokenController *OtokenControllerSession) SetSystemFullyPaused(_fullyPaused bool) (*types.Transaction, error)
SetSystemFullyPaused is a paid mutator transaction binding the contract method 0x9f677ed9.
Solidity: function setSystemFullyPaused(bool _fullyPaused) returns()
func (*OtokenControllerSession) SetSystemPartiallyPaused ¶
func (_OtokenController *OtokenControllerSession) SetSystemPartiallyPaused(_partiallyPaused bool) (*types.Transaction, error)
SetSystemPartiallyPaused is a paid mutator transaction binding the contract method 0x573c473e.
Solidity: function setSystemPartiallyPaused(bool _partiallyPaused) returns()
func (*OtokenControllerSession) SystemFullyPaused ¶
func (_OtokenController *OtokenControllerSession) SystemFullyPaused() (bool, error)
SystemFullyPaused is a free data retrieval call binding the contract method 0xeab7775b.
Solidity: function systemFullyPaused() view returns(bool)
func (*OtokenControllerSession) SystemPartiallyPaused ¶
func (_OtokenController *OtokenControllerSession) SystemPartiallyPaused() (bool, error)
SystemPartiallyPaused is a free data retrieval call binding the contract method 0xcdee058a.
Solidity: function systemPartiallyPaused() view returns(bool)
func (*OtokenControllerSession) TransferOwnership ¶
func (_OtokenController *OtokenControllerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OtokenControllerShortOtokenBurned ¶
type OtokenControllerShortOtokenBurned struct { Otoken common.Address AccountOwner common.Address From common.Address VaultId *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
OtokenControllerShortOtokenBurned represents a ShortOtokenBurned event raised by the OtokenController contract.
type OtokenControllerShortOtokenBurnedIterator ¶
type OtokenControllerShortOtokenBurnedIterator struct { Event *OtokenControllerShortOtokenBurned // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OtokenControllerShortOtokenBurnedIterator is returned from FilterShortOtokenBurned and is used to iterate over the raw logs and unpacked data for ShortOtokenBurned events raised by the OtokenController contract.
func (*OtokenControllerShortOtokenBurnedIterator) Close ¶
func (it *OtokenControllerShortOtokenBurnedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OtokenControllerShortOtokenBurnedIterator) Error ¶
func (it *OtokenControllerShortOtokenBurnedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OtokenControllerShortOtokenBurnedIterator) Next ¶
func (it *OtokenControllerShortOtokenBurnedIterator) 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 OtokenControllerShortOtokenMinted ¶
type OtokenControllerShortOtokenMinted struct { Otoken common.Address AccountOwner common.Address To common.Address VaultId *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
OtokenControllerShortOtokenMinted represents a ShortOtokenMinted event raised by the OtokenController contract.
type OtokenControllerShortOtokenMintedIterator ¶
type OtokenControllerShortOtokenMintedIterator struct { Event *OtokenControllerShortOtokenMinted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OtokenControllerShortOtokenMintedIterator is returned from FilterShortOtokenMinted and is used to iterate over the raw logs and unpacked data for ShortOtokenMinted events raised by the OtokenController contract.
func (*OtokenControllerShortOtokenMintedIterator) Close ¶
func (it *OtokenControllerShortOtokenMintedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OtokenControllerShortOtokenMintedIterator) Error ¶
func (it *OtokenControllerShortOtokenMintedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OtokenControllerShortOtokenMintedIterator) Next ¶
func (it *OtokenControllerShortOtokenMintedIterator) 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 OtokenControllerSystemFullyPaused ¶
type OtokenControllerSystemFullyPaused struct { IsPaused bool Raw types.Log // Blockchain specific contextual infos }
OtokenControllerSystemFullyPaused represents a SystemFullyPaused event raised by the OtokenController contract.
type OtokenControllerSystemFullyPausedIterator ¶
type OtokenControllerSystemFullyPausedIterator struct { Event *OtokenControllerSystemFullyPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OtokenControllerSystemFullyPausedIterator is returned from FilterSystemFullyPaused and is used to iterate over the raw logs and unpacked data for SystemFullyPaused events raised by the OtokenController contract.
func (*OtokenControllerSystemFullyPausedIterator) Close ¶
func (it *OtokenControllerSystemFullyPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OtokenControllerSystemFullyPausedIterator) Error ¶
func (it *OtokenControllerSystemFullyPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OtokenControllerSystemFullyPausedIterator) Next ¶
func (it *OtokenControllerSystemFullyPausedIterator) 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 OtokenControllerSystemPartiallyPaused ¶
type OtokenControllerSystemPartiallyPaused struct { IsPaused bool Raw types.Log // Blockchain specific contextual infos }
OtokenControllerSystemPartiallyPaused represents a SystemPartiallyPaused event raised by the OtokenController contract.
type OtokenControllerSystemPartiallyPausedIterator ¶
type OtokenControllerSystemPartiallyPausedIterator struct { Event *OtokenControllerSystemPartiallyPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OtokenControllerSystemPartiallyPausedIterator is returned from FilterSystemPartiallyPaused and is used to iterate over the raw logs and unpacked data for SystemPartiallyPaused events raised by the OtokenController contract.
func (*OtokenControllerSystemPartiallyPausedIterator) Close ¶
func (it *OtokenControllerSystemPartiallyPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OtokenControllerSystemPartiallyPausedIterator) Error ¶
func (it *OtokenControllerSystemPartiallyPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OtokenControllerSystemPartiallyPausedIterator) Next ¶
func (it *OtokenControllerSystemPartiallyPausedIterator) 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 OtokenControllerTransactor ¶
type OtokenControllerTransactor struct {
// contains filtered or unexported fields
}
OtokenControllerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOtokenControllerTransactor ¶
func NewOtokenControllerTransactor(address common.Address, transactor bind.ContractTransactor) (*OtokenControllerTransactor, error)
NewOtokenControllerTransactor creates a new write-only instance of OtokenController, bound to a specific deployed contract.
func (*OtokenControllerTransactor) Initialize ¶
func (_OtokenController *OtokenControllerTransactor) Initialize(opts *bind.TransactOpts, _addressBook common.Address, _owner common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _addressBook, address _owner) returns()
func (*OtokenControllerTransactor) Operate ¶
func (_OtokenController *OtokenControllerTransactor) Operate(opts *bind.TransactOpts, _actions []ActionsActionArgs) (*types.Transaction, error)
Operate is a paid mutator transaction binding the contract method 0xb617f0c6.
Solidity: function operate((uint8,address,address,address,uint256,uint256,uint256,bytes)[] _actions) returns()
func (*OtokenControllerTransactor) RefreshConfiguration ¶
func (_OtokenController *OtokenControllerTransactor) RefreshConfiguration(opts *bind.TransactOpts) (*types.Transaction, error)
RefreshConfiguration is a paid mutator transaction binding the contract method 0x64681083.
Solidity: function refreshConfiguration() returns()
func (*OtokenControllerTransactor) RenounceOwnership ¶
func (_OtokenController *OtokenControllerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OtokenControllerTransactor) SetCallRestriction ¶
func (_OtokenController *OtokenControllerTransactor) SetCallRestriction(opts *bind.TransactOpts, _isRestricted bool) (*types.Transaction, error)
SetCallRestriction is a paid mutator transaction binding the contract method 0xcab2e805.
Solidity: function setCallRestriction(bool _isRestricted) returns()
func (*OtokenControllerTransactor) SetFullPauser ¶
func (_OtokenController *OtokenControllerTransactor) SetFullPauser(opts *bind.TransactOpts, _fullPauser common.Address) (*types.Transaction, error)
SetFullPauser is a paid mutator transaction binding the contract method 0xbeca75d7.
Solidity: function setFullPauser(address _fullPauser) returns()
func (*OtokenControllerTransactor) SetOperator ¶
func (_OtokenController *OtokenControllerTransactor) SetOperator(opts *bind.TransactOpts, _operator common.Address, _isOperator bool) (*types.Transaction, error)
SetOperator is a paid mutator transaction binding the contract method 0x558a7297.
Solidity: function setOperator(address _operator, bool _isOperator) returns()
func (*OtokenControllerTransactor) SetPartialPauser ¶
func (_OtokenController *OtokenControllerTransactor) SetPartialPauser(opts *bind.TransactOpts, _partialPauser common.Address) (*types.Transaction, error)
SetPartialPauser is a paid mutator transaction binding the contract method 0xbc463a3d.
Solidity: function setPartialPauser(address _partialPauser) returns()
func (*OtokenControllerTransactor) SetSystemFullyPaused ¶
func (_OtokenController *OtokenControllerTransactor) SetSystemFullyPaused(opts *bind.TransactOpts, _fullyPaused bool) (*types.Transaction, error)
SetSystemFullyPaused is a paid mutator transaction binding the contract method 0x9f677ed9.
Solidity: function setSystemFullyPaused(bool _fullyPaused) returns()
func (*OtokenControllerTransactor) SetSystemPartiallyPaused ¶
func (_OtokenController *OtokenControllerTransactor) SetSystemPartiallyPaused(opts *bind.TransactOpts, _partiallyPaused bool) (*types.Transaction, error)
SetSystemPartiallyPaused is a paid mutator transaction binding the contract method 0x573c473e.
Solidity: function setSystemPartiallyPaused(bool _partiallyPaused) returns()
func (*OtokenControllerTransactor) TransferOwnership ¶
func (_OtokenController *OtokenControllerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OtokenControllerTransactorRaw ¶
type OtokenControllerTransactorRaw struct {
Contract *OtokenControllerTransactor // Generic write-only contract binding to access the raw methods on
}
OtokenControllerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OtokenControllerTransactorRaw) Transact ¶
func (_OtokenController *OtokenControllerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OtokenControllerTransactorRaw) Transfer ¶
func (_OtokenController *OtokenControllerTransactorRaw) 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 OtokenControllerTransactorSession ¶
type OtokenControllerTransactorSession struct { Contract *OtokenControllerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OtokenControllerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OtokenControllerTransactorSession) Initialize ¶
func (_OtokenController *OtokenControllerTransactorSession) Initialize(_addressBook common.Address, _owner common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _addressBook, address _owner) returns()
func (*OtokenControllerTransactorSession) Operate ¶
func (_OtokenController *OtokenControllerTransactorSession) Operate(_actions []ActionsActionArgs) (*types.Transaction, error)
Operate is a paid mutator transaction binding the contract method 0xb617f0c6.
Solidity: function operate((uint8,address,address,address,uint256,uint256,uint256,bytes)[] _actions) returns()
func (*OtokenControllerTransactorSession) RefreshConfiguration ¶
func (_OtokenController *OtokenControllerTransactorSession) RefreshConfiguration() (*types.Transaction, error)
RefreshConfiguration is a paid mutator transaction binding the contract method 0x64681083.
Solidity: function refreshConfiguration() returns()
func (*OtokenControllerTransactorSession) RenounceOwnership ¶
func (_OtokenController *OtokenControllerTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OtokenControllerTransactorSession) SetCallRestriction ¶
func (_OtokenController *OtokenControllerTransactorSession) SetCallRestriction(_isRestricted bool) (*types.Transaction, error)
SetCallRestriction is a paid mutator transaction binding the contract method 0xcab2e805.
Solidity: function setCallRestriction(bool _isRestricted) returns()
func (*OtokenControllerTransactorSession) SetFullPauser ¶
func (_OtokenController *OtokenControllerTransactorSession) SetFullPauser(_fullPauser common.Address) (*types.Transaction, error)
SetFullPauser is a paid mutator transaction binding the contract method 0xbeca75d7.
Solidity: function setFullPauser(address _fullPauser) returns()
func (*OtokenControllerTransactorSession) SetOperator ¶
func (_OtokenController *OtokenControllerTransactorSession) SetOperator(_operator common.Address, _isOperator bool) (*types.Transaction, error)
SetOperator is a paid mutator transaction binding the contract method 0x558a7297.
Solidity: function setOperator(address _operator, bool _isOperator) returns()
func (*OtokenControllerTransactorSession) SetPartialPauser ¶
func (_OtokenController *OtokenControllerTransactorSession) SetPartialPauser(_partialPauser common.Address) (*types.Transaction, error)
SetPartialPauser is a paid mutator transaction binding the contract method 0xbc463a3d.
Solidity: function setPartialPauser(address _partialPauser) returns()
func (*OtokenControllerTransactorSession) SetSystemFullyPaused ¶
func (_OtokenController *OtokenControllerTransactorSession) SetSystemFullyPaused(_fullyPaused bool) (*types.Transaction, error)
SetSystemFullyPaused is a paid mutator transaction binding the contract method 0x9f677ed9.
Solidity: function setSystemFullyPaused(bool _fullyPaused) returns()
func (*OtokenControllerTransactorSession) SetSystemPartiallyPaused ¶
func (_OtokenController *OtokenControllerTransactorSession) SetSystemPartiallyPaused(_partiallyPaused bool) (*types.Transaction, error)
SetSystemPartiallyPaused is a paid mutator transaction binding the contract method 0x573c473e.
Solidity: function setSystemPartiallyPaused(bool _partiallyPaused) returns()
func (*OtokenControllerTransactorSession) TransferOwnership ¶
func (_OtokenController *OtokenControllerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OtokenControllerVaultOpened ¶
type OtokenControllerVaultOpened struct { AccountOwner common.Address VaultId *big.Int Raw types.Log // Blockchain specific contextual infos }
OtokenControllerVaultOpened represents a VaultOpened event raised by the OtokenController contract.
type OtokenControllerVaultOpenedIterator ¶
type OtokenControllerVaultOpenedIterator struct { Event *OtokenControllerVaultOpened // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OtokenControllerVaultOpenedIterator is returned from FilterVaultOpened and is used to iterate over the raw logs and unpacked data for VaultOpened events raised by the OtokenController contract.
func (*OtokenControllerVaultOpenedIterator) Close ¶
func (it *OtokenControllerVaultOpenedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OtokenControllerVaultOpenedIterator) Error ¶
func (it *OtokenControllerVaultOpenedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OtokenControllerVaultOpenedIterator) Next ¶
func (it *OtokenControllerVaultOpenedIterator) 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 OtokenControllerVaultSettled ¶
type OtokenControllerVaultSettled struct { AccountOwner common.Address To common.Address Otoken common.Address VaultId *big.Int Payout *big.Int Raw types.Log // Blockchain specific contextual infos }
OtokenControllerVaultSettled represents a VaultSettled event raised by the OtokenController contract.
type OtokenControllerVaultSettledIterator ¶
type OtokenControllerVaultSettledIterator struct { Event *OtokenControllerVaultSettled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OtokenControllerVaultSettledIterator is returned from FilterVaultSettled and is used to iterate over the raw logs and unpacked data for VaultSettled events raised by the OtokenController contract.
func (*OtokenControllerVaultSettledIterator) Close ¶
func (it *OtokenControllerVaultSettledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OtokenControllerVaultSettledIterator) Error ¶
func (it *OtokenControllerVaultSettledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OtokenControllerVaultSettledIterator) Next ¶
func (it *OtokenControllerVaultSettledIterator) 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.