@provenanceio/wallet-utils
Version:
Typescript Utilities for Provenance Blockchain Wallet
18 lines (17 loc) • 579 B
TypeScript
import { ReadableMessageNames } from 'types';
import { ParameterChangeProposal } from '../../../../proto/cosmos/params/v1beta1/params_pb';
/**
* Formats ParameterChangeProposal messages for display
* @param message of type ParameterChangeProposal
* @returns object with ParameterChangeProposal fields
*/
export declare const parameterChangeProposal: (message: ParameterChangeProposal) => {
proposalType: ReadableMessageNames;
title: string;
description: string;
changesList: {
subspace: string;
key: string;
value: string;
}[];
};