UNPKG

interchainjs

Version:

InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.

32 lines (31 loc) 924 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MessageComposer = exports.registry = void 0; const tx_1 = require("./tx"); exports.registry = [["/cosmos.mint.v1beta1.MsgUpdateParams", tx_1.MsgUpdateParams]]; exports.MessageComposer = { encoded: { updateParams(value) { return { typeUrl: "/cosmos.mint.v1beta1.MsgUpdateParams", value: tx_1.MsgUpdateParams.encode(value).finish() }; } }, withTypeUrl: { updateParams(value) { return { typeUrl: "/cosmos.mint.v1beta1.MsgUpdateParams", value }; } }, fromPartial: { updateParams(value) { return { typeUrl: "/cosmos.mint.v1beta1.MsgUpdateParams", value: tx_1.MsgUpdateParams.fromPartial(value) }; } } };