coreum-js 2.16.3 → 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 (236) hide show
  1. package/dist/main/client/index.js +15 -16
  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 -28
  5. package/dist/main/coreum/asset/ft/v1/event.js +744 -138
  6. package/dist/main/coreum/asset/ft/v1/genesis.d.ts +31 -21
  7. package/dist/main/coreum/asset/ft/v1/genesis.js +273 -62
  8. package/dist/main/coreum/asset/ft/v1/params.d.ts +12 -11
  9. package/dist/main/coreum/asset/ft/v1/params.js +37 -33
  10. package/dist/main/coreum/asset/ft/v1/query.d.ts +87 -127
  11. package/dist/main/coreum/asset/ft/v1/query.js +697 -217
  12. package/dist/main/coreum/asset/ft/v1/token.d.ts +17 -51
  13. package/dist/main/coreum/asset/ft/v1/token.js +276 -200
  14. package/dist/main/coreum/asset/ft/v1/tx.d.ts +30 -147
  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 -43
  20. package/dist/main/coreum/asset/nft/v1/event.js +475 -147
  21. package/dist/main/coreum/asset/nft/v1/genesis.d.ts +27 -36
  22. package/dist/main/coreum/asset/nft/v1/genesis.js +311 -119
  23. package/dist/main/coreum/asset/nft/v1/nft.d.ts +20 -26
  24. package/dist/main/coreum/asset/nft/v1/nft.js +139 -104
  25. package/dist/main/coreum/asset/nft/v1/params.d.ts +12 -12
  26. package/dist/main/coreum/asset/nft/v1/params.js +17 -20
  27. package/dist/main/coreum/asset/nft/v1/query.d.ts +110 -88
  28. package/dist/main/coreum/asset/nft/v1/query.js +1079 -185
  29. package/dist/main/coreum/asset/nft/v1/tx.d.ts +96 -70
  30. package/dist/main/coreum/asset/nft/v1/tx.js +865 -234
  31. package/dist/main/coreum/asset/nft/v1/types.d.ts +38 -11
  32. package/dist/main/coreum/asset/nft/v1/types.js +273 -45
  33. package/dist/main/coreum/customparams/v1/genesis.d.ts +12 -12
  34. package/dist/main/coreum/customparams/v1/genesis.js +26 -22
  35. package/dist/main/coreum/customparams/v1/params.d.ts +11 -11
  36. package/dist/main/coreum/customparams/v1/params.js +23 -20
  37. package/dist/main/coreum/customparams/v1/query.d.ts +14 -20
  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/extensions/ft.js +2 -1
  56. package/dist/main/coreum/extensions/nft.js +2 -1
  57. package/dist/main/coreum/extensions/nftbeta.js +2 -1
  58. package/dist/main/coreum/feemodel/v1/genesis.d.ts +13 -13
  59. package/dist/main/coreum/feemodel/v1/genesis.js +23 -24
  60. package/dist/main/coreum/feemodel/v1/params.d.ts +14 -21
  61. package/dist/main/coreum/feemodel/v1/params.js +113 -66
  62. package/dist/main/coreum/feemodel/v1/query.d.ts +30 -37
  63. package/dist/main/coreum/feemodel/v1/query.js +196 -43
  64. package/dist/main/coreum/index.d.ts +46 -0
  65. package/dist/main/coreum/index.js +58 -1
  66. package/dist/main/coreum/nft/index.d.ts +1 -2
  67. package/dist/main/coreum/nft/v1beta1/event.d.ts +23 -27
  68. package/dist/main/coreum/nft/v1beta1/event.js +103 -77
  69. package/dist/main/coreum/nft/v1beta1/genesis.d.ts +13 -19
  70. package/dist/main/coreum/nft/v1beta1/genesis.js +50 -52
  71. package/dist/main/coreum/nft/v1beta1/nft.d.ts +15 -22
  72. package/dist/main/coreum/nft/v1beta1/nft.js +111 -81
  73. package/dist/main/coreum/nft/v1beta1/query.d.ts +54 -124
  74. package/dist/main/coreum/nft/v1beta1/query.js +259 -223
  75. package/dist/main/coreum/nft/v1beta1/tx.d.ts +13 -19
  76. package/dist/main/coreum/nft/v1beta1/tx.js +54 -43
  77. package/dist/main/cosmos/extensions/bank.js +2 -1
  78. package/dist/main/cosmos/extensions/distribution.d.ts +4 -4
  79. package/dist/main/cosmos/extensions/distribution.js +11 -10
  80. package/dist/main/cosmos/extensions/gov.d.ts +13 -13
  81. package/dist/main/cosmos/extensions/gov.js +16 -9
  82. package/dist/main/cosmos/index.d.ts +8 -8
  83. package/dist/main/google/api/http.d.ts +2636 -6
  84. package/dist/main/google/api/http.js +18 -21
  85. package/dist/main/google/protobuf/any.d.ts +14 -2
  86. package/dist/main/google/protobuf/any.js +6 -7
  87. package/dist/main/google/protobuf/duration.d.ts +14 -2
  88. package/dist/main/google/protobuf/duration.js +3 -4
  89. package/dist/main/google/protobuf/timestamp.d.ts +14 -2
  90. package/dist/main/google/protobuf/timestamp.js +3 -4
  91. package/dist/main/index.js +7 -17
  92. package/dist/main/services/cosmostation.js +1 -1
  93. package/dist/main/tendermint/abci/types.d.ts +6360 -92
  94. package/dist/main/tendermint/abci/types.js +195 -235
  95. package/dist/main/tendermint/crypto/keys.d.ts +14 -2
  96. package/dist/main/tendermint/crypto/keys.js +3 -4
  97. package/dist/main/tendermint/crypto/proof.d.ts +152 -10
  98. package/dist/main/tendermint/crypto/proof.js +19 -24
  99. package/dist/main/tendermint/types/params.d.ts +196 -12
  100. package/dist/main/tendermint/types/params.js +15 -20
  101. package/dist/main/tendermint/types/types.d.ts +1744 -26
  102. package/dist/main/tendermint/types/types.js +62 -73
  103. package/dist/main/tendermint/types/validator.d.ts +230 -6
  104. package/dist/main/tendermint/types/validator.js +10 -13
  105. package/dist/main/tendermint/version/types.d.ts +28 -4
  106. package/dist/main/tendermint/version/types.js +6 -8
  107. package/dist/main/types/core.d.ts +2 -1
  108. package/dist/main/types/core.js +2 -0
  109. package/dist/main/utils/convertStringToAny.d.ts +0 -1
  110. package/dist/main/utils/nft.js +2 -1
  111. package/dist/main/wasm/v1/authz.d.ts +20 -75
  112. package/dist/main/wasm/v1/authz.js +129 -148
  113. package/dist/main/wasm/v1/extensions/wasm.js +2 -1
  114. package/dist/main/wasm/v1/genesis.d.ts +14 -34
  115. package/dist/main/wasm/v1/genesis.js +169 -140
  116. package/dist/main/wasm/v1/ibc.d.ts +13 -26
  117. package/dist/main/wasm/v1/ibc.js +91 -76
  118. package/dist/main/wasm/v1/index.d.ts +1 -2
  119. package/dist/main/wasm/v1/pagination.d.ts +40 -4
  120. package/dist/main/wasm/v1/pagination.js +9 -11
  121. package/dist/main/wasm/v1/proposal.d.ts +23 -106
  122. package/dist/main/wasm/v1/proposal.js +634 -465
  123. package/dist/main/wasm/v1/query.d.ts +35 -187
  124. package/dist/main/wasm/v1/query.js +370 -363
  125. package/dist/main/wasm/v1/tx.d.ts +37 -210
  126. package/dist/main/wasm/v1/tx.js +621 -497
  127. package/dist/main/wasm/v1/types.d.ts +19 -67
  128. package/dist/main/wasm/v1/types.js +224 -195
  129. package/dist/module/client/index.js +2 -1
  130. package/dist/module/coreum/asset/ft/v1/authz.d.ts +38 -0
  131. package/dist/module/coreum/asset/ft/v1/authz.js +119 -0
  132. package/dist/module/coreum/asset/ft/v1/event.d.ts +52 -28
  133. package/dist/module/coreum/asset/ft/v1/event.js +721 -109
  134. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +31 -21
  135. package/dist/module/coreum/asset/ft/v1/genesis.js +266 -50
  136. package/dist/module/coreum/asset/ft/v1/params.d.ts +12 -11
  137. package/dist/module/coreum/asset/ft/v1/params.js +35 -27
  138. package/dist/module/coreum/asset/ft/v1/query.d.ts +87 -127
  139. package/dist/module/coreum/asset/ft/v1/query.js +672 -180
  140. package/dist/module/coreum/asset/ft/v1/token.d.ts +17 -51
  141. package/dist/module/coreum/asset/ft/v1/token.js +236 -152
  142. package/dist/module/coreum/asset/ft/v1/tx.d.ts +30 -147
  143. package/dist/module/coreum/asset/ft/v1/tx.js +437 -301
  144. package/dist/module/coreum/asset/index.d.ts +2 -3
  145. package/dist/module/coreum/asset/nft/v1/authz.d.ts +33 -0
  146. package/dist/module/coreum/asset/nft/v1/authz.js +134 -0
  147. package/dist/module/coreum/asset/nft/v1/event.d.ts +35 -43
  148. package/dist/module/coreum/asset/nft/v1/event.js +448 -112
  149. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +27 -36
  150. package/dist/module/coreum/asset/nft/v1/genesis.js +299 -100
  151. package/dist/module/coreum/asset/nft/v1/nft.d.ts +20 -26
  152. package/dist/module/coreum/asset/nft/v1/nft.js +121 -81
  153. package/dist/module/coreum/asset/nft/v1/params.d.ts +12 -12
  154. package/dist/module/coreum/asset/nft/v1/params.js +16 -16
  155. package/dist/module/coreum/asset/nft/v1/query.d.ts +110 -88
  156. package/dist/module/coreum/asset/nft/v1/query.js +1057 -153
  157. package/dist/module/coreum/asset/nft/v1/tx.d.ts +96 -70
  158. package/dist/module/coreum/asset/nft/v1/tx.js +825 -184
  159. package/dist/module/coreum/asset/nft/v1/types.d.ts +38 -11
  160. package/dist/module/coreum/asset/nft/v1/types.js +269 -39
  161. package/dist/module/coreum/customparams/v1/genesis.d.ts +12 -12
  162. package/dist/module/coreum/customparams/v1/genesis.js +25 -18
  163. package/dist/module/coreum/customparams/v1/params.d.ts +11 -11
  164. package/dist/module/coreum/customparams/v1/params.js +21 -14
  165. package/dist/module/coreum/customparams/v1/query.d.ts +14 -20
  166. package/dist/module/coreum/customparams/v1/query.js +32 -23
  167. package/dist/module/coreum/dex/index.d.ts +1 -0
  168. package/dist/module/coreum/dex/index.js +9 -0
  169. package/dist/module/coreum/dex/v1/event.d.ts +73 -0
  170. package/dist/module/coreum/dex/v1/event.js +467 -0
  171. package/dist/module/coreum/dex/v1/genesis.d.ts +49 -0
  172. package/dist/module/coreum/dex/v1/genesis.js +315 -0
  173. package/dist/module/coreum/dex/v1/order.d.ts +172 -0
  174. package/dist/module/coreum/dex/v1/order.js +1128 -0
  175. package/dist/module/coreum/dex/v1/params.d.ts +34 -0
  176. package/dist/module/coreum/dex/v1/params.js +136 -0
  177. package/dist/module/coreum/dex/v1/query.d.ts +133 -0
  178. package/dist/module/coreum/dex/v1/query.js +871 -0
  179. package/dist/module/coreum/dex/v1/tx.d.ts +102 -0
  180. package/dist/module/coreum/dex/v1/tx.js +519 -0
  181. package/dist/module/coreum/extensions/dex.d.ts +12 -0
  182. package/dist/module/coreum/extensions/dex.js +28 -0
  183. package/dist/module/coreum/feemodel/v1/genesis.d.ts +13 -13
  184. package/dist/module/coreum/feemodel/v1/genesis.js +22 -20
  185. package/dist/module/coreum/feemodel/v1/params.d.ts +14 -21
  186. package/dist/module/coreum/feemodel/v1/params.js +105 -54
  187. package/dist/module/coreum/feemodel/v1/query.d.ts +30 -37
  188. package/dist/module/coreum/feemodel/v1/query.js +191 -35
  189. package/dist/module/coreum/index.d.ts +46 -0
  190. package/dist/module/coreum/index.js +57 -0
  191. package/dist/module/coreum/nft/index.d.ts +1 -2
  192. package/dist/module/coreum/nft/v1beta1/event.d.ts +23 -27
  193. package/dist/module/coreum/nft/v1beta1/event.js +90 -58
  194. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +13 -19
  195. package/dist/module/coreum/nft/v1beta1/genesis.js +44 -41
  196. package/dist/module/coreum/nft/v1beta1/nft.d.ts +15 -22
  197. package/dist/module/coreum/nft/v1beta1/nft.js +99 -64
  198. package/dist/module/coreum/nft/v1beta1/query.d.ts +54 -124
  199. package/dist/module/coreum/nft/v1beta1/query.js +231 -183
  200. package/dist/module/coreum/nft/v1beta1/tx.d.ts +13 -19
  201. package/dist/module/coreum/nft/v1beta1/tx.js +47 -32
  202. package/dist/module/cosmos/extensions/distribution.d.ts +4 -4
  203. package/dist/module/cosmos/extensions/gov.d.ts +13 -13
  204. package/dist/module/cosmos/index.d.ts +8 -8
  205. package/dist/module/google/api/http.d.ts +2636 -6
  206. package/dist/module/google/protobuf/any.d.ts +14 -2
  207. package/dist/module/google/protobuf/duration.d.ts +14 -2
  208. package/dist/module/google/protobuf/timestamp.d.ts +14 -2
  209. package/dist/module/services/cosmostation.js +1 -1
  210. package/dist/module/tendermint/abci/types.d.ts +6360 -92
  211. package/dist/module/tendermint/crypto/keys.d.ts +14 -2
  212. package/dist/module/tendermint/crypto/proof.d.ts +152 -10
  213. package/dist/module/tendermint/types/params.d.ts +196 -12
  214. package/dist/module/tendermint/types/types.d.ts +1744 -26
  215. package/dist/module/tendermint/types/validator.d.ts +230 -6
  216. package/dist/module/tendermint/version/types.d.ts +28 -4
  217. package/dist/module/types/core.d.ts +2 -1
  218. package/dist/module/types/core.js +2 -0
  219. package/dist/module/utils/convertStringToAny.d.ts +0 -1
  220. package/dist/module/wasm/v1/authz.d.ts +20 -75
  221. package/dist/module/wasm/v1/authz.js +111 -119
  222. package/dist/module/wasm/v1/genesis.d.ts +14 -34
  223. package/dist/module/wasm/v1/genesis.js +161 -125
  224. package/dist/module/wasm/v1/ibc.d.ts +13 -26
  225. package/dist/module/wasm/v1/ibc.js +83 -62
  226. package/dist/module/wasm/v1/index.d.ts +1 -2
  227. package/dist/module/wasm/v1/pagination.d.ts +40 -4
  228. package/dist/module/wasm/v1/proposal.d.ts +23 -106
  229. package/dist/module/wasm/v1/proposal.js +562 -377
  230. package/dist/module/wasm/v1/query.d.ts +35 -187
  231. package/dist/module/wasm/v1/query.js +330 -301
  232. package/dist/module/wasm/v1/tx.d.ts +37 -210
  233. package/dist/module/wasm/v1/tx.js +551 -404
  234. package/dist/module/wasm/v1/types.d.ts +19 -67
  235. package/dist/module/wasm/v1/types.js +196 -156
  236. package/package.json +11 -10
@@ -10,8 +10,20 @@ export declare const PublicKey: {
10
10
  decode(input: _m0.Reader | Uint8Array, length?: number): PublicKey;
11
11
  fromJSON(object: any): PublicKey;
12
12
  toJSON(message: PublicKey): unknown;
13
- create<I extends Exact<DeepPartial<PublicKey>, I>>(base?: I): PublicKey;
14
- fromPartial<I extends Exact<DeepPartial<PublicKey>, I>>(object: I): PublicKey;
13
+ create<I extends {
14
+ ed25519?: Uint8Array | undefined;
15
+ secp256k1?: Uint8Array | undefined;
16
+ } & {
17
+ ed25519?: Uint8Array | undefined;
18
+ secp256k1?: Uint8Array | undefined;
19
+ } & { [K in Exclude<keyof I, keyof PublicKey>]: never; }>(base?: I): PublicKey;
20
+ fromPartial<I_1 extends {
21
+ ed25519?: Uint8Array | undefined;
22
+ secp256k1?: Uint8Array | undefined;
23
+ } & {
24
+ ed25519?: Uint8Array | undefined;
25
+ secp256k1?: Uint8Array | undefined;
26
+ } & { [K_1 in Exclude<keyof I_1, keyof PublicKey>]: never; }>(object: I_1): PublicKey;
15
27
  };
16
28
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
17
29
  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 {} ? {
@@ -36,40 +36,182 @@ export declare const Proof: {
36
36
  decode(input: _m0.Reader | Uint8Array, length?: number): Proof;
37
37
  fromJSON(object: any): Proof;
38
38
  toJSON(message: Proof): unknown;
39
- create<I extends Exact<DeepPartial<Proof>, I>>(base?: I): Proof;
40
- fromPartial<I extends Exact<DeepPartial<Proof>, I>>(object: I): Proof;
39
+ create<I extends {
40
+ total?: number;
41
+ index?: number;
42
+ leafHash?: Uint8Array;
43
+ aunts?: Uint8Array[];
44
+ } & {
45
+ total?: number;
46
+ index?: number;
47
+ leafHash?: Uint8Array;
48
+ aunts?: Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["aunts"], keyof Uint8Array[]>]: never; };
49
+ } & { [K_1 in Exclude<keyof I, keyof Proof>]: never; }>(base?: I): Proof;
50
+ fromPartial<I_1 extends {
51
+ total?: number;
52
+ index?: number;
53
+ leafHash?: Uint8Array;
54
+ aunts?: Uint8Array[];
55
+ } & {
56
+ total?: number;
57
+ index?: number;
58
+ leafHash?: Uint8Array;
59
+ aunts?: Uint8Array[] & Uint8Array[] & { [K_2 in Exclude<keyof I_1["aunts"], keyof Uint8Array[]>]: never; };
60
+ } & { [K_3 in Exclude<keyof I_1, keyof Proof>]: never; }>(object: I_1): Proof;
41
61
  };
42
62
  export declare const ValueOp: {
43
63
  encode(message: ValueOp, writer?: _m0.Writer): _m0.Writer;
44
64
  decode(input: _m0.Reader | Uint8Array, length?: number): ValueOp;
45
65
  fromJSON(object: any): ValueOp;
46
66
  toJSON(message: ValueOp): unknown;
47
- create<I extends Exact<DeepPartial<ValueOp>, I>>(base?: I): ValueOp;
48
- fromPartial<I extends Exact<DeepPartial<ValueOp>, I>>(object: I): ValueOp;
67
+ create<I extends {
68
+ key?: Uint8Array;
69
+ proof?: {
70
+ total?: number;
71
+ index?: number;
72
+ leafHash?: Uint8Array;
73
+ aunts?: Uint8Array[];
74
+ };
75
+ } & {
76
+ key?: Uint8Array;
77
+ proof?: {
78
+ total?: number;
79
+ index?: number;
80
+ leafHash?: Uint8Array;
81
+ aunts?: Uint8Array[];
82
+ } & {
83
+ total?: number;
84
+ index?: number;
85
+ leafHash?: Uint8Array;
86
+ aunts?: Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["proof"]["aunts"], keyof Uint8Array[]>]: never; };
87
+ } & { [K_1 in Exclude<keyof I["proof"], keyof Proof>]: never; };
88
+ } & { [K_2 in Exclude<keyof I, keyof ValueOp>]: never; }>(base?: I): ValueOp;
89
+ fromPartial<I_1 extends {
90
+ key?: Uint8Array;
91
+ proof?: {
92
+ total?: number;
93
+ index?: number;
94
+ leafHash?: Uint8Array;
95
+ aunts?: Uint8Array[];
96
+ };
97
+ } & {
98
+ key?: Uint8Array;
99
+ proof?: {
100
+ total?: number;
101
+ index?: number;
102
+ leafHash?: Uint8Array;
103
+ aunts?: Uint8Array[];
104
+ } & {
105
+ total?: number;
106
+ index?: number;
107
+ leafHash?: Uint8Array;
108
+ aunts?: Uint8Array[] & Uint8Array[] & { [K_3 in Exclude<keyof I_1["proof"]["aunts"], keyof Uint8Array[]>]: never; };
109
+ } & { [K_4 in Exclude<keyof I_1["proof"], keyof Proof>]: never; };
110
+ } & { [K_5 in Exclude<keyof I_1, keyof ValueOp>]: never; }>(object: I_1): ValueOp;
49
111
  };
50
112
  export declare const DominoOp: {
51
113
  encode(message: DominoOp, writer?: _m0.Writer): _m0.Writer;
52
114
  decode(input: _m0.Reader | Uint8Array, length?: number): DominoOp;
53
115
  fromJSON(object: any): DominoOp;
54
116
  toJSON(message: DominoOp): unknown;
55
- create<I extends Exact<DeepPartial<DominoOp>, I>>(base?: I): DominoOp;
56
- fromPartial<I extends Exact<DeepPartial<DominoOp>, I>>(object: I): DominoOp;
117
+ create<I extends {
118
+ key?: string;
119
+ input?: string;
120
+ output?: string;
121
+ } & {
122
+ key?: string;
123
+ input?: string;
124
+ output?: string;
125
+ } & { [K in Exclude<keyof I, keyof DominoOp>]: never; }>(base?: I): DominoOp;
126
+ fromPartial<I_1 extends {
127
+ key?: string;
128
+ input?: string;
129
+ output?: string;
130
+ } & {
131
+ key?: string;
132
+ input?: string;
133
+ output?: string;
134
+ } & { [K_1 in Exclude<keyof I_1, keyof DominoOp>]: never; }>(object: I_1): DominoOp;
57
135
  };
58
136
  export declare const ProofOp: {
59
137
  encode(message: ProofOp, writer?: _m0.Writer): _m0.Writer;
60
138
  decode(input: _m0.Reader | Uint8Array, length?: number): ProofOp;
61
139
  fromJSON(object: any): ProofOp;
62
140
  toJSON(message: ProofOp): unknown;
63
- create<I extends Exact<DeepPartial<ProofOp>, I>>(base?: I): ProofOp;
64
- fromPartial<I extends Exact<DeepPartial<ProofOp>, I>>(object: I): ProofOp;
141
+ create<I extends {
142
+ type?: string;
143
+ key?: Uint8Array;
144
+ data?: Uint8Array;
145
+ } & {
146
+ type?: string;
147
+ key?: Uint8Array;
148
+ data?: Uint8Array;
149
+ } & { [K in Exclude<keyof I, keyof ProofOp>]: never; }>(base?: I): ProofOp;
150
+ fromPartial<I_1 extends {
151
+ type?: string;
152
+ key?: Uint8Array;
153
+ data?: Uint8Array;
154
+ } & {
155
+ type?: string;
156
+ key?: Uint8Array;
157
+ data?: Uint8Array;
158
+ } & { [K_1 in Exclude<keyof I_1, keyof ProofOp>]: never; }>(object: I_1): ProofOp;
65
159
  };
66
160
  export declare const ProofOps: {
67
161
  encode(message: ProofOps, writer?: _m0.Writer): _m0.Writer;
68
162
  decode(input: _m0.Reader | Uint8Array, length?: number): ProofOps;
69
163
  fromJSON(object: any): ProofOps;
70
164
  toJSON(message: ProofOps): unknown;
71
- create<I extends Exact<DeepPartial<ProofOps>, I>>(base?: I): ProofOps;
72
- fromPartial<I extends Exact<DeepPartial<ProofOps>, I>>(object: I): ProofOps;
165
+ create<I extends {
166
+ ops?: {
167
+ type?: string;
168
+ key?: Uint8Array;
169
+ data?: Uint8Array;
170
+ }[];
171
+ } & {
172
+ ops?: {
173
+ type?: string;
174
+ key?: Uint8Array;
175
+ data?: Uint8Array;
176
+ }[] & ({
177
+ type?: string;
178
+ key?: Uint8Array;
179
+ data?: Uint8Array;
180
+ } & {
181
+ type?: string;
182
+ key?: Uint8Array;
183
+ data?: Uint8Array;
184
+ } & { [K in Exclude<keyof I["ops"][number], keyof ProofOp>]: never; })[] & { [K_1 in Exclude<keyof I["ops"], keyof {
185
+ type?: string;
186
+ key?: Uint8Array;
187
+ data?: Uint8Array;
188
+ }[]>]: never; };
189
+ } & { [K_2 in Exclude<keyof I, "ops">]: never; }>(base?: I): ProofOps;
190
+ fromPartial<I_1 extends {
191
+ ops?: {
192
+ type?: string;
193
+ key?: Uint8Array;
194
+ data?: Uint8Array;
195
+ }[];
196
+ } & {
197
+ ops?: {
198
+ type?: string;
199
+ key?: Uint8Array;
200
+ data?: Uint8Array;
201
+ }[] & ({
202
+ type?: string;
203
+ key?: Uint8Array;
204
+ data?: Uint8Array;
205
+ } & {
206
+ type?: string;
207
+ key?: Uint8Array;
208
+ data?: Uint8Array;
209
+ } & { [K_3 in Exclude<keyof I_1["ops"][number], keyof ProofOp>]: never; })[] & { [K_4 in Exclude<keyof I_1["ops"], keyof {
210
+ type?: string;
211
+ key?: Uint8Array;
212
+ data?: Uint8Array;
213
+ }[]>]: never; };
214
+ } & { [K_5 in Exclude<keyof I_1, "ops">]: never; }>(object: I_1): ProofOps;
73
215
  };
74
216
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
75
217
  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 {} ? {
@@ -73,48 +73,232 @@ export declare const ConsensusParams: {
73
73
  decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusParams;
74
74
  fromJSON(object: any): ConsensusParams;
75
75
  toJSON(message: ConsensusParams): unknown;
76
- create<I extends Exact<DeepPartial<ConsensusParams>, I>>(base?: I): ConsensusParams;
77
- fromPartial<I extends Exact<DeepPartial<ConsensusParams>, I>>(object: I): ConsensusParams;
76
+ create<I extends {
77
+ block?: {
78
+ maxBytes?: number;
79
+ maxGas?: number;
80
+ };
81
+ evidence?: {
82
+ maxAgeNumBlocks?: number;
83
+ maxAgeDuration?: {
84
+ seconds?: number;
85
+ nanos?: number;
86
+ };
87
+ maxBytes?: number;
88
+ };
89
+ validator?: {
90
+ pubKeyTypes?: string[];
91
+ };
92
+ version?: {
93
+ app?: number;
94
+ };
95
+ } & {
96
+ block?: {
97
+ maxBytes?: number;
98
+ maxGas?: number;
99
+ } & {
100
+ maxBytes?: number;
101
+ maxGas?: number;
102
+ } & { [K in Exclude<keyof I["block"], keyof BlockParams>]: never; };
103
+ evidence?: {
104
+ maxAgeNumBlocks?: number;
105
+ maxAgeDuration?: {
106
+ seconds?: number;
107
+ nanos?: number;
108
+ };
109
+ maxBytes?: number;
110
+ } & {
111
+ maxAgeNumBlocks?: number;
112
+ maxAgeDuration?: {
113
+ seconds?: number;
114
+ nanos?: number;
115
+ } & {
116
+ seconds?: number;
117
+ nanos?: number;
118
+ } & { [K_1 in Exclude<keyof I["evidence"]["maxAgeDuration"], keyof Duration>]: never; };
119
+ maxBytes?: number;
120
+ } & { [K_2 in Exclude<keyof I["evidence"], keyof EvidenceParams>]: never; };
121
+ validator?: {
122
+ pubKeyTypes?: string[];
123
+ } & {
124
+ pubKeyTypes?: string[] & string[] & { [K_3 in Exclude<keyof I["validator"]["pubKeyTypes"], keyof string[]>]: never; };
125
+ } & { [K_4 in Exclude<keyof I["validator"], "pubKeyTypes">]: never; };
126
+ version?: {
127
+ app?: number;
128
+ } & {
129
+ app?: number;
130
+ } & { [K_5 in Exclude<keyof I["version"], "app">]: never; };
131
+ } & { [K_6 in Exclude<keyof I, keyof ConsensusParams>]: never; }>(base?: I): ConsensusParams;
132
+ fromPartial<I_1 extends {
133
+ block?: {
134
+ maxBytes?: number;
135
+ maxGas?: number;
136
+ };
137
+ evidence?: {
138
+ maxAgeNumBlocks?: number;
139
+ maxAgeDuration?: {
140
+ seconds?: number;
141
+ nanos?: number;
142
+ };
143
+ maxBytes?: number;
144
+ };
145
+ validator?: {
146
+ pubKeyTypes?: string[];
147
+ };
148
+ version?: {
149
+ app?: number;
150
+ };
151
+ } & {
152
+ block?: {
153
+ maxBytes?: number;
154
+ maxGas?: number;
155
+ } & {
156
+ maxBytes?: number;
157
+ maxGas?: number;
158
+ } & { [K_7 in Exclude<keyof I_1["block"], keyof BlockParams>]: never; };
159
+ evidence?: {
160
+ maxAgeNumBlocks?: number;
161
+ maxAgeDuration?: {
162
+ seconds?: number;
163
+ nanos?: number;
164
+ };
165
+ maxBytes?: number;
166
+ } & {
167
+ maxAgeNumBlocks?: number;
168
+ maxAgeDuration?: {
169
+ seconds?: number;
170
+ nanos?: number;
171
+ } & {
172
+ seconds?: number;
173
+ nanos?: number;
174
+ } & { [K_8 in Exclude<keyof I_1["evidence"]["maxAgeDuration"], keyof Duration>]: never; };
175
+ maxBytes?: number;
176
+ } & { [K_9 in Exclude<keyof I_1["evidence"], keyof EvidenceParams>]: never; };
177
+ validator?: {
178
+ pubKeyTypes?: string[];
179
+ } & {
180
+ pubKeyTypes?: string[] & string[] & { [K_10 in Exclude<keyof I_1["validator"]["pubKeyTypes"], keyof string[]>]: never; };
181
+ } & { [K_11 in Exclude<keyof I_1["validator"], "pubKeyTypes">]: never; };
182
+ version?: {
183
+ app?: number;
184
+ } & {
185
+ app?: number;
186
+ } & { [K_12 in Exclude<keyof I_1["version"], "app">]: never; };
187
+ } & { [K_13 in Exclude<keyof I_1, keyof ConsensusParams>]: never; }>(object: I_1): ConsensusParams;
78
188
  };
79
189
  export declare const BlockParams: {
80
190
  encode(message: BlockParams, writer?: _m0.Writer): _m0.Writer;
81
191
  decode(input: _m0.Reader | Uint8Array, length?: number): BlockParams;
82
192
  fromJSON(object: any): BlockParams;
83
193
  toJSON(message: BlockParams): unknown;
84
- create<I extends Exact<DeepPartial<BlockParams>, I>>(base?: I): BlockParams;
85
- fromPartial<I extends Exact<DeepPartial<BlockParams>, I>>(object: I): BlockParams;
194
+ create<I extends {
195
+ maxBytes?: number;
196
+ maxGas?: number;
197
+ } & {
198
+ maxBytes?: number;
199
+ maxGas?: number;
200
+ } & { [K in Exclude<keyof I, keyof BlockParams>]: never; }>(base?: I): BlockParams;
201
+ fromPartial<I_1 extends {
202
+ maxBytes?: number;
203
+ maxGas?: number;
204
+ } & {
205
+ maxBytes?: number;
206
+ maxGas?: number;
207
+ } & { [K_1 in Exclude<keyof I_1, keyof BlockParams>]: never; }>(object: I_1): BlockParams;
86
208
  };
87
209
  export declare const EvidenceParams: {
88
210
  encode(message: EvidenceParams, writer?: _m0.Writer): _m0.Writer;
89
211
  decode(input: _m0.Reader | Uint8Array, length?: number): EvidenceParams;
90
212
  fromJSON(object: any): EvidenceParams;
91
213
  toJSON(message: EvidenceParams): unknown;
92
- create<I extends Exact<DeepPartial<EvidenceParams>, I>>(base?: I): EvidenceParams;
93
- fromPartial<I extends Exact<DeepPartial<EvidenceParams>, I>>(object: I): EvidenceParams;
214
+ create<I extends {
215
+ maxAgeNumBlocks?: number;
216
+ maxAgeDuration?: {
217
+ seconds?: number;
218
+ nanos?: number;
219
+ };
220
+ maxBytes?: number;
221
+ } & {
222
+ maxAgeNumBlocks?: number;
223
+ maxAgeDuration?: {
224
+ seconds?: number;
225
+ nanos?: number;
226
+ } & {
227
+ seconds?: number;
228
+ nanos?: number;
229
+ } & { [K in Exclude<keyof I["maxAgeDuration"], keyof Duration>]: never; };
230
+ maxBytes?: number;
231
+ } & { [K_1 in Exclude<keyof I, keyof EvidenceParams>]: never; }>(base?: I): EvidenceParams;
232
+ fromPartial<I_1 extends {
233
+ maxAgeNumBlocks?: number;
234
+ maxAgeDuration?: {
235
+ seconds?: number;
236
+ nanos?: number;
237
+ };
238
+ maxBytes?: number;
239
+ } & {
240
+ maxAgeNumBlocks?: number;
241
+ maxAgeDuration?: {
242
+ seconds?: number;
243
+ nanos?: number;
244
+ } & {
245
+ seconds?: number;
246
+ nanos?: number;
247
+ } & { [K_2 in Exclude<keyof I_1["maxAgeDuration"], keyof Duration>]: never; };
248
+ maxBytes?: number;
249
+ } & { [K_3 in Exclude<keyof I_1, keyof EvidenceParams>]: never; }>(object: I_1): EvidenceParams;
94
250
  };
95
251
  export declare const ValidatorParams: {
96
252
  encode(message: ValidatorParams, writer?: _m0.Writer): _m0.Writer;
97
253
  decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorParams;
98
254
  fromJSON(object: any): ValidatorParams;
99
255
  toJSON(message: ValidatorParams): unknown;
100
- create<I extends Exact<DeepPartial<ValidatorParams>, I>>(base?: I): ValidatorParams;
101
- fromPartial<I extends Exact<DeepPartial<ValidatorParams>, I>>(object: I): ValidatorParams;
256
+ create<I extends {
257
+ pubKeyTypes?: string[];
258
+ } & {
259
+ pubKeyTypes?: string[] & string[] & { [K in Exclude<keyof I["pubKeyTypes"], keyof string[]>]: never; };
260
+ } & { [K_1 in Exclude<keyof I, "pubKeyTypes">]: never; }>(base?: I): ValidatorParams;
261
+ fromPartial<I_1 extends {
262
+ pubKeyTypes?: string[];
263
+ } & {
264
+ pubKeyTypes?: string[] & string[] & { [K_2 in Exclude<keyof I_1["pubKeyTypes"], keyof string[]>]: never; };
265
+ } & { [K_3 in Exclude<keyof I_1, "pubKeyTypes">]: never; }>(object: I_1): ValidatorParams;
102
266
  };
103
267
  export declare const VersionParams: {
104
268
  encode(message: VersionParams, writer?: _m0.Writer): _m0.Writer;
105
269
  decode(input: _m0.Reader | Uint8Array, length?: number): VersionParams;
106
270
  fromJSON(object: any): VersionParams;
107
271
  toJSON(message: VersionParams): unknown;
108
- create<I extends Exact<DeepPartial<VersionParams>, I>>(base?: I): VersionParams;
109
- fromPartial<I extends Exact<DeepPartial<VersionParams>, I>>(object: I): VersionParams;
272
+ create<I extends {
273
+ app?: number;
274
+ } & {
275
+ app?: number;
276
+ } & { [K in Exclude<keyof I, "app">]: never; }>(base?: I): VersionParams;
277
+ fromPartial<I_1 extends {
278
+ app?: number;
279
+ } & {
280
+ app?: number;
281
+ } & { [K_1 in Exclude<keyof I_1, "app">]: never; }>(object: I_1): VersionParams;
110
282
  };
111
283
  export declare const HashedParams: {
112
284
  encode(message: HashedParams, writer?: _m0.Writer): _m0.Writer;
113
285
  decode(input: _m0.Reader | Uint8Array, length?: number): HashedParams;
114
286
  fromJSON(object: any): HashedParams;
115
287
  toJSON(message: HashedParams): unknown;
116
- create<I extends Exact<DeepPartial<HashedParams>, I>>(base?: I): HashedParams;
117
- fromPartial<I extends Exact<DeepPartial<HashedParams>, I>>(object: I): HashedParams;
288
+ create<I extends {
289
+ blockMaxBytes?: number;
290
+ blockMaxGas?: number;
291
+ } & {
292
+ blockMaxBytes?: number;
293
+ blockMaxGas?: number;
294
+ } & { [K in Exclude<keyof I, keyof HashedParams>]: never; }>(base?: I): HashedParams;
295
+ fromPartial<I_1 extends {
296
+ blockMaxBytes?: number;
297
+ blockMaxGas?: number;
298
+ } & {
299
+ blockMaxBytes?: number;
300
+ blockMaxGas?: number;
301
+ } & { [K_1 in Exclude<keyof I_1, keyof HashedParams>]: never; }>(object: I_1): HashedParams;
118
302
  };
119
303
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
120
304
  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 {} ? {