import { Coin, CoinAmino } 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; } export interface MsgSetWithdrawAddressProtoMsg { typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress"; value: Uint8Array; } /** * MsgSetWithdrawAddress sets the withdraw address for * a delegator (or validator self-delegation). */ export interface MsgSetWithdrawAddressAmino { delegator_address?: string; withdraw_address?: string; } export interface MsgSetWithdrawAddressAminoMsg { type: "cosmos-sdk/MsgModifyWithdrawAddress"; value: MsgSetWithdrawAddressAmino; } /** MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. */ export interface MsgSetWithdrawAddressResponse { } export interface MsgSetWithdrawAddressResponseProtoMsg { typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse"; value: Uint8Array; } /** MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. */ export interface MsgSetWithdrawAddressResponseAmino { } export interface MsgSetWithdrawAddressResponseAminoMsg { type: "cosmos-sdk/MsgSetWithdrawAddressResponse"; value: MsgSetWithdrawAddressResponseAmino; } /** * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator * from a single validator. */ export interface MsgWithdrawDelegatorReward { delegatorAddress: string; validatorAddress: string; } export interface MsgWithdrawDelegatorRewardProtoMsg { typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward"; value: Uint8Array; } /** * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator * from a single validator. */ export interface MsgWithdrawDelegatorRewardAmino { delegator_address?: string; validator_address?: string; } export interface MsgWithdrawDelegatorRewardAminoMsg { type: "cosmos-sdk/MsgWithdrawDelegationReward"; value: MsgWithdrawDelegatorRewardAmino; } /** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */ export interface MsgWithdrawDelegatorRewardResponse { } export interface MsgWithdrawDelegatorRewardResponseProtoMsg { typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse"; value: Uint8Array; } /** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */ export interface MsgWithdrawDelegatorRewardResponseAmino { } export interface MsgWithdrawDelegatorRewardResponseAminoMsg { type: "cosmos-sdk/MsgWithdrawDelegatorRewardResponse"; value: MsgWithdrawDelegatorRewardResponseAmino; } /** * MsgWithdrawValidatorCommission withdraws the full commission to the validator * address. */ export interface MsgWithdrawValidatorCommission { validatorAddress: string; } export interface MsgWithdrawValidatorCommissionProtoMsg { typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission"; value: Uint8Array; } /** * MsgWithdrawValidatorCommission withdraws the full commission to the validator * address. */ export interface MsgWithdrawValidatorCommissionAmino { validator_address?: string; } export interface MsgWithdrawValidatorCommissionAminoMsg { type: "cosmos-sdk/MsgWithdrawValidatorCommission"; value: MsgWithdrawValidatorCommissionAmino; } /** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */ export interface MsgWithdrawValidatorCommissionResponse { } export interface MsgWithdrawValidatorCommissionResponseProtoMsg { typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse"; value: Uint8Array; } /** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */ export interface MsgWithdrawValidatorCommissionResponseAmino { } export interface MsgWithdrawValidatorCommissionResponseAminoMsg { type: "cosmos-sdk/MsgWithdrawValidatorCommissionResponse"; value: MsgWithdrawValidatorCommissionResponseAmino; } /** * MsgFundCommunityPool allows an account to directly * fund the community pool. */ export interface MsgFundCommunityPool { amount: Coin[]; depositor: string; } export interface MsgFundCommunityPoolProtoMsg { typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool"; value: Uint8Array; } /** * MsgFundCommunityPool allows an account to directly * fund the community pool. */ export interface MsgFundCommunityPoolAmino { amount?: CoinAmino[]; depositor?: string; } export interface MsgFundCommunityPoolAminoMsg { type: "cosmos-sdk/MsgFundCommunityPool"; value: MsgFundCommunityPoolAmino; } /** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ export interface MsgFundCommunityPoolResponse { } export interface MsgFundCommunityPoolResponseProtoMsg { typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse"; value: Uint8Array; } /** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ export interface MsgFundCommunityPoolResponseAmino { } export interface MsgFundCommunityPoolResponseAminoMsg { type: "cosmos-sdk/MsgFundCommunityPoolResponse"; value: MsgFundCommunityPoolResponseAmino; } export declare const MsgSetWithdrawAddress: { typeUrl: string; aminoType: string; is(o: any): o is MsgSetWithdrawAddress; isAmino(o: any): o is MsgSetWithdrawAddressAmino; encode(message: MsgSetWithdrawAddress, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgSetWithdrawAddress; fromJSON(object: any): MsgSetWithdrawAddress; toJSON(message: MsgSetWithdrawAddress): unknown; fromPartial(object: Partial): MsgSetWithdrawAddress; fromAmino(object: MsgSetWithdrawAddressAmino): MsgSetWithdrawAddress; toAmino(message: MsgSetWithdrawAddress): MsgSetWithdrawAddressAmino; fromAminoMsg(object: MsgSetWithdrawAddressAminoMsg): MsgSetWithdrawAddress; toAminoMsg(message: MsgSetWithdrawAddress): MsgSetWithdrawAddressAminoMsg; fromProtoMsg(message: MsgSetWithdrawAddressProtoMsg): MsgSetWithdrawAddress; toProto(message: MsgSetWithdrawAddress): Uint8Array; toProtoMsg(message: MsgSetWithdrawAddress): MsgSetWithdrawAddressProtoMsg; }; export declare const MsgSetWithdrawAddressResponse: { typeUrl: string; aminoType: string; is(o: any): o is MsgSetWithdrawAddressResponse; isAmino(o: any): o is MsgSetWithdrawAddressResponseAmino; encode(_: MsgSetWithdrawAddressResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse; fromJSON(_: any): MsgSetWithdrawAddressResponse; toJSON(_: MsgSetWithdrawAddressResponse): unknown; fromPartial(_: Partial): MsgSetWithdrawAddressResponse; fromAmino(_: MsgSetWithdrawAddressResponseAmino): MsgSetWithdrawAddressResponse; toAmino(_: MsgSetWithdrawAddressResponse): MsgSetWithdrawAddressResponseAmino; fromAminoMsg(object: MsgSetWithdrawAddressResponseAminoMsg): MsgSetWithdrawAddressResponse; toAminoMsg(message: MsgSetWithdrawAddressResponse): MsgSetWithdrawAddressResponseAminoMsg; fromProtoMsg(message: MsgSetWithdrawAddressResponseProtoMsg): MsgSetWithdrawAddressResponse; toProto(message: MsgSetWithdrawAddressResponse): Uint8Array; toProtoMsg(message: MsgSetWithdrawAddressResponse): MsgSetWithdrawAddressResponseProtoMsg; }; export declare const MsgWithdrawDelegatorReward: { typeUrl: string; aminoType: string; is(o: any): o is MsgWithdrawDelegatorReward; isAmino(o: any): o is MsgWithdrawDelegatorRewardAmino; encode(message: MsgWithdrawDelegatorReward, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawDelegatorReward; fromJSON(object: any): MsgWithdrawDelegatorReward; toJSON(message: MsgWithdrawDelegatorReward): unknown; fromPartial(object: Partial): MsgWithdrawDelegatorReward; fromAmino(object: MsgWithdrawDelegatorRewardAmino): MsgWithdrawDelegatorReward; toAmino(message: MsgWithdrawDelegatorReward): MsgWithdrawDelegatorRewardAmino; fromAminoMsg(object: MsgWithdrawDelegatorRewardAminoMsg): MsgWithdrawDelegatorReward; toAminoMsg(message: MsgWithdrawDelegatorReward): MsgWithdrawDelegatorRewardAminoMsg; fromProtoMsg(message: MsgWithdrawDelegatorRewardProtoMsg): MsgWithdrawDelegatorReward; toProto(message: MsgWithdrawDelegatorReward): Uint8Array; toProtoMsg(message: MsgWithdrawDelegatorReward): MsgWithdrawDelegatorRewardProtoMsg; }; export declare const MsgWithdrawDelegatorRewardResponse: { typeUrl: string; aminoType: string; is(o: any): o is MsgWithdrawDelegatorRewardResponse; isAmino(o: any): o is MsgWithdrawDelegatorRewardResponseAmino; encode(_: MsgWithdrawDelegatorRewardResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse; fromJSON(_: any): MsgWithdrawDelegatorRewardResponse; toJSON(_: MsgWithdrawDelegatorRewardResponse): unknown; fromPartial(_: Partial): MsgWithdrawDelegatorRewardResponse; fromAmino(_: MsgWithdrawDelegatorRewardResponseAmino): MsgWithdrawDelegatorRewardResponse; toAmino(_: MsgWithdrawDelegatorRewardResponse): MsgWithdrawDelegatorRewardResponseAmino; fromAminoMsg(object: MsgWithdrawDelegatorRewardResponseAminoMsg): MsgWithdrawDelegatorRewardResponse; toAminoMsg(message: MsgWithdrawDelegatorRewardResponse): MsgWithdrawDelegatorRewardResponseAminoMsg; fromProtoMsg(message: MsgWithdrawDelegatorRewardResponseProtoMsg): MsgWithdrawDelegatorRewardResponse; toProto(message: MsgWithdrawDelegatorRewardResponse): Uint8Array; toProtoMsg(message: MsgWithdrawDelegatorRewardResponse): MsgWithdrawDelegatorRewardResponseProtoMsg; }; export declare const MsgWithdrawValidatorCommission: { typeUrl: string; aminoType: string; is(o: any): o is MsgWithdrawValidatorCommission; isAmino(o: any): o is MsgWithdrawValidatorCommissionAmino; encode(message: MsgWithdrawValidatorCommission, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawValidatorCommission; fromJSON(object: any): MsgWithdrawValidatorCommission; toJSON(message: MsgWithdrawValidatorCommission): unknown; fromPartial(object: Partial): MsgWithdrawValidatorCommission; fromAmino(object: MsgWithdrawValidatorCommissionAmino): MsgWithdrawValidatorCommission; toAmino(message: MsgWithdrawValidatorCommission): MsgWithdrawValidatorCommissionAmino; fromAminoMsg(object: MsgWithdrawValidatorCommissionAminoMsg): MsgWithdrawValidatorCommission; toAminoMsg(message: MsgWithdrawValidatorCommission): MsgWithdrawValidatorCommissionAminoMsg; fromProtoMsg(message: MsgWithdrawValidatorCommissionProtoMsg): MsgWithdrawValidatorCommission; toProto(message: MsgWithdrawValidatorCommission): Uint8Array; toProtoMsg(message: MsgWithdrawValidatorCommission): MsgWithdrawValidatorCommissionProtoMsg; }; export declare const MsgWithdrawValidatorCommissionResponse: { typeUrl: string; aminoType: string; is(o: any): o is MsgWithdrawValidatorCommissionResponse; isAmino(o: any): o is MsgWithdrawValidatorCommissionResponseAmino; encode(_: MsgWithdrawValidatorCommissionResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse; fromJSON(_: any): MsgWithdrawValidatorCommissionResponse; toJSON(_: MsgWithdrawValidatorCommissionResponse): unknown; fromPartial(_: Partial): MsgWithdrawValidatorCommissionResponse; fromAmino(_: MsgWithdrawValidatorCommissionResponseAmino): MsgWithdrawValidatorCommissionResponse; toAmino(_: MsgWithdrawValidatorCommissionResponse): MsgWithdrawValidatorCommissionResponseAmino; fromAminoMsg(object: MsgWithdrawValidatorCommissionResponseAminoMsg): MsgWithdrawValidatorCommissionResponse; toAminoMsg(message: MsgWithdrawValidatorCommissionResponse): MsgWithdrawValidatorCommissionResponseAminoMsg; fromProtoMsg(message: MsgWithdrawValidatorCommissionResponseProtoMsg): MsgWithdrawValidatorCommissionResponse; toProto(message: MsgWithdrawValidatorCommissionResponse): Uint8Array; toProtoMsg(message: MsgWithdrawValidatorCommissionResponse): MsgWithdrawValidatorCommissionResponseProtoMsg; }; export declare const MsgFundCommunityPool: { typeUrl: string; aminoType: string; is(o: any): o is MsgFundCommunityPool; isAmino(o: any): o is MsgFundCommunityPoolAmino; encode(message: MsgFundCommunityPool, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgFundCommunityPool; fromJSON(object: any): MsgFundCommunityPool; toJSON(message: MsgFundCommunityPool): unknown; fromPartial(object: Partial): MsgFundCommunityPool; fromAmino(object: MsgFundCommunityPoolAmino): MsgFundCommunityPool; toAmino(message: MsgFundCommunityPool): MsgFundCommunityPoolAmino; fromAminoMsg(object: MsgFundCommunityPoolAminoMsg): MsgFundCommunityPool; toAminoMsg(message: MsgFundCommunityPool): MsgFundCommunityPoolAminoMsg; fromProtoMsg(message: MsgFundCommunityPoolProtoMsg): MsgFundCommunityPool; toProto(message: MsgFundCommunityPool): Uint8Array; toProtoMsg(message: MsgFundCommunityPool): MsgFundCommunityPoolProtoMsg; }; export declare const MsgFundCommunityPoolResponse: { typeUrl: string; aminoType: string; is(o: any): o is MsgFundCommunityPoolResponse; isAmino(o: any): o is MsgFundCommunityPoolResponseAmino; encode(_: MsgFundCommunityPoolResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgFundCommunityPoolResponse; fromJSON(_: any): MsgFundCommunityPoolResponse; toJSON(_: MsgFundCommunityPoolResponse): unknown; fromPartial(_: Partial): MsgFundCommunityPoolResponse; fromAmino(_: MsgFundCommunityPoolResponseAmino): MsgFundCommunityPoolResponse; toAmino(_: MsgFundCommunityPoolResponse): MsgFundCommunityPoolResponseAmino; fromAminoMsg(object: MsgFundCommunityPoolResponseAminoMsg): MsgFundCommunityPoolResponse; toAminoMsg(message: MsgFundCommunityPoolResponse): MsgFundCommunityPoolResponseAminoMsg; fromProtoMsg(message: MsgFundCommunityPoolResponseProtoMsg): MsgFundCommunityPoolResponse; toProto(message: MsgFundCommunityPoolResponse): Uint8Array; toProtoMsg(message: MsgFundCommunityPoolResponse): MsgFundCommunityPoolResponseProtoMsg; }; /** 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; }