@agoric/cosmic-proto 0.5.0-upgrade-22-dev-e2e9595.0.e2e9595 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/codegen/cosmos/benchmark/module/v1/module.d.ts +140 -0
- package/dist/codegen/cosmos/benchmark/module/v1/module.d.ts.map +1 -0
- package/dist/codegen/cosmos/benchmark/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/benchmark/module/v1/module.js.map +6 -0
- package/dist/codegen/cosmos/benchmark/v1/benchmark.d.ts +57 -0
- package/dist/codegen/cosmos/benchmark/v1/benchmark.d.ts.map +1 -0
- package/dist/codegen/cosmos/benchmark/v1/benchmark.js +1 -0
- package/dist/codegen/cosmos/benchmark/v1/benchmark.js.map +6 -0
- package/dist/codegen/cosmos/benchmark/v1/tx.d.ts +92 -0
- package/dist/codegen/cosmos/benchmark/v1/tx.d.ts.map +1 -0
- package/dist/codegen/cosmos/benchmark/v1/tx.js +1 -0
- package/dist/codegen/cosmos/benchmark/v1/tx.js.map +6 -0
- package/dist/codegen/cosmos/counter/module/v1/module.d.ts +48 -0
- package/dist/codegen/cosmos/counter/module/v1/module.d.ts.map +1 -0
- package/dist/codegen/cosmos/counter/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/counter/module/v1/module.js.map +6 -0
- package/dist/codegen/cosmos/counter/v1/query.d.ts +85 -0
- package/dist/codegen/cosmos/counter/v1/query.d.ts.map +1 -0
- package/dist/codegen/cosmos/counter/v1/query.js +1 -0
- package/dist/codegen/cosmos/counter/v1/query.js.map +6 -0
- package/dist/codegen/cosmos/counter/v1/tx.d.ts +98 -0
- package/dist/codegen/cosmos/counter/v1/tx.d.ts.map +1 -0
- package/dist/codegen/cosmos/counter/v1/tx.js +1 -0
- package/dist/codegen/cosmos/counter/v1/tx.js.map +6 -0
- package/dist/codegen/cosmos/epochs/module/v1/module.d.ts +43 -0
- package/dist/codegen/cosmos/epochs/module/v1/module.d.ts.map +1 -0
- package/dist/codegen/cosmos/epochs/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/epochs/module/v1/module.js.map +6 -0
- package/dist/codegen/cosmos/epochs/v1beta1/events.d.ts +89 -0
- package/dist/codegen/cosmos/epochs/v1beta1/events.d.ts.map +1 -0
- package/dist/codegen/cosmos/epochs/v1beta1/events.js +1 -0
- package/dist/codegen/cosmos/epochs/v1beta1/events.js.map +6 -0
- package/dist/codegen/cosmos/epochs/v1beta1/genesis.d.ts +151 -0
- package/dist/codegen/cosmos/epochs/v1beta1/genesis.d.ts.map +1 -0
- package/dist/codegen/cosmos/epochs/v1beta1/genesis.js +1 -0
- package/dist/codegen/cosmos/epochs/v1beta1/genesis.js.map +6 -0
- package/dist/codegen/cosmos/epochs/v1beta1/query.d.ts +182 -0
- package/dist/codegen/cosmos/epochs/v1beta1/query.d.ts.map +1 -0
- package/dist/codegen/cosmos/epochs/v1beta1/query.js +1 -0
- package/dist/codegen/cosmos/epochs/v1beta1/query.js.map +6 -0
- package/dist/codegen/cosmos/protocolpool/module/v1/module.d.ts +48 -0
- package/dist/codegen/cosmos/protocolpool/module/v1/module.d.ts.map +1 -0
- package/dist/codegen/cosmos/protocolpool/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/protocolpool/module/v1/module.js.map +6 -0
- package/dist/codegen/cosmos/protocolpool/v1/genesis.d.ts +55 -0
- package/dist/codegen/cosmos/protocolpool/v1/genesis.d.ts.map +1 -0
- package/dist/codegen/cosmos/protocolpool/v1/genesis.js +1 -0
- package/dist/codegen/cosmos/protocolpool/v1/genesis.js.map +6 -0
- package/dist/codegen/cosmos/protocolpool/v1/query.d.ts +365 -0
- package/dist/codegen/cosmos/protocolpool/v1/query.d.ts.map +1 -0
- package/dist/codegen/cosmos/protocolpool/v1/query.js +1 -0
- package/dist/codegen/cosmos/protocolpool/v1/query.js.map +6 -0
- package/dist/codegen/cosmos/protocolpool/v1/tx.d.ts +497 -0
- package/dist/codegen/cosmos/protocolpool/v1/tx.d.ts.map +1 -0
- package/dist/codegen/cosmos/protocolpool/v1/tx.js +1 -0
- package/dist/codegen/cosmos/protocolpool/v1/tx.js.map +6 -0
- package/dist/codegen/cosmos/protocolpool/v1/types.d.ts +111 -0
- package/dist/codegen/cosmos/protocolpool/v1/types.d.ts.map +1 -0
- package/dist/codegen/cosmos/protocolpool/v1/types.js +1 -0
- package/dist/codegen/cosmos/protocolpool/v1/types.js.map +6 -0
- package/dist/codegen/ibc/applications/transfer/v1/denomtrace.d.ts +60 -0
- package/dist/codegen/ibc/applications/transfer/v1/denomtrace.d.ts.map +1 -0
- package/dist/codegen/ibc/applications/transfer/v1/denomtrace.js +1 -0
- package/dist/codegen/ibc/applications/transfer/v1/denomtrace.js.map +6 -0
- package/dist/codegen/ibc/applications/transfer/v1/packet.d.ts +74 -0
- package/dist/codegen/ibc/applications/transfer/v1/packet.d.ts.map +1 -0
- package/dist/codegen/ibc/applications/transfer/v1/packet.js +1 -0
- package/dist/codegen/ibc/applications/transfer/v1/packet.js.map +6 -0
- package/dist/codegen/ibc/applications/transfer/v1/token.d.ts +147 -0
- package/dist/codegen/ibc/applications/transfer/v1/token.d.ts.map +1 -0
- package/dist/codegen/ibc/applications/transfer/v1/token.js +1 -0
- package/dist/codegen/ibc/applications/transfer/v1/token.js.map +6 -0
- package/dist/codegen/ibc/core/channel/v2/genesis.d.ts +167 -0
- package/dist/codegen/ibc/core/channel/v2/genesis.d.ts.map +1 -0
- package/dist/codegen/ibc/core/channel/v2/genesis.js +1 -0
- package/dist/codegen/ibc/core/channel/v2/genesis.js.map +6 -0
- package/dist/codegen/ibc/core/channel/v2/packet.d.ts +257 -0
- package/dist/codegen/ibc/core/channel/v2/packet.d.ts.map +1 -0
- package/dist/codegen/ibc/core/channel/v2/packet.js +1 -0
- package/dist/codegen/ibc/core/channel/v2/packet.js.map +6 -0
- package/dist/codegen/ibc/core/channel/v2/query.d.ts +845 -0
- package/dist/codegen/ibc/core/channel/v2/query.d.ts.map +1 -0
- package/dist/codegen/ibc/core/channel/v2/query.js +1 -0
- package/dist/codegen/ibc/core/channel/v2/query.js.map +6 -0
- package/dist/codegen/ibc/core/channel/v2/tx.d.ts +382 -0
- package/dist/codegen/ibc/core/channel/v2/tx.d.ts.map +1 -0
- package/dist/codegen/ibc/core/channel/v2/tx.js +1 -0
- package/dist/codegen/ibc/core/channel/v2/tx.js.map +6 -0
- package/dist/codegen/ibc/core/client/v2/config.d.ts +57 -0
- package/dist/codegen/ibc/core/client/v2/config.d.ts.map +1 -0
- package/dist/codegen/ibc/core/client/v2/config.js +1 -0
- package/dist/codegen/ibc/core/client/v2/config.js.map +6 -0
- package/dist/codegen/ibc/core/client/v2/counterparty.d.ts +53 -0
- package/dist/codegen/ibc/core/client/v2/counterparty.d.ts.map +1 -0
- package/dist/codegen/ibc/core/client/v2/counterparty.js +1 -0
- package/dist/codegen/ibc/core/client/v2/counterparty.js.map +6 -0
- package/dist/codegen/ibc/core/client/v2/genesis.d.ts +99 -0
- package/dist/codegen/ibc/core/client/v2/genesis.d.ts.map +1 -0
- package/dist/codegen/ibc/core/client/v2/genesis.js +1 -0
- package/dist/codegen/ibc/core/client/v2/genesis.js.map +6 -0
- package/dist/codegen/ibc/core/client/v2/query.d.ts +185 -0
- package/dist/codegen/ibc/core/client/v2/query.d.ts.map +1 -0
- package/dist/codegen/ibc/core/client/v2/query.js +1 -0
- package/dist/codegen/ibc/core/client/v2/query.js.map +6 -0
- package/dist/codegen/ibc/core/client/v2/tx.d.ts +201 -0
- package/dist/codegen/ibc/core/client/v2/tx.d.ts.map +1 -0
- package/dist/codegen/ibc/core/client/v2/tx.js +1 -0
- package/dist/codegen/ibc/core/client/v2/tx.js.map +6 -0
- package/dist/codegen/ibc/core/commitment/v2/commitment.d.ts +135 -0
- package/dist/codegen/ibc/core/commitment/v2/commitment.d.ts.map +1 -0
- package/dist/codegen/ibc/core/commitment/v2/commitment.js +1 -0
- package/dist/codegen/ibc/core/commitment/v2/commitment.js.map +6 -0
- package/dist/codegen/registry.d.ts +37 -0
- package/dist/codegen/registry.d.ts.map +1 -0
- package/dist/codegen/registry.js +1 -0
- package/dist/codegen/registry.js.map +6 -0
- package/dist/codegen/types.d.ts +75 -0
- package/dist/codegen/types.d.ts.map +1 -0
- package/dist/codegen/types.js +1 -0
- package/dist/codegen/types.js.map +6 -0
- package/dist/type-url-annotations.d.ts +18 -0
- package/dist/type-url-annotations.d.ts.map +1 -0
- package/dist/type-url-annotations.js +1 -0
- package/dist/type-url-annotations.js.map +6 -0
- package/package.json +3 -3
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from '../../../../binary.js';
|
|
2
|
+
import { type JsonSafe } from '../../../../json-safe.js';
|
|
3
|
+
/**
|
|
4
|
+
* Module is the config object of the benchmark module.
|
|
5
|
+
* @name Module
|
|
6
|
+
* @package cosmos.benchmark.module.v1
|
|
7
|
+
* @see proto type: cosmos.benchmark.module.v1.Module
|
|
8
|
+
*/
|
|
9
|
+
export interface Module {
|
|
10
|
+
genesisParams?: GeneratorParams;
|
|
11
|
+
}
|
|
12
|
+
export interface ModuleProtoMsg {
|
|
13
|
+
typeUrl: '/cosmos.benchmark.module.v1.Module';
|
|
14
|
+
value: Uint8Array;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Module is the config object of the benchmark module.
|
|
18
|
+
* @name ModuleSDKType
|
|
19
|
+
* @package cosmos.benchmark.module.v1
|
|
20
|
+
* @see proto type: cosmos.benchmark.module.v1.Module
|
|
21
|
+
*/
|
|
22
|
+
export interface ModuleSDKType {
|
|
23
|
+
genesis_params?: GeneratorParamsSDKType;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* GenesisParams defines the genesis parameters for the benchmark module.
|
|
27
|
+
* @name GeneratorParams
|
|
28
|
+
* @package cosmos.benchmark.module.v1
|
|
29
|
+
* @see proto type: cosmos.benchmark.module.v1.GeneratorParams
|
|
30
|
+
*/
|
|
31
|
+
export interface GeneratorParams {
|
|
32
|
+
/**
|
|
33
|
+
* seed is the seed for the random number generator.
|
|
34
|
+
*/
|
|
35
|
+
seed: bigint;
|
|
36
|
+
/**
|
|
37
|
+
* bucket_count is the number of store keys to uniformly distribute genesis_count keys across.
|
|
38
|
+
*/
|
|
39
|
+
bucketCount: bigint;
|
|
40
|
+
/**
|
|
41
|
+
* key_mean is the mean size (in normal distribution) of keys in each bucket.
|
|
42
|
+
*/
|
|
43
|
+
keyMean: bigint;
|
|
44
|
+
/**
|
|
45
|
+
* key_std_dev is the standard deviation of key sizes in each bucket.
|
|
46
|
+
*/
|
|
47
|
+
keyStdDev: bigint;
|
|
48
|
+
/**
|
|
49
|
+
* value_mean is the mean size (in normal distribution) of values in each bucket.
|
|
50
|
+
*/
|
|
51
|
+
valueMean: bigint;
|
|
52
|
+
/**
|
|
53
|
+
* value_std_dev is the standard deviation of value sizes in each bucket.
|
|
54
|
+
*/
|
|
55
|
+
valueStdDev: bigint;
|
|
56
|
+
/**
|
|
57
|
+
* genesis_count is the number of keys to insert in the store, distributed across all buckets.
|
|
58
|
+
*/
|
|
59
|
+
genesisCount: bigint;
|
|
60
|
+
/**
|
|
61
|
+
* insert_weight is the weight of insert operations.
|
|
62
|
+
*/
|
|
63
|
+
insertWeight: number;
|
|
64
|
+
/**
|
|
65
|
+
* update_weight is the weight of update operations.
|
|
66
|
+
*/
|
|
67
|
+
updateWeight: number;
|
|
68
|
+
/**
|
|
69
|
+
* get_weight is the weight of get operations.
|
|
70
|
+
*/
|
|
71
|
+
getWeight: number;
|
|
72
|
+
/**
|
|
73
|
+
* delete_weight is the weight of delete operations.
|
|
74
|
+
*/
|
|
75
|
+
deleteWeight: number;
|
|
76
|
+
}
|
|
77
|
+
export interface GeneratorParamsProtoMsg {
|
|
78
|
+
typeUrl: '/cosmos.benchmark.module.v1.GeneratorParams';
|
|
79
|
+
value: Uint8Array;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* GenesisParams defines the genesis parameters for the benchmark module.
|
|
83
|
+
* @name GeneratorParamsSDKType
|
|
84
|
+
* @package cosmos.benchmark.module.v1
|
|
85
|
+
* @see proto type: cosmos.benchmark.module.v1.GeneratorParams
|
|
86
|
+
*/
|
|
87
|
+
export interface GeneratorParamsSDKType {
|
|
88
|
+
seed: bigint;
|
|
89
|
+
bucket_count: bigint;
|
|
90
|
+
key_mean: bigint;
|
|
91
|
+
key_std_dev: bigint;
|
|
92
|
+
value_mean: bigint;
|
|
93
|
+
value_std_dev: bigint;
|
|
94
|
+
genesis_count: bigint;
|
|
95
|
+
insert_weight: number;
|
|
96
|
+
update_weight: number;
|
|
97
|
+
get_weight: number;
|
|
98
|
+
delete_weight: number;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Module is the config object of the benchmark module.
|
|
102
|
+
* @name Module
|
|
103
|
+
* @package cosmos.benchmark.module.v1
|
|
104
|
+
* @see proto type: cosmos.benchmark.module.v1.Module
|
|
105
|
+
*/
|
|
106
|
+
export declare const Module: {
|
|
107
|
+
typeUrl: "/cosmos.benchmark.module.v1.Module";
|
|
108
|
+
aminoType: "cosmos-sdk/Module";
|
|
109
|
+
is(o: any): o is Module;
|
|
110
|
+
isSDK(o: any): o is ModuleSDKType;
|
|
111
|
+
encode(message: Module, writer?: BinaryWriter): BinaryWriter;
|
|
112
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Module;
|
|
113
|
+
fromJSON(object: any): Module;
|
|
114
|
+
toJSON(message: Module): JsonSafe<Module>;
|
|
115
|
+
fromPartial(object: Partial<Module>): Module;
|
|
116
|
+
fromProtoMsg(message: ModuleProtoMsg): Module;
|
|
117
|
+
toProto(message: Module): Uint8Array;
|
|
118
|
+
toProtoMsg(message: Module): ModuleProtoMsg;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* GenesisParams defines the genesis parameters for the benchmark module.
|
|
122
|
+
* @name GeneratorParams
|
|
123
|
+
* @package cosmos.benchmark.module.v1
|
|
124
|
+
* @see proto type: cosmos.benchmark.module.v1.GeneratorParams
|
|
125
|
+
*/
|
|
126
|
+
export declare const GeneratorParams: {
|
|
127
|
+
typeUrl: "/cosmos.benchmark.module.v1.GeneratorParams";
|
|
128
|
+
aminoType: "cosmos-sdk/GeneratorParams";
|
|
129
|
+
is(o: any): o is GeneratorParams;
|
|
130
|
+
isSDK(o: any): o is GeneratorParamsSDKType;
|
|
131
|
+
encode(message: GeneratorParams, writer?: BinaryWriter): BinaryWriter;
|
|
132
|
+
decode(input: BinaryReader | Uint8Array, length?: number): GeneratorParams;
|
|
133
|
+
fromJSON(object: any): GeneratorParams;
|
|
134
|
+
toJSON(message: GeneratorParams): JsonSafe<GeneratorParams>;
|
|
135
|
+
fromPartial(object: Partial<GeneratorParams>): GeneratorParams;
|
|
136
|
+
fromProtoMsg(message: GeneratorParamsProtoMsg): GeneratorParams;
|
|
137
|
+
toProto(message: GeneratorParams): Uint8Array;
|
|
138
|
+
toProtoMsg(message: GeneratorParams): GeneratorParamsProtoMsg;
|
|
139
|
+
};
|
|
140
|
+
//# sourceMappingURL=module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../../src/codegen/cosmos/benchmark/module/v1/module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEnE,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD;;;;;GAKG;AACH,MAAM,WAAW,MAAM;IACrB,aAAa,CAAC,EAAE,eAAe,CAAC;CACjC;AACD,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,oCAAoC,CAAC;IAC9C,KAAK,EAAE,UAAU,CAAC;CACnB;AACD;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B,cAAc,CAAC,EAAE,sBAAsB,CAAC;CACzC;AACD;;;;;GAKG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAE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GAAG,MAAM;0BAQtB,cAAc,GAAG,MAAM;qBAG5B,MAAM,GAAG,UAAU;wBAGhB,MAAM,GAAG,cAAc;CAM5C,CAAC;AAgBF;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;UAGpB,GAAG,GAAG,CAAC,IAAI,eAAe;aAiBvB,GAAG,GAAG,CAAC,IAAI,sBAAsB;oBAkB/B,eAAe,WAChB,YAAY,GACnB,YAAY;kBAoCD,YAAY,GAAG,UAAU,WAAW,MAAM,GAAG,eAAe;qBAgDzD,GAAG,GAAG,eAAe;oBAiCtB,eAAe,GAAG,QAAQ,CAAC,eAAe,CAAC;wBAyBvC,OAAO,CAAC,eAAe,CAAC,GAAG,eAAe;0BAoCxC,uBAAuB,GAAG,eAAe;qBAG9C,eAAe,GAAG,UAAU;wBAGzB,eAAe,GAAG,uBAAuB;CAM9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{BinaryReader as e,BinaryWriter as t}from"../../../../binary.js";import{isSet as n}from"../../../../helpers.js";import"../../../../json-safe.js";export const Module={typeUrl:"/cosmos.benchmark.module.v1.Module",aminoType:"cosmos-sdk/Module",is:e=>e&&e.$typeUrl===Module.typeUrl,isSDK:e=>e&&e.$typeUrl===Module.typeUrl,encode:(e,n=t.create())=>(void 0!==e.genesisParams&&GeneratorParams.encode(e.genesisParams,n.uint32(10).fork()).ldelim(),n),decode(t,n){const i=t instanceof e?t:new e(t);let o=void 0===n?i.len:i.pos+n;const a={genesisParams:void 0};for(;i.pos<o;){const e=i.uint32();e>>>3==1?a.genesisParams=GeneratorParams.decode(i,i.uint32()):i.skipType(7&e)}return a},fromJSON:e=>({genesisParams:n(e.genesisParams)?GeneratorParams.fromJSON(e.genesisParams):void 0}),toJSON(e){const t={};return void 0!==e.genesisParams&&(t.genesisParams=e.genesisParams?GeneratorParams.toJSON(e.genesisParams):void 0),t},fromPartial(e){const t={genesisParams:void 0};return t.genesisParams=void 0!==e.genesisParams&&null!==e.genesisParams?GeneratorParams.fromPartial(e.genesisParams):void 0,t},fromProtoMsg:e=>Module.decode(e.value),toProto:e=>Module.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/cosmos.benchmark.module.v1.Module",value:Module.encode(e).finish()})};function i(){return{seed:BigInt(0),bucketCount:BigInt(0),keyMean:BigInt(0),keyStdDev:BigInt(0),valueMean:BigInt(0),valueStdDev:BigInt(0),genesisCount:BigInt(0),insertWeight:0,updateWeight:0,getWeight:0,deleteWeight:0}}export const GeneratorParams={typeUrl:"/cosmos.benchmark.module.v1.GeneratorParams",aminoType:"cosmos-sdk/GeneratorParams",is:e=>e&&(e.$typeUrl===GeneratorParams.typeUrl||"bigint"==typeof e.seed&&"bigint"==typeof e.bucketCount&&"bigint"==typeof e.keyMean&&"bigint"==typeof e.keyStdDev&&"bigint"==typeof e.valueMean&&"bigint"==typeof e.valueStdDev&&"bigint"==typeof e.genesisCount&&"number"==typeof e.insertWeight&&"number"==typeof e.updateWeight&&"number"==typeof e.getWeight&&"number"==typeof e.deleteWeight),isSDK:e=>e&&(e.$typeUrl===GeneratorParams.typeUrl||"bigint"==typeof e.seed&&"bigint"==typeof e.bucket_count&&"bigint"==typeof e.key_mean&&"bigint"==typeof e.key_std_dev&&"bigint"==typeof e.value_mean&&"bigint"==typeof e.value_std_dev&&"bigint"==typeof e.genesis_count&&"number"==typeof e.insert_weight&&"number"==typeof e.update_weight&&"number"==typeof e.get_weight&&"number"==typeof e.delete_weight),encode:(e,n=t.create())=>(e.seed!==BigInt(0)&&n.uint32(8).uint64(e.seed),e.bucketCount!==BigInt(0)&&n.uint32(16).uint64(e.bucketCount),e.keyMean!==BigInt(0)&&n.uint32(24).uint64(e.keyMean),e.keyStdDev!==BigInt(0)&&n.uint32(32).uint64(e.keyStdDev),e.valueMean!==BigInt(0)&&n.uint32(48).uint64(e.valueMean),e.valueStdDev!==BigInt(0)&&n.uint32(56).uint64(e.valueStdDev),e.genesisCount!==BigInt(0)&&n.uint32(64).uint64(e.genesisCount),0!==e.insertWeight&&n.uint32(77).float(e.insertWeight),0!==e.updateWeight&&n.uint32(85).float(e.updateWeight),0!==e.getWeight&&n.uint32(101).float(e.getWeight),0!==e.deleteWeight&&n.uint32(93).float(e.deleteWeight),n),decode(t,n){const o=t instanceof e?t:new e(t);let a=void 0===n?o.len:o.pos+n;const s=i();for(;o.pos<a;){const e=o.uint32();switch(e>>>3){case 1:s.seed=o.uint64();break;case 2:s.bucketCount=o.uint64();break;case 3:s.keyMean=o.uint64();break;case 4:s.keyStdDev=o.uint64();break;case 6:s.valueMean=o.uint64();break;case 7:s.valueStdDev=o.uint64();break;case 8:s.genesisCount=o.uint64();break;case 9:s.insertWeight=o.float();break;case 10:s.updateWeight=o.float();break;case 12:s.getWeight=o.float();break;case 11:s.deleteWeight=o.float();break;default:o.skipType(7&e)}}return s},fromJSON:e=>({seed:n(e.seed)?BigInt(e.seed.toString()):BigInt(0),bucketCount:n(e.bucketCount)?BigInt(e.bucketCount.toString()):BigInt(0),keyMean:n(e.keyMean)?BigInt(e.keyMean.toString()):BigInt(0),keyStdDev:n(e.keyStdDev)?BigInt(e.keyStdDev.toString()):BigInt(0),valueMean:n(e.valueMean)?BigInt(e.valueMean.toString()):BigInt(0),valueStdDev:n(e.valueStdDev)?BigInt(e.valueStdDev.toString()):BigInt(0),genesisCount:n(e.genesisCount)?BigInt(e.genesisCount.toString()):BigInt(0),insertWeight:n(e.insertWeight)?Number(e.insertWeight):0,updateWeight:n(e.updateWeight)?Number(e.updateWeight):0,getWeight:n(e.getWeight)?Number(e.getWeight):0,deleteWeight:n(e.deleteWeight)?Number(e.deleteWeight):0}),toJSON(e){const t={};return void 0!==e.seed&&(t.seed=(e.seed||BigInt(0)).toString()),void 0!==e.bucketCount&&(t.bucketCount=(e.bucketCount||BigInt(0)).toString()),void 0!==e.keyMean&&(t.keyMean=(e.keyMean||BigInt(0)).toString()),void 0!==e.keyStdDev&&(t.keyStdDev=(e.keyStdDev||BigInt(0)).toString()),void 0!==e.valueMean&&(t.valueMean=(e.valueMean||BigInt(0)).toString()),void 0!==e.valueStdDev&&(t.valueStdDev=(e.valueStdDev||BigInt(0)).toString()),void 0!==e.genesisCount&&(t.genesisCount=(e.genesisCount||BigInt(0)).toString()),void 0!==e.insertWeight&&(t.insertWeight=e.insertWeight),void 0!==e.updateWeight&&(t.updateWeight=e.updateWeight),void 0!==e.getWeight&&(t.getWeight=e.getWeight),void 0!==e.deleteWeight&&(t.deleteWeight=e.deleteWeight),t},fromPartial(e){const t=i();return t.seed=void 0!==e.seed&&null!==e.seed?BigInt(e.seed.toString()):BigInt(0),t.bucketCount=void 0!==e.bucketCount&&null!==e.bucketCount?BigInt(e.bucketCount.toString()):BigInt(0),t.keyMean=void 0!==e.keyMean&&null!==e.keyMean?BigInt(e.keyMean.toString()):BigInt(0),t.keyStdDev=void 0!==e.keyStdDev&&null!==e.keyStdDev?BigInt(e.keyStdDev.toString()):BigInt(0),t.valueMean=void 0!==e.valueMean&&null!==e.valueMean?BigInt(e.valueMean.toString()):BigInt(0),t.valueStdDev=void 0!==e.valueStdDev&&null!==e.valueStdDev?BigInt(e.valueStdDev.toString()):BigInt(0),t.genesisCount=void 0!==e.genesisCount&&null!==e.genesisCount?BigInt(e.genesisCount.toString()):BigInt(0),t.insertWeight=e.insertWeight??0,t.updateWeight=e.updateWeight??0,t.getWeight=e.getWeight??0,t.deleteWeight=e.deleteWeight??0,t},fromProtoMsg:e=>GeneratorParams.decode(e.value),toProto:e=>GeneratorParams.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/cosmos.benchmark.module.v1.GeneratorParams",value:GeneratorParams.encode(e).finish()})};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../src/codegen/cosmos/benchmark/module/v1/module.ts"],
|
|
4
|
+
"mappings": "aACA,OAAS,gBAAAA,EAAc,gBAAAC,MAAoB,wBAC3C,OAAS,SAAAC,MAAa,yBACtB,MAA8B,2BA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Q,KACNO,EAAO,OAAS,QAAaA,EAAO,OAAS,KACzC,OAAOA,EAAO,KAAK,SAAS,CAAC,EAC7B,OAAO,CAAC,EACdP,EAAQ,YACNO,EAAO,cAAgB,QAAaA,EAAO,cAAgB,KACvD,OAAOA,EAAO,YAAY,SAAS,CAAC,EACpC,OAAO,CAAC,EACdP,EAAQ,QACNO,EAAO,UAAY,QAAaA,EAAO,UAAY,KAC/C,OAAOA,EAAO,QAAQ,SAAS,CAAC,EAChC,OAAO,CAAC,EACdP,EAAQ,UACNO,EAAO,YAAc,QAAaA,EAAO,YAAc,KACnD,OAAOA,EAAO,UAAU,SAAS,CAAC,EAClC,OAAO,CAAC,EACdP,EAAQ,UACNO,EAAO,YAAc,QAAaA,EAAO,YAAc,KACnD,OAAOA,EAAO,UAAU,SAAS,CAAC,EAClC,OAAO,CAAC,EACdP,EAAQ,YACNO,EAAO,cAAgB,QAAaA,EAAO,cAAgB,KACvD,OAAOA,EAAO,YAAY,SAAS,CAAC,EACpC,OAAO,CAAC,EACdP,EAAQ,aACNO,EAAO,eAAiB,QAAaA,EAAO,eAAiB,KACzD,OAAOA,EAAO,aAAa,SAAS,CAAC,EACrC,OAAO,CAAC,EACdP,EAAQ,aAAeO,EAAO,cAAgB,EAC9CP,EAAQ,aAAeO,EAAO,cAAgB,EAC9CP,EAAQ,UAAYO,EAAO,WAAa,EACxCP,EAAQ,aAAeO,EAAO,cAAgB,EACvCP,CACT,EACA,aAAaA,EAAmD,CAC9D,OAAO,gBAAgB,OAAOA,EAAQ,KAAK,CAC7C,EACA,QAAQA,EAAsC,CAC5C,OAAO,gBAAgB,OAAOA,CAAO,EAAE,OAAO,CAChD,EACA,WAAWA,EAAmD,CAC5D,MAAO,CACL,QAAS,8CACT,MAAO,gBAAgB,OAAOA,CAAO,EAAE,OAAO,CAChD,CACF,CACF",
|
|
5
|
+
"names": ["BinaryReader", "BinaryWriter", "isSet", "createBaseModule", "o", "message", "writer", "input", "length", "reader", "end", "tag", "object", "obj", "createBaseGeneratorParams"]
|
|
6
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from '../../../binary.js';
|
|
2
|
+
import { type JsonSafe } from '../../../json-safe.js';
|
|
3
|
+
/**
|
|
4
|
+
* Op is a message describing a benchmark operation.
|
|
5
|
+
* @name Op
|
|
6
|
+
* @package cosmos.benchmark.v1
|
|
7
|
+
* @see proto type: cosmos.benchmark.v1.Op
|
|
8
|
+
*/
|
|
9
|
+
export interface Op {
|
|
10
|
+
seed: bigint;
|
|
11
|
+
actor: string;
|
|
12
|
+
keyLength: bigint;
|
|
13
|
+
valueLength: bigint;
|
|
14
|
+
iterations: number;
|
|
15
|
+
delete: boolean;
|
|
16
|
+
exists: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface OpProtoMsg {
|
|
19
|
+
typeUrl: '/cosmos.benchmark.v1.Op';
|
|
20
|
+
value: Uint8Array;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Op is a message describing a benchmark operation.
|
|
24
|
+
* @name OpSDKType
|
|
25
|
+
* @package cosmos.benchmark.v1
|
|
26
|
+
* @see proto type: cosmos.benchmark.v1.Op
|
|
27
|
+
*/
|
|
28
|
+
export interface OpSDKType {
|
|
29
|
+
seed: bigint;
|
|
30
|
+
actor: string;
|
|
31
|
+
key_length: bigint;
|
|
32
|
+
value_length: bigint;
|
|
33
|
+
iterations: number;
|
|
34
|
+
delete: boolean;
|
|
35
|
+
exists: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Op is a message describing a benchmark operation.
|
|
39
|
+
* @name Op
|
|
40
|
+
* @package cosmos.benchmark.v1
|
|
41
|
+
* @see proto type: cosmos.benchmark.v1.Op
|
|
42
|
+
*/
|
|
43
|
+
export declare const Op: {
|
|
44
|
+
typeUrl: "/cosmos.benchmark.v1.Op";
|
|
45
|
+
aminoType: "cosmos-sdk/Op";
|
|
46
|
+
is(o: any): o is Op;
|
|
47
|
+
isSDK(o: any): o is OpSDKType;
|
|
48
|
+
encode(message: Op, writer?: BinaryWriter): BinaryWriter;
|
|
49
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Op;
|
|
50
|
+
fromJSON(object: any): Op;
|
|
51
|
+
toJSON(message: Op): JsonSafe<Op>;
|
|
52
|
+
fromPartial(object: Partial<Op>): Op;
|
|
53
|
+
fromProtoMsg(message: OpProtoMsg): Op;
|
|
54
|
+
toProto(message: Op): Uint8Array;
|
|
55
|
+
toProtoMsg(message: Op): OpProtoMsg;
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=benchmark.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"benchmark.d.ts","sourceRoot":"","sources":["../../../../../src/codegen/cosmos/benchmark/v1/benchmark.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD;;;;;GAKG;AACH,MAAM,WAAW,EAAE;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;CACjB;AACD,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,yBAAyB,CAAC;IACnC,KAAK,EAAE,UAAU,CAAC;CACnB;AACD;;;;;GAKG;AACH,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;CACjB;AAYD;;;;;GAKG;AACH,eAAO,MAAM,EAAE;;;UAGP,GAAG,GAAG,CAAC,IAAI,EAAE;aAaV,GAAG,GAAG,CAAC,IAAI,SAAS;oBAclB,EAAE,WACH,YAAY,GACnB,YAAY;kBAwBD,YAAY,GAAG,UAAU,WAAW,MAAM,GAAG,EAAE;qBAoC5C,GAAG,GAAG,EAAE;oBAeT,EAAE,GAAG,QAAQ,CAAC,EAAE,CAAC;wBAeb,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE;0BAoBd,UAAU,GAAG,EAAE;qBAGpB,EAAE,GAAG,UAAU;wBAGZ,EAAE,GAAG,UAAU;CAMpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{BinaryReader as e,BinaryWriter as t}from"../../../binary.js";import{isSet as n}from"../../../helpers.js";import"../../../json-safe.js";function i(){return{seed:BigInt(0),actor:"",keyLength:BigInt(0),valueLength:BigInt(0),iterations:0,delete:!1,exists:!1}}export const Op={typeUrl:"/cosmos.benchmark.v1.Op",aminoType:"cosmos-sdk/Op",is:e=>e&&(e.$typeUrl===Op.typeUrl||"bigint"==typeof e.seed&&"string"==typeof e.actor&&"bigint"==typeof e.keyLength&&"bigint"==typeof e.valueLength&&"number"==typeof e.iterations&&"boolean"==typeof e.delete&&"boolean"==typeof e.exists),isSDK:e=>e&&(e.$typeUrl===Op.typeUrl||"bigint"==typeof e.seed&&"string"==typeof e.actor&&"bigint"==typeof e.key_length&&"bigint"==typeof e.value_length&&"number"==typeof e.iterations&&"boolean"==typeof e.delete&&"boolean"==typeof e.exists),encode:(e,n=t.create())=>(e.seed!==BigInt(0)&&n.uint32(8).uint64(e.seed),""!==e.actor&&n.uint32(18).string(e.actor),e.keyLength!==BigInt(0)&&n.uint32(24).uint64(e.keyLength),e.valueLength!==BigInt(0)&&n.uint32(32).uint64(e.valueLength),0!==e.iterations&&n.uint32(40).uint32(e.iterations),!0===e.delete&&n.uint32(48).bool(e.delete),!0===e.exists&&n.uint32(56).bool(e.exists),n),decode(t,n){const o=t instanceof e?t:new e(t);let s=void 0===n?o.len:o.pos+n;const r=i();for(;o.pos<s;){const e=o.uint32();switch(e>>>3){case 1:r.seed=o.uint64();break;case 2:r.actor=o.string();break;case 3:r.keyLength=o.uint64();break;case 4:r.valueLength=o.uint64();break;case 5:r.iterations=o.uint32();break;case 6:r.delete=o.bool();break;case 7:r.exists=o.bool();break;default:o.skipType(7&e)}}return r},fromJSON:e=>({seed:n(e.seed)?BigInt(e.seed.toString()):BigInt(0),actor:n(e.actor)?String(e.actor):"",keyLength:n(e.keyLength)?BigInt(e.keyLength.toString()):BigInt(0),valueLength:n(e.valueLength)?BigInt(e.valueLength.toString()):BigInt(0),iterations:n(e.iterations)?Number(e.iterations):0,delete:!!n(e.delete)&&!!e.delete,exists:!!n(e.exists)&&!!e.exists}),toJSON(e){const t={};return void 0!==e.seed&&(t.seed=(e.seed||BigInt(0)).toString()),void 0!==e.actor&&(t.actor=e.actor),void 0!==e.keyLength&&(t.keyLength=(e.keyLength||BigInt(0)).toString()),void 0!==e.valueLength&&(t.valueLength=(e.valueLength||BigInt(0)).toString()),void 0!==e.iterations&&(t.iterations=Math.round(e.iterations)),void 0!==e.delete&&(t.delete=e.delete),void 0!==e.exists&&(t.exists=e.exists),t},fromPartial(e){const t=i();return t.seed=void 0!==e.seed&&null!==e.seed?BigInt(e.seed.toString()):BigInt(0),t.actor=e.actor??"",t.keyLength=void 0!==e.keyLength&&null!==e.keyLength?BigInt(e.keyLength.toString()):BigInt(0),t.valueLength=void 0!==e.valueLength&&null!==e.valueLength?BigInt(e.valueLength.toString()):BigInt(0),t.iterations=e.iterations??0,t.delete=e.delete??!1,t.exists=e.exists??!1,t},fromProtoMsg:e=>Op.decode(e.value),toProto:e=>Op.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/cosmos.benchmark.v1.Op",value:Op.encode(e).finish()})};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3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AO,QAAU,GAClCP,EAAQ,OAASO,EAAO,QAAU,GAC3BP,CACT,EACA,aAAaA,EAAyB,CACpC,OAAO,GAAG,OAAOA,EAAQ,KAAK,CAChC,EACA,QAAQA,EAAyB,CAC/B,OAAO,GAAG,OAAOA,CAAO,EAAE,OAAO,CACnC,EACA,WAAWA,EAAyB,CAClC,MAAO,CACL,QAAS,0BACT,MAAO,GAAG,OAAOA,CAAO,EAAE,OAAO,CACnC,CACF,CACF",
|
|
5
|
+
"names": ["BinaryReader", "BinaryWriter", "isSet", "createBaseOp", "o", "message", "writer", "input", "length", "reader", "end", "tag", "object", "obj"]
|
|
6
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Op, type OpSDKType } from './benchmark.js';
|
|
2
|
+
import { BinaryReader, BinaryWriter } from '../../../binary.js';
|
|
3
|
+
import { type JsonSafe } from '../../../json-safe.js';
|
|
4
|
+
/**
|
|
5
|
+
* MsgLoadTestOps defines a message containing a sequence of load test operations.
|
|
6
|
+
* @name MsgLoadTest
|
|
7
|
+
* @package cosmos.benchmark.v1
|
|
8
|
+
* @see proto type: cosmos.benchmark.v1.MsgLoadTest
|
|
9
|
+
*/
|
|
10
|
+
export interface MsgLoadTest {
|
|
11
|
+
caller: Uint8Array;
|
|
12
|
+
ops: Op[];
|
|
13
|
+
}
|
|
14
|
+
export interface MsgLoadTestProtoMsg {
|
|
15
|
+
typeUrl: '/cosmos.benchmark.v1.MsgLoadTest';
|
|
16
|
+
value: Uint8Array;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* MsgLoadTestOps defines a message containing a sequence of load test operations.
|
|
20
|
+
* @name MsgLoadTestSDKType
|
|
21
|
+
* @package cosmos.benchmark.v1
|
|
22
|
+
* @see proto type: cosmos.benchmark.v1.MsgLoadTest
|
|
23
|
+
*/
|
|
24
|
+
export interface MsgLoadTestSDKType {
|
|
25
|
+
caller: Uint8Array;
|
|
26
|
+
ops: OpSDKType[];
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* MsgLoadTestResponse defines a message containing the results of a load test operation.
|
|
30
|
+
* @name MsgLoadTestResponse
|
|
31
|
+
* @package cosmos.benchmark.v1
|
|
32
|
+
* @see proto type: cosmos.benchmark.v1.MsgLoadTestResponse
|
|
33
|
+
*/
|
|
34
|
+
export interface MsgLoadTestResponse {
|
|
35
|
+
totalTime: bigint;
|
|
36
|
+
totalErrors: bigint;
|
|
37
|
+
}
|
|
38
|
+
export interface MsgLoadTestResponseProtoMsg {
|
|
39
|
+
typeUrl: '/cosmos.benchmark.v1.MsgLoadTestResponse';
|
|
40
|
+
value: Uint8Array;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* MsgLoadTestResponse defines a message containing the results of a load test operation.
|
|
44
|
+
* @name MsgLoadTestResponseSDKType
|
|
45
|
+
* @package cosmos.benchmark.v1
|
|
46
|
+
* @see proto type: cosmos.benchmark.v1.MsgLoadTestResponse
|
|
47
|
+
*/
|
|
48
|
+
export interface MsgLoadTestResponseSDKType {
|
|
49
|
+
total_time: bigint;
|
|
50
|
+
total_errors: bigint;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* MsgLoadTestOps defines a message containing a sequence of load test operations.
|
|
54
|
+
* @name MsgLoadTest
|
|
55
|
+
* @package cosmos.benchmark.v1
|
|
56
|
+
* @see proto type: cosmos.benchmark.v1.MsgLoadTest
|
|
57
|
+
*/
|
|
58
|
+
export declare const MsgLoadTest: {
|
|
59
|
+
typeUrl: "/cosmos.benchmark.v1.MsgLoadTest";
|
|
60
|
+
aminoType: "cosmos-sdk/tools/benchmark/v1/MsgLoadTest";
|
|
61
|
+
is(o: any): o is MsgLoadTest;
|
|
62
|
+
isSDK(o: any): o is MsgLoadTestSDKType;
|
|
63
|
+
encode(message: MsgLoadTest, writer?: BinaryWriter): BinaryWriter;
|
|
64
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgLoadTest;
|
|
65
|
+
fromJSON(object: any): MsgLoadTest;
|
|
66
|
+
toJSON(message: MsgLoadTest): JsonSafe<MsgLoadTest>;
|
|
67
|
+
fromPartial(object: Partial<MsgLoadTest>): MsgLoadTest;
|
|
68
|
+
fromProtoMsg(message: MsgLoadTestProtoMsg): MsgLoadTest;
|
|
69
|
+
toProto(message: MsgLoadTest): Uint8Array;
|
|
70
|
+
toProtoMsg(message: MsgLoadTest): MsgLoadTestProtoMsg;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* MsgLoadTestResponse defines a message containing the results of a load test operation.
|
|
74
|
+
* @name MsgLoadTestResponse
|
|
75
|
+
* @package cosmos.benchmark.v1
|
|
76
|
+
* @see proto type: cosmos.benchmark.v1.MsgLoadTestResponse
|
|
77
|
+
*/
|
|
78
|
+
export declare const MsgLoadTestResponse: {
|
|
79
|
+
typeUrl: "/cosmos.benchmark.v1.MsgLoadTestResponse";
|
|
80
|
+
aminoType: "cosmos-sdk/MsgLoadTestResponse";
|
|
81
|
+
is(o: any): o is MsgLoadTestResponse;
|
|
82
|
+
isSDK(o: any): o is MsgLoadTestResponseSDKType;
|
|
83
|
+
encode(message: MsgLoadTestResponse, writer?: BinaryWriter): BinaryWriter;
|
|
84
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgLoadTestResponse;
|
|
85
|
+
fromJSON(object: any): MsgLoadTestResponse;
|
|
86
|
+
toJSON(message: MsgLoadTestResponse): JsonSafe<MsgLoadTestResponse>;
|
|
87
|
+
fromPartial(object: Partial<MsgLoadTestResponse>): MsgLoadTestResponse;
|
|
88
|
+
fromProtoMsg(message: MsgLoadTestResponseProtoMsg): MsgLoadTestResponse;
|
|
89
|
+
toProto(message: MsgLoadTestResponse): Uint8Array;
|
|
90
|
+
toProtoMsg(message: MsgLoadTestResponse): MsgLoadTestResponseProtoMsg;
|
|
91
|
+
};
|
|
92
|
+
//# sourceMappingURL=tx.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tx.d.ts","source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qBAGtC,WAAW,GAAG,UAAU;wBAGrB,WAAW,GAAG,mBAAmB;CAMtD,CAAC;AAOF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;UAGxB,GAAG,GAAG,CAAC,IAAI,mBAAmB;aAO3B,GAAG,GAAG,CAAC,IAAI,0BAA0B;oBASnC,mBAAmB,WACpB,YAAY,GACnB,YAAY;kBAUN,YAAY,GAAG,UAAU,WACvB,MAAM,GACd,mBAAmB;qBAqBL,GAAG,GAAG,mBAAmB;oBAU1B,mBAAmB,GAAG,QAAQ,CAAC,mBAAmB,CAAC;wBAQ/C,OAAO,CAAC,mBAAmB,CAAC,GAAG,mBAAmB;0BAYhD,2BAA2B,GAAG,mBAAmB;qBAGtD,mBAAmB,GAAG,UAAU;wBAG7B,mBAAmB,GAAG,2BAA2B;CAMtE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Op as t}from"./benchmark.js";import{BinaryReader as o,BinaryWriter as e}from"../../../binary.js";import{isSet as r}from"../../../helpers.js";import{decodeBase64 as s}from"@endo/base64";import{encodeBase64 as a}from"@endo/base64";import"../../../json-safe.js";function n(){return{caller:new Uint8Array,ops:[]}}export const MsgLoadTest={typeUrl:"/cosmos.benchmark.v1.MsgLoadTest",aminoType:"cosmos-sdk/tools/benchmark/v1/MsgLoadTest",is:o=>o&&(o.$typeUrl===MsgLoadTest.typeUrl||(o.caller instanceof Uint8Array||"string"==typeof o.caller)&&Array.isArray(o.ops)&&(!o.ops.length||t.is(o.ops[0]))),isSDK:o=>o&&(o.$typeUrl===MsgLoadTest.typeUrl||(o.caller instanceof Uint8Array||"string"==typeof o.caller)&&Array.isArray(o.ops)&&(!o.ops.length||t.isSDK(o.ops[0]))),encode(o,r=e.create()){0!==o.caller.length&&r.uint32(10).bytes(o.caller);for(const e of o.ops)t.encode(e,r.uint32(18).fork()).ldelim();return r},decode(e,r){const s=e instanceof o?e:new o(e);let a=void 0===r?s.len:s.pos+r;const i=n();for(;s.pos<a;){const o=s.uint32();switch(o>>>3){case 1:i.caller=s.bytes();break;case 2:i.ops.push(t.decode(s,s.uint32()));break;default:s.skipType(7&o)}}return i},fromJSON:o=>({caller:r(o.caller)?s(o.caller):new Uint8Array,ops:Array.isArray(o?.ops)?o.ops.map((o=>t.fromJSON(o))):[]}),toJSON(o){const e={};return void 0!==o.caller&&(e.caller=a(void 0!==o.caller?o.caller:new Uint8Array)),o.ops?e.ops=o.ops.map((o=>o?t.toJSON(o):void 0)):e.ops=[],e},fromPartial(o){const e=n();return e.caller=o.caller??new Uint8Array,e.ops=o.ops?.map((o=>t.fromPartial(o)))||[],e},fromProtoMsg:t=>MsgLoadTest.decode(t.value),toProto:t=>MsgLoadTest.encode(t).finish(),toProtoMsg:t=>({typeUrl:"/cosmos.benchmark.v1.MsgLoadTest",value:MsgLoadTest.encode(t).finish()})};function i(){return{totalTime:BigInt(0),totalErrors:BigInt(0)}}export const MsgLoadTestResponse={typeUrl:"/cosmos.benchmark.v1.MsgLoadTestResponse",aminoType:"cosmos-sdk/MsgLoadTestResponse",is:t=>t&&(t.$typeUrl===MsgLoadTestResponse.typeUrl||"bigint"==typeof t.totalTime&&"bigint"==typeof t.totalErrors),isSDK:t=>t&&(t.$typeUrl===MsgLoadTestResponse.typeUrl||"bigint"==typeof t.total_time&&"bigint"==typeof t.total_errors),encode:(t,o=e.create())=>(t.totalTime!==BigInt(0)&&o.uint32(8).uint64(t.totalTime),t.totalErrors!==BigInt(0)&&o.uint32(16).uint64(t.totalErrors),o),decode(t,e){const r=t instanceof o?t:new o(t);let s=void 0===e?r.len:r.pos+e;const a=i();for(;r.pos<s;){const t=r.uint32();switch(t>>>3){case 1:a.totalTime=r.uint64();break;case 2:a.totalErrors=r.uint64();break;default:r.skipType(7&t)}}return a},fromJSON:t=>({totalTime:r(t.totalTime)?BigInt(t.totalTime.toString()):BigInt(0),totalErrors:r(t.totalErrors)?BigInt(t.totalErrors.toString()):BigInt(0)}),toJSON(t){const o={};return void 0!==t.totalTime&&(o.totalTime=(t.totalTime||BigInt(0)).toString()),void 0!==t.totalErrors&&(o.totalErrors=(t.totalErrors||BigInt(0)).toString()),o},fromPartial(t){const o=i();return o.totalTime=void 0!==t.totalTime&&null!==t.totalTime?BigInt(t.totalTime.toString()):BigInt(0),o.totalErrors=void 0!==t.totalErrors&&null!==t.totalErrors?BigInt(t.totalErrors.toString()):BigInt(0),o},fromProtoMsg:t=>MsgLoadTestResponse.decode(t.value),toProto:t=>MsgLoadTestResponse.encode(t).finish(),toProtoMsg:t=>({typeUrl:"/cosmos.benchmark.v1.MsgLoadTestResponse",value:MsgLoadTestResponse.encode(t).finish()})};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../src/codegen/cosmos/benchmark/v1/tx.ts"],
|
|
4
|
+
"mappings": "aACA,OAAS,MAAAA,MAA0B,iBACnC,OAAS,gBAAAC,EAAc,gBAAAC,MAAoB,qBAC3C,OAAS,SAAAC,MAAa,sBACtB,OAAS,gBAAgBC,MAAuB,eAChD,OAAS,gBAAgBC,MAAuB,eAChD,MAA8B,wBAiD9B,SAASC,GAAqC,CAC5C,MAAO,CACL,OAAQ,IAAI,WACZ,IAAK,CAAC,CACR,CACF,CAOO,aAAM,YAAc,CACzB,QAAS,mCACT,UAAW,4CACX,GAAGC,EAA0B,CAC3B,OACEA,IACCA,EAAE,WAAa,YAAY,UACxBA,EAAE,kBAAkB,YAAc,OAAOA,EAAE,QAAW,WACtD,MAAM,QAAQA,EAAE,GAAG,IAClB,CAACA,EAAE,IAAI,QAAUP,EAAG,GAAGO,EAAE,IAAI,CAAC,CAAC,GAExC,EACA,MAAMA,EAAiC,CACrC,OACEA,IACCA,EAAE,WAAa,YAAY,UACxBA,EAAE,kBAAkB,YAAc,OAAOA,EAAE,QAAW,WACtD,MAAM,QAAQA,EAAE,GAAG,IAClB,CAACA,EAAE,IAAI,QAAUP,EAAG,MAAMO,EAAE,IAAI,CA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Op", "BinaryReader", "BinaryWriter", "isSet", "bytesFromBase64", "base64FromBytes", "createBaseMsgLoadTest", "o", "message", "writer", "v", "input", "length", "reader", "end", "tag", "object", "e", "obj", "createBaseMsgLoadTestResponse"]
|
|
6
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from '../../../../binary.js';
|
|
2
|
+
import { type JsonSafe } from '../../../../json-safe.js';
|
|
3
|
+
/**
|
|
4
|
+
* Module is the config object of the counter module.
|
|
5
|
+
* @name Module
|
|
6
|
+
* @package cosmos.counter.module.v1
|
|
7
|
+
* @see proto type: cosmos.counter.module.v1.Module
|
|
8
|
+
*/
|
|
9
|
+
export interface Module {
|
|
10
|
+
/**
|
|
11
|
+
* authority defines the custom module authority. If not set, defaults to the governance module.
|
|
12
|
+
*/
|
|
13
|
+
authority: string;
|
|
14
|
+
}
|
|
15
|
+
export interface ModuleProtoMsg {
|
|
16
|
+
typeUrl: '/cosmos.counter.module.v1.Module';
|
|
17
|
+
value: Uint8Array;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Module is the config object of the counter module.
|
|
21
|
+
* @name ModuleSDKType
|
|
22
|
+
* @package cosmos.counter.module.v1
|
|
23
|
+
* @see proto type: cosmos.counter.module.v1.Module
|
|
24
|
+
*/
|
|
25
|
+
export interface ModuleSDKType {
|
|
26
|
+
authority: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Module is the config object of the counter module.
|
|
30
|
+
* @name Module
|
|
31
|
+
* @package cosmos.counter.module.v1
|
|
32
|
+
* @see proto type: cosmos.counter.module.v1.Module
|
|
33
|
+
*/
|
|
34
|
+
export declare const Module: {
|
|
35
|
+
typeUrl: "/cosmos.counter.module.v1.Module";
|
|
36
|
+
aminoType: "cosmos-sdk/Module";
|
|
37
|
+
is(o: any): o is Module;
|
|
38
|
+
isSDK(o: any): o is ModuleSDKType;
|
|
39
|
+
encode(message: Module, writer?: BinaryWriter): BinaryWriter;
|
|
40
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Module;
|
|
41
|
+
fromJSON(object: any): Module;
|
|
42
|
+
toJSON(message: Module): JsonSafe<Module>;
|
|
43
|
+
fromPartial(object: Partial<Module>): Module;
|
|
44
|
+
fromProtoMsg(message: ModuleProtoMsg): Module;
|
|
45
|
+
toProto(message: Module): Uint8Array;
|
|
46
|
+
toProtoMsg(message: Module): ModuleProtoMsg;
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../../src/codegen/cosmos/counter/module/v1/module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEnE,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD;;;;;GAKG;AACH,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AACD,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,kCAAkC,CAAC;IAC5C,KAAK,EAAE,UAAU,CAAC;CACnB;AACD;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAC;CACnB;AAMD;;;;;GAKG;AACH,eAAO,MAAM,MAAM;;;UAGX,GAAG,GAAG,CAAC,IAAI,MAAM;aAKd,GAAG,GAAG,CAAC,IAAI,aAAa;oBAMtB,MAAM,WACP,YAAY,GACnB,YAAY;kBAMD,YAAY,GAAG,UAAU,WAAW,MAAM,GAAG,MAAM;qBAkBhD,GAAG,GAAG,MAAM;oBAKb,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC;wBAKrB,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM;0BAKtB,cAAc,GAAG,MAAM;qBAG5B,MAAM,GAAG,UAAU;wBAGhB,MAAM,GAAG,cAAc;CAM5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{BinaryReader as o,BinaryWriter as t}from"../../../../binary.js";import{isSet as r}from"../../../../helpers.js";import"../../../../json-safe.js";export const Module={typeUrl:"/cosmos.counter.module.v1.Module",aminoType:"cosmos-sdk/Module",is:o=>o&&(o.$typeUrl===Module.typeUrl||"string"==typeof o.authority),isSDK:o=>o&&(o.$typeUrl===Module.typeUrl||"string"==typeof o.authority),encode:(o,r=t.create())=>(""!==o.authority&&r.uint32(10).string(o.authority),r),decode(t,r){const e=t instanceof o?t:new o(t);let i=void 0===r?e.len:e.pos+r;const s={authority:""};for(;e.pos<i;){const o=e.uint32();o>>>3==1?s.authority=e.string():e.skipType(7&o)}return s},fromJSON:o=>({authority:r(o.authority)?String(o.authority):""}),toJSON(o){const t={};return void 0!==o.authority&&(t.authority=o.authority),t},fromPartial(o){const t={authority:""};return t.authority=o.authority??"",t},fromProtoMsg:o=>Module.decode(o.value),toProto:o=>Module.encode(o).finish(),toProtoMsg:o=>({typeUrl:"/cosmos.counter.module.v1.Module",value:Module.encode(o).finish()})};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../src/codegen/cosmos/counter/module/v1/module.ts"],
|
|
4
|
+
"mappings": "aACA,OAAS,gBAAAA,EAAc,gBAAAC,MAAoB,wBAC3C,OAAS,SAAAC,MAAa,yBACtB,MAA8B,2BA0B9B,SAASC,GAA2B,CAClC,MAAO,CACL,UAAW,EACb,CACF,CAOO,aAAM,OAAS,CACpB,QAAS,mCACT,UAAW,oBACX,GAAGC,EAAqB,CACtB,OACEA,IAAMA,EAAE,WAAa,OAAO,SAAW,OAAOA,EAAE,WAAc,SAElE,EACA,MAAMA,EAA4B,CAChC,OACEA,IAAMA,EAAE,WAAa,OAAO,SAAW,OAAOA,EAAE,WAAc,SAElE,EACA,OACEC,EACAC,EAAuBL,EAAa,OAAO,EAC7B,CACd,OAAII,EAAQ,YAAc,IACxBC,EAAO,OAAO,EAAE,EAAE,OAAOD,EAAQ,SAAS,EAErCC,CACT,EACA,OAAOC,EAAkCC,EAAyB,CAChE,MAAMC,EACJF,aAAiBP,EAAeO,EAAQ,IAAIP,EAAaO,CAAK,EAChE,IAAIG,EAAMF,IAAW,OAAYC,EAAO,IAAMA,EAAO,IAAMD,EAC3D,MAAMH,EAAUF,EAAiB,EACjC,KAAOM,EAAO,IAAMC,GAAK,CACvB,MAAMC,EAAMF,EAAO,OAAO,EAC1B,OAAQE,IAAQ,EAAG,CACjB,IAAK,GACHN,EAAQ,UAAYI,EAAO,OAAO,EAClC,MACF,QACEA,EAAO,SAASE,EAAM,CAAC,EACvB,KACJ,CACF,CACA,OAAON,CACT,EACA,SAASO,EAAqB,CAC5B,MAAO,CACL,UAAWV,EAAMU,EAAO,SAAS,EAAI,OAAOA,EAAO,SAAS,EAAI,EAClE,CACF,EACA,OAAOP,EAAmC,CACxC,MAAMQ,EAAW,CAAC,EAClB,OAAAR,EAAQ,YAAc,SAAcQ,EAAI,UAAYR,EAAQ,WACrDQ,CACT,EACA,YAAYD,EAAiC,CAC3C,MAAMP,EAAUF,EAAiB,EACjC,OAAAE,EAAQ,UAAYO,EAAO,WAAa,GACjCP,CACT,EACA,aAAaA,EAAiC,CAC5C,OAAO,OAAO,OAAOA,EAAQ,KAAK,CACpC,EACA,QAAQA,EAA6B,CACnC,OAAO,OAAO,OAAOA,CAAO,EAAE,OAAO,CACvC,EACA,WAAWA,EAAiC,CAC1C,MAAO,CACL,QAAS,mCACT,MAAO,OAAO,OAAOA,CAAO,EAAE,OAAO,CACvC,CACF,CACF",
|
|
5
|
+
"names": ["BinaryReader", "BinaryWriter", "isSet", "createBaseModule", "o", "message", "writer", "input", "length", "reader", "end", "tag", "object", "obj"]
|
|
6
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from '../../../binary.js';
|
|
2
|
+
import { type JsonSafe } from '../../../json-safe.js';
|
|
3
|
+
/**
|
|
4
|
+
* QueryGetCountRequest defines the request type for querying x/mock count.
|
|
5
|
+
* @name QueryGetCountRequest
|
|
6
|
+
* @package cosmos.counter.v1
|
|
7
|
+
* @see proto type: cosmos.counter.v1.QueryGetCountRequest
|
|
8
|
+
*/
|
|
9
|
+
export interface QueryGetCountRequest {
|
|
10
|
+
}
|
|
11
|
+
export interface QueryGetCountRequestProtoMsg {
|
|
12
|
+
typeUrl: '/cosmos.counter.v1.QueryGetCountRequest';
|
|
13
|
+
value: Uint8Array;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* QueryGetCountRequest defines the request type for querying x/mock count.
|
|
17
|
+
* @name QueryGetCountRequestSDKType
|
|
18
|
+
* @package cosmos.counter.v1
|
|
19
|
+
* @see proto type: cosmos.counter.v1.QueryGetCountRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface QueryGetCountRequestSDKType {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* QueryGetCountResponse defines the response type for querying x/mock count.
|
|
25
|
+
* @name QueryGetCountResponse
|
|
26
|
+
* @package cosmos.counter.v1
|
|
27
|
+
* @see proto type: cosmos.counter.v1.QueryGetCountResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface QueryGetCountResponse {
|
|
30
|
+
totalCount: bigint;
|
|
31
|
+
}
|
|
32
|
+
export interface QueryGetCountResponseProtoMsg {
|
|
33
|
+
typeUrl: '/cosmos.counter.v1.QueryGetCountResponse';
|
|
34
|
+
value: Uint8Array;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* QueryGetCountResponse defines the response type for querying x/mock count.
|
|
38
|
+
* @name QueryGetCountResponseSDKType
|
|
39
|
+
* @package cosmos.counter.v1
|
|
40
|
+
* @see proto type: cosmos.counter.v1.QueryGetCountResponse
|
|
41
|
+
*/
|
|
42
|
+
export interface QueryGetCountResponseSDKType {
|
|
43
|
+
total_count: bigint;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* QueryGetCountRequest defines the request type for querying x/mock count.
|
|
47
|
+
* @name QueryGetCountRequest
|
|
48
|
+
* @package cosmos.counter.v1
|
|
49
|
+
* @see proto type: cosmos.counter.v1.QueryGetCountRequest
|
|
50
|
+
*/
|
|
51
|
+
export declare const QueryGetCountRequest: {
|
|
52
|
+
typeUrl: "/cosmos.counter.v1.QueryGetCountRequest";
|
|
53
|
+
aminoType: "cosmos-sdk/QueryGetCountRequest";
|
|
54
|
+
is(o: any): o is QueryGetCountRequest;
|
|
55
|
+
isSDK(o: any): o is QueryGetCountRequestSDKType;
|
|
56
|
+
encode(_: QueryGetCountRequest, writer?: BinaryWriter): BinaryWriter;
|
|
57
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryGetCountRequest;
|
|
58
|
+
fromJSON(_: any): QueryGetCountRequest;
|
|
59
|
+
toJSON(_: QueryGetCountRequest): JsonSafe<QueryGetCountRequest>;
|
|
60
|
+
fromPartial(_: Partial<QueryGetCountRequest>): QueryGetCountRequest;
|
|
61
|
+
fromProtoMsg(message: QueryGetCountRequestProtoMsg): QueryGetCountRequest;
|
|
62
|
+
toProto(message: QueryGetCountRequest): Uint8Array;
|
|
63
|
+
toProtoMsg(message: QueryGetCountRequest): QueryGetCountRequestProtoMsg;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* QueryGetCountResponse defines the response type for querying x/mock count.
|
|
67
|
+
* @name QueryGetCountResponse
|
|
68
|
+
* @package cosmos.counter.v1
|
|
69
|
+
* @see proto type: cosmos.counter.v1.QueryGetCountResponse
|
|
70
|
+
*/
|
|
71
|
+
export declare const QueryGetCountResponse: {
|
|
72
|
+
typeUrl: "/cosmos.counter.v1.QueryGetCountResponse";
|
|
73
|
+
aminoType: "cosmos-sdk/QueryGetCountResponse";
|
|
74
|
+
is(o: any): o is QueryGetCountResponse;
|
|
75
|
+
isSDK(o: any): o is QueryGetCountResponseSDKType;
|
|
76
|
+
encode(message: QueryGetCountResponse, writer?: BinaryWriter): BinaryWriter;
|
|
77
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryGetCountResponse;
|
|
78
|
+
fromJSON(object: any): QueryGetCountResponse;
|
|
79
|
+
toJSON(message: QueryGetCountResponse): JsonSafe<QueryGetCountResponse>;
|
|
80
|
+
fromPartial(object: Partial<QueryGetCountResponse>): QueryGetCountResponse;
|
|
81
|
+
fromProtoMsg(message: QueryGetCountResponseProtoMsg): QueryGetCountResponse;
|
|
82
|
+
toProto(message: QueryGetCountResponse): Uint8Array;
|
|
83
|
+
toProtoMsg(message: QueryGetCountResponse): QueryGetCountResponseProtoMsg;
|
|
84
|
+
};
|
|
85
|
+
//# sourceMappingURL=query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../../../src/codegen/cosmos/counter/v1/query.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;CAAG;AACxC,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,yCAAyC,CAAC;IACnD,KAAK,EAAE,UAAU,CAAC;CACnB;AACD;;;;;GAKG;AACH,MAAM,WAAW,2BAA2B;CAAG;AAC/C;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAC;CACpB;AACD,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,0CAA0C,CAAC;IACpD,KAAK,EAAE,UAAU,CAAC;CACnB;AACD;;;;;GAKG;AACH,MAAM,WAAW,4BAA4B;IAC3C,WAAW,EAAE,MAAM,CAAC;CACrB;AAID;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB;;;UAGzB,GAAG,GAAG,CAAC,IAAI,oBAAoB;aAG5B,GAAG,GAAG,CAAC,IAAI,2BAA2B;cAI1C,oBAAoB,WACf,YAAY,GACnB,YAAY;kBAIN,YAAY,GAAG,UAAU,WACvB,MAAM,GACd,oBAAoB;gBAeX,GAAG,GAAG,oBAAoB;cAG5B,oBAAoB,GAAG,QAAQ,CAAC,oBAAoB,CAAC;mBAIhD,OAAO,CAAC,oBAAoB,CAAC,GAAG,oBAAoB;0BAI7C,4BAA4B,GAAG,oBAAoB;qBAGxD,oBAAoB,GAAG,UAAU;wBAG9B,oBAAoB,GAAG,4BAA4B;CAMxE,CAAC;AAMF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;UAG1B,GAAG,GAAG,CAAC,IAAI,qBAAqB;aAO7B,GAAG,GAAG,CAAC,IAAI,4BAA4B;oBAQrC,qBAAqB,WACtB,YAAY,GACnB,YAAY;kBAON,YAAY,GAAG,UAAU,WACvB,MAAM,GACd,qBAAqB;qBAkBP,GAAG,GAAG,qBAAqB;oBAO5B,qBAAqB,GAAG,QAAQ,CAAC,qBAAqB,CAAC;wBAMnD,OAAO,CAAC,qBAAqB,CAAC,GAAG,qBAAqB;0BAQpD,6BAA6B,GAAG,qBAAqB;qBAG1D,qBAAqB,GAAG,UAAU;wBAG/B,qBAAqB,GAAG,6BAA6B;CAM1E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{BinaryReader as t,BinaryWriter as o}from"../../../binary.js";import"../../../json-safe.js";import{isSet as e}from"../../../helpers.js";export const QueryGetCountRequest={typeUrl:"/cosmos.counter.v1.QueryGetCountRequest",aminoType:"cosmos-sdk/QueryGetCountRequest",is:t=>t&&t.$typeUrl===QueryGetCountRequest.typeUrl,isSDK:t=>t&&t.$typeUrl===QueryGetCountRequest.typeUrl,encode:(t,e=o.create())=>e,decode(o,e){const n=o instanceof t?o:new t(o);let s=void 0===e?n.len:n.pos+e;for(;n.pos<s;){const t=n.uint32();n.skipType(7&t)}return{}},fromJSON:t=>({}),toJSON:t=>({}),fromPartial:t=>({}),fromProtoMsg:t=>QueryGetCountRequest.decode(t.value),toProto:t=>QueryGetCountRequest.encode(t).finish(),toProtoMsg:t=>({typeUrl:"/cosmos.counter.v1.QueryGetCountRequest",value:QueryGetCountRequest.encode(t).finish()})};function n(){return{totalCount:BigInt(0)}}export const QueryGetCountResponse={typeUrl:"/cosmos.counter.v1.QueryGetCountResponse",aminoType:"cosmos-sdk/QueryGetCountResponse",is:t=>t&&(t.$typeUrl===QueryGetCountResponse.typeUrl||"bigint"==typeof t.totalCount),isSDK:t=>t&&(t.$typeUrl===QueryGetCountResponse.typeUrl||"bigint"==typeof t.total_count),encode:(t,e=o.create())=>(t.totalCount!==BigInt(0)&&e.uint32(8).int64(t.totalCount),e),decode(o,e){const s=o instanceof t?o:new t(o);let r=void 0===e?s.len:s.pos+e;const u=n();for(;s.pos<r;){const t=s.uint32();t>>>3==1?u.totalCount=s.int64():s.skipType(7&t)}return u},fromJSON:t=>({totalCount:e(t.totalCount)?BigInt(t.totalCount.toString()):BigInt(0)}),toJSON(t){const o={};return void 0!==t.totalCount&&(o.totalCount=(t.totalCount||BigInt(0)).toString()),o},fromPartial(t){const o=n();return o.totalCount=void 0!==t.totalCount&&null!==t.totalCount?BigInt(t.totalCount.toString()):BigInt(0),o},fromProtoMsg:t=>QueryGetCountResponse.decode(t.value),toProto:t=>QueryGetCountResponse.encode(t).finish(),toProtoMsg:t=>({typeUrl:"/cosmos.counter.v1.QueryGetCountResponse",value:QueryGetCountResponse.encode(t).finish()})};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../src/codegen/cosmos/counter/v1/query.ts"],
|
|
4
|
+
"mappings": "aACA,OAAS,gBAAAA,EAAc,gBAAAC,MAAoB,qBAC3C,MAA8B,wBAC9B,OAAS,SAAAC,MAAa,sBAyCtB,SAASC,GAAuD,CAC9D,MAAO,CAAC,CACV,CAOO,aAAM,qBAAuB,CAClC,QAAS,0CACT,UAAW,kCACX,G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ueryGetCountRequest", "o", "_", "writer", "input", "length", "reader", "end", "message", "tag", "createBaseQueryGetCountResponse", "object", "obj"]
|
|
6
|
+
}
|