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
@@ -297,718 +297,104 @@ export declare const StoreCodeProposal: {
297
297
  decode(input: _m0.Reader | Uint8Array, length?: number): StoreCodeProposal;
298
298
  fromJSON(object: any): StoreCodeProposal;
299
299
  toJSON(message: StoreCodeProposal): unknown;
300
- create<I extends {
301
- title?: string;
302
- description?: string;
303
- runAs?: string;
304
- wasmByteCode?: Uint8Array;
305
- instantiatePermission?: {
306
- permission?: import("./types").AccessType;
307
- address?: string;
308
- addresses?: string[];
309
- };
310
- unpinCode?: boolean;
311
- source?: string;
312
- builder?: string;
313
- codeHash?: Uint8Array;
314
- } & {
315
- title?: string;
316
- description?: string;
317
- runAs?: string;
318
- wasmByteCode?: Uint8Array;
319
- instantiatePermission?: {
320
- permission?: import("./types").AccessType;
321
- address?: string;
322
- addresses?: string[];
323
- } & {
324
- permission?: import("./types").AccessType;
325
- address?: string;
326
- addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiatePermission"]["addresses"], keyof string[]>]: never; };
327
- } & { [K_1 in Exclude<keyof I["instantiatePermission"], keyof AccessConfig>]: never; };
328
- unpinCode?: boolean;
329
- source?: string;
330
- builder?: string;
331
- codeHash?: Uint8Array;
332
- } & { [K_2 in Exclude<keyof I, keyof StoreCodeProposal>]: never; }>(base?: I): StoreCodeProposal;
333
- fromPartial<I_1 extends {
334
- title?: string;
335
- description?: string;
336
- runAs?: string;
337
- wasmByteCode?: Uint8Array;
338
- instantiatePermission?: {
339
- permission?: import("./types").AccessType;
340
- address?: string;
341
- addresses?: string[];
342
- };
343
- unpinCode?: boolean;
344
- source?: string;
345
- builder?: string;
346
- codeHash?: Uint8Array;
347
- } & {
348
- title?: string;
349
- description?: string;
350
- runAs?: string;
351
- wasmByteCode?: Uint8Array;
352
- instantiatePermission?: {
353
- permission?: import("./types").AccessType;
354
- address?: string;
355
- addresses?: string[];
356
- } & {
357
- permission?: import("./types").AccessType;
358
- address?: string;
359
- addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["instantiatePermission"]["addresses"], keyof string[]>]: never; };
360
- } & { [K_4 in Exclude<keyof I_1["instantiatePermission"], keyof AccessConfig>]: never; };
361
- unpinCode?: boolean;
362
- source?: string;
363
- builder?: string;
364
- codeHash?: Uint8Array;
365
- } & { [K_5 in Exclude<keyof I_1, keyof StoreCodeProposal>]: never; }>(object: I_1): StoreCodeProposal;
300
+ create<I extends Exact<DeepPartial<StoreCodeProposal>, I>>(base?: I): StoreCodeProposal;
301
+ fromPartial<I extends Exact<DeepPartial<StoreCodeProposal>, I>>(object: I): StoreCodeProposal;
366
302
  };
367
303
  export declare const InstantiateContractProposal: {
368
304
  encode(message: InstantiateContractProposal, writer?: _m0.Writer): _m0.Writer;
369
305
  decode(input: _m0.Reader | Uint8Array, length?: number): InstantiateContractProposal;
370
306
  fromJSON(object: any): InstantiateContractProposal;
371
307
  toJSON(message: InstantiateContractProposal): unknown;
372
- create<I extends {
373
- title?: string;
374
- description?: string;
375
- runAs?: string;
376
- admin?: string;
377
- codeId?: number;
378
- label?: string;
379
- msg?: Uint8Array;
380
- funds?: {
381
- denom?: string;
382
- amount?: string;
383
- }[];
384
- } & {
385
- title?: string;
386
- description?: string;
387
- runAs?: string;
388
- admin?: string;
389
- codeId?: number;
390
- label?: string;
391
- msg?: Uint8Array;
392
- funds?: {
393
- denom?: string;
394
- amount?: string;
395
- }[] & ({
396
- denom?: string;
397
- amount?: string;
398
- } & {
399
- denom?: string;
400
- amount?: string;
401
- } & { [K in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["funds"], keyof {
402
- denom?: string;
403
- amount?: string;
404
- }[]>]: never; };
405
- } & { [K_2 in Exclude<keyof I, keyof InstantiateContractProposal>]: never; }>(base?: I): InstantiateContractProposal;
406
- fromPartial<I_1 extends {
407
- title?: string;
408
- description?: string;
409
- runAs?: string;
410
- admin?: string;
411
- codeId?: number;
412
- label?: string;
413
- msg?: Uint8Array;
414
- funds?: {
415
- denom?: string;
416
- amount?: string;
417
- }[];
418
- } & {
419
- title?: string;
420
- description?: string;
421
- runAs?: string;
422
- admin?: string;
423
- codeId?: number;
424
- label?: string;
425
- msg?: Uint8Array;
426
- funds?: {
427
- denom?: string;
428
- amount?: string;
429
- }[] & ({
430
- denom?: string;
431
- amount?: string;
432
- } & {
433
- denom?: string;
434
- amount?: string;
435
- } & { [K_3 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["funds"], keyof {
436
- denom?: string;
437
- amount?: string;
438
- }[]>]: never; };
439
- } & { [K_5 in Exclude<keyof I_1, keyof InstantiateContractProposal>]: never; }>(object: I_1): InstantiateContractProposal;
308
+ create<I extends Exact<DeepPartial<InstantiateContractProposal>, I>>(base?: I): InstantiateContractProposal;
309
+ fromPartial<I extends Exact<DeepPartial<InstantiateContractProposal>, I>>(object: I): InstantiateContractProposal;
440
310
  };
441
311
  export declare const InstantiateContract2Proposal: {
442
312
  encode(message: InstantiateContract2Proposal, writer?: _m0.Writer): _m0.Writer;
443
313
  decode(input: _m0.Reader | Uint8Array, length?: number): InstantiateContract2Proposal;
444
314
  fromJSON(object: any): InstantiateContract2Proposal;
445
315
  toJSON(message: InstantiateContract2Proposal): unknown;
446
- create<I extends {
447
- title?: string;
448
- description?: string;
449
- runAs?: string;
450
- admin?: string;
451
- codeId?: number;
452
- label?: string;
453
- msg?: Uint8Array;
454
- funds?: {
455
- denom?: string;
456
- amount?: string;
457
- }[];
458
- salt?: Uint8Array;
459
- fixMsg?: boolean;
460
- } & {
461
- title?: string;
462
- description?: string;
463
- runAs?: string;
464
- admin?: string;
465
- codeId?: number;
466
- label?: string;
467
- msg?: Uint8Array;
468
- funds?: {
469
- denom?: string;
470
- amount?: string;
471
- }[] & ({
472
- denom?: string;
473
- amount?: string;
474
- } & {
475
- denom?: string;
476
- amount?: string;
477
- } & { [K in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["funds"], keyof {
478
- denom?: string;
479
- amount?: string;
480
- }[]>]: never; };
481
- salt?: Uint8Array;
482
- fixMsg?: boolean;
483
- } & { [K_2 in Exclude<keyof I, keyof InstantiateContract2Proposal>]: never; }>(base?: I): InstantiateContract2Proposal;
484
- fromPartial<I_1 extends {
485
- title?: string;
486
- description?: string;
487
- runAs?: string;
488
- admin?: string;
489
- codeId?: number;
490
- label?: string;
491
- msg?: Uint8Array;
492
- funds?: {
493
- denom?: string;
494
- amount?: string;
495
- }[];
496
- salt?: Uint8Array;
497
- fixMsg?: boolean;
498
- } & {
499
- title?: string;
500
- description?: string;
501
- runAs?: string;
502
- admin?: string;
503
- codeId?: number;
504
- label?: string;
505
- msg?: Uint8Array;
506
- funds?: {
507
- denom?: string;
508
- amount?: string;
509
- }[] & ({
510
- denom?: string;
511
- amount?: string;
512
- } & {
513
- denom?: string;
514
- amount?: string;
515
- } & { [K_3 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["funds"], keyof {
516
- denom?: string;
517
- amount?: string;
518
- }[]>]: never; };
519
- salt?: Uint8Array;
520
- fixMsg?: boolean;
521
- } & { [K_5 in Exclude<keyof I_1, keyof InstantiateContract2Proposal>]: never; }>(object: I_1): InstantiateContract2Proposal;
316
+ create<I extends Exact<DeepPartial<InstantiateContract2Proposal>, I>>(base?: I): InstantiateContract2Proposal;
317
+ fromPartial<I extends Exact<DeepPartial<InstantiateContract2Proposal>, I>>(object: I): InstantiateContract2Proposal;
522
318
  };
523
319
  export declare const MigrateContractProposal: {
524
320
  encode(message: MigrateContractProposal, writer?: _m0.Writer): _m0.Writer;
525
321
  decode(input: _m0.Reader | Uint8Array, length?: number): MigrateContractProposal;
526
322
  fromJSON(object: any): MigrateContractProposal;
527
323
  toJSON(message: MigrateContractProposal): unknown;
528
- create<I extends {
529
- title?: string;
530
- description?: string;
531
- contract?: string;
532
- codeId?: number;
533
- msg?: Uint8Array;
534
- } & {
535
- title?: string;
536
- description?: string;
537
- contract?: string;
538
- codeId?: number;
539
- msg?: Uint8Array;
540
- } & { [K in Exclude<keyof I, keyof MigrateContractProposal>]: never; }>(base?: I): MigrateContractProposal;
541
- fromPartial<I_1 extends {
542
- title?: string;
543
- description?: string;
544
- contract?: string;
545
- codeId?: number;
546
- msg?: Uint8Array;
547
- } & {
548
- title?: string;
549
- description?: string;
550
- contract?: string;
551
- codeId?: number;
552
- msg?: Uint8Array;
553
- } & { [K_1 in Exclude<keyof I_1, keyof MigrateContractProposal>]: never; }>(object: I_1): MigrateContractProposal;
324
+ create<I extends Exact<DeepPartial<MigrateContractProposal>, I>>(base?: I): MigrateContractProposal;
325
+ fromPartial<I extends Exact<DeepPartial<MigrateContractProposal>, I>>(object: I): MigrateContractProposal;
554
326
  };
555
327
  export declare const SudoContractProposal: {
556
328
  encode(message: SudoContractProposal, writer?: _m0.Writer): _m0.Writer;
557
329
  decode(input: _m0.Reader | Uint8Array, length?: number): SudoContractProposal;
558
330
  fromJSON(object: any): SudoContractProposal;
559
331
  toJSON(message: SudoContractProposal): unknown;
560
- create<I extends {
561
- title?: string;
562
- description?: string;
563
- contract?: string;
564
- msg?: Uint8Array;
565
- } & {
566
- title?: string;
567
- description?: string;
568
- contract?: string;
569
- msg?: Uint8Array;
570
- } & { [K in Exclude<keyof I, keyof SudoContractProposal>]: never; }>(base?: I): SudoContractProposal;
571
- fromPartial<I_1 extends {
572
- title?: string;
573
- description?: string;
574
- contract?: string;
575
- msg?: Uint8Array;
576
- } & {
577
- title?: string;
578
- description?: string;
579
- contract?: string;
580
- msg?: Uint8Array;
581
- } & { [K_1 in Exclude<keyof I_1, keyof SudoContractProposal>]: never; }>(object: I_1): SudoContractProposal;
332
+ create<I extends Exact<DeepPartial<SudoContractProposal>, I>>(base?: I): SudoContractProposal;
333
+ fromPartial<I extends Exact<DeepPartial<SudoContractProposal>, I>>(object: I): SudoContractProposal;
582
334
  };
583
335
  export declare const ExecuteContractProposal: {
584
336
  encode(message: ExecuteContractProposal, writer?: _m0.Writer): _m0.Writer;
585
337
  decode(input: _m0.Reader | Uint8Array, length?: number): ExecuteContractProposal;
586
338
  fromJSON(object: any): ExecuteContractProposal;
587
339
  toJSON(message: ExecuteContractProposal): unknown;
588
- create<I extends {
589
- title?: string;
590
- description?: string;
591
- runAs?: string;
592
- contract?: string;
593
- msg?: Uint8Array;
594
- funds?: {
595
- denom?: string;
596
- amount?: string;
597
- }[];
598
- } & {
599
- title?: string;
600
- description?: string;
601
- runAs?: string;
602
- contract?: string;
603
- msg?: Uint8Array;
604
- funds?: {
605
- denom?: string;
606
- amount?: string;
607
- }[] & ({
608
- denom?: string;
609
- amount?: string;
610
- } & {
611
- denom?: string;
612
- amount?: string;
613
- } & { [K in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["funds"], keyof {
614
- denom?: string;
615
- amount?: string;
616
- }[]>]: never; };
617
- } & { [K_2 in Exclude<keyof I, keyof ExecuteContractProposal>]: never; }>(base?: I): ExecuteContractProposal;
618
- fromPartial<I_1 extends {
619
- title?: string;
620
- description?: string;
621
- runAs?: string;
622
- contract?: string;
623
- msg?: Uint8Array;
624
- funds?: {
625
- denom?: string;
626
- amount?: string;
627
- }[];
628
- } & {
629
- title?: string;
630
- description?: string;
631
- runAs?: string;
632
- contract?: string;
633
- msg?: Uint8Array;
634
- funds?: {
635
- denom?: string;
636
- amount?: string;
637
- }[] & ({
638
- denom?: string;
639
- amount?: string;
640
- } & {
641
- denom?: string;
642
- amount?: string;
643
- } & { [K_3 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["funds"], keyof {
644
- denom?: string;
645
- amount?: string;
646
- }[]>]: never; };
647
- } & { [K_5 in Exclude<keyof I_1, keyof ExecuteContractProposal>]: never; }>(object: I_1): ExecuteContractProposal;
340
+ create<I extends Exact<DeepPartial<ExecuteContractProposal>, I>>(base?: I): ExecuteContractProposal;
341
+ fromPartial<I extends Exact<DeepPartial<ExecuteContractProposal>, I>>(object: I): ExecuteContractProposal;
648
342
  };
649
343
  export declare const UpdateAdminProposal: {
650
344
  encode(message: UpdateAdminProposal, writer?: _m0.Writer): _m0.Writer;
651
345
  decode(input: _m0.Reader | Uint8Array, length?: number): UpdateAdminProposal;
652
346
  fromJSON(object: any): UpdateAdminProposal;
653
347
  toJSON(message: UpdateAdminProposal): unknown;
654
- create<I extends {
655
- title?: string;
656
- description?: string;
657
- newAdmin?: string;
658
- contract?: string;
659
- } & {
660
- title?: string;
661
- description?: string;
662
- newAdmin?: string;
663
- contract?: string;
664
- } & { [K in Exclude<keyof I, keyof UpdateAdminProposal>]: never; }>(base?: I): UpdateAdminProposal;
665
- fromPartial<I_1 extends {
666
- title?: string;
667
- description?: string;
668
- newAdmin?: string;
669
- contract?: string;
670
- } & {
671
- title?: string;
672
- description?: string;
673
- newAdmin?: string;
674
- contract?: string;
675
- } & { [K_1 in Exclude<keyof I_1, keyof UpdateAdminProposal>]: never; }>(object: I_1): UpdateAdminProposal;
348
+ create<I extends Exact<DeepPartial<UpdateAdminProposal>, I>>(base?: I): UpdateAdminProposal;
349
+ fromPartial<I extends Exact<DeepPartial<UpdateAdminProposal>, I>>(object: I): UpdateAdminProposal;
676
350
  };
677
351
  export declare const ClearAdminProposal: {
678
352
  encode(message: ClearAdminProposal, writer?: _m0.Writer): _m0.Writer;
679
353
  decode(input: _m0.Reader | Uint8Array, length?: number): ClearAdminProposal;
680
354
  fromJSON(object: any): ClearAdminProposal;
681
355
  toJSON(message: ClearAdminProposal): unknown;
682
- create<I extends {
683
- title?: string;
684
- description?: string;
685
- contract?: string;
686
- } & {
687
- title?: string;
688
- description?: string;
689
- contract?: string;
690
- } & { [K in Exclude<keyof I, keyof ClearAdminProposal>]: never; }>(base?: I): ClearAdminProposal;
691
- fromPartial<I_1 extends {
692
- title?: string;
693
- description?: string;
694
- contract?: string;
695
- } & {
696
- title?: string;
697
- description?: string;
698
- contract?: string;
699
- } & { [K_1 in Exclude<keyof I_1, keyof ClearAdminProposal>]: never; }>(object: I_1): ClearAdminProposal;
356
+ create<I extends Exact<DeepPartial<ClearAdminProposal>, I>>(base?: I): ClearAdminProposal;
357
+ fromPartial<I extends Exact<DeepPartial<ClearAdminProposal>, I>>(object: I): ClearAdminProposal;
700
358
  };
701
359
  export declare const PinCodesProposal: {
702
360
  encode(message: PinCodesProposal, writer?: _m0.Writer): _m0.Writer;
703
361
  decode(input: _m0.Reader | Uint8Array, length?: number): PinCodesProposal;
704
362
  fromJSON(object: any): PinCodesProposal;
705
363
  toJSON(message: PinCodesProposal): unknown;
706
- create<I extends {
707
- title?: string;
708
- description?: string;
709
- codeIds?: number[];
710
- } & {
711
- title?: string;
712
- description?: string;
713
- codeIds?: number[] & number[] & { [K in Exclude<keyof I["codeIds"], keyof number[]>]: never; };
714
- } & { [K_1 in Exclude<keyof I, keyof PinCodesProposal>]: never; }>(base?: I): PinCodesProposal;
715
- fromPartial<I_1 extends {
716
- title?: string;
717
- description?: string;
718
- codeIds?: number[];
719
- } & {
720
- title?: string;
721
- description?: string;
722
- codeIds?: number[] & number[] & { [K_2 in Exclude<keyof I_1["codeIds"], keyof number[]>]: never; };
723
- } & { [K_3 in Exclude<keyof I_1, keyof PinCodesProposal>]: never; }>(object: I_1): PinCodesProposal;
364
+ create<I extends Exact<DeepPartial<PinCodesProposal>, I>>(base?: I): PinCodesProposal;
365
+ fromPartial<I extends Exact<DeepPartial<PinCodesProposal>, I>>(object: I): PinCodesProposal;
724
366
  };
725
367
  export declare const UnpinCodesProposal: {
726
368
  encode(message: UnpinCodesProposal, writer?: _m0.Writer): _m0.Writer;
727
369
  decode(input: _m0.Reader | Uint8Array, length?: number): UnpinCodesProposal;
728
370
  fromJSON(object: any): UnpinCodesProposal;
729
371
  toJSON(message: UnpinCodesProposal): unknown;
730
- create<I extends {
731
- title?: string;
732
- description?: string;
733
- codeIds?: number[];
734
- } & {
735
- title?: string;
736
- description?: string;
737
- codeIds?: number[] & number[] & { [K in Exclude<keyof I["codeIds"], keyof number[]>]: never; };
738
- } & { [K_1 in Exclude<keyof I, keyof UnpinCodesProposal>]: never; }>(base?: I): UnpinCodesProposal;
739
- fromPartial<I_1 extends {
740
- title?: string;
741
- description?: string;
742
- codeIds?: number[];
743
- } & {
744
- title?: string;
745
- description?: string;
746
- codeIds?: number[] & number[] & { [K_2 in Exclude<keyof I_1["codeIds"], keyof number[]>]: never; };
747
- } & { [K_3 in Exclude<keyof I_1, keyof UnpinCodesProposal>]: never; }>(object: I_1): UnpinCodesProposal;
372
+ create<I extends Exact<DeepPartial<UnpinCodesProposal>, I>>(base?: I): UnpinCodesProposal;
373
+ fromPartial<I extends Exact<DeepPartial<UnpinCodesProposal>, I>>(object: I): UnpinCodesProposal;
748
374
  };
749
375
  export declare const AccessConfigUpdate: {
750
376
  encode(message: AccessConfigUpdate, writer?: _m0.Writer): _m0.Writer;
751
377
  decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfigUpdate;
752
378
  fromJSON(object: any): AccessConfigUpdate;
753
379
  toJSON(message: AccessConfigUpdate): unknown;
754
- create<I extends {
755
- codeId?: number;
756
- instantiatePermission?: {
757
- permission?: import("./types").AccessType;
758
- address?: string;
759
- addresses?: string[];
760
- };
761
- } & {
762
- codeId?: number;
763
- instantiatePermission?: {
764
- permission?: import("./types").AccessType;
765
- address?: string;
766
- addresses?: string[];
767
- } & {
768
- permission?: import("./types").AccessType;
769
- address?: string;
770
- addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiatePermission"]["addresses"], keyof string[]>]: never; };
771
- } & { [K_1 in Exclude<keyof I["instantiatePermission"], keyof AccessConfig>]: never; };
772
- } & { [K_2 in Exclude<keyof I, keyof AccessConfigUpdate>]: never; }>(base?: I): AccessConfigUpdate;
773
- fromPartial<I_1 extends {
774
- codeId?: number;
775
- instantiatePermission?: {
776
- permission?: import("./types").AccessType;
777
- address?: string;
778
- addresses?: string[];
779
- };
780
- } & {
781
- codeId?: number;
782
- instantiatePermission?: {
783
- permission?: import("./types").AccessType;
784
- address?: string;
785
- addresses?: string[];
786
- } & {
787
- permission?: import("./types").AccessType;
788
- address?: string;
789
- addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["instantiatePermission"]["addresses"], keyof string[]>]: never; };
790
- } & { [K_4 in Exclude<keyof I_1["instantiatePermission"], keyof AccessConfig>]: never; };
791
- } & { [K_5 in Exclude<keyof I_1, keyof AccessConfigUpdate>]: never; }>(object: I_1): AccessConfigUpdate;
380
+ create<I extends Exact<DeepPartial<AccessConfigUpdate>, I>>(base?: I): AccessConfigUpdate;
381
+ fromPartial<I extends Exact<DeepPartial<AccessConfigUpdate>, I>>(object: I): AccessConfigUpdate;
792
382
  };
793
383
  export declare const UpdateInstantiateConfigProposal: {
794
384
  encode(message: UpdateInstantiateConfigProposal, writer?: _m0.Writer): _m0.Writer;
795
385
  decode(input: _m0.Reader | Uint8Array, length?: number): UpdateInstantiateConfigProposal;
796
386
  fromJSON(object: any): UpdateInstantiateConfigProposal;
797
387
  toJSON(message: UpdateInstantiateConfigProposal): unknown;
798
- create<I extends {
799
- title?: string;
800
- description?: string;
801
- accessConfigUpdates?: {
802
- codeId?: number;
803
- instantiatePermission?: {
804
- permission?: import("./types").AccessType;
805
- address?: string;
806
- addresses?: string[];
807
- };
808
- }[];
809
- } & {
810
- title?: string;
811
- description?: string;
812
- accessConfigUpdates?: {
813
- codeId?: number;
814
- instantiatePermission?: {
815
- permission?: import("./types").AccessType;
816
- address?: string;
817
- addresses?: string[];
818
- };
819
- }[] & ({
820
- codeId?: number;
821
- instantiatePermission?: {
822
- permission?: import("./types").AccessType;
823
- address?: string;
824
- addresses?: string[];
825
- };
826
- } & {
827
- codeId?: number;
828
- instantiatePermission?: {
829
- permission?: import("./types").AccessType;
830
- address?: string;
831
- addresses?: string[];
832
- } & {
833
- permission?: import("./types").AccessType;
834
- address?: string;
835
- addresses?: string[] & string[] & { [K in Exclude<keyof I["accessConfigUpdates"][number]["instantiatePermission"]["addresses"], keyof string[]>]: never; };
836
- } & { [K_1 in Exclude<keyof I["accessConfigUpdates"][number]["instantiatePermission"], keyof AccessConfig>]: never; };
837
- } & { [K_2 in Exclude<keyof I["accessConfigUpdates"][number], keyof AccessConfigUpdate>]: never; })[] & { [K_3 in Exclude<keyof I["accessConfigUpdates"], keyof {
838
- codeId?: number;
839
- instantiatePermission?: {
840
- permission?: import("./types").AccessType;
841
- address?: string;
842
- addresses?: string[];
843
- };
844
- }[]>]: never; };
845
- } & { [K_4 in Exclude<keyof I, keyof UpdateInstantiateConfigProposal>]: never; }>(base?: I): UpdateInstantiateConfigProposal;
846
- fromPartial<I_1 extends {
847
- title?: string;
848
- description?: string;
849
- accessConfigUpdates?: {
850
- codeId?: number;
851
- instantiatePermission?: {
852
- permission?: import("./types").AccessType;
853
- address?: string;
854
- addresses?: string[];
855
- };
856
- }[];
857
- } & {
858
- title?: string;
859
- description?: string;
860
- accessConfigUpdates?: {
861
- codeId?: number;
862
- instantiatePermission?: {
863
- permission?: import("./types").AccessType;
864
- address?: string;
865
- addresses?: string[];
866
- };
867
- }[] & ({
868
- codeId?: number;
869
- instantiatePermission?: {
870
- permission?: import("./types").AccessType;
871
- address?: string;
872
- addresses?: string[];
873
- };
874
- } & {
875
- codeId?: number;
876
- instantiatePermission?: {
877
- permission?: import("./types").AccessType;
878
- address?: string;
879
- addresses?: string[];
880
- } & {
881
- permission?: import("./types").AccessType;
882
- address?: string;
883
- addresses?: string[] & string[] & { [K_5 in Exclude<keyof I_1["accessConfigUpdates"][number]["instantiatePermission"]["addresses"], keyof string[]>]: never; };
884
- } & { [K_6 in Exclude<keyof I_1["accessConfigUpdates"][number]["instantiatePermission"], keyof AccessConfig>]: never; };
885
- } & { [K_7 in Exclude<keyof I_1["accessConfigUpdates"][number], keyof AccessConfigUpdate>]: never; })[] & { [K_8 in Exclude<keyof I_1["accessConfigUpdates"], keyof {
886
- codeId?: number;
887
- instantiatePermission?: {
888
- permission?: import("./types").AccessType;
889
- address?: string;
890
- addresses?: string[];
891
- };
892
- }[]>]: never; };
893
- } & { [K_9 in Exclude<keyof I_1, keyof UpdateInstantiateConfigProposal>]: never; }>(object: I_1): UpdateInstantiateConfigProposal;
388
+ create<I extends Exact<DeepPartial<UpdateInstantiateConfigProposal>, I>>(base?: I): UpdateInstantiateConfigProposal;
389
+ fromPartial<I extends Exact<DeepPartial<UpdateInstantiateConfigProposal>, I>>(object: I): UpdateInstantiateConfigProposal;
894
390
  };
895
391
  export declare const StoreAndInstantiateContractProposal: {
896
392
  encode(message: StoreAndInstantiateContractProposal, writer?: _m0.Writer): _m0.Writer;
897
393
  decode(input: _m0.Reader | Uint8Array, length?: number): StoreAndInstantiateContractProposal;
898
394
  fromJSON(object: any): StoreAndInstantiateContractProposal;
899
395
  toJSON(message: StoreAndInstantiateContractProposal): unknown;
900
- create<I extends {
901
- title?: string;
902
- description?: string;
903
- runAs?: string;
904
- wasmByteCode?: Uint8Array;
905
- instantiatePermission?: {
906
- permission?: import("./types").AccessType;
907
- address?: string;
908
- addresses?: string[];
909
- };
910
- unpinCode?: boolean;
911
- admin?: string;
912
- label?: string;
913
- msg?: Uint8Array;
914
- funds?: {
915
- denom?: string;
916
- amount?: string;
917
- }[];
918
- source?: string;
919
- builder?: string;
920
- codeHash?: Uint8Array;
921
- } & {
922
- title?: string;
923
- description?: string;
924
- runAs?: string;
925
- wasmByteCode?: Uint8Array;
926
- instantiatePermission?: {
927
- permission?: import("./types").AccessType;
928
- address?: string;
929
- addresses?: string[];
930
- } & {
931
- permission?: import("./types").AccessType;
932
- address?: string;
933
- addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiatePermission"]["addresses"], keyof string[]>]: never; };
934
- } & { [K_1 in Exclude<keyof I["instantiatePermission"], keyof AccessConfig>]: never; };
935
- unpinCode?: boolean;
936
- admin?: string;
937
- label?: string;
938
- msg?: Uint8Array;
939
- funds?: {
940
- denom?: string;
941
- amount?: string;
942
- }[] & ({
943
- denom?: string;
944
- amount?: string;
945
- } & {
946
- denom?: string;
947
- amount?: string;
948
- } & { [K_2 in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_3 in Exclude<keyof I["funds"], keyof {
949
- denom?: string;
950
- amount?: string;
951
- }[]>]: never; };
952
- source?: string;
953
- builder?: string;
954
- codeHash?: Uint8Array;
955
- } & { [K_4 in Exclude<keyof I, keyof StoreAndInstantiateContractProposal>]: never; }>(base?: I): StoreAndInstantiateContractProposal;
956
- fromPartial<I_1 extends {
957
- title?: string;
958
- description?: string;
959
- runAs?: string;
960
- wasmByteCode?: Uint8Array;
961
- instantiatePermission?: {
962
- permission?: import("./types").AccessType;
963
- address?: string;
964
- addresses?: string[];
965
- };
966
- unpinCode?: boolean;
967
- admin?: string;
968
- label?: string;
969
- msg?: Uint8Array;
970
- funds?: {
971
- denom?: string;
972
- amount?: string;
973
- }[];
974
- source?: string;
975
- builder?: string;
976
- codeHash?: Uint8Array;
977
- } & {
978
- title?: string;
979
- description?: string;
980
- runAs?: string;
981
- wasmByteCode?: Uint8Array;
982
- instantiatePermission?: {
983
- permission?: import("./types").AccessType;
984
- address?: string;
985
- addresses?: string[];
986
- } & {
987
- permission?: import("./types").AccessType;
988
- address?: string;
989
- addresses?: string[] & string[] & { [K_5 in Exclude<keyof I_1["instantiatePermission"]["addresses"], keyof string[]>]: never; };
990
- } & { [K_6 in Exclude<keyof I_1["instantiatePermission"], keyof AccessConfig>]: never; };
991
- unpinCode?: boolean;
992
- admin?: string;
993
- label?: string;
994
- msg?: Uint8Array;
995
- funds?: {
996
- denom?: string;
997
- amount?: string;
998
- }[] & ({
999
- denom?: string;
1000
- amount?: string;
1001
- } & {
1002
- denom?: string;
1003
- amount?: string;
1004
- } & { [K_7 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_8 in Exclude<keyof I_1["funds"], keyof {
1005
- denom?: string;
1006
- amount?: string;
1007
- }[]>]: never; };
1008
- source?: string;
1009
- builder?: string;
1010
- codeHash?: Uint8Array;
1011
- } & { [K_9 in Exclude<keyof I_1, keyof StoreAndInstantiateContractProposal>]: never; }>(object: I_1): StoreAndInstantiateContractProposal;
396
+ create<I extends Exact<DeepPartial<StoreAndInstantiateContractProposal>, I>>(base?: I): StoreAndInstantiateContractProposal;
397
+ fromPartial<I extends Exact<DeepPartial<StoreAndInstantiateContractProposal>, I>>(object: I): StoreAndInstantiateContractProposal;
1012
398
  };
1013
399
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1014
400
  export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {