cosmos-explorer/packages/codegen/dist/cosmos/distribution/v1beta1/tx.d.ts
2023-03-02 13:21:24 +08:00

134 lines
5.6 KiB
TypeScript

import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/**
* 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 {
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 {
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;
fromPartial(object: DeepPartial<MsgSetWithdrawAddress>): MsgSetWithdrawAddress;
};
export declare const MsgSetWithdrawAddressResponse: {
encode(_: MsgSetWithdrawAddressResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse;
fromPartial(_: DeepPartial<MsgSetWithdrawAddressResponse>): MsgSetWithdrawAddressResponse;
};
export declare const MsgWithdrawDelegatorReward: {
encode(message: MsgWithdrawDelegatorReward, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorReward;
fromPartial(object: DeepPartial<MsgWithdrawDelegatorReward>): MsgWithdrawDelegatorReward;
};
export declare const MsgWithdrawDelegatorRewardResponse: {
encode(message: MsgWithdrawDelegatorRewardResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse;
fromPartial(object: DeepPartial<MsgWithdrawDelegatorRewardResponse>): MsgWithdrawDelegatorRewardResponse;
};
export declare const MsgWithdrawValidatorCommission: {
encode(message: MsgWithdrawValidatorCommission, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommission;
fromPartial(object: DeepPartial<MsgWithdrawValidatorCommission>): MsgWithdrawValidatorCommission;
};
export declare const MsgWithdrawValidatorCommissionResponse: {
encode(message: MsgWithdrawValidatorCommissionResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse;
fromPartial(object: DeepPartial<MsgWithdrawValidatorCommissionResponse>): MsgWithdrawValidatorCommissionResponse;
};
export declare const MsgFundCommunityPool: {
encode(message: MsgFundCommunityPool, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPool;
fromPartial(object: DeepPartial<MsgFundCommunityPool>): MsgFundCommunityPool;
};
export declare const MsgFundCommunityPoolResponse: {
encode(_: MsgFundCommunityPoolResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponse;
fromPartial(_: DeepPartial<MsgFundCommunityPoolResponse>): MsgFundCommunityPoolResponse;
};