ibftswitch

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 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"`
}

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