Documentation ¶
Index ¶
- Constants
- type Relayerhub
- type RelayerhubCaller
- func (_Relayerhub *RelayerhubCaller) AlreadyInit(opts *bind.CallOpts) (bool, error)
- func (_Relayerhub *RelayerhubCaller) Dues(opts *bind.CallOpts) (*big.Int, error)
- func (_Relayerhub *RelayerhubCaller) GOVHUBADDR(opts *bind.CallOpts) (common.Address, error)
- func (_Relayerhub *RelayerhubCaller) INCENTIVIZEADDR(opts *bind.CallOpts) (common.Address, error)
- func (_Relayerhub *RelayerhubCaller) INITDUES(opts *bind.CallOpts) (*big.Int, error)
- func (_Relayerhub *RelayerhubCaller) INITREQUIREDDEPOSIT(opts *bind.CallOpts) (*big.Int, error)
- func (_Relayerhub *RelayerhubCaller) IsRelayer(opts *bind.CallOpts, sender common.Address) (bool, error)
- func (_Relayerhub *RelayerhubCaller) LIGHTCLIENTADDR(opts *bind.CallOpts) (common.Address, error)
- func (_Relayerhub *RelayerhubCaller) RELAYERHUBCONTRACTADDR(opts *bind.CallOpts) (common.Address, error)
- func (_Relayerhub *RelayerhubCaller) RELAYERREWARD(opts *bind.CallOpts) (*big.Int, error)
- func (_Relayerhub *RelayerhubCaller) RequiredDeposit(opts *bind.CallOpts) (*big.Int, error)
- func (_Relayerhub *RelayerhubCaller) SLASHCONTRACTADDR(opts *bind.CallOpts) (common.Address, error)
- func (_Relayerhub *RelayerhubCaller) SYSTEMREWARDADDR(opts *bind.CallOpts) (common.Address, error)
- func (_Relayerhub *RelayerhubCaller) TOKENHUBADDR(opts *bind.CallOpts) (common.Address, error)
- func (_Relayerhub *RelayerhubCaller) VALIDATORCONTRACTADDR(opts *bind.CallOpts) (common.Address, error)
- type RelayerhubCallerRaw
- type RelayerhubCallerSession
- func (_Relayerhub *RelayerhubCallerSession) AlreadyInit() (bool, error)
- func (_Relayerhub *RelayerhubCallerSession) Dues() (*big.Int, error)
- func (_Relayerhub *RelayerhubCallerSession) GOVHUBADDR() (common.Address, error)
- func (_Relayerhub *RelayerhubCallerSession) INCENTIVIZEADDR() (common.Address, error)
- func (_Relayerhub *RelayerhubCallerSession) INITDUES() (*big.Int, error)
- func (_Relayerhub *RelayerhubCallerSession) INITREQUIREDDEPOSIT() (*big.Int, error)
- func (_Relayerhub *RelayerhubCallerSession) IsRelayer(sender common.Address) (bool, error)
- func (_Relayerhub *RelayerhubCallerSession) LIGHTCLIENTADDR() (common.Address, error)
- func (_Relayerhub *RelayerhubCallerSession) RELAYERHUBCONTRACTADDR() (common.Address, error)
- func (_Relayerhub *RelayerhubCallerSession) RELAYERREWARD() (*big.Int, error)
- func (_Relayerhub *RelayerhubCallerSession) RequiredDeposit() (*big.Int, error)
- func (_Relayerhub *RelayerhubCallerSession) SLASHCONTRACTADDR() (common.Address, error)
- func (_Relayerhub *RelayerhubCallerSession) SYSTEMREWARDADDR() (common.Address, error)
- func (_Relayerhub *RelayerhubCallerSession) TOKENHUBADDR() (common.Address, error)
- func (_Relayerhub *RelayerhubCallerSession) VALIDATORCONTRACTADDR() (common.Address, error)
- 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
- func (_Relayerhub *RelayerhubRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Relayerhub *RelayerhubRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Relayerhub *RelayerhubRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RelayerhubRelayerRegister
- type RelayerhubRelayerRegisterIterator
- type RelayerhubRelayerUnRegister
- type RelayerhubRelayerUnRegisterIterator
- type RelayerhubSession
- func (_Relayerhub *RelayerhubSession) AlreadyInit() (bool, error)
- func (_Relayerhub *RelayerhubSession) Dues() (*big.Int, error)
- func (_Relayerhub *RelayerhubSession) GOVHUBADDR() (common.Address, error)
- func (_Relayerhub *RelayerhubSession) INCENTIVIZEADDR() (common.Address, error)
- func (_Relayerhub *RelayerhubSession) INITDUES() (*big.Int, error)
- func (_Relayerhub *RelayerhubSession) INITREQUIREDDEPOSIT() (*big.Int, error)
- func (_Relayerhub *RelayerhubSession) Init() (*types.Transaction, error)
- func (_Relayerhub *RelayerhubSession) IsRelayer(sender common.Address) (bool, error)
- func (_Relayerhub *RelayerhubSession) LIGHTCLIENTADDR() (common.Address, error)
- func (_Relayerhub *RelayerhubSession) RELAYERHUBCONTRACTADDR() (common.Address, error)
- func (_Relayerhub *RelayerhubSession) RELAYERREWARD() (*big.Int, error)
- func (_Relayerhub *RelayerhubSession) Register() (*types.Transaction, error)
- func (_Relayerhub *RelayerhubSession) RequiredDeposit() (*big.Int, error)
- func (_Relayerhub *RelayerhubSession) SLASHCONTRACTADDR() (common.Address, error)
- func (_Relayerhub *RelayerhubSession) SYSTEMREWARDADDR() (common.Address, error)
- func (_Relayerhub *RelayerhubSession) TOKENHUBADDR() (common.Address, error)
- func (_Relayerhub *RelayerhubSession) Unregister() (*types.Transaction, error)
- func (_Relayerhub *RelayerhubSession) UpdateParam(key string, value []byte) (*types.Transaction, error)
- func (_Relayerhub *RelayerhubSession) VALIDATORCONTRACTADDR() (common.Address, 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 = "" /* 3873-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.
func (*RelayerhubCaller) AlreadyInit ¶
func (_Relayerhub *RelayerhubCaller) AlreadyInit(opts *bind.CallOpts) (bool, error)
AlreadyInit is a free data retrieval call binding the contract method 0xa78abc16.
Solidity: function alreadyInit() constant returns(bool)
func (*RelayerhubCaller) Dues ¶
Dues is a free data retrieval call binding the contract method 0x6a87d780.
Solidity: function dues() constant returns(uint256)
func (*RelayerhubCaller) GOVHUBADDR ¶
GOVHUBADDR is a free data retrieval call binding the contract method 0x9dc09262.
Solidity: function GOV_HUB_ADDR() constant returns(address)
func (*RelayerhubCaller) INCENTIVIZEADDR ¶
INCENTIVIZEADDR is a free data retrieval call binding the contract method 0x6e47b482.
Solidity: function INCENTIVIZE_ADDR() constant returns(address)
func (*RelayerhubCaller) INITDUES ¶
INITDUES is a free data retrieval call binding the contract method 0x95468d26.
Solidity: function INIT_DUES() constant returns(uint256)
func (*RelayerhubCaller) INITREQUIREDDEPOSIT ¶
INITREQUIREDDEPOSIT is a free data retrieval call binding the contract method 0x7ae23088.
Solidity: function INIT_REQUIRED_DEPOSIT() constant returns(uint256)
func (*RelayerhubCaller) IsRelayer ¶
func (_Relayerhub *RelayerhubCaller) IsRelayer(opts *bind.CallOpts, 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 (*RelayerhubCaller) LIGHTCLIENTADDR ¶
LIGHTCLIENTADDR is a free data retrieval call binding the contract method 0xdc927faf.
Solidity: function LIGHT_CLIENT_ADDR() constant returns(address)
func (*RelayerhubCaller) RELAYERHUBCONTRACTADDR ¶
func (_Relayerhub *RelayerhubCaller) RELAYERHUBCONTRACTADDR(opts *bind.CallOpts) (common.Address, error)
RELAYERHUBCONTRACTADDR is a free data retrieval call binding the contract method 0xa1a11bf5.
Solidity: function RELAYERHUB_CONTRACT_ADDR() constant returns(address)
func (*RelayerhubCaller) RELAYERREWARD ¶
RELAYERREWARD is a free data retrieval call binding the contract method 0x75405d0d.
Solidity: function RELAYER_REWARD() constant returns(uint256)
func (*RelayerhubCaller) RequiredDeposit ¶
RequiredDeposit is a free data retrieval call binding the contract method 0xfb7cfdd7.
Solidity: function requiredDeposit() constant returns(uint256)
func (*RelayerhubCaller) SLASHCONTRACTADDR ¶
SLASHCONTRACTADDR is a free data retrieval call binding the contract method 0x43756e5c.
Solidity: function SLASH_CONTRACT_ADDR() constant returns(address)
func (*RelayerhubCaller) SYSTEMREWARDADDR ¶
SYSTEMREWARDADDR is a free data retrieval call binding the contract method 0xc81b1662.
Solidity: function SYSTEM_REWARD_ADDR() constant returns(address)
func (*RelayerhubCaller) TOKENHUBADDR ¶
TOKENHUBADDR is a free data retrieval call binding the contract method 0xfd6a6879.
Solidity: function TOKEN_HUB_ADDR() constant returns(address)
func (*RelayerhubCaller) VALIDATORCONTRACTADDR ¶
func (_Relayerhub *RelayerhubCaller) VALIDATORCONTRACTADDR(opts *bind.CallOpts) (common.Address, error)
VALIDATORCONTRACTADDR is a free data retrieval call binding the contract method 0xf9a2bbc7.
Solidity: function VALIDATOR_CONTRACT_ADDR() constant returns(address)
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.
func (*RelayerhubCallerRaw) Call ¶
func (_Relayerhub *RelayerhubCallerRaw) 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 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.
func (*RelayerhubCallerSession) AlreadyInit ¶
func (_Relayerhub *RelayerhubCallerSession) AlreadyInit() (bool, error)
AlreadyInit is a free data retrieval call binding the contract method 0xa78abc16.
Solidity: function alreadyInit() constant returns(bool)
func (*RelayerhubCallerSession) Dues ¶
func (_Relayerhub *RelayerhubCallerSession) Dues() (*big.Int, error)
Dues is a free data retrieval call binding the contract method 0x6a87d780.
Solidity: function dues() constant returns(uint256)
func (*RelayerhubCallerSession) GOVHUBADDR ¶
func (_Relayerhub *RelayerhubCallerSession) GOVHUBADDR() (common.Address, error)
GOVHUBADDR is a free data retrieval call binding the contract method 0x9dc09262.
Solidity: function GOV_HUB_ADDR() constant returns(address)
func (*RelayerhubCallerSession) INCENTIVIZEADDR ¶
func (_Relayerhub *RelayerhubCallerSession) INCENTIVIZEADDR() (common.Address, error)
INCENTIVIZEADDR is a free data retrieval call binding the contract method 0x6e47b482.
Solidity: function INCENTIVIZE_ADDR() constant returns(address)
func (*RelayerhubCallerSession) INITDUES ¶
func (_Relayerhub *RelayerhubCallerSession) INITDUES() (*big.Int, error)
INITDUES is a free data retrieval call binding the contract method 0x95468d26.
Solidity: function INIT_DUES() constant returns(uint256)
func (*RelayerhubCallerSession) INITREQUIREDDEPOSIT ¶
func (_Relayerhub *RelayerhubCallerSession) INITREQUIREDDEPOSIT() (*big.Int, error)
INITREQUIREDDEPOSIT is a free data retrieval call binding the contract method 0x7ae23088.
Solidity: function INIT_REQUIRED_DEPOSIT() constant returns(uint256)
func (*RelayerhubCallerSession) IsRelayer ¶
func (_Relayerhub *RelayerhubCallerSession) 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 (*RelayerhubCallerSession) LIGHTCLIENTADDR ¶
func (_Relayerhub *RelayerhubCallerSession) LIGHTCLIENTADDR() (common.Address, error)
LIGHTCLIENTADDR is a free data retrieval call binding the contract method 0xdc927faf.
Solidity: function LIGHT_CLIENT_ADDR() constant returns(address)
func (*RelayerhubCallerSession) RELAYERHUBCONTRACTADDR ¶
func (_Relayerhub *RelayerhubCallerSession) RELAYERHUBCONTRACTADDR() (common.Address, error)
RELAYERHUBCONTRACTADDR is a free data retrieval call binding the contract method 0xa1a11bf5.
Solidity: function RELAYERHUB_CONTRACT_ADDR() constant returns(address)
func (*RelayerhubCallerSession) RELAYERREWARD ¶
func (_Relayerhub *RelayerhubCallerSession) RELAYERREWARD() (*big.Int, error)
RELAYERREWARD is a free data retrieval call binding the contract method 0x75405d0d.
Solidity: function RELAYER_REWARD() constant returns(uint256)
func (*RelayerhubCallerSession) RequiredDeposit ¶
func (_Relayerhub *RelayerhubCallerSession) RequiredDeposit() (*big.Int, error)
RequiredDeposit is a free data retrieval call binding the contract method 0xfb7cfdd7.
Solidity: function requiredDeposit() constant returns(uint256)
func (*RelayerhubCallerSession) SLASHCONTRACTADDR ¶
func (_Relayerhub *RelayerhubCallerSession) SLASHCONTRACTADDR() (common.Address, error)
SLASHCONTRACTADDR is a free data retrieval call binding the contract method 0x43756e5c.
Solidity: function SLASH_CONTRACT_ADDR() constant returns(address)
func (*RelayerhubCallerSession) SYSTEMREWARDADDR ¶
func (_Relayerhub *RelayerhubCallerSession) SYSTEMREWARDADDR() (common.Address, error)
SYSTEMREWARDADDR is a free data retrieval call binding the contract method 0xc81b1662.
Solidity: function SYSTEM_REWARD_ADDR() constant returns(address)
func (*RelayerhubCallerSession) TOKENHUBADDR ¶
func (_Relayerhub *RelayerhubCallerSession) TOKENHUBADDR() (common.Address, error)
TOKENHUBADDR is a free data retrieval call binding the contract method 0xfd6a6879.
Solidity: function TOKEN_HUB_ADDR() constant returns(address)
func (*RelayerhubCallerSession) VALIDATORCONTRACTADDR ¶
func (_Relayerhub *RelayerhubCallerSession) VALIDATORCONTRACTADDR() (common.Address, error)
VALIDATORCONTRACTADDR is a free data retrieval call binding the contract method 0xf9a2bbc7.
Solidity: function VALIDATOR_CONTRACT_ADDR() constant returns(address)
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) Call ¶
func (_Relayerhub *RelayerhubRaw) 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 (*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) AlreadyInit ¶
func (_Relayerhub *RelayerhubSession) AlreadyInit() (bool, error)
AlreadyInit is a free data retrieval call binding the contract method 0xa78abc16.
Solidity: function alreadyInit() constant returns(bool)
func (*RelayerhubSession) Dues ¶
func (_Relayerhub *RelayerhubSession) Dues() (*big.Int, error)
Dues is a free data retrieval call binding the contract method 0x6a87d780.
Solidity: function dues() constant returns(uint256)
func (*RelayerhubSession) GOVHUBADDR ¶
func (_Relayerhub *RelayerhubSession) GOVHUBADDR() (common.Address, error)
GOVHUBADDR is a free data retrieval call binding the contract method 0x9dc09262.
Solidity: function GOV_HUB_ADDR() constant returns(address)
func (*RelayerhubSession) INCENTIVIZEADDR ¶
func (_Relayerhub *RelayerhubSession) INCENTIVIZEADDR() (common.Address, error)
INCENTIVIZEADDR is a free data retrieval call binding the contract method 0x6e47b482.
Solidity: function INCENTIVIZE_ADDR() constant returns(address)
func (*RelayerhubSession) INITDUES ¶
func (_Relayerhub *RelayerhubSession) INITDUES() (*big.Int, error)
INITDUES is a free data retrieval call binding the contract method 0x95468d26.
Solidity: function INIT_DUES() constant returns(uint256)
func (*RelayerhubSession) INITREQUIREDDEPOSIT ¶
func (_Relayerhub *RelayerhubSession) INITREQUIREDDEPOSIT() (*big.Int, error)
INITREQUIREDDEPOSIT is a free data retrieval call binding the contract method 0x7ae23088.
Solidity: function INIT_REQUIRED_DEPOSIT() constant returns(uint256)
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) LIGHTCLIENTADDR ¶
func (_Relayerhub *RelayerhubSession) LIGHTCLIENTADDR() (common.Address, error)
LIGHTCLIENTADDR is a free data retrieval call binding the contract method 0xdc927faf.
Solidity: function LIGHT_CLIENT_ADDR() constant returns(address)
func (*RelayerhubSession) RELAYERHUBCONTRACTADDR ¶
func (_Relayerhub *RelayerhubSession) RELAYERHUBCONTRACTADDR() (common.Address, error)
RELAYERHUBCONTRACTADDR is a free data retrieval call binding the contract method 0xa1a11bf5.
Solidity: function RELAYERHUB_CONTRACT_ADDR() constant returns(address)
func (*RelayerhubSession) RELAYERREWARD ¶
func (_Relayerhub *RelayerhubSession) RELAYERREWARD() (*big.Int, error)
RELAYERREWARD is a free data retrieval call binding the contract method 0x75405d0d.
Solidity: function RELAYER_REWARD() constant returns(uint256)
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) RequiredDeposit ¶
func (_Relayerhub *RelayerhubSession) RequiredDeposit() (*big.Int, error)
RequiredDeposit is a free data retrieval call binding the contract method 0xfb7cfdd7.
Solidity: function requiredDeposit() constant returns(uint256)
func (*RelayerhubSession) SLASHCONTRACTADDR ¶
func (_Relayerhub *RelayerhubSession) SLASHCONTRACTADDR() (common.Address, error)
SLASHCONTRACTADDR is a free data retrieval call binding the contract method 0x43756e5c.
Solidity: function SLASH_CONTRACT_ADDR() constant returns(address)
func (*RelayerhubSession) SYSTEMREWARDADDR ¶
func (_Relayerhub *RelayerhubSession) SYSTEMREWARDADDR() (common.Address, error)
SYSTEMREWARDADDR is a free data retrieval call binding the contract method 0xc81b1662.
Solidity: function SYSTEM_REWARD_ADDR() constant returns(address)
func (*RelayerhubSession) TOKENHUBADDR ¶
func (_Relayerhub *RelayerhubSession) TOKENHUBADDR() (common.Address, error)
TOKENHUBADDR is a free data retrieval call binding the contract method 0xfd6a6879.
Solidity: function TOKEN_HUB_ADDR() constant returns(address)
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()
func (*RelayerhubSession) VALIDATORCONTRACTADDR ¶
func (_Relayerhub *RelayerhubSession) VALIDATORCONTRACTADDR() (common.Address, error)
VALIDATORCONTRACTADDR is a free data retrieval call binding the contract method 0xf9a2bbc7.
Solidity: function VALIDATOR_CONTRACT_ADDR() constant returns(address)
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()