cli

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagDeposit     = "deposit"
	FlagTitle       = "title"
	FlagDescription = "description"

	FlagProposalID = "proposal-id"
	FlagOption     = "option"

	FlagActiveProposal = "active"
)

nolint

Variables

This section is empty.

Functions

func GetCmdQueryProposal

func GetCmdQueryProposal(storeName string, cdc *wire.Codec) *cobra.Command

GetCmdQueryProposal gets the command to get a single proposal

func GetCmdQueryProposalVote

func GetCmdQueryProposalVote(storeName string, cdc *wire.Codec) *cobra.Command

GetCmdQueryProposalVote gets the command to get a single vote from a proposal

func GetCmdQueryProposalVotes

func GetCmdQueryProposalVotes(storeName string, cdc *wire.Codec) *cobra.Command

GetCmdQueryProposalVotes gets the command to get all the votes from a proposal

func GetCmdQueryProposals

func GetCmdQueryProposals(storeName string, cdc *wire.Codec) *cobra.Command

GetCmdQueryProposals gets the command to get all proposals

func PostCmdPropose

func PostCmdPropose(cdc *wire.Codec) *cobra.Command

PostCmdPropose gets the command to create proposals

func PostCmdVote

func PostCmdVote(cdc *wire.Codec) *cobra.Command

PostCmdVote gets the command to vote on proposals

Types

This section is empty.

Jump to

Keyboard shortcuts

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