@provenanceio/wallet-utils
Version:
Typescript Utilities for Provenance Blockchain Wallet
17 lines (16 loc) • 492 B
TypeScript
import { MsgVoteWeighted } from '../../../../proto/cosmos/gov/v1/tx_pb';
import { ReadableMessageNames } from 'types';
/**
* Formats MsgVoteWeighted messages for display
* @param message of type MsgVoteWeighted
* @returns object with MsgVoteWeighted fields
*/
export declare const msgVoteWeighted: (message: MsgVoteWeighted) => {
typeName: ReadableMessageNames;
proposalId: number;
voter: string;
optionsList: {
option: string;
weight: string;
}[];
};