cli

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCmdSubmitProposal added in v0.14.2

func GetCmdSubmitProposal(cdc *codec.Codec) *cobra.Command

GetCmdSubmitProposal implements the command to submit a community-pool multi-spend proposal

func GetQueryCmd

func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command

GetQueryCmd returns the cli query commands for the kavadist module

Types

type CommunityPoolMultiSpendProposalJSON added in v0.14.2

type CommunityPoolMultiSpendProposalJSON struct {
	Title         string                     `json:"title" yaml:"title"`
	Description   string                     `json:"description" yaml:"description"`
	RecipientList types.MultiSpendRecipients `json:"recipient_list" yaml:"recipient_list"`
	Deposit       sdk.Coins                  `json:"deposit" yaml:"deposit"`
}

CommunityPoolMultiSpendProposalJSON defines a CommunityPoolMultiSpendProposal with a deposit

func ParseCommunityPoolMultiSpendProposalJSON added in v0.14.2

func ParseCommunityPoolMultiSpendProposalJSON(cdc *codec.Codec, proposalFile string) (CommunityPoolMultiSpendProposalJSON, error)

ParseCommunityPoolMultiSpendProposalJSON reads and parses a CommunityPoolMultiSpendProposalJSON from a file.

Jump to

Keyboard shortcuts

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