import { Op, OpAmino } from "./benchmark"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { DeepPartial } from "../../../helpers"; /** * MsgLoadTestOps defines a message containing a sequence of load test operations. * @name MsgLoadTest * @package cosmos.benchmark.v1 * @see proto type: cosmos.benchmark.v1.MsgLoadTest */ export interface MsgLoadTest { caller: Uint8Array; ops: Op[]; } export interface MsgLoadTestProtoMsg { typeUrl: "/cosmos.benchmark.v1.MsgLoadTest"; value: Uint8Array; } /** * MsgLoadTestOps defines a message containing a sequence of load test operations. * @name MsgLoadTestAmino * @package cosmos.benchmark.v1 * @see proto type: cosmos.benchmark.v1.MsgLoadTest */ export interface MsgLoadTestAmino { caller: string; ops: OpAmino[]; } export interface MsgLoadTestAminoMsg { type: "cosmos-sdk/tools/benchmark/v1/MsgLoadTest"; value: MsgLoadTestAmino; } /** * MsgLoadTestResponse defines a message containing the results of a load test operation. * @name MsgLoadTestResponse * @package cosmos.benchmark.v1 * @see proto type: cosmos.benchmark.v1.MsgLoadTestResponse */ export interface MsgLoadTestResponse { totalTime: bigint; totalErrors: bigint; } export interface MsgLoadTestResponseProtoMsg { typeUrl: "/cosmos.benchmark.v1.MsgLoadTestResponse"; value: Uint8Array; } /** * MsgLoadTestResponse defines a message containing the results of a load test operation. * @name MsgLoadTestResponseAmino * @package cosmos.benchmark.v1 * @see proto type: cosmos.benchmark.v1.MsgLoadTestResponse */ export interface MsgLoadTestResponseAmino { total_time: string; total_errors: string; } export interface MsgLoadTestResponseAminoMsg { type: "cosmos-sdk/MsgLoadTestResponse"; value: MsgLoadTestResponseAmino; } /** * MsgLoadTestOps defines a message containing a sequence of load test operations. * @name MsgLoadTest * @package cosmos.benchmark.v1 * @see proto type: cosmos.benchmark.v1.MsgLoadTest */ export declare const MsgLoadTest: { typeUrl: string; aminoType: string; is(o: any): o is MsgLoadTest; isAmino(o: any): o is MsgLoadTestAmino; encode(message: MsgLoadTest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgLoadTest; fromPartial(object: DeepPartial): MsgLoadTest; fromAmino(object: MsgLoadTestAmino): MsgLoadTest; toAmino(message: MsgLoadTest): MsgLoadTestAmino; fromAminoMsg(object: MsgLoadTestAminoMsg): MsgLoadTest; toAminoMsg(message: MsgLoadTest): MsgLoadTestAminoMsg; fromProtoMsg(message: MsgLoadTestProtoMsg): MsgLoadTest; toProto(message: MsgLoadTest): Uint8Array; toProtoMsg(message: MsgLoadTest): MsgLoadTestProtoMsg; registerTypeUrl(): void; }; /** * MsgLoadTestResponse defines a message containing the results of a load test operation. * @name MsgLoadTestResponse * @package cosmos.benchmark.v1 * @see proto type: cosmos.benchmark.v1.MsgLoadTestResponse */ export declare const MsgLoadTestResponse: { typeUrl: string; aminoType: string; is(o: any): o is MsgLoadTestResponse; isAmino(o: any): o is MsgLoadTestResponseAmino; encode(message: MsgLoadTestResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgLoadTestResponse; fromPartial(object: DeepPartial): MsgLoadTestResponse; fromAmino(object: MsgLoadTestResponseAmino): MsgLoadTestResponse; toAmino(message: MsgLoadTestResponse): MsgLoadTestResponseAmino; fromAminoMsg(object: MsgLoadTestResponseAminoMsg): MsgLoadTestResponse; toAminoMsg(message: MsgLoadTestResponse): MsgLoadTestResponseAminoMsg; fromProtoMsg(message: MsgLoadTestResponseProtoMsg): MsgLoadTestResponse; toProto(message: MsgLoadTestResponse): Uint8Array; toProtoMsg(message: MsgLoadTestResponse): MsgLoadTestResponseProtoMsg; registerTypeUrl(): void; };