UNPKG

@provenanceio/wallet-utils

Version:

Typescript Utilities for Provenance Blockchain Wallet

21 lines (18 loc) 619 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.cancelSoftwareUpgradeProposal = void 0; /** * Formats CancelSoftwareUpgradeProposal messages for display * @param message of type CancelSoftwareUpgradeProposal * @returns object with CancelSoftwareUpgradeProposal fields */ var cancelSoftwareUpgradeProposal = function cancelSoftwareUpgradeProposal(message) { return { proposalType: 'Cancel Software Upgrade Proposal', title: message.getTitle(), description: message.getDescription() }; }; exports.cancelSoftwareUpgradeProposal = cancelSoftwareUpgradeProposal;