Skip to main content
Glama
tx.registry.js2.62 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MessageComposer = exports.load = exports.registry = void 0; const tx_1 = require("./tx"); exports.registry = [["/osmosis.smartaccount.v1beta1.MsgAddAuthenticator", tx_1.MsgAddAuthenticator], ["/osmosis.smartaccount.v1beta1.MsgRemoveAuthenticator", tx_1.MsgRemoveAuthenticator], ["/osmosis.smartaccount.v1beta1.MsgSetActiveState", tx_1.MsgSetActiveState]]; const load = (protoRegistry) => { exports.registry.forEach(([typeUrl, mod]) => { protoRegistry.register(typeUrl, mod); }); }; exports.load = load; exports.MessageComposer = { encoded: { addAuthenticator(value) { return { typeUrl: "/osmosis.smartaccount.v1beta1.MsgAddAuthenticator", value: tx_1.MsgAddAuthenticator.encode(value).finish() }; }, removeAuthenticator(value) { return { typeUrl: "/osmosis.smartaccount.v1beta1.MsgRemoveAuthenticator", value: tx_1.MsgRemoveAuthenticator.encode(value).finish() }; }, setActiveState(value) { return { typeUrl: "/osmosis.smartaccount.v1beta1.MsgSetActiveState", value: tx_1.MsgSetActiveState.encode(value).finish() }; } }, withTypeUrl: { addAuthenticator(value) { return { typeUrl: "/osmosis.smartaccount.v1beta1.MsgAddAuthenticator", value }; }, removeAuthenticator(value) { return { typeUrl: "/osmosis.smartaccount.v1beta1.MsgRemoveAuthenticator", value }; }, setActiveState(value) { return { typeUrl: "/osmosis.smartaccount.v1beta1.MsgSetActiveState", value }; } }, fromPartial: { addAuthenticator(value) { return { typeUrl: "/osmosis.smartaccount.v1beta1.MsgAddAuthenticator", value: tx_1.MsgAddAuthenticator.fromPartial(value) }; }, removeAuthenticator(value) { return { typeUrl: "/osmosis.smartaccount.v1beta1.MsgRemoveAuthenticator", value: tx_1.MsgRemoveAuthenticator.fromPartial(value) }; }, setActiveState(value) { return { typeUrl: "/osmosis.smartaccount.v1beta1.MsgSetActiveState", value: tx_1.MsgSetActiveState.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