cli

package
v5.0.0-rc9 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

View Source
const (
	FlagFarmingPoolAddress = "farming-pool-addr"
	FlagTerminationAddress = "termination-addr"
	FlagIsPrivate          = "is-private"
	FlagIsTerminated       = "is-terminated"
)

Variables

This section is empty.

Functions

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 the module

func NewCmdSubmitFarmingPlanProposal

func NewCmdSubmitFarmingPlanProposal() *cobra.Command

func NewCreatePrivatePlanCmd

func NewCreatePrivatePlanCmd() *cobra.Command

func NewFarmCmd

func NewFarmCmd() *cobra.Command

func NewHarvestCmd

func NewHarvestCmd() *cobra.Command

func NewQueryFarmCmd

func NewQueryFarmCmd() *cobra.Command

NewQueryFarmCmd implements the farm query cmd.

func NewQueryHistoricalRewardsCmd

func NewQueryHistoricalRewardsCmd() *cobra.Command

NewQueryHistoricalRewardsCmd implements the historical rewards query cmd.

func NewQueryParamsCmd

func NewQueryParamsCmd() *cobra.Command

NewQueryParamsCmd implements the params query command.

func NewQueryPlanCmd

func NewQueryPlanCmd() *cobra.Command

NewQueryPlanCmd implements the plan query cmd.

func NewQueryPlansCmd

func NewQueryPlansCmd() *cobra.Command

NewQueryPlansCmd implements the plans query cmd.

func NewQueryPositionCmd

func NewQueryPositionCmd() *cobra.Command

NewQueryPositionCmd implements the position query cmd.

func NewQueryPositionsCmd

func NewQueryPositionsCmd() *cobra.Command

NewQueryPositionsCmd implements the positions query cmd.

func NewQueryRewardsCmd

func NewQueryRewardsCmd() *cobra.Command

NewQueryRewardsCmd implements the rewards query cmd.

func NewQueryTotalRewardsCmd

func NewQueryTotalRewardsCmd() *cobra.Command

NewQueryTotalRewardsCmd implements the total rewards query cmd.

func NewTerminatePrivatePlanCmd

func NewTerminatePrivatePlanCmd() *cobra.Command

func NewUnfarmCmd

func NewUnfarmCmd() *cobra.Command

func ParseFarmingPlanProposal

func ParseFarmingPlanProposal(cdc codec.JSONCodec, proposalFile string) (types.FarmingPlanProposal, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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