cli

package
v1.7.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	FlagDescription         = "description"
	FlagStartHeight         = "start-height"
	FlagRewardPerBlock      = "reward-per-block"
	FlagLPTokenDenom        = "lp-token-denom"
	FlagTotalReward         = "total-reward"
	FlagEditable            = "editable"
	FlagFarmPool            = "pool-id"
	FlagAdditionalReward    = "additional-reward"
	FlagProposalDescription = "proposal-description"
	FlagProposalTitle       = "proposal-title"
	FlagProposaldeposit     = "proposal-deposit"
	FlagFundApplied         = "proposal-fund-applied"
	FlagFundSelfBond        = "proposal-fund-self-bond"
)

Variables

View Source
var (
	FsCreateFarmPool              = flag.NewFlagSet("", flag.ContinueOnError)
	FsCreatePoolWithCommunityPool = flag.NewFlagSet("", flag.ContinueOnError)
	FsAdjustFarmPool              = flag.NewFlagSet("", flag.ContinueOnError)
	FsQueryFarmPool               = flag.NewFlagSet("", flag.ContinueOnError)
)

common flag sets to add to various functions

Functions

func GetCmdAdjustPool

func GetCmdAdjustPool() *cobra.Command

GetCmdAdjustPool implements the append some reward for farm pool command.

func GetCmdCreateFarmPool

func GetCmdCreateFarmPool() *cobra.Command

GetCmdCreateFarmPool implements the create a new farm pool command.

func GetCmdDestroyFarmPool

func GetCmdDestroyFarmPool() *cobra.Command

GetCmdDestroyFarmPool implements the destroy a farm pool command.

func GetCmdHarvest

func GetCmdHarvest() *cobra.Command

GetCmdHarvest implements the withdrawing some reward from the farm pool.

func GetCmdQueryFarmPool

func GetCmdQueryFarmPool() *cobra.Command

GetCmdQueryFarmPools implements the query a farm pool.

func GetCmdQueryFarmPools

func GetCmdQueryFarmPools() *cobra.Command

GetCmdQueryFarmPools implements the query the farm pool by page.

func GetCmdQueryFarmer

func GetCmdQueryFarmer() *cobra.Command

GetCmdQueryFarmer implements the query the farmer reward.

func GetCmdQueryParams

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams implements the query params command.

func GetCmdStake

func GetCmdStake() *cobra.Command

GetCmdStake implements the staking lp token to farm pool command.

func GetCmdUnstake

func GetCmdUnstake() *cobra.Command

GetCmdUnstake implements the unstaking some lp token from farm pool command.

func GetCreatePoolWithCommunityPool

func GetCreatePoolWithCommunityPool() *cobra.Command

GetCreatePoolWithCommunityPool implements the create a new farm pool with communityPool command.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for the farm module.

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd returns the transaction commands for the farm module.

Types

This section is empty.

Jump to

Keyboard shortcuts

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