@provenanceio/wallet-utils
Version:
Typescript Utilities for Provenance Blockchain Wallet
18 lines (17 loc) • 606 B
TypeScript
import { SoftwareUpgradeProposal } from '../../../../proto/cosmos/upgrade/v1beta1/upgrade_pb';
import { ReadableMessageNames } from 'types';
/**
* Formats SoftwareUpgradeProposal messages for display
* @param message of type SoftwareUpgradeProposal
* @returns object with SoftwareUpgradeProposal fields
*/
export declare const softwareUpgradeProposal: (message: SoftwareUpgradeProposal) => {
proposalType: ReadableMessageNames;
title: string;
description: string;
plan: {
name: string | undefined;
height: number | undefined;
info: string | undefined;
};
};