Documentation
¶
Index ¶
- Variables
- type CombinedNetwork
- type Manager
- func (nm *Manager) Delete(chainID uint64) error
- func (nm *Manager) Find(chainID uint64) *params.Network
- func (nm *Manager) Get(onlyEnabled bool) ([]*params.Network, error)
- func (nm *Manager) GetAll() ([]*params.Network, error)
- func (nm *Manager) GetCombinedNetworks() ([]*CombinedNetwork, error)
- func (nm *Manager) GetConfiguredNetworks() []params.Network
- func (nm *Manager) Init(networks []params.Network) error
- func (nm *Manager) UpdateOriginalURL(chainID uint64, originalRPCURL, OriginalFallbackURL string) error
- func (nm *Manager) UpdateRelatedChainID(chainID uint64, relatedChainID uint64) error
- func (nm *Manager) Upsert(network *params.Network) error
Constants ¶
This section is empty.
Variables ¶
View Source
var GoerliChainIDs = []uint64{5, 421613} //, 420, }
GoerliChainIDs Uncomment next chain when we move more chain to sepolia
View Source
var SepoliaChainIDs = []uint64{11155111, 421614}
Functions ¶
This section is empty.
Types ¶
type CombinedNetwork ¶ added in v0.162.1
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) GetCombinedNetworks ¶ added in v0.162.1
func (nm *Manager) GetCombinedNetworks() ([]*CombinedNetwork, error)
func (*Manager) GetConfiguredNetworks ¶ added in v0.109.1
func (*Manager) UpdateOriginalURL ¶ added in v0.167.2
func (*Manager) UpdateRelatedChainID ¶ added in v0.162.1
Click to show internal directories.
Click to hide internal directories.