import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { ValidatorPreference } from "./state_pb.js"; import { Coin } from "../../../cosmos/base/v1beta1/coin_pb.js"; /** * MsgCreateValidatorSetPreference is a list that holds validator-set. * * @generated from message osmosis.valsetpref.v1beta1.MsgSetValidatorSetPreference */ export declare class MsgSetValidatorSetPreference extends Message { /** * delegator is the user who is trying to create a validator-set. * * @generated from field: string delegator = 1; */ delegator: string; /** * list of {valAddr, weight} to delegate to * * @generated from field: repeated osmosis.valsetpref.v1beta1.ValidatorPreference preferences = 2; */ preferences: ValidatorPreference[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.valsetpref.v1beta1.MsgSetValidatorSetPreference"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgSetValidatorSetPreference; static fromJson(jsonValue: JsonValue, options?: Partial): MsgSetValidatorSetPreference; static fromJsonString(jsonString: string, options?: Partial): MsgSetValidatorSetPreference; static equals(a: MsgSetValidatorSetPreference | PlainMessage | undefined, b: MsgSetValidatorSetPreference | PlainMessage | undefined): boolean; } /** * @generated from message osmosis.valsetpref.v1beta1.MsgSetValidatorSetPreferenceResponse */ export declare class MsgSetValidatorSetPreferenceResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.valsetpref.v1beta1.MsgSetValidatorSetPreferenceResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgSetValidatorSetPreferenceResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgSetValidatorSetPreferenceResponse; static fromJsonString(jsonString: string, options?: Partial): MsgSetValidatorSetPreferenceResponse; static equals(a: MsgSetValidatorSetPreferenceResponse | PlainMessage | undefined, b: MsgSetValidatorSetPreferenceResponse | PlainMessage | undefined): boolean; } /** * MsgDelegateToValidatorSet allows users to delegate to an existing * validator-set * * @generated from message osmosis.valsetpref.v1beta1.MsgDelegateToValidatorSet */ export declare class MsgDelegateToValidatorSet extends Message { /** * delegator is the user who is trying to delegate. * * @generated from field: string delegator = 1; */ delegator: string; /** * the amount of tokens the user is trying to delegate. * For ex: delegate 10osmo with validator-set {ValA -> 0.5, ValB -> 0.3, ValC * -> 0.2} our staking logic would attempt to delegate 5osmo to A , 3osmo to * B, 2osmo to C. * * @generated from field: cosmos.base.v1beta1.Coin coin = 2; */ coin?: Coin; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.valsetpref.v1beta1.MsgDelegateToValidatorSet"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgDelegateToValidatorSet; static fromJson(jsonValue: JsonValue, options?: Partial): MsgDelegateToValidatorSet; static fromJsonString(jsonString: string, options?: Partial): MsgDelegateToValidatorSet; static equals(a: MsgDelegateToValidatorSet | PlainMessage | undefined, b: MsgDelegateToValidatorSet | PlainMessage | undefined): boolean; } /** * @generated from message osmosis.valsetpref.v1beta1.MsgDelegateToValidatorSetResponse */ export declare class MsgDelegateToValidatorSetResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.valsetpref.v1beta1.MsgDelegateToValidatorSetResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgDelegateToValidatorSetResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgDelegateToValidatorSetResponse; static fromJsonString(jsonString: string, options?: Partial): MsgDelegateToValidatorSetResponse; static equals(a: MsgDelegateToValidatorSetResponse | PlainMessage | undefined, b: MsgDelegateToValidatorSetResponse | PlainMessage | undefined): boolean; } /** * @generated from message osmosis.valsetpref.v1beta1.MsgUndelegateFromValidatorSet */ export declare class MsgUndelegateFromValidatorSet extends Message { /** * delegator is the user who is trying to undelegate. * * @generated from field: string delegator = 1; */ delegator: string; /** * the amount the user wants to undelegate * For ex: Undelegate 10osmo with validator-set {ValA -> 0.5, ValB -> 0.3, * ValC * -> 0.2} our undelegate logic would attempt to undelegate 5osmo from A , * 3osmo from B, 2osmo from C * * @generated from field: cosmos.base.v1beta1.Coin coin = 3; */ coin?: Coin; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.valsetpref.v1beta1.MsgUndelegateFromValidatorSet"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUndelegateFromValidatorSet; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUndelegateFromValidatorSet; static fromJsonString(jsonString: string, options?: Partial): MsgUndelegateFromValidatorSet; static equals(a: MsgUndelegateFromValidatorSet | PlainMessage | undefined, b: MsgUndelegateFromValidatorSet | PlainMessage | undefined): boolean; } /** * @generated from message osmosis.valsetpref.v1beta1.MsgUndelegateFromValidatorSetResponse */ export declare class MsgUndelegateFromValidatorSetResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.valsetpref.v1beta1.MsgUndelegateFromValidatorSetResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUndelegateFromValidatorSetResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUndelegateFromValidatorSetResponse; static fromJsonString(jsonString: string, options?: Partial): MsgUndelegateFromValidatorSetResponse; static equals(a: MsgUndelegateFromValidatorSetResponse | PlainMessage | undefined, b: MsgUndelegateFromValidatorSetResponse | PlainMessage | undefined): boolean; } /** * @generated from message osmosis.valsetpref.v1beta1.MsgUndelegateFromRebalancedValidatorSet */ export declare class MsgUndelegateFromRebalancedValidatorSet extends Message { /** * delegator is the user who is trying to undelegate. * * @generated from field: string delegator = 1; */ delegator: string; /** * the amount the user wants to undelegate * For ex: Undelegate 50 osmo with validator-set {ValA -> 0.5, ValB -> 0.5} * Our undelegate logic would first check the current delegation balance. * If the user has 90 osmo delegated to ValA and 10 osmo delegated to ValB, * the rebalanced validator set would be {ValA -> 0.9, ValB -> 0.1} * So now the 45 osmo would be undelegated from ValA and 5 osmo would be * undelegated from ValB. * * @generated from field: cosmos.base.v1beta1.Coin coin = 2; */ coin?: Coin; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.valsetpref.v1beta1.MsgUndelegateFromRebalancedValidatorSet"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUndelegateFromRebalancedValidatorSet; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUndelegateFromRebalancedValidatorSet; static fromJsonString(jsonString: string, options?: Partial): MsgUndelegateFromRebalancedValidatorSet; static equals(a: MsgUndelegateFromRebalancedValidatorSet | PlainMessage | undefined, b: MsgUndelegateFromRebalancedValidatorSet | PlainMessage | undefined): boolean; } /** * @generated from message osmosis.valsetpref.v1beta1.MsgUndelegateFromRebalancedValidatorSetResponse */ export declare class MsgUndelegateFromRebalancedValidatorSetResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.valsetpref.v1beta1.MsgUndelegateFromRebalancedValidatorSetResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUndelegateFromRebalancedValidatorSetResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUndelegateFromRebalancedValidatorSetResponse; static fromJsonString(jsonString: string, options?: Partial): MsgUndelegateFromRebalancedValidatorSetResponse; static equals(a: MsgUndelegateFromRebalancedValidatorSetResponse | PlainMessage | undefined, b: MsgUndelegateFromRebalancedValidatorSetResponse | PlainMessage | undefined): boolean; } /** * @generated from message osmosis.valsetpref.v1beta1.MsgRedelegateValidatorSet */ export declare class MsgRedelegateValidatorSet extends Message { /** * delegator is the user who is trying to create a validator-set. * * @generated from field: string delegator = 1; */ delegator: string; /** * list of {valAddr, weight} to delegate to * * @generated from field: repeated osmosis.valsetpref.v1beta1.ValidatorPreference preferences = 2; */ preferences: ValidatorPreference[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.valsetpref.v1beta1.MsgRedelegateValidatorSet"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgRedelegateValidatorSet; static fromJson(jsonValue: JsonValue, options?: Partial): MsgRedelegateValidatorSet; static fromJsonString(jsonString: string, options?: Partial): MsgRedelegateValidatorSet; static equals(a: MsgRedelegateValidatorSet | PlainMessage | undefined, b: MsgRedelegateValidatorSet | PlainMessage | undefined): boolean; } /** * @generated from message osmosis.valsetpref.v1beta1.MsgRedelegateValidatorSetResponse */ export declare class MsgRedelegateValidatorSetResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.valsetpref.v1beta1.MsgRedelegateValidatorSetResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgRedelegateValidatorSetResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgRedelegateValidatorSetResponse; static fromJsonString(jsonString: string, options?: Partial): MsgRedelegateValidatorSetResponse; static equals(a: MsgRedelegateValidatorSetResponse | PlainMessage | undefined, b: MsgRedelegateValidatorSetResponse | PlainMessage | undefined): boolean; } /** * MsgWithdrawDelegationRewards allows user to claim staking rewards from the * validator set. * * @generated from message osmosis.valsetpref.v1beta1.MsgWithdrawDelegationRewards */ export declare class MsgWithdrawDelegationRewards extends Message { /** * delegator is the user who is trying to claim staking rewards. * * @generated from field: string delegator = 1; */ delegator: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.valsetpref.v1beta1.MsgWithdrawDelegationRewards"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgWithdrawDelegationRewards; static fromJson(jsonValue: JsonValue, options?: Partial): MsgWithdrawDelegationRewards; static fromJsonString(jsonString: string, options?: Partial): MsgWithdrawDelegationRewards; static equals(a: MsgWithdrawDelegationRewards | PlainMessage | undefined, b: MsgWithdrawDelegationRewards | PlainMessage | undefined): boolean; } /** * @generated from message osmosis.valsetpref.v1beta1.MsgWithdrawDelegationRewardsResponse */ export declare class MsgWithdrawDelegationRewardsResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.valsetpref.v1beta1.MsgWithdrawDelegationRewardsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgWithdrawDelegationRewardsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgWithdrawDelegationRewardsResponse; static fromJsonString(jsonString: string, options?: Partial): MsgWithdrawDelegationRewardsResponse; static equals(a: MsgWithdrawDelegationRewardsResponse | PlainMessage | undefined, b: MsgWithdrawDelegationRewardsResponse | PlainMessage | undefined): boolean; } /** * MsgDelegateBondedTokens breaks bonded lockup (by ID) of osmo, of * length <= 2 weeks and takes all that osmo and delegates according to * delegator's current validator set preference. * * @generated from message osmosis.valsetpref.v1beta1.MsgDelegateBondedTokens */ export declare class MsgDelegateBondedTokens extends Message { /** * delegator is the user who is trying to force unbond osmo and delegate. * * @generated from field: string delegator = 1; */ delegator: string; /** * lockup id of osmo in the pool * * @generated from field: uint64 lockID = 2; */ lockID: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.valsetpref.v1beta1.MsgDelegateBondedTokens"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgDelegateBondedTokens; static fromJson(jsonValue: JsonValue, options?: Partial): MsgDelegateBondedTokens; static fromJsonString(jsonString: string, options?: Partial): MsgDelegateBondedTokens; static equals(a: MsgDelegateBondedTokens | PlainMessage | undefined, b: MsgDelegateBondedTokens | PlainMessage | undefined): boolean; } /** * @generated from message osmosis.valsetpref.v1beta1.MsgDelegateBondedTokensResponse */ export declare class MsgDelegateBondedTokensResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.valsetpref.v1beta1.MsgDelegateBondedTokensResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgDelegateBondedTokensResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgDelegateBondedTokensResponse; static fromJsonString(jsonString: string, options?: Partial): MsgDelegateBondedTokensResponse; static equals(a: MsgDelegateBondedTokensResponse | PlainMessage | undefined, b: MsgDelegateBondedTokensResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=tx_pb.d.ts.map