coreum-js 2.16.1 → 2.16.3

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.
Files changed (108) hide show
  1. package/dist/main/client/index.js +1 -1
  2. package/dist/main/coreum/asset/ft/v1/event.d.ts +6 -98
  3. package/dist/main/coreum/asset/ft/v1/genesis.d.ts +4 -500
  4. package/dist/main/coreum/asset/ft/v1/params.d.ts +2 -54
  5. package/dist/main/coreum/asset/ft/v1/query.d.ts +28 -1852
  6. package/dist/main/coreum/asset/ft/v1/token.d.ts +12 -210
  7. package/dist/main/coreum/asset/ft/v1/token.js +3 -3
  8. package/dist/main/coreum/asset/ft/v1/tx.d.ts +36 -644
  9. package/dist/main/coreum/asset/nft/v1/event.d.ts +10 -114
  10. package/dist/main/coreum/asset/nft/v1/genesis.d.ts +8 -258
  11. package/dist/main/coreum/asset/nft/v1/nft.d.ts +4 -86
  12. package/dist/main/coreum/asset/nft/v1/nft.js +3 -3
  13. package/dist/main/coreum/asset/nft/v1/params.d.ts +2 -28
  14. package/dist/main/coreum/asset/nft/v1/query.d.ts +20 -638
  15. package/dist/main/coreum/asset/nft/v1/tx.d.ts +16 -212
  16. package/dist/main/coreum/asset/nft/v1/types.d.ts +2 -10
  17. package/dist/main/coreum/customparams/v1/genesis.d.ts +2 -22
  18. package/dist/main/coreum/customparams/v1/params.d.ts +2 -10
  19. package/dist/main/coreum/customparams/v1/query.d.ts +4 -24
  20. package/dist/main/coreum/extensions/ft.js +1 -2
  21. package/dist/main/coreum/extensions/nft.js +1 -2
  22. package/dist/main/coreum/extensions/nftbeta.js +1 -2
  23. package/dist/main/coreum/feemodel/v1/genesis.d.ts +2 -222
  24. package/dist/main/coreum/feemodel/v1/params.d.ts +4 -320
  25. package/dist/main/coreum/feemodel/v1/query.d.ts +8 -232
  26. package/dist/main/coreum/nft/v1beta1/event.d.ts +6 -58
  27. package/dist/main/coreum/nft/v1beta1/genesis.d.ts +4 -420
  28. package/dist/main/coreum/nft/v1beta1/nft.d.ts +4 -96
  29. package/dist/main/coreum/nft/v1beta1/query.d.ts +28 -1532
  30. package/dist/main/coreum/nft/v1beta1/tx.d.ts +4 -24
  31. package/dist/main/cosmos/extensions/bank.js +1 -2
  32. package/dist/main/cosmos/extensions/distribution.js +1 -2
  33. package/dist/main/cosmos/extensions/gov.js +1 -2
  34. package/dist/main/google/api/http.d.ts +6 -2636
  35. package/dist/main/google/protobuf/any.d.ts +2 -14
  36. package/dist/main/google/protobuf/any.js +3 -3
  37. package/dist/main/google/protobuf/duration.d.ts +2 -14
  38. package/dist/main/google/protobuf/timestamp.d.ts +2 -14
  39. package/dist/main/index.js +17 -7
  40. package/dist/main/tendermint/abci/types.d.ts +92 -6360
  41. package/dist/main/tendermint/abci/types.js +12 -12
  42. package/dist/main/tendermint/crypto/keys.d.ts +2 -14
  43. package/dist/main/tendermint/crypto/proof.d.ts +10 -152
  44. package/dist/main/tendermint/types/params.d.ts +12 -196
  45. package/dist/main/tendermint/types/types.d.ts +26 -1744
  46. package/dist/main/tendermint/types/types.js +5 -5
  47. package/dist/main/tendermint/types/validator.d.ts +6 -230
  48. package/dist/main/tendermint/version/types.d.ts +4 -28
  49. package/dist/main/types/coreum.js +3 -3
  50. package/dist/main/utils/convertStringToAny.d.ts +1 -0
  51. package/dist/main/utils/nft.js +1 -2
  52. package/dist/main/wasm/v1/authz.d.ts +18 -414
  53. package/dist/main/wasm/v1/extensions/wasm.js +1 -2
  54. package/dist/main/wasm/v1/genesis.d.ts +8 -994
  55. package/dist/main/wasm/v1/ibc.d.ts +6 -42
  56. package/dist/main/wasm/v1/pagination.d.ts +4 -40
  57. package/dist/main/wasm/v1/proposal.d.ts +26 -640
  58. package/dist/main/wasm/v1/query.d.ts +46 -1060
  59. package/dist/main/wasm/v1/tx.d.ts +52 -630
  60. package/dist/main/wasm/v1/types.d.ts +16 -246
  61. package/dist/main/wasm/v1/types.js +5 -5
  62. package/dist/module/client/index.js +2 -2
  63. package/dist/module/coreum/asset/ft/v1/event.d.ts +6 -98
  64. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +4 -500
  65. package/dist/module/coreum/asset/ft/v1/params.d.ts +2 -54
  66. package/dist/module/coreum/asset/ft/v1/query.d.ts +28 -1852
  67. package/dist/module/coreum/asset/ft/v1/token.d.ts +12 -210
  68. package/dist/module/coreum/asset/ft/v1/tx.d.ts +36 -644
  69. package/dist/module/coreum/asset/nft/v1/event.d.ts +10 -114
  70. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +8 -258
  71. package/dist/module/coreum/asset/nft/v1/nft.d.ts +4 -86
  72. package/dist/module/coreum/asset/nft/v1/params.d.ts +2 -28
  73. package/dist/module/coreum/asset/nft/v1/query.d.ts +20 -638
  74. package/dist/module/coreum/asset/nft/v1/tx.d.ts +16 -212
  75. package/dist/module/coreum/asset/nft/v1/types.d.ts +2 -10
  76. package/dist/module/coreum/customparams/v1/genesis.d.ts +2 -22
  77. package/dist/module/coreum/customparams/v1/params.d.ts +2 -10
  78. package/dist/module/coreum/customparams/v1/query.d.ts +4 -24
  79. package/dist/module/coreum/feemodel/v1/genesis.d.ts +2 -222
  80. package/dist/module/coreum/feemodel/v1/params.d.ts +4 -320
  81. package/dist/module/coreum/feemodel/v1/query.d.ts +8 -232
  82. package/dist/module/coreum/nft/v1beta1/event.d.ts +6 -58
  83. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +4 -420
  84. package/dist/module/coreum/nft/v1beta1/nft.d.ts +4 -96
  85. package/dist/module/coreum/nft/v1beta1/query.d.ts +28 -1532
  86. package/dist/module/coreum/nft/v1beta1/tx.d.ts +4 -24
  87. package/dist/module/google/api/http.d.ts +6 -2636
  88. package/dist/module/google/protobuf/any.d.ts +2 -14
  89. package/dist/module/google/protobuf/duration.d.ts +2 -14
  90. package/dist/module/google/protobuf/timestamp.d.ts +2 -14
  91. package/dist/module/tendermint/abci/types.d.ts +92 -6360
  92. package/dist/module/tendermint/crypto/keys.d.ts +2 -14
  93. package/dist/module/tendermint/crypto/proof.d.ts +10 -152
  94. package/dist/module/tendermint/types/params.d.ts +12 -196
  95. package/dist/module/tendermint/types/types.d.ts +26 -1744
  96. package/dist/module/tendermint/types/validator.d.ts +6 -230
  97. package/dist/module/tendermint/version/types.d.ts +4 -28
  98. package/dist/module/types/coreum.js +3 -3
  99. package/dist/module/utils/convertStringToAny.d.ts +1 -0
  100. package/dist/module/wasm/v1/authz.d.ts +18 -414
  101. package/dist/module/wasm/v1/genesis.d.ts +8 -994
  102. package/dist/module/wasm/v1/ibc.d.ts +6 -42
  103. package/dist/module/wasm/v1/pagination.d.ts +4 -40
  104. package/dist/module/wasm/v1/proposal.d.ts +26 -640
  105. package/dist/module/wasm/v1/query.d.ts +46 -1060
  106. package/dist/module/wasm/v1/tx.d.ts +52 -630
  107. package/dist/module/wasm/v1/types.d.ts +16 -246
  108. package/package.json +2 -2
@@ -191,1198 +191,184 @@ export declare const QueryContractInfoRequest: {
191
191
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoRequest;
192
192
  fromJSON(object: any): QueryContractInfoRequest;
193
193
  toJSON(message: QueryContractInfoRequest): unknown;
194
- create<I extends {
195
- address?: string;
196
- } & {
197
- address?: string;
198
- } & { [K in Exclude<keyof I, "address">]: never; }>(base?: I): QueryContractInfoRequest;
199
- fromPartial<I_1 extends {
200
- address?: string;
201
- } & {
202
- address?: string;
203
- } & { [K_1 in Exclude<keyof I_1, "address">]: never; }>(object: I_1): QueryContractInfoRequest;
194
+ create<I extends Exact<DeepPartial<QueryContractInfoRequest>, I>>(base?: I): QueryContractInfoRequest;
195
+ fromPartial<I extends Exact<DeepPartial<QueryContractInfoRequest>, I>>(object: I): QueryContractInfoRequest;
204
196
  };
205
197
  export declare const QueryContractInfoResponse: {
206
198
  encode(message: QueryContractInfoResponse, writer?: _m0.Writer): _m0.Writer;
207
199
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoResponse;
208
200
  fromJSON(object: any): QueryContractInfoResponse;
209
201
  toJSON(message: QueryContractInfoResponse): unknown;
210
- create<I extends {
211
- address?: string;
212
- contractInfo?: {
213
- codeId?: number;
214
- creator?: string;
215
- admin?: string;
216
- label?: string;
217
- created?: {
218
- blockHeight?: number;
219
- txIndex?: number;
220
- };
221
- ibcPortId?: string;
222
- extension?: {
223
- typeUrl?: string;
224
- value?: Uint8Array;
225
- };
226
- };
227
- } & {
228
- address?: string;
229
- contractInfo?: {
230
- codeId?: number;
231
- creator?: string;
232
- admin?: string;
233
- label?: string;
234
- created?: {
235
- blockHeight?: number;
236
- txIndex?: number;
237
- };
238
- ibcPortId?: string;
239
- extension?: {
240
- typeUrl?: string;
241
- value?: Uint8Array;
242
- };
243
- } & {
244
- codeId?: number;
245
- creator?: string;
246
- admin?: string;
247
- label?: string;
248
- created?: {
249
- blockHeight?: number;
250
- txIndex?: number;
251
- } & {
252
- blockHeight?: number;
253
- txIndex?: number;
254
- } & { [K in Exclude<keyof I["contractInfo"]["created"], keyof import("./types").AbsoluteTxPosition>]: never; };
255
- ibcPortId?: string;
256
- extension?: {
257
- typeUrl?: string;
258
- value?: Uint8Array;
259
- } & {
260
- typeUrl?: string;
261
- value?: Uint8Array;
262
- } & { [K_1 in Exclude<keyof I["contractInfo"]["extension"], keyof import("../../google").Any>]: never; };
263
- } & { [K_2 in Exclude<keyof I["contractInfo"], keyof ContractInfo>]: never; };
264
- } & { [K_3 in Exclude<keyof I, keyof QueryContractInfoResponse>]: never; }>(base?: I): QueryContractInfoResponse;
265
- fromPartial<I_1 extends {
266
- address?: string;
267
- contractInfo?: {
268
- codeId?: number;
269
- creator?: string;
270
- admin?: string;
271
- label?: string;
272
- created?: {
273
- blockHeight?: number;
274
- txIndex?: number;
275
- };
276
- ibcPortId?: string;
277
- extension?: {
278
- typeUrl?: string;
279
- value?: Uint8Array;
280
- };
281
- };
282
- } & {
283
- address?: string;
284
- contractInfo?: {
285
- codeId?: number;
286
- creator?: string;
287
- admin?: string;
288
- label?: string;
289
- created?: {
290
- blockHeight?: number;
291
- txIndex?: number;
292
- };
293
- ibcPortId?: string;
294
- extension?: {
295
- typeUrl?: string;
296
- value?: Uint8Array;
297
- };
298
- } & {
299
- codeId?: number;
300
- creator?: string;
301
- admin?: string;
302
- label?: string;
303
- created?: {
304
- blockHeight?: number;
305
- txIndex?: number;
306
- } & {
307
- blockHeight?: number;
308
- txIndex?: number;
309
- } & { [K_4 in Exclude<keyof I_1["contractInfo"]["created"], keyof import("./types").AbsoluteTxPosition>]: never; };
310
- ibcPortId?: string;
311
- extension?: {
312
- typeUrl?: string;
313
- value?: Uint8Array;
314
- } & {
315
- typeUrl?: string;
316
- value?: Uint8Array;
317
- } & { [K_5 in Exclude<keyof I_1["contractInfo"]["extension"], keyof import("../../google").Any>]: never; };
318
- } & { [K_6 in Exclude<keyof I_1["contractInfo"], keyof ContractInfo>]: never; };
319
- } & { [K_7 in Exclude<keyof I_1, keyof QueryContractInfoResponse>]: never; }>(object: I_1): QueryContractInfoResponse;
202
+ create<I extends Exact<DeepPartial<QueryContractInfoResponse>, I>>(base?: I): QueryContractInfoResponse;
203
+ fromPartial<I extends Exact<DeepPartial<QueryContractInfoResponse>, I>>(object: I): QueryContractInfoResponse;
320
204
  };
321
205
  export declare const QueryContractHistoryRequest: {
322
206
  encode(message: QueryContractHistoryRequest, writer?: _m0.Writer): _m0.Writer;
323
207
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryRequest;
324
208
  fromJSON(object: any): QueryContractHistoryRequest;
325
209
  toJSON(message: QueryContractHistoryRequest): unknown;
326
- create<I extends {
327
- address?: string;
328
- pagination?: {
329
- key?: Uint8Array;
330
- offset?: number;
331
- limit?: number;
332
- countTotal?: boolean;
333
- reverse?: boolean;
334
- };
335
- } & {
336
- address?: string;
337
- pagination?: {
338
- key?: Uint8Array;
339
- offset?: number;
340
- limit?: number;
341
- countTotal?: boolean;
342
- reverse?: boolean;
343
- } & {
344
- key?: Uint8Array;
345
- offset?: number;
346
- limit?: number;
347
- countTotal?: boolean;
348
- reverse?: boolean;
349
- } & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
350
- } & { [K_1 in Exclude<keyof I, keyof QueryContractHistoryRequest>]: never; }>(base?: I): QueryContractHistoryRequest;
351
- fromPartial<I_1 extends {
352
- address?: string;
353
- pagination?: {
354
- key?: Uint8Array;
355
- offset?: number;
356
- limit?: number;
357
- countTotal?: boolean;
358
- reverse?: boolean;
359
- };
360
- } & {
361
- address?: string;
362
- pagination?: {
363
- key?: Uint8Array;
364
- offset?: number;
365
- limit?: number;
366
- countTotal?: boolean;
367
- reverse?: boolean;
368
- } & {
369
- key?: Uint8Array;
370
- offset?: number;
371
- limit?: number;
372
- countTotal?: boolean;
373
- reverse?: boolean;
374
- } & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
375
- } & { [K_3 in Exclude<keyof I_1, keyof QueryContractHistoryRequest>]: never; }>(object: I_1): QueryContractHistoryRequest;
210
+ create<I extends Exact<DeepPartial<QueryContractHistoryRequest>, I>>(base?: I): QueryContractHistoryRequest;
211
+ fromPartial<I extends Exact<DeepPartial<QueryContractHistoryRequest>, I>>(object: I): QueryContractHistoryRequest;
376
212
  };
377
213
  export declare const QueryContractHistoryResponse: {
378
214
  encode(message: QueryContractHistoryResponse, writer?: _m0.Writer): _m0.Writer;
379
215
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryResponse;
380
216
  fromJSON(object: any): QueryContractHistoryResponse;
381
217
  toJSON(message: QueryContractHistoryResponse): unknown;
382
- create<I extends {
383
- entries?: {
384
- operation?: import("./types").ContractCodeHistoryOperationType;
385
- codeId?: number;
386
- updated?: {
387
- blockHeight?: number;
388
- txIndex?: number;
389
- };
390
- msg?: Uint8Array;
391
- }[];
392
- pagination?: {
393
- nextKey?: Uint8Array;
394
- total?: number;
395
- };
396
- } & {
397
- entries?: {
398
- operation?: import("./types").ContractCodeHistoryOperationType;
399
- codeId?: number;
400
- updated?: {
401
- blockHeight?: number;
402
- txIndex?: number;
403
- };
404
- msg?: Uint8Array;
405
- }[] & ({
406
- operation?: import("./types").ContractCodeHistoryOperationType;
407
- codeId?: number;
408
- updated?: {
409
- blockHeight?: number;
410
- txIndex?: number;
411
- };
412
- msg?: Uint8Array;
413
- } & {
414
- operation?: import("./types").ContractCodeHistoryOperationType;
415
- codeId?: number;
416
- updated?: {
417
- blockHeight?: number;
418
- txIndex?: number;
419
- } & {
420
- blockHeight?: number;
421
- txIndex?: number;
422
- } & { [K in Exclude<keyof I["entries"][number]["updated"], keyof import("./types").AbsoluteTxPosition>]: never; };
423
- msg?: Uint8Array;
424
- } & { [K_1 in Exclude<keyof I["entries"][number], keyof ContractCodeHistoryEntry>]: never; })[] & { [K_2 in Exclude<keyof I["entries"], keyof {
425
- operation?: import("./types").ContractCodeHistoryOperationType;
426
- codeId?: number;
427
- updated?: {
428
- blockHeight?: number;
429
- txIndex?: number;
430
- };
431
- msg?: Uint8Array;
432
- }[]>]: never; };
433
- pagination?: {
434
- nextKey?: Uint8Array;
435
- total?: number;
436
- } & {
437
- nextKey?: Uint8Array;
438
- total?: number;
439
- } & { [K_3 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
440
- } & { [K_4 in Exclude<keyof I, keyof QueryContractHistoryResponse>]: never; }>(base?: I): QueryContractHistoryResponse;
441
- fromPartial<I_1 extends {
442
- entries?: {
443
- operation?: import("./types").ContractCodeHistoryOperationType;
444
- codeId?: number;
445
- updated?: {
446
- blockHeight?: number;
447
- txIndex?: number;
448
- };
449
- msg?: Uint8Array;
450
- }[];
451
- pagination?: {
452
- nextKey?: Uint8Array;
453
- total?: number;
454
- };
455
- } & {
456
- entries?: {
457
- operation?: import("./types").ContractCodeHistoryOperationType;
458
- codeId?: number;
459
- updated?: {
460
- blockHeight?: number;
461
- txIndex?: number;
462
- };
463
- msg?: Uint8Array;
464
- }[] & ({
465
- operation?: import("./types").ContractCodeHistoryOperationType;
466
- codeId?: number;
467
- updated?: {
468
- blockHeight?: number;
469
- txIndex?: number;
470
- };
471
- msg?: Uint8Array;
472
- } & {
473
- operation?: import("./types").ContractCodeHistoryOperationType;
474
- codeId?: number;
475
- updated?: {
476
- blockHeight?: number;
477
- txIndex?: number;
478
- } & {
479
- blockHeight?: number;
480
- txIndex?: number;
481
- } & { [K_5 in Exclude<keyof I_1["entries"][number]["updated"], keyof import("./types").AbsoluteTxPosition>]: never; };
482
- msg?: Uint8Array;
483
- } & { [K_6 in Exclude<keyof I_1["entries"][number], keyof ContractCodeHistoryEntry>]: never; })[] & { [K_7 in Exclude<keyof I_1["entries"], keyof {
484
- operation?: import("./types").ContractCodeHistoryOperationType;
485
- codeId?: number;
486
- updated?: {
487
- blockHeight?: number;
488
- txIndex?: number;
489
- };
490
- msg?: Uint8Array;
491
- }[]>]: never; };
492
- pagination?: {
493
- nextKey?: Uint8Array;
494
- total?: number;
495
- } & {
496
- nextKey?: Uint8Array;
497
- total?: number;
498
- } & { [K_8 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
499
- } & { [K_9 in Exclude<keyof I_1, keyof QueryContractHistoryResponse>]: never; }>(object: I_1): QueryContractHistoryResponse;
218
+ create<I extends Exact<DeepPartial<QueryContractHistoryResponse>, I>>(base?: I): QueryContractHistoryResponse;
219
+ fromPartial<I extends Exact<DeepPartial<QueryContractHistoryResponse>, I>>(object: I): QueryContractHistoryResponse;
500
220
  };
501
221
  export declare const QueryContractsByCodeRequest: {
502
222
  encode(message: QueryContractsByCodeRequest, writer?: _m0.Writer): _m0.Writer;
503
223
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeRequest;
504
224
  fromJSON(object: any): QueryContractsByCodeRequest;
505
225
  toJSON(message: QueryContractsByCodeRequest): unknown;
506
- create<I extends {
507
- codeId?: number;
508
- pagination?: {
509
- key?: Uint8Array;
510
- offset?: number;
511
- limit?: number;
512
- countTotal?: boolean;
513
- reverse?: boolean;
514
- };
515
- } & {
516
- codeId?: number;
517
- pagination?: {
518
- key?: Uint8Array;
519
- offset?: number;
520
- limit?: number;
521
- countTotal?: boolean;
522
- reverse?: boolean;
523
- } & {
524
- key?: Uint8Array;
525
- offset?: number;
526
- limit?: number;
527
- countTotal?: boolean;
528
- reverse?: boolean;
529
- } & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
530
- } & { [K_1 in Exclude<keyof I, keyof QueryContractsByCodeRequest>]: never; }>(base?: I): QueryContractsByCodeRequest;
531
- fromPartial<I_1 extends {
532
- codeId?: number;
533
- pagination?: {
534
- key?: Uint8Array;
535
- offset?: number;
536
- limit?: number;
537
- countTotal?: boolean;
538
- reverse?: boolean;
539
- };
540
- } & {
541
- codeId?: number;
542
- pagination?: {
543
- key?: Uint8Array;
544
- offset?: number;
545
- limit?: number;
546
- countTotal?: boolean;
547
- reverse?: boolean;
548
- } & {
549
- key?: Uint8Array;
550
- offset?: number;
551
- limit?: number;
552
- countTotal?: boolean;
553
- reverse?: boolean;
554
- } & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
555
- } & { [K_3 in Exclude<keyof I_1, keyof QueryContractsByCodeRequest>]: never; }>(object: I_1): QueryContractsByCodeRequest;
226
+ create<I extends Exact<DeepPartial<QueryContractsByCodeRequest>, I>>(base?: I): QueryContractsByCodeRequest;
227
+ fromPartial<I extends Exact<DeepPartial<QueryContractsByCodeRequest>, I>>(object: I): QueryContractsByCodeRequest;
556
228
  };
557
229
  export declare const QueryContractsByCodeResponse: {
558
230
  encode(message: QueryContractsByCodeResponse, writer?: _m0.Writer): _m0.Writer;
559
231
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeResponse;
560
232
  fromJSON(object: any): QueryContractsByCodeResponse;
561
233
  toJSON(message: QueryContractsByCodeResponse): unknown;
562
- create<I extends {
563
- contracts?: string[];
564
- pagination?: {
565
- nextKey?: Uint8Array;
566
- total?: number;
567
- };
568
- } & {
569
- contracts?: string[] & string[] & { [K in Exclude<keyof I["contracts"], keyof string[]>]: never; };
570
- pagination?: {
571
- nextKey?: Uint8Array;
572
- total?: number;
573
- } & {
574
- nextKey?: Uint8Array;
575
- total?: number;
576
- } & { [K_1 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
577
- } & { [K_2 in Exclude<keyof I, keyof QueryContractsByCodeResponse>]: never; }>(base?: I): QueryContractsByCodeResponse;
578
- fromPartial<I_1 extends {
579
- contracts?: string[];
580
- pagination?: {
581
- nextKey?: Uint8Array;
582
- total?: number;
583
- };
584
- } & {
585
- contracts?: string[] & string[] & { [K_3 in Exclude<keyof I_1["contracts"], keyof string[]>]: never; };
586
- pagination?: {
587
- nextKey?: Uint8Array;
588
- total?: number;
589
- } & {
590
- nextKey?: Uint8Array;
591
- total?: number;
592
- } & { [K_4 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
593
- } & { [K_5 in Exclude<keyof I_1, keyof QueryContractsByCodeResponse>]: never; }>(object: I_1): QueryContractsByCodeResponse;
234
+ create<I extends Exact<DeepPartial<QueryContractsByCodeResponse>, I>>(base?: I): QueryContractsByCodeResponse;
235
+ fromPartial<I extends Exact<DeepPartial<QueryContractsByCodeResponse>, I>>(object: I): QueryContractsByCodeResponse;
594
236
  };
595
237
  export declare const QueryAllContractStateRequest: {
596
238
  encode(message: QueryAllContractStateRequest, writer?: _m0.Writer): _m0.Writer;
597
239
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateRequest;
598
240
  fromJSON(object: any): QueryAllContractStateRequest;
599
241
  toJSON(message: QueryAllContractStateRequest): unknown;
600
- create<I extends {
601
- address?: string;
602
- pagination?: {
603
- key?: Uint8Array;
604
- offset?: number;
605
- limit?: number;
606
- countTotal?: boolean;
607
- reverse?: boolean;
608
- };
609
- } & {
610
- address?: string;
611
- pagination?: {
612
- key?: Uint8Array;
613
- offset?: number;
614
- limit?: number;
615
- countTotal?: boolean;
616
- reverse?: boolean;
617
- } & {
618
- key?: Uint8Array;
619
- offset?: number;
620
- limit?: number;
621
- countTotal?: boolean;
622
- reverse?: boolean;
623
- } & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
624
- } & { [K_1 in Exclude<keyof I, keyof QueryAllContractStateRequest>]: never; }>(base?: I): QueryAllContractStateRequest;
625
- fromPartial<I_1 extends {
626
- address?: string;
627
- pagination?: {
628
- key?: Uint8Array;
629
- offset?: number;
630
- limit?: number;
631
- countTotal?: boolean;
632
- reverse?: boolean;
633
- };
634
- } & {
635
- address?: string;
636
- pagination?: {
637
- key?: Uint8Array;
638
- offset?: number;
639
- limit?: number;
640
- countTotal?: boolean;
641
- reverse?: boolean;
642
- } & {
643
- key?: Uint8Array;
644
- offset?: number;
645
- limit?: number;
646
- countTotal?: boolean;
647
- reverse?: boolean;
648
- } & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
649
- } & { [K_3 in Exclude<keyof I_1, keyof QueryAllContractStateRequest>]: never; }>(object: I_1): QueryAllContractStateRequest;
242
+ create<I extends Exact<DeepPartial<QueryAllContractStateRequest>, I>>(base?: I): QueryAllContractStateRequest;
243
+ fromPartial<I extends Exact<DeepPartial<QueryAllContractStateRequest>, I>>(object: I): QueryAllContractStateRequest;
650
244
  };
651
245
  export declare const QueryAllContractStateResponse: {
652
246
  encode(message: QueryAllContractStateResponse, writer?: _m0.Writer): _m0.Writer;
653
247
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateResponse;
654
248
  fromJSON(object: any): QueryAllContractStateResponse;
655
249
  toJSON(message: QueryAllContractStateResponse): unknown;
656
- create<I extends {
657
- models?: {
658
- key?: Uint8Array;
659
- value?: Uint8Array;
660
- }[];
661
- pagination?: {
662
- nextKey?: Uint8Array;
663
- total?: number;
664
- };
665
- } & {
666
- models?: {
667
- key?: Uint8Array;
668
- value?: Uint8Array;
669
- }[] & ({
670
- key?: Uint8Array;
671
- value?: Uint8Array;
672
- } & {
673
- key?: Uint8Array;
674
- value?: Uint8Array;
675
- } & { [K in Exclude<keyof I["models"][number], keyof Model>]: never; })[] & { [K_1 in Exclude<keyof I["models"], keyof {
676
- key?: Uint8Array;
677
- value?: Uint8Array;
678
- }[]>]: never; };
679
- pagination?: {
680
- nextKey?: Uint8Array;
681
- total?: number;
682
- } & {
683
- nextKey?: Uint8Array;
684
- total?: number;
685
- } & { [K_2 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
686
- } & { [K_3 in Exclude<keyof I, keyof QueryAllContractStateResponse>]: never; }>(base?: I): QueryAllContractStateResponse;
687
- fromPartial<I_1 extends {
688
- models?: {
689
- key?: Uint8Array;
690
- value?: Uint8Array;
691
- }[];
692
- pagination?: {
693
- nextKey?: Uint8Array;
694
- total?: number;
695
- };
696
- } & {
697
- models?: {
698
- key?: Uint8Array;
699
- value?: Uint8Array;
700
- }[] & ({
701
- key?: Uint8Array;
702
- value?: Uint8Array;
703
- } & {
704
- key?: Uint8Array;
705
- value?: Uint8Array;
706
- } & { [K_4 in Exclude<keyof I_1["models"][number], keyof Model>]: never; })[] & { [K_5 in Exclude<keyof I_1["models"], keyof {
707
- key?: Uint8Array;
708
- value?: Uint8Array;
709
- }[]>]: never; };
710
- pagination?: {
711
- nextKey?: Uint8Array;
712
- total?: number;
713
- } & {
714
- nextKey?: Uint8Array;
715
- total?: number;
716
- } & { [K_6 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
717
- } & { [K_7 in Exclude<keyof I_1, keyof QueryAllContractStateResponse>]: never; }>(object: I_1): QueryAllContractStateResponse;
250
+ create<I extends Exact<DeepPartial<QueryAllContractStateResponse>, I>>(base?: I): QueryAllContractStateResponse;
251
+ fromPartial<I extends Exact<DeepPartial<QueryAllContractStateResponse>, I>>(object: I): QueryAllContractStateResponse;
718
252
  };
719
253
  export declare const QueryRawContractStateRequest: {
720
254
  encode(message: QueryRawContractStateRequest, writer?: _m0.Writer): _m0.Writer;
721
255
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateRequest;
722
256
  fromJSON(object: any): QueryRawContractStateRequest;
723
257
  toJSON(message: QueryRawContractStateRequest): unknown;
724
- create<I extends {
725
- address?: string;
726
- queryData?: Uint8Array;
727
- } & {
728
- address?: string;
729
- queryData?: Uint8Array;
730
- } & { [K in Exclude<keyof I, keyof QueryRawContractStateRequest>]: never; }>(base?: I): QueryRawContractStateRequest;
731
- fromPartial<I_1 extends {
732
- address?: string;
733
- queryData?: Uint8Array;
734
- } & {
735
- address?: string;
736
- queryData?: Uint8Array;
737
- } & { [K_1 in Exclude<keyof I_1, keyof QueryRawContractStateRequest>]: never; }>(object: I_1): QueryRawContractStateRequest;
258
+ create<I extends Exact<DeepPartial<QueryRawContractStateRequest>, I>>(base?: I): QueryRawContractStateRequest;
259
+ fromPartial<I extends Exact<DeepPartial<QueryRawContractStateRequest>, I>>(object: I): QueryRawContractStateRequest;
738
260
  };
739
261
  export declare const QueryRawContractStateResponse: {
740
262
  encode(message: QueryRawContractStateResponse, writer?: _m0.Writer): _m0.Writer;
741
263
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateResponse;
742
264
  fromJSON(object: any): QueryRawContractStateResponse;
743
265
  toJSON(message: QueryRawContractStateResponse): unknown;
744
- create<I extends {
745
- data?: Uint8Array;
746
- } & {
747
- data?: Uint8Array;
748
- } & { [K in Exclude<keyof I, "data">]: never; }>(base?: I): QueryRawContractStateResponse;
749
- fromPartial<I_1 extends {
750
- data?: Uint8Array;
751
- } & {
752
- data?: Uint8Array;
753
- } & { [K_1 in Exclude<keyof I_1, "data">]: never; }>(object: I_1): QueryRawContractStateResponse;
266
+ create<I extends Exact<DeepPartial<QueryRawContractStateResponse>, I>>(base?: I): QueryRawContractStateResponse;
267
+ fromPartial<I extends Exact<DeepPartial<QueryRawContractStateResponse>, I>>(object: I): QueryRawContractStateResponse;
754
268
  };
755
269
  export declare const QuerySmartContractStateRequest: {
756
270
  encode(message: QuerySmartContractStateRequest, writer?: _m0.Writer): _m0.Writer;
757
271
  decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateRequest;
758
272
  fromJSON(object: any): QuerySmartContractStateRequest;
759
273
  toJSON(message: QuerySmartContractStateRequest): unknown;
760
- create<I extends {
761
- address?: string;
762
- queryData?: Uint8Array;
763
- } & {
764
- address?: string;
765
- queryData?: Uint8Array;
766
- } & { [K in Exclude<keyof I, keyof QuerySmartContractStateRequest>]: never; }>(base?: I): QuerySmartContractStateRequest;
767
- fromPartial<I_1 extends {
768
- address?: string;
769
- queryData?: Uint8Array;
770
- } & {
771
- address?: string;
772
- queryData?: Uint8Array;
773
- } & { [K_1 in Exclude<keyof I_1, keyof QuerySmartContractStateRequest>]: never; }>(object: I_1): QuerySmartContractStateRequest;
274
+ create<I extends Exact<DeepPartial<QuerySmartContractStateRequest>, I>>(base?: I): QuerySmartContractStateRequest;
275
+ fromPartial<I extends Exact<DeepPartial<QuerySmartContractStateRequest>, I>>(object: I): QuerySmartContractStateRequest;
774
276
  };
775
277
  export declare const QuerySmartContractStateResponse: {
776
278
  encode(message: QuerySmartContractStateResponse, writer?: _m0.Writer): _m0.Writer;
777
279
  decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateResponse;
778
280
  fromJSON(object: any): QuerySmartContractStateResponse;
779
281
  toJSON(message: QuerySmartContractStateResponse): unknown;
780
- create<I extends {
781
- data?: Uint8Array;
782
- } & {
783
- data?: Uint8Array;
784
- } & { [K in Exclude<keyof I, "data">]: never; }>(base?: I): QuerySmartContractStateResponse;
785
- fromPartial<I_1 extends {
786
- data?: Uint8Array;
787
- } & {
788
- data?: Uint8Array;
789
- } & { [K_1 in Exclude<keyof I_1, "data">]: never; }>(object: I_1): QuerySmartContractStateResponse;
282
+ create<I extends Exact<DeepPartial<QuerySmartContractStateResponse>, I>>(base?: I): QuerySmartContractStateResponse;
283
+ fromPartial<I extends Exact<DeepPartial<QuerySmartContractStateResponse>, I>>(object: I): QuerySmartContractStateResponse;
790
284
  };
791
285
  export declare const QueryCodeRequest: {
792
286
  encode(message: QueryCodeRequest, writer?: _m0.Writer): _m0.Writer;
793
287
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeRequest;
794
288
  fromJSON(object: any): QueryCodeRequest;
795
289
  toJSON(message: QueryCodeRequest): unknown;
796
- create<I extends {
797
- codeId?: number;
798
- } & {
799
- codeId?: number;
800
- } & { [K in Exclude<keyof I, "codeId">]: never; }>(base?: I): QueryCodeRequest;
801
- fromPartial<I_1 extends {
802
- codeId?: number;
803
- } & {
804
- codeId?: number;
805
- } & { [K_1 in Exclude<keyof I_1, "codeId">]: never; }>(object: I_1): QueryCodeRequest;
290
+ create<I extends Exact<DeepPartial<QueryCodeRequest>, I>>(base?: I): QueryCodeRequest;
291
+ fromPartial<I extends Exact<DeepPartial<QueryCodeRequest>, I>>(object: I): QueryCodeRequest;
806
292
  };
807
293
  export declare const CodeInfoResponse: {
808
294
  encode(message: CodeInfoResponse, writer?: _m0.Writer): _m0.Writer;
809
295
  decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfoResponse;
810
296
  fromJSON(object: any): CodeInfoResponse;
811
297
  toJSON(message: CodeInfoResponse): unknown;
812
- create<I extends {
813
- codeId?: number;
814
- creator?: string;
815
- dataHash?: Uint8Array;
816
- instantiatePermission?: {
817
- permission?: import("./types").AccessType;
818
- address?: string;
819
- addresses?: string[];
820
- };
821
- } & {
822
- codeId?: number;
823
- creator?: string;
824
- dataHash?: Uint8Array;
825
- instantiatePermission?: {
826
- permission?: import("./types").AccessType;
827
- address?: string;
828
- addresses?: string[];
829
- } & {
830
- permission?: import("./types").AccessType;
831
- address?: string;
832
- addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiatePermission"]["addresses"], keyof string[]>]: never; };
833
- } & { [K_1 in Exclude<keyof I["instantiatePermission"], keyof AccessConfig>]: never; };
834
- } & { [K_2 in Exclude<keyof I, keyof CodeInfoResponse>]: never; }>(base?: I): CodeInfoResponse;
835
- fromPartial<I_1 extends {
836
- codeId?: number;
837
- creator?: string;
838
- dataHash?: Uint8Array;
839
- instantiatePermission?: {
840
- permission?: import("./types").AccessType;
841
- address?: string;
842
- addresses?: string[];
843
- };
844
- } & {
845
- codeId?: number;
846
- creator?: string;
847
- dataHash?: Uint8Array;
848
- instantiatePermission?: {
849
- permission?: import("./types").AccessType;
850
- address?: string;
851
- addresses?: string[];
852
- } & {
853
- permission?: import("./types").AccessType;
854
- address?: string;
855
- addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["instantiatePermission"]["addresses"], keyof string[]>]: never; };
856
- } & { [K_4 in Exclude<keyof I_1["instantiatePermission"], keyof AccessConfig>]: never; };
857
- } & { [K_5 in Exclude<keyof I_1, keyof CodeInfoResponse>]: never; }>(object: I_1): CodeInfoResponse;
298
+ create<I extends Exact<DeepPartial<CodeInfoResponse>, I>>(base?: I): CodeInfoResponse;
299
+ fromPartial<I extends Exact<DeepPartial<CodeInfoResponse>, I>>(object: I): CodeInfoResponse;
858
300
  };
859
301
  export declare const QueryCodeResponse: {
860
302
  encode(message: QueryCodeResponse, writer?: _m0.Writer): _m0.Writer;
861
303
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeResponse;
862
304
  fromJSON(object: any): QueryCodeResponse;
863
305
  toJSON(message: QueryCodeResponse): unknown;
864
- create<I extends {
865
- codeInfo?: {
866
- codeId?: number;
867
- creator?: string;
868
- dataHash?: Uint8Array;
869
- instantiatePermission?: {
870
- permission?: import("./types").AccessType;
871
- address?: string;
872
- addresses?: string[];
873
- };
874
- };
875
- data?: Uint8Array;
876
- } & {
877
- codeInfo?: {
878
- codeId?: number;
879
- creator?: string;
880
- dataHash?: Uint8Array;
881
- instantiatePermission?: {
882
- permission?: import("./types").AccessType;
883
- address?: string;
884
- addresses?: string[];
885
- };
886
- } & {
887
- codeId?: number;
888
- creator?: string;
889
- dataHash?: Uint8Array;
890
- instantiatePermission?: {
891
- permission?: import("./types").AccessType;
892
- address?: string;
893
- addresses?: string[];
894
- } & {
895
- permission?: import("./types").AccessType;
896
- address?: string;
897
- addresses?: string[] & string[] & { [K in Exclude<keyof I["codeInfo"]["instantiatePermission"]["addresses"], keyof string[]>]: never; };
898
- } & { [K_1 in Exclude<keyof I["codeInfo"]["instantiatePermission"], keyof AccessConfig>]: never; };
899
- } & { [K_2 in Exclude<keyof I["codeInfo"], keyof CodeInfoResponse>]: never; };
900
- data?: Uint8Array;
901
- } & { [K_3 in Exclude<keyof I, keyof QueryCodeResponse>]: never; }>(base?: I): QueryCodeResponse;
902
- fromPartial<I_1 extends {
903
- codeInfo?: {
904
- codeId?: number;
905
- creator?: string;
906
- dataHash?: Uint8Array;
907
- instantiatePermission?: {
908
- permission?: import("./types").AccessType;
909
- address?: string;
910
- addresses?: string[];
911
- };
912
- };
913
- data?: Uint8Array;
914
- } & {
915
- codeInfo?: {
916
- codeId?: number;
917
- creator?: string;
918
- dataHash?: Uint8Array;
919
- instantiatePermission?: {
920
- permission?: import("./types").AccessType;
921
- address?: string;
922
- addresses?: string[];
923
- };
924
- } & {
925
- codeId?: number;
926
- creator?: string;
927
- dataHash?: Uint8Array;
928
- instantiatePermission?: {
929
- permission?: import("./types").AccessType;
930
- address?: string;
931
- addresses?: string[];
932
- } & {
933
- permission?: import("./types").AccessType;
934
- address?: string;
935
- addresses?: string[] & string[] & { [K_4 in Exclude<keyof I_1["codeInfo"]["instantiatePermission"]["addresses"], keyof string[]>]: never; };
936
- } & { [K_5 in Exclude<keyof I_1["codeInfo"]["instantiatePermission"], keyof AccessConfig>]: never; };
937
- } & { [K_6 in Exclude<keyof I_1["codeInfo"], keyof CodeInfoResponse>]: never; };
938
- data?: Uint8Array;
939
- } & { [K_7 in Exclude<keyof I_1, keyof QueryCodeResponse>]: never; }>(object: I_1): QueryCodeResponse;
306
+ create<I extends Exact<DeepPartial<QueryCodeResponse>, I>>(base?: I): QueryCodeResponse;
307
+ fromPartial<I extends Exact<DeepPartial<QueryCodeResponse>, I>>(object: I): QueryCodeResponse;
940
308
  };
941
309
  export declare const QueryCodesRequest: {
942
310
  encode(message: QueryCodesRequest, writer?: _m0.Writer): _m0.Writer;
943
311
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesRequest;
944
312
  fromJSON(object: any): QueryCodesRequest;
945
313
  toJSON(message: QueryCodesRequest): unknown;
946
- create<I extends {
947
- pagination?: {
948
- key?: Uint8Array;
949
- offset?: number;
950
- limit?: number;
951
- countTotal?: boolean;
952
- reverse?: boolean;
953
- };
954
- } & {
955
- pagination?: {
956
- key?: Uint8Array;
957
- offset?: number;
958
- limit?: number;
959
- countTotal?: boolean;
960
- reverse?: boolean;
961
- } & {
962
- key?: Uint8Array;
963
- offset?: number;
964
- limit?: number;
965
- countTotal?: boolean;
966
- reverse?: boolean;
967
- } & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
968
- } & { [K_1 in Exclude<keyof I, "pagination">]: never; }>(base?: I): QueryCodesRequest;
969
- fromPartial<I_1 extends {
970
- pagination?: {
971
- key?: Uint8Array;
972
- offset?: number;
973
- limit?: number;
974
- countTotal?: boolean;
975
- reverse?: boolean;
976
- };
977
- } & {
978
- pagination?: {
979
- key?: Uint8Array;
980
- offset?: number;
981
- limit?: number;
982
- countTotal?: boolean;
983
- reverse?: boolean;
984
- } & {
985
- key?: Uint8Array;
986
- offset?: number;
987
- limit?: number;
988
- countTotal?: boolean;
989
- reverse?: boolean;
990
- } & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
991
- } & { [K_3 in Exclude<keyof I_1, "pagination">]: never; }>(object: I_1): QueryCodesRequest;
314
+ create<I extends Exact<DeepPartial<QueryCodesRequest>, I>>(base?: I): QueryCodesRequest;
315
+ fromPartial<I extends Exact<DeepPartial<QueryCodesRequest>, I>>(object: I): QueryCodesRequest;
992
316
  };
993
317
  export declare const QueryCodesResponse: {
994
318
  encode(message: QueryCodesResponse, writer?: _m0.Writer): _m0.Writer;
995
319
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesResponse;
996
320
  fromJSON(object: any): QueryCodesResponse;
997
321
  toJSON(message: QueryCodesResponse): unknown;
998
- create<I extends {
999
- codeInfos?: {
1000
- codeId?: number;
1001
- creator?: string;
1002
- dataHash?: Uint8Array;
1003
- instantiatePermission?: {
1004
- permission?: import("./types").AccessType;
1005
- address?: string;
1006
- addresses?: string[];
1007
- };
1008
- }[];
1009
- pagination?: {
1010
- nextKey?: Uint8Array;
1011
- total?: number;
1012
- };
1013
- } & {
1014
- codeInfos?: {
1015
- codeId?: number;
1016
- creator?: string;
1017
- dataHash?: Uint8Array;
1018
- instantiatePermission?: {
1019
- permission?: import("./types").AccessType;
1020
- address?: string;
1021
- addresses?: string[];
1022
- };
1023
- }[] & ({
1024
- codeId?: number;
1025
- creator?: string;
1026
- dataHash?: Uint8Array;
1027
- instantiatePermission?: {
1028
- permission?: import("./types").AccessType;
1029
- address?: string;
1030
- addresses?: string[];
1031
- };
1032
- } & {
1033
- codeId?: number;
1034
- creator?: string;
1035
- dataHash?: Uint8Array;
1036
- instantiatePermission?: {
1037
- permission?: import("./types").AccessType;
1038
- address?: string;
1039
- addresses?: string[];
1040
- } & {
1041
- permission?: import("./types").AccessType;
1042
- address?: string;
1043
- addresses?: string[] & string[] & { [K in Exclude<keyof I["codeInfos"][number]["instantiatePermission"]["addresses"], keyof string[]>]: never; };
1044
- } & { [K_1 in Exclude<keyof I["codeInfos"][number]["instantiatePermission"], keyof AccessConfig>]: never; };
1045
- } & { [K_2 in Exclude<keyof I["codeInfos"][number], keyof CodeInfoResponse>]: never; })[] & { [K_3 in Exclude<keyof I["codeInfos"], keyof {
1046
- codeId?: number;
1047
- creator?: string;
1048
- dataHash?: Uint8Array;
1049
- instantiatePermission?: {
1050
- permission?: import("./types").AccessType;
1051
- address?: string;
1052
- addresses?: string[];
1053
- };
1054
- }[]>]: never; };
1055
- pagination?: {
1056
- nextKey?: Uint8Array;
1057
- total?: number;
1058
- } & {
1059
- nextKey?: Uint8Array;
1060
- total?: number;
1061
- } & { [K_4 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
1062
- } & { [K_5 in Exclude<keyof I, keyof QueryCodesResponse>]: never; }>(base?: I): QueryCodesResponse;
1063
- fromPartial<I_1 extends {
1064
- codeInfos?: {
1065
- codeId?: number;
1066
- creator?: string;
1067
- dataHash?: Uint8Array;
1068
- instantiatePermission?: {
1069
- permission?: import("./types").AccessType;
1070
- address?: string;
1071
- addresses?: string[];
1072
- };
1073
- }[];
1074
- pagination?: {
1075
- nextKey?: Uint8Array;
1076
- total?: number;
1077
- };
1078
- } & {
1079
- codeInfos?: {
1080
- codeId?: number;
1081
- creator?: string;
1082
- dataHash?: Uint8Array;
1083
- instantiatePermission?: {
1084
- permission?: import("./types").AccessType;
1085
- address?: string;
1086
- addresses?: string[];
1087
- };
1088
- }[] & ({
1089
- codeId?: number;
1090
- creator?: string;
1091
- dataHash?: Uint8Array;
1092
- instantiatePermission?: {
1093
- permission?: import("./types").AccessType;
1094
- address?: string;
1095
- addresses?: string[];
1096
- };
1097
- } & {
1098
- codeId?: number;
1099
- creator?: string;
1100
- dataHash?: Uint8Array;
1101
- instantiatePermission?: {
1102
- permission?: import("./types").AccessType;
1103
- address?: string;
1104
- addresses?: string[];
1105
- } & {
1106
- permission?: import("./types").AccessType;
1107
- address?: string;
1108
- addresses?: string[] & string[] & { [K_6 in Exclude<keyof I_1["codeInfos"][number]["instantiatePermission"]["addresses"], keyof string[]>]: never; };
1109
- } & { [K_7 in Exclude<keyof I_1["codeInfos"][number]["instantiatePermission"], keyof AccessConfig>]: never; };
1110
- } & { [K_8 in Exclude<keyof I_1["codeInfos"][number], keyof CodeInfoResponse>]: never; })[] & { [K_9 in Exclude<keyof I_1["codeInfos"], keyof {
1111
- codeId?: number;
1112
- creator?: string;
1113
- dataHash?: Uint8Array;
1114
- instantiatePermission?: {
1115
- permission?: import("./types").AccessType;
1116
- address?: string;
1117
- addresses?: string[];
1118
- };
1119
- }[]>]: never; };
1120
- pagination?: {
1121
- nextKey?: Uint8Array;
1122
- total?: number;
1123
- } & {
1124
- nextKey?: Uint8Array;
1125
- total?: number;
1126
- } & { [K_10 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
1127
- } & { [K_11 in Exclude<keyof I_1, keyof QueryCodesResponse>]: never; }>(object: I_1): QueryCodesResponse;
322
+ create<I extends Exact<DeepPartial<QueryCodesResponse>, I>>(base?: I): QueryCodesResponse;
323
+ fromPartial<I extends Exact<DeepPartial<QueryCodesResponse>, I>>(object: I): QueryCodesResponse;
1128
324
  };
1129
325
  export declare const QueryPinnedCodesRequest: {
1130
326
  encode(message: QueryPinnedCodesRequest, writer?: _m0.Writer): _m0.Writer;
1131
327
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesRequest;
1132
328
  fromJSON(object: any): QueryPinnedCodesRequest;
1133
329
  toJSON(message: QueryPinnedCodesRequest): unknown;
1134
- create<I extends {
1135
- pagination?: {
1136
- key?: Uint8Array;
1137
- offset?: number;
1138
- limit?: number;
1139
- countTotal?: boolean;
1140
- reverse?: boolean;
1141
- };
1142
- } & {
1143
- pagination?: {
1144
- key?: Uint8Array;
1145
- offset?: number;
1146
- limit?: number;
1147
- countTotal?: boolean;
1148
- reverse?: boolean;
1149
- } & {
1150
- key?: Uint8Array;
1151
- offset?: number;
1152
- limit?: number;
1153
- countTotal?: boolean;
1154
- reverse?: boolean;
1155
- } & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
1156
- } & { [K_1 in Exclude<keyof I, "pagination">]: never; }>(base?: I): QueryPinnedCodesRequest;
1157
- fromPartial<I_1 extends {
1158
- pagination?: {
1159
- key?: Uint8Array;
1160
- offset?: number;
1161
- limit?: number;
1162
- countTotal?: boolean;
1163
- reverse?: boolean;
1164
- };
1165
- } & {
1166
- pagination?: {
1167
- key?: Uint8Array;
1168
- offset?: number;
1169
- limit?: number;
1170
- countTotal?: boolean;
1171
- reverse?: boolean;
1172
- } & {
1173
- key?: Uint8Array;
1174
- offset?: number;
1175
- limit?: number;
1176
- countTotal?: boolean;
1177
- reverse?: boolean;
1178
- } & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
1179
- } & { [K_3 in Exclude<keyof I_1, "pagination">]: never; }>(object: I_1): QueryPinnedCodesRequest;
330
+ create<I extends Exact<DeepPartial<QueryPinnedCodesRequest>, I>>(base?: I): QueryPinnedCodesRequest;
331
+ fromPartial<I extends Exact<DeepPartial<QueryPinnedCodesRequest>, I>>(object: I): QueryPinnedCodesRequest;
1180
332
  };
1181
333
  export declare const QueryPinnedCodesResponse: {
1182
334
  encode(message: QueryPinnedCodesResponse, writer?: _m0.Writer): _m0.Writer;
1183
335
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesResponse;
1184
336
  fromJSON(object: any): QueryPinnedCodesResponse;
1185
337
  toJSON(message: QueryPinnedCodesResponse): unknown;
1186
- create<I extends {
1187
- codeIds?: number[];
1188
- pagination?: {
1189
- nextKey?: Uint8Array;
1190
- total?: number;
1191
- };
1192
- } & {
1193
- codeIds?: number[] & number[] & { [K in Exclude<keyof I["codeIds"], keyof number[]>]: never; };
1194
- pagination?: {
1195
- nextKey?: Uint8Array;
1196
- total?: number;
1197
- } & {
1198
- nextKey?: Uint8Array;
1199
- total?: number;
1200
- } & { [K_1 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
1201
- } & { [K_2 in Exclude<keyof I, keyof QueryPinnedCodesResponse>]: never; }>(base?: I): QueryPinnedCodesResponse;
1202
- fromPartial<I_1 extends {
1203
- codeIds?: number[];
1204
- pagination?: {
1205
- nextKey?: Uint8Array;
1206
- total?: number;
1207
- };
1208
- } & {
1209
- codeIds?: number[] & number[] & { [K_3 in Exclude<keyof I_1["codeIds"], keyof number[]>]: never; };
1210
- pagination?: {
1211
- nextKey?: Uint8Array;
1212
- total?: number;
1213
- } & {
1214
- nextKey?: Uint8Array;
1215
- total?: number;
1216
- } & { [K_4 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
1217
- } & { [K_5 in Exclude<keyof I_1, keyof QueryPinnedCodesResponse>]: never; }>(object: I_1): QueryPinnedCodesResponse;
338
+ create<I extends Exact<DeepPartial<QueryPinnedCodesResponse>, I>>(base?: I): QueryPinnedCodesResponse;
339
+ fromPartial<I extends Exact<DeepPartial<QueryPinnedCodesResponse>, I>>(object: I): QueryPinnedCodesResponse;
1218
340
  };
1219
341
  export declare const QueryParamsRequest: {
1220
342
  encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer;
1221
343
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest;
1222
344
  fromJSON(_: any): QueryParamsRequest;
1223
345
  toJSON(_: QueryParamsRequest): unknown;
1224
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): QueryParamsRequest;
1225
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): QueryParamsRequest;
346
+ create<I extends Exact<DeepPartial<QueryParamsRequest>, I>>(base?: I): QueryParamsRequest;
347
+ fromPartial<I extends Exact<DeepPartial<QueryParamsRequest>, I>>(_: I): QueryParamsRequest;
1226
348
  };
1227
349
  export declare const QueryParamsResponse: {
1228
350
  encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer;
1229
351
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse;
1230
352
  fromJSON(object: any): QueryParamsResponse;
1231
353
  toJSON(message: QueryParamsResponse): unknown;
1232
- create<I extends {
1233
- params?: {
1234
- codeUploadAccess?: {
1235
- permission?: import("./types").AccessType;
1236
- address?: string;
1237
- addresses?: string[];
1238
- };
1239
- instantiateDefaultPermission?: import("./types").AccessType;
1240
- };
1241
- } & {
1242
- params?: {
1243
- codeUploadAccess?: {
1244
- permission?: import("./types").AccessType;
1245
- address?: string;
1246
- addresses?: string[];
1247
- };
1248
- instantiateDefaultPermission?: import("./types").AccessType;
1249
- } & {
1250
- codeUploadAccess?: {
1251
- permission?: import("./types").AccessType;
1252
- address?: string;
1253
- addresses?: string[];
1254
- } & {
1255
- permission?: import("./types").AccessType;
1256
- address?: string;
1257
- addresses?: string[] & string[] & { [K in Exclude<keyof I["params"]["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
1258
- } & { [K_1 in Exclude<keyof I["params"]["codeUploadAccess"], keyof AccessConfig>]: never; };
1259
- instantiateDefaultPermission?: import("./types").AccessType;
1260
- } & { [K_2 in Exclude<keyof I["params"], keyof Params>]: never; };
1261
- } & { [K_3 in Exclude<keyof I, "params">]: never; }>(base?: I): QueryParamsResponse;
1262
- fromPartial<I_1 extends {
1263
- params?: {
1264
- codeUploadAccess?: {
1265
- permission?: import("./types").AccessType;
1266
- address?: string;
1267
- addresses?: string[];
1268
- };
1269
- instantiateDefaultPermission?: import("./types").AccessType;
1270
- };
1271
- } & {
1272
- params?: {
1273
- codeUploadAccess?: {
1274
- permission?: import("./types").AccessType;
1275
- address?: string;
1276
- addresses?: string[];
1277
- };
1278
- instantiateDefaultPermission?: import("./types").AccessType;
1279
- } & {
1280
- codeUploadAccess?: {
1281
- permission?: import("./types").AccessType;
1282
- address?: string;
1283
- addresses?: string[];
1284
- } & {
1285
- permission?: import("./types").AccessType;
1286
- address?: string;
1287
- addresses?: string[] & string[] & { [K_4 in Exclude<keyof I_1["params"]["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
1288
- } & { [K_5 in Exclude<keyof I_1["params"]["codeUploadAccess"], keyof AccessConfig>]: never; };
1289
- instantiateDefaultPermission?: import("./types").AccessType;
1290
- } & { [K_6 in Exclude<keyof I_1["params"], keyof Params>]: never; };
1291
- } & { [K_7 in Exclude<keyof I_1, "params">]: never; }>(object: I_1): QueryParamsResponse;
354
+ create<I extends Exact<DeepPartial<QueryParamsResponse>, I>>(base?: I): QueryParamsResponse;
355
+ fromPartial<I extends Exact<DeepPartial<QueryParamsResponse>, I>>(object: I): QueryParamsResponse;
1292
356
  };
1293
357
  export declare const QueryContractsByCreatorRequest: {
1294
358
  encode(message: QueryContractsByCreatorRequest, writer?: _m0.Writer): _m0.Writer;
1295
359
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCreatorRequest;
1296
360
  fromJSON(object: any): QueryContractsByCreatorRequest;
1297
361
  toJSON(message: QueryContractsByCreatorRequest): unknown;
1298
- create<I extends {
1299
- creatorAddress?: string;
1300
- pagination?: {
1301
- key?: Uint8Array;
1302
- offset?: number;
1303
- limit?: number;
1304
- countTotal?: boolean;
1305
- reverse?: boolean;
1306
- };
1307
- } & {
1308
- creatorAddress?: string;
1309
- pagination?: {
1310
- key?: Uint8Array;
1311
- offset?: number;
1312
- limit?: number;
1313
- countTotal?: boolean;
1314
- reverse?: boolean;
1315
- } & {
1316
- key?: Uint8Array;
1317
- offset?: number;
1318
- limit?: number;
1319
- countTotal?: boolean;
1320
- reverse?: boolean;
1321
- } & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
1322
- } & { [K_1 in Exclude<keyof I, keyof QueryContractsByCreatorRequest>]: never; }>(base?: I): QueryContractsByCreatorRequest;
1323
- fromPartial<I_1 extends {
1324
- creatorAddress?: string;
1325
- pagination?: {
1326
- key?: Uint8Array;
1327
- offset?: number;
1328
- limit?: number;
1329
- countTotal?: boolean;
1330
- reverse?: boolean;
1331
- };
1332
- } & {
1333
- creatorAddress?: string;
1334
- pagination?: {
1335
- key?: Uint8Array;
1336
- offset?: number;
1337
- limit?: number;
1338
- countTotal?: boolean;
1339
- reverse?: boolean;
1340
- } & {
1341
- key?: Uint8Array;
1342
- offset?: number;
1343
- limit?: number;
1344
- countTotal?: boolean;
1345
- reverse?: boolean;
1346
- } & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
1347
- } & { [K_3 in Exclude<keyof I_1, keyof QueryContractsByCreatorRequest>]: never; }>(object: I_1): QueryContractsByCreatorRequest;
362
+ create<I extends Exact<DeepPartial<QueryContractsByCreatorRequest>, I>>(base?: I): QueryContractsByCreatorRequest;
363
+ fromPartial<I extends Exact<DeepPartial<QueryContractsByCreatorRequest>, I>>(object: I): QueryContractsByCreatorRequest;
1348
364
  };
1349
365
  export declare const QueryContractsByCreatorResponse: {
1350
366
  encode(message: QueryContractsByCreatorResponse, writer?: _m0.Writer): _m0.Writer;
1351
367
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCreatorResponse;
1352
368
  fromJSON(object: any): QueryContractsByCreatorResponse;
1353
369
  toJSON(message: QueryContractsByCreatorResponse): unknown;
1354
- create<I extends {
1355
- contractAddresses?: string[];
1356
- pagination?: {
1357
- nextKey?: Uint8Array;
1358
- total?: number;
1359
- };
1360
- } & {
1361
- contractAddresses?: string[] & string[] & { [K in Exclude<keyof I["contractAddresses"], keyof string[]>]: never; };
1362
- pagination?: {
1363
- nextKey?: Uint8Array;
1364
- total?: number;
1365
- } & {
1366
- nextKey?: Uint8Array;
1367
- total?: number;
1368
- } & { [K_1 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
1369
- } & { [K_2 in Exclude<keyof I, keyof QueryContractsByCreatorResponse>]: never; }>(base?: I): QueryContractsByCreatorResponse;
1370
- fromPartial<I_1 extends {
1371
- contractAddresses?: string[];
1372
- pagination?: {
1373
- nextKey?: Uint8Array;
1374
- total?: number;
1375
- };
1376
- } & {
1377
- contractAddresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["contractAddresses"], keyof string[]>]: never; };
1378
- pagination?: {
1379
- nextKey?: Uint8Array;
1380
- total?: number;
1381
- } & {
1382
- nextKey?: Uint8Array;
1383
- total?: number;
1384
- } & { [K_4 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
1385
- } & { [K_5 in Exclude<keyof I_1, keyof QueryContractsByCreatorResponse>]: never; }>(object: I_1): QueryContractsByCreatorResponse;
370
+ create<I extends Exact<DeepPartial<QueryContractsByCreatorResponse>, I>>(base?: I): QueryContractsByCreatorResponse;
371
+ fromPartial<I extends Exact<DeepPartial<QueryContractsByCreatorResponse>, I>>(object: I): QueryContractsByCreatorResponse;
1386
372
  };
1387
373
  /** Query provides defines the gRPC querier service */
1388
374
  export interface Query {