Skip to main content
Glama
tx.registry.js4.83 kB
import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool, MsgUpdateParams, MsgCommunityPoolSpend } from "./tx"; export const registry = [["/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", MsgSetWithdrawAddress], ["/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", MsgWithdrawDelegatorReward], ["/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", MsgWithdrawValidatorCommission], ["/cosmos.distribution.v1beta1.MsgFundCommunityPool", MsgFundCommunityPool], ["/cosmos.distribution.v1beta1.MsgUpdateParams", MsgUpdateParams], ["/cosmos.distribution.v1beta1.MsgCommunityPoolSpend", MsgCommunityPoolSpend]]; export const load = (protoRegistry) => { registry.forEach(([typeUrl, mod]) => { protoRegistry.register(typeUrl, mod); }); }; export const MessageComposer = { encoded: { setWithdrawAddress(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", value: MsgSetWithdrawAddress.encode(value).finish() }; }, withdrawDelegatorReward(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", value: MsgWithdrawDelegatorReward.encode(value).finish() }; }, withdrawValidatorCommission(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", value: MsgWithdrawValidatorCommission.encode(value).finish() }; }, fundCommunityPool(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", value: MsgFundCommunityPool.encode(value).finish() }; }, updateParams(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams", value: MsgUpdateParams.encode(value).finish() }; }, communityPoolSpend(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend", value: MsgCommunityPoolSpend.encode(value).finish() }; } }, withTypeUrl: { setWithdrawAddress(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", value }; }, withdrawDelegatorReward(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", value }; }, withdrawValidatorCommission(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", value }; }, fundCommunityPool(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", value }; }, updateParams(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams", value }; }, communityPoolSpend(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend", value }; } }, fromPartial: { setWithdrawAddress(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", value: MsgSetWithdrawAddress.fromPartial(value) }; }, withdrawDelegatorReward(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", value: MsgWithdrawDelegatorReward.fromPartial(value) }; }, withdrawValidatorCommission(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", value: MsgWithdrawValidatorCommission.fromPartial(value) }; }, fundCommunityPool(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", value: MsgFundCommunityPool.fromPartial(value) }; }, updateParams(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams", value: MsgUpdateParams.fromPartial(value) }; }, communityPoolSpend(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend", value: MsgCommunityPoolSpend.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