routerregistry

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const RouterRegistryABI = "" /* 877-byte string literal not displayed */

RouterRegistryABI is the input ABI used to generate the binding from.

Variables

View Source
var RouterRegistryBin = "" /* 1576-byte string literal not displayed */

RouterRegistryBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type RouterRegistry

type RouterRegistry struct {
	RouterRegistryCaller     // Read-only binding to the contract
	RouterRegistryTransactor // Write-only binding to the contract
	RouterRegistryFilterer   // Log filterer for contract events
}

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

func DeployRouterRegistry

func DeployRouterRegistry(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *RouterRegistry, error)

DeployRouterRegistry deploys a new Ethereum contract, binding an instance of RouterRegistry to it.

func NewRouterRegistry

func NewRouterRegistry(address common.Address, backend bind.ContractBackend) (*RouterRegistry, error)

NewRouterRegistry creates a new instance of RouterRegistry, bound to a specific deployed contract.

type RouterRegistryCaller

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

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

func NewRouterRegistryCaller

func NewRouterRegistryCaller(address common.Address, caller bind.ContractCaller) (*RouterRegistryCaller, error)

NewRouterRegistryCaller creates a new read-only instance of RouterRegistry, bound to a specific deployed contract.

func (*RouterRegistryCaller) RouterInfo

func (_RouterRegistry *RouterRegistryCaller) RouterInfo(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

RouterInfo is a free data retrieval call binding the contract method 0x78809456.

Solidity: function routerInfo(address ) view returns(uint256)

type RouterRegistryCallerRaw

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

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

func (*RouterRegistryCallerRaw) Call

func (_RouterRegistry *RouterRegistryCallerRaw) 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 RouterRegistryCallerSession

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

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

func (*RouterRegistryCallerSession) RouterInfo

func (_RouterRegistry *RouterRegistryCallerSession) RouterInfo(arg0 common.Address) (*big.Int, error)

RouterInfo is a free data retrieval call binding the contract method 0x78809456.

Solidity: function routerInfo(address ) view returns(uint256)

type RouterRegistryFilterer

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

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

func NewRouterRegistryFilterer

func NewRouterRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*RouterRegistryFilterer, error)

NewRouterRegistryFilterer creates a new log filterer instance of RouterRegistry, bound to a specific deployed contract.

func (*RouterRegistryFilterer) FilterRouterUpdated

func (_RouterRegistry *RouterRegistryFilterer) FilterRouterUpdated(opts *bind.FilterOpts, op []uint8, routerAddress []common.Address) (*RouterRegistryRouterUpdatedIterator, error)

FilterRouterUpdated is a free log retrieval operation binding the contract event 0xed739f5df64012854c2039ba144af8e3af26211fc7f10a959c6a592ae58c4491.

Solidity: event RouterUpdated(uint8 indexed op, address indexed routerAddress)

func (*RouterRegistryFilterer) ParseRouterUpdated

func (_RouterRegistry *RouterRegistryFilterer) ParseRouterUpdated(log types.Log) (*RouterRegistryRouterUpdated, error)

ParseRouterUpdated is a log parse operation binding the contract event 0xed739f5df64012854c2039ba144af8e3af26211fc7f10a959c6a592ae58c4491.

Solidity: event RouterUpdated(uint8 indexed op, address indexed routerAddress)

func (*RouterRegistryFilterer) WatchRouterUpdated

func (_RouterRegistry *RouterRegistryFilterer) WatchRouterUpdated(opts *bind.WatchOpts, sink chan<- *RouterRegistryRouterUpdated, op []uint8, routerAddress []common.Address) (event.Subscription, error)

WatchRouterUpdated is a free log subscription operation binding the contract event 0xed739f5df64012854c2039ba144af8e3af26211fc7f10a959c6a592ae58c4491.

Solidity: event RouterUpdated(uint8 indexed op, address indexed routerAddress)

type RouterRegistryRaw

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

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

func (*RouterRegistryRaw) Call

func (_RouterRegistry *RouterRegistryRaw) 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 (*RouterRegistryRaw) Transact

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

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

func (*RouterRegistryRaw) Transfer

func (_RouterRegistry *RouterRegistryRaw) 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 RouterRegistryRouterUpdated

type RouterRegistryRouterUpdated struct {
	Op            uint8
	RouterAddress common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

RouterRegistryRouterUpdated represents a RouterUpdated event raised by the RouterRegistry contract.

type RouterRegistryRouterUpdatedIterator

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

RouterRegistryRouterUpdatedIterator is returned from FilterRouterUpdated and is used to iterate over the raw logs and unpacked data for RouterUpdated events raised by the RouterRegistry contract.

func (*RouterRegistryRouterUpdatedIterator) Close

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

func (*RouterRegistryRouterUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterRegistryRouterUpdatedIterator) 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 RouterRegistrySession

type RouterRegistrySession struct {
	Contract     *RouterRegistry   // 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
}

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

func (*RouterRegistrySession) DeregisterRouter

func (_RouterRegistry *RouterRegistrySession) DeregisterRouter() (*types.Transaction, error)

DeregisterRouter is a paid mutator transaction binding the contract method 0xd1cf70d1.

Solidity: function deregisterRouter() returns()

func (*RouterRegistrySession) RefreshRouter

func (_RouterRegistry *RouterRegistrySession) RefreshRouter() (*types.Transaction, error)

RefreshRouter is a paid mutator transaction binding the contract method 0x2ff0282b.

Solidity: function refreshRouter() returns()

func (*RouterRegistrySession) RegisterRouter

func (_RouterRegistry *RouterRegistrySession) RegisterRouter() (*types.Transaction, error)

RegisterRouter is a paid mutator transaction binding the contract method 0x24f277d2.

Solidity: function registerRouter() returns()

func (*RouterRegistrySession) RouterInfo

func (_RouterRegistry *RouterRegistrySession) RouterInfo(arg0 common.Address) (*big.Int, error)

RouterInfo is a free data retrieval call binding the contract method 0x78809456.

Solidity: function routerInfo(address ) view returns(uint256)

type RouterRegistryTransactor

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

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

func NewRouterRegistryTransactor

func NewRouterRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*RouterRegistryTransactor, error)

NewRouterRegistryTransactor creates a new write-only instance of RouterRegistry, bound to a specific deployed contract.

func (*RouterRegistryTransactor) DeregisterRouter

func (_RouterRegistry *RouterRegistryTransactor) DeregisterRouter(opts *bind.TransactOpts) (*types.Transaction, error)

DeregisterRouter is a paid mutator transaction binding the contract method 0xd1cf70d1.

Solidity: function deregisterRouter() returns()

func (*RouterRegistryTransactor) RefreshRouter

func (_RouterRegistry *RouterRegistryTransactor) RefreshRouter(opts *bind.TransactOpts) (*types.Transaction, error)

RefreshRouter is a paid mutator transaction binding the contract method 0x2ff0282b.

Solidity: function refreshRouter() returns()

func (*RouterRegistryTransactor) RegisterRouter

func (_RouterRegistry *RouterRegistryTransactor) RegisterRouter(opts *bind.TransactOpts) (*types.Transaction, error)

RegisterRouter is a paid mutator transaction binding the contract method 0x24f277d2.

Solidity: function registerRouter() returns()

type RouterRegistryTransactorRaw

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

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

func (*RouterRegistryTransactorRaw) Transact

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

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

func (*RouterRegistryTransactorRaw) Transfer

func (_RouterRegistry *RouterRegistryTransactorRaw) 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 RouterRegistryTransactorSession

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

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

func (*RouterRegistryTransactorSession) DeregisterRouter

func (_RouterRegistry *RouterRegistryTransactorSession) DeregisterRouter() (*types.Transaction, error)

DeregisterRouter is a paid mutator transaction binding the contract method 0xd1cf70d1.

Solidity: function deregisterRouter() returns()

func (*RouterRegistryTransactorSession) RefreshRouter

func (_RouterRegistry *RouterRegistryTransactorSession) RefreshRouter() (*types.Transaction, error)

RefreshRouter is a paid mutator transaction binding the contract method 0x2ff0282b.

Solidity: function refreshRouter() returns()

func (*RouterRegistryTransactorSession) RegisterRouter

func (_RouterRegistry *RouterRegistryTransactorSession) RegisterRouter() (*types.Transaction, error)

RegisterRouter is a paid mutator transaction binding the contract method 0x24f277d2.

Solidity: function registerRouter() returns()

Jump to

Keyboard shortcuts

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