Documentation ¶
Index ¶
- Constants
- type Token
- type TokenCaller
- func (_Token *TokenCaller) Confirmations(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (bool, error)
- func (_Token *TokenCaller) GetConfirmationCount(opts *bind.CallOpts, transactionId *big.Int) (*big.Int, error)
- func (_Token *TokenCaller) GetConfirmations(opts *bind.CallOpts, transactionId *big.Int) ([]common.Address, error)
- func (_Token *TokenCaller) GetOwners(opts *bind.CallOpts) ([]common.Address, error)
- func (_Token *TokenCaller) GetTransactionCount(opts *bind.CallOpts, pending bool, executed bool) (*big.Int, error)
- func (_Token *TokenCaller) GetTransactionIds(opts *bind.CallOpts, from *big.Int, to *big.Int, pending bool, executed bool) ([]*big.Int, error)
- func (_Token *TokenCaller) IsConfirmed(opts *bind.CallOpts, transactionId *big.Int) (bool, error)
- func (_Token *TokenCaller) IsOwner(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Token *TokenCaller) MAXOWNERCOUNT(opts *bind.CallOpts) (*big.Int, error)
- func (_Token *TokenCaller) Owners(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_Token *TokenCaller) Required(opts *bind.CallOpts) (*big.Int, error)
- func (_Token *TokenCaller) TransactionCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Token *TokenCaller) Transactions(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- type TokenCallerRaw
- type TokenCallerSession
- func (_Token *TokenCallerSession) Confirmations(arg0 *big.Int, arg1 common.Address) (bool, error)
- func (_Token *TokenCallerSession) GetConfirmationCount(transactionId *big.Int) (*big.Int, error)
- func (_Token *TokenCallerSession) GetConfirmations(transactionId *big.Int) ([]common.Address, error)
- func (_Token *TokenCallerSession) GetOwners() ([]common.Address, error)
- func (_Token *TokenCallerSession) GetTransactionCount(pending bool, executed bool) (*big.Int, error)
- func (_Token *TokenCallerSession) GetTransactionIds(from *big.Int, to *big.Int, pending bool, executed bool) ([]*big.Int, error)
- func (_Token *TokenCallerSession) IsConfirmed(transactionId *big.Int) (bool, error)
- func (_Token *TokenCallerSession) IsOwner(arg0 common.Address) (bool, error)
- func (_Token *TokenCallerSession) MAXOWNERCOUNT() (*big.Int, error)
- func (_Token *TokenCallerSession) Owners(arg0 *big.Int) (common.Address, error)
- func (_Token *TokenCallerSession) Required() (*big.Int, error)
- func (_Token *TokenCallerSession) TransactionCount() (*big.Int, error)
- func (_Token *TokenCallerSession) Transactions(arg0 *big.Int) (struct{ ... }, error)
- type TokenConfirmation
- type TokenConfirmationIterator
- type TokenDeposit
- type TokenDepositIterator
- type TokenExecution
- type TokenExecutionFailure
- type TokenExecutionFailureIterator
- type TokenExecutionIterator
- type TokenFilterer
- func (_Token *TokenFilterer) FilterConfirmation(opts *bind.FilterOpts, sender []common.Address, transactionId []*big.Int) (*TokenConfirmationIterator, error)
- func (_Token *TokenFilterer) FilterDeposit(opts *bind.FilterOpts, sender []common.Address) (*TokenDepositIterator, error)
- func (_Token *TokenFilterer) FilterExecution(opts *bind.FilterOpts, transactionId []*big.Int) (*TokenExecutionIterator, error)
- func (_Token *TokenFilterer) FilterExecutionFailure(opts *bind.FilterOpts, transactionId []*big.Int) (*TokenExecutionFailureIterator, error)
- func (_Token *TokenFilterer) FilterOwnerAddition(opts *bind.FilterOpts, owner []common.Address) (*TokenOwnerAdditionIterator, error)
- func (_Token *TokenFilterer) FilterOwnerRemoval(opts *bind.FilterOpts, owner []common.Address) (*TokenOwnerRemovalIterator, error)
- func (_Token *TokenFilterer) FilterRequirementChange(opts *bind.FilterOpts) (*TokenRequirementChangeIterator, error)
- func (_Token *TokenFilterer) FilterRevocation(opts *bind.FilterOpts, sender []common.Address, transactionId []*big.Int) (*TokenRevocationIterator, error)
- func (_Token *TokenFilterer) FilterSubmission(opts *bind.FilterOpts, transactionId []*big.Int) (*TokenSubmissionIterator, error)
- func (_Token *TokenFilterer) ParseConfirmation(log types.Log) (*TokenConfirmation, error)
- func (_Token *TokenFilterer) ParseDeposit(log types.Log) (*TokenDeposit, error)
- func (_Token *TokenFilterer) ParseExecution(log types.Log) (*TokenExecution, error)
- func (_Token *TokenFilterer) ParseExecutionFailure(log types.Log) (*TokenExecutionFailure, error)
- func (_Token *TokenFilterer) ParseOwnerAddition(log types.Log) (*TokenOwnerAddition, error)
- func (_Token *TokenFilterer) ParseOwnerRemoval(log types.Log) (*TokenOwnerRemoval, error)
- func (_Token *TokenFilterer) ParseRequirementChange(log types.Log) (*TokenRequirementChange, error)
- func (_Token *TokenFilterer) ParseRevocation(log types.Log) (*TokenRevocation, error)
- func (_Token *TokenFilterer) ParseSubmission(log types.Log) (*TokenSubmission, error)
- func (_Token *TokenFilterer) WatchConfirmation(opts *bind.WatchOpts, sink chan<- *TokenConfirmation, sender []common.Address, ...) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *TokenDeposit, sender []common.Address) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchExecution(opts *bind.WatchOpts, sink chan<- *TokenExecution, transactionId []*big.Int) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchExecutionFailure(opts *bind.WatchOpts, sink chan<- *TokenExecutionFailure, ...) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchOwnerAddition(opts *bind.WatchOpts, sink chan<- *TokenOwnerAddition, owner []common.Address) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchOwnerRemoval(opts *bind.WatchOpts, sink chan<- *TokenOwnerRemoval, owner []common.Address) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchRequirementChange(opts *bind.WatchOpts, sink chan<- *TokenRequirementChange) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchRevocation(opts *bind.WatchOpts, sink chan<- *TokenRevocation, sender []common.Address, ...) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchSubmission(opts *bind.WatchOpts, sink chan<- *TokenSubmission, transactionId []*big.Int) (event.Subscription, error)
- type TokenOwnerAddition
- type TokenOwnerAdditionIterator
- type TokenOwnerRemoval
- type TokenOwnerRemovalIterator
- type TokenRaw
- func (_Token *TokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Token *TokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TokenRequirementChange
- type TokenRequirementChangeIterator
- type TokenRevocation
- type TokenRevocationIterator
- type TokenSession
- func (_Token *TokenSession) AddOwner(owner common.Address) (*types.Transaction, error)
- func (_Token *TokenSession) ChangeRequirement(_required *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) ConfirmTransaction(transactionId *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) Confirmations(arg0 *big.Int, arg1 common.Address) (bool, error)
- func (_Token *TokenSession) ExecuteTransaction(transactionId *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_Token *TokenSession) GetConfirmationCount(transactionId *big.Int) (*big.Int, error)
- func (_Token *TokenSession) GetConfirmations(transactionId *big.Int) ([]common.Address, error)
- func (_Token *TokenSession) GetOwners() ([]common.Address, error)
- func (_Token *TokenSession) GetTransactionCount(pending bool, executed bool) (*big.Int, error)
- func (_Token *TokenSession) GetTransactionIds(from *big.Int, to *big.Int, pending bool, executed bool) ([]*big.Int, error)
- func (_Token *TokenSession) IsConfirmed(transactionId *big.Int) (bool, error)
- func (_Token *TokenSession) IsOwner(arg0 common.Address) (bool, error)
- func (_Token *TokenSession) MAXOWNERCOUNT() (*big.Int, error)
- func (_Token *TokenSession) Owners(arg0 *big.Int) (common.Address, error)
- func (_Token *TokenSession) RemoveOwner(owner common.Address) (*types.Transaction, error)
- func (_Token *TokenSession) ReplaceOwner(owner common.Address, newOwner common.Address) (*types.Transaction, error)
- func (_Token *TokenSession) Required() (*big.Int, error)
- func (_Token *TokenSession) RevokeConfirmation(transactionId *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) SubmitTransaction(destination common.Address, value *big.Int, data []byte) (*types.Transaction, error)
- func (_Token *TokenSession) TransactionCount() (*big.Int, error)
- func (_Token *TokenSession) Transactions(arg0 *big.Int) (struct{ ... }, error)
- type TokenSubmission
- type TokenSubmissionIterator
- type TokenTransactor
- func (_Token *TokenTransactor) AddOwner(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactor) ChangeRequirement(opts *bind.TransactOpts, _required *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) ConfirmTransaction(opts *bind.TransactOpts, transactionId *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) ExecuteTransaction(opts *bind.TransactOpts, transactionId *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_Token *TokenTransactor) RemoveOwner(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactor) ReplaceOwner(opts *bind.TransactOpts, owner common.Address, newOwner common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactor) RevokeConfirmation(opts *bind.TransactOpts, transactionId *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) SubmitTransaction(opts *bind.TransactOpts, destination common.Address, value *big.Int, ...) (*types.Transaction, error)
- type TokenTransactorRaw
- type TokenTransactorSession
- func (_Token *TokenTransactorSession) AddOwner(owner common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) ChangeRequirement(_required *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) ConfirmTransaction(transactionId *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) ExecuteTransaction(transactionId *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) RemoveOwner(owner common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) ReplaceOwner(owner common.Address, newOwner common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) RevokeConfirmation(transactionId *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) SubmitTransaction(destination common.Address, value *big.Int, data []byte) (*types.Transaction, error)
Constants ¶
const TokenABI = "" /* 6596-byte string literal not displayed */
TokenABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Token ¶
type Token struct { TokenCaller // Read-only binding to the contract TokenTransactor // Write-only binding to the contract TokenFilterer // Log filterer for contract events }
Token is an auto generated Go binding around an Ethereum contract.
type TokenCaller ¶
type TokenCaller struct {
// contains filtered or unexported fields
}
TokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTokenCaller ¶
func NewTokenCaller(address common.Address, caller bind.ContractCaller) (*TokenCaller, error)
NewTokenCaller creates a new read-only instance of Token, bound to a specific deployed contract.
func (*TokenCaller) Confirmations ¶
func (_Token *TokenCaller) Confirmations(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (bool, error)
Confirmations is a free data retrieval call binding the contract method 0x3411c81c.
Solidity: function confirmations(uint256 , address ) view returns(bool)
func (*TokenCaller) GetConfirmationCount ¶
func (_Token *TokenCaller) GetConfirmationCount(opts *bind.CallOpts, transactionId *big.Int) (*big.Int, error)
GetConfirmationCount is a free data retrieval call binding the contract method 0x8b51d13f.
Solidity: function getConfirmationCount(uint256 transactionId) view returns(uint256 count)
func (*TokenCaller) GetConfirmations ¶
func (_Token *TokenCaller) GetConfirmations(opts *bind.CallOpts, transactionId *big.Int) ([]common.Address, error)
GetConfirmations is a free data retrieval call binding the contract method 0xb5dc40c3.
Solidity: function getConfirmations(uint256 transactionId) view returns(address[] _confirmations)
func (*TokenCaller) GetOwners ¶
GetOwners is a free data retrieval call binding the contract method 0xa0e67e2b.
Solidity: function getOwners() view returns(address[])
func (*TokenCaller) GetTransactionCount ¶
func (_Token *TokenCaller) GetTransactionCount(opts *bind.CallOpts, pending bool, executed bool) (*big.Int, error)
GetTransactionCount is a free data retrieval call binding the contract method 0x54741525.
Solidity: function getTransactionCount(bool pending, bool executed) view returns(uint256 count)
func (*TokenCaller) GetTransactionIds ¶
func (_Token *TokenCaller) GetTransactionIds(opts *bind.CallOpts, from *big.Int, to *big.Int, pending bool, executed bool) ([]*big.Int, error)
GetTransactionIds is a free data retrieval call binding the contract method 0xa8abe69a.
Solidity: function getTransactionIds(uint256 from, uint256 to, bool pending, bool executed) view returns(uint256[] _transactionIds)
func (*TokenCaller) IsConfirmed ¶
IsConfirmed is a free data retrieval call binding the contract method 0x784547a7.
Solidity: function isConfirmed(uint256 transactionId) view returns(bool)
func (*TokenCaller) IsOwner ¶
IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.
Solidity: function isOwner(address ) view returns(bool)
func (*TokenCaller) MAXOWNERCOUNT ¶
MAXOWNERCOUNT is a free data retrieval call binding the contract method 0xd74f8edd.
Solidity: function MAX_OWNER_COUNT() view returns(uint256)
func (*TokenCaller) Owners ¶
Owners is a free data retrieval call binding the contract method 0x025e7c27.
Solidity: function owners(uint256 ) view returns(address)
func (*TokenCaller) Required ¶
Required is a free data retrieval call binding the contract method 0xdc8452cd.
Solidity: function required() view returns(uint256)
func (*TokenCaller) TransactionCount ¶
TransactionCount is a free data retrieval call binding the contract method 0xb77bf600.
Solidity: function transactionCount() view returns(uint256)
func (*TokenCaller) Transactions ¶
func (_Token *TokenCaller) Transactions(opts *bind.CallOpts, arg0 *big.Int) (struct { Destination common.Address Value *big.Int Data []byte Executed bool }, error)
Transactions is a free data retrieval call binding the contract method 0x9ace38c2.
Solidity: function transactions(uint256 ) view returns(address destination, uint256 value, bytes data, bool executed)
type TokenCallerRaw ¶
type TokenCallerRaw struct {
Contract *TokenCaller // Generic read-only contract binding to access the raw methods on
}
TokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TokenCallerRaw) Call ¶
func (_Token *TokenCallerRaw) 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 TokenCallerSession ¶
type TokenCallerSession struct { Contract *TokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TokenCallerSession) Confirmations ¶
Confirmations is a free data retrieval call binding the contract method 0x3411c81c.
Solidity: function confirmations(uint256 , address ) view returns(bool)
func (*TokenCallerSession) GetConfirmationCount ¶
GetConfirmationCount is a free data retrieval call binding the contract method 0x8b51d13f.
Solidity: function getConfirmationCount(uint256 transactionId) view returns(uint256 count)
func (*TokenCallerSession) GetConfirmations ¶
func (_Token *TokenCallerSession) GetConfirmations(transactionId *big.Int) ([]common.Address, error)
GetConfirmations is a free data retrieval call binding the contract method 0xb5dc40c3.
Solidity: function getConfirmations(uint256 transactionId) view returns(address[] _confirmations)
func (*TokenCallerSession) GetOwners ¶
func (_Token *TokenCallerSession) GetOwners() ([]common.Address, error)
GetOwners is a free data retrieval call binding the contract method 0xa0e67e2b.
Solidity: function getOwners() view returns(address[])
func (*TokenCallerSession) GetTransactionCount ¶
func (_Token *TokenCallerSession) GetTransactionCount(pending bool, executed bool) (*big.Int, error)
GetTransactionCount is a free data retrieval call binding the contract method 0x54741525.
Solidity: function getTransactionCount(bool pending, bool executed) view returns(uint256 count)
func (*TokenCallerSession) GetTransactionIds ¶
func (_Token *TokenCallerSession) GetTransactionIds(from *big.Int, to *big.Int, pending bool, executed bool) ([]*big.Int, error)
GetTransactionIds is a free data retrieval call binding the contract method 0xa8abe69a.
Solidity: function getTransactionIds(uint256 from, uint256 to, bool pending, bool executed) view returns(uint256[] _transactionIds)
func (*TokenCallerSession) IsConfirmed ¶
func (_Token *TokenCallerSession) IsConfirmed(transactionId *big.Int) (bool, error)
IsConfirmed is a free data retrieval call binding the contract method 0x784547a7.
Solidity: function isConfirmed(uint256 transactionId) view returns(bool)
func (*TokenCallerSession) IsOwner ¶
func (_Token *TokenCallerSession) IsOwner(arg0 common.Address) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.
Solidity: function isOwner(address ) view returns(bool)
func (*TokenCallerSession) MAXOWNERCOUNT ¶
func (_Token *TokenCallerSession) MAXOWNERCOUNT() (*big.Int, error)
MAXOWNERCOUNT is a free data retrieval call binding the contract method 0xd74f8edd.
Solidity: function MAX_OWNER_COUNT() view returns(uint256)
func (*TokenCallerSession) Owners ¶
Owners is a free data retrieval call binding the contract method 0x025e7c27.
Solidity: function owners(uint256 ) view returns(address)
func (*TokenCallerSession) Required ¶
func (_Token *TokenCallerSession) Required() (*big.Int, error)
Required is a free data retrieval call binding the contract method 0xdc8452cd.
Solidity: function required() view returns(uint256)
func (*TokenCallerSession) TransactionCount ¶
func (_Token *TokenCallerSession) TransactionCount() (*big.Int, error)
TransactionCount is a free data retrieval call binding the contract method 0xb77bf600.
Solidity: function transactionCount() view returns(uint256)
func (*TokenCallerSession) Transactions ¶
func (_Token *TokenCallerSession) Transactions(arg0 *big.Int) (struct { Destination common.Address Value *big.Int Data []byte Executed bool }, error)
Transactions is a free data retrieval call binding the contract method 0x9ace38c2.
Solidity: function transactions(uint256 ) view returns(address destination, uint256 value, bytes data, bool executed)
type TokenConfirmation ¶
type TokenConfirmation struct { Sender common.Address TransactionId *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenConfirmation represents a Confirmation event raised by the Token contract.
type TokenConfirmationIterator ¶
type TokenConfirmationIterator struct { Event *TokenConfirmation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenConfirmationIterator is returned from FilterConfirmation and is used to iterate over the raw logs and unpacked data for Confirmation events raised by the Token contract.
func (*TokenConfirmationIterator) Close ¶
func (it *TokenConfirmationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenConfirmationIterator) Error ¶
func (it *TokenConfirmationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenConfirmationIterator) Next ¶
func (it *TokenConfirmationIterator) 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 TokenDeposit ¶
type TokenDeposit struct { Sender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenDeposit represents a Deposit event raised by the Token contract.
type TokenDepositIterator ¶
type TokenDepositIterator struct { Event *TokenDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the Token contract.
func (*TokenDepositIterator) Close ¶
func (it *TokenDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenDepositIterator) Error ¶
func (it *TokenDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenDepositIterator) Next ¶
func (it *TokenDepositIterator) 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 TokenExecution ¶
type TokenExecution struct { TransactionId *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenExecution represents a Execution event raised by the Token contract.
type TokenExecutionFailure ¶
type TokenExecutionFailure struct { TransactionId *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenExecutionFailure represents a ExecutionFailure event raised by the Token contract.
type TokenExecutionFailureIterator ¶
type TokenExecutionFailureIterator struct { Event *TokenExecutionFailure // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenExecutionFailureIterator is returned from FilterExecutionFailure and is used to iterate over the raw logs and unpacked data for ExecutionFailure events raised by the Token contract.
func (*TokenExecutionFailureIterator) Close ¶
func (it *TokenExecutionFailureIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenExecutionFailureIterator) Error ¶
func (it *TokenExecutionFailureIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenExecutionFailureIterator) Next ¶
func (it *TokenExecutionFailureIterator) 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 TokenExecutionIterator ¶
type TokenExecutionIterator struct { Event *TokenExecution // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenExecutionIterator is returned from FilterExecution and is used to iterate over the raw logs and unpacked data for Execution events raised by the Token contract.
func (*TokenExecutionIterator) Close ¶
func (it *TokenExecutionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenExecutionIterator) Error ¶
func (it *TokenExecutionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenExecutionIterator) Next ¶
func (it *TokenExecutionIterator) 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 TokenFilterer ¶
type TokenFilterer struct {
// contains filtered or unexported fields
}
TokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTokenFilterer ¶
func NewTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenFilterer, error)
NewTokenFilterer creates a new log filterer instance of Token, bound to a specific deployed contract.
func (*TokenFilterer) FilterConfirmation ¶
func (_Token *TokenFilterer) FilterConfirmation(opts *bind.FilterOpts, sender []common.Address, transactionId []*big.Int) (*TokenConfirmationIterator, error)
FilterConfirmation is a free log retrieval operation binding the contract event 0x4a504a94899432a9846e1aa406dceb1bcfd538bb839071d49d1e5e23f5be30ef.
Solidity: event Confirmation(address indexed sender, uint256 indexed transactionId)
func (*TokenFilterer) FilterDeposit ¶
func (_Token *TokenFilterer) FilterDeposit(opts *bind.FilterOpts, sender []common.Address) (*TokenDepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed sender, uint256 value)
func (*TokenFilterer) FilterExecution ¶
func (_Token *TokenFilterer) FilterExecution(opts *bind.FilterOpts, transactionId []*big.Int) (*TokenExecutionIterator, error)
FilterExecution is a free log retrieval operation binding the contract event 0x33e13ecb54c3076d8e8bb8c2881800a4d972b792045ffae98fdf46df365fed75.
Solidity: event Execution(uint256 indexed transactionId)
func (*TokenFilterer) FilterExecutionFailure ¶
func (_Token *TokenFilterer) FilterExecutionFailure(opts *bind.FilterOpts, transactionId []*big.Int) (*TokenExecutionFailureIterator, error)
FilterExecutionFailure is a free log retrieval operation binding the contract event 0x526441bb6c1aba3c9a4a6ca1d6545da9c2333c8c48343ef398eb858d72b79236.
Solidity: event ExecutionFailure(uint256 indexed transactionId)
func (*TokenFilterer) FilterOwnerAddition ¶
func (_Token *TokenFilterer) FilterOwnerAddition(opts *bind.FilterOpts, owner []common.Address) (*TokenOwnerAdditionIterator, error)
FilterOwnerAddition is a free log retrieval operation binding the contract event 0xf39e6e1eb0edcf53c221607b54b00cd28f3196fed0a24994dc308b8f611b682d.
Solidity: event OwnerAddition(address indexed owner)
func (*TokenFilterer) FilterOwnerRemoval ¶
func (_Token *TokenFilterer) FilterOwnerRemoval(opts *bind.FilterOpts, owner []common.Address) (*TokenOwnerRemovalIterator, error)
FilterOwnerRemoval is a free log retrieval operation binding the contract event 0x8001553a916ef2f495d26a907cc54d96ed840d7bda71e73194bf5a9df7a76b90.
Solidity: event OwnerRemoval(address indexed owner)
func (*TokenFilterer) FilterRequirementChange ¶
func (_Token *TokenFilterer) FilterRequirementChange(opts *bind.FilterOpts) (*TokenRequirementChangeIterator, error)
FilterRequirementChange is a free log retrieval operation binding the contract event 0xa3f1ee9126a074d9326c682f561767f710e927faa811f7a99829d49dc421797a.
Solidity: event RequirementChange(uint256 required)
func (*TokenFilterer) FilterRevocation ¶
func (_Token *TokenFilterer) FilterRevocation(opts *bind.FilterOpts, sender []common.Address, transactionId []*big.Int) (*TokenRevocationIterator, error)
FilterRevocation is a free log retrieval operation binding the contract event 0xf6a317157440607f36269043eb55f1287a5a19ba2216afeab88cd46cbcfb88e9.
Solidity: event Revocation(address indexed sender, uint256 indexed transactionId)
func (*TokenFilterer) FilterSubmission ¶
func (_Token *TokenFilterer) FilterSubmission(opts *bind.FilterOpts, transactionId []*big.Int) (*TokenSubmissionIterator, error)
FilterSubmission is a free log retrieval operation binding the contract event 0xc0ba8fe4b176c1714197d43b9cc6bcf797a4a7461c5fe8d0ef6e184ae7601e51.
Solidity: event Submission(uint256 indexed transactionId)
func (*TokenFilterer) ParseConfirmation ¶
func (_Token *TokenFilterer) ParseConfirmation(log types.Log) (*TokenConfirmation, error)
ParseConfirmation is a log parse operation binding the contract event 0x4a504a94899432a9846e1aa406dceb1bcfd538bb839071d49d1e5e23f5be30ef.
Solidity: event Confirmation(address indexed sender, uint256 indexed transactionId)
func (*TokenFilterer) ParseDeposit ¶
func (_Token *TokenFilterer) ParseDeposit(log types.Log) (*TokenDeposit, error)
ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed sender, uint256 value)
func (*TokenFilterer) ParseExecution ¶
func (_Token *TokenFilterer) ParseExecution(log types.Log) (*TokenExecution, error)
ParseExecution is a log parse operation binding the contract event 0x33e13ecb54c3076d8e8bb8c2881800a4d972b792045ffae98fdf46df365fed75.
Solidity: event Execution(uint256 indexed transactionId)
func (*TokenFilterer) ParseExecutionFailure ¶
func (_Token *TokenFilterer) ParseExecutionFailure(log types.Log) (*TokenExecutionFailure, error)
ParseExecutionFailure is a log parse operation binding the contract event 0x526441bb6c1aba3c9a4a6ca1d6545da9c2333c8c48343ef398eb858d72b79236.
Solidity: event ExecutionFailure(uint256 indexed transactionId)
func (*TokenFilterer) ParseOwnerAddition ¶
func (_Token *TokenFilterer) ParseOwnerAddition(log types.Log) (*TokenOwnerAddition, error)
ParseOwnerAddition is a log parse operation binding the contract event 0xf39e6e1eb0edcf53c221607b54b00cd28f3196fed0a24994dc308b8f611b682d.
Solidity: event OwnerAddition(address indexed owner)
func (*TokenFilterer) ParseOwnerRemoval ¶
func (_Token *TokenFilterer) ParseOwnerRemoval(log types.Log) (*TokenOwnerRemoval, error)
ParseOwnerRemoval is a log parse operation binding the contract event 0x8001553a916ef2f495d26a907cc54d96ed840d7bda71e73194bf5a9df7a76b90.
Solidity: event OwnerRemoval(address indexed owner)
func (*TokenFilterer) ParseRequirementChange ¶
func (_Token *TokenFilterer) ParseRequirementChange(log types.Log) (*TokenRequirementChange, error)
ParseRequirementChange is a log parse operation binding the contract event 0xa3f1ee9126a074d9326c682f561767f710e927faa811f7a99829d49dc421797a.
Solidity: event RequirementChange(uint256 required)
func (*TokenFilterer) ParseRevocation ¶
func (_Token *TokenFilterer) ParseRevocation(log types.Log) (*TokenRevocation, error)
ParseRevocation is a log parse operation binding the contract event 0xf6a317157440607f36269043eb55f1287a5a19ba2216afeab88cd46cbcfb88e9.
Solidity: event Revocation(address indexed sender, uint256 indexed transactionId)
func (*TokenFilterer) ParseSubmission ¶
func (_Token *TokenFilterer) ParseSubmission(log types.Log) (*TokenSubmission, error)
ParseSubmission is a log parse operation binding the contract event 0xc0ba8fe4b176c1714197d43b9cc6bcf797a4a7461c5fe8d0ef6e184ae7601e51.
Solidity: event Submission(uint256 indexed transactionId)
func (*TokenFilterer) WatchConfirmation ¶
func (_Token *TokenFilterer) WatchConfirmation(opts *bind.WatchOpts, sink chan<- *TokenConfirmation, sender []common.Address, transactionId []*big.Int) (event.Subscription, error)
WatchConfirmation is a free log subscription operation binding the contract event 0x4a504a94899432a9846e1aa406dceb1bcfd538bb839071d49d1e5e23f5be30ef.
Solidity: event Confirmation(address indexed sender, uint256 indexed transactionId)
func (*TokenFilterer) WatchDeposit ¶
func (_Token *TokenFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *TokenDeposit, sender []common.Address) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed sender, uint256 value)
func (*TokenFilterer) WatchExecution ¶
func (_Token *TokenFilterer) WatchExecution(opts *bind.WatchOpts, sink chan<- *TokenExecution, transactionId []*big.Int) (event.Subscription, error)
WatchExecution is a free log subscription operation binding the contract event 0x33e13ecb54c3076d8e8bb8c2881800a4d972b792045ffae98fdf46df365fed75.
Solidity: event Execution(uint256 indexed transactionId)
func (*TokenFilterer) WatchExecutionFailure ¶
func (_Token *TokenFilterer) WatchExecutionFailure(opts *bind.WatchOpts, sink chan<- *TokenExecutionFailure, transactionId []*big.Int) (event.Subscription, error)
WatchExecutionFailure is a free log subscription operation binding the contract event 0x526441bb6c1aba3c9a4a6ca1d6545da9c2333c8c48343ef398eb858d72b79236.
Solidity: event ExecutionFailure(uint256 indexed transactionId)
func (*TokenFilterer) WatchOwnerAddition ¶
func (_Token *TokenFilterer) WatchOwnerAddition(opts *bind.WatchOpts, sink chan<- *TokenOwnerAddition, owner []common.Address) (event.Subscription, error)
WatchOwnerAddition is a free log subscription operation binding the contract event 0xf39e6e1eb0edcf53c221607b54b00cd28f3196fed0a24994dc308b8f611b682d.
Solidity: event OwnerAddition(address indexed owner)
func (*TokenFilterer) WatchOwnerRemoval ¶
func (_Token *TokenFilterer) WatchOwnerRemoval(opts *bind.WatchOpts, sink chan<- *TokenOwnerRemoval, owner []common.Address) (event.Subscription, error)
WatchOwnerRemoval is a free log subscription operation binding the contract event 0x8001553a916ef2f495d26a907cc54d96ed840d7bda71e73194bf5a9df7a76b90.
Solidity: event OwnerRemoval(address indexed owner)
func (*TokenFilterer) WatchRequirementChange ¶
func (_Token *TokenFilterer) WatchRequirementChange(opts *bind.WatchOpts, sink chan<- *TokenRequirementChange) (event.Subscription, error)
WatchRequirementChange is a free log subscription operation binding the contract event 0xa3f1ee9126a074d9326c682f561767f710e927faa811f7a99829d49dc421797a.
Solidity: event RequirementChange(uint256 required)
func (*TokenFilterer) WatchRevocation ¶
func (_Token *TokenFilterer) WatchRevocation(opts *bind.WatchOpts, sink chan<- *TokenRevocation, sender []common.Address, transactionId []*big.Int) (event.Subscription, error)
WatchRevocation is a free log subscription operation binding the contract event 0xf6a317157440607f36269043eb55f1287a5a19ba2216afeab88cd46cbcfb88e9.
Solidity: event Revocation(address indexed sender, uint256 indexed transactionId)
func (*TokenFilterer) WatchSubmission ¶
func (_Token *TokenFilterer) WatchSubmission(opts *bind.WatchOpts, sink chan<- *TokenSubmission, transactionId []*big.Int) (event.Subscription, error)
WatchSubmission is a free log subscription operation binding the contract event 0xc0ba8fe4b176c1714197d43b9cc6bcf797a4a7461c5fe8d0ef6e184ae7601e51.
Solidity: event Submission(uint256 indexed transactionId)
type TokenOwnerAddition ¶
type TokenOwnerAddition struct { Owner common.Address Raw types.Log // Blockchain specific contextual infos }
TokenOwnerAddition represents a OwnerAddition event raised by the Token contract.
type TokenOwnerAdditionIterator ¶
type TokenOwnerAdditionIterator struct { Event *TokenOwnerAddition // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenOwnerAdditionIterator is returned from FilterOwnerAddition and is used to iterate over the raw logs and unpacked data for OwnerAddition events raised by the Token contract.
func (*TokenOwnerAdditionIterator) Close ¶
func (it *TokenOwnerAdditionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenOwnerAdditionIterator) Error ¶
func (it *TokenOwnerAdditionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenOwnerAdditionIterator) Next ¶
func (it *TokenOwnerAdditionIterator) 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 TokenOwnerRemoval ¶
type TokenOwnerRemoval struct { Owner common.Address Raw types.Log // Blockchain specific contextual infos }
TokenOwnerRemoval represents a OwnerRemoval event raised by the Token contract.
type TokenOwnerRemovalIterator ¶
type TokenOwnerRemovalIterator struct { Event *TokenOwnerRemoval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenOwnerRemovalIterator is returned from FilterOwnerRemoval and is used to iterate over the raw logs and unpacked data for OwnerRemoval events raised by the Token contract.
func (*TokenOwnerRemovalIterator) Close ¶
func (it *TokenOwnerRemovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenOwnerRemovalIterator) Error ¶
func (it *TokenOwnerRemovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenOwnerRemovalIterator) Next ¶
func (it *TokenOwnerRemovalIterator) 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 TokenRaw ¶
type TokenRaw struct {
Contract *Token // Generic contract binding to access the raw methods on
}
TokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TokenRaw) Call ¶
func (_Token *TokenRaw) 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 (*TokenRaw) Transact ¶
func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenRaw) Transfer ¶
func (_Token *TokenRaw) 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 TokenRequirementChange ¶
type TokenRequirementChange struct { Required *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenRequirementChange represents a RequirementChange event raised by the Token contract.
type TokenRequirementChangeIterator ¶
type TokenRequirementChangeIterator struct { Event *TokenRequirementChange // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenRequirementChangeIterator is returned from FilterRequirementChange and is used to iterate over the raw logs and unpacked data for RequirementChange events raised by the Token contract.
func (*TokenRequirementChangeIterator) Close ¶
func (it *TokenRequirementChangeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenRequirementChangeIterator) Error ¶
func (it *TokenRequirementChangeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenRequirementChangeIterator) Next ¶
func (it *TokenRequirementChangeIterator) 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 TokenRevocation ¶
type TokenRevocation struct { Sender common.Address TransactionId *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenRevocation represents a Revocation event raised by the Token contract.
type TokenRevocationIterator ¶
type TokenRevocationIterator struct { Event *TokenRevocation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenRevocationIterator is returned from FilterRevocation and is used to iterate over the raw logs and unpacked data for Revocation events raised by the Token contract.
func (*TokenRevocationIterator) Close ¶
func (it *TokenRevocationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenRevocationIterator) Error ¶
func (it *TokenRevocationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenRevocationIterator) Next ¶
func (it *TokenRevocationIterator) 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 TokenSession ¶
type TokenSession struct { Contract *Token // 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 }
TokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TokenSession) AddOwner ¶
func (_Token *TokenSession) AddOwner(owner common.Address) (*types.Transaction, error)
AddOwner is a paid mutator transaction binding the contract method 0x7065cb48.
Solidity: function addOwner(address owner) returns()
func (*TokenSession) ChangeRequirement ¶
func (_Token *TokenSession) ChangeRequirement(_required *big.Int) (*types.Transaction, error)
ChangeRequirement is a paid mutator transaction binding the contract method 0xba51a6df.
Solidity: function changeRequirement(uint256 _required) returns()
func (*TokenSession) ConfirmTransaction ¶
func (_Token *TokenSession) ConfirmTransaction(transactionId *big.Int) (*types.Transaction, error)
ConfirmTransaction is a paid mutator transaction binding the contract method 0xc01a8c84.
Solidity: function confirmTransaction(uint256 transactionId) returns()
func (*TokenSession) Confirmations ¶
Confirmations is a free data retrieval call binding the contract method 0x3411c81c.
Solidity: function confirmations(uint256 , address ) view returns(bool)
func (*TokenSession) ExecuteTransaction ¶
func (_Token *TokenSession) ExecuteTransaction(transactionId *big.Int) (*types.Transaction, error)
ExecuteTransaction is a paid mutator transaction binding the contract method 0xee22610b.
Solidity: function executeTransaction(uint256 transactionId) returns()
func (*TokenSession) Fallback ¶
func (_Token *TokenSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*TokenSession) GetConfirmationCount ¶
GetConfirmationCount is a free data retrieval call binding the contract method 0x8b51d13f.
Solidity: function getConfirmationCount(uint256 transactionId) view returns(uint256 count)
func (*TokenSession) GetConfirmations ¶
GetConfirmations is a free data retrieval call binding the contract method 0xb5dc40c3.
Solidity: function getConfirmations(uint256 transactionId) view returns(address[] _confirmations)
func (*TokenSession) GetOwners ¶
func (_Token *TokenSession) GetOwners() ([]common.Address, error)
GetOwners is a free data retrieval call binding the contract method 0xa0e67e2b.
Solidity: function getOwners() view returns(address[])
func (*TokenSession) GetTransactionCount ¶
GetTransactionCount is a free data retrieval call binding the contract method 0x54741525.
Solidity: function getTransactionCount(bool pending, bool executed) view returns(uint256 count)
func (*TokenSession) GetTransactionIds ¶
func (_Token *TokenSession) GetTransactionIds(from *big.Int, to *big.Int, pending bool, executed bool) ([]*big.Int, error)
GetTransactionIds is a free data retrieval call binding the contract method 0xa8abe69a.
Solidity: function getTransactionIds(uint256 from, uint256 to, bool pending, bool executed) view returns(uint256[] _transactionIds)
func (*TokenSession) IsConfirmed ¶
func (_Token *TokenSession) IsConfirmed(transactionId *big.Int) (bool, error)
IsConfirmed is a free data retrieval call binding the contract method 0x784547a7.
Solidity: function isConfirmed(uint256 transactionId) view returns(bool)
func (*TokenSession) IsOwner ¶
func (_Token *TokenSession) IsOwner(arg0 common.Address) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.
Solidity: function isOwner(address ) view returns(bool)
func (*TokenSession) MAXOWNERCOUNT ¶
func (_Token *TokenSession) MAXOWNERCOUNT() (*big.Int, error)
MAXOWNERCOUNT is a free data retrieval call binding the contract method 0xd74f8edd.
Solidity: function MAX_OWNER_COUNT() view returns(uint256)
func (*TokenSession) Owners ¶
Owners is a free data retrieval call binding the contract method 0x025e7c27.
Solidity: function owners(uint256 ) view returns(address)
func (*TokenSession) RemoveOwner ¶
func (_Token *TokenSession) RemoveOwner(owner common.Address) (*types.Transaction, error)
RemoveOwner is a paid mutator transaction binding the contract method 0x173825d9.
Solidity: function removeOwner(address owner) returns()
func (*TokenSession) ReplaceOwner ¶
func (_Token *TokenSession) ReplaceOwner(owner common.Address, newOwner common.Address) (*types.Transaction, error)
ReplaceOwner is a paid mutator transaction binding the contract method 0xe20056e6.
Solidity: function replaceOwner(address owner, address newOwner) returns()
func (*TokenSession) Required ¶
func (_Token *TokenSession) Required() (*big.Int, error)
Required is a free data retrieval call binding the contract method 0xdc8452cd.
Solidity: function required() view returns(uint256)
func (*TokenSession) RevokeConfirmation ¶
func (_Token *TokenSession) RevokeConfirmation(transactionId *big.Int) (*types.Transaction, error)
RevokeConfirmation is a paid mutator transaction binding the contract method 0x20ea8d86.
Solidity: function revokeConfirmation(uint256 transactionId) returns()
func (*TokenSession) SubmitTransaction ¶
func (_Token *TokenSession) SubmitTransaction(destination common.Address, value *big.Int, data []byte) (*types.Transaction, error)
SubmitTransaction is a paid mutator transaction binding the contract method 0xc6427474.
Solidity: function submitTransaction(address destination, uint256 value, bytes data) returns(uint256 transactionId)
func (*TokenSession) TransactionCount ¶
func (_Token *TokenSession) TransactionCount() (*big.Int, error)
TransactionCount is a free data retrieval call binding the contract method 0xb77bf600.
Solidity: function transactionCount() view returns(uint256)
func (*TokenSession) Transactions ¶
func (_Token *TokenSession) Transactions(arg0 *big.Int) (struct { Destination common.Address Value *big.Int Data []byte Executed bool }, error)
Transactions is a free data retrieval call binding the contract method 0x9ace38c2.
Solidity: function transactions(uint256 ) view returns(address destination, uint256 value, bytes data, bool executed)
type TokenSubmission ¶
type TokenSubmission struct { TransactionId *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenSubmission represents a Submission event raised by the Token contract.
type TokenSubmissionIterator ¶
type TokenSubmissionIterator struct { Event *TokenSubmission // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenSubmissionIterator is returned from FilterSubmission and is used to iterate over the raw logs and unpacked data for Submission events raised by the Token contract.
func (*TokenSubmissionIterator) Close ¶
func (it *TokenSubmissionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenSubmissionIterator) Error ¶
func (it *TokenSubmissionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenSubmissionIterator) Next ¶
func (it *TokenSubmissionIterator) 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 TokenTransactor ¶
type TokenTransactor struct {
// contains filtered or unexported fields
}
TokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTokenTransactor ¶
func NewTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTransactor, error)
NewTokenTransactor creates a new write-only instance of Token, bound to a specific deployed contract.
func (*TokenTransactor) AddOwner ¶
func (_Token *TokenTransactor) AddOwner(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)
AddOwner is a paid mutator transaction binding the contract method 0x7065cb48.
Solidity: function addOwner(address owner) returns()
func (*TokenTransactor) ChangeRequirement ¶
func (_Token *TokenTransactor) ChangeRequirement(opts *bind.TransactOpts, _required *big.Int) (*types.Transaction, error)
ChangeRequirement is a paid mutator transaction binding the contract method 0xba51a6df.
Solidity: function changeRequirement(uint256 _required) returns()
func (*TokenTransactor) ConfirmTransaction ¶
func (_Token *TokenTransactor) ConfirmTransaction(opts *bind.TransactOpts, transactionId *big.Int) (*types.Transaction, error)
ConfirmTransaction is a paid mutator transaction binding the contract method 0xc01a8c84.
Solidity: function confirmTransaction(uint256 transactionId) returns()
func (*TokenTransactor) ExecuteTransaction ¶
func (_Token *TokenTransactor) ExecuteTransaction(opts *bind.TransactOpts, transactionId *big.Int) (*types.Transaction, error)
ExecuteTransaction is a paid mutator transaction binding the contract method 0xee22610b.
Solidity: function executeTransaction(uint256 transactionId) returns()
func (*TokenTransactor) Fallback ¶
func (_Token *TokenTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*TokenTransactor) RemoveOwner ¶
func (_Token *TokenTransactor) RemoveOwner(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)
RemoveOwner is a paid mutator transaction binding the contract method 0x173825d9.
Solidity: function removeOwner(address owner) returns()
func (*TokenTransactor) ReplaceOwner ¶
func (_Token *TokenTransactor) ReplaceOwner(opts *bind.TransactOpts, owner common.Address, newOwner common.Address) (*types.Transaction, error)
ReplaceOwner is a paid mutator transaction binding the contract method 0xe20056e6.
Solidity: function replaceOwner(address owner, address newOwner) returns()
func (*TokenTransactor) RevokeConfirmation ¶
func (_Token *TokenTransactor) RevokeConfirmation(opts *bind.TransactOpts, transactionId *big.Int) (*types.Transaction, error)
RevokeConfirmation is a paid mutator transaction binding the contract method 0x20ea8d86.
Solidity: function revokeConfirmation(uint256 transactionId) returns()
func (*TokenTransactor) SubmitTransaction ¶
func (_Token *TokenTransactor) SubmitTransaction(opts *bind.TransactOpts, destination common.Address, value *big.Int, data []byte) (*types.Transaction, error)
SubmitTransaction is a paid mutator transaction binding the contract method 0xc6427474.
Solidity: function submitTransaction(address destination, uint256 value, bytes data) returns(uint256 transactionId)
type TokenTransactorRaw ¶
type TokenTransactorRaw struct {
Contract *TokenTransactor // Generic write-only contract binding to access the raw methods on
}
TokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TokenTransactorRaw) Transact ¶
func (_Token *TokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenTransactorRaw) Transfer ¶
func (_Token *TokenTransactorRaw) 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 TokenTransactorSession ¶
type TokenTransactorSession struct { Contract *TokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TokenTransactorSession) AddOwner ¶
func (_Token *TokenTransactorSession) AddOwner(owner common.Address) (*types.Transaction, error)
AddOwner is a paid mutator transaction binding the contract method 0x7065cb48.
Solidity: function addOwner(address owner) returns()
func (*TokenTransactorSession) ChangeRequirement ¶
func (_Token *TokenTransactorSession) ChangeRequirement(_required *big.Int) (*types.Transaction, error)
ChangeRequirement is a paid mutator transaction binding the contract method 0xba51a6df.
Solidity: function changeRequirement(uint256 _required) returns()
func (*TokenTransactorSession) ConfirmTransaction ¶
func (_Token *TokenTransactorSession) ConfirmTransaction(transactionId *big.Int) (*types.Transaction, error)
ConfirmTransaction is a paid mutator transaction binding the contract method 0xc01a8c84.
Solidity: function confirmTransaction(uint256 transactionId) returns()
func (*TokenTransactorSession) ExecuteTransaction ¶
func (_Token *TokenTransactorSession) ExecuteTransaction(transactionId *big.Int) (*types.Transaction, error)
ExecuteTransaction is a paid mutator transaction binding the contract method 0xee22610b.
Solidity: function executeTransaction(uint256 transactionId) returns()
func (*TokenTransactorSession) Fallback ¶
func (_Token *TokenTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*TokenTransactorSession) RemoveOwner ¶
func (_Token *TokenTransactorSession) RemoveOwner(owner common.Address) (*types.Transaction, error)
RemoveOwner is a paid mutator transaction binding the contract method 0x173825d9.
Solidity: function removeOwner(address owner) returns()
func (*TokenTransactorSession) ReplaceOwner ¶
func (_Token *TokenTransactorSession) ReplaceOwner(owner common.Address, newOwner common.Address) (*types.Transaction, error)
ReplaceOwner is a paid mutator transaction binding the contract method 0xe20056e6.
Solidity: function replaceOwner(address owner, address newOwner) returns()
func (*TokenTransactorSession) RevokeConfirmation ¶
func (_Token *TokenTransactorSession) RevokeConfirmation(transactionId *big.Int) (*types.Transaction, error)
RevokeConfirmation is a paid mutator transaction binding the contract method 0x20ea8d86.
Solidity: function revokeConfirmation(uint256 transactionId) returns()
func (*TokenTransactorSession) SubmitTransaction ¶
func (_Token *TokenTransactorSession) SubmitTransaction(destination common.Address, value *big.Int, data []byte) (*types.Transaction, error)
SubmitTransaction is a paid mutator transaction binding the contract method 0xc6427474.
Solidity: function submitTransaction(address destination, uint256 value, bytes data) returns(uint256 transactionId)