coreum-js 2.16.2 → 2.17.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.
Files changed (203) hide show
  1. package/dist/main/client/index.js +16 -17
  2. package/dist/main/coreum/asset/ft/v1/authz.d.ts +38 -0
  3. package/dist/main/coreum/asset/ft/v1/authz.js +122 -0
  4. package/dist/main/coreum/asset/ft/v1/event.d.ts +52 -120
  5. package/dist/main/coreum/asset/ft/v1/event.js +744 -138
  6. package/dist/main/coreum/asset/ft/v1/genesis.d.ts +31 -517
  7. package/dist/main/coreum/asset/ft/v1/genesis.js +273 -62
  8. package/dist/main/coreum/asset/ft/v1/params.d.ts +12 -63
  9. package/dist/main/coreum/asset/ft/v1/params.js +37 -33
  10. package/dist/main/coreum/asset/ft/v1/query.d.ts +86 -1950
  11. package/dist/main/coreum/asset/ft/v1/query.js +697 -217
  12. package/dist/main/coreum/asset/ft/v1/token.d.ts +17 -249
  13. package/dist/main/coreum/asset/ft/v1/token.js +273 -197
  14. package/dist/main/coreum/asset/ft/v1/tx.d.ts +30 -755
  15. package/dist/main/coreum/asset/ft/v1/tx.js +502 -386
  16. package/dist/main/coreum/asset/index.d.ts +2 -3
  17. package/dist/main/coreum/asset/nft/v1/authz.d.ts +33 -0
  18. package/dist/main/coreum/asset/nft/v1/authz.js +137 -0
  19. package/dist/main/coreum/asset/nft/v1/event.d.ts +35 -147
  20. package/dist/main/coreum/asset/nft/v1/event.js +475 -147
  21. package/dist/main/coreum/asset/nft/v1/genesis.d.ts +27 -286
  22. package/dist/main/coreum/asset/nft/v1/genesis.js +311 -119
  23. package/dist/main/coreum/asset/nft/v1/nft.d.ts +20 -108
  24. package/dist/main/coreum/asset/nft/v1/nft.js +136 -101
  25. package/dist/main/coreum/asset/nft/v1/params.d.ts +12 -38
  26. package/dist/main/coreum/asset/nft/v1/params.js +17 -20
  27. package/dist/main/coreum/asset/nft/v1/query.d.ts +110 -706
  28. package/dist/main/coreum/asset/nft/v1/query.js +1079 -185
  29. package/dist/main/coreum/asset/nft/v1/tx.d.ts +96 -266
  30. package/dist/main/coreum/asset/nft/v1/tx.js +865 -234
  31. package/dist/main/coreum/asset/nft/v1/types.d.ts +38 -19
  32. package/dist/main/coreum/asset/nft/v1/types.js +273 -45
  33. package/dist/main/coreum/customparams/v1/genesis.d.ts +12 -32
  34. package/dist/main/coreum/customparams/v1/genesis.js +26 -22
  35. package/dist/main/coreum/customparams/v1/params.d.ts +11 -19
  36. package/dist/main/coreum/customparams/v1/params.js +23 -20
  37. package/dist/main/coreum/customparams/v1/query.d.ts +14 -40
  38. package/dist/main/coreum/customparams/v1/query.js +35 -29
  39. package/dist/main/coreum/dex/index.d.ts +1 -0
  40. package/dist/main/coreum/dex/index.js +12 -0
  41. package/dist/main/coreum/dex/v1/event.d.ts +73 -0
  42. package/dist/main/coreum/dex/v1/event.js +470 -0
  43. package/dist/main/coreum/dex/v1/genesis.d.ts +49 -0
  44. package/dist/main/coreum/dex/v1/genesis.js +318 -0
  45. package/dist/main/coreum/dex/v1/order.d.ts +172 -0
  46. package/dist/main/coreum/dex/v1/order.js +1137 -0
  47. package/dist/main/coreum/dex/v1/params.d.ts +34 -0
  48. package/dist/main/coreum/dex/v1/params.js +139 -0
  49. package/dist/main/coreum/dex/v1/query.d.ts +133 -0
  50. package/dist/main/coreum/dex/v1/query.js +873 -0
  51. package/dist/main/coreum/dex/v1/tx.d.ts +102 -0
  52. package/dist/main/coreum/dex/v1/tx.js +521 -0
  53. package/dist/main/coreum/extensions/dex.d.ts +12 -0
  54. package/dist/main/coreum/extensions/dex.js +32 -0
  55. package/dist/main/coreum/feemodel/v1/genesis.d.ts +13 -233
  56. package/dist/main/coreum/feemodel/v1/genesis.js +23 -24
  57. package/dist/main/coreum/feemodel/v1/params.d.ts +14 -337
  58. package/dist/main/coreum/feemodel/v1/params.js +113 -66
  59. package/dist/main/coreum/feemodel/v1/query.d.ts +30 -261
  60. package/dist/main/coreum/feemodel/v1/query.js +196 -43
  61. package/dist/main/coreum/index.d.ts +46 -0
  62. package/dist/main/coreum/index.js +58 -1
  63. package/dist/main/coreum/nft/index.d.ts +1 -2
  64. package/dist/main/coreum/nft/v1beta1/event.d.ts +23 -79
  65. package/dist/main/coreum/nft/v1beta1/event.js +103 -77
  66. package/dist/main/coreum/nft/v1beta1/genesis.d.ts +13 -435
  67. package/dist/main/coreum/nft/v1beta1/genesis.js +50 -52
  68. package/dist/main/coreum/nft/v1beta1/nft.d.ts +15 -114
  69. package/dist/main/coreum/nft/v1beta1/nft.js +111 -81
  70. package/dist/main/coreum/nft/v1beta1/query.d.ts +54 -1628
  71. package/dist/main/coreum/nft/v1beta1/query.js +259 -223
  72. package/dist/main/coreum/nft/v1beta1/tx.d.ts +13 -39
  73. package/dist/main/coreum/nft/v1beta1/tx.js +54 -43
  74. package/dist/main/cosmos/extensions/distribution.d.ts +4 -4
  75. package/dist/main/cosmos/extensions/distribution.js +9 -9
  76. package/dist/main/cosmos/extensions/gov.d.ts +13 -13
  77. package/dist/main/cosmos/extensions/gov.js +14 -8
  78. package/dist/main/cosmos/index.d.ts +8 -8
  79. package/dist/main/google/api/http.js +18 -21
  80. package/dist/main/google/protobuf/any.js +3 -4
  81. package/dist/main/google/protobuf/duration.js +3 -4
  82. package/dist/main/google/protobuf/timestamp.js +3 -4
  83. package/dist/main/services/cosmostation.js +1 -1
  84. package/dist/main/tendermint/abci/types.js +183 -223
  85. package/dist/main/tendermint/crypto/keys.js +3 -4
  86. package/dist/main/tendermint/crypto/proof.js +19 -24
  87. package/dist/main/tendermint/types/params.js +15 -20
  88. package/dist/main/tendermint/types/types.js +57 -68
  89. package/dist/main/tendermint/types/validator.js +10 -13
  90. package/dist/main/tendermint/version/types.js +6 -8
  91. package/dist/main/types/core.d.ts +2 -1
  92. package/dist/main/types/core.js +2 -0
  93. package/dist/main/wasm/v1/authz.d.ts +20 -471
  94. package/dist/main/wasm/v1/authz.js +129 -148
  95. package/dist/main/wasm/v1/genesis.d.ts +14 -1020
  96. package/dist/main/wasm/v1/genesis.js +169 -140
  97. package/dist/main/wasm/v1/ibc.d.ts +13 -62
  98. package/dist/main/wasm/v1/ibc.js +91 -76
  99. package/dist/main/wasm/v1/index.d.ts +1 -2
  100. package/dist/main/wasm/v1/pagination.js +9 -11
  101. package/dist/main/wasm/v1/proposal.d.ts +23 -720
  102. package/dist/main/wasm/v1/proposal.js +634 -465
  103. package/dist/main/wasm/v1/query.d.ts +35 -1201
  104. package/dist/main/wasm/v1/query.js +370 -363
  105. package/dist/main/wasm/v1/tx.d.ts +37 -788
  106. package/dist/main/wasm/v1/tx.js +621 -497
  107. package/dist/main/wasm/v1/types.d.ts +19 -297
  108. package/dist/main/wasm/v1/types.js +219 -190
  109. package/dist/module/client/index.js +4 -3
  110. package/dist/module/coreum/asset/ft/v1/authz.d.ts +38 -0
  111. package/dist/module/coreum/asset/ft/v1/authz.js +119 -0
  112. package/dist/module/coreum/asset/ft/v1/event.d.ts +52 -120
  113. package/dist/module/coreum/asset/ft/v1/event.js +721 -109
  114. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +31 -517
  115. package/dist/module/coreum/asset/ft/v1/genesis.js +266 -50
  116. package/dist/module/coreum/asset/ft/v1/params.d.ts +12 -63
  117. package/dist/module/coreum/asset/ft/v1/params.js +35 -27
  118. package/dist/module/coreum/asset/ft/v1/query.d.ts +86 -1950
  119. package/dist/module/coreum/asset/ft/v1/query.js +672 -180
  120. package/dist/module/coreum/asset/ft/v1/token.d.ts +17 -249
  121. package/dist/module/coreum/asset/ft/v1/token.js +236 -152
  122. package/dist/module/coreum/asset/ft/v1/tx.d.ts +30 -755
  123. package/dist/module/coreum/asset/ft/v1/tx.js +437 -301
  124. package/dist/module/coreum/asset/index.d.ts +2 -3
  125. package/dist/module/coreum/asset/nft/v1/authz.d.ts +33 -0
  126. package/dist/module/coreum/asset/nft/v1/authz.js +134 -0
  127. package/dist/module/coreum/asset/nft/v1/event.d.ts +35 -147
  128. package/dist/module/coreum/asset/nft/v1/event.js +448 -112
  129. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +27 -286
  130. package/dist/module/coreum/asset/nft/v1/genesis.js +299 -100
  131. package/dist/module/coreum/asset/nft/v1/nft.d.ts +20 -108
  132. package/dist/module/coreum/asset/nft/v1/nft.js +121 -81
  133. package/dist/module/coreum/asset/nft/v1/params.d.ts +12 -38
  134. package/dist/module/coreum/asset/nft/v1/params.js +16 -16
  135. package/dist/module/coreum/asset/nft/v1/query.d.ts +110 -706
  136. package/dist/module/coreum/asset/nft/v1/query.js +1057 -153
  137. package/dist/module/coreum/asset/nft/v1/tx.d.ts +96 -266
  138. package/dist/module/coreum/asset/nft/v1/tx.js +825 -184
  139. package/dist/module/coreum/asset/nft/v1/types.d.ts +38 -19
  140. package/dist/module/coreum/asset/nft/v1/types.js +269 -39
  141. package/dist/module/coreum/customparams/v1/genesis.d.ts +12 -32
  142. package/dist/module/coreum/customparams/v1/genesis.js +25 -18
  143. package/dist/module/coreum/customparams/v1/params.d.ts +11 -19
  144. package/dist/module/coreum/customparams/v1/params.js +21 -14
  145. package/dist/module/coreum/customparams/v1/query.d.ts +14 -40
  146. package/dist/module/coreum/customparams/v1/query.js +32 -23
  147. package/dist/module/coreum/dex/index.d.ts +1 -0
  148. package/dist/module/coreum/dex/index.js +9 -0
  149. package/dist/module/coreum/dex/v1/event.d.ts +73 -0
  150. package/dist/module/coreum/dex/v1/event.js +467 -0
  151. package/dist/module/coreum/dex/v1/genesis.d.ts +49 -0
  152. package/dist/module/coreum/dex/v1/genesis.js +315 -0
  153. package/dist/module/coreum/dex/v1/order.d.ts +172 -0
  154. package/dist/module/coreum/dex/v1/order.js +1128 -0
  155. package/dist/module/coreum/dex/v1/params.d.ts +34 -0
  156. package/dist/module/coreum/dex/v1/params.js +136 -0
  157. package/dist/module/coreum/dex/v1/query.d.ts +133 -0
  158. package/dist/module/coreum/dex/v1/query.js +871 -0
  159. package/dist/module/coreum/dex/v1/tx.d.ts +102 -0
  160. package/dist/module/coreum/dex/v1/tx.js +519 -0
  161. package/dist/module/coreum/extensions/dex.d.ts +12 -0
  162. package/dist/module/coreum/extensions/dex.js +28 -0
  163. package/dist/module/coreum/feemodel/v1/genesis.d.ts +13 -233
  164. package/dist/module/coreum/feemodel/v1/genesis.js +22 -20
  165. package/dist/module/coreum/feemodel/v1/params.d.ts +14 -337
  166. package/dist/module/coreum/feemodel/v1/params.js +105 -54
  167. package/dist/module/coreum/feemodel/v1/query.d.ts +30 -261
  168. package/dist/module/coreum/feemodel/v1/query.js +191 -35
  169. package/dist/module/coreum/index.d.ts +46 -0
  170. package/dist/module/coreum/index.js +57 -0
  171. package/dist/module/coreum/nft/index.d.ts +1 -2
  172. package/dist/module/coreum/nft/v1beta1/event.d.ts +23 -79
  173. package/dist/module/coreum/nft/v1beta1/event.js +90 -58
  174. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +13 -435
  175. package/dist/module/coreum/nft/v1beta1/genesis.js +44 -41
  176. package/dist/module/coreum/nft/v1beta1/nft.d.ts +15 -114
  177. package/dist/module/coreum/nft/v1beta1/nft.js +99 -64
  178. package/dist/module/coreum/nft/v1beta1/query.d.ts +54 -1628
  179. package/dist/module/coreum/nft/v1beta1/query.js +231 -183
  180. package/dist/module/coreum/nft/v1beta1/tx.d.ts +13 -39
  181. package/dist/module/coreum/nft/v1beta1/tx.js +47 -32
  182. package/dist/module/cosmos/extensions/distribution.d.ts +4 -4
  183. package/dist/module/cosmos/extensions/gov.d.ts +13 -13
  184. package/dist/module/cosmos/index.d.ts +8 -8
  185. package/dist/module/services/cosmostation.js +1 -1
  186. package/dist/module/types/core.d.ts +2 -1
  187. package/dist/module/types/core.js +2 -0
  188. package/dist/module/wasm/v1/authz.d.ts +20 -471
  189. package/dist/module/wasm/v1/authz.js +111 -119
  190. package/dist/module/wasm/v1/genesis.d.ts +14 -1020
  191. package/dist/module/wasm/v1/genesis.js +161 -125
  192. package/dist/module/wasm/v1/ibc.d.ts +13 -62
  193. package/dist/module/wasm/v1/ibc.js +83 -62
  194. package/dist/module/wasm/v1/index.d.ts +1 -2
  195. package/dist/module/wasm/v1/proposal.d.ts +23 -720
  196. package/dist/module/wasm/v1/proposal.js +562 -377
  197. package/dist/module/wasm/v1/query.d.ts +35 -1201
  198. package/dist/module/wasm/v1/query.js +330 -301
  199. package/dist/module/wasm/v1/tx.d.ts +37 -788
  200. package/dist/module/wasm/v1/tx.js +551 -404
  201. package/dist/module/wasm/v1/types.d.ts +19 -297
  202. package/dist/module/wasm/v1/types.js +196 -156
  203. package/package.json +11 -10
@@ -1,4 +1,4 @@
1
- import _m0 from "protobufjs/minimal";
1
+ import { BinaryReader, BinaryWriter } from "cosmjs-types/binary";
2
2
  import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
3
3
  import { AccessConfig, Params } from "./types";
4
4
  export declare const protobufPackage = "cosmwasm.wasm.v1";
@@ -285,792 +285,32 @@ export interface MsgStoreAndInstantiateContractResponse {
285
285
  /** Data contains bytes to returned from the contract */
286
286
  data: Uint8Array;
287
287
  }
288
- export declare const MsgStoreCode: {
289
- encode(message: MsgStoreCode, writer?: _m0.Writer): _m0.Writer;
290
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCode;
291
- fromJSON(object: any): MsgStoreCode;
292
- toJSON(message: MsgStoreCode): unknown;
293
- create<I extends {
294
- sender?: string;
295
- wasmByteCode?: Uint8Array;
296
- instantiatePermission?: {
297
- permission?: import("./types").AccessType;
298
- address?: string;
299
- addresses?: string[];
300
- };
301
- } & {
302
- sender?: string;
303
- wasmByteCode?: Uint8Array;
304
- instantiatePermission?: {
305
- permission?: import("./types").AccessType;
306
- address?: string;
307
- addresses?: string[];
308
- } & {
309
- permission?: import("./types").AccessType;
310
- address?: string;
311
- addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiatePermission"]["addresses"], keyof string[]>]: never; };
312
- } & { [K_1 in Exclude<keyof I["instantiatePermission"], keyof AccessConfig>]: never; };
313
- } & { [K_2 in Exclude<keyof I, keyof MsgStoreCode>]: never; }>(base?: I): MsgStoreCode;
314
- fromPartial<I_1 extends {
315
- sender?: string;
316
- wasmByteCode?: Uint8Array;
317
- instantiatePermission?: {
318
- permission?: import("./types").AccessType;
319
- address?: string;
320
- addresses?: string[];
321
- };
322
- } & {
323
- sender?: string;
324
- wasmByteCode?: Uint8Array;
325
- instantiatePermission?: {
326
- permission?: import("./types").AccessType;
327
- address?: string;
328
- addresses?: string[];
329
- } & {
330
- permission?: import("./types").AccessType;
331
- address?: string;
332
- addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["instantiatePermission"]["addresses"], keyof string[]>]: never; };
333
- } & { [K_4 in Exclude<keyof I_1["instantiatePermission"], keyof AccessConfig>]: never; };
334
- } & { [K_5 in Exclude<keyof I_1, keyof MsgStoreCode>]: never; }>(object: I_1): MsgStoreCode;
335
- };
336
- export declare const MsgStoreCodeResponse: {
337
- encode(message: MsgStoreCodeResponse, writer?: _m0.Writer): _m0.Writer;
338
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponse;
339
- fromJSON(object: any): MsgStoreCodeResponse;
340
- toJSON(message: MsgStoreCodeResponse): unknown;
341
- create<I extends {
342
- codeId?: number;
343
- checksum?: Uint8Array;
344
- } & {
345
- codeId?: number;
346
- checksum?: Uint8Array;
347
- } & { [K in Exclude<keyof I, keyof MsgStoreCodeResponse>]: never; }>(base?: I): MsgStoreCodeResponse;
348
- fromPartial<I_1 extends {
349
- codeId?: number;
350
- checksum?: Uint8Array;
351
- } & {
352
- codeId?: number;
353
- checksum?: Uint8Array;
354
- } & { [K_1 in Exclude<keyof I_1, keyof MsgStoreCodeResponse>]: never; }>(object: I_1): MsgStoreCodeResponse;
355
- };
356
- export declare const MsgInstantiateContract: {
357
- encode(message: MsgInstantiateContract, writer?: _m0.Writer): _m0.Writer;
358
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract;
359
- fromJSON(object: any): MsgInstantiateContract;
360
- toJSON(message: MsgInstantiateContract): unknown;
361
- create<I extends {
362
- sender?: string;
363
- admin?: string;
364
- codeId?: number;
365
- label?: string;
366
- msg?: Uint8Array;
367
- funds?: {
368
- denom?: string;
369
- amount?: string;
370
- }[];
371
- } & {
372
- sender?: string;
373
- admin?: string;
374
- codeId?: number;
375
- label?: string;
376
- msg?: Uint8Array;
377
- funds?: {
378
- denom?: string;
379
- amount?: string;
380
- }[] & ({
381
- denom?: string;
382
- amount?: string;
383
- } & {
384
- denom?: string;
385
- amount?: string;
386
- } & { [K in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["funds"], keyof {
387
- denom?: string;
388
- amount?: string;
389
- }[]>]: never; };
390
- } & { [K_2 in Exclude<keyof I, keyof MsgInstantiateContract>]: never; }>(base?: I): MsgInstantiateContract;
391
- fromPartial<I_1 extends {
392
- sender?: string;
393
- admin?: string;
394
- codeId?: number;
395
- label?: string;
396
- msg?: Uint8Array;
397
- funds?: {
398
- denom?: string;
399
- amount?: string;
400
- }[];
401
- } & {
402
- sender?: string;
403
- admin?: string;
404
- codeId?: number;
405
- label?: string;
406
- msg?: Uint8Array;
407
- funds?: {
408
- denom?: string;
409
- amount?: string;
410
- }[] & ({
411
- denom?: string;
412
- amount?: string;
413
- } & {
414
- denom?: string;
415
- amount?: string;
416
- } & { [K_3 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["funds"], keyof {
417
- denom?: string;
418
- amount?: string;
419
- }[]>]: never; };
420
- } & { [K_5 in Exclude<keyof I_1, keyof MsgInstantiateContract>]: never; }>(object: I_1): MsgInstantiateContract;
421
- };
422
- export declare const MsgInstantiateContractResponse: {
423
- encode(message: MsgInstantiateContractResponse, writer?: _m0.Writer): _m0.Writer;
424
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponse;
425
- fromJSON(object: any): MsgInstantiateContractResponse;
426
- toJSON(message: MsgInstantiateContractResponse): unknown;
427
- create<I extends {
428
- address?: string;
429
- data?: Uint8Array;
430
- } & {
431
- address?: string;
432
- data?: Uint8Array;
433
- } & { [K in Exclude<keyof I, keyof MsgInstantiateContractResponse>]: never; }>(base?: I): MsgInstantiateContractResponse;
434
- fromPartial<I_1 extends {
435
- address?: string;
436
- data?: Uint8Array;
437
- } & {
438
- address?: string;
439
- data?: Uint8Array;
440
- } & { [K_1 in Exclude<keyof I_1, keyof MsgInstantiateContractResponse>]: never; }>(object: I_1): MsgInstantiateContractResponse;
441
- };
442
- export declare const MsgInstantiateContract2: {
443
- encode(message: MsgInstantiateContract2, writer?: _m0.Writer): _m0.Writer;
444
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract2;
445
- fromJSON(object: any): MsgInstantiateContract2;
446
- toJSON(message: MsgInstantiateContract2): unknown;
447
- create<I extends {
448
- sender?: string;
449
- admin?: string;
450
- codeId?: number;
451
- label?: string;
452
- msg?: Uint8Array;
453
- funds?: {
454
- denom?: string;
455
- amount?: string;
456
- }[];
457
- salt?: Uint8Array;
458
- fixMsg?: boolean;
459
- } & {
460
- sender?: string;
461
- admin?: string;
462
- codeId?: number;
463
- label?: string;
464
- msg?: Uint8Array;
465
- funds?: {
466
- denom?: string;
467
- amount?: string;
468
- }[] & ({
469
- denom?: string;
470
- amount?: string;
471
- } & {
472
- denom?: string;
473
- amount?: string;
474
- } & { [K in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["funds"], keyof {
475
- denom?: string;
476
- amount?: string;
477
- }[]>]: never; };
478
- salt?: Uint8Array;
479
- fixMsg?: boolean;
480
- } & { [K_2 in Exclude<keyof I, keyof MsgInstantiateContract2>]: never; }>(base?: I): MsgInstantiateContract2;
481
- fromPartial<I_1 extends {
482
- sender?: string;
483
- admin?: string;
484
- codeId?: number;
485
- label?: string;
486
- msg?: Uint8Array;
487
- funds?: {
488
- denom?: string;
489
- amount?: string;
490
- }[];
491
- salt?: Uint8Array;
492
- fixMsg?: boolean;
493
- } & {
494
- sender?: string;
495
- admin?: string;
496
- codeId?: number;
497
- label?: string;
498
- msg?: Uint8Array;
499
- funds?: {
500
- denom?: string;
501
- amount?: string;
502
- }[] & ({
503
- denom?: string;
504
- amount?: string;
505
- } & {
506
- denom?: string;
507
- amount?: string;
508
- } & { [K_3 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["funds"], keyof {
509
- denom?: string;
510
- amount?: string;
511
- }[]>]: never; };
512
- salt?: Uint8Array;
513
- fixMsg?: boolean;
514
- } & { [K_5 in Exclude<keyof I_1, keyof MsgInstantiateContract2>]: never; }>(object: I_1): MsgInstantiateContract2;
515
- };
516
- export declare const MsgInstantiateContract2Response: {
517
- encode(message: MsgInstantiateContract2Response, writer?: _m0.Writer): _m0.Writer;
518
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract2Response;
519
- fromJSON(object: any): MsgInstantiateContract2Response;
520
- toJSON(message: MsgInstantiateContract2Response): unknown;
521
- create<I extends {
522
- address?: string;
523
- data?: Uint8Array;
524
- } & {
525
- address?: string;
526
- data?: Uint8Array;
527
- } & { [K in Exclude<keyof I, keyof MsgInstantiateContract2Response>]: never; }>(base?: I): MsgInstantiateContract2Response;
528
- fromPartial<I_1 extends {
529
- address?: string;
530
- data?: Uint8Array;
531
- } & {
532
- address?: string;
533
- data?: Uint8Array;
534
- } & { [K_1 in Exclude<keyof I_1, keyof MsgInstantiateContract2Response>]: never; }>(object: I_1): MsgInstantiateContract2Response;
535
- };
536
- export declare const MsgExecuteContract: {
537
- encode(message: MsgExecuteContract, writer?: _m0.Writer): _m0.Writer;
538
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContract;
539
- fromJSON(object: any): MsgExecuteContract;
540
- toJSON(message: MsgExecuteContract): unknown;
541
- create<I extends {
542
- sender?: string;
543
- contract?: string;
544
- msg?: Uint8Array;
545
- funds?: {
546
- denom?: string;
547
- amount?: string;
548
- }[];
549
- } & {
550
- sender?: string;
551
- contract?: string;
552
- msg?: Uint8Array;
553
- funds?: {
554
- denom?: string;
555
- amount?: string;
556
- }[] & ({
557
- denom?: string;
558
- amount?: string;
559
- } & {
560
- denom?: string;
561
- amount?: string;
562
- } & { [K in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["funds"], keyof {
563
- denom?: string;
564
- amount?: string;
565
- }[]>]: never; };
566
- } & { [K_2 in Exclude<keyof I, keyof MsgExecuteContract>]: never; }>(base?: I): MsgExecuteContract;
567
- fromPartial<I_1 extends {
568
- sender?: string;
569
- contract?: string;
570
- msg?: Uint8Array;
571
- funds?: {
572
- denom?: string;
573
- amount?: string;
574
- }[];
575
- } & {
576
- sender?: string;
577
- contract?: string;
578
- msg?: Uint8Array;
579
- funds?: {
580
- denom?: string;
581
- amount?: string;
582
- }[] & ({
583
- denom?: string;
584
- amount?: string;
585
- } & {
586
- denom?: string;
587
- amount?: string;
588
- } & { [K_3 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["funds"], keyof {
589
- denom?: string;
590
- amount?: string;
591
- }[]>]: never; };
592
- } & { [K_5 in Exclude<keyof I_1, keyof MsgExecuteContract>]: never; }>(object: I_1): MsgExecuteContract;
593
- };
594
- export declare const MsgExecuteContractResponse: {
595
- encode(message: MsgExecuteContractResponse, writer?: _m0.Writer): _m0.Writer;
596
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponse;
597
- fromJSON(object: any): MsgExecuteContractResponse;
598
- toJSON(message: MsgExecuteContractResponse): unknown;
599
- create<I extends {
600
- data?: Uint8Array;
601
- } & {
602
- data?: Uint8Array;
603
- } & { [K in Exclude<keyof I, "data">]: never; }>(base?: I): MsgExecuteContractResponse;
604
- fromPartial<I_1 extends {
605
- data?: Uint8Array;
606
- } & {
607
- data?: Uint8Array;
608
- } & { [K_1 in Exclude<keyof I_1, "data">]: never; }>(object: I_1): MsgExecuteContractResponse;
609
- };
610
- export declare const MsgMigrateContract: {
611
- encode(message: MsgMigrateContract, writer?: _m0.Writer): _m0.Writer;
612
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContract;
613
- fromJSON(object: any): MsgMigrateContract;
614
- toJSON(message: MsgMigrateContract): unknown;
615
- create<I extends {
616
- sender?: string;
617
- contract?: string;
618
- codeId?: number;
619
- msg?: Uint8Array;
620
- } & {
621
- sender?: string;
622
- contract?: string;
623
- codeId?: number;
624
- msg?: Uint8Array;
625
- } & { [K in Exclude<keyof I, keyof MsgMigrateContract>]: never; }>(base?: I): MsgMigrateContract;
626
- fromPartial<I_1 extends {
627
- sender?: string;
628
- contract?: string;
629
- codeId?: number;
630
- msg?: Uint8Array;
631
- } & {
632
- sender?: string;
633
- contract?: string;
634
- codeId?: number;
635
- msg?: Uint8Array;
636
- } & { [K_1 in Exclude<keyof I_1, keyof MsgMigrateContract>]: never; }>(object: I_1): MsgMigrateContract;
637
- };
638
- export declare const MsgMigrateContractResponse: {
639
- encode(message: MsgMigrateContractResponse, writer?: _m0.Writer): _m0.Writer;
640
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponse;
641
- fromJSON(object: any): MsgMigrateContractResponse;
642
- toJSON(message: MsgMigrateContractResponse): unknown;
643
- create<I extends {
644
- data?: Uint8Array;
645
- } & {
646
- data?: Uint8Array;
647
- } & { [K in Exclude<keyof I, "data">]: never; }>(base?: I): MsgMigrateContractResponse;
648
- fromPartial<I_1 extends {
649
- data?: Uint8Array;
650
- } & {
651
- data?: Uint8Array;
652
- } & { [K_1 in Exclude<keyof I_1, "data">]: never; }>(object: I_1): MsgMigrateContractResponse;
653
- };
654
- export declare const MsgUpdateAdmin: {
655
- encode(message: MsgUpdateAdmin, writer?: _m0.Writer): _m0.Writer;
656
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdmin;
657
- fromJSON(object: any): MsgUpdateAdmin;
658
- toJSON(message: MsgUpdateAdmin): unknown;
659
- create<I extends {
660
- sender?: string;
661
- newAdmin?: string;
662
- contract?: string;
663
- } & {
664
- sender?: string;
665
- newAdmin?: string;
666
- contract?: string;
667
- } & { [K in Exclude<keyof I, keyof MsgUpdateAdmin>]: never; }>(base?: I): MsgUpdateAdmin;
668
- fromPartial<I_1 extends {
669
- sender?: string;
670
- newAdmin?: string;
671
- contract?: string;
672
- } & {
673
- sender?: string;
674
- newAdmin?: string;
675
- contract?: string;
676
- } & { [K_1 in Exclude<keyof I_1, keyof MsgUpdateAdmin>]: never; }>(object: I_1): MsgUpdateAdmin;
677
- };
678
- export declare const MsgUpdateAdminResponse: {
679
- encode(_: MsgUpdateAdminResponse, writer?: _m0.Writer): _m0.Writer;
680
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponse;
681
- fromJSON(_: any): MsgUpdateAdminResponse;
682
- toJSON(_: MsgUpdateAdminResponse): unknown;
683
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgUpdateAdminResponse;
684
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgUpdateAdminResponse;
685
- };
686
- export declare const MsgClearAdmin: {
687
- encode(message: MsgClearAdmin, writer?: _m0.Writer): _m0.Writer;
688
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdmin;
689
- fromJSON(object: any): MsgClearAdmin;
690
- toJSON(message: MsgClearAdmin): unknown;
691
- create<I extends {
692
- sender?: string;
693
- contract?: string;
694
- } & {
695
- sender?: string;
696
- contract?: string;
697
- } & { [K in Exclude<keyof I, keyof MsgClearAdmin>]: never; }>(base?: I): MsgClearAdmin;
698
- fromPartial<I_1 extends {
699
- sender?: string;
700
- contract?: string;
701
- } & {
702
- sender?: string;
703
- contract?: string;
704
- } & { [K_1 in Exclude<keyof I_1, keyof MsgClearAdmin>]: never; }>(object: I_1): MsgClearAdmin;
705
- };
706
- export declare const MsgClearAdminResponse: {
707
- encode(_: MsgClearAdminResponse, writer?: _m0.Writer): _m0.Writer;
708
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponse;
709
- fromJSON(_: any): MsgClearAdminResponse;
710
- toJSON(_: MsgClearAdminResponse): unknown;
711
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgClearAdminResponse;
712
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgClearAdminResponse;
713
- };
714
- export declare const MsgUpdateInstantiateConfig: {
715
- encode(message: MsgUpdateInstantiateConfig, writer?: _m0.Writer): _m0.Writer;
716
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateInstantiateConfig;
717
- fromJSON(object: any): MsgUpdateInstantiateConfig;
718
- toJSON(message: MsgUpdateInstantiateConfig): unknown;
719
- create<I extends {
720
- sender?: string;
721
- codeId?: number;
722
- newInstantiatePermission?: {
723
- permission?: import("./types").AccessType;
724
- address?: string;
725
- addresses?: string[];
726
- };
727
- } & {
728
- sender?: string;
729
- codeId?: number;
730
- newInstantiatePermission?: {
731
- permission?: import("./types").AccessType;
732
- address?: string;
733
- addresses?: string[];
734
- } & {
735
- permission?: import("./types").AccessType;
736
- address?: string;
737
- addresses?: string[] & string[] & { [K in Exclude<keyof I["newInstantiatePermission"]["addresses"], keyof string[]>]: never; };
738
- } & { [K_1 in Exclude<keyof I["newInstantiatePermission"], keyof AccessConfig>]: never; };
739
- } & { [K_2 in Exclude<keyof I, keyof MsgUpdateInstantiateConfig>]: never; }>(base?: I): MsgUpdateInstantiateConfig;
740
- fromPartial<I_1 extends {
741
- sender?: string;
742
- codeId?: number;
743
- newInstantiatePermission?: {
744
- permission?: import("./types").AccessType;
745
- address?: string;
746
- addresses?: string[];
747
- };
748
- } & {
749
- sender?: string;
750
- codeId?: number;
751
- newInstantiatePermission?: {
752
- permission?: import("./types").AccessType;
753
- address?: string;
754
- addresses?: string[];
755
- } & {
756
- permission?: import("./types").AccessType;
757
- address?: string;
758
- addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["newInstantiatePermission"]["addresses"], keyof string[]>]: never; };
759
- } & { [K_4 in Exclude<keyof I_1["newInstantiatePermission"], keyof AccessConfig>]: never; };
760
- } & { [K_5 in Exclude<keyof I_1, keyof MsgUpdateInstantiateConfig>]: never; }>(object: I_1): MsgUpdateInstantiateConfig;
761
- };
762
- export declare const MsgUpdateInstantiateConfigResponse: {
763
- encode(_: MsgUpdateInstantiateConfigResponse, writer?: _m0.Writer): _m0.Writer;
764
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateInstantiateConfigResponse;
765
- fromJSON(_: any): MsgUpdateInstantiateConfigResponse;
766
- toJSON(_: MsgUpdateInstantiateConfigResponse): unknown;
767
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgUpdateInstantiateConfigResponse;
768
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgUpdateInstantiateConfigResponse;
769
- };
770
- export declare const MsgUpdateParams: {
771
- encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer;
772
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams;
773
- fromJSON(object: any): MsgUpdateParams;
774
- toJSON(message: MsgUpdateParams): unknown;
775
- create<I extends {
776
- authority?: string;
777
- params?: {
778
- codeUploadAccess?: {
779
- permission?: import("./types").AccessType;
780
- address?: string;
781
- addresses?: string[];
782
- };
783
- instantiateDefaultPermission?: import("./types").AccessType;
784
- };
785
- } & {
786
- authority?: string;
787
- params?: {
788
- codeUploadAccess?: {
789
- permission?: import("./types").AccessType;
790
- address?: string;
791
- addresses?: string[];
792
- };
793
- instantiateDefaultPermission?: import("./types").AccessType;
794
- } & {
795
- codeUploadAccess?: {
796
- permission?: import("./types").AccessType;
797
- address?: string;
798
- addresses?: string[];
799
- } & {
800
- permission?: import("./types").AccessType;
801
- address?: string;
802
- addresses?: string[] & string[] & { [K in Exclude<keyof I["params"]["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
803
- } & { [K_1 in Exclude<keyof I["params"]["codeUploadAccess"], keyof AccessConfig>]: never; };
804
- instantiateDefaultPermission?: import("./types").AccessType;
805
- } & { [K_2 in Exclude<keyof I["params"], keyof Params>]: never; };
806
- } & { [K_3 in Exclude<keyof I, keyof MsgUpdateParams>]: never; }>(base?: I): MsgUpdateParams;
807
- fromPartial<I_1 extends {
808
- authority?: string;
809
- params?: {
810
- codeUploadAccess?: {
811
- permission?: import("./types").AccessType;
812
- address?: string;
813
- addresses?: string[];
814
- };
815
- instantiateDefaultPermission?: import("./types").AccessType;
816
- };
817
- } & {
818
- authority?: string;
819
- params?: {
820
- codeUploadAccess?: {
821
- permission?: import("./types").AccessType;
822
- address?: string;
823
- addresses?: string[];
824
- };
825
- instantiateDefaultPermission?: import("./types").AccessType;
826
- } & {
827
- codeUploadAccess?: {
828
- permission?: import("./types").AccessType;
829
- address?: string;
830
- addresses?: string[];
831
- } & {
832
- permission?: import("./types").AccessType;
833
- address?: string;
834
- addresses?: string[] & string[] & { [K_4 in Exclude<keyof I_1["params"]["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
835
- } & { [K_5 in Exclude<keyof I_1["params"]["codeUploadAccess"], keyof AccessConfig>]: never; };
836
- instantiateDefaultPermission?: import("./types").AccessType;
837
- } & { [K_6 in Exclude<keyof I_1["params"], keyof Params>]: never; };
838
- } & { [K_7 in Exclude<keyof I_1, keyof MsgUpdateParams>]: never; }>(object: I_1): MsgUpdateParams;
839
- };
840
- export declare const MsgUpdateParamsResponse: {
841
- encode(_: MsgUpdateParamsResponse, writer?: _m0.Writer): _m0.Writer;
842
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParamsResponse;
843
- fromJSON(_: any): MsgUpdateParamsResponse;
844
- toJSON(_: MsgUpdateParamsResponse): unknown;
845
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgUpdateParamsResponse;
846
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgUpdateParamsResponse;
847
- };
848
- export declare const MsgSudoContract: {
849
- encode(message: MsgSudoContract, writer?: _m0.Writer): _m0.Writer;
850
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgSudoContract;
851
- fromJSON(object: any): MsgSudoContract;
852
- toJSON(message: MsgSudoContract): unknown;
853
- create<I extends {
854
- authority?: string;
855
- contract?: string;
856
- msg?: Uint8Array;
857
- } & {
858
- authority?: string;
859
- contract?: string;
860
- msg?: Uint8Array;
861
- } & { [K in Exclude<keyof I, keyof MsgSudoContract>]: never; }>(base?: I): MsgSudoContract;
862
- fromPartial<I_1 extends {
863
- authority?: string;
864
- contract?: string;
865
- msg?: Uint8Array;
866
- } & {
867
- authority?: string;
868
- contract?: string;
869
- msg?: Uint8Array;
870
- } & { [K_1 in Exclude<keyof I_1, keyof MsgSudoContract>]: never; }>(object: I_1): MsgSudoContract;
871
- };
872
- export declare const MsgSudoContractResponse: {
873
- encode(message: MsgSudoContractResponse, writer?: _m0.Writer): _m0.Writer;
874
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgSudoContractResponse;
875
- fromJSON(object: any): MsgSudoContractResponse;
876
- toJSON(message: MsgSudoContractResponse): unknown;
877
- create<I extends {
878
- data?: Uint8Array;
879
- } & {
880
- data?: Uint8Array;
881
- } & { [K in Exclude<keyof I, "data">]: never; }>(base?: I): MsgSudoContractResponse;
882
- fromPartial<I_1 extends {
883
- data?: Uint8Array;
884
- } & {
885
- data?: Uint8Array;
886
- } & { [K_1 in Exclude<keyof I_1, "data">]: never; }>(object: I_1): MsgSudoContractResponse;
887
- };
888
- export declare const MsgPinCodes: {
889
- encode(message: MsgPinCodes, writer?: _m0.Writer): _m0.Writer;
890
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgPinCodes;
891
- fromJSON(object: any): MsgPinCodes;
892
- toJSON(message: MsgPinCodes): unknown;
893
- create<I extends {
894
- authority?: string;
895
- codeIds?: number[];
896
- } & {
897
- authority?: string;
898
- codeIds?: number[] & number[] & { [K in Exclude<keyof I["codeIds"], keyof number[]>]: never; };
899
- } & { [K_1 in Exclude<keyof I, keyof MsgPinCodes>]: never; }>(base?: I): MsgPinCodes;
900
- fromPartial<I_1 extends {
901
- authority?: string;
902
- codeIds?: number[];
903
- } & {
904
- authority?: string;
905
- codeIds?: number[] & number[] & { [K_2 in Exclude<keyof I_1["codeIds"], keyof number[]>]: never; };
906
- } & { [K_3 in Exclude<keyof I_1, keyof MsgPinCodes>]: never; }>(object: I_1): MsgPinCodes;
907
- };
908
- export declare const MsgPinCodesResponse: {
909
- encode(_: MsgPinCodesResponse, writer?: _m0.Writer): _m0.Writer;
910
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgPinCodesResponse;
911
- fromJSON(_: any): MsgPinCodesResponse;
912
- toJSON(_: MsgPinCodesResponse): unknown;
913
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgPinCodesResponse;
914
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgPinCodesResponse;
915
- };
916
- export declare const MsgUnpinCodes: {
917
- encode(message: MsgUnpinCodes, writer?: _m0.Writer): _m0.Writer;
918
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnpinCodes;
919
- fromJSON(object: any): MsgUnpinCodes;
920
- toJSON(message: MsgUnpinCodes): unknown;
921
- create<I extends {
922
- authority?: string;
923
- codeIds?: number[];
924
- } & {
925
- authority?: string;
926
- codeIds?: number[] & number[] & { [K in Exclude<keyof I["codeIds"], keyof number[]>]: never; };
927
- } & { [K_1 in Exclude<keyof I, keyof MsgUnpinCodes>]: never; }>(base?: I): MsgUnpinCodes;
928
- fromPartial<I_1 extends {
929
- authority?: string;
930
- codeIds?: number[];
931
- } & {
932
- authority?: string;
933
- codeIds?: number[] & number[] & { [K_2 in Exclude<keyof I_1["codeIds"], keyof number[]>]: never; };
934
- } & { [K_3 in Exclude<keyof I_1, keyof MsgUnpinCodes>]: never; }>(object: I_1): MsgUnpinCodes;
935
- };
936
- export declare const MsgUnpinCodesResponse: {
937
- encode(_: MsgUnpinCodesResponse, writer?: _m0.Writer): _m0.Writer;
938
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnpinCodesResponse;
939
- fromJSON(_: any): MsgUnpinCodesResponse;
940
- toJSON(_: MsgUnpinCodesResponse): unknown;
941
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgUnpinCodesResponse;
942
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgUnpinCodesResponse;
943
- };
944
- export declare const MsgStoreAndInstantiateContract: {
945
- encode(message: MsgStoreAndInstantiateContract, writer?: _m0.Writer): _m0.Writer;
946
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreAndInstantiateContract;
947
- fromJSON(object: any): MsgStoreAndInstantiateContract;
948
- toJSON(message: MsgStoreAndInstantiateContract): unknown;
949
- create<I extends {
950
- authority?: string;
951
- wasmByteCode?: Uint8Array;
952
- instantiatePermission?: {
953
- permission?: import("./types").AccessType;
954
- address?: string;
955
- addresses?: string[];
956
- };
957
- unpinCode?: boolean;
958
- admin?: string;
959
- label?: string;
960
- msg?: Uint8Array;
961
- funds?: {
962
- denom?: string;
963
- amount?: string;
964
- }[];
965
- source?: string;
966
- builder?: string;
967
- codeHash?: Uint8Array;
968
- } & {
969
- authority?: string;
970
- wasmByteCode?: Uint8Array;
971
- instantiatePermission?: {
972
- permission?: import("./types").AccessType;
973
- address?: string;
974
- addresses?: string[];
975
- } & {
976
- permission?: import("./types").AccessType;
977
- address?: string;
978
- addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiatePermission"]["addresses"], keyof string[]>]: never; };
979
- } & { [K_1 in Exclude<keyof I["instantiatePermission"], keyof AccessConfig>]: never; };
980
- unpinCode?: boolean;
981
- admin?: string;
982
- label?: string;
983
- msg?: Uint8Array;
984
- funds?: {
985
- denom?: string;
986
- amount?: string;
987
- }[] & ({
988
- denom?: string;
989
- amount?: string;
990
- } & {
991
- denom?: string;
992
- amount?: string;
993
- } & { [K_2 in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_3 in Exclude<keyof I["funds"], keyof {
994
- denom?: string;
995
- amount?: string;
996
- }[]>]: never; };
997
- source?: string;
998
- builder?: string;
999
- codeHash?: Uint8Array;
1000
- } & { [K_4 in Exclude<keyof I, keyof MsgStoreAndInstantiateContract>]: never; }>(base?: I): MsgStoreAndInstantiateContract;
1001
- fromPartial<I_1 extends {
1002
- authority?: string;
1003
- wasmByteCode?: Uint8Array;
1004
- instantiatePermission?: {
1005
- permission?: import("./types").AccessType;
1006
- address?: string;
1007
- addresses?: string[];
1008
- };
1009
- unpinCode?: boolean;
1010
- admin?: string;
1011
- label?: string;
1012
- msg?: Uint8Array;
1013
- funds?: {
1014
- denom?: string;
1015
- amount?: string;
1016
- }[];
1017
- source?: string;
1018
- builder?: string;
1019
- codeHash?: Uint8Array;
1020
- } & {
1021
- authority?: string;
1022
- wasmByteCode?: Uint8Array;
1023
- instantiatePermission?: {
1024
- permission?: import("./types").AccessType;
1025
- address?: string;
1026
- addresses?: string[];
1027
- } & {
1028
- permission?: import("./types").AccessType;
1029
- address?: string;
1030
- addresses?: string[] & string[] & { [K_5 in Exclude<keyof I_1["instantiatePermission"]["addresses"], keyof string[]>]: never; };
1031
- } & { [K_6 in Exclude<keyof I_1["instantiatePermission"], keyof AccessConfig>]: never; };
1032
- unpinCode?: boolean;
1033
- admin?: string;
1034
- label?: string;
1035
- msg?: Uint8Array;
1036
- funds?: {
1037
- denom?: string;
1038
- amount?: string;
1039
- }[] & ({
1040
- denom?: string;
1041
- amount?: string;
1042
- } & {
1043
- denom?: string;
1044
- amount?: string;
1045
- } & { [K_7 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_8 in Exclude<keyof I_1["funds"], keyof {
1046
- denom?: string;
1047
- amount?: string;
1048
- }[]>]: never; };
1049
- source?: string;
1050
- builder?: string;
1051
- codeHash?: Uint8Array;
1052
- } & { [K_9 in Exclude<keyof I_1, keyof MsgStoreAndInstantiateContract>]: never; }>(object: I_1): MsgStoreAndInstantiateContract;
1053
- };
1054
- export declare const MsgStoreAndInstantiateContractResponse: {
1055
- encode(message: MsgStoreAndInstantiateContractResponse, writer?: _m0.Writer): _m0.Writer;
1056
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreAndInstantiateContractResponse;
1057
- fromJSON(object: any): MsgStoreAndInstantiateContractResponse;
1058
- toJSON(message: MsgStoreAndInstantiateContractResponse): unknown;
1059
- create<I extends {
1060
- address?: string;
1061
- data?: Uint8Array;
1062
- } & {
1063
- address?: string;
1064
- data?: Uint8Array;
1065
- } & { [K in Exclude<keyof I, keyof MsgStoreAndInstantiateContractResponse>]: never; }>(base?: I): MsgStoreAndInstantiateContractResponse;
1066
- fromPartial<I_1 extends {
1067
- address?: string;
1068
- data?: Uint8Array;
1069
- } & {
1070
- address?: string;
1071
- data?: Uint8Array;
1072
- } & { [K_1 in Exclude<keyof I_1, keyof MsgStoreAndInstantiateContractResponse>]: never; }>(object: I_1): MsgStoreAndInstantiateContractResponse;
1073
- };
288
+ export declare const MsgStoreCode: MessageFns<MsgStoreCode>;
289
+ export declare const MsgStoreCodeResponse: MessageFns<MsgStoreCodeResponse>;
290
+ export declare const MsgInstantiateContract: MessageFns<MsgInstantiateContract>;
291
+ export declare const MsgInstantiateContractResponse: MessageFns<MsgInstantiateContractResponse>;
292
+ export declare const MsgInstantiateContract2: MessageFns<MsgInstantiateContract2>;
293
+ export declare const MsgInstantiateContract2Response: MessageFns<MsgInstantiateContract2Response>;
294
+ export declare const MsgExecuteContract: MessageFns<MsgExecuteContract>;
295
+ export declare const MsgExecuteContractResponse: MessageFns<MsgExecuteContractResponse>;
296
+ export declare const MsgMigrateContract: MessageFns<MsgMigrateContract>;
297
+ export declare const MsgMigrateContractResponse: MessageFns<MsgMigrateContractResponse>;
298
+ export declare const MsgUpdateAdmin: MessageFns<MsgUpdateAdmin>;
299
+ export declare const MsgUpdateAdminResponse: MessageFns<MsgUpdateAdminResponse>;
300
+ export declare const MsgClearAdmin: MessageFns<MsgClearAdmin>;
301
+ export declare const MsgClearAdminResponse: MessageFns<MsgClearAdminResponse>;
302
+ export declare const MsgUpdateInstantiateConfig: MessageFns<MsgUpdateInstantiateConfig>;
303
+ export declare const MsgUpdateInstantiateConfigResponse: MessageFns<MsgUpdateInstantiateConfigResponse>;
304
+ export declare const MsgUpdateParams: MessageFns<MsgUpdateParams>;
305
+ export declare const MsgUpdateParamsResponse: MessageFns<MsgUpdateParamsResponse>;
306
+ export declare const MsgSudoContract: MessageFns<MsgSudoContract>;
307
+ export declare const MsgSudoContractResponse: MessageFns<MsgSudoContractResponse>;
308
+ export declare const MsgPinCodes: MessageFns<MsgPinCodes>;
309
+ export declare const MsgPinCodesResponse: MessageFns<MsgPinCodesResponse>;
310
+ export declare const MsgUnpinCodes: MessageFns<MsgUnpinCodes>;
311
+ export declare const MsgUnpinCodesResponse: MessageFns<MsgUnpinCodesResponse>;
312
+ export declare const MsgStoreAndInstantiateContract: MessageFns<MsgStoreAndInstantiateContract>;
313
+ export declare const MsgStoreAndInstantiateContractResponse: MessageFns<MsgStoreAndInstantiateContractResponse>;
1074
314
  /** Msg defines the wasm Msg service. */
1075
315
  export interface Msg {
1076
316
  /** StoreCode to submit Wasm code to the system */
@@ -1131,6 +371,7 @@ export interface Msg {
1131
371
  */
1132
372
  StoreAndInstantiateContract(request: MsgStoreAndInstantiateContract): Promise<MsgStoreAndInstantiateContractResponse>;
1133
373
  }
374
+ export declare const MsgServiceName = "cosmwasm.wasm.v1.Msg";
1134
375
  export declare class MsgClientImpl implements Msg {
1135
376
  private readonly rpc;
1136
377
  private readonly service;
@@ -1155,7 +396,7 @@ interface Rpc {
1155
396
  request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
1156
397
  }
1157
398
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1158
- 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 {} ? {
399
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
1159
400
  [K in keyof T]?: DeepPartial<T[K]>;
1160
401
  } : Partial<T>;
1161
402
  type KeysOfUnion<T> = T extends T ? keyof T : never;
@@ -1164,4 +405,12 @@ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
1164
405
  } & {
1165
406
  [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
1166
407
  };
408
+ export interface MessageFns<T> {
409
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
410
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
411
+ fromJSON(object: any): T;
412
+ toJSON(message: T): unknown;
413
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
414
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
415
+ }
1167
416
  export {};