Documentation ¶
Index ¶
- Variables
- type MultisigControl
- type MultisigControlCaller
- func (_MultisigControl *MultisigControlCaller) GetCurrentThreshold(opts *bind.CallOpts) (uint16, error)
- func (_MultisigControl *MultisigControlCaller) GetValidSignerCount(opts *bind.CallOpts) (uint8, error)
- func (_MultisigControl *MultisigControlCaller) IsNonceUsed(opts *bind.CallOpts, nonce *big.Int) (bool, error)
- func (_MultisigControl *MultisigControlCaller) IsValidSigner(opts *bind.CallOpts, signer_address common.Address) (bool, error)
- type MultisigControlCallerRaw
- type MultisigControlCallerSession
- func (_MultisigControl *MultisigControlCallerSession) GetCurrentThreshold() (uint16, error)
- func (_MultisigControl *MultisigControlCallerSession) GetValidSignerCount() (uint8, error)
- func (_MultisigControl *MultisigControlCallerSession) IsNonceUsed(nonce *big.Int) (bool, error)
- func (_MultisigControl *MultisigControlCallerSession) IsValidSigner(signer_address common.Address) (bool, error)
- type MultisigControlFilterer
- func (_MultisigControl *MultisigControlFilterer) FilterNonceBurnt(opts *bind.FilterOpts) (*MultisigControlNonceBurntIterator, error)
- func (_MultisigControl *MultisigControlFilterer) FilterSignerAdded(opts *bind.FilterOpts) (*MultisigControlSignerAddedIterator, error)
- func (_MultisigControl *MultisigControlFilterer) FilterSignerRemoved(opts *bind.FilterOpts) (*MultisigControlSignerRemovedIterator, error)
- func (_MultisigControl *MultisigControlFilterer) FilterThresholdSet(opts *bind.FilterOpts) (*MultisigControlThresholdSetIterator, error)
- func (_MultisigControl *MultisigControlFilterer) ParseNonceBurnt(log types.Log) (*MultisigControlNonceBurnt, error)
- func (_MultisigControl *MultisigControlFilterer) ParseSignerAdded(log types.Log) (*MultisigControlSignerAdded, error)
- func (_MultisigControl *MultisigControlFilterer) ParseSignerRemoved(log types.Log) (*MultisigControlSignerRemoved, error)
- func (_MultisigControl *MultisigControlFilterer) ParseThresholdSet(log types.Log) (*MultisigControlThresholdSet, error)
- func (_MultisigControl *MultisigControlFilterer) WatchNonceBurnt(opts *bind.WatchOpts, sink chan<- *MultisigControlNonceBurnt) (event.Subscription, error)
- func (_MultisigControl *MultisigControlFilterer) WatchSignerAdded(opts *bind.WatchOpts, sink chan<- *MultisigControlSignerAdded) (event.Subscription, error)
- func (_MultisigControl *MultisigControlFilterer) WatchSignerRemoved(opts *bind.WatchOpts, sink chan<- *MultisigControlSignerRemoved) (event.Subscription, error)
- func (_MultisigControl *MultisigControlFilterer) WatchThresholdSet(opts *bind.WatchOpts, sink chan<- *MultisigControlThresholdSet) (event.Subscription, error)
- type MultisigControlNonceBurnt
- type MultisigControlNonceBurntIterator
- type MultisigControlRaw
- func (_MultisigControl *MultisigControlRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MultisigControl *MultisigControlRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MultisigControl *MultisigControlRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MultisigControlSession
- func (_MultisigControl *MultisigControlSession) AddSigner(newSigner common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)
- func (_MultisigControl *MultisigControlSession) BurnNonce(nonce *big.Int, signatures []byte) (*types.Transaction, error)
- func (_MultisigControl *MultisigControlSession) GetCurrentThreshold() (uint16, error)
- func (_MultisigControl *MultisigControlSession) GetValidSignerCount() (uint8, error)
- func (_MultisigControl *MultisigControlSession) IsNonceUsed(nonce *big.Int) (bool, error)
- func (_MultisigControl *MultisigControlSession) IsValidSigner(signer_address common.Address) (bool, error)
- func (_MultisigControl *MultisigControlSession) RemoveSigner(oldSigner common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)
- func (_MultisigControl *MultisigControlSession) SetThreshold(newThreshold uint16, nonce *big.Int, signatures []byte) (*types.Transaction, error)
- func (_MultisigControl *MultisigControlSession) VerifySignatures(signatures []byte, message []byte, nonce *big.Int) (*types.Transaction, error)
- type MultisigControlSignerAdded
- type MultisigControlSignerAddedIterator
- type MultisigControlSignerRemoved
- type MultisigControlSignerRemovedIterator
- type MultisigControlThresholdSet
- type MultisigControlThresholdSetIterator
- type MultisigControlTransactor
- func (_MultisigControl *MultisigControlTransactor) AddSigner(opts *bind.TransactOpts, newSigner common.Address, nonce *big.Int, ...) (*types.Transaction, error)
- func (_MultisigControl *MultisigControlTransactor) BurnNonce(opts *bind.TransactOpts, nonce *big.Int, signatures []byte) (*types.Transaction, error)
- func (_MultisigControl *MultisigControlTransactor) RemoveSigner(opts *bind.TransactOpts, oldSigner common.Address, nonce *big.Int, ...) (*types.Transaction, error)
- func (_MultisigControl *MultisigControlTransactor) SetThreshold(opts *bind.TransactOpts, newThreshold uint16, nonce *big.Int, ...) (*types.Transaction, error)
- func (_MultisigControl *MultisigControlTransactor) VerifySignatures(opts *bind.TransactOpts, signatures []byte, message []byte, nonce *big.Int) (*types.Transaction, error)
- type MultisigControlTransactorRaw
- type MultisigControlTransactorSession
- func (_MultisigControl *MultisigControlTransactorSession) AddSigner(newSigner common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)
- func (_MultisigControl *MultisigControlTransactorSession) BurnNonce(nonce *big.Int, signatures []byte) (*types.Transaction, error)
- func (_MultisigControl *MultisigControlTransactorSession) RemoveSigner(oldSigner common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)
- func (_MultisigControl *MultisigControlTransactorSession) SetThreshold(newThreshold uint16, nonce *big.Int, signatures []byte) (*types.Transaction, error)
- func (_MultisigControl *MultisigControlTransactorSession) VerifySignatures(signatures []byte, message []byte, nonce *big.Int) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var MultisigControlABI = MultisigControlMetaData.ABI
MultisigControlABI is the input ABI used to generate the binding from. Deprecated: Use MultisigControlMetaData.ABI instead.
var MultisigControlMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"addSigner\",\"inputs\":[{\"name\":\"newSigner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"signatures\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"burnNonce\",\"inputs\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"signatures\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"getCurrentThreshold\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint16\",\"internalType\":\"uint16\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getValidSignerCount\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"isNonceUsed\",\"inputs\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"isValidSigner\",\"inputs\":[{\"name\":\"signer_address\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"removeSigner\",\"inputs\":[{\"name\":\"oldSigner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"signatures\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setThreshold\",\"inputs\":[{\"name\":\"newThreshold\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"signatures\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"verifySignatures\",\"inputs\":[{\"name\":\"signatures\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"message\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"NonceBurnt\",\"inputs\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SignerAdded\",\"inputs\":[{\"name\":\"newSigner\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SignerRemoved\",\"inputs\":[{\"name\":\"oldSigner\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ThresholdSet\",\"inputs\":[{\"name\":\"newThreshold\",\"type\":\"uint16\",\"indexed\":false,\"internalType\":\"uint16\"},{\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
}
MultisigControlMetaData contains all meta data concerning the MultisigControl contract.
Functions ¶
This section is empty.
Types ¶
type MultisigControl ¶
type MultisigControl struct { MultisigControlCaller // Read-only binding to the contract MultisigControlTransactor // Write-only binding to the contract MultisigControlFilterer // Log filterer for contract events }
MultisigControl is an auto generated Go binding around an Ethereum contract.
func NewMultisigControl ¶
func NewMultisigControl(address common.Address, backend bind.ContractBackend) (*MultisigControl, error)
NewMultisigControl creates a new instance of MultisigControl, bound to a specific deployed contract.
type MultisigControlCaller ¶
type MultisigControlCaller struct {
// contains filtered or unexported fields
}
MultisigControlCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMultisigControlCaller ¶
func NewMultisigControlCaller(address common.Address, caller bind.ContractCaller) (*MultisigControlCaller, error)
NewMultisigControlCaller creates a new read-only instance of MultisigControl, bound to a specific deployed contract.
func (*MultisigControlCaller) GetCurrentThreshold ¶
func (_MultisigControl *MultisigControlCaller) GetCurrentThreshold(opts *bind.CallOpts) (uint16, error)
GetCurrentThreshold is a free data retrieval call binding the contract method 0x1b71bf6e.
Solidity: function getCurrentThreshold() view returns(uint16)
func (*MultisigControlCaller) GetValidSignerCount ¶
func (_MultisigControl *MultisigControlCaller) GetValidSignerCount(opts *bind.CallOpts) (uint8, error)
GetValidSignerCount is a free data retrieval call binding the contract method 0x86778ed0.
Solidity: function getValidSignerCount() view returns(uint8)
func (*MultisigControlCaller) IsNonceUsed ¶
func (_MultisigControl *MultisigControlCaller) IsNonceUsed(opts *bind.CallOpts, nonce *big.Int) (bool, error)
IsNonceUsed is a free data retrieval call binding the contract method 0x5d00bb12.
Solidity: function isNonceUsed(uint256 nonce) view returns(bool)
func (*MultisigControlCaller) IsValidSigner ¶
func (_MultisigControl *MultisigControlCaller) IsValidSigner(opts *bind.CallOpts, signer_address common.Address) (bool, error)
IsValidSigner is a free data retrieval call binding the contract method 0xd5f50582.
Solidity: function isValidSigner(address signer_address) view returns(bool)
type MultisigControlCallerRaw ¶
type MultisigControlCallerRaw struct {
Contract *MultisigControlCaller // Generic read-only contract binding to access the raw methods on
}
MultisigControlCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MultisigControlCallerRaw) Call ¶
func (_MultisigControl *MultisigControlCallerRaw) 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 MultisigControlCallerSession ¶
type MultisigControlCallerSession struct { Contract *MultisigControlCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MultisigControlCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MultisigControlCallerSession) GetCurrentThreshold ¶
func (_MultisigControl *MultisigControlCallerSession) GetCurrentThreshold() (uint16, error)
GetCurrentThreshold is a free data retrieval call binding the contract method 0x1b71bf6e.
Solidity: function getCurrentThreshold() view returns(uint16)
func (*MultisigControlCallerSession) GetValidSignerCount ¶
func (_MultisigControl *MultisigControlCallerSession) GetValidSignerCount() (uint8, error)
GetValidSignerCount is a free data retrieval call binding the contract method 0x86778ed0.
Solidity: function getValidSignerCount() view returns(uint8)
func (*MultisigControlCallerSession) IsNonceUsed ¶
func (_MultisigControl *MultisigControlCallerSession) IsNonceUsed(nonce *big.Int) (bool, error)
IsNonceUsed is a free data retrieval call binding the contract method 0x5d00bb12.
Solidity: function isNonceUsed(uint256 nonce) view returns(bool)
func (*MultisigControlCallerSession) IsValidSigner ¶
func (_MultisigControl *MultisigControlCallerSession) IsValidSigner(signer_address common.Address) (bool, error)
IsValidSigner is a free data retrieval call binding the contract method 0xd5f50582.
Solidity: function isValidSigner(address signer_address) view returns(bool)
type MultisigControlFilterer ¶
type MultisigControlFilterer struct {
// contains filtered or unexported fields
}
MultisigControlFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMultisigControlFilterer ¶
func NewMultisigControlFilterer(address common.Address, filterer bind.ContractFilterer) (*MultisigControlFilterer, error)
NewMultisigControlFilterer creates a new log filterer instance of MultisigControl, bound to a specific deployed contract.
func (*MultisigControlFilterer) FilterNonceBurnt ¶
func (_MultisigControl *MultisigControlFilterer) FilterNonceBurnt(opts *bind.FilterOpts) (*MultisigControlNonceBurntIterator, error)
FilterNonceBurnt is a free log retrieval operation binding the contract event 0xb33a7fc220f9e1c644c0f616b48edee1956a978a7dcb37a10f16e148969e4c0b.
Solidity: event NonceBurnt(uint256 nonce)
func (*MultisigControlFilterer) FilterSignerAdded ¶
func (_MultisigControl *MultisigControlFilterer) FilterSignerAdded(opts *bind.FilterOpts) (*MultisigControlSignerAddedIterator, error)
FilterSignerAdded is a free log retrieval operation binding the contract event 0x50999ebf9b59bf3157a58816611976f2d723378ad51457d7b0413209e0cdee59.
Solidity: event SignerAdded(address newSigner, uint256 nonce)
func (*MultisigControlFilterer) FilterSignerRemoved ¶
func (_MultisigControl *MultisigControlFilterer) FilterSignerRemoved(opts *bind.FilterOpts) (*MultisigControlSignerRemovedIterator, error)
FilterSignerRemoved is a free log retrieval operation binding the contract event 0x99c1d2c0ed8107e4db2e5dbfb10a2549cd2a63cbe39cf99d2adffbcd03954418.
Solidity: event SignerRemoved(address oldSigner, uint256 nonce)
func (*MultisigControlFilterer) FilterThresholdSet ¶
func (_MultisigControl *MultisigControlFilterer) FilterThresholdSet(opts *bind.FilterOpts) (*MultisigControlThresholdSetIterator, error)
FilterThresholdSet is a free log retrieval operation binding the contract event 0xf6d24c23627520a3b70e5dc66aa1249844b4bb407c2c153d9000a2b14a1e3c11.
Solidity: event ThresholdSet(uint16 newThreshold, uint256 nonce)
func (*MultisigControlFilterer) ParseNonceBurnt ¶
func (_MultisigControl *MultisigControlFilterer) ParseNonceBurnt(log types.Log) (*MultisigControlNonceBurnt, error)
ParseNonceBurnt is a log parse operation binding the contract event 0xb33a7fc220f9e1c644c0f616b48edee1956a978a7dcb37a10f16e148969e4c0b.
Solidity: event NonceBurnt(uint256 nonce)
func (*MultisigControlFilterer) ParseSignerAdded ¶
func (_MultisigControl *MultisigControlFilterer) ParseSignerAdded(log types.Log) (*MultisigControlSignerAdded, error)
ParseSignerAdded is a log parse operation binding the contract event 0x50999ebf9b59bf3157a58816611976f2d723378ad51457d7b0413209e0cdee59.
Solidity: event SignerAdded(address newSigner, uint256 nonce)
func (*MultisigControlFilterer) ParseSignerRemoved ¶
func (_MultisigControl *MultisigControlFilterer) ParseSignerRemoved(log types.Log) (*MultisigControlSignerRemoved, error)
ParseSignerRemoved is a log parse operation binding the contract event 0x99c1d2c0ed8107e4db2e5dbfb10a2549cd2a63cbe39cf99d2adffbcd03954418.
Solidity: event SignerRemoved(address oldSigner, uint256 nonce)
func (*MultisigControlFilterer) ParseThresholdSet ¶
func (_MultisigControl *MultisigControlFilterer) ParseThresholdSet(log types.Log) (*MultisigControlThresholdSet, error)
ParseThresholdSet is a log parse operation binding the contract event 0xf6d24c23627520a3b70e5dc66aa1249844b4bb407c2c153d9000a2b14a1e3c11.
Solidity: event ThresholdSet(uint16 newThreshold, uint256 nonce)
func (*MultisigControlFilterer) WatchNonceBurnt ¶
func (_MultisigControl *MultisigControlFilterer) WatchNonceBurnt(opts *bind.WatchOpts, sink chan<- *MultisigControlNonceBurnt) (event.Subscription, error)
WatchNonceBurnt is a free log subscription operation binding the contract event 0xb33a7fc220f9e1c644c0f616b48edee1956a978a7dcb37a10f16e148969e4c0b.
Solidity: event NonceBurnt(uint256 nonce)
func (*MultisigControlFilterer) WatchSignerAdded ¶
func (_MultisigControl *MultisigControlFilterer) WatchSignerAdded(opts *bind.WatchOpts, sink chan<- *MultisigControlSignerAdded) (event.Subscription, error)
WatchSignerAdded is a free log subscription operation binding the contract event 0x50999ebf9b59bf3157a58816611976f2d723378ad51457d7b0413209e0cdee59.
Solidity: event SignerAdded(address newSigner, uint256 nonce)
func (*MultisigControlFilterer) WatchSignerRemoved ¶
func (_MultisigControl *MultisigControlFilterer) WatchSignerRemoved(opts *bind.WatchOpts, sink chan<- *MultisigControlSignerRemoved) (event.Subscription, error)
WatchSignerRemoved is a free log subscription operation binding the contract event 0x99c1d2c0ed8107e4db2e5dbfb10a2549cd2a63cbe39cf99d2adffbcd03954418.
Solidity: event SignerRemoved(address oldSigner, uint256 nonce)
func (*MultisigControlFilterer) WatchThresholdSet ¶
func (_MultisigControl *MultisigControlFilterer) WatchThresholdSet(opts *bind.WatchOpts, sink chan<- *MultisigControlThresholdSet) (event.Subscription, error)
WatchThresholdSet is a free log subscription operation binding the contract event 0xf6d24c23627520a3b70e5dc66aa1249844b4bb407c2c153d9000a2b14a1e3c11.
Solidity: event ThresholdSet(uint16 newThreshold, uint256 nonce)
type MultisigControlNonceBurnt ¶
type MultisigControlNonceBurnt struct { Nonce *big.Int Raw types.Log // Blockchain specific contextual infos }
MultisigControlNonceBurnt represents a NonceBurnt event raised by the MultisigControl contract.
type MultisigControlNonceBurntIterator ¶
type MultisigControlNonceBurntIterator struct { Event *MultisigControlNonceBurnt // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MultisigControlNonceBurntIterator is returned from FilterNonceBurnt and is used to iterate over the raw logs and unpacked data for NonceBurnt events raised by the MultisigControl contract.
func (*MultisigControlNonceBurntIterator) Close ¶
func (it *MultisigControlNonceBurntIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MultisigControlNonceBurntIterator) Error ¶
func (it *MultisigControlNonceBurntIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MultisigControlNonceBurntIterator) Next ¶
func (it *MultisigControlNonceBurntIterator) 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 MultisigControlRaw ¶
type MultisigControlRaw struct {
Contract *MultisigControl // Generic contract binding to access the raw methods on
}
MultisigControlRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MultisigControlRaw) Call ¶
func (_MultisigControl *MultisigControlRaw) 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 (*MultisigControlRaw) Transact ¶
func (_MultisigControl *MultisigControlRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MultisigControlRaw) Transfer ¶
func (_MultisigControl *MultisigControlRaw) 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 MultisigControlSession ¶
type MultisigControlSession struct { Contract *MultisigControl // 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 }
MultisigControlSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MultisigControlSession) AddSigner ¶
func (_MultisigControl *MultisigControlSession) AddSigner(newSigner common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)
AddSigner is a paid mutator transaction binding the contract method 0xea72ebd0.
Solidity: function addSigner(address newSigner, uint256 nonce, bytes signatures) returns()
func (*MultisigControlSession) BurnNonce ¶
func (_MultisigControl *MultisigControlSession) BurnNonce(nonce *big.Int, signatures []byte) (*types.Transaction, error)
BurnNonce is a paid mutator transaction binding the contract method 0xc15ce890.
Solidity: function burnNonce(uint256 nonce, bytes signatures) returns()
func (*MultisigControlSession) GetCurrentThreshold ¶
func (_MultisigControl *MultisigControlSession) GetCurrentThreshold() (uint16, error)
GetCurrentThreshold is a free data retrieval call binding the contract method 0x1b71bf6e.
Solidity: function getCurrentThreshold() view returns(uint16)
func (*MultisigControlSession) GetValidSignerCount ¶
func (_MultisigControl *MultisigControlSession) GetValidSignerCount() (uint8, error)
GetValidSignerCount is a free data retrieval call binding the contract method 0x86778ed0.
Solidity: function getValidSignerCount() view returns(uint8)
func (*MultisigControlSession) IsNonceUsed ¶
func (_MultisigControl *MultisigControlSession) IsNonceUsed(nonce *big.Int) (bool, error)
IsNonceUsed is a free data retrieval call binding the contract method 0x5d00bb12.
Solidity: function isNonceUsed(uint256 nonce) view returns(bool)
func (*MultisigControlSession) IsValidSigner ¶
func (_MultisigControl *MultisigControlSession) IsValidSigner(signer_address common.Address) (bool, error)
IsValidSigner is a free data retrieval call binding the contract method 0xd5f50582.
Solidity: function isValidSigner(address signer_address) view returns(bool)
func (*MultisigControlSession) RemoveSigner ¶
func (_MultisigControl *MultisigControlSession) RemoveSigner(oldSigner common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)
RemoveSigner is a paid mutator transaction binding the contract method 0xa3dd8ff2.
Solidity: function removeSigner(address oldSigner, uint256 nonce, bytes signatures) returns()
func (*MultisigControlSession) SetThreshold ¶
func (_MultisigControl *MultisigControlSession) SetThreshold(newThreshold uint16, nonce *big.Int, signatures []byte) (*types.Transaction, error)
SetThreshold is a paid mutator transaction binding the contract method 0xee9aea8a.
Solidity: function setThreshold(uint16 newThreshold, uint256 nonce, bytes signatures) returns()
func (*MultisigControlSession) VerifySignatures ¶
func (_MultisigControl *MultisigControlSession) VerifySignatures(signatures []byte, message []byte, nonce *big.Int) (*types.Transaction, error)
VerifySignatures is a paid mutator transaction binding the contract method 0x3fef2806.
Solidity: function verifySignatures(bytes signatures, bytes message, uint256 nonce) returns(bool)
type MultisigControlSignerAdded ¶
type MultisigControlSignerAdded struct { NewSigner common.Address Nonce *big.Int Raw types.Log // Blockchain specific contextual infos }
MultisigControlSignerAdded represents a SignerAdded event raised by the MultisigControl contract.
type MultisigControlSignerAddedIterator ¶
type MultisigControlSignerAddedIterator struct { Event *MultisigControlSignerAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MultisigControlSignerAddedIterator is returned from FilterSignerAdded and is used to iterate over the raw logs and unpacked data for SignerAdded events raised by the MultisigControl contract.
func (*MultisigControlSignerAddedIterator) Close ¶
func (it *MultisigControlSignerAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MultisigControlSignerAddedIterator) Error ¶
func (it *MultisigControlSignerAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MultisigControlSignerAddedIterator) Next ¶
func (it *MultisigControlSignerAddedIterator) 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 MultisigControlSignerRemoved ¶
type MultisigControlSignerRemoved struct { OldSigner common.Address Nonce *big.Int Raw types.Log // Blockchain specific contextual infos }
MultisigControlSignerRemoved represents a SignerRemoved event raised by the MultisigControl contract.
type MultisigControlSignerRemovedIterator ¶
type MultisigControlSignerRemovedIterator struct { Event *MultisigControlSignerRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MultisigControlSignerRemovedIterator is returned from FilterSignerRemoved and is used to iterate over the raw logs and unpacked data for SignerRemoved events raised by the MultisigControl contract.
func (*MultisigControlSignerRemovedIterator) Close ¶
func (it *MultisigControlSignerRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MultisigControlSignerRemovedIterator) Error ¶
func (it *MultisigControlSignerRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MultisigControlSignerRemovedIterator) Next ¶
func (it *MultisigControlSignerRemovedIterator) 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 MultisigControlThresholdSet ¶
type MultisigControlThresholdSet struct { NewThreshold uint16 Nonce *big.Int Raw types.Log // Blockchain specific contextual infos }
MultisigControlThresholdSet represents a ThresholdSet event raised by the MultisigControl contract.
type MultisigControlThresholdSetIterator ¶
type MultisigControlThresholdSetIterator struct { Event *MultisigControlThresholdSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MultisigControlThresholdSetIterator is returned from FilterThresholdSet and is used to iterate over the raw logs and unpacked data for ThresholdSet events raised by the MultisigControl contract.
func (*MultisigControlThresholdSetIterator) Close ¶
func (it *MultisigControlThresholdSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MultisigControlThresholdSetIterator) Error ¶
func (it *MultisigControlThresholdSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MultisigControlThresholdSetIterator) Next ¶
func (it *MultisigControlThresholdSetIterator) 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 MultisigControlTransactor ¶
type MultisigControlTransactor struct {
// contains filtered or unexported fields
}
MultisigControlTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMultisigControlTransactor ¶
func NewMultisigControlTransactor(address common.Address, transactor bind.ContractTransactor) (*MultisigControlTransactor, error)
NewMultisigControlTransactor creates a new write-only instance of MultisigControl, bound to a specific deployed contract.
func (*MultisigControlTransactor) AddSigner ¶
func (_MultisigControl *MultisigControlTransactor) AddSigner(opts *bind.TransactOpts, newSigner common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)
AddSigner is a paid mutator transaction binding the contract method 0xea72ebd0.
Solidity: function addSigner(address newSigner, uint256 nonce, bytes signatures) returns()
func (*MultisigControlTransactor) BurnNonce ¶
func (_MultisigControl *MultisigControlTransactor) BurnNonce(opts *bind.TransactOpts, nonce *big.Int, signatures []byte) (*types.Transaction, error)
BurnNonce is a paid mutator transaction binding the contract method 0xc15ce890.
Solidity: function burnNonce(uint256 nonce, bytes signatures) returns()
func (*MultisigControlTransactor) RemoveSigner ¶
func (_MultisigControl *MultisigControlTransactor) RemoveSigner(opts *bind.TransactOpts, oldSigner common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)
RemoveSigner is a paid mutator transaction binding the contract method 0xa3dd8ff2.
Solidity: function removeSigner(address oldSigner, uint256 nonce, bytes signatures) returns()
func (*MultisigControlTransactor) SetThreshold ¶
func (_MultisigControl *MultisigControlTransactor) SetThreshold(opts *bind.TransactOpts, newThreshold uint16, nonce *big.Int, signatures []byte) (*types.Transaction, error)
SetThreshold is a paid mutator transaction binding the contract method 0xee9aea8a.
Solidity: function setThreshold(uint16 newThreshold, uint256 nonce, bytes signatures) returns()
func (*MultisigControlTransactor) VerifySignatures ¶
func (_MultisigControl *MultisigControlTransactor) VerifySignatures(opts *bind.TransactOpts, signatures []byte, message []byte, nonce *big.Int) (*types.Transaction, error)
VerifySignatures is a paid mutator transaction binding the contract method 0x3fef2806.
Solidity: function verifySignatures(bytes signatures, bytes message, uint256 nonce) returns(bool)
type MultisigControlTransactorRaw ¶
type MultisigControlTransactorRaw struct {
Contract *MultisigControlTransactor // Generic write-only contract binding to access the raw methods on
}
MultisigControlTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MultisigControlTransactorRaw) Transact ¶
func (_MultisigControl *MultisigControlTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MultisigControlTransactorRaw) Transfer ¶
func (_MultisigControl *MultisigControlTransactorRaw) 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 MultisigControlTransactorSession ¶
type MultisigControlTransactorSession struct { Contract *MultisigControlTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MultisigControlTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MultisigControlTransactorSession) AddSigner ¶
func (_MultisigControl *MultisigControlTransactorSession) AddSigner(newSigner common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)
AddSigner is a paid mutator transaction binding the contract method 0xea72ebd0.
Solidity: function addSigner(address newSigner, uint256 nonce, bytes signatures) returns()
func (*MultisigControlTransactorSession) BurnNonce ¶
func (_MultisigControl *MultisigControlTransactorSession) BurnNonce(nonce *big.Int, signatures []byte) (*types.Transaction, error)
BurnNonce is a paid mutator transaction binding the contract method 0xc15ce890.
Solidity: function burnNonce(uint256 nonce, bytes signatures) returns()
func (*MultisigControlTransactorSession) RemoveSigner ¶
func (_MultisigControl *MultisigControlTransactorSession) RemoveSigner(oldSigner common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)
RemoveSigner is a paid mutator transaction binding the contract method 0xa3dd8ff2.
Solidity: function removeSigner(address oldSigner, uint256 nonce, bytes signatures) returns()
func (*MultisigControlTransactorSession) SetThreshold ¶
func (_MultisigControl *MultisigControlTransactorSession) SetThreshold(newThreshold uint16, nonce *big.Int, signatures []byte) (*types.Transaction, error)
SetThreshold is a paid mutator transaction binding the contract method 0xee9aea8a.
Solidity: function setThreshold(uint16 newThreshold, uint256 nonce, bytes signatures) returns()
func (*MultisigControlTransactorSession) VerifySignatures ¶
func (_MultisigControl *MultisigControlTransactorSession) VerifySignatures(signatures []byte, message []byte, nonce *big.Int) (*types.Transaction, error)
VerifySignatures is a paid mutator transaction binding the contract method 0x3fef2806.
Solidity: function verifySignatures(bytes signatures, bytes message, uint256 nonce) returns(bool)