Skip to main content
Glama
tx.registry.js2.17 kB
import { MsgCreateGauge, MsgAddToGauge, MsgCreateGroup } from "./tx"; export const registry = [["/osmosis.incentives.MsgCreateGauge", MsgCreateGauge], ["/osmosis.incentives.MsgAddToGauge", MsgAddToGauge], ["/osmosis.incentives.MsgCreateGroup", MsgCreateGroup]]; export const load = (protoRegistry) => { registry.forEach(([typeUrl, mod]) => { protoRegistry.register(typeUrl, mod); }); }; export const MessageComposer = { encoded: { createGauge(value) { return { typeUrl: "/osmosis.incentives.MsgCreateGauge", value: MsgCreateGauge.encode(value).finish() }; }, addToGauge(value) { return { typeUrl: "/osmosis.incentives.MsgAddToGauge", value: MsgAddToGauge.encode(value).finish() }; }, createGroup(value) { return { typeUrl: "/osmosis.incentives.MsgCreateGroup", value: MsgCreateGroup.encode(value).finish() }; } }, withTypeUrl: { createGauge(value) { return { typeUrl: "/osmosis.incentives.MsgCreateGauge", value }; }, addToGauge(value) { return { typeUrl: "/osmosis.incentives.MsgAddToGauge", value }; }, createGroup(value) { return { typeUrl: "/osmosis.incentives.MsgCreateGroup", value }; } }, fromPartial: { createGauge(value) { return { typeUrl: "/osmosis.incentives.MsgCreateGauge", value: MsgCreateGauge.fromPartial(value) }; }, addToGauge(value) { return { typeUrl: "/osmosis.incentives.MsgAddToGauge", value: MsgAddToGauge.fromPartial(value) }; }, createGroup(value) { return { typeUrl: "/osmosis.incentives.MsgCreateGroup", value: MsgCreateGroup.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