cli

package
v2.5.3 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagGeolocation = "geolocation"
	FlagCluster     = "cluster"
)
View Source
const (
	AmountFlagName    = "amount"
	EndpointsFlagName = "endpoints"
	GeolocationFlag   = "geolocation"
	ValidatorFlag     = "validator"
)
View Source
const (
	QoSValuesFlag = "qos-values"
	CuAmountFlag  = "cu-amount"
	EpochFlag     = "epoch"
	RelayNumFlag  = "relay-num"
)
View Source
const (
	BULK_ARG_COUNT = 5
)
View Source
const (
	ShowFrozenProvidersFlagName = "show-frozen-providers"
)

Variables

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

Functions

func CmdAccountInfo

func CmdAccountInfo() *cobra.Command

func CmdBulkStakeProvider

func CmdBulkStakeProvider() *cobra.Command

func CmdDebugQuery

func CmdDebugQuery() *cobra.Command

func CmdEffectivePolicy

func CmdEffectivePolicy() *cobra.Command

func CmdFreeze

func CmdFreeze() *cobra.Command

func CmdGetPairing

func CmdGetPairing() *cobra.Command

func CmdModifyProvider

func CmdModifyProvider() *cobra.Command

func CmdProvider

func CmdProvider() *cobra.Command

func CmdProviderMonthlyPayout

func CmdProviderMonthlyPayout() *cobra.Command

func CmdProviderPairingChance

func CmdProviderPairingChance() *cobra.Command

func CmdProviders

func CmdProviders() *cobra.Command

func CmdProvidersEpochCu

func CmdProvidersEpochCu() *cobra.Command

func CmdQueryParams

func CmdQueryParams() *cobra.Command

func CmdRelayPayment

func CmdRelayPayment() *cobra.Command

func CmdSdkPairing

func CmdSdkPairing() *cobra.Command

func CmdSimulateRelayPayment

func CmdSimulateRelayPayment() *cobra.Command

func CmdStakeProvider

func CmdStakeProvider() *cobra.Command

func CmdStaticProvidersList

func CmdStaticProvidersList() *cobra.Command

func CmdSubscriptionMonthlyPayout

func CmdSubscriptionMonthlyPayout() *cobra.Command

func CmdUnfreeze

func CmdUnfreeze() *cobra.Command

func CmdUnstakeProvider

func CmdUnstakeProvider() *cobra.Command

func CmdUserMaxCu

func CmdUserMaxCu() *cobra.Command

func CmdVerifyPairing

func CmdVerifyPairing() *cobra.Command

func CreateGrantFeeMsg

func CreateGrantFeeMsg(granter string, grantee string) (*feegrant.MsgGrantAllowance, error)

CreateGrantFeeMsg cosntructs a feegrant GrantAllowance msg for specific TXs to allow the provider use the vault's funds for gas fees

func CreateRevokeFeeGrantMsg

func CreateRevokeFeeGrantMsg(clientCtx client.Context, chainID string) (*feegrant.MsgRevokeAllowance, error)

CreateRevokeFeeGrantMsg constructs a feegrant RevokeAllowance msg to revoke the feegrant of the provider when the vault account unstakes

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

func HandleEndpointsAndGeolocationArgs

func HandleEndpointsAndGeolocationArgs(endpArg []string, geoArg string) (endp []epochstoragetypes.Endpoint, geo int32, err error)

func NewSubmitUnstakeProposalTxCmd

func NewSubmitUnstakeProposalTxCmd() *cobra.Command

NewSubmitUnstakeProposalTxCmd returns a CLI command handler for creating an unstake proposal governance transaction.

Types

This section is empty.

Jump to

Keyboard shortcuts

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