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,19 +1,24 @@
1
- import Long from "long";
2
- import _m0 from "protobufjs/minimal";
1
+ import { BinaryReader, BinaryWriter } from "cosmjs-types/binary";
3
2
  import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
4
3
  import { Params } from "./params";
5
- import { Token } from "./token";
4
+ import { DEXSettings, Token } from "./token";
6
5
  export declare const protobufPackage = "coreum.asset.ft.v1";
7
6
  /** GenesisState defines the module genesis state. */
8
7
  export interface GenesisState {
9
8
  /** params defines all the parameters of the module. */
10
- params?: Params;
9
+ params: Params | undefined;
11
10
  /** tokens keep the fungible token state */
12
11
  tokens: Token[];
13
12
  /** frozen_balances contains the frozen balances on all of the accounts */
14
13
  frozenBalances: Balance[];
15
14
  /** whitelisted_balances contains the whitelisted balances on all of the accounts */
16
15
  whitelistedBalances: Balance[];
16
+ /** pending_token_upgrades contains pending token upgrades. */
17
+ pendingTokenUpgrades: PendingTokenUpgrade[];
18
+ /** dex_locked_balances contains the DEX locked balances on all of the accounts */
19
+ dexLockedBalances: Balance[];
20
+ dexExpectedToReceiveBalances: Balance[];
21
+ dexSettings: DEXSettingsWithDenom[];
17
22
  }
18
23
  /** Balance defines an account address and balance pair used module genesis genesis state. */
19
24
  export interface Balance {
@@ -22,520 +27,21 @@ export interface Balance {
22
27
  /** coins defines the different coins this balance holds. */
23
28
  coins: Coin[];
24
29
  }
25
- export declare const GenesisState: {
26
- encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
27
- decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
28
- fromJSON(object: any): GenesisState;
29
- toJSON(message: GenesisState): unknown;
30
- create<I extends {
31
- params?: {
32
- issueFee?: {
33
- denom?: string;
34
- amount?: string;
35
- };
36
- tokenUpgradeDecisionTimeout?: Date;
37
- tokenUpgradeGracePeriod?: {
38
- seconds?: number;
39
- nanos?: number;
40
- };
41
- };
42
- tokens?: {
43
- denom?: string;
44
- issuer?: string;
45
- symbol?: string;
46
- subunit?: string;
47
- precision?: number;
48
- description?: string;
49
- globallyFrozen?: boolean;
50
- features?: import("./token").Feature[];
51
- burnRate?: string;
52
- sendCommissionRate?: string;
53
- version?: number;
54
- uri?: string;
55
- uriHash?: string;
56
- extensionCwAddress?: string;
57
- admin?: string;
58
- dexSettings?: {
59
- unifiedRefAmount?: string;
60
- whitelistedDenoms?: string[];
61
- };
62
- }[];
63
- frozenBalances?: {
64
- address?: string;
65
- coins?: {
66
- denom?: string;
67
- amount?: string;
68
- }[];
69
- }[];
70
- whitelistedBalances?: {
71
- address?: string;
72
- coins?: {
73
- denom?: string;
74
- amount?: string;
75
- }[];
76
- }[];
77
- } & {
78
- params?: {
79
- issueFee?: {
80
- denom?: string;
81
- amount?: string;
82
- };
83
- tokenUpgradeDecisionTimeout?: Date;
84
- tokenUpgradeGracePeriod?: {
85
- seconds?: number;
86
- nanos?: number;
87
- };
88
- } & {
89
- issueFee?: {
90
- denom?: string;
91
- amount?: string;
92
- } & {
93
- denom?: string;
94
- amount?: string;
95
- } & { [K in Exclude<keyof I["params"]["issueFee"], keyof Coin>]: never; };
96
- tokenUpgradeDecisionTimeout?: Date;
97
- tokenUpgradeGracePeriod?: {
98
- seconds?: number;
99
- nanos?: number;
100
- } & {
101
- seconds?: number;
102
- nanos?: number;
103
- } & { [K_1 in Exclude<keyof I["params"]["tokenUpgradeGracePeriod"], keyof import("../../../../google/protobuf/duration").Duration>]: never; };
104
- } & { [K_2 in Exclude<keyof I["params"], keyof Params>]: never; };
105
- tokens?: {
106
- denom?: string;
107
- issuer?: string;
108
- symbol?: string;
109
- subunit?: string;
110
- precision?: number;
111
- description?: string;
112
- globallyFrozen?: boolean;
113
- features?: import("./token").Feature[];
114
- burnRate?: string;
115
- sendCommissionRate?: string;
116
- version?: number;
117
- uri?: string;
118
- uriHash?: string;
119
- extensionCwAddress?: string;
120
- admin?: string;
121
- dexSettings?: {
122
- unifiedRefAmount?: string;
123
- whitelistedDenoms?: string[];
124
- };
125
- }[] & ({
126
- denom?: string;
127
- issuer?: string;
128
- symbol?: string;
129
- subunit?: string;
130
- precision?: number;
131
- description?: string;
132
- globallyFrozen?: boolean;
133
- features?: import("./token").Feature[];
134
- burnRate?: string;
135
- sendCommissionRate?: string;
136
- version?: number;
137
- uri?: string;
138
- uriHash?: string;
139
- extensionCwAddress?: string;
140
- admin?: string;
141
- dexSettings?: {
142
- unifiedRefAmount?: string;
143
- whitelistedDenoms?: string[];
144
- };
145
- } & {
146
- denom?: string;
147
- issuer?: string;
148
- symbol?: string;
149
- subunit?: string;
150
- precision?: number;
151
- description?: string;
152
- globallyFrozen?: boolean;
153
- features?: import("./token").Feature[] & import("./token").Feature[] & { [K_3 in Exclude<keyof I["tokens"][number]["features"], keyof import("./token").Feature[]>]: never; };
154
- burnRate?: string;
155
- sendCommissionRate?: string;
156
- version?: number;
157
- uri?: string;
158
- uriHash?: string;
159
- extensionCwAddress?: string;
160
- admin?: string;
161
- dexSettings?: {
162
- unifiedRefAmount?: string;
163
- whitelistedDenoms?: string[];
164
- } & {
165
- unifiedRefAmount?: string;
166
- whitelistedDenoms?: string[] & string[] & { [K_4 in Exclude<keyof I["tokens"][number]["dexSettings"]["whitelistedDenoms"], keyof string[]>]: never; };
167
- } & { [K_5 in Exclude<keyof I["tokens"][number]["dexSettings"], keyof import("./token").DEXSettings>]: never; };
168
- } & { [K_6 in Exclude<keyof I["tokens"][number], keyof Token>]: never; })[] & { [K_7 in Exclude<keyof I["tokens"], keyof {
169
- denom?: string;
170
- issuer?: string;
171
- symbol?: string;
172
- subunit?: string;
173
- precision?: number;
174
- description?: string;
175
- globallyFrozen?: boolean;
176
- features?: import("./token").Feature[];
177
- burnRate?: string;
178
- sendCommissionRate?: string;
179
- version?: number;
180
- uri?: string;
181
- uriHash?: string;
182
- extensionCwAddress?: string;
183
- admin?: string;
184
- dexSettings?: {
185
- unifiedRefAmount?: string;
186
- whitelistedDenoms?: string[];
187
- };
188
- }[]>]: never; };
189
- frozenBalances?: {
190
- address?: string;
191
- coins?: {
192
- denom?: string;
193
- amount?: string;
194
- }[];
195
- }[] & ({
196
- address?: string;
197
- coins?: {
198
- denom?: string;
199
- amount?: string;
200
- }[];
201
- } & {
202
- address?: string;
203
- coins?: {
204
- denom?: string;
205
- amount?: string;
206
- }[] & ({
207
- denom?: string;
208
- amount?: string;
209
- } & {
210
- denom?: string;
211
- amount?: string;
212
- } & { [K_8 in Exclude<keyof I["frozenBalances"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_9 in Exclude<keyof I["frozenBalances"][number]["coins"], keyof {
213
- denom?: string;
214
- amount?: string;
215
- }[]>]: never; };
216
- } & { [K_10 in Exclude<keyof I["frozenBalances"][number], keyof Balance>]: never; })[] & { [K_11 in Exclude<keyof I["frozenBalances"], keyof {
217
- address?: string;
218
- coins?: {
219
- denom?: string;
220
- amount?: string;
221
- }[];
222
- }[]>]: never; };
223
- whitelistedBalances?: {
224
- address?: string;
225
- coins?: {
226
- denom?: string;
227
- amount?: string;
228
- }[];
229
- }[] & ({
230
- address?: string;
231
- coins?: {
232
- denom?: string;
233
- amount?: string;
234
- }[];
235
- } & {
236
- address?: string;
237
- coins?: {
238
- denom?: string;
239
- amount?: string;
240
- }[] & ({
241
- denom?: string;
242
- amount?: string;
243
- } & {
244
- denom?: string;
245
- amount?: string;
246
- } & { [K_12 in Exclude<keyof I["whitelistedBalances"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_13 in Exclude<keyof I["whitelistedBalances"][number]["coins"], keyof {
247
- denom?: string;
248
- amount?: string;
249
- }[]>]: never; };
250
- } & { [K_14 in Exclude<keyof I["whitelistedBalances"][number], keyof Balance>]: never; })[] & { [K_15 in Exclude<keyof I["whitelistedBalances"], keyof {
251
- address?: string;
252
- coins?: {
253
- denom?: string;
254
- amount?: string;
255
- }[];
256
- }[]>]: never; };
257
- } & { [K_16 in Exclude<keyof I, keyof GenesisState>]: never; }>(base?: I): GenesisState;
258
- fromPartial<I_1 extends {
259
- params?: {
260
- issueFee?: {
261
- denom?: string;
262
- amount?: string;
263
- };
264
- tokenUpgradeDecisionTimeout?: Date;
265
- tokenUpgradeGracePeriod?: {
266
- seconds?: number;
267
- nanos?: number;
268
- };
269
- };
270
- tokens?: {
271
- denom?: string;
272
- issuer?: string;
273
- symbol?: string;
274
- subunit?: string;
275
- precision?: number;
276
- description?: string;
277
- globallyFrozen?: boolean;
278
- features?: import("./token").Feature[];
279
- burnRate?: string;
280
- sendCommissionRate?: string;
281
- version?: number;
282
- uri?: string;
283
- uriHash?: string;
284
- extensionCwAddress?: string;
285
- admin?: string;
286
- dexSettings?: {
287
- unifiedRefAmount?: string;
288
- whitelistedDenoms?: string[];
289
- };
290
- }[];
291
- frozenBalances?: {
292
- address?: string;
293
- coins?: {
294
- denom?: string;
295
- amount?: string;
296
- }[];
297
- }[];
298
- whitelistedBalances?: {
299
- address?: string;
300
- coins?: {
301
- denom?: string;
302
- amount?: string;
303
- }[];
304
- }[];
305
- } & {
306
- params?: {
307
- issueFee?: {
308
- denom?: string;
309
- amount?: string;
310
- };
311
- tokenUpgradeDecisionTimeout?: Date;
312
- tokenUpgradeGracePeriod?: {
313
- seconds?: number;
314
- nanos?: number;
315
- };
316
- } & {
317
- issueFee?: {
318
- denom?: string;
319
- amount?: string;
320
- } & {
321
- denom?: string;
322
- amount?: string;
323
- } & { [K_17 in Exclude<keyof I_1["params"]["issueFee"], keyof Coin>]: never; };
324
- tokenUpgradeDecisionTimeout?: Date;
325
- tokenUpgradeGracePeriod?: {
326
- seconds?: number;
327
- nanos?: number;
328
- } & {
329
- seconds?: number;
330
- nanos?: number;
331
- } & { [K_18 in Exclude<keyof I_1["params"]["tokenUpgradeGracePeriod"], keyof import("../../../../google/protobuf/duration").Duration>]: never; };
332
- } & { [K_19 in Exclude<keyof I_1["params"], keyof Params>]: never; };
333
- tokens?: {
334
- denom?: string;
335
- issuer?: string;
336
- symbol?: string;
337
- subunit?: string;
338
- precision?: number;
339
- description?: string;
340
- globallyFrozen?: boolean;
341
- features?: import("./token").Feature[];
342
- burnRate?: string;
343
- sendCommissionRate?: string;
344
- version?: number;
345
- uri?: string;
346
- uriHash?: string;
347
- extensionCwAddress?: string;
348
- admin?: string;
349
- dexSettings?: {
350
- unifiedRefAmount?: string;
351
- whitelistedDenoms?: string[];
352
- };
353
- }[] & ({
354
- denom?: string;
355
- issuer?: string;
356
- symbol?: string;
357
- subunit?: string;
358
- precision?: number;
359
- description?: string;
360
- globallyFrozen?: boolean;
361
- features?: import("./token").Feature[];
362
- burnRate?: string;
363
- sendCommissionRate?: string;
364
- version?: number;
365
- uri?: string;
366
- uriHash?: string;
367
- extensionCwAddress?: string;
368
- admin?: string;
369
- dexSettings?: {
370
- unifiedRefAmount?: string;
371
- whitelistedDenoms?: string[];
372
- };
373
- } & {
374
- denom?: string;
375
- issuer?: string;
376
- symbol?: string;
377
- subunit?: string;
378
- precision?: number;
379
- description?: string;
380
- globallyFrozen?: boolean;
381
- features?: import("./token").Feature[] & import("./token").Feature[] & { [K_20 in Exclude<keyof I_1["tokens"][number]["features"], keyof import("./token").Feature[]>]: never; };
382
- burnRate?: string;
383
- sendCommissionRate?: string;
384
- version?: number;
385
- uri?: string;
386
- uriHash?: string;
387
- extensionCwAddress?: string;
388
- admin?: string;
389
- dexSettings?: {
390
- unifiedRefAmount?: string;
391
- whitelistedDenoms?: string[];
392
- } & {
393
- unifiedRefAmount?: string;
394
- whitelistedDenoms?: string[] & string[] & { [K_21 in Exclude<keyof I_1["tokens"][number]["dexSettings"]["whitelistedDenoms"], keyof string[]>]: never; };
395
- } & { [K_22 in Exclude<keyof I_1["tokens"][number]["dexSettings"], keyof import("./token").DEXSettings>]: never; };
396
- } & { [K_23 in Exclude<keyof I_1["tokens"][number], keyof Token>]: never; })[] & { [K_24 in Exclude<keyof I_1["tokens"], keyof {
397
- denom?: string;
398
- issuer?: string;
399
- symbol?: string;
400
- subunit?: string;
401
- precision?: number;
402
- description?: string;
403
- globallyFrozen?: boolean;
404
- features?: import("./token").Feature[];
405
- burnRate?: string;
406
- sendCommissionRate?: string;
407
- version?: number;
408
- uri?: string;
409
- uriHash?: string;
410
- extensionCwAddress?: string;
411
- admin?: string;
412
- dexSettings?: {
413
- unifiedRefAmount?: string;
414
- whitelistedDenoms?: string[];
415
- };
416
- }[]>]: never; };
417
- frozenBalances?: {
418
- address?: string;
419
- coins?: {
420
- denom?: string;
421
- amount?: string;
422
- }[];
423
- }[] & ({
424
- address?: string;
425
- coins?: {
426
- denom?: string;
427
- amount?: string;
428
- }[];
429
- } & {
430
- address?: string;
431
- coins?: {
432
- denom?: string;
433
- amount?: string;
434
- }[] & ({
435
- denom?: string;
436
- amount?: string;
437
- } & {
438
- denom?: string;
439
- amount?: string;
440
- } & { [K_25 in Exclude<keyof I_1["frozenBalances"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_26 in Exclude<keyof I_1["frozenBalances"][number]["coins"], keyof {
441
- denom?: string;
442
- amount?: string;
443
- }[]>]: never; };
444
- } & { [K_27 in Exclude<keyof I_1["frozenBalances"][number], keyof Balance>]: never; })[] & { [K_28 in Exclude<keyof I_1["frozenBalances"], keyof {
445
- address?: string;
446
- coins?: {
447
- denom?: string;
448
- amount?: string;
449
- }[];
450
- }[]>]: never; };
451
- whitelistedBalances?: {
452
- address?: string;
453
- coins?: {
454
- denom?: string;
455
- amount?: string;
456
- }[];
457
- }[] & ({
458
- address?: string;
459
- coins?: {
460
- denom?: string;
461
- amount?: string;
462
- }[];
463
- } & {
464
- address?: string;
465
- coins?: {
466
- denom?: string;
467
- amount?: string;
468
- }[] & ({
469
- denom?: string;
470
- amount?: string;
471
- } & {
472
- denom?: string;
473
- amount?: string;
474
- } & { [K_29 in Exclude<keyof I_1["whitelistedBalances"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_30 in Exclude<keyof I_1["whitelistedBalances"][number]["coins"], keyof {
475
- denom?: string;
476
- amount?: string;
477
- }[]>]: never; };
478
- } & { [K_31 in Exclude<keyof I_1["whitelistedBalances"][number], keyof Balance>]: never; })[] & { [K_32 in Exclude<keyof I_1["whitelistedBalances"], keyof {
479
- address?: string;
480
- coins?: {
481
- denom?: string;
482
- amount?: string;
483
- }[];
484
- }[]>]: never; };
485
- } & { [K_33 in Exclude<keyof I_1, keyof GenesisState>]: never; }>(object: I_1): GenesisState;
486
- };
487
- export declare const Balance: {
488
- encode(message: Balance, writer?: _m0.Writer): _m0.Writer;
489
- decode(input: _m0.Reader | Uint8Array, length?: number): Balance;
490
- fromJSON(object: any): Balance;
491
- toJSON(message: Balance): unknown;
492
- create<I extends {
493
- address?: string;
494
- coins?: {
495
- denom?: string;
496
- amount?: string;
497
- }[];
498
- } & {
499
- address?: string;
500
- coins?: {
501
- denom?: string;
502
- amount?: string;
503
- }[] & ({
504
- denom?: string;
505
- amount?: string;
506
- } & {
507
- denom?: string;
508
- amount?: string;
509
- } & { [K in Exclude<keyof I["coins"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["coins"], keyof {
510
- denom?: string;
511
- amount?: string;
512
- }[]>]: never; };
513
- } & { [K_2 in Exclude<keyof I, keyof Balance>]: never; }>(base?: I): Balance;
514
- fromPartial<I_1 extends {
515
- address?: string;
516
- coins?: {
517
- denom?: string;
518
- amount?: string;
519
- }[];
520
- } & {
521
- address?: string;
522
- coins?: {
523
- denom?: string;
524
- amount?: string;
525
- }[] & ({
526
- denom?: string;
527
- amount?: string;
528
- } & {
529
- denom?: string;
530
- amount?: string;
531
- } & { [K_3 in Exclude<keyof I_1["coins"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["coins"], keyof {
532
- denom?: string;
533
- amount?: string;
534
- }[]>]: never; };
535
- } & { [K_5 in Exclude<keyof I_1, keyof Balance>]: never; }>(object: I_1): Balance;
536
- };
30
+ /** PendingTokenUpgrade stores the version of pending token upgrade. */
31
+ export interface PendingTokenUpgrade {
32
+ denom: string;
33
+ version: number;
34
+ }
35
+ export interface DEXSettingsWithDenom {
36
+ denom: string;
37
+ dexSettings: DEXSettings | undefined;
38
+ }
39
+ export declare const GenesisState: MessageFns<GenesisState>;
40
+ export declare const Balance: MessageFns<Balance>;
41
+ export declare const PendingTokenUpgrade: MessageFns<PendingTokenUpgrade>;
42
+ export declare const DEXSettingsWithDenom: MessageFns<DEXSettingsWithDenom>;
537
43
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
538
- export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
44
+ 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 {} ? {
539
45
  [K in keyof T]?: DeepPartial<T[K]>;
540
46
  } : Partial<T>;
541
47
  type KeysOfUnion<T> = T extends T ? keyof T : never;
@@ -544,4 +50,12 @@ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
544
50
  } & {
545
51
  [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
546
52
  };
53
+ export interface MessageFns<T> {
54
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
55
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
56
+ fromJSON(object: any): T;
57
+ toJSON(message: T): unknown;
58
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
59
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
60
+ }
547
61
  export {};