authorizers

package
v1.6.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 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 AuthorizersFuncSigs = AuthorizersMetaData.Sigs

Deprecated: Use AuthorizersMetaData.Sigs instead. AuthorizersFuncSigs maps the 4-byte function signature to its string representation.

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\":[{\"internalType\":\"address\",\"name\":\"_new_authorizer\",\"type\":\"address\"}],\"name\":\"addAuthorizers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"message\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"authorize\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"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\":[{\"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\":\"message\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"message\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"recoverSigner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_authorizer\",\"type\":\"address\"}],\"name\":\"removeAuthorizers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"43ab2c9e": "addAuthorizers(address)",
		"296bb816": "authorize(bytes32,bytes)",
		"7ac3d68d": "authorizerCount()",
		"09c7a20f": "authorizers(address)",
		"f4fd62e3": "message(address,uint256,bytes,uint256)",
		"c85501bb": "minThreshold()",
		"8da5cb5b": "owner()",
		"97aba7f9": "recoverSigner(bytes32,bytes)",
		"f36bf401": "removeAuthorizers(address)",
		"715018a6": "renounceOwnership()",
		"f2fde38b": "transferOwnership(address)",
	},
	Bin: "0x6080604052600060025534801561001557600080fd5b50600061002061006f565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350610073565b3390565b610cf7806100826000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80638da5cb5b116100715780638da5cb5b146101c257806397aba7f9146101e6578063c85501bb1461025d578063f2fde38b14610265578063f36bf4011461028b578063f4fd62e3146102b1576100a9565b806309c7a20f146100ae578063296bb816146100ed57806343ab2c9e14610178578063715018a6146101a05780637ac3d68d146101a8575b600080fd5b6100d4600480360360208110156100c457600080fd5b50356001600160a01b0316610336565b6040805192835290151560208301528051918290030190f35b6101646004803603604081101561010357600080fd5b8135919081019060408101602082013564010000000081111561012557600080fd5b82018360208201111561013757600080fd5b8035906020019184600183028401116401000000008311171561015957600080fd5b509092509050610352565b604080519115158252519081900360200190f35b61019e6004803603602081101561018e57600080fd5b50356001600160a01b03166105a7565b005b61019e61076c565b6101b0610818565b60408051918252519081900360200190f35b6101ca61081e565b604080516001600160a01b039092168252519081900360200190f35b6101ca600480360360408110156101fc57600080fd5b8135919081019060408101602082013564010000000081111561021e57600080fd5b82018360208201111561023057600080fd5b8035906020019184600183028401116401000000008311171561025257600080fd5b50909250905061082e565b6101b06108f7565b61019e6004803603602081101561027b57600080fd5b50356001600160a01b031661094d565b61019e600480360360208110156102a157600080fd5b50356001600160a01b0316610a4f565b6101b0600480360360808110156102c757600080fd5b6001600160a01b03823516916020810135918101906060810160408201356401000000008111156102f757600080fd5b82018360208201111561030957600080fd5b8035906020019184600183028401116401000000008311171561032b57600080fd5b919350915035610b82565b6001602081905260009182526040909120805491015460ff1682565b600060418206156103a3576040805162461bcd60e51b815260206004820152601660248201527544617461206e6f742065787065637465642073697a6560501b604482015290519081900360640190fd5b604182046103af6108f7565b8110156103f7576040805162461bcd60e51b815260206004820152601160248201527053696720636f756e7420746f6f206c6f7760781b604482015290519081900360640190fd5b606060025467ffffffffffffffff8111801561041257600080fd5b5060405190808252806020026020018201604052801561043c578160200160208202803683370190505b50905060005b8281101561059a57604180820290810160006104698a61046484868c8e610c53565b61082e565b6001600160a01b0381166000908152600160208190526040909120015490915060ff166104d6576040805162461bcd60e51b815260206004820152601660248201527513595cdcd859d948139bdd08105d5d1a1bdc9a5e995960521b604482015290519081900360640190fd5b6001600160a01b038116600090815260016020526040902054855186919081106104fc57fe5b602002602001015115610556576040805162461bcd60e51b815260206004820152601960248201527f4475706c696361746520417574686f72697a6572205573656400000000000000604482015290519081900360640190fd5b6001600160a01b0381166000908152600160208190526040909120548651879190811061057f57fe5b91151560209283029190910190910152505050600101610442565b5060019695505050505050565b6105af610be5565b6001600160a01b03166105c061081e565b6001600160a01b031614610609576040805162461bcd60e51b81526020600482018190526024820152600080516020610ca2833981519152604482015290519081900360640190fd5b6001600160a01b0381166000908152600160208190526040909120015460ff161561067b576040805162461bcd60e51b815260206004820152601d60248201527f4164647265737320697320416c726561647920417574686f72697a6572000000604482015290519081900360640190fd5b600354156107195760405180604001604052806003600160038054905003815481106106a357fe5b600091825260208083209190910154835260019281018390526001600160a01b03851682528281526040909120835181559201519101805460ff191691151591909117905560038054806106f357fe5b600082815260208120820160001990810191909155019055600280546001019055610769565b604080518082018252600280548252600160208084018281526001600160a01b038716600090815291839052949020925183559251918301805460ff191692151592909217909155805490910190555b50565b610774610be5565b6001600160a01b031661078561081e565b6001600160a01b0316146107ce576040805162461bcd60e51b81526020600482018190526024820152600080516020610ca2833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60025481565b6000546001600160a01b03165b90565b60006041821461083d57600080fd5b600080600061088186868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610be992505050565b92509250925060018784848460405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa1580156108e1573d6000803e3d6000fd5b5050604051601f19015198975050505050505050565b60006003600254101561090d575060025461082b565b600060036002548161091b57fe5b049050600060036002548161092c57fe5b069050801561094257600290910201905061082b565b50600202905061082b565b610955610be5565b6001600160a01b031661096661081e565b6001600160a01b0316146109af576040805162461bcd60e51b81526020600482018190526024820152600080516020610ca2833981519152604482015290519081900360640190fd5b6001600160a01b0381166109f45760405162461bcd60e51b8152600401808060200182810382526026815260200180610c7c6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b610a57610be5565b6001600160a01b0316610a6861081e565b6001600160a01b031614610ab1576040805162461bcd60e51b81526020600482018190526024820152600080516020610ca2833981519152604482015290519081900360640190fd5b6001600160a01b0381166000908152600160208190526040909120015460ff16610b22576040805162461bcd60e51b815260206004820152601a60248201527f41646472657373206e6f7420616e20417574686f72697a657273000000000000604482015290519081900360640190fd5b6001600160a01b031660009081526001602081905260408220808201805460ff19169055546003805492830181559092527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b015560028054600019019055565b6000610bdb868686868660405160200180866001600160a01b031660601b8152601401858152602001848480828437919091019283525050604080518083038152602092830190915280519101209350610c0292505050565b9695505050505050565b3390565b6020810151604082015160609092015160001a92909190565b604080517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602080830191909152603c8083019490945282518083039094018452605c909101909152815191012090565b60008085851115610c62578182fd5b83861115610c6e578182fd5b505082019391909203915056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220a1626ea9fe51beed4aca526f7671a9046517990553891e345da203d026d3ecd164736f6c63430007050033",
}

AuthorizersMetaData contains all meta data concerning the Authorizers contract.

View Source
var ContextABI = ContextMetaData.ABI

ContextABI is the input ABI used to generate the binding from. Deprecated: Use ContextMetaData.ABI instead.

View Source
var ContextMetaData = &bind.MetaData{
	ABI: "[]",
}

ContextMetaData contains all meta data concerning the Context contract.

View Source
var IAuthorizersABI = IAuthorizersMetaData.ABI

IAuthorizersABI is the input ABI used to generate the binding from. Deprecated: Use IAuthorizersMetaData.ABI instead.

View Source
var IAuthorizersFuncSigs = IAuthorizersMetaData.Sigs

Deprecated: Use IAuthorizersMetaData.Sigs instead. IAuthorizersFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IAuthorizersMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"message\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"authorize\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"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\":\"message\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"296bb816": "authorize(bytes32,bytes)",
		"f4fd62e3": "message(address,uint256,bytes,uint256)",
	},
}

IAuthorizersMetaData contains all meta data concerning the IAuthorizers contract.

View Source
var OwnableABI = OwnableMetaData.ABI

OwnableABI is the input ABI used to generate the binding from. Deprecated: Use OwnableMetaData.ABI instead.

View Source
var OwnableFuncSigs = OwnableMetaData.Sigs

Deprecated: Use OwnableMetaData.Sigs instead. OwnableFuncSigs maps the 4-byte function signature to its string representation.

View Source
var OwnableMetaData = &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\":\"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\"}]",
	Sigs: map[string]string{
		"8da5cb5b": "owner()",
		"715018a6": "renounceOwnership()",
		"f2fde38b": "transferOwnership(address)",
	},
}

OwnableMetaData contains all meta data concerning the Ownable 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) 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) 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) 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) 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(_new_authorizer common.Address) (*types.Transaction, error)

AddAuthorizers is a paid mutator transaction binding the contract method 0x43ab2c9e.

Solidity: function addAuthorizers(address _new_authorizer) returns()

func (*AuthorizersSession) Authorize

func (_Authorizers *AuthorizersSession) Authorize(message [32]byte, signatures []byte) (*types.Transaction, error)

Authorize is a paid mutator transaction binding the contract method 0x296bb816.

Solidity: function authorize(bytes32 message, bytes signatures) 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) Message

func (_Authorizers *AuthorizersSession) Message(_to common.Address, _amount *big.Int, _txid []byte, _nonce *big.Int) (*types.Transaction, error)

Message is a paid mutator transaction binding the contract method 0xf4fd62e3.

Solidity: function message(address _to, uint256 _amount, bytes _txid, uint256 _nonce) returns(bytes32)

func (*AuthorizersSession) MinThreshold

func (_Authorizers *AuthorizersSession) MinThreshold() (*types.Transaction, error)

MinThreshold is a paid mutator transaction binding the contract method 0xc85501bb.

Solidity: function minThreshold() 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) (*types.Transaction, error)

RecoverSigner is a paid mutator transaction binding the contract method 0x97aba7f9.

Solidity: function recoverSigner(bytes32 message, bytes signature) 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, _new_authorizer common.Address) (*types.Transaction, error)

AddAuthorizers is a paid mutator transaction binding the contract method 0x43ab2c9e.

Solidity: function addAuthorizers(address _new_authorizer) returns()

func (*AuthorizersTransactor) Authorize

func (_Authorizers *AuthorizersTransactor) Authorize(opts *bind.TransactOpts, message [32]byte, signatures []byte) (*types.Transaction, error)

Authorize is a paid mutator transaction binding the contract method 0x296bb816.

Solidity: function authorize(bytes32 message, bytes signatures) returns(bool)

func (*AuthorizersTransactor) Message

func (_Authorizers *AuthorizersTransactor) Message(opts *bind.TransactOpts, _to common.Address, _amount *big.Int, _txid []byte, _nonce *big.Int) (*types.Transaction, error)

Message is a paid mutator transaction binding the contract method 0xf4fd62e3.

Solidity: function message(address _to, uint256 _amount, bytes _txid, uint256 _nonce) returns(bytes32)

func (*AuthorizersTransactor) MinThreshold

func (_Authorizers *AuthorizersTransactor) MinThreshold(opts *bind.TransactOpts) (*types.Transaction, error)

MinThreshold is a paid mutator transaction binding the contract method 0xc85501bb.

Solidity: function minThreshold() returns(uint256)

func (*AuthorizersTransactor) RecoverSigner

func (_Authorizers *AuthorizersTransactor) RecoverSigner(opts *bind.TransactOpts, message [32]byte, signature []byte) (*types.Transaction, error)

RecoverSigner is a paid mutator transaction binding the contract method 0x97aba7f9.

Solidity: function recoverSigner(bytes32 message, bytes signature) returns(address)

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(_new_authorizer common.Address) (*types.Transaction, error)

AddAuthorizers is a paid mutator transaction binding the contract method 0x43ab2c9e.

Solidity: function addAuthorizers(address _new_authorizer) returns()

func (*AuthorizersTransactorSession) Authorize

func (_Authorizers *AuthorizersTransactorSession) Authorize(message [32]byte, signatures []byte) (*types.Transaction, error)

Authorize is a paid mutator transaction binding the contract method 0x296bb816.

Solidity: function authorize(bytes32 message, bytes signatures) returns(bool)

func (*AuthorizersTransactorSession) Message

func (_Authorizers *AuthorizersTransactorSession) Message(_to common.Address, _amount *big.Int, _txid []byte, _nonce *big.Int) (*types.Transaction, error)

Message is a paid mutator transaction binding the contract method 0xf4fd62e3.

Solidity: function message(address _to, uint256 _amount, bytes _txid, uint256 _nonce) returns(bytes32)

func (*AuthorizersTransactorSession) MinThreshold

func (_Authorizers *AuthorizersTransactorSession) MinThreshold() (*types.Transaction, error)

MinThreshold is a paid mutator transaction binding the contract method 0xc85501bb.

Solidity: function minThreshold() returns(uint256)

func (*AuthorizersTransactorSession) RecoverSigner

func (_Authorizers *AuthorizersTransactorSession) RecoverSigner(message [32]byte, signature []byte) (*types.Transaction, error)

RecoverSigner is a paid mutator transaction binding the contract method 0x97aba7f9.

Solidity: function recoverSigner(bytes32 message, bytes signature) returns(address)

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()

type Context

type Context struct {
	ContextCaller     // Read-only binding to the contract
	ContextTransactor // Write-only binding to the contract
	ContextFilterer   // Log filterer for contract events
}

Context is an auto generated Go binding around an Ethereum contract.

func NewContext

func NewContext(address common.Address, backend bind.ContractBackend) (*Context, error)

NewContext creates a new instance of Context, bound to a specific deployed contract.

type ContextCaller

type ContextCaller struct {
	// contains filtered or unexported fields
}

ContextCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewContextCaller

func NewContextCaller(address common.Address, caller bind.ContractCaller) (*ContextCaller, error)

NewContextCaller creates a new read-only instance of Context, bound to a specific deployed contract.

type ContextCallerRaw

type ContextCallerRaw struct {
	Contract *ContextCaller // Generic read-only contract binding to access the raw methods on
}

ContextCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ContextCallerRaw) Call

func (_Context *ContextCallerRaw) 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 ContextCallerSession

type ContextCallerSession struct {
	Contract *ContextCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

ContextCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type ContextFilterer

type ContextFilterer struct {
	// contains filtered or unexported fields
}

ContextFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewContextFilterer

func NewContextFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextFilterer, error)

NewContextFilterer creates a new log filterer instance of Context, bound to a specific deployed contract.

type ContextRaw

type ContextRaw struct {
	Contract *Context // Generic contract binding to access the raw methods on
}

ContextRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ContextRaw) Call

func (_Context *ContextRaw) 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 (*ContextRaw) Transact

func (_Context *ContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ContextRaw) Transfer

func (_Context *ContextRaw) 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 ContextSession

type ContextSession struct {
	Contract     *Context          // 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
}

ContextSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type ContextTransactor

type ContextTransactor struct {
	// contains filtered or unexported fields
}

ContextTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewContextTransactor

func NewContextTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextTransactor, error)

NewContextTransactor creates a new write-only instance of Context, bound to a specific deployed contract.

type ContextTransactorRaw

type ContextTransactorRaw struct {
	Contract *ContextTransactor // Generic write-only contract binding to access the raw methods on
}

ContextTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ContextTransactorRaw) Transact

func (_Context *ContextTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ContextTransactorRaw) Transfer

func (_Context *ContextTransactorRaw) 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 ContextTransactorSession

type ContextTransactorSession struct {
	Contract     *ContextTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

ContextTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type IAuthorizers

type IAuthorizers struct {
	IAuthorizersCaller     // Read-only binding to the contract
	IAuthorizersTransactor // Write-only binding to the contract
	IAuthorizersFilterer   // Log filterer for contract events
}

IAuthorizers is an auto generated Go binding around an Ethereum contract.

func NewIAuthorizers

func NewIAuthorizers(address common.Address, backend bind.ContractBackend) (*IAuthorizers, error)

NewIAuthorizers creates a new instance of IAuthorizers, bound to a specific deployed contract.

type IAuthorizersCaller

type IAuthorizersCaller struct {
	// contains filtered or unexported fields
}

IAuthorizersCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewIAuthorizersCaller

func NewIAuthorizersCaller(address common.Address, caller bind.ContractCaller) (*IAuthorizersCaller, error)

NewIAuthorizersCaller creates a new read-only instance of IAuthorizers, bound to a specific deployed contract.

type IAuthorizersCallerRaw

type IAuthorizersCallerRaw struct {
	Contract *IAuthorizersCaller // Generic read-only contract binding to access the raw methods on
}

IAuthorizersCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*IAuthorizersCallerRaw) Call

func (_IAuthorizers *IAuthorizersCallerRaw) 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 IAuthorizersCallerSession

type IAuthorizersCallerSession struct {
	Contract *IAuthorizersCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

IAuthorizersCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type IAuthorizersFilterer

type IAuthorizersFilterer struct {
	// contains filtered or unexported fields
}

IAuthorizersFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewIAuthorizersFilterer

func NewIAuthorizersFilterer(address common.Address, filterer bind.ContractFilterer) (*IAuthorizersFilterer, error)

NewIAuthorizersFilterer creates a new log filterer instance of IAuthorizers, bound to a specific deployed contract.

type IAuthorizersRaw

type IAuthorizersRaw struct {
	Contract *IAuthorizers // Generic contract binding to access the raw methods on
}

IAuthorizersRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*IAuthorizersRaw) Call

func (_IAuthorizers *IAuthorizersRaw) 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 (*IAuthorizersRaw) Transact

func (_IAuthorizers *IAuthorizersRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IAuthorizersRaw) Transfer

func (_IAuthorizers *IAuthorizersRaw) 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 IAuthorizersSession

type IAuthorizersSession struct {
	Contract     *IAuthorizers     // 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
}

IAuthorizersSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*IAuthorizersSession) Authorize

func (_IAuthorizers *IAuthorizersSession) Authorize(message [32]byte, signatures []byte) (*types.Transaction, error)

Authorize is a paid mutator transaction binding the contract method 0x296bb816.

Solidity: function authorize(bytes32 message, bytes signatures) returns(bool)

func (*IAuthorizersSession) Message

func (_IAuthorizers *IAuthorizersSession) Message(_to common.Address, _amount *big.Int, _txid []byte, _nonce *big.Int) (*types.Transaction, error)

Message is a paid mutator transaction binding the contract method 0xf4fd62e3.

Solidity: function message(address _to, uint256 _amount, bytes _txid, uint256 _nonce) returns(bytes32)

type IAuthorizersTransactor

type IAuthorizersTransactor struct {
	// contains filtered or unexported fields
}

IAuthorizersTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewIAuthorizersTransactor

func NewIAuthorizersTransactor(address common.Address, transactor bind.ContractTransactor) (*IAuthorizersTransactor, error)

NewIAuthorizersTransactor creates a new write-only instance of IAuthorizers, bound to a specific deployed contract.

func (*IAuthorizersTransactor) Authorize

func (_IAuthorizers *IAuthorizersTransactor) Authorize(opts *bind.TransactOpts, message [32]byte, signatures []byte) (*types.Transaction, error)

Authorize is a paid mutator transaction binding the contract method 0x296bb816.

Solidity: function authorize(bytes32 message, bytes signatures) returns(bool)

func (*IAuthorizersTransactor) Message

func (_IAuthorizers *IAuthorizersTransactor) Message(opts *bind.TransactOpts, _to common.Address, _amount *big.Int, _txid []byte, _nonce *big.Int) (*types.Transaction, error)

Message is a paid mutator transaction binding the contract method 0xf4fd62e3.

Solidity: function message(address _to, uint256 _amount, bytes _txid, uint256 _nonce) returns(bytes32)

type IAuthorizersTransactorRaw

type IAuthorizersTransactorRaw struct {
	Contract *IAuthorizersTransactor // Generic write-only contract binding to access the raw methods on
}

IAuthorizersTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*IAuthorizersTransactorRaw) Transact

func (_IAuthorizers *IAuthorizersTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IAuthorizersTransactorRaw) Transfer

func (_IAuthorizers *IAuthorizersTransactorRaw) 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 IAuthorizersTransactorSession

type IAuthorizersTransactorSession struct {
	Contract     *IAuthorizersTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

IAuthorizersTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*IAuthorizersTransactorSession) Authorize

func (_IAuthorizers *IAuthorizersTransactorSession) Authorize(message [32]byte, signatures []byte) (*types.Transaction, error)

Authorize is a paid mutator transaction binding the contract method 0x296bb816.

Solidity: function authorize(bytes32 message, bytes signatures) returns(bool)

func (*IAuthorizersTransactorSession) Message

func (_IAuthorizers *IAuthorizersTransactorSession) Message(_to common.Address, _amount *big.Int, _txid []byte, _nonce *big.Int) (*types.Transaction, error)

Message is a paid mutator transaction binding the contract method 0xf4fd62e3.

Solidity: function message(address _to, uint256 _amount, bytes _txid, uint256 _nonce) returns(bytes32)

type Ownable

type Ownable struct {
	OwnableCaller     // Read-only binding to the contract
	OwnableTransactor // Write-only binding to the contract
	OwnableFilterer   // Log filterer for contract events
}

Ownable is an auto generated Go binding around an Ethereum contract.

func NewOwnable

func NewOwnable(address common.Address, backend bind.ContractBackend) (*Ownable, error)

NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.

type OwnableCaller

type OwnableCaller struct {
	// contains filtered or unexported fields
}

OwnableCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewOwnableCaller

func NewOwnableCaller(address common.Address, caller bind.ContractCaller) (*OwnableCaller, error)

NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableCaller) Owner

func (_Ownable *OwnableCaller) 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 OwnableCallerRaw

type OwnableCallerRaw struct {
	Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on
}

OwnableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*OwnableCallerRaw) Call

func (_Ownable *OwnableCallerRaw) 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 OwnableCallerSession

type OwnableCallerSession struct {
	Contract *OwnableCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

OwnableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*OwnableCallerSession) Owner

func (_Ownable *OwnableCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type OwnableFilterer

type OwnableFilterer struct {
	// contains filtered or unexported fields
}

OwnableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewOwnableFilterer

func NewOwnableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableFilterer, error)

NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.

func (*OwnableFilterer) FilterOwnershipTransferred

func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OwnableFilterer) ParseOwnershipTransferred

func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OwnableFilterer) WatchOwnershipTransferred

func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, 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 OwnableOwnershipTransferred

type OwnableOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.

type OwnableOwnershipTransferredIterator

type OwnableOwnershipTransferredIterator struct {
	Event *OwnableOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OwnableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable contract.

func (*OwnableOwnershipTransferredIterator) Close

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

func (*OwnableOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OwnableOwnershipTransferredIterator) 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 OwnableRaw

type OwnableRaw struct {
	Contract *Ownable // Generic contract binding to access the raw methods on
}

OwnableRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*OwnableRaw) Call

func (_Ownable *OwnableRaw) 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 (*OwnableRaw) Transact

func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*OwnableRaw) Transfer

func (_Ownable *OwnableRaw) 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 OwnableSession

type OwnableSession struct {
	Contract     *Ownable          // 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
}

OwnableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*OwnableSession) Owner

func (_Ownable *OwnableSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OwnableSession) RenounceOwnership

func (_Ownable *OwnableSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableSession) TransferOwnership

func (_Ownable *OwnableSession) 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 OwnableTransactor

type OwnableTransactor struct {
	// contains filtered or unexported fields
}

OwnableTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewOwnableTransactor

func NewOwnableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableTransactor, error)

NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableTransactor) RenounceOwnership

func (_Ownable *OwnableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableTransactor) TransferOwnership

func (_Ownable *OwnableTransactor) 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 OwnableTransactorRaw

type OwnableTransactorRaw struct {
	Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on
}

OwnableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*OwnableTransactorRaw) Transact

func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*OwnableTransactorRaw) Transfer

func (_Ownable *OwnableTransactorRaw) 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 OwnableTransactorSession

type OwnableTransactorSession struct {
	Contract     *OwnableTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

OwnableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*OwnableTransactorSession) RenounceOwnership

func (_Ownable *OwnableTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableTransactorSession) TransferOwnership

func (_Ownable *OwnableTransactorSession) 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