MultisigControl

package
v0.74.10 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 MultisigControlBin = MultisigControlMetaData.Bin

MultisigControlBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MultisigControlMetaData.Bin 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\"}]",
	Bin: "0x608060405234801561001057600080fd5b506000805461ffff19166101f41781553381526001602081905260408220805460ff19169091179055805462010000900460ff16906002610050836100ab565b825460ff9182166101009390930a92830291909202199091161790555060408051338152600060208201527f50999ebf9b59bf3157a58816611976f2d723378ad51457d7b0413209e0cdee59910160405180910390a16100d9565b600060ff821660ff8114156100d057634e487b7160e01b600052601160045260246000fd5b60010192915050565b61137d806100e86000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c806398c5f73e11610076578063ba73659a1161005b578063ba73659a146101b0578063dbe528df146101c3578063f8e3a660146101d957600080fd5b806398c5f73e1461017f578063b04e3dd11461019257600080fd5b80635ec51639116100a75780635ec51639146101105780635f06155914610123578063736c0d5b1461015c57600080fd5b806350ac8df8146100c35780635b9fe26b146100d8575b600080fd5b6100d66100d1366004610e98565b6101ec565b005b6100fb6100e6366004610efb565b60009081526002602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100d661011e366004610f14565b6103b2565b6100fb610131366004610f89565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205460ff1690565b6100fb61016a366004610f89565b60016020526000908152604090205460ff1681565b6100d661018d366004610fa4565b6104b8565b60005462010000900460ff1660405160ff9091168152602001610107565b6100fb6101be366004610ff2565b610713565b60005460405161ffff9091168152602001610107565b6100d66101e7366004610fa4565b610b69565b6103e88461ffff16108015610205575060008461ffff16115b610270576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f6e6577207468726573686f6c64206f7574736964652072616e6765000000000060448201526064015b60405180910390fd5b6040805161ffff86166020820152908101849052606080820152600d60808201527f7365745f7468726573686f6c640000000000000000000000000000000000000060a082015260009060c00160405160208183030381529060405290506102da83838387610713565b610340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f626164207369676e6174757265730000000000000000000000000000000000006044820152606401610267565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff871690811790915560408051918252602082018690527ff6d24c23627520a3b70e5dc66aa1249844b4bb407c2c153d9000a2b14a1e3c1191015b60405180910390a15050505050565b6000836040516020016103fc918152604060208201819052600a908201527f6275726e5f6e6f6e636500000000000000000000000000000000000000000000606082015260800190565b604051602081830303815290604052905061041983838387610713565b61047f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f626164207369676e6174757265730000000000000000000000000000000000006044820152606401610267565b6040518481527fb33a7fc220f9e1c644c0f616b48edee1956a978a7dcb37a10f16e148969e4c0b9060200160405180910390a150505050565b6040805173ffffffffffffffffffffffffffffffffffffffff86166020820152908101849052606080820152600d60808201527f72656d6f76655f7369676e65720000000000000000000000000000000000000060a082015260009060c001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291815273ffffffffffffffffffffffffffffffffffffffff871660009081526001602052205490915060ff166105d4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f7369676e657220646f65736e27742065786973740000000000000000000000006044820152606401610267565b6105e083838387610713565b610646576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f626164207369676e6174757265730000000000000000000000000000000000006044820152606401610267565b73ffffffffffffffffffffffffffffffffffffffff8516600090815260016020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055805462010000900460ff169060026106a883611122565b91906101000a81548160ff021916908360ff160217905550507f99c1d2c0ed8107e4db2e5dbfb10a2549cd2a63cbe39cf99d2adffbcd0395441885856040516103a392919073ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b600061072060418561118c565b15610787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f62616420736967206c656e6774680000000000000000000000000000000000006044820152606401610267565b836107ee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f6d75737420636f6e7461696e206174206c6561737420312073696700000000006044820152606401610267565b60008281526002602052604090205460ff1615610867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6e6f6e636520616c7265616479207573656400000000000000000000000000006044820152606401610267565b60008054819062010000900460ff1667ffffffffffffffff81111561088e5761088e610fc3565b6040519080825280602002602001820160405280156108b7578160200160208202803683370190505b509050600085336040516020016108cf9291906111a0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052805160209091012090508760005b88811015610aef578181018035906020810135906040013560001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156109b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4d616c6c6561626c65207369676e6174757265206572726f72000000000000006044820152606401610267565b601b8160ff1610156109ca576109c7601b82611231565b90505b6040805160008082526020820180845289905260ff841692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015610a1e573d6000803e3d6000fd5b5050604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015173ffffffffffffffffffffffffffffffffffffffff811660009081526001602052919091205490925060ff1690508015610a895750610a8788828b610dca565b155b15610ad75780888a60ff1681518110610aa457610aa4611256565b73ffffffffffffffffffffffffffffffffffffffff9092166020928302919091019091015288610ad381611285565b9950505b50505050604181610ae891906112a5565b905061090b565b5060005461ffff81169060ff62010000909104811690610b139087166103e86112bd565b610b1d91906112fa565b600088815260026020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001692909111918217905560ff16945050505050949350505050565b6040805173ffffffffffffffffffffffffffffffffffffffff86166020820152908101849052606080820152600a60808201527f6164645f7369676e65720000000000000000000000000000000000000000000060a082015260009060c001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291815273ffffffffffffffffffffffffffffffffffffffff871660009081526001602052205490915060ff1615610c86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f7369676e657220616c72656164792065786973747300000000000000000000006044820152606401610267565b610c9283838387610713565b610cf8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f626164207369676e6174757265730000000000000000000000000000000000006044820152606401610267565b73ffffffffffffffffffffffffffffffffffffffff85166000908152600160208190526040822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169091179055805462010000900460ff16906002610d5f83611285565b91906101000a81548160ff021916908360ff160217905550507f50999ebf9b59bf3157a58816611976f2d723378ad51457d7b0413209e0cdee5985856040516103a392919073ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b6000805b8260ff16811015610e42578373ffffffffffffffffffffffffffffffffffffffff16858281518110610e0257610e02611256565b602002602001015173ffffffffffffffffffffffffffffffffffffffff161415610e30576001915050610e48565b80610e3a8161130e565b915050610dce565b50600090505b9392505050565b60008083601f840112610e6157600080fd5b50813567ffffffffffffffff811115610e7957600080fd5b602083019150836020828501011115610e9157600080fd5b9250929050565b60008060008060608587031215610eae57600080fd5b843561ffff81168114610ec057600080fd5b935060208501359250604085013567ffffffffffffffff811115610ee357600080fd5b610eef87828801610e4f565b95989497509550505050565b600060208284031215610f0d57600080fd5b5035919050565b600080600060408486031215610f2957600080fd5b83359250602084013567ffffffffffffffff811115610f4757600080fd5b610f5386828701610e4f565b9497909650939450505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f8457600080fd5b919050565b600060208284031215610f9b57600080fd5b610e4882610f60565b60008060008060608587031215610fba57600080fd5b610ec085610f60565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806000806060858703121561100857600080fd5b843567ffffffffffffffff8082111561102057600080fd5b61102c88838901610e4f565b9096509450602087013591508082111561104557600080fd5b818701915087601f83011261105957600080fd5b81358181111561106b5761106b610fc3565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156110b1576110b1610fc3565b816040528281528a60208487010111156110ca57600080fd5b826020860160208301376000928101602001929092525095989497509495604001359450505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600060ff821680611135576111356110f3565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261119b5761119b61115d565b500690565b604081526000835180604084015260005b818110156111ce57602081870181015160608684010152016111b1565b818111156111e0576000606083860101525b5073ffffffffffffffffffffffffffffffffffffffff93909316602083015250601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01601606001919050565b600060ff821660ff84168060ff0382111561124e5761124e6110f3565b019392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff821660ff81141561129c5761129c6110f3565b60010192915050565b600082198211156112b8576112b86110f3565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156112f5576112f56110f3565b500290565b6000826113095761130961115d565b500490565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611340576113406110f3565b506001019056fea2646970667358221220723331279716e624d896dfec3f042f3c520b43f5df2bd24562c0040f40cfc4df64736f6c63430008080033",
}

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 DeployMultisigControl

func DeployMultisigControl(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MultisigControl, error)

DeployMultisigControl deploys a new Ethereum contract, binding an instance of MultisigControl to it.

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