multisig_control

package
v0.0.0-...-141c82c Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MultisigControlABI = MultisigControlMetaData.ABI

MultisigControlABI is the input ABI used to generate the binding from. Deprecated: Use MultisigControlMetaData.ABI instead.

View Source
var MultisigControlMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"NonceBurnt\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"new_signer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"SignerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"old_signer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"SignerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"new_threshold\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"ThresholdSet\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"new_signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"add_signer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"burn_nonce\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"get_current_threshold\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"get_valid_signer_count\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"is_nonce_used\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer_address\",\"type\":\"address\"}],\"name\":\"is_valid_signer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"old_signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"remove_signer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"new_threshold\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"set_threshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"signers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"verify_signatures\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

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 0xdbe528df.

Solidity: function get_current_threshold() 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 0xb04e3dd1.

Solidity: function get_valid_signer_count() 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 0x5b9fe26b.

Solidity: function is_nonce_used(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 0x5f061559.

Solidity: function is_valid_signer(address signer_address) view returns(bool)

func (*MultisigControlCaller) Signers

func (_MultisigControl *MultisigControlCaller) Signers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Signers is a free data retrieval call binding the contract method 0x736c0d5b.

Solidity: function signers(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 0xdbe528df.

Solidity: function get_current_threshold() view returns(uint16)

func (*MultisigControlCallerSession) GetValidSignerCount

func (_MultisigControl *MultisigControlCallerSession) GetValidSignerCount() (uint8, error)

GetValidSignerCount is a free data retrieval call binding the contract method 0xb04e3dd1.

Solidity: function get_valid_signer_count() 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 0x5b9fe26b.

Solidity: function is_nonce_used(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 0x5f061559.

Solidity: function is_valid_signer(address signer_address) view returns(bool)

func (*MultisigControlCallerSession) Signers

func (_MultisigControl *MultisigControlCallerSession) Signers(arg0 common.Address) (bool, error)

Signers is a free data retrieval call binding the contract method 0x736c0d5b.

Solidity: function signers(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 new_signer, 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 old_signer, 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 new_threshold, 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 new_signer, 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 old_signer, 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 new_threshold, 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 new_signer, 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 old_signer, 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 new_threshold, 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

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

func (*MultisigControlNonceBurntIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MultisigControlNonceBurntIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type 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(new_signer common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)

AddSigner is a paid mutator transaction binding the contract method 0xf8e3a660.

Solidity: function add_signer(address new_signer, 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 0x5ec51639.

Solidity: function burn_nonce(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 0xdbe528df.

Solidity: function get_current_threshold() view returns(uint16)

func (*MultisigControlSession) GetValidSignerCount

func (_MultisigControl *MultisigControlSession) GetValidSignerCount() (uint8, error)

GetValidSignerCount is a free data retrieval call binding the contract method 0xb04e3dd1.

Solidity: function get_valid_signer_count() 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 0x5b9fe26b.

Solidity: function is_nonce_used(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 0x5f061559.

Solidity: function is_valid_signer(address signer_address) view returns(bool)

func (*MultisigControlSession) RemoveSigner

func (_MultisigControl *MultisigControlSession) RemoveSigner(old_signer common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)

RemoveSigner is a paid mutator transaction binding the contract method 0x98c5f73e.

Solidity: function remove_signer(address old_signer, uint256 nonce, bytes signatures) returns()

func (*MultisigControlSession) SetThreshold

func (_MultisigControl *MultisigControlSession) SetThreshold(new_threshold uint16, nonce *big.Int, signatures []byte) (*types.Transaction, error)

SetThreshold is a paid mutator transaction binding the contract method 0x50ac8df8.

Solidity: function set_threshold(uint16 new_threshold, uint256 nonce, bytes signatures) returns()

func (*MultisigControlSession) Signers

func (_MultisigControl *MultisigControlSession) Signers(arg0 common.Address) (bool, error)

Signers is a free data retrieval call binding the contract method 0x736c0d5b.

Solidity: function signers(address ) view returns(bool)

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 0xba73659a.

Solidity: function verify_signatures(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

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

func (*MultisigControlSignerAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MultisigControlSignerAddedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type 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

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

func (*MultisigControlSignerRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MultisigControlSignerRemovedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type 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

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

func (*MultisigControlThresholdSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MultisigControlThresholdSetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type 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, new_signer common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)

AddSigner is a paid mutator transaction binding the contract method 0xf8e3a660.

Solidity: function add_signer(address new_signer, 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 0x5ec51639.

Solidity: function burn_nonce(uint256 nonce, bytes signatures) returns()

func (*MultisigControlTransactor) RemoveSigner

func (_MultisigControl *MultisigControlTransactor) RemoveSigner(opts *bind.TransactOpts, old_signer common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)

RemoveSigner is a paid mutator transaction binding the contract method 0x98c5f73e.

Solidity: function remove_signer(address old_signer, uint256 nonce, bytes signatures) returns()

func (*MultisigControlTransactor) SetThreshold

func (_MultisigControl *MultisigControlTransactor) SetThreshold(opts *bind.TransactOpts, new_threshold uint16, nonce *big.Int, signatures []byte) (*types.Transaction, error)

SetThreshold is a paid mutator transaction binding the contract method 0x50ac8df8.

Solidity: function set_threshold(uint16 new_threshold, 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 0xba73659a.

Solidity: function verify_signatures(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(new_signer common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)

AddSigner is a paid mutator transaction binding the contract method 0xf8e3a660.

Solidity: function add_signer(address new_signer, 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 0x5ec51639.

Solidity: function burn_nonce(uint256 nonce, bytes signatures) returns()

func (*MultisigControlTransactorSession) RemoveSigner

func (_MultisigControl *MultisigControlTransactorSession) RemoveSigner(old_signer common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)

RemoveSigner is a paid mutator transaction binding the contract method 0x98c5f73e.

Solidity: function remove_signer(address old_signer, uint256 nonce, bytes signatures) returns()

func (*MultisigControlTransactorSession) SetThreshold

func (_MultisigControl *MultisigControlTransactorSession) SetThreshold(new_threshold uint16, nonce *big.Int, signatures []byte) (*types.Transaction, error)

SetThreshold is a paid mutator transaction binding the contract method 0x50ac8df8.

Solidity: function set_threshold(uint16 new_threshold, 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 0xba73659a.

Solidity: function verify_signatures(bytes signatures, bytes message, uint256 nonce) returns(bool)

Jump to

Keyboard shortcuts

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