Skip to main content
Glama
tx.registry.js4.93 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MessageComposer = exports.load = exports.registry = void 0; const tx_1 = require("./tx"); exports.registry = [["/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", tx_1.MsgSetWithdrawAddress], ["/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", tx_1.MsgWithdrawDelegatorReward], ["/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", tx_1.MsgWithdrawValidatorCommission], ["/cosmos.distribution.v1beta1.MsgFundCommunityPool", tx_1.MsgFundCommunityPool], ["/cosmos.distribution.v1beta1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/cosmos.distribution.v1beta1.MsgCommunityPoolSpend", tx_1.MsgCommunityPoolSpend]]; const load = (protoRegistry) => { exports.registry.forEach(([typeUrl, mod]) => { protoRegistry.register(typeUrl, mod); }); }; exports.load = load; exports.MessageComposer = { encoded: { setWithdrawAddress(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", value: tx_1.MsgSetWithdrawAddress.encode(value).finish() }; }, withdrawDelegatorReward(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", value: tx_1.MsgWithdrawDelegatorReward.encode(value).finish() }; }, withdrawValidatorCommission(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", value: tx_1.MsgWithdrawValidatorCommission.encode(value).finish() }; }, fundCommunityPool(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", value: tx_1.MsgFundCommunityPool.encode(value).finish() }; }, updateParams(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams", value: tx_1.MsgUpdateParams.encode(value).finish() }; }, communityPoolSpend(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend", value: tx_1.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: tx_1.MsgSetWithdrawAddress.fromPartial(value) }; }, withdrawDelegatorReward(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", value: tx_1.MsgWithdrawDelegatorReward.fromPartial(value) }; }, withdrawValidatorCommission(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", value: tx_1.MsgWithdrawValidatorCommission.fromPartial(value) }; }, fundCommunityPool(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", value: tx_1.MsgFundCommunityPool.fromPartial(value) }; }, updateParams(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams", value: tx_1.MsgUpdateParams.fromPartial(value) }; }, communityPoolSpend(value) { return { typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend", value: tx_1.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