Skip to main content
Glama
tx.registry.js2.48 kB
import { MsgAddAuthenticator, MsgRemoveAuthenticator, MsgSetActiveState } from "./tx"; export const registry = [["/osmosis.smartaccount.v1beta1.MsgAddAuthenticator", MsgAddAuthenticator], ["/osmosis.smartaccount.v1beta1.MsgRemoveAuthenticator", MsgRemoveAuthenticator], ["/osmosis.smartaccount.v1beta1.MsgSetActiveState", MsgSetActiveState]]; export const load = (protoRegistry) => { registry.forEach(([typeUrl, mod]) => { protoRegistry.register(typeUrl, mod); }); }; export const MessageComposer = { encoded: { addAuthenticator(value) { return { typeUrl: "/osmosis.smartaccount.v1beta1.MsgAddAuthenticator", value: MsgAddAuthenticator.encode(value).finish() }; }, removeAuthenticator(value) { return { typeUrl: "/osmosis.smartaccount.v1beta1.MsgRemoveAuthenticator", value: MsgRemoveAuthenticator.encode(value).finish() }; }, setActiveState(value) { return { typeUrl: "/osmosis.smartaccount.v1beta1.MsgSetActiveState", value: 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: MsgAddAuthenticator.fromPartial(value) }; }, removeAuthenticator(value) { return { typeUrl: "/osmosis.smartaccount.v1beta1.MsgRemoveAuthenticator", value: MsgRemoveAuthenticator.fromPartial(value) }; }, setActiveState(value) { return { typeUrl: "/osmosis.smartaccount.v1beta1.MsgSetActiveState", value: 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