poa

package
v1.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2025 License: LGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagRPCURL          = "rpc-url"          // URL of the RPC provider
	FlagMoniker         = "moniker"          // validator's name
	FlagIdentity        = "identity"         // validator's optional identity signature (ex. UPort or Keybase)
	FlagWebsite         = "website"          // validator's optional website
	FlagSecurityContact = "security-contact" // validator's optional security contact email
	FlagDetails         = "details"          // validator's optional details
)

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

func NewFlagSetSubmitApplication

func NewFlagSetSubmitApplication() *flag.FlagSet

func NewSubmitApplicationCmd

func NewSubmitApplicationCmd() *cobra.Command

Types

type Data

type Data struct {
	Memo      string    `json:"memo"`
	Validator Validator `json:"validator"`
}

type Validator

type Validator struct {
	OperatorBech32   string               `json:"operator_bech32"`
	ConsPubKeyBech32 string               `json:"cons_pub_key_bech32"`
	Description      poatypes.Description `json:"validator"`
}

Jump to

Keyboard shortcuts

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