Documentation ¶
Index ¶
- Variables
- type Authorizers
- type AuthorizersCaller
- func (_Authorizers *AuthorizersCaller) Authorize(opts *bind.CallOpts, message_ [32]byte, signatures_ [][]byte) (bool, error)
- func (_Authorizers *AuthorizersCaller) AuthorizerCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Authorizers *AuthorizersCaller) Authorizers(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_Authorizers *AuthorizersCaller) MessageHash(opts *bind.CallOpts, to_ common.Address, amount_ *big.Int, txid_ []byte, ...) ([32]byte, error)
- func (_Authorizers *AuthorizersCaller) MinThreshold(opts *bind.CallOpts) (*big.Int, error)
- func (_Authorizers *AuthorizersCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- type AuthorizersCallerRaw
- type AuthorizersCallerSession
- func (_Authorizers *AuthorizersCallerSession) Authorize(message_ [32]byte, signatures_ [][]byte) (bool, error)
- func (_Authorizers *AuthorizersCallerSession) AuthorizerCount() (*big.Int, error)
- func (_Authorizers *AuthorizersCallerSession) Authorizers(arg0 common.Address) (struct{ ... }, error)
- func (_Authorizers *AuthorizersCallerSession) MessageHash(to_ common.Address, amount_ *big.Int, txid_ []byte, nonce_ *big.Int) ([32]byte, error)
- func (_Authorizers *AuthorizersCallerSession) MinThreshold() (*big.Int, error)
- func (_Authorizers *AuthorizersCallerSession) Owner() (common.Address, error)
- type AuthorizersFilterer
- func (_Authorizers *AuthorizersFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*AuthorizersOwnershipTransferredIterator, error)
- func (_Authorizers *AuthorizersFilterer) ParseOwnershipTransferred(log types.Log) (*AuthorizersOwnershipTransferred, error)
- func (_Authorizers *AuthorizersFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AuthorizersOwnershipTransferred, ...) (event.Subscription, error)
- type AuthorizersOwnershipTransferred
- type AuthorizersOwnershipTransferredIterator
- type AuthorizersRaw
- func (_Authorizers *AuthorizersRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Authorizers *AuthorizersRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Authorizers *AuthorizersRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AuthorizersSession
- func (_Authorizers *AuthorizersSession) AddAuthorizers(authorizer_ common.Address) (*types.Transaction, error)
- func (_Authorizers *AuthorizersSession) Authorize(message_ [32]byte, signatures_ [][]byte) (bool, error)
- func (_Authorizers *AuthorizersSession) AuthorizerCount() (*big.Int, error)
- func (_Authorizers *AuthorizersSession) Authorizers(arg0 common.Address) (struct{ ... }, error)
- func (_Authorizers *AuthorizersSession) MessageHash(to_ common.Address, amount_ *big.Int, txid_ []byte, nonce_ *big.Int) ([32]byte, error)
- func (_Authorizers *AuthorizersSession) MinThreshold() (*big.Int, error)
- func (_Authorizers *AuthorizersSession) Owner() (common.Address, error)
- func (_Authorizers *AuthorizersSession) RemoveAuthorizers(authorizer_ common.Address) (*types.Transaction, error)
- func (_Authorizers *AuthorizersSession) RenounceOwnership() (*types.Transaction, error)
- func (_Authorizers *AuthorizersSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type AuthorizersTransactor
- func (_Authorizers *AuthorizersTransactor) AddAuthorizers(opts *bind.TransactOpts, authorizer_ common.Address) (*types.Transaction, error)
- func (_Authorizers *AuthorizersTransactor) RemoveAuthorizers(opts *bind.TransactOpts, authorizer_ common.Address) (*types.Transaction, error)
- func (_Authorizers *AuthorizersTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Authorizers *AuthorizersTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type AuthorizersTransactorRaw
- type AuthorizersTransactorSession
- func (_Authorizers *AuthorizersTransactorSession) AddAuthorizers(authorizer_ common.Address) (*types.Transaction, error)
- func (_Authorizers *AuthorizersTransactorSession) RemoveAuthorizers(authorizer_ common.Address) (*types.Transaction, error)
- func (_Authorizers *AuthorizersTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Authorizers *AuthorizersTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var AuthorizersABI = AuthorizersMetaData.ABI
AuthorizersABI is the input ABI used to generate the binding from. Deprecated: Use AuthorizersMetaData.ABI instead.
var AuthorizersBin = AuthorizersMetaData.Bin
AuthorizersBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AuthorizersMetaData.Bin instead.
var AuthorizersMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"authorizerCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"authorizers\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"isAuthorizer\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"message_\",\"type\":\"bytes32\"},{\"internalType\":\"bytes[]\",\"name\":\"signatures_\",\"type\":\"bytes[]\"}],\"name\":\"authorize\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"txid_\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"nonce_\",\"type\":\"uint256\"}],\"name\":\"messageHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"authorizer_\",\"type\":\"address\"}],\"name\":\"addAuthorizers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"authorizer_\",\"type\":\"address\"}],\"name\":\"removeAuthorizers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x6080604052600060025534801561001557600080fd5b5061001f33610024565b610074565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610f33806100836000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80638da5cb5b116100665780638da5cb5b1461012e578063c85501bb14610149578063e304688f14610151578063f2fde38b14610174578063f36bf4011461018757600080fd5b806309c7a20f146100a35780630b249ae4146100e757806343ab2c9e14610108578063715018a61461011d5780637ac3d68d14610125575b600080fd5b6100cd6100b1366004610c17565b6001602081905260009182526040909120805491015460ff1682565b604080519283529015156020830152015b60405180910390f35b6100fa6100f5366004610c39565b61019a565b6040519081526020016100de565b61011b610116366004610c17565b6101dd565b005b61011b6103bd565b6100fa60025481565b6000546040516001600160a01b0390911681526020016100de565b6100fa6103d1565b61016461015f366004610cc8565b61040a565b60405190151581526020016100de565b61011b610182366004610c17565b6106f6565b61011b610195366004610c17565b61076c565b60006101d386868686866040516020016101b8959493929190610d47565b60405160208183030381529060405280519060200120610887565b9695505050505050565b6101e56108da565b6001600160a01b0381166102145760405162461bcd60e51b815260040161020b90610d7b565b60405180910390fd5b6001600160a01b0381166000908152600160208190526040909120015460ff161561029a5760405162461bcd60e51b815260206004820152603060248201527f417574686f72697a657220776974682074686520676976656e2061646472657360448201526f7320616c72656164792065786973747360801b606482015260840161020b565b6003541561035b576040518060400160405280600360016003805490506102c19190610dd5565b815481106102d1576102d1610dec565b600091825260208083209190910154835260019281018390526001600160a01b03851682528281526040909120835181559201519101805460ff1916911515919091179055600380548061032757610327610e02565b600190038181906000526020600020016000905590556001600260008282546103509190610e18565b909155506103ba9050565b604080518082018252600280548252600160208084018281526001600160a01b038716600090815291839052948120935184559351928101805460ff1916931515939093179092558054919290916103b4908490610e18565b90915550505b50565b6103c56108da565b6103cf6000610934565b565b60006003600160025460026103e69190610e30565b6103f09190610dd5565b6103fa9190610e4f565b610405906001610e18565b905090565b6000806002541161046b5760405162461bcd60e51b815260206004820152602560248201527f4e6f20617574686f72697a657220686173206265656e2072656769737465726560448201526419081e595d60da1b606482015260840161020b565b6104736103d1565b8210156104cd5760405162461bcd60e51b815260206004820152602260248201527f416d6f756e74206f66207369676e617475726573206973206e6f7420656e6f756044820152610ced60f31b606482015260840161020b565b600060025467ffffffffffffffff8111156104ea576104ea610e71565b604051908082528060200260200182016040528015610513578160200160208202803683370190505b50905060005b838110156106ea57600061059086868481811061053857610538610dec565b905060200281019061054a9190610e87565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061058a92508b91506108879050565b90610984565b6001600160a01b0381166000908152600160208190526040909120015490915060ff166105ff5760405162461bcd60e51b815260206004820152601f60248201527f476976656e206d657373616765206973206e6f7420617574686f72697a656400604482015260640161020b565b6001600160a01b0381166000908152600160205260409020548351849190811061062b5761062b610dec565b6020026020010151156106985760405162461bcd60e51b815260206004820152602f60248201527f476976656e207369676e61747572657320636f6e7461696e206475706c69636160448201526e74656420617574686f72697a65727360881b606482015260840161020b565b6001600160a01b038116600090815260016020819052604090912054845185919081106106c7576106c7610dec565b9115156020928302919091019091015250806106e281610ece565b915050610519565b50600195945050505050565b6106fe6108da565b6001600160a01b0381166107635760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161020b565b6103ba81610934565b6107746108da565b6001600160a01b03811661079a5760405162461bcd60e51b815260040161020b90610d7b565b6001600160a01b0381166000908152600160208190526040909120015460ff1661081f5760405162461bcd60e51b815260206004820152603060248201527f417574686f72697a657220776974682074686520676976656e2061646472657360448201526f1cc8191bd95cc81b9bdd08195e1a5cdd60821b606482015260840161020b565b6001600160a01b03811660009081526001602081905260408220808201805460ff19169055546003805480840182559084527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b015560028054919290916103b4908490610dd5565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b6000546001600160a01b031633146103cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161020b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600061099385856109a8565b915091506109a0816109ed565b509392505050565b60008082516041036109de5760208301516040840151606085015160001a6109d287828585610b37565b945094505050506109e6565b506000905060025b9250929050565b6000816004811115610a0157610a01610ee7565b03610a095750565b6001816004811115610a1d57610a1d610ee7565b03610a6a5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161020b565b6002816004811115610a7e57610a7e610ee7565b03610acb5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161020b565b6003816004811115610adf57610adf610ee7565b036103ba5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161020b565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610b6e5750600090506003610bf2565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610bc2573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610beb57600060019250925050610bf2565b9150600090505b94509492505050565b80356001600160a01b0381168114610c1257600080fd5b919050565b600060208284031215610c2957600080fd5b610c3282610bfb565b9392505050565b600080600080600060808688031215610c5157600080fd5b610c5a86610bfb565b945060208601359350604086013567ffffffffffffffff80821115610c7e57600080fd5b818801915088601f830112610c9257600080fd5b813581811115610ca157600080fd5b896020828501011115610cb357600080fd5b96999598505060200195606001359392505050565b600080600060408486031215610cdd57600080fd5b83359250602084013567ffffffffffffffff80821115610cfc57600080fd5b818601915086601f830112610d1057600080fd5b813581811115610d1f57600080fd5b8760208260051b8501011115610d3457600080fd5b6020830194508093505050509250925092565b6bffffffffffffffffffffffff198660601b1681528460148201528284603483013760349201918201526054019392505050565b60208082526024908201527f496e76616c696420617574686f72697a6572206164647265737320776173206760408201526334bb32b760e11b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082821015610de757610de7610dbf565b500390565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b60008219821115610e2b57610e2b610dbf565b500190565b6000816000190483118215151615610e4a57610e4a610dbf565b500290565b600082610e6c57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b6000808335601e19843603018112610e9e57600080fd5b83018035915067ffffffffffffffff821115610eb957600080fd5b6020019150368190038213156109e657600080fd5b600060018201610ee057610ee0610dbf565b5060010190565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220d36512e87ac563a1b5880c9eb0c665cc8b3875c8c66d26ea6aa50ec191d4719364736f6c634300080f0033",
}
AuthorizersMetaData contains all meta data concerning the Authorizers contract.
Functions ¶
This section is empty.
Types ¶
type Authorizers ¶
type Authorizers struct { AuthorizersCaller // Read-only binding to the contract AuthorizersTransactor // Write-only binding to the contract AuthorizersFilterer // Log filterer for contract events }
Authorizers is an auto generated Go binding around an Ethereum contract.
func DeployAuthorizers ¶
func DeployAuthorizers(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Authorizers, error)
DeployAuthorizers deploys a new Ethereum contract, binding an instance of Authorizers to it.
func NewAuthorizers ¶
func NewAuthorizers(address common.Address, backend bind.ContractBackend) (*Authorizers, error)
NewAuthorizers creates a new instance of Authorizers, bound to a specific deployed contract.
type AuthorizersCaller ¶
type AuthorizersCaller struct {
// contains filtered or unexported fields
}
AuthorizersCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAuthorizersCaller ¶
func NewAuthorizersCaller(address common.Address, caller bind.ContractCaller) (*AuthorizersCaller, error)
NewAuthorizersCaller creates a new read-only instance of Authorizers, bound to a specific deployed contract.
func (*AuthorizersCaller) Authorize ¶ added in v1.8.6
func (_Authorizers *AuthorizersCaller) Authorize(opts *bind.CallOpts, message_ [32]byte, signatures_ [][]byte) (bool, error)
Authorize is a free data retrieval call binding the contract method 0xe304688f.
Solidity: function authorize(bytes32 message_, bytes[] signatures_) view returns(bool)
func (*AuthorizersCaller) AuthorizerCount ¶
AuthorizerCount is a free data retrieval call binding the contract method 0x7ac3d68d.
Solidity: function authorizerCount() view returns(uint256)
func (*AuthorizersCaller) Authorizers ¶
func (_Authorizers *AuthorizersCaller) Authorizers(opts *bind.CallOpts, arg0 common.Address) (struct { Index *big.Int IsAuthorizer bool }, error)
Authorizers is a free data retrieval call binding the contract method 0x09c7a20f.
Solidity: function authorizers(address ) view returns(uint256 index, bool isAuthorizer)
func (*AuthorizersCaller) MessageHash ¶ added in v1.8.6
func (_Authorizers *AuthorizersCaller) MessageHash(opts *bind.CallOpts, to_ common.Address, amount_ *big.Int, txid_ []byte, nonce_ *big.Int) ([32]byte, error)
MessageHash is a free data retrieval call binding the contract method 0x0b249ae4.
Solidity: function messageHash(address to_, uint256 amount_, bytes txid_, uint256 nonce_) pure returns(bytes32)
func (*AuthorizersCaller) MinThreshold ¶ added in v1.8.6
MinThreshold is a free data retrieval call binding the contract method 0xc85501bb.
Solidity: function minThreshold() view returns(uint256)
type AuthorizersCallerRaw ¶
type AuthorizersCallerRaw struct {
Contract *AuthorizersCaller // Generic read-only contract binding to access the raw methods on
}
AuthorizersCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AuthorizersCallerRaw) Call ¶
func (_Authorizers *AuthorizersCallerRaw) 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 AuthorizersCallerSession ¶
type AuthorizersCallerSession struct { Contract *AuthorizersCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AuthorizersCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AuthorizersCallerSession) Authorize ¶ added in v1.8.6
func (_Authorizers *AuthorizersCallerSession) Authorize(message_ [32]byte, signatures_ [][]byte) (bool, error)
Authorize is a free data retrieval call binding the contract method 0xe304688f.
Solidity: function authorize(bytes32 message_, bytes[] signatures_) view returns(bool)
func (*AuthorizersCallerSession) AuthorizerCount ¶
func (_Authorizers *AuthorizersCallerSession) AuthorizerCount() (*big.Int, error)
AuthorizerCount is a free data retrieval call binding the contract method 0x7ac3d68d.
Solidity: function authorizerCount() view returns(uint256)
func (*AuthorizersCallerSession) Authorizers ¶
func (_Authorizers *AuthorizersCallerSession) Authorizers(arg0 common.Address) (struct { Index *big.Int IsAuthorizer bool }, error)
Authorizers is a free data retrieval call binding the contract method 0x09c7a20f.
Solidity: function authorizers(address ) view returns(uint256 index, bool isAuthorizer)
func (*AuthorizersCallerSession) MessageHash ¶ added in v1.8.6
func (_Authorizers *AuthorizersCallerSession) MessageHash(to_ common.Address, amount_ *big.Int, txid_ []byte, nonce_ *big.Int) ([32]byte, error)
MessageHash is a free data retrieval call binding the contract method 0x0b249ae4.
Solidity: function messageHash(address to_, uint256 amount_, bytes txid_, uint256 nonce_) pure returns(bytes32)
func (*AuthorizersCallerSession) MinThreshold ¶ added in v1.8.6
func (_Authorizers *AuthorizersCallerSession) MinThreshold() (*big.Int, error)
MinThreshold is a free data retrieval call binding the contract method 0xc85501bb.
Solidity: function minThreshold() view returns(uint256)
type AuthorizersFilterer ¶
type AuthorizersFilterer struct {
// contains filtered or unexported fields
}
AuthorizersFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAuthorizersFilterer ¶
func NewAuthorizersFilterer(address common.Address, filterer bind.ContractFilterer) (*AuthorizersFilterer, error)
NewAuthorizersFilterer creates a new log filterer instance of Authorizers, bound to a specific deployed contract.
func (*AuthorizersFilterer) FilterOwnershipTransferred ¶
func (_Authorizers *AuthorizersFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AuthorizersOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AuthorizersFilterer) ParseOwnershipTransferred ¶
func (_Authorizers *AuthorizersFilterer) ParseOwnershipTransferred(log types.Log) (*AuthorizersOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AuthorizersFilterer) WatchOwnershipTransferred ¶
func (_Authorizers *AuthorizersFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AuthorizersOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type AuthorizersOwnershipTransferred ¶
type AuthorizersOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
AuthorizersOwnershipTransferred represents a OwnershipTransferred event raised by the Authorizers contract.
type AuthorizersOwnershipTransferredIterator ¶
type AuthorizersOwnershipTransferredIterator struct { Event *AuthorizersOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AuthorizersOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Authorizers contract.
func (*AuthorizersOwnershipTransferredIterator) Close ¶
func (it *AuthorizersOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AuthorizersOwnershipTransferredIterator) Error ¶
func (it *AuthorizersOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AuthorizersOwnershipTransferredIterator) Next ¶
func (it *AuthorizersOwnershipTransferredIterator) 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 AuthorizersRaw ¶
type AuthorizersRaw struct {
Contract *Authorizers // Generic contract binding to access the raw methods on
}
AuthorizersRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AuthorizersRaw) Call ¶
func (_Authorizers *AuthorizersRaw) 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 (*AuthorizersRaw) Transact ¶
func (_Authorizers *AuthorizersRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AuthorizersRaw) Transfer ¶
func (_Authorizers *AuthorizersRaw) 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 AuthorizersSession ¶
type AuthorizersSession struct { Contract *Authorizers // 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 }
AuthorizersSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AuthorizersSession) AddAuthorizers ¶
func (_Authorizers *AuthorizersSession) AddAuthorizers(authorizer_ common.Address) (*types.Transaction, error)
AddAuthorizers is a paid mutator transaction binding the contract method 0x43ab2c9e.
Solidity: function addAuthorizers(address authorizer_) returns()
func (*AuthorizersSession) Authorize ¶
func (_Authorizers *AuthorizersSession) Authorize(message_ [32]byte, signatures_ [][]byte) (bool, error)
Authorize is a free data retrieval call binding the contract method 0xe304688f.
Solidity: function authorize(bytes32 message_, bytes[] signatures_) view returns(bool)
func (*AuthorizersSession) AuthorizerCount ¶
func (_Authorizers *AuthorizersSession) AuthorizerCount() (*big.Int, error)
AuthorizerCount is a free data retrieval call binding the contract method 0x7ac3d68d.
Solidity: function authorizerCount() view returns(uint256)
func (*AuthorizersSession) Authorizers ¶
func (_Authorizers *AuthorizersSession) Authorizers(arg0 common.Address) (struct { Index *big.Int IsAuthorizer bool }, error)
Authorizers is a free data retrieval call binding the contract method 0x09c7a20f.
Solidity: function authorizers(address ) view returns(uint256 index, bool isAuthorizer)
func (*AuthorizersSession) MessageHash ¶ added in v1.8.6
func (_Authorizers *AuthorizersSession) MessageHash(to_ common.Address, amount_ *big.Int, txid_ []byte, nonce_ *big.Int) ([32]byte, error)
MessageHash is a free data retrieval call binding the contract method 0x0b249ae4.
Solidity: function messageHash(address to_, uint256 amount_, bytes txid_, uint256 nonce_) pure returns(bytes32)
func (*AuthorizersSession) MinThreshold ¶
func (_Authorizers *AuthorizersSession) MinThreshold() (*big.Int, error)
MinThreshold is a free data retrieval call binding the contract method 0xc85501bb.
Solidity: function minThreshold() view returns(uint256)
func (*AuthorizersSession) Owner ¶
func (_Authorizers *AuthorizersSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AuthorizersSession) RemoveAuthorizers ¶
func (_Authorizers *AuthorizersSession) RemoveAuthorizers(authorizer_ common.Address) (*types.Transaction, error)
RemoveAuthorizers is a paid mutator transaction binding the contract method 0xf36bf401.
Solidity: function removeAuthorizers(address authorizer_) returns()
func (*AuthorizersSession) RenounceOwnership ¶
func (_Authorizers *AuthorizersSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AuthorizersSession) TransferOwnership ¶
func (_Authorizers *AuthorizersSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type AuthorizersTransactor ¶
type AuthorizersTransactor struct {
// contains filtered or unexported fields
}
AuthorizersTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAuthorizersTransactor ¶
func NewAuthorizersTransactor(address common.Address, transactor bind.ContractTransactor) (*AuthorizersTransactor, error)
NewAuthorizersTransactor creates a new write-only instance of Authorizers, bound to a specific deployed contract.
func (*AuthorizersTransactor) AddAuthorizers ¶
func (_Authorizers *AuthorizersTransactor) AddAuthorizers(opts *bind.TransactOpts, authorizer_ common.Address) (*types.Transaction, error)
AddAuthorizers is a paid mutator transaction binding the contract method 0x43ab2c9e.
Solidity: function addAuthorizers(address authorizer_) returns()
func (*AuthorizersTransactor) RemoveAuthorizers ¶
func (_Authorizers *AuthorizersTransactor) RemoveAuthorizers(opts *bind.TransactOpts, authorizer_ common.Address) (*types.Transaction, error)
RemoveAuthorizers is a paid mutator transaction binding the contract method 0xf36bf401.
Solidity: function removeAuthorizers(address authorizer_) returns()
func (*AuthorizersTransactor) RenounceOwnership ¶
func (_Authorizers *AuthorizersTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AuthorizersTransactor) TransferOwnership ¶
func (_Authorizers *AuthorizersTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type AuthorizersTransactorRaw ¶
type AuthorizersTransactorRaw struct {
Contract *AuthorizersTransactor // Generic write-only contract binding to access the raw methods on
}
AuthorizersTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AuthorizersTransactorRaw) Transact ¶
func (_Authorizers *AuthorizersTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AuthorizersTransactorRaw) Transfer ¶
func (_Authorizers *AuthorizersTransactorRaw) 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 AuthorizersTransactorSession ¶
type AuthorizersTransactorSession struct { Contract *AuthorizersTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AuthorizersTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AuthorizersTransactorSession) AddAuthorizers ¶
func (_Authorizers *AuthorizersTransactorSession) AddAuthorizers(authorizer_ common.Address) (*types.Transaction, error)
AddAuthorizers is a paid mutator transaction binding the contract method 0x43ab2c9e.
Solidity: function addAuthorizers(address authorizer_) returns()
func (*AuthorizersTransactorSession) RemoveAuthorizers ¶
func (_Authorizers *AuthorizersTransactorSession) RemoveAuthorizers(authorizer_ common.Address) (*types.Transaction, error)
RemoveAuthorizers is a paid mutator transaction binding the contract method 0xf36bf401.
Solidity: function removeAuthorizers(address authorizer_) returns()
func (*AuthorizersTransactorSession) RenounceOwnership ¶
func (_Authorizers *AuthorizersTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AuthorizersTransactorSession) TransferOwnership ¶
func (_Authorizers *AuthorizersTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()