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) 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}
View Source
var SepoliaChainIDs = []uint64{11155111, 421614, 11155420}
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) UpdateRelatedChainID ¶ added in v0.162.1
Click to show internal directories.
Click to hide internal directories.