cli

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 10 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 (
	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 added in v1.5.2

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