@provenanceio/wallet-utils
Version:
Typescript Utilities for Provenance Blockchain Wallet
20 lines (19 loc) • 646 B
TypeScript
import { ReadableMessageNames } from 'types';
import { StoreCodeProposal } from '../../../../proto/cosmwasm/wasm/v1/proposal_pb';
/**
* Formats StoreCodeProposal messages for display
* @param message of type StoreCodeProposal
* @returns object with StoreCodeProposal fields
*/
export declare const storeCodeProposal: (message: StoreCodeProposal) => {
instantiatePermission?: {
permissionList?: void[] | undefined;
address: string | undefined;
permission: string;
} | undefined;
proposalType: ReadableMessageNames;
title: string;
description: string;
runAs: string;
wasmByteCode: string;
};