import { BinaryReader, BinaryWriter } from '../../../../binary.js'; import { type JsonSafe } from '../../../../json-safe.js'; /** * Module is the config object of the benchmark module. * @name Module * @package cosmos.benchmark.module.v1 * @see proto type: cosmos.benchmark.module.v1.Module */ export interface Module { genesisParams?: GeneratorParams; } export interface ModuleProtoMsg { typeUrl: '/cosmos.benchmark.module.v1.Module'; value: Uint8Array; } /** * Module is the config object of the benchmark module. * @name ModuleSDKType * @package cosmos.benchmark.module.v1 * @see proto type: cosmos.benchmark.module.v1.Module */ export interface ModuleSDKType { genesis_params?: GeneratorParamsSDKType; } /** * GenesisParams defines the genesis parameters for the benchmark module. * @name GeneratorParams * @package cosmos.benchmark.module.v1 * @see proto type: cosmos.benchmark.module.v1.GeneratorParams */ export interface GeneratorParams { /** * seed is the seed for the random number generator. */ seed: bigint; /** * bucket_count is the number of store keys to uniformly distribute genesis_count keys across. */ bucketCount: bigint; /** * key_mean is the mean size (in normal distribution) of keys in each bucket. */ keyMean: bigint; /** * key_std_dev is the standard deviation of key sizes in each bucket. */ keyStdDev: bigint; /** * value_mean is the mean size (in normal distribution) of values in each bucket. */ valueMean: bigint; /** * value_std_dev is the standard deviation of value sizes in each bucket. */ valueStdDev: bigint; /** * genesis_count is the number of keys to insert in the store, distributed across all buckets. */ genesisCount: bigint; /** * insert_weight is the weight of insert operations. */ insertWeight: number; /** * update_weight is the weight of update operations. */ updateWeight: number; /** * get_weight is the weight of get operations. */ getWeight: number; /** * delete_weight is the weight of delete operations. */ deleteWeight: number; } export interface GeneratorParamsProtoMsg { typeUrl: '/cosmos.benchmark.module.v1.GeneratorParams'; value: Uint8Array; } /** * GenesisParams defines the genesis parameters for the benchmark module. * @name GeneratorParamsSDKType * @package cosmos.benchmark.module.v1 * @see proto type: cosmos.benchmark.module.v1.GeneratorParams */ export interface GeneratorParamsSDKType { seed: bigint; bucket_count: bigint; key_mean: bigint; key_std_dev: bigint; value_mean: bigint; value_std_dev: bigint; genesis_count: bigint; insert_weight: number; update_weight: number; get_weight: number; delete_weight: number; } /** * Module is the config object of the benchmark module. * @name Module * @package cosmos.benchmark.module.v1 * @see proto type: cosmos.benchmark.module.v1.Module */ export declare const Module: { typeUrl: "/cosmos.benchmark.module.v1.Module"; aminoType: "cosmos-sdk/Module"; is(o: any): o is Module; isSDK(o: any): o is ModuleSDKType; encode(message: Module, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Module; fromJSON(object: any): Module; toJSON(message: Module): JsonSafe; fromPartial(object: Partial): Module; fromProtoMsg(message: ModuleProtoMsg): Module; toProto(message: Module): Uint8Array; toProtoMsg(message: Module): ModuleProtoMsg; }; /** * GenesisParams defines the genesis parameters for the benchmark module. * @name GeneratorParams * @package cosmos.benchmark.module.v1 * @see proto type: cosmos.benchmark.module.v1.GeneratorParams */ export declare const GeneratorParams: { typeUrl: "/cosmos.benchmark.module.v1.GeneratorParams"; aminoType: "cosmos-sdk/GeneratorParams"; is(o: any): o is GeneratorParams; isSDK(o: any): o is GeneratorParamsSDKType; encode(message: GeneratorParams, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GeneratorParams; fromJSON(object: any): GeneratorParams; toJSON(message: GeneratorParams): JsonSafe; fromPartial(object: Partial): GeneratorParams; fromProtoMsg(message: GeneratorParamsProtoMsg): GeneratorParams; toProto(message: GeneratorParams): Uint8Array; toProtoMsg(message: GeneratorParams): GeneratorParamsProtoMsg; }; //# sourceMappingURL=module.d.ts.map