Documentation ¶
Index ¶
- Constants
- Variables
- func GetCmdDeposit(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryDeposit(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryDeposits(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryParam(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryParams(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryProposal(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryProposals(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryProposer(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryTally(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryVote(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryVotes(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdSubmitProposal(cdc *codec.Codec) *cobra.Command
- func GetCmdVote(cdc *codec.Codec) *cobra.Command
Constants ¶
const ( FlagTitle = "title" FlagDescription = "description" FlagDeposit = "deposit" FlagProposal = "proposal" )
Proposal flags
Variables ¶
var ProposalFlags = []string{ FlagTitle, FlagDescription, flagProposalType, FlagDeposit, }
ProposalFlags defines the core required fields of a proposal. It is used to verify that these values are not provided in conjunction with a JSON proposal file.
Functions ¶
func GetCmdDeposit ¶
GetCmdDeposit implements depositing tokens for an active proposal.
func GetCmdQueryDeposit ¶
Command to Get a specific Deposit Information GetCmdQueryDeposit implements the query proposal deposit command.
func GetCmdQueryDeposits ¶
GetCmdQueryDeposits implements the command to query for proposal deposits.
func GetCmdQueryParam ¶
GetCmdQueryProposal implements the query proposal command.
func GetCmdQueryParams ¶
GetCmdQueryProposal implements the query proposal command.
func GetCmdQueryProposal ¶
GetCmdQueryProposal implements the query proposal command.
func GetCmdQueryProposals ¶
GetCmdQueryProposals implements a query proposals command.
func GetCmdQueryProposer ¶
GetCmdQueryProposer implements the query proposer command.
func GetCmdQueryTally ¶
GetCmdQueryTally implements the command to query for proposal tally result.
func GetCmdQueryVote ¶
Command to Get a Proposal Information GetCmdQueryVote implements the query proposal vote command.
func GetCmdQueryVotes ¶
GetCmdQueryVotes implements the command to query for proposal votes.
func GetCmdSubmitProposal ¶
GetCmdSubmitProposal implements submitting a proposal transaction command.
Types ¶
This section is empty.