Documentation
¶
Index ¶
- Variables
- type IRouterRegistryRouter
- type RouterRegistry
- type RouterRegistryCaller
- func (_RouterRegistry *RouterRegistryCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_RouterRegistry *RouterRegistryCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_RouterRegistry *RouterRegistryCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_RouterRegistry *RouterRegistryCaller) ROUTERREGISTERERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_RouterRegistry *RouterRegistryCaller) ROUTERREMOVERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_RouterRegistry *RouterRegistryCaller) ROUTERUPDATEROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_RouterRegistry *RouterRegistryCaller) RouterCount(opts *bind.CallOpts) (*big.Int, error)
- func (_RouterRegistry *RouterRegistryCaller) Routers(opts *bind.CallOpts, id [32]byte) (IRouterRegistryRouter, error)
- func (_RouterRegistry *RouterRegistryCaller) RoutersPaged(opts *bind.CallOpts, start *big.Int, end *big.Int) ([]IRouterRegistryRouter, error)
- func (_RouterRegistry *RouterRegistryCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_RouterRegistry *RouterRegistryCaller) TRUSTEDFORWARDERROLE(opts *bind.CallOpts) ([32]byte, error)
- type RouterRegistryCallerRaw
- type RouterRegistryCallerSession
- func (_RouterRegistry *RouterRegistryCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_RouterRegistry *RouterRegistryCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_RouterRegistry *RouterRegistryCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_RouterRegistry *RouterRegistryCallerSession) ROUTERREGISTERERROLE() ([32]byte, error)
- func (_RouterRegistry *RouterRegistryCallerSession) ROUTERREMOVERROLE() ([32]byte, error)
- func (_RouterRegistry *RouterRegistryCallerSession) ROUTERUPDATEROLE() ([32]byte, error)
- func (_RouterRegistry *RouterRegistryCallerSession) RouterCount() (*big.Int, error)
- func (_RouterRegistry *RouterRegistryCallerSession) Routers(id [32]byte) (IRouterRegistryRouter, error)
- func (_RouterRegistry *RouterRegistryCallerSession) RoutersPaged(start *big.Int, end *big.Int) ([]IRouterRegistryRouter, error)
- func (_RouterRegistry *RouterRegistryCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_RouterRegistry *RouterRegistryCallerSession) TRUSTEDFORWARDERROLE() ([32]byte, error)
- type RouterRegistryFilterer
- func (_RouterRegistry *RouterRegistryFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*RouterRegistryRoleAdminChangedIterator, error)
- func (_RouterRegistry *RouterRegistryFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*RouterRegistryRoleGrantedIterator, error)
- func (_RouterRegistry *RouterRegistryFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*RouterRegistryRoleRevokedIterator, error)
- func (_RouterRegistry *RouterRegistryFilterer) FilterRouterRegistered(opts *bind.FilterOpts, id [][32]byte) (*RouterRegistryRouterRegisteredIterator, error)
- func (_RouterRegistry *RouterRegistryFilterer) FilterRouterRemoved(opts *bind.FilterOpts, id [][32]byte) (*RouterRegistryRouterRemovedIterator, error)
- func (_RouterRegistry *RouterRegistryFilterer) FilterRouterUpdated(opts *bind.FilterOpts, id [][32]byte) (*RouterRegistryRouterUpdatedIterator, error)
- func (_RouterRegistry *RouterRegistryFilterer) ParseRoleAdminChanged(log types.Log) (*RouterRegistryRoleAdminChanged, error)
- func (_RouterRegistry *RouterRegistryFilterer) ParseRoleGranted(log types.Log) (*RouterRegistryRoleGranted, error)
- func (_RouterRegistry *RouterRegistryFilterer) ParseRoleRevoked(log types.Log) (*RouterRegistryRoleRevoked, error)
- func (_RouterRegistry *RouterRegistryFilterer) ParseRouterRegistered(log types.Log) (*RouterRegistryRouterRegistered, error)
- func (_RouterRegistry *RouterRegistryFilterer) ParseRouterRemoved(log types.Log) (*RouterRegistryRouterRemoved, error)
- func (_RouterRegistry *RouterRegistryFilterer) ParseRouterUpdated(log types.Log) (*RouterRegistryRouterUpdated, error)
- func (_RouterRegistry *RouterRegistryFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *RouterRegistryRoleAdminChanged, ...) (event.Subscription, error)
- func (_RouterRegistry *RouterRegistryFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *RouterRegistryRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_RouterRegistry *RouterRegistryFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *RouterRegistryRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- func (_RouterRegistry *RouterRegistryFilterer) WatchRouterRegistered(opts *bind.WatchOpts, sink chan<- *RouterRegistryRouterRegistered, ...) (event.Subscription, error)
- func (_RouterRegistry *RouterRegistryFilterer) WatchRouterRemoved(opts *bind.WatchOpts, sink chan<- *RouterRegistryRouterRemoved, id [][32]byte) (event.Subscription, error)
- func (_RouterRegistry *RouterRegistryFilterer) WatchRouterUpdated(opts *bind.WatchOpts, sink chan<- *RouterRegistryRouterUpdated, id [][32]byte) (event.Subscription, error)
- type RouterRegistryRaw
- func (_RouterRegistry *RouterRegistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_RouterRegistry *RouterRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_RouterRegistry *RouterRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RouterRegistryRoleAdminChanged
- type RouterRegistryRoleAdminChangedIterator
- type RouterRegistryRoleGranted
- type RouterRegistryRoleGrantedIterator
- type RouterRegistryRoleRevoked
- type RouterRegistryRoleRevokedIterator
- type RouterRegistryRouterRegistered
- type RouterRegistryRouterRegisteredIterator
- type RouterRegistryRouterRemoved
- type RouterRegistryRouterRemovedIterator
- type RouterRegistryRouterUpdated
- type RouterRegistryRouterUpdatedIterator
- type RouterRegistrySession
- func (_RouterRegistry *RouterRegistrySession) DEFAULTADMINROLE() ([32]byte, error)
- func (_RouterRegistry *RouterRegistrySession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_RouterRegistry *RouterRegistrySession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_RouterRegistry *RouterRegistrySession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_RouterRegistry *RouterRegistrySession) ROUTERREGISTERERROLE() ([32]byte, error)
- func (_RouterRegistry *RouterRegistrySession) ROUTERREMOVERROLE() ([32]byte, error)
- func (_RouterRegistry *RouterRegistrySession) ROUTERUPDATEROLE() ([32]byte, error)
- func (_RouterRegistry *RouterRegistrySession) Register(id [32]byte, owner common.Address, netid *big.Int, prefix uint32, mask uint8, ...) (*types.Transaction, error)
- func (_RouterRegistry *RouterRegistrySession) Remove(id [32]byte, owner common.Address) (*types.Transaction, error)
- func (_RouterRegistry *RouterRegistrySession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_RouterRegistry *RouterRegistrySession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_RouterRegistry *RouterRegistrySession) RouterCount() (*big.Int, error)
- func (_RouterRegistry *RouterRegistrySession) Routers(id [32]byte) (IRouterRegistryRouter, error)
- func (_RouterRegistry *RouterRegistrySession) RoutersPaged(start *big.Int, end *big.Int) ([]IRouterRegistryRouter, error)
- func (_RouterRegistry *RouterRegistrySession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_RouterRegistry *RouterRegistrySession) TRUSTEDFORWARDERROLE() ([32]byte, error)
- func (_RouterRegistry *RouterRegistrySession) Update(id [32]byte, owner common.Address, netid *big.Int, prefix uint32, mask uint8, ...) (*types.Transaction, error)
- type RouterRegistryTransactor
- func (_RouterRegistry *RouterRegistryTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_RouterRegistry *RouterRegistryTransactor) Register(opts *bind.TransactOpts, id [32]byte, owner common.Address, netid *big.Int, ...) (*types.Transaction, error)
- func (_RouterRegistry *RouterRegistryTransactor) Remove(opts *bind.TransactOpts, id [32]byte, owner common.Address) (*types.Transaction, error)
- func (_RouterRegistry *RouterRegistryTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_RouterRegistry *RouterRegistryTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_RouterRegistry *RouterRegistryTransactor) Update(opts *bind.TransactOpts, id [32]byte, owner common.Address, netid *big.Int, ...) (*types.Transaction, error)
- type RouterRegistryTransactorRaw
- type RouterRegistryTransactorSession
- func (_RouterRegistry *RouterRegistryTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_RouterRegistry *RouterRegistryTransactorSession) Register(id [32]byte, owner common.Address, netid *big.Int, prefix uint32, mask uint8, ...) (*types.Transaction, error)
- func (_RouterRegistry *RouterRegistryTransactorSession) Remove(id [32]byte, owner common.Address) (*types.Transaction, error)
- func (_RouterRegistry *RouterRegistryTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_RouterRegistry *RouterRegistryTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_RouterRegistry *RouterRegistryTransactorSession) Update(id [32]byte, owner common.Address, netid *big.Int, prefix uint32, mask uint8, ...) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var RouterRegistryABI = RouterRegistryMetaData.ABI
RouterRegistryABI is the input ABI used to generate the binding from. Deprecated: Use RouterRegistryMetaData.ABI instead.
var RouterRegistryMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"manager\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"RouterRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"RouterRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"RouterUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ROUTER_REGISTERER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ROUTER_REMOVER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ROUTER_UPDATE_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRUSTED_FORWARDER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"netid\",\"type\":\"uint24\"},{\"internalType\":\"uint32\",\"name\":\"prefix\",\"type\":\"uint32\"},{\"internalType\":\"uint8\",\"name\":\"mask\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"frequencyPlan\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"endpoint\",\"type\":\"string\"}],\"name\":\"register\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"remove\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"routerCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"routers\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"netid\",\"type\":\"uint24\"},{\"internalType\":\"uint32\",\"name\":\"prefix\",\"type\":\"uint32\"},{\"internalType\":\"uint8\",\"name\":\"mask\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"frequencyPlan\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"endpoint\",\"type\":\"string\"}],\"internalType\":\"structIRouterRegistry.Router\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"end\",\"type\":\"uint256\"}],\"name\":\"routersPaged\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"netid\",\"type\":\"uint24\"},{\"internalType\":\"uint32\",\"name\":\"prefix\",\"type\":\"uint32\"},{\"internalType\":\"uint8\",\"name\":\"mask\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"frequencyPlan\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"endpoint\",\"type\":\"string\"}],\"internalType\":\"structIRouterRegistry.Router[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"netid\",\"type\":\"uint24\"},{\"internalType\":\"uint32\",\"name\":\"prefix\",\"type\":\"uint32\"},{\"internalType\":\"uint8\",\"name\":\"mask\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"frequencyPlan\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"endpoint\",\"type\":\"string\"}],\"name\":\"update\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
RouterRegistryMetaData contains all meta data concerning the RouterRegistry contract.
Functions ¶
This section is empty.
Types ¶
type IRouterRegistryRouter ¶
type IRouterRegistryRouter struct { Id [32]byte Owner common.Address Netid *big.Int Prefix uint32 Mask uint8 FrequencyPlan uint8 Endpoint string }
IRouterRegistryRouter is an auto generated low-level Go binding around an user-defined struct.
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 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) DEFAULTADMINROLE ¶
func (_RouterRegistry *RouterRegistryCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*RouterRegistryCaller) GetRoleAdmin ¶
func (_RouterRegistry *RouterRegistryCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*RouterRegistryCaller) HasRole ¶
func (_RouterRegistry *RouterRegistryCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*RouterRegistryCaller) ROUTERREGISTERERROLE ¶
func (_RouterRegistry *RouterRegistryCaller) ROUTERREGISTERERROLE(opts *bind.CallOpts) ([32]byte, error)
ROUTERREGISTERERROLE is a free data retrieval call binding the contract method 0x1916b5f7.
Solidity: function ROUTER_REGISTERER_ROLE() view returns(bytes32)
func (*RouterRegistryCaller) ROUTERREMOVERROLE ¶
func (_RouterRegistry *RouterRegistryCaller) ROUTERREMOVERROLE(opts *bind.CallOpts) ([32]byte, error)
ROUTERREMOVERROLE is a free data retrieval call binding the contract method 0x7a97d02d.
Solidity: function ROUTER_REMOVER_ROLE() view returns(bytes32)
func (*RouterRegistryCaller) ROUTERUPDATEROLE ¶
func (_RouterRegistry *RouterRegistryCaller) ROUTERUPDATEROLE(opts *bind.CallOpts) ([32]byte, error)
ROUTERUPDATEROLE is a free data retrieval call binding the contract method 0x5487d3ce.
Solidity: function ROUTER_UPDATE_ROLE() view returns(bytes32)
func (*RouterRegistryCaller) RouterCount ¶
RouterCount is a free data retrieval call binding the contract method 0x8e67e049.
Solidity: function routerCount() view returns(uint256)
func (*RouterRegistryCaller) Routers ¶
func (_RouterRegistry *RouterRegistryCaller) Routers(opts *bind.CallOpts, id [32]byte) (IRouterRegistryRouter, error)
Routers is a free data retrieval call binding the contract method 0xaa1fce69.
Solidity: function routers(bytes32 id) view returns((bytes32,address,uint24,uint32,uint8,uint8,string))
func (*RouterRegistryCaller) RoutersPaged ¶
func (_RouterRegistry *RouterRegistryCaller) RoutersPaged(opts *bind.CallOpts, start *big.Int, end *big.Int) ([]IRouterRegistryRouter, error)
RoutersPaged is a free data retrieval call binding the contract method 0x5c6201eb.
Solidity: function routersPaged(uint256 start, uint256 end) view returns((bytes32,address,uint24,uint32,uint8,uint8,string)[])
func (*RouterRegistryCaller) SupportsInterface ¶
func (_RouterRegistry *RouterRegistryCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*RouterRegistryCaller) TRUSTEDFORWARDERROLE ¶
func (_RouterRegistry *RouterRegistryCaller) TRUSTEDFORWARDERROLE(opts *bind.CallOpts) ([32]byte, error)
TRUSTEDFORWARDERROLE is a free data retrieval call binding the contract method 0x00cba943.
Solidity: function TRUSTED_FORWARDER_ROLE() view returns(bytes32)
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) DEFAULTADMINROLE ¶
func (_RouterRegistry *RouterRegistryCallerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*RouterRegistryCallerSession) GetRoleAdmin ¶
func (_RouterRegistry *RouterRegistryCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*RouterRegistryCallerSession) HasRole ¶
func (_RouterRegistry *RouterRegistryCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*RouterRegistryCallerSession) ROUTERREGISTERERROLE ¶
func (_RouterRegistry *RouterRegistryCallerSession) ROUTERREGISTERERROLE() ([32]byte, error)
ROUTERREGISTERERROLE is a free data retrieval call binding the contract method 0x1916b5f7.
Solidity: function ROUTER_REGISTERER_ROLE() view returns(bytes32)
func (*RouterRegistryCallerSession) ROUTERREMOVERROLE ¶
func (_RouterRegistry *RouterRegistryCallerSession) ROUTERREMOVERROLE() ([32]byte, error)
ROUTERREMOVERROLE is a free data retrieval call binding the contract method 0x7a97d02d.
Solidity: function ROUTER_REMOVER_ROLE() view returns(bytes32)
func (*RouterRegistryCallerSession) ROUTERUPDATEROLE ¶
func (_RouterRegistry *RouterRegistryCallerSession) ROUTERUPDATEROLE() ([32]byte, error)
ROUTERUPDATEROLE is a free data retrieval call binding the contract method 0x5487d3ce.
Solidity: function ROUTER_UPDATE_ROLE() view returns(bytes32)
func (*RouterRegistryCallerSession) RouterCount ¶
func (_RouterRegistry *RouterRegistryCallerSession) RouterCount() (*big.Int, error)
RouterCount is a free data retrieval call binding the contract method 0x8e67e049.
Solidity: function routerCount() view returns(uint256)
func (*RouterRegistryCallerSession) Routers ¶
func (_RouterRegistry *RouterRegistryCallerSession) Routers(id [32]byte) (IRouterRegistryRouter, error)
Routers is a free data retrieval call binding the contract method 0xaa1fce69.
Solidity: function routers(bytes32 id) view returns((bytes32,address,uint24,uint32,uint8,uint8,string))
func (*RouterRegistryCallerSession) RoutersPaged ¶
func (_RouterRegistry *RouterRegistryCallerSession) RoutersPaged(start *big.Int, end *big.Int) ([]IRouterRegistryRouter, error)
RoutersPaged is a free data retrieval call binding the contract method 0x5c6201eb.
Solidity: function routersPaged(uint256 start, uint256 end) view returns((bytes32,address,uint24,uint32,uint8,uint8,string)[])
func (*RouterRegistryCallerSession) SupportsInterface ¶
func (_RouterRegistry *RouterRegistryCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*RouterRegistryCallerSession) TRUSTEDFORWARDERROLE ¶
func (_RouterRegistry *RouterRegistryCallerSession) TRUSTEDFORWARDERROLE() ([32]byte, error)
TRUSTEDFORWARDERROLE is a free data retrieval call binding the contract method 0x00cba943.
Solidity: function TRUSTED_FORWARDER_ROLE() view returns(bytes32)
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) FilterRoleAdminChanged ¶
func (_RouterRegistry *RouterRegistryFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*RouterRegistryRoleAdminChangedIterator, error)
FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*RouterRegistryFilterer) FilterRoleGranted ¶
func (_RouterRegistry *RouterRegistryFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*RouterRegistryRoleGrantedIterator, error)
FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*RouterRegistryFilterer) FilterRoleRevoked ¶
func (_RouterRegistry *RouterRegistryFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*RouterRegistryRoleRevokedIterator, error)
FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*RouterRegistryFilterer) FilterRouterRegistered ¶
func (_RouterRegistry *RouterRegistryFilterer) FilterRouterRegistered(opts *bind.FilterOpts, id [][32]byte) (*RouterRegistryRouterRegisteredIterator, error)
FilterRouterRegistered is a free log retrieval operation binding the contract event 0xc8c04b68c2c10643ec3b3d87b29ee62eda2d6e5c929cd2aba791fe90aecc8c1b.
Solidity: event RouterRegistered(bytes32 indexed id)
func (*RouterRegistryFilterer) FilterRouterRemoved ¶
func (_RouterRegistry *RouterRegistryFilterer) FilterRouterRemoved(opts *bind.FilterOpts, id [][32]byte) (*RouterRegistryRouterRemovedIterator, error)
FilterRouterRemoved is a free log retrieval operation binding the contract event 0x813b69b7582e7b6cbe5fbfb9fbaceeef78bb34c4297b68f138b189e96eebeead.
Solidity: event RouterRemoved(bytes32 indexed id)
func (*RouterRegistryFilterer) FilterRouterUpdated ¶
func (_RouterRegistry *RouterRegistryFilterer) FilterRouterUpdated(opts *bind.FilterOpts, id [][32]byte) (*RouterRegistryRouterUpdatedIterator, error)
FilterRouterUpdated is a free log retrieval operation binding the contract event 0x8af614f5e1bf8bc42df40f6ef41468c010e2f999f579ba0ec3658405ced7451c.
Solidity: event RouterUpdated(bytes32 indexed id)
func (*RouterRegistryFilterer) ParseRoleAdminChanged ¶
func (_RouterRegistry *RouterRegistryFilterer) ParseRoleAdminChanged(log types.Log) (*RouterRegistryRoleAdminChanged, error)
ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*RouterRegistryFilterer) ParseRoleGranted ¶
func (_RouterRegistry *RouterRegistryFilterer) ParseRoleGranted(log types.Log) (*RouterRegistryRoleGranted, error)
ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*RouterRegistryFilterer) ParseRoleRevoked ¶
func (_RouterRegistry *RouterRegistryFilterer) ParseRoleRevoked(log types.Log) (*RouterRegistryRoleRevoked, error)
ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*RouterRegistryFilterer) ParseRouterRegistered ¶
func (_RouterRegistry *RouterRegistryFilterer) ParseRouterRegistered(log types.Log) (*RouterRegistryRouterRegistered, error)
ParseRouterRegistered is a log parse operation binding the contract event 0xc8c04b68c2c10643ec3b3d87b29ee62eda2d6e5c929cd2aba791fe90aecc8c1b.
Solidity: event RouterRegistered(bytes32 indexed id)
func (*RouterRegistryFilterer) ParseRouterRemoved ¶
func (_RouterRegistry *RouterRegistryFilterer) ParseRouterRemoved(log types.Log) (*RouterRegistryRouterRemoved, error)
ParseRouterRemoved is a log parse operation binding the contract event 0x813b69b7582e7b6cbe5fbfb9fbaceeef78bb34c4297b68f138b189e96eebeead.
Solidity: event RouterRemoved(bytes32 indexed id)
func (*RouterRegistryFilterer) ParseRouterUpdated ¶
func (_RouterRegistry *RouterRegistryFilterer) ParseRouterUpdated(log types.Log) (*RouterRegistryRouterUpdated, error)
ParseRouterUpdated is a log parse operation binding the contract event 0x8af614f5e1bf8bc42df40f6ef41468c010e2f999f579ba0ec3658405ced7451c.
Solidity: event RouterUpdated(bytes32 indexed id)
func (*RouterRegistryFilterer) WatchRoleAdminChanged ¶
func (_RouterRegistry *RouterRegistryFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *RouterRegistryRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)
WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*RouterRegistryFilterer) WatchRoleGranted ¶
func (_RouterRegistry *RouterRegistryFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *RouterRegistryRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*RouterRegistryFilterer) WatchRoleRevoked ¶
func (_RouterRegistry *RouterRegistryFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *RouterRegistryRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*RouterRegistryFilterer) WatchRouterRegistered ¶
func (_RouterRegistry *RouterRegistryFilterer) WatchRouterRegistered(opts *bind.WatchOpts, sink chan<- *RouterRegistryRouterRegistered, id [][32]byte) (event.Subscription, error)
WatchRouterRegistered is a free log subscription operation binding the contract event 0xc8c04b68c2c10643ec3b3d87b29ee62eda2d6e5c929cd2aba791fe90aecc8c1b.
Solidity: event RouterRegistered(bytes32 indexed id)
func (*RouterRegistryFilterer) WatchRouterRemoved ¶
func (_RouterRegistry *RouterRegistryFilterer) WatchRouterRemoved(opts *bind.WatchOpts, sink chan<- *RouterRegistryRouterRemoved, id [][32]byte) (event.Subscription, error)
WatchRouterRemoved is a free log subscription operation binding the contract event 0x813b69b7582e7b6cbe5fbfb9fbaceeef78bb34c4297b68f138b189e96eebeead.
Solidity: event RouterRemoved(bytes32 indexed id)
func (*RouterRegistryFilterer) WatchRouterUpdated ¶
func (_RouterRegistry *RouterRegistryFilterer) WatchRouterUpdated(opts *bind.WatchOpts, sink chan<- *RouterRegistryRouterUpdated, id [][32]byte) (event.Subscription, error)
WatchRouterUpdated is a free log subscription operation binding the contract event 0x8af614f5e1bf8bc42df40f6ef41468c010e2f999f579ba0ec3658405ced7451c.
Solidity: event RouterUpdated(bytes32 indexed id)
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 RouterRegistryRoleAdminChanged ¶
type RouterRegistryRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
RouterRegistryRoleAdminChanged represents a RoleAdminChanged event raised by the RouterRegistry contract.
type RouterRegistryRoleAdminChangedIterator ¶
type RouterRegistryRoleAdminChangedIterator struct { Event *RouterRegistryRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RouterRegistryRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the RouterRegistry contract.
func (*RouterRegistryRoleAdminChangedIterator) Close ¶
func (it *RouterRegistryRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RouterRegistryRoleAdminChangedIterator) Error ¶
func (it *RouterRegistryRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RouterRegistryRoleAdminChangedIterator) Next ¶
func (it *RouterRegistryRoleAdminChangedIterator) 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 RouterRegistryRoleGranted ¶
type RouterRegistryRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
RouterRegistryRoleGranted represents a RoleGranted event raised by the RouterRegistry contract.
type RouterRegistryRoleGrantedIterator ¶
type RouterRegistryRoleGrantedIterator struct { Event *RouterRegistryRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RouterRegistryRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the RouterRegistry contract.
func (*RouterRegistryRoleGrantedIterator) Close ¶
func (it *RouterRegistryRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RouterRegistryRoleGrantedIterator) Error ¶
func (it *RouterRegistryRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RouterRegistryRoleGrantedIterator) Next ¶
func (it *RouterRegistryRoleGrantedIterator) 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 RouterRegistryRoleRevoked ¶
type RouterRegistryRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
RouterRegistryRoleRevoked represents a RoleRevoked event raised by the RouterRegistry contract.
type RouterRegistryRoleRevokedIterator ¶
type RouterRegistryRoleRevokedIterator struct { Event *RouterRegistryRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RouterRegistryRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the RouterRegistry contract.
func (*RouterRegistryRoleRevokedIterator) Close ¶
func (it *RouterRegistryRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RouterRegistryRoleRevokedIterator) Error ¶
func (it *RouterRegistryRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RouterRegistryRoleRevokedIterator) Next ¶
func (it *RouterRegistryRoleRevokedIterator) 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 RouterRegistryRouterRegistered ¶
type RouterRegistryRouterRegistered struct { Id [32]byte Raw types.Log // Blockchain specific contextual infos }
RouterRegistryRouterRegistered represents a RouterRegistered event raised by the RouterRegistry contract.
type RouterRegistryRouterRegisteredIterator ¶
type RouterRegistryRouterRegisteredIterator struct { Event *RouterRegistryRouterRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RouterRegistryRouterRegisteredIterator is returned from FilterRouterRegistered and is used to iterate over the raw logs and unpacked data for RouterRegistered events raised by the RouterRegistry contract.
func (*RouterRegistryRouterRegisteredIterator) Close ¶
func (it *RouterRegistryRouterRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RouterRegistryRouterRegisteredIterator) Error ¶
func (it *RouterRegistryRouterRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RouterRegistryRouterRegisteredIterator) Next ¶
func (it *RouterRegistryRouterRegisteredIterator) 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 RouterRegistryRouterRemoved ¶
type RouterRegistryRouterRemoved struct { Id [32]byte Raw types.Log // Blockchain specific contextual infos }
RouterRegistryRouterRemoved represents a RouterRemoved event raised by the RouterRegistry contract.
type RouterRegistryRouterRemovedIterator ¶
type RouterRegistryRouterRemovedIterator struct { Event *RouterRegistryRouterRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RouterRegistryRouterRemovedIterator is returned from FilterRouterRemoved and is used to iterate over the raw logs and unpacked data for RouterRemoved events raised by the RouterRegistry contract.
func (*RouterRegistryRouterRemovedIterator) Close ¶
func (it *RouterRegistryRouterRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RouterRegistryRouterRemovedIterator) Error ¶
func (it *RouterRegistryRouterRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RouterRegistryRouterRemovedIterator) Next ¶
func (it *RouterRegistryRouterRemovedIterator) 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 RouterRegistryRouterUpdated ¶
type RouterRegistryRouterUpdated struct { Id [32]byte 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 ¶
func (it *RouterRegistryRouterUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RouterRegistryRouterUpdatedIterator) Error ¶
func (it *RouterRegistryRouterUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RouterRegistryRouterUpdatedIterator) Next ¶
func (it *RouterRegistryRouterUpdatedIterator) 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 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) DEFAULTADMINROLE ¶
func (_RouterRegistry *RouterRegistrySession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*RouterRegistrySession) GetRoleAdmin ¶
func (_RouterRegistry *RouterRegistrySession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*RouterRegistrySession) GrantRole ¶
func (_RouterRegistry *RouterRegistrySession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*RouterRegistrySession) HasRole ¶
func (_RouterRegistry *RouterRegistrySession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*RouterRegistrySession) ROUTERREGISTERERROLE ¶
func (_RouterRegistry *RouterRegistrySession) ROUTERREGISTERERROLE() ([32]byte, error)
ROUTERREGISTERERROLE is a free data retrieval call binding the contract method 0x1916b5f7.
Solidity: function ROUTER_REGISTERER_ROLE() view returns(bytes32)
func (*RouterRegistrySession) ROUTERREMOVERROLE ¶
func (_RouterRegistry *RouterRegistrySession) ROUTERREMOVERROLE() ([32]byte, error)
ROUTERREMOVERROLE is a free data retrieval call binding the contract method 0x7a97d02d.
Solidity: function ROUTER_REMOVER_ROLE() view returns(bytes32)
func (*RouterRegistrySession) ROUTERUPDATEROLE ¶
func (_RouterRegistry *RouterRegistrySession) ROUTERUPDATEROLE() ([32]byte, error)
ROUTERUPDATEROLE is a free data retrieval call binding the contract method 0x5487d3ce.
Solidity: function ROUTER_UPDATE_ROLE() view returns(bytes32)
func (*RouterRegistrySession) Register ¶
func (_RouterRegistry *RouterRegistrySession) Register(id [32]byte, owner common.Address, netid *big.Int, prefix uint32, mask uint8, frequencyPlan uint8, endpoint string) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x9f26fa53.
Solidity: function register(bytes32 id, address owner, uint24 netid, uint32 prefix, uint8 mask, uint8 frequencyPlan, string endpoint) returns()
func (*RouterRegistrySession) Remove ¶
func (_RouterRegistry *RouterRegistrySession) Remove(id [32]byte, owner common.Address) (*types.Transaction, error)
Remove is a paid mutator transaction binding the contract method 0x2874528e.
Solidity: function remove(bytes32 id, address owner) returns()
func (*RouterRegistrySession) RenounceRole ¶
func (_RouterRegistry *RouterRegistrySession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*RouterRegistrySession) RevokeRole ¶
func (_RouterRegistry *RouterRegistrySession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*RouterRegistrySession) RouterCount ¶
func (_RouterRegistry *RouterRegistrySession) RouterCount() (*big.Int, error)
RouterCount is a free data retrieval call binding the contract method 0x8e67e049.
Solidity: function routerCount() view returns(uint256)
func (*RouterRegistrySession) Routers ¶
func (_RouterRegistry *RouterRegistrySession) Routers(id [32]byte) (IRouterRegistryRouter, error)
Routers is a free data retrieval call binding the contract method 0xaa1fce69.
Solidity: function routers(bytes32 id) view returns((bytes32,address,uint24,uint32,uint8,uint8,string))
func (*RouterRegistrySession) RoutersPaged ¶
func (_RouterRegistry *RouterRegistrySession) RoutersPaged(start *big.Int, end *big.Int) ([]IRouterRegistryRouter, error)
RoutersPaged is a free data retrieval call binding the contract method 0x5c6201eb.
Solidity: function routersPaged(uint256 start, uint256 end) view returns((bytes32,address,uint24,uint32,uint8,uint8,string)[])
func (*RouterRegistrySession) SupportsInterface ¶
func (_RouterRegistry *RouterRegistrySession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*RouterRegistrySession) TRUSTEDFORWARDERROLE ¶
func (_RouterRegistry *RouterRegistrySession) TRUSTEDFORWARDERROLE() ([32]byte, error)
TRUSTEDFORWARDERROLE is a free data retrieval call binding the contract method 0x00cba943.
Solidity: function TRUSTED_FORWARDER_ROLE() view returns(bytes32)
func (*RouterRegistrySession) Update ¶
func (_RouterRegistry *RouterRegistrySession) Update(id [32]byte, owner common.Address, netid *big.Int, prefix uint32, mask uint8, frequencyPlan uint8, endpoint string) (*types.Transaction, error)
Update is a paid mutator transaction binding the contract method 0x20ef6db5.
Solidity: function update(bytes32 id, address owner, uint24 netid, uint32 prefix, uint8 mask, uint8 frequencyPlan, string endpoint) returns()
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) GrantRole ¶
func (_RouterRegistry *RouterRegistryTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*RouterRegistryTransactor) Register ¶
func (_RouterRegistry *RouterRegistryTransactor) Register(opts *bind.TransactOpts, id [32]byte, owner common.Address, netid *big.Int, prefix uint32, mask uint8, frequencyPlan uint8, endpoint string) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x9f26fa53.
Solidity: function register(bytes32 id, address owner, uint24 netid, uint32 prefix, uint8 mask, uint8 frequencyPlan, string endpoint) returns()
func (*RouterRegistryTransactor) Remove ¶
func (_RouterRegistry *RouterRegistryTransactor) Remove(opts *bind.TransactOpts, id [32]byte, owner common.Address) (*types.Transaction, error)
Remove is a paid mutator transaction binding the contract method 0x2874528e.
Solidity: function remove(bytes32 id, address owner) returns()
func (*RouterRegistryTransactor) RenounceRole ¶
func (_RouterRegistry *RouterRegistryTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*RouterRegistryTransactor) RevokeRole ¶
func (_RouterRegistry *RouterRegistryTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*RouterRegistryTransactor) Update ¶
func (_RouterRegistry *RouterRegistryTransactor) Update(opts *bind.TransactOpts, id [32]byte, owner common.Address, netid *big.Int, prefix uint32, mask uint8, frequencyPlan uint8, endpoint string) (*types.Transaction, error)
Update is a paid mutator transaction binding the contract method 0x20ef6db5.
Solidity: function update(bytes32 id, address owner, uint24 netid, uint32 prefix, uint8 mask, uint8 frequencyPlan, string endpoint) 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) GrantRole ¶
func (_RouterRegistry *RouterRegistryTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*RouterRegistryTransactorSession) Register ¶
func (_RouterRegistry *RouterRegistryTransactorSession) Register(id [32]byte, owner common.Address, netid *big.Int, prefix uint32, mask uint8, frequencyPlan uint8, endpoint string) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x9f26fa53.
Solidity: function register(bytes32 id, address owner, uint24 netid, uint32 prefix, uint8 mask, uint8 frequencyPlan, string endpoint) returns()
func (*RouterRegistryTransactorSession) Remove ¶
func (_RouterRegistry *RouterRegistryTransactorSession) Remove(id [32]byte, owner common.Address) (*types.Transaction, error)
Remove is a paid mutator transaction binding the contract method 0x2874528e.
Solidity: function remove(bytes32 id, address owner) returns()
func (*RouterRegistryTransactorSession) RenounceRole ¶
func (_RouterRegistry *RouterRegistryTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*RouterRegistryTransactorSession) RevokeRole ¶
func (_RouterRegistry *RouterRegistryTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*RouterRegistryTransactorSession) Update ¶
func (_RouterRegistry *RouterRegistryTransactorSession) Update(id [32]byte, owner common.Address, netid *big.Int, prefix uint32, mask uint8, frequencyPlan uint8, endpoint string) (*types.Transaction, error)
Update is a paid mutator transaction binding the contract method 0x20ef6db5.
Solidity: function update(bytes32 id, address owner, uint24 netid, uint32 prefix, uint8 mask, uint8 frequencyPlan, string endpoint) returns()