utils

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2021 License: Apache-2.0 Imports: 6 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 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