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
  export declare const protobufPackage = "coreum.asset.ft.v1";
3
3
  /** Feature defines possible features of fungible token. */
4
4
  export declare enum Feature {
@@ -82,259 +82,19 @@ export interface TokenUpgradeStatuses {
82
82
  }
83
83
  /** DEXSettings defines the token settings of the dex. */
84
84
  export interface DEXSettings {
85
- /** unified_ref_amount is the approximate amount you need to by 1USD, used to define the price tick size */
85
+ /** unified_ref_amount is the approximate amount you need to buy 1USD, used to define the price tick size */
86
86
  unifiedRefAmount: string;
87
87
  /** whitelisted_denoms is the list of denoms to trade with. */
88
88
  whitelistedDenoms: string[];
89
89
  }
90
- export declare const Definition: {
91
- encode(message: Definition, writer?: _m0.Writer): _m0.Writer;
92
- decode(input: _m0.Reader | Uint8Array, length?: number): Definition;
93
- fromJSON(object: any): Definition;
94
- toJSON(message: Definition): unknown;
95
- create<I extends {
96
- denom?: string;
97
- issuer?: string;
98
- features?: Feature[];
99
- burnRate?: string;
100
- sendCommissionRate?: string;
101
- version?: number;
102
- uri?: string;
103
- uriHash?: string;
104
- extensionCwAddress?: string;
105
- admin?: string;
106
- } & {
107
- denom?: string;
108
- issuer?: string;
109
- features?: Feature[] & Feature[] & { [K in Exclude<keyof I["features"], keyof Feature[]>]: never; };
110
- burnRate?: string;
111
- sendCommissionRate?: string;
112
- version?: number;
113
- uri?: string;
114
- uriHash?: string;
115
- extensionCwAddress?: string;
116
- admin?: string;
117
- } & { [K_1 in Exclude<keyof I, keyof Definition>]: never; }>(base?: I): Definition;
118
- fromPartial<I_1 extends {
119
- denom?: string;
120
- issuer?: string;
121
- features?: Feature[];
122
- burnRate?: string;
123
- sendCommissionRate?: string;
124
- version?: number;
125
- uri?: string;
126
- uriHash?: string;
127
- extensionCwAddress?: string;
128
- admin?: string;
129
- } & {
130
- denom?: string;
131
- issuer?: string;
132
- features?: Feature[] & Feature[] & { [K_2 in Exclude<keyof I_1["features"], keyof Feature[]>]: never; };
133
- burnRate?: string;
134
- sendCommissionRate?: string;
135
- version?: number;
136
- uri?: string;
137
- uriHash?: string;
138
- extensionCwAddress?: string;
139
- admin?: string;
140
- } & { [K_3 in Exclude<keyof I_1, keyof Definition>]: never; }>(object: I_1): Definition;
141
- };
142
- export declare const Token: {
143
- encode(message: Token, writer?: _m0.Writer): _m0.Writer;
144
- decode(input: _m0.Reader | Uint8Array, length?: number): Token;
145
- fromJSON(object: any): Token;
146
- toJSON(message: Token): unknown;
147
- create<I extends {
148
- denom?: string;
149
- issuer?: string;
150
- symbol?: string;
151
- subunit?: string;
152
- precision?: number;
153
- description?: string;
154
- globallyFrozen?: boolean;
155
- features?: Feature[];
156
- burnRate?: string;
157
- sendCommissionRate?: string;
158
- version?: number;
159
- uri?: string;
160
- uriHash?: string;
161
- extensionCwAddress?: string;
162
- admin?: string;
163
- dexSettings?: {
164
- unifiedRefAmount?: string;
165
- whitelistedDenoms?: string[];
166
- };
167
- } & {
168
- denom?: string;
169
- issuer?: string;
170
- symbol?: string;
171
- subunit?: string;
172
- precision?: number;
173
- description?: string;
174
- globallyFrozen?: boolean;
175
- features?: Feature[] & Feature[] & { [K in Exclude<keyof I["features"], keyof Feature[]>]: never; };
176
- burnRate?: string;
177
- sendCommissionRate?: string;
178
- version?: number;
179
- uri?: string;
180
- uriHash?: string;
181
- extensionCwAddress?: string;
182
- admin?: string;
183
- dexSettings?: {
184
- unifiedRefAmount?: string;
185
- whitelistedDenoms?: string[];
186
- } & {
187
- unifiedRefAmount?: string;
188
- whitelistedDenoms?: string[] & string[] & { [K_1 in Exclude<keyof I["dexSettings"]["whitelistedDenoms"], keyof string[]>]: never; };
189
- } & { [K_2 in Exclude<keyof I["dexSettings"], keyof DEXSettings>]: never; };
190
- } & { [K_3 in Exclude<keyof I, keyof Token>]: never; }>(base?: I): Token;
191
- fromPartial<I_1 extends {
192
- denom?: string;
193
- issuer?: string;
194
- symbol?: string;
195
- subunit?: string;
196
- precision?: number;
197
- description?: string;
198
- globallyFrozen?: boolean;
199
- features?: Feature[];
200
- burnRate?: string;
201
- sendCommissionRate?: string;
202
- version?: number;
203
- uri?: string;
204
- uriHash?: string;
205
- extensionCwAddress?: string;
206
- admin?: string;
207
- dexSettings?: {
208
- unifiedRefAmount?: string;
209
- whitelistedDenoms?: string[];
210
- };
211
- } & {
212
- denom?: string;
213
- issuer?: string;
214
- symbol?: string;
215
- subunit?: string;
216
- precision?: number;
217
- description?: string;
218
- globallyFrozen?: boolean;
219
- features?: Feature[] & Feature[] & { [K_4 in Exclude<keyof I_1["features"], keyof Feature[]>]: never; };
220
- burnRate?: string;
221
- sendCommissionRate?: string;
222
- version?: number;
223
- uri?: string;
224
- uriHash?: string;
225
- extensionCwAddress?: string;
226
- admin?: string;
227
- dexSettings?: {
228
- unifiedRefAmount?: string;
229
- whitelistedDenoms?: string[];
230
- } & {
231
- unifiedRefAmount?: string;
232
- whitelistedDenoms?: string[] & string[] & { [K_5 in Exclude<keyof I_1["dexSettings"]["whitelistedDenoms"], keyof string[]>]: never; };
233
- } & { [K_6 in Exclude<keyof I_1["dexSettings"], keyof DEXSettings>]: never; };
234
- } & { [K_7 in Exclude<keyof I_1, keyof Token>]: never; }>(object: I_1): Token;
235
- };
236
- export declare const DelayedTokenUpgradeV1: {
237
- encode(message: DelayedTokenUpgradeV1, writer?: _m0.Writer): _m0.Writer;
238
- decode(input: _m0.Reader | Uint8Array, length?: number): DelayedTokenUpgradeV1;
239
- fromJSON(object: any): DelayedTokenUpgradeV1;
240
- toJSON(message: DelayedTokenUpgradeV1): unknown;
241
- create<I extends {
242
- denom?: string;
243
- } & {
244
- denom?: string;
245
- } & { [K in Exclude<keyof I, "denom">]: never; }>(base?: I): DelayedTokenUpgradeV1;
246
- fromPartial<I_1 extends {
247
- denom?: string;
248
- } & {
249
- denom?: string;
250
- } & { [K_1 in Exclude<keyof I_1, "denom">]: never; }>(object: I_1): DelayedTokenUpgradeV1;
251
- };
252
- export declare const TokenUpgradeV1Status: {
253
- encode(message: TokenUpgradeV1Status, writer?: _m0.Writer): _m0.Writer;
254
- decode(input: _m0.Reader | Uint8Array, length?: number): TokenUpgradeV1Status;
255
- fromJSON(object: any): TokenUpgradeV1Status;
256
- toJSON(message: TokenUpgradeV1Status): unknown;
257
- create<I extends {
258
- ibcEnabled?: boolean;
259
- startTime?: Date | undefined;
260
- endTime?: Date | undefined;
261
- } & {
262
- ibcEnabled?: boolean;
263
- startTime?: Date | undefined;
264
- endTime?: Date | undefined;
265
- } & { [K in Exclude<keyof I, keyof TokenUpgradeV1Status>]: never; }>(base?: I): TokenUpgradeV1Status;
266
- fromPartial<I_1 extends {
267
- ibcEnabled?: boolean;
268
- startTime?: Date | undefined;
269
- endTime?: Date | undefined;
270
- } & {
271
- ibcEnabled?: boolean;
272
- startTime?: Date | undefined;
273
- endTime?: Date | undefined;
274
- } & { [K_1 in Exclude<keyof I_1, keyof TokenUpgradeV1Status>]: never; }>(object: I_1): TokenUpgradeV1Status;
275
- };
276
- export declare const TokenUpgradeStatuses: {
277
- encode(message: TokenUpgradeStatuses, writer?: _m0.Writer): _m0.Writer;
278
- decode(input: _m0.Reader | Uint8Array, length?: number): TokenUpgradeStatuses;
279
- fromJSON(object: any): TokenUpgradeStatuses;
280
- toJSON(message: TokenUpgradeStatuses): unknown;
281
- create<I extends {
282
- v1?: {
283
- ibcEnabled?: boolean;
284
- startTime?: Date | undefined;
285
- endTime?: Date | undefined;
286
- };
287
- } & {
288
- v1?: {
289
- ibcEnabled?: boolean;
290
- startTime?: Date | undefined;
291
- endTime?: Date | undefined;
292
- } & {
293
- ibcEnabled?: boolean;
294
- startTime?: Date | undefined;
295
- endTime?: Date | undefined;
296
- } & { [K in Exclude<keyof I["v1"], keyof TokenUpgradeV1Status>]: never; };
297
- } & { [K_1 in Exclude<keyof I, "v1">]: never; }>(base?: I): TokenUpgradeStatuses;
298
- fromPartial<I_1 extends {
299
- v1?: {
300
- ibcEnabled?: boolean;
301
- startTime?: Date | undefined;
302
- endTime?: Date | undefined;
303
- };
304
- } & {
305
- v1?: {
306
- ibcEnabled?: boolean;
307
- startTime?: Date | undefined;
308
- endTime?: Date | undefined;
309
- } & {
310
- ibcEnabled?: boolean;
311
- startTime?: Date | undefined;
312
- endTime?: Date | undefined;
313
- } & { [K_2 in Exclude<keyof I_1["v1"], keyof TokenUpgradeV1Status>]: never; };
314
- } & { [K_3 in Exclude<keyof I_1, "v1">]: never; }>(object: I_1): TokenUpgradeStatuses;
315
- };
316
- export declare const DEXSettings: {
317
- encode(message: DEXSettings, writer?: _m0.Writer): _m0.Writer;
318
- decode(input: _m0.Reader | Uint8Array, length?: number): DEXSettings;
319
- fromJSON(object: any): DEXSettings;
320
- toJSON(message: DEXSettings): unknown;
321
- create<I extends {
322
- unifiedRefAmount?: string;
323
- whitelistedDenoms?: string[];
324
- } & {
325
- unifiedRefAmount?: string;
326
- whitelistedDenoms?: string[] & string[] & { [K in Exclude<keyof I["whitelistedDenoms"], keyof string[]>]: never; };
327
- } & { [K_1 in Exclude<keyof I, keyof DEXSettings>]: never; }>(base?: I): DEXSettings;
328
- fromPartial<I_1 extends {
329
- unifiedRefAmount?: string;
330
- whitelistedDenoms?: string[];
331
- } & {
332
- unifiedRefAmount?: string;
333
- whitelistedDenoms?: string[] & string[] & { [K_2 in Exclude<keyof I_1["whitelistedDenoms"], keyof string[]>]: never; };
334
- } & { [K_3 in Exclude<keyof I_1, keyof DEXSettings>]: never; }>(object: I_1): DEXSettings;
335
- };
90
+ export declare const Definition: MessageFns<Definition>;
91
+ export declare const Token: MessageFns<Token>;
92
+ export declare const DelayedTokenUpgradeV1: MessageFns<DelayedTokenUpgradeV1>;
93
+ export declare const TokenUpgradeV1Status: MessageFns<TokenUpgradeV1Status>;
94
+ export declare const TokenUpgradeStatuses: MessageFns<TokenUpgradeStatuses>;
95
+ export declare const DEXSettings: MessageFns<DEXSettings>;
336
96
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
337
- 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 {} ? {
97
+ 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 {} ? {
338
98
  [K in keyof T]?: DeepPartial<T[K]>;
339
99
  } : Partial<T>;
340
100
  type KeysOfUnion<T> = T extends T ? keyof T : never;
@@ -343,4 +103,12 @@ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
343
103
  } & {
344
104
  [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
345
105
  };
106
+ export interface MessageFns<T> {
107
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
108
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
109
+ fromJSON(object: any): T;
110
+ toJSON(message: T): unknown;
111
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
112
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
113
+ }
346
114
  export {};