utils

package
v0.0.0-...-f2ae4c7 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package utils defines the utils for client services for the gov module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizeProposalStatus

func NormalizeProposalStatus(status string) string

NormalizeProposalStatus normalizes user specified proposal status.

func NormalizeProposalType

func NormalizeProposalType(proposalType string) string

NormalizeProposalType normalizes user specified proposal type.

func NormalizeVoteOption

func NormalizeVoteOption(option string) string

NormalizeVoteOption normalizes user specified vote option

func QueryProposerByTxQuery

func QueryProposerByTxQuery(cliCtx context.CLIContext, proposalID uint64, queryRoute string) (utils.Proposer, error)

QueryProposerByTxQuery will query for a proposer of a governance proposal by ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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