Versions in this module Expand all Collapse all v1 v1.1.0 Nov 16, 2022 Changes in this version type IRouterRegistryRouter + FrequencyPlan uint8 + Mask uint8 + Netid *big.Int + Prefix uint32 v1.0.0 Oct 31, 2022 Changes in this version + var RouterRegistryABI = RouterRegistryMetaData.ABI + var RouterRegistryMetaData = &bind.MetaData + type IRouterRegistryRouter struct + Endpoint string + Id [32]byte + Networks []*big.Int + Owner common.Address + type RouterRegistry struct + func NewRouterRegistry(address common.Address, backend bind.ContractBackend) (*RouterRegistry, error) + type RouterRegistryCaller struct + func NewRouterRegistryCaller(address common.Address, caller bind.ContractCaller) (*RouterRegistryCaller, error) + 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 struct + Contract *RouterRegistryCaller + func (_RouterRegistry *RouterRegistryCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type RouterRegistryCallerSession struct + CallOpts bind.CallOpts + Contract *RouterRegistryCaller + 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 struct + func NewRouterRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*RouterRegistryFilterer, error) + 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 struct + Contract *RouterRegistry + 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 struct + NewAdminRole [32]byte + PreviousAdminRole [32]byte + Raw types.Log + Role [32]byte + type RouterRegistryRoleAdminChangedIterator struct + Event *RouterRegistryRoleAdminChanged + func (it *RouterRegistryRoleAdminChangedIterator) Close() error + func (it *RouterRegistryRoleAdminChangedIterator) Error() error + func (it *RouterRegistryRoleAdminChangedIterator) Next() bool + type RouterRegistryRoleGranted struct + Account common.Address + Raw types.Log + Role [32]byte + Sender common.Address + type RouterRegistryRoleGrantedIterator struct + Event *RouterRegistryRoleGranted + func (it *RouterRegistryRoleGrantedIterator) Close() error + func (it *RouterRegistryRoleGrantedIterator) Error() error + func (it *RouterRegistryRoleGrantedIterator) Next() bool + type RouterRegistryRoleRevoked struct + Account common.Address + Raw types.Log + Role [32]byte + Sender common.Address + type RouterRegistryRoleRevokedIterator struct + Event *RouterRegistryRoleRevoked + func (it *RouterRegistryRoleRevokedIterator) Close() error + func (it *RouterRegistryRoleRevokedIterator) Error() error + func (it *RouterRegistryRoleRevokedIterator) Next() bool + type RouterRegistryRouterRegistered struct + Id [32]byte + Raw types.Log + type RouterRegistryRouterRegisteredIterator struct + Event *RouterRegistryRouterRegistered + func (it *RouterRegistryRouterRegisteredIterator) Close() error + func (it *RouterRegistryRouterRegisteredIterator) Error() error + func (it *RouterRegistryRouterRegisteredIterator) Next() bool + type RouterRegistryRouterRemoved struct + Id [32]byte + Raw types.Log + type RouterRegistryRouterRemovedIterator struct + Event *RouterRegistryRouterRemoved + func (it *RouterRegistryRouterRemovedIterator) Close() error + func (it *RouterRegistryRouterRemovedIterator) Error() error + func (it *RouterRegistryRouterRemovedIterator) Next() bool + type RouterRegistryRouterUpdated struct + Id [32]byte + Raw types.Log + type RouterRegistryRouterUpdatedIterator struct + Event *RouterRegistryRouterUpdated + func (it *RouterRegistryRouterUpdatedIterator) Close() error + func (it *RouterRegistryRouterUpdatedIterator) Error() error + func (it *RouterRegistryRouterUpdatedIterator) Next() bool + type RouterRegistrySession struct + CallOpts bind.CallOpts + Contract *RouterRegistry + TransactOpts bind.TransactOpts + 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, networks []*big.Int, endpoint string) (*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, networks []*big.Int, endpoint string) (*types.Transaction, error) + type RouterRegistryTransactor struct + func NewRouterRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*RouterRegistryTransactor, error) + 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, ...) (*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, ...) (*types.Transaction, error) + type RouterRegistryTransactorRaw struct + Contract *RouterRegistryTransactor + func (_RouterRegistry *RouterRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_RouterRegistry *RouterRegistryTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type RouterRegistryTransactorSession struct + Contract *RouterRegistryTransactor + TransactOpts bind.TransactOpts + func (_RouterRegistry *RouterRegistryTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error) + func (_RouterRegistry *RouterRegistryTransactorSession) Register(id [32]byte, owner common.Address, networks []*big.Int, endpoint string) (*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, networks []*big.Int, endpoint string) (*types.Transaction, error)