cli

package
v1.15.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagType                   = "type"
	FlagSupplyFixed            = "supplyFixed"
	FlagAllowGovernanceControl = "allowGovernanceControl"
	FlagTransferLimit          = "transfer-limit"
	FlagExpiration             = "expiration"
	FlagPeriod                 = "period"
	FlagPeriodLimit            = "period-limit"
	FlagSpendLimit             = "spend-limit"
	FlagAllowList              = "allow-list"
	FlagAllowedMsgs            = "allowed-messages"
	FlagPacketTimeoutHeight    = "packet-timeout-height"
	FlagPacketTimeoutTimestamp = "packet-timeout-timestamp"
	FlagAbsoluteTimeouts       = "absolute-timeouts"
	FlagMemo                   = "memo"
	FlagRequiredAttributes     = "required-attributes"
	FlagAllowForceTransfer     = "allow-force-transfer"
)

Variables

This section is empty.

Functions

func AddNewMarkerFlags added in v1.15.0

func AddNewMarkerFlags(cmd *cobra.Command)

AddNewMarkerFlags adds the flags needed when defining a new marker. The provided values can be retrieved using ParseNewMarkerFlags.

func AllHoldersCmd

func AllHoldersCmd() *cobra.Command

AllHoldersCmd is the CLI command for listing all marker module registrations.

func AllMarkersCmd

func AllMarkersCmd() *cobra.Command

AllMarkersCmd is the CLI command for listing all marker module registrations.

func GetCmdActivate

func GetCmdActivate() *cobra.Command

GetCmdActivate implements the activate marker command.

func GetCmdAddAccess

func GetCmdAddAccess() *cobra.Command

GetCmdAddAccess implements the delegate access to a marker command.

func GetCmdAddFinalizeActivateMarker added in v1.14.0

func GetCmdAddFinalizeActivateMarker() *cobra.Command

GetCmdAddFinalizeActivateMarker implements the add finalize activate marker command

func GetCmdAddMarker

func GetCmdAddMarker() *cobra.Command

GetCmdAddMarker implements the create marker command

func GetCmdBurn

func GetCmdBurn() *cobra.Command

GetCmdBurn implements the burn coin supply from marker command.

func GetCmdCancel

func GetCmdCancel() *cobra.Command

GetCmdCancel implements the cancel marker command.

func GetCmdDelete

func GetCmdDelete() *cobra.Command

GetCmdDelete implements the destroy marker command.

func GetCmdDeleteAccess

func GetCmdDeleteAccess() *cobra.Command

GetCmdDeleteAccess implements the revoke administrative access for a marker command.

func GetCmdFeeGrant added in v1.11.0

func GetCmdFeeGrant() *cobra.Command

GetCmdFeeGrant returns a CLI command handler for creating a MsgGrantAllowance transaction.

func GetCmdFinalize

func GetCmdFinalize() *cobra.Command

GetCmdFinalize implements the finalize marker command.

func GetCmdGrantAuthorization added in v1.7.0

func GetCmdGrantAuthorization() *cobra.Command

func GetCmdMarkerProposal added in v1.7.0

func GetCmdMarkerProposal() *cobra.Command

GetCmdMarkerProposal returns a cmd for creating/submitting marker governance proposals

func GetCmdMint

func GetCmdMint() *cobra.Command

GetCmdMint implements the mint additional supply for marker command.

func GetCmdRevokeAuthorization added in v1.7.0

func GetCmdRevokeAuthorization() *cobra.Command

func GetCmdWithdrawCoins

func GetCmdWithdrawCoins() *cobra.Command

GetCmdWithdrawCoins implements the withdraw coins from escrow command.

func GetIbcTransferTxCmd added in v1.13.0

func GetIbcTransferTxCmd() *cobra.Command

TODO: refactor usage comments to be provenance specific GetIbcTransferTxCmd returns the command to create a GetIbcTransferTxCmd transaction

func GetNewTransferCmd added in v1.5.0

func GetNewTransferCmd() *cobra.Command

Transfer handles a message to send coins from one account to another

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the top-level command for marker CLI queries.

func MarkerAccessCmd

func MarkerAccessCmd() *cobra.Command

MarkerAccessCmd is the CLI command for querying marker access list.

func MarkerCmd

func MarkerCmd() *cobra.Command

MarkerCmd is the CLI command for querying marker module registrations.

func MarkerEscrowCmd

func MarkerEscrowCmd() *cobra.Command

MarkerEscrowCmd is the CLI command for querying marker module registrations.

func MarkerSupplyCmd

func MarkerSupplyCmd() *cobra.Command

MarkerSupplyCmd is the CLI command for querying marker module registrations.

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd returns the top-level command for marker CLI transactions.

func ParseAccessGrantFromString added in v1.14.0

func ParseAccessGrantFromString(addressPermissionString string) []types.AccessGrant

ParseAccessGrantFromString splits string (example address1,perm1,perm2...;address2, perm1...) to AccessGrant

func QueryParamsCmd added in v1.3.0

func QueryParamsCmd() *cobra.Command

QueryParamsCmd returns the command handler for marker parameter querying.

Types

type NewMarkerFlagValues added in v1.15.0

type NewMarkerFlagValues struct {
	MarkerType         types.MarkerType
	SupplyFixed        bool
	AllowGovControl    bool
	AllowForceTransfer bool
	RequiredAttributes []string
}

NewMarkerFlagValues represents the values provided in the flags added by AddNewMarkerFlags.

func ParseNewMarkerFlags added in v1.15.0

func ParseNewMarkerFlags(cmd *cobra.Command) (*NewMarkerFlagValues, error)

ParseNewMarkerFlags reads the flags added by AddNewMarkerFlags.

Jump to

Keyboard shortcuts

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