import { Description, DescriptionSDKType, CommissionRates, CommissionRatesSDKType } from "./staking"; import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; /** MsgCreateValidator defines a SDK message for creating a new validator. */ export interface MsgCreateValidator { description?: Description; commission?: CommissionRates; minSelfDelegation: string; delegatorAddress: string; validatorAddress: string; pubkey?: Any; value?: Coin; } /** MsgCreateValidator defines a SDK message for creating a new validator. */ export interface MsgCreateValidatorSDKType { description?: DescriptionSDKType; commission?: CommissionRatesSDKType; min_self_delegation: string; delegator_address: string; validator_address: string; pubkey?: AnySDKType; value?: CoinSDKType; } /** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ export interface MsgCreateValidatorResponse { } /** 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; } /** MsgEditValidator defines a SDK message for editing an existing validator. */ export interface MsgEditValidatorSDKType { description?: DescriptionSDKType; 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 { } /** 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; } /** * 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 { } /** 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; } /** * 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; } /** 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; } /** * 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; } /** MsgUndelegateResponse defines the Msg/Undelegate response type. */ export interface MsgUndelegateResponseSDKType { completion_time?: TimestampSDKType; } export declare const MsgCreateValidator: { encode(message: MsgCreateValidator, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidator; fromPartial(object: Partial): MsgCreateValidator; }; export declare const MsgCreateValidatorResponse: { encode(_: MsgCreateValidatorResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponse; fromPartial(_: Partial): MsgCreateValidatorResponse; }; export declare const MsgEditValidator: { encode(message: MsgEditValidator, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidator; fromPartial(object: Partial): MsgEditValidator; }; export declare const MsgEditValidatorResponse: { encode(_: MsgEditValidatorResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponse; fromPartial(_: Partial): MsgEditValidatorResponse; }; export declare const MsgDelegate: { encode(message: MsgDelegate, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegate; fromPartial(object: Partial): MsgDelegate; }; export declare const MsgDelegateResponse: { encode(_: MsgDelegateResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponse; fromPartial(_: Partial): MsgDelegateResponse; }; export declare const MsgBeginRedelegate: { encode(message: MsgBeginRedelegate, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegate; fromPartial(object: Partial): MsgBeginRedelegate; }; export declare const MsgBeginRedelegateResponse: { encode(message: MsgBeginRedelegateResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponse; fromPartial(object: Partial): MsgBeginRedelegateResponse; }; export declare const MsgUndelegate: { encode(message: MsgUndelegate, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegate; fromPartial(object: Partial): MsgUndelegate; }; export declare const MsgUndelegateResponse: { encode(message: MsgUndelegateResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponse; fromPartial(object: Partial): MsgUndelegateResponse; };