import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { TxRpc } from "../../../types"; 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 { } /** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */ export interface MsgWithdrawDelegatorRewardResponseSDKType { } /** * 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 { } /** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */ export interface MsgWithdrawValidatorCommissionResponseSDKType { } /** * 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: { typeUrl: string; encode(message: MsgSetWithdrawAddress, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgSetWithdrawAddress; fromJSON(object: any): MsgSetWithdrawAddress; toJSON(message: MsgSetWithdrawAddress): unknown; fromPartial & { delegatorAddress?: string; withdrawAddress?: string; } & Record, never>>(object: I): MsgSetWithdrawAddress; }; export declare const MsgSetWithdrawAddressResponse: { typeUrl: string; encode(_: MsgSetWithdrawAddressResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse; fromJSON(_: any): MsgSetWithdrawAddressResponse; toJSON(_: MsgSetWithdrawAddressResponse): unknown; fromPartial & {} & Record, never>>(_: I): MsgSetWithdrawAddressResponse; }; export declare const MsgWithdrawDelegatorReward: { typeUrl: string; encode(message: MsgWithdrawDelegatorReward, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawDelegatorReward; fromJSON(object: any): MsgWithdrawDelegatorReward; toJSON(message: MsgWithdrawDelegatorReward): unknown; fromPartial & { delegatorAddress?: string; validatorAddress?: string; } & Record, never>>(object: I): MsgWithdrawDelegatorReward; }; export declare const MsgWithdrawDelegatorRewardResponse: { typeUrl: string; encode(_: MsgWithdrawDelegatorRewardResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse; fromJSON(_: any): MsgWithdrawDelegatorRewardResponse; toJSON(_: MsgWithdrawDelegatorRewardResponse): unknown; fromPartial & {} & Record, never>>(_: I): MsgWithdrawDelegatorRewardResponse; }; export declare const MsgWithdrawValidatorCommission: { typeUrl: string; encode(message: MsgWithdrawValidatorCommission, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawValidatorCommission; fromJSON(object: any): MsgWithdrawValidatorCommission; toJSON(message: MsgWithdrawValidatorCommission): unknown; fromPartial & { validatorAddress?: string; } & Record, never>>(object: I): MsgWithdrawValidatorCommission; }; export declare const MsgWithdrawValidatorCommissionResponse: { typeUrl: string; encode(_: MsgWithdrawValidatorCommissionResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse; fromJSON(_: any): MsgWithdrawValidatorCommissionResponse; toJSON(_: MsgWithdrawValidatorCommissionResponse): unknown; fromPartial & {} & Record, never>>(_: I): MsgWithdrawValidatorCommissionResponse; }; export declare const MsgFundCommunityPool: { typeUrl: string; encode(message: MsgFundCommunityPool, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgFundCommunityPool; fromJSON(object: any): MsgFundCommunityPool; toJSON(message: MsgFundCommunityPool): unknown; fromPartial & { amount?: Coin[] & (Coin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; depositor?: string; } & Record, never>>(object: I): MsgFundCommunityPool; }; export declare const MsgFundCommunityPoolResponse: { typeUrl: string; encode(_: MsgFundCommunityPoolResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgFundCommunityPoolResponse; fromJSON(_: any): MsgFundCommunityPoolResponse; toJSON(_: MsgFundCommunityPoolResponse): unknown; fromPartial & {} & Record, never>>(_: I): MsgFundCommunityPoolResponse; }; /** 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: TxRpc); SetWithdrawAddress(request: MsgSetWithdrawAddress): Promise; WithdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise; WithdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise; FundCommunityPool(request: MsgFundCommunityPool): Promise; }