import { Description, CommissionRates } from "./staking"; import { Any } from "../../../google/protobuf/any"; import { Coin } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; import { DeepPartial } from "@osmonauts/helpers"; /** MsgCreateValidator defines a SDK message for creating a new validator. */ export interface MsgCreateValidator { description: Description; commission: CommissionRates; min_self_delegation: string; delegator_address: string; validator_address: string; pubkey: Any; value: Coin; } /** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ export interface MsgCreateValidatorResponse { } /** MsgEditValidator defines a SDK message for editing an existing validator. */ export interface MsgEditValidator { description: Description; validator_address: 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 */ commission_rate: string; min_self_delegation: string; } /** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ export interface MsgEditValidatorResponse { } /** * MsgDelegate defines a SDK message for performing a delegation of coins * from a delegator to a validator. */ export interface MsgDelegate { delegator_address: string; validator_address: string; amount: Coin; } /** MsgDelegateResponse defines the Msg/Delegate response type. */ export interface MsgDelegateResponse { } /** * MsgBeginRedelegate defines a SDK message for performing a redelegation * of coins from a delegator and source validator to a destination validator. */ export interface MsgBeginRedelegate { delegator_address: string; validator_src_address: string; validator_dst_address: string; amount: Coin; } /** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ export interface MsgBeginRedelegateResponse { completion_time: Date; } /** * MsgUndelegate defines a SDK message for performing an undelegation from a * delegate and a validator. */ export interface MsgUndelegate { delegator_address: string; validator_address: string; amount: Coin; } /** MsgUndelegateResponse defines the Msg/Undelegate response type. */ export interface MsgUndelegateResponse { completion_time: Date; } export declare const MsgCreateValidator: { encode(message: MsgCreateValidator, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidator; fromJSON(object: any): MsgCreateValidator; toJSON(message: MsgCreateValidator): unknown; fromPartial(object: DeepPartial): MsgCreateValidator; }; export declare const MsgCreateValidatorResponse: { encode(_: MsgCreateValidatorResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponse; fromJSON(_: any): MsgCreateValidatorResponse; toJSON(_: MsgCreateValidatorResponse): unknown; fromPartial(_: DeepPartial): MsgCreateValidatorResponse; }; export declare const MsgEditValidator: { encode(message: MsgEditValidator, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidator; fromJSON(object: any): MsgEditValidator; toJSON(message: MsgEditValidator): unknown; fromPartial(object: DeepPartial): MsgEditValidator; }; export declare const MsgEditValidatorResponse: { encode(_: MsgEditValidatorResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponse; fromJSON(_: any): MsgEditValidatorResponse; toJSON(_: MsgEditValidatorResponse): unknown; fromPartial(_: DeepPartial): MsgEditValidatorResponse; }; export declare const MsgDelegate: { encode(message: MsgDelegate, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegate; fromJSON(object: any): MsgDelegate; toJSON(message: MsgDelegate): unknown; fromPartial(object: DeepPartial): MsgDelegate; }; export declare const MsgDelegateResponse: { encode(_: MsgDelegateResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponse; fromJSON(_: any): MsgDelegateResponse; toJSON(_: MsgDelegateResponse): unknown; fromPartial(_: DeepPartial): MsgDelegateResponse; }; export declare const MsgBeginRedelegate: { encode(message: MsgBeginRedelegate, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegate; fromJSON(object: any): MsgBeginRedelegate; toJSON(message: MsgBeginRedelegate): unknown; fromPartial(object: DeepPartial): MsgBeginRedelegate; }; export declare const MsgBeginRedelegateResponse: { encode(message: MsgBeginRedelegateResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponse; fromJSON(object: any): MsgBeginRedelegateResponse; toJSON(message: MsgBeginRedelegateResponse): unknown; fromPartial(object: DeepPartial): MsgBeginRedelegateResponse; }; export declare const MsgUndelegate: { encode(message: MsgUndelegate, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegate; fromJSON(object: any): MsgUndelegate; toJSON(message: MsgUndelegate): unknown; fromPartial(object: DeepPartial): MsgUndelegate; }; export declare const MsgUndelegateResponse: { encode(message: MsgUndelegateResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponse; fromJSON(object: any): MsgUndelegateResponse; toJSON(message: MsgUndelegateResponse): unknown; fromPartial(object: DeepPartial): MsgUndelegateResponse; };