UNPKG

interchainjs

Version:

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

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