import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; import { Rpc } from "../../../helpers"; export declare const protobufPackage = "cosmos.distribution.v1beta1"; /** * MsgSetWithdrawAddress sets the withdraw address for * a delegator (or validator self-delegation). */ export interface MsgSetWithdrawAddress { delegatorAddress: string; withdrawAddress: string; } /** * MsgSetWithdrawAddress sets the withdraw address for * a delegator (or validator self-delegation). */ export interface MsgSetWithdrawAddressSDKType { delegator_address: string; withdraw_address: string; } /** MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. */ export interface MsgSetWithdrawAddressResponse { } /** MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. */ export interface MsgSetWithdrawAddressResponseSDKType { } /** * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator * from a single validator. */ export interface MsgWithdrawDelegatorReward { delegatorAddress: string; validatorAddress: string; } /** * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator * from a single validator. */ export interface MsgWithdrawDelegatorRewardSDKType { delegator_address: string; validator_address: string; } /** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */ export interface MsgWithdrawDelegatorRewardResponse { /** Since: cosmos-sdk 0.46 */ amount: Coin[]; } /** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */ export interface MsgWithdrawDelegatorRewardResponseSDKType { amount: CoinSDKType[]; } /** * MsgWithdrawValidatorCommission withdraws the full commission to the validator * address. */ export interface MsgWithdrawValidatorCommission { validatorAddress: string; } /** * MsgWithdrawValidatorCommission withdraws the full commission to the validator * address. */ export interface MsgWithdrawValidatorCommissionSDKType { validator_address: string; } /** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */ export interface MsgWithdrawValidatorCommissionResponse { /** Since: cosmos-sdk 0.46 */ amount: Coin[]; } /** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */ export interface MsgWithdrawValidatorCommissionResponseSDKType { amount: CoinSDKType[]; } /** * MsgFundCommunityPool allows an account to directly * fund the community pool. */ export interface MsgFundCommunityPool { amount: Coin[]; depositor: string; } /** * MsgFundCommunityPool allows an account to directly * fund the community pool. */ export interface MsgFundCommunityPoolSDKType { amount: CoinSDKType[]; depositor: string; } /** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ export interface MsgFundCommunityPoolResponse { } /** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ export interface MsgFundCommunityPoolResponseSDKType { } export declare const MsgSetWithdrawAddress: { encode(message: MsgSetWithdrawAddress, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddress; fromJSON(object: any): MsgSetWithdrawAddress; toJSON(message: MsgSetWithdrawAddress): unknown; fromPartial, never>>(object: I): MsgSetWithdrawAddress; fromSDK(object: MsgSetWithdrawAddressSDKType): MsgSetWithdrawAddress; toSDK(message: MsgSetWithdrawAddress): MsgSetWithdrawAddressSDKType; }; export declare const MsgSetWithdrawAddressResponse: { encode(_: MsgSetWithdrawAddressResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse; fromJSON(_: any): MsgSetWithdrawAddressResponse; toJSON(_: MsgSetWithdrawAddressResponse): unknown; fromPartial, never>>(_: I): MsgSetWithdrawAddressResponse; fromSDK(_: MsgSetWithdrawAddressResponseSDKType): MsgSetWithdrawAddressResponse; toSDK(_: MsgSetWithdrawAddressResponse): MsgSetWithdrawAddressResponseSDKType; }; export declare const MsgWithdrawDelegatorReward: { encode(message: MsgWithdrawDelegatorReward, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorReward; fromJSON(object: any): MsgWithdrawDelegatorReward; toJSON(message: MsgWithdrawDelegatorReward): unknown; fromPartial, never>>(object: I): MsgWithdrawDelegatorReward; fromSDK(object: MsgWithdrawDelegatorRewardSDKType): MsgWithdrawDelegatorReward; toSDK(message: MsgWithdrawDelegatorReward): MsgWithdrawDelegatorRewardSDKType; }; export declare const MsgWithdrawDelegatorRewardResponse: { encode(message: MsgWithdrawDelegatorRewardResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse; fromJSON(object: any): MsgWithdrawDelegatorRewardResponse; toJSON(message: MsgWithdrawDelegatorRewardResponse): unknown; fromPartial, never>)[] & Record, never>) | undefined; } & Record, never>>(object: I): MsgWithdrawDelegatorRewardResponse; fromSDK(object: MsgWithdrawDelegatorRewardResponseSDKType): MsgWithdrawDelegatorRewardResponse; toSDK(message: MsgWithdrawDelegatorRewardResponse): MsgWithdrawDelegatorRewardResponseSDKType; }; export declare const MsgWithdrawValidatorCommission: { encode(message: MsgWithdrawValidatorCommission, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommission; fromJSON(object: any): MsgWithdrawValidatorCommission; toJSON(message: MsgWithdrawValidatorCommission): unknown; fromPartial, never>>(object: I): MsgWithdrawValidatorCommission; fromSDK(object: MsgWithdrawValidatorCommissionSDKType): MsgWithdrawValidatorCommission; toSDK(message: MsgWithdrawValidatorCommission): MsgWithdrawValidatorCommissionSDKType; }; export declare const MsgWithdrawValidatorCommissionResponse: { encode(message: MsgWithdrawValidatorCommissionResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse; fromJSON(object: any): MsgWithdrawValidatorCommissionResponse; toJSON(message: MsgWithdrawValidatorCommissionResponse): unknown; fromPartial, never>)[] & Record, never>) | undefined; } & Record, never>>(object: I): MsgWithdrawValidatorCommissionResponse; fromSDK(object: MsgWithdrawValidatorCommissionResponseSDKType): MsgWithdrawValidatorCommissionResponse; toSDK(message: MsgWithdrawValidatorCommissionResponse): MsgWithdrawValidatorCommissionResponseSDKType; }; export declare const MsgFundCommunityPool: { encode(message: MsgFundCommunityPool, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPool; fromJSON(object: any): MsgFundCommunityPool; toJSON(message: MsgFundCommunityPool): unknown; fromPartial, never>)[] & Record, never>) | undefined; depositor?: string | undefined; } & Record, never>>(object: I): MsgFundCommunityPool; fromSDK(object: MsgFundCommunityPoolSDKType): MsgFundCommunityPool; toSDK(message: MsgFundCommunityPool): MsgFundCommunityPoolSDKType; }; export declare const MsgFundCommunityPoolResponse: { encode(_: MsgFundCommunityPoolResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponse; fromJSON(_: any): MsgFundCommunityPoolResponse; toJSON(_: MsgFundCommunityPoolResponse): unknown; fromPartial, never>>(_: I): MsgFundCommunityPoolResponse; fromSDK(_: MsgFundCommunityPoolResponseSDKType): MsgFundCommunityPoolResponse; toSDK(_: MsgFundCommunityPoolResponse): MsgFundCommunityPoolResponseSDKType; }; /** 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; } 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; }