Skip to main content
Glama
tx.registry.js2.47 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MessageComposer = exports.load = exports.registry = void 0; const tx_1 = require("./tx"); exports.registry = [["/ibc.lightclients.wasm.v1.MsgStoreCode", tx_1.MsgStoreCode], ["/ibc.lightclients.wasm.v1.MsgRemoveChecksum", tx_1.MsgRemoveChecksum], ["/ibc.lightclients.wasm.v1.MsgMigrateContract", tx_1.MsgMigrateContract]]; const load = (protoRegistry) => { exports.registry.forEach(([typeUrl, mod]) => { protoRegistry.register(typeUrl, mod); }); }; exports.load = load; exports.MessageComposer = { encoded: { storeCode(value) { return { typeUrl: "/ibc.lightclients.wasm.v1.MsgStoreCode", value: tx_1.MsgStoreCode.encode(value).finish() }; }, removeChecksum(value) { return { typeUrl: "/ibc.lightclients.wasm.v1.MsgRemoveChecksum", value: tx_1.MsgRemoveChecksum.encode(value).finish() }; }, migrateContract(value) { return { typeUrl: "/ibc.lightclients.wasm.v1.MsgMigrateContract", value: tx_1.MsgMigrateContract.encode(value).finish() }; } }, withTypeUrl: { storeCode(value) { return { typeUrl: "/ibc.lightclients.wasm.v1.MsgStoreCode", value }; }, removeChecksum(value) { return { typeUrl: "/ibc.lightclients.wasm.v1.MsgRemoveChecksum", value }; }, migrateContract(value) { return { typeUrl: "/ibc.lightclients.wasm.v1.MsgMigrateContract", value }; } }, fromPartial: { storeCode(value) { return { typeUrl: "/ibc.lightclients.wasm.v1.MsgStoreCode", value: tx_1.MsgStoreCode.fromPartial(value) }; }, removeChecksum(value) { return { typeUrl: "/ibc.lightclients.wasm.v1.MsgRemoveChecksum", value: tx_1.MsgRemoveChecksum.fromPartial(value) }; }, migrateContract(value) { return { typeUrl: "/ibc.lightclients.wasm.v1.MsgMigrateContract", value: tx_1.MsgMigrateContract.fromPartial(value) }; } } };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MyronKoch-dev/osmosis-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server