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)
- func (_Authorizers *AuthorizersCaller) RecoverSigner(opts *bind.CallOpts, message [32]byte, signature []byte) (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, _clientId []byte, ...) ([32]byte, error)
- func (_Authorizers *AuthorizersCallerSession) MinThreshold() (*big.Int, error)
- func (_Authorizers *AuthorizersCallerSession) Owner() (common.Address, error)
- func (_Authorizers *AuthorizersCallerSession) RecoverSigner(message [32]byte, signature []byte) (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(newAuthorizer 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, _clientId []byte, ...) ([32]byte, error)
- func (_Authorizers *AuthorizersSession) MinThreshold() (*big.Int, error)
- func (_Authorizers *AuthorizersSession) Owner() (common.Address, error)
- func (_Authorizers *AuthorizersSession) RecoverSigner(message [32]byte, signature []byte) (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, newAuthorizer 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(newAuthorizer 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\"},{\"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\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"message\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"recoverSigner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_txid\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_clientId\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_nonce\",\"type\":\"uint256\"}],\"name\":\"messageHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newAuthorizer\",\"type\":\"address\"}],\"name\":\"addAuthorizers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_authorizer\",\"type\":\"address\"}],\"name\":\"removeAuthorizers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x6080604052600060025534801561001557600080fd5b5061001f33610024565b610074565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610cd0806100836000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80637ac3d68d116100715780637ac3d68d146101535780638da5cb5b1461015c57806397aba7f914610181578063c85501bb14610194578063f2fde38b1461019c578063f36bf401146101af57600080fd5b806309c7a20f146100ae578063207b601e146100f2578063296bb8161461011357806343ab2c9e14610136578063715018a61461014b575b600080fd5b6100d86100bc3660046109dc565b6001602081905260009182526040909120805491015460ff1682565b604080519283529015156020830152015b60405180910390f35b610105610100366004610a47565b6101c2565b6040519081526020016100e9565b610126610121366004610ada565b610250565b60405190151581526020016100e9565b6101496101443660046109dc565b6104d3565b005b61014961066b565b61010560025481565b6000546001600160a01b03165b6040516001600160a01b0390911681526020016100e9565b61016961018f366004610ada565b61067f565b610105610743565b6101496101aa3660046109dc565b6107ab565b6101496101bd3660046109dc565b610821565b6000610244888888888888886040516020016101e49796959493929190610b26565b60408051601f1981840301815282825280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000084830152603c8085019190915282518085039091018152605c909301909152815191012090565b98975050505050505050565b600061025d604183610b89565b156102a85760405162461bcd60e51b815260206004820152601660248201527544617461206e6f742065787065637465642073697a6560501b60448201526064015b60405180910390fd5b60006102b5604184610bb3565b90506102bf610743565b8110156103025760405162461bcd60e51b815260206004820152601160248201527053696720636f756e7420746f6f206c6f7760781b604482015260640161029f565b600060025467ffffffffffffffff81111561031f5761031f610bc7565b604051908082528060200260200182016040528015610348578160200160208202803683370190505b50905060005b828110156104c6576000610363826041610bdd565b90506000610372826041610bfc565b905060006103868a61018f84868c8e610c14565b6001600160a01b0381166000908152600160208190526040909120015490915060ff166103ee5760405162461bcd60e51b815260206004820152601660248201527513595cdcd859d948139bdd08105d5d1a1bdc9a5e995960521b604482015260640161029f565b6001600160a01b0381166000908152600160205260409020548551869190811061041a5761041a610c3e565b60200260200101511561046f5760405162461bcd60e51b815260206004820152601960248201527f4475706c696361746520417574686f72697a6572205573656400000000000000604482015260640161029f565b6001600160a01b0381166000908152600160208190526040909120548651879190811061049e5761049e610c3e565b60200260200101901515908115158152505050505080806104be90610c54565b91505061034e565b5060019695505050505050565b6104db6108fd565b6001600160a01b0381166000908152600160208190526040909120015460ff16156105485760405162461bcd60e51b815260206004820152601d60248201527f4164647265737320697320416c726561647920417574686f72697a6572000000604482015260640161029f565b600354156106095760405180604001604052806003600160038054905061056f9190610c6d565b8154811061057f5761057f610c3e565b600091825260208083209190910154835260019281018390526001600160a01b03851682528281526040909120835181559201519101805460ff191691151591909117905560038054806105d5576105d5610c84565b600190038181906000526020600020016000905590556001600260008282546105fe9190610bfc565b909155506106689050565b604080518082018252600280548252600160208084018281526001600160a01b038716600090815291839052948120935184559351928101805460ff191693151593909317909255805491929091610662908490610bfc565b90915550505b50565b6106736108fd565b61067d6000610957565b565b60006041821461068e57600080fd5b60008060006106d286868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506109a792505050565b6040805160008152602081018083528c905260ff8516918101919091526060810183905260808101829052929550909350915060019060a0016020604051602081039080840390855afa15801561072d573d6000803e3d6000fd5b5050604051601f19015198975050505050505050565b600060036002541015610757575060025490565b600060036002546107689190610bb3565b90506000600360025461077b9190610b89565b905080156107a0578061078f836002610bdd565b6107999190610bfc565b9250505090565b610799826002610bdd565b6107b36108fd565b6001600160a01b0381166108185760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161029f565b61066881610957565b6108296108fd565b6001600160a01b0381166000908152600160208190526040909120015460ff166108955760405162461bcd60e51b815260206004820152601a60248201527f41646472657373206e6f7420616e20417574686f72697a657273000000000000604482015260640161029f565b6001600160a01b03811660009081526001602081905260408220808201805460ff19169055546003805480840182559084527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b01556002805491929091610662908490610c6d565b6000546001600160a01b0316331461067d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161029f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6020810151604082015160609092015160001a92909190565b80356001600160a01b03811681146109d757600080fd5b919050565b6000602082840312156109ee57600080fd5b6109f7826109c0565b9392505050565b60008083601f840112610a1057600080fd5b50813567ffffffffffffffff811115610a2857600080fd5b602083019150836020828501011115610a4057600080fd5b9250929050565b600080600080600080600060a0888a031215610a6257600080fd5b610a6b886109c0565b965060208801359550604088013567ffffffffffffffff80821115610a8f57600080fd5b610a9b8b838c016109fe565b909750955060608a0135915080821115610ab457600080fd5b50610ac18a828b016109fe565b989b979a50959894979596608090950135949350505050565b600080600060408486031215610aef57600080fd5b83359250602084013567ffffffffffffffff811115610b0d57600080fd5b610b19868287016109fe565b9497909650939450505050565b6bffffffffffffffffffffffff198860601b168152866014820152848660348301376000858201603481016000815285878237506034940193840192909252505060540195945050505050565b634e487b7160e01b600052601260045260246000fd5b600082610b9857610b98610b73565b500690565b634e487b7160e01b600052601160045260246000fd5b600082610bc257610bc2610b73565b500490565b634e487b7160e01b600052604160045260246000fd5b6000816000190483118215151615610bf757610bf7610b9d565b500290565b60008219821115610c0f57610c0f610b9d565b500190565b60008085851115610c2457600080fd5b83861115610c3157600080fd5b5050820193919092039150565b634e487b7160e01b600052603260045260246000fd5b600060018201610c6657610c66610b9d565b5060010190565b600082821015610c7f57610c7f610b9d565b500390565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220e72e52db134d0238877d5eea24e07dac8fa6b62dee0080fb0c9b1a0f879386be64736f6c634300080f0033",
}
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 0x296bb816.
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, _clientId []byte, _nonce *big.Int) ([32]byte, error)
MessageHash is a free data retrieval call binding the contract method 0x207b601e.
Solidity: function messageHash(address _to, uint256 _amount, bytes _txid, bytes _clientId, 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)
func (*AuthorizersCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AuthorizersCaller) RecoverSigner ¶ added in v1.8.6
func (_Authorizers *AuthorizersCaller) RecoverSigner(opts *bind.CallOpts, message [32]byte, signature []byte) (common.Address, error)
RecoverSigner is a free data retrieval call binding the contract method 0x97aba7f9.
Solidity: function recoverSigner(bytes32 message, bytes signature) pure returns(address)
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 0x296bb816.
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, _clientId []byte, _nonce *big.Int) ([32]byte, error)
MessageHash is a free data retrieval call binding the contract method 0x207b601e.
Solidity: function messageHash(address _to, uint256 _amount, bytes _txid, bytes _clientId, 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)
func (*AuthorizersCallerSession) Owner ¶
func (_Authorizers *AuthorizersCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AuthorizersCallerSession) RecoverSigner ¶ added in v1.8.6
func (_Authorizers *AuthorizersCallerSession) RecoverSigner(message [32]byte, signature []byte) (common.Address, error)
RecoverSigner is a free data retrieval call binding the contract method 0x97aba7f9.
Solidity: function recoverSigner(bytes32 message, bytes signature) pure returns(address)
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(newAuthorizer common.Address) (*types.Transaction, error)
AddAuthorizers is a paid mutator transaction binding the contract method 0x43ab2c9e.
Solidity: function addAuthorizers(address newAuthorizer) 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 0x296bb816.
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, _clientId []byte, _nonce *big.Int) ([32]byte, error)
MessageHash is a free data retrieval call binding the contract method 0x207b601e.
Solidity: function messageHash(address _to, uint256 _amount, bytes _txid, bytes _clientId, 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) RecoverSigner ¶
func (_Authorizers *AuthorizersSession) RecoverSigner(message [32]byte, signature []byte) (common.Address, error)
RecoverSigner is a free data retrieval call binding the contract method 0x97aba7f9.
Solidity: function recoverSigner(bytes32 message, bytes signature) pure 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, newAuthorizer common.Address) (*types.Transaction, error)
AddAuthorizers is a paid mutator transaction binding the contract method 0x43ab2c9e.
Solidity: function addAuthorizers(address newAuthorizer) 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(newAuthorizer common.Address) (*types.Transaction, error)
AddAuthorizers is a paid mutator transaction binding the contract method 0x43ab2c9e.
Solidity: function addAuthorizers(address newAuthorizer) 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()