UNPKG

@provenanceio/wallet-utils

Version:

Typescript Utilities for Provenance Blockchain Wallet

14 lines (13 loc) 403 B
import { MsgVote } from '../../../../proto/cosmos/gov/v1/tx_pb'; import { ReadableMessageNames } from 'types'; /** * Formats MsgVote (gov) messages for display * @param message of type MsgVote (gov) * @returns object with MsgVote fields */ export declare const msgGovVote: (message: MsgVote) => { typeName: ReadableMessageNames; proposalId: number; voter: string; option: string; };