coreum-js 2.16.2 → 2.16.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/main/client/index.js +1 -1
  2. package/dist/main/coreum/asset/ft/v1/event.d.ts +6 -98
  3. package/dist/main/coreum/asset/ft/v1/genesis.d.ts +4 -500
  4. package/dist/main/coreum/asset/ft/v1/params.d.ts +2 -54
  5. package/dist/main/coreum/asset/ft/v1/query.d.ts +28 -1852
  6. package/dist/main/coreum/asset/ft/v1/token.d.ts +12 -210
  7. package/dist/main/coreum/asset/ft/v1/token.js +3 -3
  8. package/dist/main/coreum/asset/ft/v1/tx.d.ts +36 -644
  9. package/dist/main/coreum/asset/nft/v1/event.d.ts +10 -114
  10. package/dist/main/coreum/asset/nft/v1/genesis.d.ts +8 -258
  11. package/dist/main/coreum/asset/nft/v1/nft.d.ts +4 -86
  12. package/dist/main/coreum/asset/nft/v1/nft.js +3 -3
  13. package/dist/main/coreum/asset/nft/v1/params.d.ts +2 -28
  14. package/dist/main/coreum/asset/nft/v1/query.d.ts +20 -638
  15. package/dist/main/coreum/asset/nft/v1/tx.d.ts +16 -212
  16. package/dist/main/coreum/asset/nft/v1/types.d.ts +2 -10
  17. package/dist/main/coreum/customparams/v1/genesis.d.ts +2 -22
  18. package/dist/main/coreum/customparams/v1/params.d.ts +2 -10
  19. package/dist/main/coreum/customparams/v1/query.d.ts +4 -24
  20. package/dist/main/coreum/extensions/ft.js +1 -2
  21. package/dist/main/coreum/extensions/nft.js +1 -2
  22. package/dist/main/coreum/extensions/nftbeta.js +1 -2
  23. package/dist/main/coreum/feemodel/v1/genesis.d.ts +2 -222
  24. package/dist/main/coreum/feemodel/v1/params.d.ts +4 -320
  25. package/dist/main/coreum/feemodel/v1/query.d.ts +8 -232
  26. package/dist/main/coreum/nft/v1beta1/event.d.ts +6 -58
  27. package/dist/main/coreum/nft/v1beta1/genesis.d.ts +4 -420
  28. package/dist/main/coreum/nft/v1beta1/nft.d.ts +4 -96
  29. package/dist/main/coreum/nft/v1beta1/query.d.ts +28 -1532
  30. package/dist/main/coreum/nft/v1beta1/tx.d.ts +4 -24
  31. package/dist/main/cosmos/extensions/bank.js +1 -2
  32. package/dist/main/cosmos/extensions/distribution.js +1 -2
  33. package/dist/main/cosmos/extensions/gov.js +1 -2
  34. package/dist/main/google/api/http.d.ts +6 -2636
  35. package/dist/main/google/protobuf/any.d.ts +2 -14
  36. package/dist/main/google/protobuf/any.js +3 -3
  37. package/dist/main/google/protobuf/duration.d.ts +2 -14
  38. package/dist/main/google/protobuf/timestamp.d.ts +2 -14
  39. package/dist/main/index.js +17 -7
  40. package/dist/main/tendermint/abci/types.d.ts +92 -6360
  41. package/dist/main/tendermint/abci/types.js +12 -12
  42. package/dist/main/tendermint/crypto/keys.d.ts +2 -14
  43. package/dist/main/tendermint/crypto/proof.d.ts +10 -152
  44. package/dist/main/tendermint/types/params.d.ts +12 -196
  45. package/dist/main/tendermint/types/types.d.ts +26 -1744
  46. package/dist/main/tendermint/types/types.js +5 -5
  47. package/dist/main/tendermint/types/validator.d.ts +6 -230
  48. package/dist/main/tendermint/version/types.d.ts +4 -28
  49. package/dist/main/utils/convertStringToAny.d.ts +1 -0
  50. package/dist/main/utils/nft.js +1 -2
  51. package/dist/main/wasm/v1/authz.d.ts +18 -414
  52. package/dist/main/wasm/v1/extensions/wasm.js +1 -2
  53. package/dist/main/wasm/v1/genesis.d.ts +8 -994
  54. package/dist/main/wasm/v1/ibc.d.ts +6 -42
  55. package/dist/main/wasm/v1/pagination.d.ts +4 -40
  56. package/dist/main/wasm/v1/proposal.d.ts +26 -640
  57. package/dist/main/wasm/v1/query.d.ts +46 -1060
  58. package/dist/main/wasm/v1/tx.d.ts +52 -630
  59. package/dist/main/wasm/v1/types.d.ts +16 -246
  60. package/dist/main/wasm/v1/types.js +5 -5
  61. package/dist/module/client/index.js +2 -2
  62. package/dist/module/coreum/asset/ft/v1/event.d.ts +6 -98
  63. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +4 -500
  64. package/dist/module/coreum/asset/ft/v1/params.d.ts +2 -54
  65. package/dist/module/coreum/asset/ft/v1/query.d.ts +28 -1852
  66. package/dist/module/coreum/asset/ft/v1/token.d.ts +12 -210
  67. package/dist/module/coreum/asset/ft/v1/tx.d.ts +36 -644
  68. package/dist/module/coreum/asset/nft/v1/event.d.ts +10 -114
  69. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +8 -258
  70. package/dist/module/coreum/asset/nft/v1/nft.d.ts +4 -86
  71. package/dist/module/coreum/asset/nft/v1/params.d.ts +2 -28
  72. package/dist/module/coreum/asset/nft/v1/query.d.ts +20 -638
  73. package/dist/module/coreum/asset/nft/v1/tx.d.ts +16 -212
  74. package/dist/module/coreum/asset/nft/v1/types.d.ts +2 -10
  75. package/dist/module/coreum/customparams/v1/genesis.d.ts +2 -22
  76. package/dist/module/coreum/customparams/v1/params.d.ts +2 -10
  77. package/dist/module/coreum/customparams/v1/query.d.ts +4 -24
  78. package/dist/module/coreum/feemodel/v1/genesis.d.ts +2 -222
  79. package/dist/module/coreum/feemodel/v1/params.d.ts +4 -320
  80. package/dist/module/coreum/feemodel/v1/query.d.ts +8 -232
  81. package/dist/module/coreum/nft/v1beta1/event.d.ts +6 -58
  82. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +4 -420
  83. package/dist/module/coreum/nft/v1beta1/nft.d.ts +4 -96
  84. package/dist/module/coreum/nft/v1beta1/query.d.ts +28 -1532
  85. package/dist/module/coreum/nft/v1beta1/tx.d.ts +4 -24
  86. package/dist/module/google/api/http.d.ts +6 -2636
  87. package/dist/module/google/protobuf/any.d.ts +2 -14
  88. package/dist/module/google/protobuf/duration.d.ts +2 -14
  89. package/dist/module/google/protobuf/timestamp.d.ts +2 -14
  90. package/dist/module/tendermint/abci/types.d.ts +92 -6360
  91. package/dist/module/tendermint/crypto/keys.d.ts +2 -14
  92. package/dist/module/tendermint/crypto/proof.d.ts +10 -152
  93. package/dist/module/tendermint/types/params.d.ts +12 -196
  94. package/dist/module/tendermint/types/types.d.ts +26 -1744
  95. package/dist/module/tendermint/types/validator.d.ts +6 -230
  96. package/dist/module/tendermint/version/types.d.ts +4 -28
  97. package/dist/module/utils/convertStringToAny.d.ts +1 -0
  98. package/dist/module/wasm/v1/authz.d.ts +18 -414
  99. package/dist/module/wasm/v1/genesis.d.ts +8 -994
  100. package/dist/module/wasm/v1/ibc.d.ts +6 -42
  101. package/dist/module/wasm/v1/pagination.d.ts +4 -40
  102. package/dist/module/wasm/v1/proposal.d.ts +26 -640
  103. package/dist/module/wasm/v1/query.d.ts +46 -1060
  104. package/dist/module/wasm/v1/tx.d.ts +52 -630
  105. package/dist/module/wasm/v1/types.d.ts +16 -246
  106. package/package.json +1 -1
@@ -360,7 +360,7 @@ class Client {
360
360
  throw new Error("Signing Client is not initialized");
361
361
  }
362
362
  async _initTendermintClient(rpcEndpoint) {
363
- this._tmClient = await tendermint_rpc_1.Tendermint34Client.connect(rpcEndpoint);
363
+ this._tmClient = await tendermint_rpc_1.Tendermint37Client.connect(rpcEndpoint);
364
364
  }
365
365
  _initQueryClient() {
366
366
  this._queryClient = stargate_1.QueryClient.withExtensions(this._tmClient, ft_1.setupFTExtension, nft_1.setupNFTExtension, nftbeta_1.setupNFTBetaExtension, stargate_1.setupStakingExtension, extensions_1.setupBankExtension, extensions_1.setupDistributionExtension, stargate_1.setupTxExtension, stargate_1.setupAuthExtension, stargate_1.setupMintExtension, stargate_1.setupFeegrantExtension, extensions_1.setupGovExtension, stargate_1.setupIbcExtension, cosmwasm_stargate_1.setupWasmExtension);
@@ -34,116 +34,24 @@ export declare const EventIssued: {
34
34
  decode(input: _m0.Reader | Uint8Array, length?: number): EventIssued;
35
35
  fromJSON(object: any): EventIssued;
36
36
  toJSON(message: EventIssued): unknown;
37
- create<I extends {
38
- denom?: string;
39
- issuer?: string;
40
- symbol?: string;
41
- subunit?: string;
42
- precision?: number;
43
- initialAmount?: string;
44
- description?: string;
45
- features?: Feature[];
46
- burnRate?: string;
47
- sendCommissionRate?: string;
48
- uri?: string;
49
- uriHash?: string;
50
- } & {
51
- denom?: string;
52
- issuer?: string;
53
- symbol?: string;
54
- subunit?: string;
55
- precision?: number;
56
- initialAmount?: string;
57
- description?: string;
58
- features?: Feature[] & Feature[] & { [K in Exclude<keyof I["features"], keyof Feature[]>]: never; };
59
- burnRate?: string;
60
- sendCommissionRate?: string;
61
- uri?: string;
62
- uriHash?: string;
63
- } & { [K_1 in Exclude<keyof I, keyof EventIssued>]: never; }>(base?: I): EventIssued;
64
- fromPartial<I_1 extends {
65
- denom?: string;
66
- issuer?: string;
67
- symbol?: string;
68
- subunit?: string;
69
- precision?: number;
70
- initialAmount?: string;
71
- description?: string;
72
- features?: Feature[];
73
- burnRate?: string;
74
- sendCommissionRate?: string;
75
- uri?: string;
76
- uriHash?: string;
77
- } & {
78
- denom?: string;
79
- issuer?: string;
80
- symbol?: string;
81
- subunit?: string;
82
- precision?: number;
83
- initialAmount?: string;
84
- description?: string;
85
- features?: Feature[] & Feature[] & { [K_2 in Exclude<keyof I_1["features"], keyof Feature[]>]: never; };
86
- burnRate?: string;
87
- sendCommissionRate?: string;
88
- uri?: string;
89
- uriHash?: string;
90
- } & { [K_3 in Exclude<keyof I_1, keyof EventIssued>]: never; }>(object: I_1): EventIssued;
37
+ create<I extends Exact<DeepPartial<EventIssued>, I>>(base?: I): EventIssued;
38
+ fromPartial<I extends Exact<DeepPartial<EventIssued>, I>>(object: I): EventIssued;
91
39
  };
92
40
  export declare const EventFrozenAmountChanged: {
93
41
  encode(message: EventFrozenAmountChanged, writer?: _m0.Writer): _m0.Writer;
94
42
  decode(input: _m0.Reader | Uint8Array, length?: number): EventFrozenAmountChanged;
95
43
  fromJSON(object: any): EventFrozenAmountChanged;
96
44
  toJSON(message: EventFrozenAmountChanged): unknown;
97
- create<I extends {
98
- account?: string;
99
- denom?: string;
100
- previousAmount?: string;
101
- currentAmount?: string;
102
- } & {
103
- account?: string;
104
- denom?: string;
105
- previousAmount?: string;
106
- currentAmount?: string;
107
- } & { [K in Exclude<keyof I, keyof EventFrozenAmountChanged>]: never; }>(base?: I): EventFrozenAmountChanged;
108
- fromPartial<I_1 extends {
109
- account?: string;
110
- denom?: string;
111
- previousAmount?: string;
112
- currentAmount?: string;
113
- } & {
114
- account?: string;
115
- denom?: string;
116
- previousAmount?: string;
117
- currentAmount?: string;
118
- } & { [K_1 in Exclude<keyof I_1, keyof EventFrozenAmountChanged>]: never; }>(object: I_1): EventFrozenAmountChanged;
45
+ create<I extends Exact<DeepPartial<EventFrozenAmountChanged>, I>>(base?: I): EventFrozenAmountChanged;
46
+ fromPartial<I extends Exact<DeepPartial<EventFrozenAmountChanged>, I>>(object: I): EventFrozenAmountChanged;
119
47
  };
120
48
  export declare const EventWhitelistedAmountChanged: {
121
49
  encode(message: EventWhitelistedAmountChanged, writer?: _m0.Writer): _m0.Writer;
122
50
  decode(input: _m0.Reader | Uint8Array, length?: number): EventWhitelistedAmountChanged;
123
51
  fromJSON(object: any): EventWhitelistedAmountChanged;
124
52
  toJSON(message: EventWhitelistedAmountChanged): unknown;
125
- create<I extends {
126
- account?: string;
127
- denom?: string;
128
- previousAmount?: string;
129
- currentAmount?: string;
130
- } & {
131
- account?: string;
132
- denom?: string;
133
- previousAmount?: string;
134
- currentAmount?: string;
135
- } & { [K in Exclude<keyof I, keyof EventWhitelistedAmountChanged>]: never; }>(base?: I): EventWhitelistedAmountChanged;
136
- fromPartial<I_1 extends {
137
- account?: string;
138
- denom?: string;
139
- previousAmount?: string;
140
- currentAmount?: string;
141
- } & {
142
- account?: string;
143
- denom?: string;
144
- previousAmount?: string;
145
- currentAmount?: string;
146
- } & { [K_1 in Exclude<keyof I_1, keyof EventWhitelistedAmountChanged>]: never; }>(object: I_1): EventWhitelistedAmountChanged;
53
+ create<I extends Exact<DeepPartial<EventWhitelistedAmountChanged>, I>>(base?: I): EventWhitelistedAmountChanged;
54
+ fromPartial<I extends Exact<DeepPartial<EventWhitelistedAmountChanged>, I>>(object: I): EventWhitelistedAmountChanged;
147
55
  };
148
56
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
149
57
  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 {} ? {
@@ -27,512 +27,16 @@ export declare const GenesisState: {
27
27
  decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
28
28
  fromJSON(object: any): GenesisState;
29
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;
30
+ create<I extends Exact<DeepPartial<GenesisState>, I>>(base?: I): GenesisState;
31
+ fromPartial<I extends Exact<DeepPartial<GenesisState>, I>>(object: I): GenesisState;
486
32
  };
487
33
  export declare const Balance: {
488
34
  encode(message: Balance, writer?: _m0.Writer): _m0.Writer;
489
35
  decode(input: _m0.Reader | Uint8Array, length?: number): Balance;
490
36
  fromJSON(object: any): Balance;
491
37
  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;
38
+ create<I extends Exact<DeepPartial<Balance>, I>>(base?: I): Balance;
39
+ fromPartial<I extends Exact<DeepPartial<Balance>, I>>(object: I): Balance;
536
40
  };
537
41
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
538
42
  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 {} ? {