cli

package
v21.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	FlagMinRedemptionRate            = "min-redemption-rate"
	FlagMaxRedemptionRate            = "max-redemption-rate"
	FlagCommunityPoolTreasuryAddress = "community-pool-treasury-address"
)

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 CmdSetCommunityPoolRebate

func CmdSetCommunityPoolRebate() *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 CmdToggleTradeController

func CmdToggleTradeController() *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