utils

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 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 client.Context, 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