cli

package
v17.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagMinRedemptionRate = "min-redemption-rate"
	FlagMaxRedemptionRate = "max-redemption-rate"
)

Variables

View Source
var DefaultRelativePacketTimeoutTimestamp = cast.ToUint64((time.Duration(10) * time.Minute).Nanoseconds())

Functions

func CmdAddValidators

func CmdAddValidators() *cobra.Command

func CmdAddValidatorsProposal

func CmdAddValidatorsProposal() *cobra.Command

func CmdCalibrateDelegation

func CmdCalibrateDelegation() *cobra.Command

func CmdChangeMultipleValidatorWeight

func CmdChangeMultipleValidatorWeight() *cobra.Command

Updates the weight for multiple validators

Accepts a file in the following format:

{
	"validator_weights": [
	     {"address": "cosmosXXX", "weight": 1},
		 {"address": "cosmosXXX", "weight": 2}
    ]
}

func CmdChangeValidatorWeight

func CmdChangeValidatorWeight() *cobra.Command

Updates the weight for a single validator

func CmdClaimUndelegatedTokens

func CmdClaimUndelegatedTokens() *cobra.Command

func CmdClearBalance

func CmdClearBalance() *cobra.Command

func CmdDeleteValidator

func CmdDeleteValidator() *cobra.Command

func CmdLSMLiquidStake

func CmdLSMLiquidStake() *cobra.Command

func CmdLiquidStake

func CmdLiquidStake() *cobra.Command

func CmdListEpochTracker

func CmdListEpochTracker() *cobra.Command

func CmdListHostZone

func CmdListHostZone() *cobra.Command

func CmdListTradeRoutes

func CmdListTradeRoutes() *cobra.Command

func CmdModuleAddress

func CmdModuleAddress() *cobra.Command

func CmdNextPacketSequence

func CmdNextPacketSequence() *cobra.Command

func CmdQueryParams

func CmdQueryParams() *cobra.Command

func CmdRebalanceValidators

func CmdRebalanceValidators() *cobra.Command

func CmdRedeemStake

func CmdRedeemStake() *cobra.Command

func CmdRegisterHostZone

func CmdRegisterHostZone() *cobra.Command

func CmdRestoreInterchainAccount

func CmdRestoreInterchainAccount() *cobra.Command

func CmdResumeHostZone

func CmdResumeHostZone() *cobra.Command

func CmdShowEpochTracker

func CmdShowEpochTracker() *cobra.Command

func CmdShowHostZone

func CmdShowHostZone() *cobra.Command

func CmdShowInterchainAccount

func CmdShowInterchainAccount() *cobra.Command

func CmdShowValidators

func CmdShowValidators() *cobra.Command

func CmdToggleLSMProposal

func CmdToggleLSMProposal() *cobra.Command

func CmdUpdateInnerRedemptionRateBounds

func CmdUpdateInnerRedemptionRateBounds() *cobra.Command

func CmdUpdateValidatorSharesExchRate

func CmdUpdateValidatorSharesExchRate() *cobra.Command

func GetQueryCmd

func GetQueryCmd(queryRoute string) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

Types

type ValidatorWeightList

type ValidatorWeightList struct {
	ValidatorWeights []*types.ValidatorWeight `json:"validator_weights,omitempty"`
}

type ValidatorsList

type ValidatorsList struct {
	Validators []*types.Validator `json:"validators,omitempty"`
}

Jump to

Keyboard shortcuts

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