Documentation ¶
Index ¶
- Constants
- type ETHNetwork
- type NetworkParams
- func (p *NetworkParams) GetEthereumConfig() (*vega.EthereumConfig, error)
- func (p *NetworkParams) GetEthereumL2Configs() (*vega.EthereumL2Configs, error)
- func (p *NetworkParams) GetMinimumEthereumEventsForNewValidator() (int, error)
- func (p *NetworkParams) GetMinimumValidatorStake() (*big.Int, error)
Constants ¶
View Source
const ( NetworkDevnet1 = "devnet1" NetworkStagnet1 = "stagnet1" NetworkStagnet3 = "stagnet3" NetworkFairground = "fairground" NetworkSandbox = "sandbox" NetworkValidatorsTestnet = "validators-testnet" NetworkMainnet = "mainnet" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ETHNetwork ¶
type ETHNetwork string
const ( ETHMainnet ETHNetwork = "mainnet" ETHSepolia ETHNetwork = "sepolia" ETHGoerli ETHNetwork = "goerli" ETHRopsten ETHNetwork = "ropsten" )
func GetEthNetworkForId ¶
func GetEthNetworkForId(chainId string) (ETHNetwork, error)
func (ETHNetwork) IsValid ¶
func (n ETHNetwork) IsValid() error
type NetworkParams ¶
func NewNetworkParams ¶
func NewNetworkParams(params map[string]string) *NetworkParams
func (*NetworkParams) GetEthereumConfig ¶
func (p *NetworkParams) GetEthereumConfig() (*vega.EthereumConfig, error)
func (*NetworkParams) GetEthereumL2Configs ¶ added in v0.74.10
func (p *NetworkParams) GetEthereumL2Configs() (*vega.EthereumL2Configs, error)
func (*NetworkParams) GetMinimumEthereumEventsForNewValidator ¶
func (p *NetworkParams) GetMinimumEthereumEventsForNewValidator() (int, error)
func (*NetworkParams) GetMinimumValidatorStake ¶
func (p *NetworkParams) GetMinimumValidatorStake() (*big.Int, error)
Click to show internal directories.
Click to hide internal directories.