import { Description, type DescriptionSDKType, CommissionRates, type CommissionRatesSDKType, Params, type ParamsSDKType } from './staking.js'; import { Any, type AnySDKType } from '../../../google/protobuf/any.js'; import { Coin, type CoinSDKType } from '../../base/v1beta1/coin.js'; import { Timestamp, type TimestampSDKType } from '../../../google/protobuf/timestamp.js'; import { BinaryReader, BinaryWriter } from '../../../binary.js'; import { type JsonSafe } from '../../../json-safe.js'; /** MsgCreateValidator defines a SDK message for creating a new validator. */ export interface MsgCreateValidator { description: Description; commission: CommissionRates; minSelfDelegation: string; /** * Deprecated: Use of Delegator Address in MsgCreateValidator is deprecated. * The validator address bytes and delegator address bytes refer to the same account while creating validator (defer * only in bech32 notation). */ /** @deprecated */ delegatorAddress: string; validatorAddress: string; pubkey?: Any | undefined; value: Coin; } export interface MsgCreateValidatorProtoMsg { typeUrl: '/cosmos.staking.v1beta1.MsgCreateValidator'; value: Uint8Array; } /** MsgCreateValidator defines a SDK message for creating a new validator. */ export interface MsgCreateValidatorSDKType { description: DescriptionSDKType; commission: CommissionRatesSDKType; min_self_delegation: string; /** @deprecated */ delegator_address: string; validator_address: string; pubkey?: AnySDKType | undefined; value: CoinSDKType; } /** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ export interface MsgCreateValidatorResponse { } export interface MsgCreateValidatorResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.MsgCreateValidatorResponse'; value: Uint8Array; } /** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ export interface MsgCreateValidatorResponseSDKType { } /** MsgEditValidator defines a SDK message for editing an existing validator. */ export interface MsgEditValidator { description: Description; validatorAddress: string; /** * We pass a reference to the new commission rate and min self delegation as * it's not mandatory to update. If not updated, the deserialized rate will be * zero with no way to distinguish if an update was intended. * REF: #2373 */ commissionRate: string; minSelfDelegation: string; } export interface MsgEditValidatorProtoMsg { typeUrl: '/cosmos.staking.v1beta1.MsgEditValidator'; value: Uint8Array; } /** MsgEditValidator defines a SDK message for editing an existing validator. */ export interface MsgEditValidatorSDKType { description: DescriptionSDKType; validator_address: string; commission_rate: string; min_self_delegation: string; } /** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ export interface MsgEditValidatorResponse { } export interface MsgEditValidatorResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.MsgEditValidatorResponse'; value: Uint8Array; } /** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ export interface MsgEditValidatorResponseSDKType { } /** * MsgDelegate defines a SDK message for performing a delegation of coins * from a delegator to a validator. */ export interface MsgDelegate { delegatorAddress: string; validatorAddress: string; amount: Coin; } export interface MsgDelegateProtoMsg { typeUrl: '/cosmos.staking.v1beta1.MsgDelegate'; value: Uint8Array; } /** * MsgDelegate defines a SDK message for performing a delegation of coins * from a delegator to a validator. */ export interface MsgDelegateSDKType { delegator_address: string; validator_address: string; amount: CoinSDKType; } /** MsgDelegateResponse defines the Msg/Delegate response type. */ export interface MsgDelegateResponse { } export interface MsgDelegateResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.MsgDelegateResponse'; value: Uint8Array; } /** MsgDelegateResponse defines the Msg/Delegate response type. */ export interface MsgDelegateResponseSDKType { } /** * MsgBeginRedelegate defines a SDK message for performing a redelegation * of coins from a delegator and source validator to a destination validator. */ export interface MsgBeginRedelegate { delegatorAddress: string; validatorSrcAddress: string; validatorDstAddress: string; amount: Coin; } export interface MsgBeginRedelegateProtoMsg { typeUrl: '/cosmos.staking.v1beta1.MsgBeginRedelegate'; value: Uint8Array; } /** * MsgBeginRedelegate defines a SDK message for performing a redelegation * of coins from a delegator and source validator to a destination validator. */ export interface MsgBeginRedelegateSDKType { delegator_address: string; validator_src_address: string; validator_dst_address: string; amount: CoinSDKType; } /** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ export interface MsgBeginRedelegateResponse { completionTime: Timestamp; } export interface MsgBeginRedelegateResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.MsgBeginRedelegateResponse'; value: Uint8Array; } /** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ export interface MsgBeginRedelegateResponseSDKType { completion_time: TimestampSDKType; } /** * MsgUndelegate defines a SDK message for performing an undelegation from a * delegate and a validator. */ export interface MsgUndelegate { delegatorAddress: string; validatorAddress: string; amount: Coin; } export interface MsgUndelegateProtoMsg { typeUrl: '/cosmos.staking.v1beta1.MsgUndelegate'; value: Uint8Array; } /** * MsgUndelegate defines a SDK message for performing an undelegation from a * delegate and a validator. */ export interface MsgUndelegateSDKType { delegator_address: string; validator_address: string; amount: CoinSDKType; } /** MsgUndelegateResponse defines the Msg/Undelegate response type. */ export interface MsgUndelegateResponse { completionTime: Timestamp; /** * amount returns the amount of undelegated coins * * Since: cosmos-sdk 0.50 */ amount: Coin; } export interface MsgUndelegateResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.MsgUndelegateResponse'; value: Uint8Array; } /** MsgUndelegateResponse defines the Msg/Undelegate response type. */ export interface MsgUndelegateResponseSDKType { completion_time: TimestampSDKType; amount: CoinSDKType; } /** * MsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator * * Since: cosmos-sdk 0.46 */ export interface MsgCancelUnbondingDelegation { delegatorAddress: string; validatorAddress: string; /** amount is always less than or equal to unbonding delegation entry balance */ amount: Coin; /** creation_height is the height which the unbonding took place. */ creationHeight: bigint; } export interface MsgCancelUnbondingDelegationProtoMsg { typeUrl: '/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation'; value: Uint8Array; } /** * MsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator * * Since: cosmos-sdk 0.46 */ export interface MsgCancelUnbondingDelegationSDKType { delegator_address: string; validator_address: string; amount: CoinSDKType; creation_height: bigint; } /** * MsgCancelUnbondingDelegationResponse * * Since: cosmos-sdk 0.46 */ export interface MsgCancelUnbondingDelegationResponse { } export interface MsgCancelUnbondingDelegationResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse'; value: Uint8Array; } /** * MsgCancelUnbondingDelegationResponse * * Since: cosmos-sdk 0.46 */ export interface MsgCancelUnbondingDelegationResponseSDKType { } /** * MsgUpdateParams is the Msg/UpdateParams request type. * * Since: cosmos-sdk 0.47 */ export interface MsgUpdateParams { /** authority is the address that controls the module (defaults to x/gov unless overwritten). */ authority: string; /** * params defines the x/staking parameters to update. * * NOTE: All parameters must be supplied. */ params: Params; } export interface MsgUpdateParamsProtoMsg { typeUrl: '/cosmos.staking.v1beta1.MsgUpdateParams'; value: Uint8Array; } /** * MsgUpdateParams is the Msg/UpdateParams request type. * * Since: cosmos-sdk 0.47 */ export interface MsgUpdateParamsSDKType { authority: string; params: ParamsSDKType; } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. * * Since: cosmos-sdk 0.47 */ export interface MsgUpdateParamsResponse { } export interface MsgUpdateParamsResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.MsgUpdateParamsResponse'; value: Uint8Array; } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. * * Since: cosmos-sdk 0.47 */ export interface MsgUpdateParamsResponseSDKType { } export declare const MsgCreateValidator: { typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator"; encode(message: MsgCreateValidator, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateValidator; fromJSON(object: any): MsgCreateValidator; toJSON(message: MsgCreateValidator): JsonSafe; fromPartial(object: Partial): MsgCreateValidator; fromProtoMsg(message: MsgCreateValidatorProtoMsg): MsgCreateValidator; toProto(message: MsgCreateValidator): Uint8Array; toProtoMsg(message: MsgCreateValidator): MsgCreateValidatorProtoMsg; }; export declare const MsgCreateValidatorResponse: { typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidatorResponse"; encode(_: MsgCreateValidatorResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateValidatorResponse; fromJSON(_: any): MsgCreateValidatorResponse; toJSON(_: MsgCreateValidatorResponse): JsonSafe; fromPartial(_: Partial): MsgCreateValidatorResponse; fromProtoMsg(message: MsgCreateValidatorResponseProtoMsg): MsgCreateValidatorResponse; toProto(message: MsgCreateValidatorResponse): Uint8Array; toProtoMsg(message: MsgCreateValidatorResponse): MsgCreateValidatorResponseProtoMsg; }; export declare const MsgEditValidator: { typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator"; encode(message: MsgEditValidator, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgEditValidator; fromJSON(object: any): MsgEditValidator; toJSON(message: MsgEditValidator): JsonSafe; fromPartial(object: Partial): MsgEditValidator; fromProtoMsg(message: MsgEditValidatorProtoMsg): MsgEditValidator; toProto(message: MsgEditValidator): Uint8Array; toProtoMsg(message: MsgEditValidator): MsgEditValidatorProtoMsg; }; export declare const MsgEditValidatorResponse: { typeUrl: "/cosmos.staking.v1beta1.MsgEditValidatorResponse"; encode(_: MsgEditValidatorResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgEditValidatorResponse; fromJSON(_: any): MsgEditValidatorResponse; toJSON(_: MsgEditValidatorResponse): JsonSafe; fromPartial(_: Partial): MsgEditValidatorResponse; fromProtoMsg(message: MsgEditValidatorResponseProtoMsg): MsgEditValidatorResponse; toProto(message: MsgEditValidatorResponse): Uint8Array; toProtoMsg(message: MsgEditValidatorResponse): MsgEditValidatorResponseProtoMsg; }; export declare const MsgDelegate: { typeUrl: "/cosmos.staking.v1beta1.MsgDelegate"; encode(message: MsgDelegate, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgDelegate; fromJSON(object: any): MsgDelegate; toJSON(message: MsgDelegate): JsonSafe; fromPartial(object: Partial): MsgDelegate; fromProtoMsg(message: MsgDelegateProtoMsg): MsgDelegate; toProto(message: MsgDelegate): Uint8Array; toProtoMsg(message: MsgDelegate): MsgDelegateProtoMsg; }; export declare const MsgDelegateResponse: { typeUrl: "/cosmos.staking.v1beta1.MsgDelegateResponse"; encode(_: MsgDelegateResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgDelegateResponse; fromJSON(_: any): MsgDelegateResponse; toJSON(_: MsgDelegateResponse): JsonSafe; fromPartial(_: Partial): MsgDelegateResponse; fromProtoMsg(message: MsgDelegateResponseProtoMsg): MsgDelegateResponse; toProto(message: MsgDelegateResponse): Uint8Array; toProtoMsg(message: MsgDelegateResponse): MsgDelegateResponseProtoMsg; }; export declare const MsgBeginRedelegate: { typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate"; encode(message: MsgBeginRedelegate, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgBeginRedelegate; fromJSON(object: any): MsgBeginRedelegate; toJSON(message: MsgBeginRedelegate): JsonSafe; fromPartial(object: Partial): MsgBeginRedelegate; fromProtoMsg(message: MsgBeginRedelegateProtoMsg): MsgBeginRedelegate; toProto(message: MsgBeginRedelegate): Uint8Array; toProtoMsg(message: MsgBeginRedelegate): MsgBeginRedelegateProtoMsg; }; export declare const MsgBeginRedelegateResponse: { typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegateResponse"; encode(message: MsgBeginRedelegateResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgBeginRedelegateResponse; fromJSON(object: any): MsgBeginRedelegateResponse; toJSON(message: MsgBeginRedelegateResponse): JsonSafe; fromPartial(object: Partial): MsgBeginRedelegateResponse; fromProtoMsg(message: MsgBeginRedelegateResponseProtoMsg): MsgBeginRedelegateResponse; toProto(message: MsgBeginRedelegateResponse): Uint8Array; toProtoMsg(message: MsgBeginRedelegateResponse): MsgBeginRedelegateResponseProtoMsg; }; export declare const MsgUndelegate: { typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate"; encode(message: MsgUndelegate, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUndelegate; fromJSON(object: any): MsgUndelegate; toJSON(message: MsgUndelegate): JsonSafe; fromPartial(object: Partial): MsgUndelegate; fromProtoMsg(message: MsgUndelegateProtoMsg): MsgUndelegate; toProto(message: MsgUndelegate): Uint8Array; toProtoMsg(message: MsgUndelegate): MsgUndelegateProtoMsg; }; export declare const MsgUndelegateResponse: { typeUrl: "/cosmos.staking.v1beta1.MsgUndelegateResponse"; encode(message: MsgUndelegateResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUndelegateResponse; fromJSON(object: any): MsgUndelegateResponse; toJSON(message: MsgUndelegateResponse): JsonSafe; fromPartial(object: Partial): MsgUndelegateResponse; fromProtoMsg(message: MsgUndelegateResponseProtoMsg): MsgUndelegateResponse; toProto(message: MsgUndelegateResponse): Uint8Array; toProtoMsg(message: MsgUndelegateResponse): MsgUndelegateResponseProtoMsg; }; export declare const MsgCancelUnbondingDelegation: { typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation"; encode(message: MsgCancelUnbondingDelegation, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgCancelUnbondingDelegation; fromJSON(object: any): MsgCancelUnbondingDelegation; toJSON(message: MsgCancelUnbondingDelegation): JsonSafe; fromPartial(object: Partial): MsgCancelUnbondingDelegation; fromProtoMsg(message: MsgCancelUnbondingDelegationProtoMsg): MsgCancelUnbondingDelegation; toProto(message: MsgCancelUnbondingDelegation): Uint8Array; toProtoMsg(message: MsgCancelUnbondingDelegation): MsgCancelUnbondingDelegationProtoMsg; }; export declare const MsgCancelUnbondingDelegationResponse: { typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse"; encode(_: MsgCancelUnbondingDelegationResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgCancelUnbondingDelegationResponse; fromJSON(_: any): MsgCancelUnbondingDelegationResponse; toJSON(_: MsgCancelUnbondingDelegationResponse): JsonSafe; fromPartial(_: Partial): MsgCancelUnbondingDelegationResponse; fromProtoMsg(message: MsgCancelUnbondingDelegationResponseProtoMsg): MsgCancelUnbondingDelegationResponse; toProto(message: MsgCancelUnbondingDelegationResponse): Uint8Array; toProtoMsg(message: MsgCancelUnbondingDelegationResponse): MsgCancelUnbondingDelegationResponseProtoMsg; }; export declare const MsgUpdateParams: { typeUrl: "/cosmos.staking.v1beta1.MsgUpdateParams"; encode(message: MsgUpdateParams, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParams; fromJSON(object: any): MsgUpdateParams; toJSON(message: MsgUpdateParams): JsonSafe; fromPartial(object: Partial): MsgUpdateParams; fromProtoMsg(message: MsgUpdateParamsProtoMsg): MsgUpdateParams; toProto(message: MsgUpdateParams): Uint8Array; toProtoMsg(message: MsgUpdateParams): MsgUpdateParamsProtoMsg; }; export declare const MsgUpdateParamsResponse: { typeUrl: "/cosmos.staking.v1beta1.MsgUpdateParamsResponse"; encode(_: MsgUpdateParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParamsResponse; fromJSON(_: any): MsgUpdateParamsResponse; toJSON(_: MsgUpdateParamsResponse): JsonSafe; fromPartial(_: Partial): MsgUpdateParamsResponse; fromProtoMsg(message: MsgUpdateParamsResponseProtoMsg): MsgUpdateParamsResponse; toProto(message: MsgUpdateParamsResponse): Uint8Array; toProtoMsg(message: MsgUpdateParamsResponse): MsgUpdateParamsResponseProtoMsg; }; export declare const Cosmos_cryptoPubKey_InterfaceDecoder: (input: BinaryReader | Uint8Array) => Any; //# sourceMappingURL=tx.d.ts.map