authorizers

package
v1.8.14 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthorizersABI = AuthorizersMetaData.ABI

AuthorizersABI is the input ABI used to generate the binding from. Deprecated: Use AuthorizersMetaData.ABI instead.

View Source
var AuthorizersBin = AuthorizersMetaData.Bin

AuthorizersBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AuthorizersMetaData.Bin instead.

View Source
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\":[],\"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\":\"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: "0x6080604052600060025534801561001557600080fd5b5061001f33610024565b610074565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610f9f806100836000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80638da5cb5b116100665780638da5cb5b1461012e578063c85501bb14610149578063e304688f14610151578063f2fde38b14610174578063f36bf4011461018757600080fd5b806309c7a20f146100a35780630b249ae4146100e757806343ab2c9e14610108578063715018a61461011d5780637ac3d68d14610125575b600080fd5b6100cd6100b1366004610cab565b6001602081905260009182526040909120805491015460ff1682565b604080519283529015156020830152015b60405180910390f35b6100fa6100f5366004610ccd565b61019a565b6040519081526020016100de565b61011b610116366004610cab565b6101dd565b005b61011b6103c7565b6100fa60025481565b6000546040516001600160a01b0390911681526020016100de565b6100fa6103db565b61016461015f366004610d5c565b610443565b60405190151581526020016100de565b61011b610182366004610cab565b6106e7565b61011b610195366004610cab565b61075d565b60006101d386868686866040516020016101b8959493929190610ddb565b60405160208183030381529060405280519060200120610886565b9695505050505050565b6101e56108d9565b6001600160a01b0381166102375760405162461bcd60e51b8152602060048201526014602482015273696e76616c6964207a65726f206164647265737360601b60448201526064015b60405180910390fd5b6001600160a01b0381166000908152600160208190526040909120015460ff16156102a45760405162461bcd60e51b815260206004820152601d60248201527f4164647265737320697320616c726561647920617574686f72697a6572000000604482015260640161022e565b60035415610365576040518060400160405280600360016003805490506102cb9190610e25565b815481106102db576102db610e3c565b600091825260208083209190910154835260019281018390526001600160a01b03851682528281526040909120835181559201519101805460ff1916911515919091179055600380548061033157610331610e52565b6001900381819060005260206000200160009055905560016002600082825461035a9190610e68565b909155506103c49050565b604080518082018252600280548252600160208084018281526001600160a01b038716600090815291839052948120935184559351928101805460ff1916931515939093179092558054919290916103be908490610e68565b90915550505b50565b6103cf6108d9565b6103d96000610933565b565b6000600360025410156103ef575060025490565b600060036002546104009190610e96565b9050600060036002546104139190610eaa565b905080156104385780610427836002610ebe565b6104319190610e68565b9250505090565b610431826002610ebe565b6000806002541161048b5760405162461bcd60e51b8152602060048201526012602482015271139bc8185d5d1a1bdc9a5e995c9cc81e595d60721b604482015260640161022e565b6104936103db565b8210156104d65760405162461bcd60e51b815260206004820152601160248201527053696720636f756e7420746f6f206c6f7760781b604482015260640161022e565b600060025467ffffffffffffffff8111156104f3576104f3610edd565b60405190808252806020026020018201604052801561051c578160200160208202803683370190505b50905060005b838110156106db57600061059986868481811061054157610541610e3c565b90506020028101906105539190610ef3565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061059392508b91506108869050565b90610983565b6001600160a01b0381166000908152600160208190526040909120015490915060ff166106085760405162461bcd60e51b815260206004820152601960248201527f4d657373616765206973206e6f7420617574686f72697a656400000000000000604482015260640161022e565b6001600160a01b0381166000908152600160205260409020548351849190811061063457610634610e3c565b6020026020010151156106895760405162461bcd60e51b815260206004820152601d60248201527f4475706c69636174656420617574686f72697a65722069732075736564000000604482015260640161022e565b6001600160a01b038116600090815260016020819052604090912054845185919081106106b8576106b8610e3c565b9115156020928302919091019091015250806106d381610f3a565b915050610522565b50600195945050505050565b6106ef6108d9565b6001600160a01b0381166107545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161022e565b6103c481610933565b6107656108d9565b6001600160a01b0381166107b25760405162461bcd60e51b8152602060048201526014602482015273696e76616c6964207a65726f206164647265737360601b604482015260640161022e565b6001600160a01b0381166000908152600160208190526040909120015460ff1661081e5760405162461bcd60e51b815260206004820152601a60248201527f41646472657373206e6f7420616e20417574686f72697a657273000000000000604482015260640161022e565b6001600160a01b03811660009081526001602081905260408220808201805460ff19169055546003805480840182559084527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b015560028054919290916103be908490610e25565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b6000546001600160a01b031633146103d95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161022e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600061099285856109a7565b9150915061099f816109ec565b509392505050565b60008082516041036109dd5760208301516040840151606085015160001a6109d187828585610ba2565b945094505050506109e5565b506000905060025b9250929050565b6000816004811115610a0057610a00610f53565b03610a085750565b6001816004811115610a1c57610a1c610f53565b03610a695760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161022e565b6002816004811115610a7d57610a7d610f53565b03610aca5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161022e565b6003816004811115610ade57610ade610f53565b03610b365760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161022e565b6004816004811115610b4a57610b4a610f53565b036103c45760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161022e565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610bd95750600090506003610c86565b8460ff16601b14158015610bf157508460ff16601c14155b15610c025750600090506004610c86565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610c56573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610c7f57600060019250925050610c86565b9150600090505b94509492505050565b80356001600160a01b0381168114610ca657600080fd5b919050565b600060208284031215610cbd57600080fd5b610cc682610c8f565b9392505050565b600080600080600060808688031215610ce557600080fd5b610cee86610c8f565b945060208601359350604086013567ffffffffffffffff80821115610d1257600080fd5b818801915088601f830112610d2657600080fd5b813581811115610d3557600080fd5b896020828501011115610d4757600080fd5b96999598505060200195606001359392505050565b600080600060408486031215610d7157600080fd5b83359250602084013567ffffffffffffffff80821115610d9057600080fd5b818601915086601f830112610da457600080fd5b813581811115610db357600080fd5b8760208260051b8501011115610dc857600080fd5b6020830194508093505050509250925092565b6bffffffffffffffffffffffff198660601b1681528460148201528284603483013760349201918201526054019392505050565b634e487b7160e01b600052601160045260246000fd5b600082821015610e3757610e37610e0f565b500390565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b60008219821115610e7b57610e7b610e0f565b500190565b634e487b7160e01b600052601260045260246000fd5b600082610ea557610ea5610e80565b500490565b600082610eb957610eb9610e80565b500690565b6000816000190483118215151615610ed857610ed8610e0f565b500290565b634e487b7160e01b600052604160045260246000fd5b6000808335601e19843603018112610f0a57600080fd5b83018035915067ffffffffffffffff821115610f2557600080fd5b6020019150368190038213156109e557600080fd5b600060018201610f4c57610f4c610e0f565b5060010190565b634e487b7160e01b600052602160045260246000fdfea26469706673582212200e9505bd873b3489b4fb1931c2f57fad068e624aa05ed49198a4cfdb25a6caa164736f6c634300080f0033",
}

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

func (_Authorizers *AuthorizersCaller) AuthorizerCount(opts *bind.CallOpts) (*big.Int, error)

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

func (_Authorizers *AuthorizersCaller) MinThreshold(opts *bind.CallOpts) (*big.Int, error)

MinThreshold is a free data retrieval call binding the contract method 0xc85501bb.

Solidity: function minThreshold() view returns(uint256)

func (*AuthorizersCaller) Owner

func (_Authorizers *AuthorizersCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view 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 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)

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)

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

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

func (*AuthorizersOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AuthorizersOwnershipTransferredIterator) 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 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 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, 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()

Jump to

Keyboard shortcuts

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