import { TxRpc } from "../../../types.js"; import { MsgCommunityPoolSpend, MsgCommunityPoolSpendResponse, MsgDepositValidatorRewardsPool, MsgDepositValidatorRewardsPoolResponse, MsgFundCommunityPool, MsgFundCommunityPoolResponse, MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgUpdateParams, MsgUpdateParamsResponse, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse } from "./tx.js"; //#region src/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts /** Msg defines the distribution Msg service. */ interface Msg { /** * SetWithdrawAddress defines a method to change the withdraw address * for a delegator (or validator self-delegation). */ setWithdrawAddress(request: MsgSetWithdrawAddress): Promise; /** * WithdrawDelegatorReward defines a method to withdraw rewards of delegator * from a single validator. */ withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise; /** * WithdrawValidatorCommission defines a method to withdraw the * full commission to the validator address. */ withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise; /** * FundCommunityPool defines a method to allow an account to directly * fund the community pool. * * WARNING: This method will fail if an external community pool is used. */ fundCommunityPool(request: MsgFundCommunityPool): Promise; /** * UpdateParams defines a governance operation for updating the x/distribution * module parameters. The authority is defined in the keeper. */ updateParams(request: MsgUpdateParams): Promise; /** * CommunityPoolSpend defines a governance operation for sending tokens from * the community pool in the x/distribution module to another account, which * could be the governance module itself. The authority is defined in the * keeper. * * WARNING: This method will fail if an external community pool is used. */ communityPoolSpend(request: MsgCommunityPoolSpend): Promise; /** * DepositValidatorRewardsPool defines a method to provide additional rewards * to delegators to a specific validator. */ depositValidatorRewardsPool(request: MsgDepositValidatorRewardsPool): Promise; } declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: TxRpc); setWithdrawAddress: (request: MsgSetWithdrawAddress) => Promise; withdrawDelegatorReward: (request: MsgWithdrawDelegatorReward) => Promise; withdrawValidatorCommission: (request: MsgWithdrawValidatorCommission) => Promise; fundCommunityPool: (request: MsgFundCommunityPool) => Promise; updateParams: (request: MsgUpdateParams) => Promise; communityPoolSpend: (request: MsgCommunityPoolSpend) => Promise; depositValidatorRewardsPool: (request: MsgDepositValidatorRewardsPool) => Promise; } declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; //#endregion export { Msg, MsgClientImpl, createClientImpl };