import { Rpc } from "../../../helpers"; import { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgFundCommunityPool, MsgFundCommunityPoolResponse, MsgUpdateParams, MsgUpdateParamsResponse, MsgCommunityPoolSpend, MsgCommunityPoolSpendResponse, MsgDepositValidatorRewardsPool, MsgDepositValidatorRewardsPoolResponse } from "./tx"; /** Msg defines the distribution Msg service. */ export 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. */ fundCommunityPool(request: MsgFundCommunityPool): Promise; /** * UpdateParams defines a governance operation for updating the x/distribution * module parameters. The authority is defined in the keeper. * * Since: cosmos-sdk 0.47 */ 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. * * Since: cosmos-sdk 0.47 */ communityPoolSpend(request: MsgCommunityPoolSpend): Promise; /** * DepositValidatorRewardsPool defines a method to provide additional rewards * to delegators to a specific validator. * * Since: cosmos-sdk 0.50 */ depositValidatorRewardsPool(request: MsgDepositValidatorRewardsPool): Promise; } export declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: Rpc); 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; }