import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Any, Message, proto3, Timestamp } from "@bufbuild/protobuf"; import { CommissionRates, Description, Params } from "./staking_pb.js"; import { Coin } from "../../base/v1beta1/coin_pb.js"; /** * MsgCreateValidator defines a SDK message for creating a new validator. * * @generated from message cosmos.staking.v1beta1.MsgCreateValidator */ export declare class MsgCreateValidator extends Message { /** * @generated from field: cosmos.staking.v1beta1.Description description = 1; */ description?: Description; /** * @generated from field: cosmos.staking.v1beta1.CommissionRates commission = 2; */ commission?: CommissionRates; /** * @generated from field: string min_self_delegation = 3; */ minSelfDelegation: string; /** * @generated from field: string delegator_address = 4; */ delegatorAddress: string; /** * @generated from field: string validator_address = 5; */ validatorAddress: string; /** * @generated from field: google.protobuf.Any pubkey = 6; */ pubkey?: Any; /** * @generated from field: cosmos.base.v1beta1.Coin value = 7; */ value?: Coin; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.staking.v1beta1.MsgCreateValidator"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateValidator; static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateValidator; static fromJsonString(jsonString: string, options?: Partial): MsgCreateValidator; static equals(a: MsgCreateValidator | PlainMessage | undefined, b: MsgCreateValidator | PlainMessage | undefined): boolean; } /** * MsgCreateValidatorResponse defines the Msg/CreateValidator response type. * * @generated from message cosmos.staking.v1beta1.MsgCreateValidatorResponse */ export declare class MsgCreateValidatorResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.staking.v1beta1.MsgCreateValidatorResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateValidatorResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateValidatorResponse; static fromJsonString(jsonString: string, options?: Partial): MsgCreateValidatorResponse; static equals(a: MsgCreateValidatorResponse | PlainMessage | undefined, b: MsgCreateValidatorResponse | PlainMessage | undefined): boolean; } /** * MsgEditValidator defines a SDK message for editing an existing validator. * * @generated from message cosmos.staking.v1beta1.MsgEditValidator */ export declare class MsgEditValidator extends Message { /** * @generated from field: cosmos.staking.v1beta1.Description description = 1; */ description?: Description; /** * @generated from field: string validator_address = 2; */ 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 * * @generated from field: string commission_rate = 3; */ commissionRate: string; /** * @generated from field: string min_self_delegation = 4; */ minSelfDelegation: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.staking.v1beta1.MsgEditValidator"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgEditValidator; static fromJson(jsonValue: JsonValue, options?: Partial): MsgEditValidator; static fromJsonString(jsonString: string, options?: Partial): MsgEditValidator; static equals(a: MsgEditValidator | PlainMessage | undefined, b: MsgEditValidator | PlainMessage | undefined): boolean; } /** * MsgEditValidatorResponse defines the Msg/EditValidator response type. * * @generated from message cosmos.staking.v1beta1.MsgEditValidatorResponse */ export declare class MsgEditValidatorResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.staking.v1beta1.MsgEditValidatorResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgEditValidatorResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgEditValidatorResponse; static fromJsonString(jsonString: string, options?: Partial): MsgEditValidatorResponse; static equals(a: MsgEditValidatorResponse | PlainMessage | undefined, b: MsgEditValidatorResponse | PlainMessage | undefined): boolean; } /** * MsgDelegate defines a SDK message for performing a delegation of coins * from a delegator to a validator. * * @generated from message cosmos.staking.v1beta1.MsgDelegate */ export declare class MsgDelegate extends Message { /** * @generated from field: string delegator_address = 1; */ delegatorAddress: string; /** * @generated from field: string validator_address = 2; */ validatorAddress: string; /** * @generated from field: cosmos.base.v1beta1.Coin amount = 3; */ amount?: Coin; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.staking.v1beta1.MsgDelegate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgDelegate; static fromJson(jsonValue: JsonValue, options?: Partial): MsgDelegate; static fromJsonString(jsonString: string, options?: Partial): MsgDelegate; static equals(a: MsgDelegate | PlainMessage | undefined, b: MsgDelegate | PlainMessage | undefined): boolean; } /** * MsgDelegateResponse defines the Msg/Delegate response type. * * @generated from message cosmos.staking.v1beta1.MsgDelegateResponse */ export declare class MsgDelegateResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.staking.v1beta1.MsgDelegateResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgDelegateResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgDelegateResponse; static fromJsonString(jsonString: string, options?: Partial): MsgDelegateResponse; static equals(a: MsgDelegateResponse | PlainMessage | undefined, b: MsgDelegateResponse | PlainMessage | undefined): boolean; } /** * MsgBeginRedelegate defines a SDK message for performing a redelegation * of coins from a delegator and source validator to a destination validator. * * @generated from message cosmos.staking.v1beta1.MsgBeginRedelegate */ export declare class MsgBeginRedelegate extends Message { /** * @generated from field: string delegator_address = 1; */ delegatorAddress: string; /** * @generated from field: string validator_src_address = 2; */ validatorSrcAddress: string; /** * @generated from field: string validator_dst_address = 3; */ validatorDstAddress: string; /** * @generated from field: cosmos.base.v1beta1.Coin amount = 4; */ amount?: Coin; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.staking.v1beta1.MsgBeginRedelegate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgBeginRedelegate; static fromJson(jsonValue: JsonValue, options?: Partial): MsgBeginRedelegate; static fromJsonString(jsonString: string, options?: Partial): MsgBeginRedelegate; static equals(a: MsgBeginRedelegate | PlainMessage | undefined, b: MsgBeginRedelegate | PlainMessage | undefined): boolean; } /** * MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. * * @generated from message cosmos.staking.v1beta1.MsgBeginRedelegateResponse */ export declare class MsgBeginRedelegateResponse extends Message { /** * @generated from field: google.protobuf.Timestamp completion_time = 1; */ completionTime?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.staking.v1beta1.MsgBeginRedelegateResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgBeginRedelegateResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgBeginRedelegateResponse; static fromJsonString(jsonString: string, options?: Partial): MsgBeginRedelegateResponse; static equals(a: MsgBeginRedelegateResponse | PlainMessage | undefined, b: MsgBeginRedelegateResponse | PlainMessage | undefined): boolean; } /** * MsgUndelegate defines a SDK message for performing an undelegation from a * delegate and a validator. * * @generated from message cosmos.staking.v1beta1.MsgUndelegate */ export declare class MsgUndelegate extends Message { /** * @generated from field: string delegator_address = 1; */ delegatorAddress: string; /** * @generated from field: string validator_address = 2; */ validatorAddress: string; /** * @generated from field: cosmos.base.v1beta1.Coin amount = 3; */ amount?: Coin; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.staking.v1beta1.MsgUndelegate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUndelegate; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUndelegate; static fromJsonString(jsonString: string, options?: Partial): MsgUndelegate; static equals(a: MsgUndelegate | PlainMessage | undefined, b: MsgUndelegate | PlainMessage | undefined): boolean; } /** * MsgUndelegateResponse defines the Msg/Undelegate response type. * * @generated from message cosmos.staking.v1beta1.MsgUndelegateResponse */ export declare class MsgUndelegateResponse extends Message { /** * @generated from field: google.protobuf.Timestamp completion_time = 1; */ completionTime?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.staking.v1beta1.MsgUndelegateResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUndelegateResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUndelegateResponse; static fromJsonString(jsonString: string, options?: Partial): MsgUndelegateResponse; static equals(a: MsgUndelegateResponse | PlainMessage | undefined, b: MsgUndelegateResponse | PlainMessage | undefined): boolean; } /** * MsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.staking.v1beta1.MsgCancelUnbondingDelegation */ export declare class MsgCancelUnbondingDelegation extends Message { /** * @generated from field: string delegator_address = 1; */ delegatorAddress: string; /** * @generated from field: string validator_address = 2; */ validatorAddress: string; /** * amount is always less than or equal to unbonding delegation entry balance * * @generated from field: cosmos.base.v1beta1.Coin amount = 3; */ amount?: Coin; /** * creation_height is the height which the unbonding took place. * * @generated from field: int64 creation_height = 4; */ creationHeight: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.staking.v1beta1.MsgCancelUnbondingDelegation"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgCancelUnbondingDelegation; static fromJson(jsonValue: JsonValue, options?: Partial): MsgCancelUnbondingDelegation; static fromJsonString(jsonString: string, options?: Partial): MsgCancelUnbondingDelegation; static equals(a: MsgCancelUnbondingDelegation | PlainMessage | undefined, b: MsgCancelUnbondingDelegation | PlainMessage | undefined): boolean; } /** * MsgCancelUnbondingDelegationResponse * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse */ export declare class MsgCancelUnbondingDelegationResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgCancelUnbondingDelegationResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgCancelUnbondingDelegationResponse; static fromJsonString(jsonString: string, options?: Partial): MsgCancelUnbondingDelegationResponse; static equals(a: MsgCancelUnbondingDelegationResponse | PlainMessage | undefined, b: MsgCancelUnbondingDelegationResponse | PlainMessage | undefined): boolean; } /** * MsgUpdateParams is the Msg/UpdateParams request type. * * Since: cosmos-sdk 0.47 * * @generated from message cosmos.staking.v1beta1.MsgUpdateParams */ export declare class MsgUpdateParams extends Message { /** * authority is the address that controls the module (defaults to x/gov unless overwritten). * * @generated from field: string authority = 1; */ authority: string; /** * params defines the x/staking parameters to update. * * NOTE: All parameters must be supplied. * * @generated from field: cosmos.staking.v1beta1.Params params = 2; */ params?: Params; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.staking.v1beta1.MsgUpdateParams"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParams; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParams; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParams; static equals(a: MsgUpdateParams | PlainMessage | undefined, b: MsgUpdateParams | PlainMessage | undefined): boolean; } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. * * Since: cosmos-sdk 0.47 * * @generated from message cosmos.staking.v1beta1.MsgUpdateParamsResponse */ export declare class MsgUpdateParamsResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.staking.v1beta1.MsgUpdateParamsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParamsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParamsResponse; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParamsResponse; static equals(a: MsgUpdateParamsResponse | PlainMessage | undefined, b: MsgUpdateParamsResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=tx_pb.d.ts.map