Documentation ¶
Index ¶
- Constants
- type Relayerhub
- type RelayerhubCaller
- type RelayerhubCallerRaw
- type RelayerhubCallerSession
- type RelayerhubFilterer
- func (_Relayerhub *RelayerhubFilterer) FilterParamChange(opts *bind.FilterOpts) (*RelayerhubParamChangeIterator, error)
- func (_Relayerhub *RelayerhubFilterer) FilterRelayerRegister(opts *bind.FilterOpts) (*RelayerhubRelayerRegisterIterator, error)
- func (_Relayerhub *RelayerhubFilterer) FilterRelayerUnRegister(opts *bind.FilterOpts) (*RelayerhubRelayerUnRegisterIterator, error)
- func (_Relayerhub *RelayerhubFilterer) ParseParamChange(log types.Log) (*RelayerhubParamChange, error)
- func (_Relayerhub *RelayerhubFilterer) ParseRelayerRegister(log types.Log) (*RelayerhubRelayerRegister, error)
- func (_Relayerhub *RelayerhubFilterer) ParseRelayerUnRegister(log types.Log) (*RelayerhubRelayerUnRegister, error)
- func (_Relayerhub *RelayerhubFilterer) WatchParamChange(opts *bind.WatchOpts, sink chan<- *RelayerhubParamChange) (event.Subscription, error)
- func (_Relayerhub *RelayerhubFilterer) WatchRelayerRegister(opts *bind.WatchOpts, sink chan<- *RelayerhubRelayerRegister) (event.Subscription, error)
- func (_Relayerhub *RelayerhubFilterer) WatchRelayerUnRegister(opts *bind.WatchOpts, sink chan<- *RelayerhubRelayerUnRegister) (event.Subscription, error)
- type RelayerhubParamChange
- type RelayerhubParamChangeIterator
- type RelayerhubRaw
- type RelayerhubRelayerRegister
- type RelayerhubRelayerRegisterIterator
- type RelayerhubRelayerUnRegister
- type RelayerhubRelayerUnRegisterIterator
- type RelayerhubSession
- func (_Relayerhub *RelayerhubSession) Init() (*types.Transaction, error)
- func (_Relayerhub *RelayerhubSession) IsRelayer(sender common.Address) (bool, error)
- func (_Relayerhub *RelayerhubSession) Register() (*types.Transaction, error)
- func (_Relayerhub *RelayerhubSession) Unregister() (*types.Transaction, error)
- func (_Relayerhub *RelayerhubSession) UpdateParam(key string, value []byte) (*types.Transaction, error)
- type RelayerhubTransactor
- func (_Relayerhub *RelayerhubTransactor) Init(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Relayerhub *RelayerhubTransactor) Register(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Relayerhub *RelayerhubTransactor) Unregister(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Relayerhub *RelayerhubTransactor) UpdateParam(opts *bind.TransactOpts, key string, value []byte) (*types.Transaction, error)
- type RelayerhubTransactorRaw
- type RelayerhubTransactorSession
- func (_Relayerhub *RelayerhubTransactorSession) Init() (*types.Transaction, error)
- func (_Relayerhub *RelayerhubTransactorSession) Register() (*types.Transaction, error)
- func (_Relayerhub *RelayerhubTransactorSession) Unregister() (*types.Transaction, error)
- func (_Relayerhub *RelayerhubTransactorSession) UpdateParam(key string, value []byte) (*types.Transaction, error)
Constants ¶
const RelayerhubABI = "" /* 4037-byte string literal not displayed */
RelayerhubABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Relayerhub ¶
type Relayerhub struct { RelayerhubCaller // Read-only binding to the contract RelayerhubTransactor // Write-only binding to the contract RelayerhubFilterer // Log filterer for contract events }
Relayerhub is an auto generated Go binding around an Ethereum contract.
func NewRelayerhub ¶
func NewRelayerhub(address common.Address, backend bind.ContractBackend) (*Relayerhub, error)
NewRelayerhub creates a new instance of Relayerhub, bound to a specific deployed contract.
type RelayerhubCaller ¶
type RelayerhubCaller struct {
// contains filtered or unexported fields
}
RelayerhubCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewRelayerhubCaller ¶
func NewRelayerhubCaller(address common.Address, caller bind.ContractCaller) (*RelayerhubCaller, error)
NewRelayerhubCaller creates a new read-only instance of Relayerhub, bound to a specific deployed contract.
type RelayerhubCallerRaw ¶
type RelayerhubCallerRaw struct {
Contract *RelayerhubCaller // Generic read-only contract binding to access the raw methods on
}
RelayerhubCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
type RelayerhubCallerSession ¶
type RelayerhubCallerSession struct { Contract *RelayerhubCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
RelayerhubCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type RelayerhubFilterer ¶
type RelayerhubFilterer struct {
// contains filtered or unexported fields
}
RelayerhubFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewRelayerhubFilterer ¶
func NewRelayerhubFilterer(address common.Address, filterer bind.ContractFilterer) (*RelayerhubFilterer, error)
NewRelayerhubFilterer creates a new log filterer instance of Relayerhub, bound to a specific deployed contract.
func (*RelayerhubFilterer) FilterParamChange ¶
func (_Relayerhub *RelayerhubFilterer) FilterParamChange(opts *bind.FilterOpts) (*RelayerhubParamChangeIterator, error)
FilterParamChange is a free log retrieval operation binding the contract event 0x6cdb0ac70ab7f2e2d035cca5be60d89906f2dede7648ddbd7402189c1eeed17a.
Solidity: event paramChange(string key, bytes value)
func (*RelayerhubFilterer) FilterRelayerRegister ¶
func (_Relayerhub *RelayerhubFilterer) FilterRelayerRegister(opts *bind.FilterOpts) (*RelayerhubRelayerRegisterIterator, error)
FilterRelayerRegister is a free log retrieval operation binding the contract event 0xdb33a09d38b59a8fa8b7d92a1d82c8015e99f05f67ae9c9ae623157767959496.
Solidity: event relayerRegister(address _relayer)
func (*RelayerhubFilterer) FilterRelayerUnRegister ¶
func (_Relayerhub *RelayerhubFilterer) FilterRelayerUnRegister(opts *bind.FilterOpts) (*RelayerhubRelayerUnRegisterIterator, error)
FilterRelayerUnRegister is a free log retrieval operation binding the contract event 0xd17202129b83db7880d6b9f25df81c58ad46f7e0e2c92236b1aa10663a487667.
Solidity: event relayerUnRegister(address _relayer)
func (*RelayerhubFilterer) ParseParamChange ¶
func (_Relayerhub *RelayerhubFilterer) ParseParamChange(log types.Log) (*RelayerhubParamChange, error)
ParseParamChange is a log parse operation binding the contract event 0x6cdb0ac70ab7f2e2d035cca5be60d89906f2dede7648ddbd7402189c1eeed17a.
Solidity: event paramChange(string key, bytes value)
func (*RelayerhubFilterer) ParseRelayerRegister ¶
func (_Relayerhub *RelayerhubFilterer) ParseRelayerRegister(log types.Log) (*RelayerhubRelayerRegister, error)
ParseRelayerRegister is a log parse operation binding the contract event 0xdb33a09d38b59a8fa8b7d92a1d82c8015e99f05f67ae9c9ae623157767959496.
Solidity: event relayerRegister(address _relayer)
func (*RelayerhubFilterer) ParseRelayerUnRegister ¶
func (_Relayerhub *RelayerhubFilterer) ParseRelayerUnRegister(log types.Log) (*RelayerhubRelayerUnRegister, error)
ParseRelayerUnRegister is a log parse operation binding the contract event 0xd17202129b83db7880d6b9f25df81c58ad46f7e0e2c92236b1aa10663a487667.
Solidity: event relayerUnRegister(address _relayer)
func (*RelayerhubFilterer) WatchParamChange ¶
func (_Relayerhub *RelayerhubFilterer) WatchParamChange(opts *bind.WatchOpts, sink chan<- *RelayerhubParamChange) (event.Subscription, error)
WatchParamChange is a free log subscription operation binding the contract event 0x6cdb0ac70ab7f2e2d035cca5be60d89906f2dede7648ddbd7402189c1eeed17a.
Solidity: event paramChange(string key, bytes value)
func (*RelayerhubFilterer) WatchRelayerRegister ¶
func (_Relayerhub *RelayerhubFilterer) WatchRelayerRegister(opts *bind.WatchOpts, sink chan<- *RelayerhubRelayerRegister) (event.Subscription, error)
WatchRelayerRegister is a free log subscription operation binding the contract event 0xdb33a09d38b59a8fa8b7d92a1d82c8015e99f05f67ae9c9ae623157767959496.
Solidity: event relayerRegister(address _relayer)
func (*RelayerhubFilterer) WatchRelayerUnRegister ¶
func (_Relayerhub *RelayerhubFilterer) WatchRelayerUnRegister(opts *bind.WatchOpts, sink chan<- *RelayerhubRelayerUnRegister) (event.Subscription, error)
WatchRelayerUnRegister is a free log subscription operation binding the contract event 0xd17202129b83db7880d6b9f25df81c58ad46f7e0e2c92236b1aa10663a487667.
Solidity: event relayerUnRegister(address _relayer)
type RelayerhubParamChange ¶
type RelayerhubParamChange struct { Key string Value []byte Raw types.Log // Blockchain specific contextual infos }
RelayerhubParamChange represents a ParamChange event raised by the Relayerhub contract.
type RelayerhubParamChangeIterator ¶
type RelayerhubParamChangeIterator struct { Event *RelayerhubParamChange // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RelayerhubParamChangeIterator is returned from FilterParamChange and is used to iterate over the raw logs and unpacked data for ParamChange events raised by the Relayerhub contract.
func (*RelayerhubParamChangeIterator) Close ¶
func (it *RelayerhubParamChangeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RelayerhubParamChangeIterator) Error ¶
func (it *RelayerhubParamChangeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RelayerhubParamChangeIterator) Next ¶
func (it *RelayerhubParamChangeIterator) 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 RelayerhubRaw ¶
type RelayerhubRaw struct {
Contract *Relayerhub // Generic contract binding to access the raw methods on
}
RelayerhubRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*RelayerhubRaw) Transact ¶
func (_Relayerhub *RelayerhubRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RelayerhubRaw) Transfer ¶
func (_Relayerhub *RelayerhubRaw) 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 RelayerhubRelayerRegister ¶
type RelayerhubRelayerRegister struct { Relayer common.Address Raw types.Log // Blockchain specific contextual infos }
RelayerhubRelayerRegister represents a RelayerRegister event raised by the Relayerhub contract.
type RelayerhubRelayerRegisterIterator ¶
type RelayerhubRelayerRegisterIterator struct { Event *RelayerhubRelayerRegister // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RelayerhubRelayerRegisterIterator is returned from FilterRelayerRegister and is used to iterate over the raw logs and unpacked data for RelayerRegister events raised by the Relayerhub contract.
func (*RelayerhubRelayerRegisterIterator) Close ¶
func (it *RelayerhubRelayerRegisterIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RelayerhubRelayerRegisterIterator) Error ¶
func (it *RelayerhubRelayerRegisterIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RelayerhubRelayerRegisterIterator) Next ¶
func (it *RelayerhubRelayerRegisterIterator) 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 RelayerhubRelayerUnRegister ¶
type RelayerhubRelayerUnRegister struct { Relayer common.Address Raw types.Log // Blockchain specific contextual infos }
RelayerhubRelayerUnRegister represents a RelayerUnRegister event raised by the Relayerhub contract.
type RelayerhubRelayerUnRegisterIterator ¶
type RelayerhubRelayerUnRegisterIterator struct { Event *RelayerhubRelayerUnRegister // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RelayerhubRelayerUnRegisterIterator is returned from FilterRelayerUnRegister and is used to iterate over the raw logs and unpacked data for RelayerUnRegister events raised by the Relayerhub contract.
func (*RelayerhubRelayerUnRegisterIterator) Close ¶
func (it *RelayerhubRelayerUnRegisterIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RelayerhubRelayerUnRegisterIterator) Error ¶
func (it *RelayerhubRelayerUnRegisterIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RelayerhubRelayerUnRegisterIterator) Next ¶
func (it *RelayerhubRelayerUnRegisterIterator) 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 RelayerhubSession ¶
type RelayerhubSession struct { Contract *Relayerhub // 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 }
RelayerhubSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*RelayerhubSession) Init ¶
func (_Relayerhub *RelayerhubSession) Init() (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xe1c7392a.
Solidity: function init() returns()
func (*RelayerhubSession) IsRelayer ¶
func (_Relayerhub *RelayerhubSession) IsRelayer(sender common.Address) (bool, error)
IsRelayer is a free data retrieval call binding the contract method 0x541d5548.
Solidity: function isRelayer(address sender) constant returns(bool)
func (*RelayerhubSession) Register ¶
func (_Relayerhub *RelayerhubSession) Register() (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x1aa3a008.
Solidity: function register() returns()
func (*RelayerhubSession) Unregister ¶
func (_Relayerhub *RelayerhubSession) Unregister() (*types.Transaction, error)
Unregister is a paid mutator transaction binding the contract method 0xe79a198f.
Solidity: function unregister() returns()
func (*RelayerhubSession) UpdateParam ¶
func (_Relayerhub *RelayerhubSession) UpdateParam(key string, value []byte) (*types.Transaction, error)
UpdateParam is a paid mutator transaction binding the contract method 0xac431751.
Solidity: function updateParam(string key, bytes value) returns()
type RelayerhubTransactor ¶
type RelayerhubTransactor struct {
// contains filtered or unexported fields
}
RelayerhubTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewRelayerhubTransactor ¶
func NewRelayerhubTransactor(address common.Address, transactor bind.ContractTransactor) (*RelayerhubTransactor, error)
NewRelayerhubTransactor creates a new write-only instance of Relayerhub, bound to a specific deployed contract.
func (*RelayerhubTransactor) Init ¶
func (_Relayerhub *RelayerhubTransactor) Init(opts *bind.TransactOpts) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xe1c7392a.
Solidity: function init() returns()
func (*RelayerhubTransactor) Register ¶
func (_Relayerhub *RelayerhubTransactor) Register(opts *bind.TransactOpts) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x1aa3a008.
Solidity: function register() returns()
func (*RelayerhubTransactor) Unregister ¶
func (_Relayerhub *RelayerhubTransactor) Unregister(opts *bind.TransactOpts) (*types.Transaction, error)
Unregister is a paid mutator transaction binding the contract method 0xe79a198f.
Solidity: function unregister() returns()
func (*RelayerhubTransactor) UpdateParam ¶
func (_Relayerhub *RelayerhubTransactor) UpdateParam(opts *bind.TransactOpts, key string, value []byte) (*types.Transaction, error)
UpdateParam is a paid mutator transaction binding the contract method 0xac431751.
Solidity: function updateParam(string key, bytes value) returns()
type RelayerhubTransactorRaw ¶
type RelayerhubTransactorRaw struct {
Contract *RelayerhubTransactor // Generic write-only contract binding to access the raw methods on
}
RelayerhubTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*RelayerhubTransactorRaw) Transact ¶
func (_Relayerhub *RelayerhubTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RelayerhubTransactorRaw) Transfer ¶
func (_Relayerhub *RelayerhubTransactorRaw) 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 RelayerhubTransactorSession ¶
type RelayerhubTransactorSession struct { Contract *RelayerhubTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
RelayerhubTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*RelayerhubTransactorSession) Init ¶
func (_Relayerhub *RelayerhubTransactorSession) Init() (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xe1c7392a.
Solidity: function init() returns()
func (*RelayerhubTransactorSession) Register ¶
func (_Relayerhub *RelayerhubTransactorSession) Register() (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x1aa3a008.
Solidity: function register() returns()
func (*RelayerhubTransactorSession) Unregister ¶
func (_Relayerhub *RelayerhubTransactorSession) Unregister() (*types.Transaction, error)
Unregister is a paid mutator transaction binding the contract method 0xe79a198f.
Solidity: function unregister() returns()
func (*RelayerhubTransactorSession) UpdateParam ¶
func (_Relayerhub *RelayerhubTransactorSession) UpdateParam(key string, value []byte) (*types.Transaction, error)
UpdateParam is a paid mutator transaction binding the contract method 0xac431751.
Solidity: function updateParam(string key, bytes value) returns()