cli

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagNftDenomId       = "nft-denom-id"
	FlagNftId            = "nft-id"
	FlagName             = "name"
	FlagDescription      = "description"
	FlagMaxAllowedClaims = "max-allowed-claims"
	FlagTokensPerClaim   = "tokens-per-claim"
	FlagDeposit          = "deposit"
	FlagCreator          = "creator"
	FlagStatus           = "status"
	FlagClaimer          = "claimer"
	FlagStartTime        = "start-time"
	FlagDuration         = "duration"
	FlagAmount           = "amount"
	FlagInteractionType  = "interaction-type"
	FlagClaimType        = "claim-type"
	FlagDistributionType = "distribution-type"
	FlagStreamDuration   = "stream-duration"
	FlagNftDetailsFile   = "nft-details-file"
	FlagCreationFee      = "creation-fee"
)

Variables

View Source
var (
	FsCreateCampaign  = flag.NewFlagSet("", flag.ContinueOnError)
	FsDepositCampaign = flag.NewFlagSet("", flag.ContinueOnError)
	FsClaim           = flag.NewFlagSet("", flag.ContinueOnError)
)

Functions

func GetCmdCancelCampaign

func GetCmdCancelCampaign() *cobra.Command

GetCmdCancelCampaign implements the campaign cancel command

func GetCmdClaim

func GetCmdClaim() *cobra.Command

GetCmdClaim implements the bid command

func GetCmdCreateCampaign

func GetCmdCreateCampaign() *cobra.Command

GetCmdCreateCampaign implements the create-campaign command

func GetCmdDepositCampaign

func GetCmdDepositCampaign() *cobra.Command

GetCmdDepositCampaign implements the bid command

func GetCmdQueryAllCampaigns

func GetCmdQueryAllCampaigns() *cobra.Command

GetCmdQueryAllCampaigns implements the query all campaigns command.

func GetCmdQueryCampaign

func GetCmdQueryCampaign() *cobra.Command

GetCmdQueryCampaign implements the query campaign command.

func GetCmdQueryClaimsByCampaign

func GetCmdQueryClaimsByCampaign() *cobra.Command

GetCmdQueryClaimsByCampaign implements the query claims by campaign command.

func GetCmdQueryParams

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams implements the query params command.

func GetQueryCmd

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

This section is empty.

Jump to

Keyboard shortcuts

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