ibftswitch

package
v0.0.0-...-97e54d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFromPositive = errors.New(`"from" must be positive number`)
)

Functions

func GetCommand

func GetCommand() *cobra.Command

Types

type IBFTSwitchResult

type IBFTSwitchResult struct {
	Chain             string             `json:"chain"`
	Type              ibft.MechanismType `json:"type"`
	From              common.JSONNumber  `json:"from"`
	Deployment        *common.JSONNumber `json:"deployment,omitempty"`
	MaxValidatorCount common.JSONNumber  `json:"maxValidatorCount"`
	MinValidatorCount common.JSONNumber  `json:"minValidatorCount"`
}

func (*IBFTSwitchResult) GetOutput

func (r *IBFTSwitchResult) GetOutput() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL