Documentation ¶
Index ¶
- Constants
- func DefaultQueryPostsRequest(page, limit uint64) types.QueryPostsRequest
- func GetCmdAddPostReaction() *cobra.Command
- func GetCmdAnswerPoll() *cobra.Command
- func GetCmdCreatePost() *cobra.Command
- func GetCmdEditPost() *cobra.Command
- func GetCmdQueryParams() *cobra.Command
- func GetCmdQueryPollAnswers() *cobra.Command
- func GetCmdQueryPost() *cobra.Command
- func GetCmdQueryPosts() *cobra.Command
- func GetCmdQueryRegisteredReactions() *cobra.Command
- func GetCmdRegisterReaction() *cobra.Command
- func GetCmdRemovePostReaction() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func NewTxCmd() *cobra.Command
Constants ¶
const ( FlagParentID = "parent-id" FlagAttachment = "attachment" FlagPollDetails = "poll-details" FlagPollAnswer = "poll-answer" FlagCreationTime = "creation-time" FlagAllowsComments = "allows-comments" FlagSubspace = "subspace" FlagHashtag = "hashtag" FlagCreator = "creator" )
Posts flags
Variables ¶
This section is empty.
Functions ¶
func DefaultQueryPostsRequest ¶ added in v0.15.0
func DefaultQueryPostsRequest(page, limit uint64) types.QueryPostsRequest
func GetCmdAddPostReaction ¶ added in v0.3.0
GetCmdAddPostReaction returns the CLI command to add a reaction to a post
func GetCmdAnswerPoll ¶ added in v0.3.0
GetCmdAnswerPoll returns the CLI command to answer a poll
func GetCmdCreatePost ¶
GetCmdCreatePost returns the CLI command to create a post
func GetCmdEditPost ¶
GetCmdEditPost returns the CLI command to edit a post
func GetCmdQueryParams ¶ added in v0.15.0
GetCmdQueryParams returns the command allowing to query the module params
func GetCmdQueryPollAnswers ¶ added in v0.15.0
GetCmdQueryPollAnswers returns the command allowing to query the answers of a poll
func GetCmdQueryPost ¶ added in v0.2.0
GetCmdQueryPost returns the command allowing to query a post
func GetCmdQueryPosts ¶ added in v0.2.0
GetCmdQueryPosts returns the command allowing to query a list of posts
func GetCmdQueryRegisteredReactions ¶ added in v0.4.0
GetCmdQueryRegisteredReactions returns the command allowing to query the registered reactions
func GetCmdRegisterReaction ¶ added in v0.4.0
GetCmdRegisterReaction returns the CLI command to register a new reaction
func GetCmdRemovePostReaction ¶ added in v0.3.0
GetCmdRemovePostReaction returns the CLI command to remove a reaction from a post
func GetQueryCmd ¶
GetQueryCmd returns the command allowing to perform queries
Types ¶
This section is empty.