@dedot/chaintypes 0.99.0 → 0.100.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.
- package/README.md +3 -0
- package/basilisk/consts.d.ts +1183 -0
- package/basilisk/errors.d.ts +2631 -0
- package/basilisk/events.d.ts +3297 -0
- package/basilisk/index.d.ts +31 -0
- package/basilisk/json-rpc.d.ts +92 -0
- package/basilisk/query.d.ts +2380 -0
- package/basilisk/runtime.d.ts +272 -0
- package/basilisk/tx.d.ts +9095 -0
- package/basilisk/types.d.ts +13749 -0
- package/hydration/consts.d.ts +1854 -0
- package/hydration/errors.d.ts +3914 -0
- package/hydration/events.d.ts +4364 -0
- package/hydration/index.d.ts +31 -0
- package/hydration/json-rpc.d.ts +141 -0
- package/hydration/query.d.ts +3243 -0
- package/hydration/runtime.d.ts +940 -0
- package/hydration/tx.d.ts +12766 -0
- package/hydration/types.d.ts +18995 -0
- package/index.d.ts +11 -4
- package/package.json +18 -3
- package/paseo-hydration/consts.d.ts +1854 -0
- package/paseo-hydration/errors.d.ts +3919 -0
- package/paseo-hydration/events.d.ts +4367 -0
- package/paseo-hydration/index.d.ts +31 -0
- package/paseo-hydration/json-rpc.d.ts +138 -0
- package/paseo-hydration/query.d.ts +3256 -0
- package/paseo-hydration/runtime.d.ts +968 -0
- package/paseo-hydration/tx.d.ts +12848 -0
- package/paseo-hydration/types.d.ts +19032 -0
|
@@ -0,0 +1,1183 @@
|
|
|
1
|
+
// Generated by dedot cli
|
|
2
|
+
|
|
3
|
+
import type { GenericChainConsts, RpcVersion } from 'dedot/types';
|
|
4
|
+
import type { RuntimeVersion, Permill, FixedBytes, AccountId32 } from 'dedot/codecs';
|
|
5
|
+
import type {
|
|
6
|
+
FrameSystemLimitsBlockWeights,
|
|
7
|
+
FrameSystemLimitsBlockLength,
|
|
8
|
+
SpWeightsRuntimeDbWeight,
|
|
9
|
+
FrameSupportPalletId,
|
|
10
|
+
SpWeightsWeightV2Weight,
|
|
11
|
+
PalletReferendaTrackInfo,
|
|
12
|
+
PolkadotParachainPrimitivesPrimitivesId,
|
|
13
|
+
HydradxTraitsOracleOraclePeriod,
|
|
14
|
+
StagingXcmV4Location,
|
|
15
|
+
} from './types.js';
|
|
16
|
+
|
|
17
|
+
export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
|
|
18
|
+
/**
|
|
19
|
+
* Pallet `System`'s constants
|
|
20
|
+
**/
|
|
21
|
+
system: {
|
|
22
|
+
/**
|
|
23
|
+
* Block & extrinsics weights: base values and limits.
|
|
24
|
+
**/
|
|
25
|
+
blockWeights: FrameSystemLimitsBlockWeights;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* The maximum length of a block (in bytes).
|
|
29
|
+
**/
|
|
30
|
+
blockLength: FrameSystemLimitsBlockLength;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Maximum number of block number to block hash mappings to keep (oldest pruned first).
|
|
34
|
+
**/
|
|
35
|
+
blockHashCount: number;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* The weight of runtime database operations the runtime can invoke.
|
|
39
|
+
**/
|
|
40
|
+
dbWeight: SpWeightsRuntimeDbWeight;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Get the chain's in-code version.
|
|
44
|
+
**/
|
|
45
|
+
version: RuntimeVersion;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* The designated SS58 prefix of this chain.
|
|
49
|
+
*
|
|
50
|
+
* This replaces the "ss58Format" property declared in the chain spec. Reason is
|
|
51
|
+
* that the runtime should know about the prefix in order to make use of it as
|
|
52
|
+
* an identifier of the chain.
|
|
53
|
+
**/
|
|
54
|
+
ss58Prefix: number;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Generic pallet constant
|
|
58
|
+
**/
|
|
59
|
+
[name: string]: any;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Pallet `Timestamp`'s constants
|
|
63
|
+
**/
|
|
64
|
+
timestamp: {
|
|
65
|
+
/**
|
|
66
|
+
* The minimum period between blocks.
|
|
67
|
+
*
|
|
68
|
+
* Be aware that this is different to the *expected* period that the block production
|
|
69
|
+
* apparatus provides. Your chosen consensus system will generally work with this to
|
|
70
|
+
* determine a sensible block time. For example, in the Aura pallet it will be double this
|
|
71
|
+
* period on default settings.
|
|
72
|
+
**/
|
|
73
|
+
minimumPeriod: bigint;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Generic pallet constant
|
|
77
|
+
**/
|
|
78
|
+
[name: string]: any;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Pallet `Balances`'s constants
|
|
82
|
+
**/
|
|
83
|
+
balances: {
|
|
84
|
+
/**
|
|
85
|
+
* The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
|
|
86
|
+
*
|
|
87
|
+
* If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
|
|
88
|
+
* this pallet. However, you do so at your own risk: this will open up a major DoS vector.
|
|
89
|
+
* In case you have multiple sources of provider references, you may also get unexpected
|
|
90
|
+
* behaviour if you set this to zero.
|
|
91
|
+
*
|
|
92
|
+
* Bottom line: Do yourself a favour and make it at least one!
|
|
93
|
+
**/
|
|
94
|
+
existentialDeposit: bigint;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The maximum number of locks that should exist on an account.
|
|
98
|
+
* Not strictly enforced, but used for weight estimation.
|
|
99
|
+
*
|
|
100
|
+
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
101
|
+
**/
|
|
102
|
+
maxLocks: number;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* The maximum number of named reserves that can exist on an account.
|
|
106
|
+
*
|
|
107
|
+
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
108
|
+
**/
|
|
109
|
+
maxReserves: number;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* The maximum number of individual freeze locks that can exist on an account at any time.
|
|
113
|
+
**/
|
|
114
|
+
maxFreezes: number;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Generic pallet constant
|
|
118
|
+
**/
|
|
119
|
+
[name: string]: any;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* Pallet `TransactionPayment`'s constants
|
|
123
|
+
**/
|
|
124
|
+
transactionPayment: {
|
|
125
|
+
/**
|
|
126
|
+
* A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
|
|
127
|
+
* `priority`
|
|
128
|
+
*
|
|
129
|
+
* This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
|
|
130
|
+
* added to a tip component in regular `priority` calculations.
|
|
131
|
+
* It means that a `Normal` transaction can front-run a similarly-sized `Operational`
|
|
132
|
+
* extrinsic (with no tip), by including a tip value greater than the virtual tip.
|
|
133
|
+
*
|
|
134
|
+
* ```rust,ignore
|
|
135
|
+
* // For `Normal`
|
|
136
|
+
* let priority = priority_calc(tip);
|
|
137
|
+
*
|
|
138
|
+
* // For `Operational`
|
|
139
|
+
* let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
|
|
140
|
+
* let priority = priority_calc(tip + virtual_tip);
|
|
141
|
+
* ```
|
|
142
|
+
*
|
|
143
|
+
* Note that since we use `final_fee` the multiplier applies also to the regular `tip`
|
|
144
|
+
* sent with the transaction. So, not only does the transaction get a priority bump based
|
|
145
|
+
* on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
|
|
146
|
+
* transactions.
|
|
147
|
+
**/
|
|
148
|
+
operationalFeeMultiplier: number;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Generic pallet constant
|
|
152
|
+
**/
|
|
153
|
+
[name: string]: any;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Pallet `MultiTransactionPayment`'s constants
|
|
157
|
+
**/
|
|
158
|
+
multiTransactionPayment: {
|
|
159
|
+
/**
|
|
160
|
+
* Native Asset
|
|
161
|
+
**/
|
|
162
|
+
nativeAssetId: number;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Polkadot Native Asset (DOT)
|
|
166
|
+
**/
|
|
167
|
+
polkadotNativeAssetId: number;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* EVM Asset
|
|
171
|
+
**/
|
|
172
|
+
evmAssetId: number;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Generic pallet constant
|
|
176
|
+
**/
|
|
177
|
+
[name: string]: any;
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* Pallet `Treasury`'s constants
|
|
181
|
+
**/
|
|
182
|
+
treasury: {
|
|
183
|
+
/**
|
|
184
|
+
* Period between successive spends.
|
|
185
|
+
**/
|
|
186
|
+
spendPeriod: number;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Percentage of spare funds (if any) that are burnt per spend period.
|
|
190
|
+
**/
|
|
191
|
+
burn: Permill;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* The treasury's pallet id, used for deriving its sovereign account ID.
|
|
195
|
+
**/
|
|
196
|
+
palletId: FrameSupportPalletId;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* The maximum number of approvals that can wait in the spending queue.
|
|
200
|
+
*
|
|
201
|
+
* NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
|
|
202
|
+
**/
|
|
203
|
+
maxApprovals: number;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* The period during which an approved treasury spend has to be claimed.
|
|
207
|
+
**/
|
|
208
|
+
payoutPeriod: number;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Generic pallet constant
|
|
212
|
+
**/
|
|
213
|
+
[name: string]: any;
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* Pallet `Utility`'s constants
|
|
217
|
+
**/
|
|
218
|
+
utility: {
|
|
219
|
+
/**
|
|
220
|
+
* The limit on the number of batched calls.
|
|
221
|
+
**/
|
|
222
|
+
batchedCallsLimit: number;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Generic pallet constant
|
|
226
|
+
**/
|
|
227
|
+
[name: string]: any;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Pallet `Democracy`'s constants
|
|
231
|
+
**/
|
|
232
|
+
democracy: {
|
|
233
|
+
/**
|
|
234
|
+
* The period between a proposal being approved and enacted.
|
|
235
|
+
*
|
|
236
|
+
* It should generally be a little more than the unstake period to ensure that
|
|
237
|
+
* voting stakers have an opportunity to remove themselves from the system in the case
|
|
238
|
+
* where they are on the losing side of a vote.
|
|
239
|
+
**/
|
|
240
|
+
enactmentPeriod: number;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* How often (in blocks) new public referenda are launched.
|
|
244
|
+
**/
|
|
245
|
+
launchPeriod: number;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* How often (in blocks) to check for new votes.
|
|
249
|
+
**/
|
|
250
|
+
votingPeriod: number;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* The minimum period of vote locking.
|
|
254
|
+
*
|
|
255
|
+
* It should be no shorter than enactment period to ensure that in the case of an approval,
|
|
256
|
+
* those successful voters are locked into the consequences that their votes entail.
|
|
257
|
+
**/
|
|
258
|
+
voteLockingPeriod: number;
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* The minimum amount to be used as a deposit for a public referendum proposal.
|
|
262
|
+
**/
|
|
263
|
+
minimumDeposit: bigint;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Indicator for whether an emergency origin is even allowed to happen. Some chains may
|
|
267
|
+
* want to set this permanently to `false`, others may want to condition it on things such
|
|
268
|
+
* as an upgrade having happened recently.
|
|
269
|
+
**/
|
|
270
|
+
instantAllowed: boolean;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Minimum voting period allowed for a fast-track referendum.
|
|
274
|
+
**/
|
|
275
|
+
fastTrackVotingPeriod: number;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Period in blocks where an external proposal may not be re-submitted after being vetoed.
|
|
279
|
+
**/
|
|
280
|
+
cooloffPeriod: number;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* The maximum number of votes for an account.
|
|
284
|
+
*
|
|
285
|
+
* Also used to compute weight, an overly big value can
|
|
286
|
+
* lead to extrinsic with very big weight: see `delegate` for instance.
|
|
287
|
+
**/
|
|
288
|
+
maxVotes: number;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* The maximum number of public proposals that can exist at any time.
|
|
292
|
+
**/
|
|
293
|
+
maxProposals: number;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* The maximum number of deposits a public proposal may have at any time.
|
|
297
|
+
**/
|
|
298
|
+
maxDeposits: number;
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* The maximum number of items which can be blacklisted.
|
|
302
|
+
**/
|
|
303
|
+
maxBlacklisted: number;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Generic pallet constant
|
|
307
|
+
**/
|
|
308
|
+
[name: string]: any;
|
|
309
|
+
};
|
|
310
|
+
/**
|
|
311
|
+
* Pallet `TechnicalCommittee`'s constants
|
|
312
|
+
**/
|
|
313
|
+
technicalCommittee: {
|
|
314
|
+
/**
|
|
315
|
+
* The maximum weight of a dispatch call that can be proposed and executed.
|
|
316
|
+
**/
|
|
317
|
+
maxProposalWeight: SpWeightsWeightV2Weight;
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Generic pallet constant
|
|
321
|
+
**/
|
|
322
|
+
[name: string]: any;
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* Pallet `Vesting`'s constants
|
|
326
|
+
**/
|
|
327
|
+
vesting: {
|
|
328
|
+
/**
|
|
329
|
+
* The minimum amount transferred to call `vested_transfer`.
|
|
330
|
+
**/
|
|
331
|
+
minVestedTransfer: bigint;
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Generic pallet constant
|
|
335
|
+
**/
|
|
336
|
+
[name: string]: any;
|
|
337
|
+
};
|
|
338
|
+
/**
|
|
339
|
+
* Pallet `Proxy`'s constants
|
|
340
|
+
**/
|
|
341
|
+
proxy: {
|
|
342
|
+
/**
|
|
343
|
+
* The base amount of currency needed to reserve for creating a proxy.
|
|
344
|
+
*
|
|
345
|
+
* This is held for an additional storage item whose value size is
|
|
346
|
+
* `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
|
|
347
|
+
**/
|
|
348
|
+
proxyDepositBase: bigint;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* The amount of currency needed per proxy added.
|
|
352
|
+
*
|
|
353
|
+
* This is held for adding 32 bytes plus an instance of `ProxyType` more into a
|
|
354
|
+
* pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
|
|
355
|
+
* into account `32 + proxy_type.encode().len()` bytes of data.
|
|
356
|
+
**/
|
|
357
|
+
proxyDepositFactor: bigint;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* The maximum amount of proxies allowed for a single account.
|
|
361
|
+
**/
|
|
362
|
+
maxProxies: number;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* The maximum amount of time-delayed announcements that are allowed to be pending.
|
|
366
|
+
**/
|
|
367
|
+
maxPending: number;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* The base amount of currency needed to reserve for creating an announcement.
|
|
371
|
+
*
|
|
372
|
+
* This is held when a new storage item holding a `Balance` is created (typically 16
|
|
373
|
+
* bytes).
|
|
374
|
+
**/
|
|
375
|
+
announcementDepositBase: bigint;
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* The amount of currency needed per announcement made.
|
|
379
|
+
*
|
|
380
|
+
* This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
|
|
381
|
+
* into a pre-existing storage value.
|
|
382
|
+
**/
|
|
383
|
+
announcementDepositFactor: bigint;
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Generic pallet constant
|
|
387
|
+
**/
|
|
388
|
+
[name: string]: any;
|
|
389
|
+
};
|
|
390
|
+
/**
|
|
391
|
+
* Pallet `Authorship`'s constants
|
|
392
|
+
**/
|
|
393
|
+
authorship: {
|
|
394
|
+
/**
|
|
395
|
+
* Generic pallet constant
|
|
396
|
+
**/
|
|
397
|
+
[name: string]: any;
|
|
398
|
+
};
|
|
399
|
+
/**
|
|
400
|
+
* Pallet `CollatorSelection`'s constants
|
|
401
|
+
**/
|
|
402
|
+
collatorSelection: {
|
|
403
|
+
/**
|
|
404
|
+
* Generic pallet constant
|
|
405
|
+
**/
|
|
406
|
+
[name: string]: any;
|
|
407
|
+
};
|
|
408
|
+
/**
|
|
409
|
+
* Pallet `Session`'s constants
|
|
410
|
+
**/
|
|
411
|
+
session: {
|
|
412
|
+
/**
|
|
413
|
+
* Generic pallet constant
|
|
414
|
+
**/
|
|
415
|
+
[name: string]: any;
|
|
416
|
+
};
|
|
417
|
+
/**
|
|
418
|
+
* Pallet `Aura`'s constants
|
|
419
|
+
**/
|
|
420
|
+
aura: {
|
|
421
|
+
/**
|
|
422
|
+
* The slot duration Aura should run with, expressed in milliseconds.
|
|
423
|
+
* The effective value of this type should not change while the chain is running.
|
|
424
|
+
*
|
|
425
|
+
* For backwards compatibility either use [`MinimumPeriodTimesTwo`] or a const.
|
|
426
|
+
**/
|
|
427
|
+
slotDuration: bigint;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Generic pallet constant
|
|
431
|
+
**/
|
|
432
|
+
[name: string]: any;
|
|
433
|
+
};
|
|
434
|
+
/**
|
|
435
|
+
* Pallet `AuraExt`'s constants
|
|
436
|
+
**/
|
|
437
|
+
auraExt: {
|
|
438
|
+
/**
|
|
439
|
+
* Generic pallet constant
|
|
440
|
+
**/
|
|
441
|
+
[name: string]: any;
|
|
442
|
+
};
|
|
443
|
+
/**
|
|
444
|
+
* Pallet `Preimage`'s constants
|
|
445
|
+
**/
|
|
446
|
+
preimage: {
|
|
447
|
+
/**
|
|
448
|
+
* Generic pallet constant
|
|
449
|
+
**/
|
|
450
|
+
[name: string]: any;
|
|
451
|
+
};
|
|
452
|
+
/**
|
|
453
|
+
* Pallet `Uniques`'s constants
|
|
454
|
+
**/
|
|
455
|
+
uniques: {
|
|
456
|
+
/**
|
|
457
|
+
* The basic amount of funds that must be reserved for collection.
|
|
458
|
+
**/
|
|
459
|
+
collectionDeposit: bigint;
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* The basic amount of funds that must be reserved for an item.
|
|
463
|
+
**/
|
|
464
|
+
itemDeposit: bigint;
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* The basic amount of funds that must be reserved when adding metadata to your item.
|
|
468
|
+
**/
|
|
469
|
+
metadataDepositBase: bigint;
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* The basic amount of funds that must be reserved when adding an attribute to an item.
|
|
473
|
+
**/
|
|
474
|
+
attributeDepositBase: bigint;
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* The additional funds that must be reserved for the number of bytes store in metadata,
|
|
478
|
+
* either "normal" metadata or attribute metadata.
|
|
479
|
+
**/
|
|
480
|
+
depositPerByte: bigint;
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* The maximum length of data stored on-chain.
|
|
484
|
+
**/
|
|
485
|
+
stringLimit: number;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* The maximum length of an attribute key.
|
|
489
|
+
**/
|
|
490
|
+
keyLimit: number;
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* The maximum length of an attribute value.
|
|
494
|
+
**/
|
|
495
|
+
valueLimit: number;
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Generic pallet constant
|
|
499
|
+
**/
|
|
500
|
+
[name: string]: any;
|
|
501
|
+
};
|
|
502
|
+
/**
|
|
503
|
+
* Pallet `Identity`'s constants
|
|
504
|
+
**/
|
|
505
|
+
identity: {
|
|
506
|
+
/**
|
|
507
|
+
* The amount held on deposit for a registered identity.
|
|
508
|
+
**/
|
|
509
|
+
basicDeposit: bigint;
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* The amount held on deposit per encoded byte for a registered identity.
|
|
513
|
+
**/
|
|
514
|
+
byteDeposit: bigint;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* The amount held on deposit for a registered subaccount. This should account for the fact
|
|
518
|
+
* that one storage item's value will increase by the size of an account ID, and there will
|
|
519
|
+
* be another trie item whose value is the size of an account ID plus 32 bytes.
|
|
520
|
+
**/
|
|
521
|
+
subAccountDeposit: bigint;
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* The maximum number of sub-accounts allowed per identified account.
|
|
525
|
+
**/
|
|
526
|
+
maxSubAccounts: number;
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* Maximum number of registrars allowed in the system. Needed to bound the complexity
|
|
530
|
+
* of, e.g., updating judgements.
|
|
531
|
+
**/
|
|
532
|
+
maxRegistrars: number;
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* The number of blocks within which a username grant must be accepted.
|
|
536
|
+
**/
|
|
537
|
+
pendingUsernameExpiration: number;
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* The maximum length of a suffix.
|
|
541
|
+
**/
|
|
542
|
+
maxSuffixLength: number;
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* The maximum length of a username, including its suffix and any system-added delimiters.
|
|
546
|
+
**/
|
|
547
|
+
maxUsernameLength: number;
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* Generic pallet constant
|
|
551
|
+
**/
|
|
552
|
+
[name: string]: any;
|
|
553
|
+
};
|
|
554
|
+
/**
|
|
555
|
+
* Pallet `Multisig`'s constants
|
|
556
|
+
**/
|
|
557
|
+
multisig: {
|
|
558
|
+
/**
|
|
559
|
+
* The base amount of currency needed to reserve for creating a multisig execution or to
|
|
560
|
+
* store a dispatch call for later.
|
|
561
|
+
*
|
|
562
|
+
* This is held for an additional storage item whose value size is
|
|
563
|
+
* `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
|
|
564
|
+
* `32 + sizeof(AccountId)` bytes.
|
|
565
|
+
**/
|
|
566
|
+
depositBase: bigint;
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* The amount of currency needed per unit threshold when creating a multisig execution.
|
|
570
|
+
*
|
|
571
|
+
* This is held for adding 32 bytes more into a pre-existing storage value.
|
|
572
|
+
**/
|
|
573
|
+
depositFactor: bigint;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* The maximum amount of signatories allowed in the multisig.
|
|
577
|
+
**/
|
|
578
|
+
maxSignatories: number;
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Generic pallet constant
|
|
582
|
+
**/
|
|
583
|
+
[name: string]: any;
|
|
584
|
+
};
|
|
585
|
+
/**
|
|
586
|
+
* Pallet `StateTrieMigration`'s constants
|
|
587
|
+
**/
|
|
588
|
+
stateTrieMigration: {
|
|
589
|
+
/**
|
|
590
|
+
* Maximal number of bytes that a key can have.
|
|
591
|
+
*
|
|
592
|
+
* FRAME itself does not limit the key length.
|
|
593
|
+
* The concrete value must therefore depend on your storage usage.
|
|
594
|
+
* A [`frame_support::storage::StorageNMap`] for example can have an arbitrary number of
|
|
595
|
+
* keys which are then hashed and concatenated, resulting in arbitrarily long keys.
|
|
596
|
+
*
|
|
597
|
+
* Use the *state migration RPC* to retrieve the length of the longest key in your
|
|
598
|
+
* storage: <https://github.com/paritytech/substrate/issues/11642>
|
|
599
|
+
*
|
|
600
|
+
* The migration will halt with a `Halted` event if this value is too small.
|
|
601
|
+
* Since there is no real penalty from over-estimating, it is advised to use a large
|
|
602
|
+
* value. The default is 512 byte.
|
|
603
|
+
*
|
|
604
|
+
* Some key lengths for reference:
|
|
605
|
+
* - [`frame_support::storage::StorageValue`]: 32 byte
|
|
606
|
+
* - [`frame_support::storage::StorageMap`]: 64 byte
|
|
607
|
+
* - [`frame_support::storage::StorageDoubleMap`]: 96 byte
|
|
608
|
+
*
|
|
609
|
+
* For more info see
|
|
610
|
+
* <https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/>
|
|
611
|
+
**/
|
|
612
|
+
maxKeyLen: number;
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Generic pallet constant
|
|
616
|
+
**/
|
|
617
|
+
[name: string]: any;
|
|
618
|
+
};
|
|
619
|
+
/**
|
|
620
|
+
* Pallet `ConvictionVoting`'s constants
|
|
621
|
+
**/
|
|
622
|
+
convictionVoting: {
|
|
623
|
+
/**
|
|
624
|
+
* The maximum number of concurrent votes an account may have.
|
|
625
|
+
*
|
|
626
|
+
* Also used to compute weight, an overly large value can lead to extrinsics with large
|
|
627
|
+
* weight estimation: see `delegate` for instance.
|
|
628
|
+
**/
|
|
629
|
+
maxVotes: number;
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* The minimum period of vote locking.
|
|
633
|
+
*
|
|
634
|
+
* It should be no shorter than enactment period to ensure that in the case of an approval,
|
|
635
|
+
* those successful voters are locked into the consequences that their votes entail.
|
|
636
|
+
**/
|
|
637
|
+
voteLockingPeriod: number;
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* Generic pallet constant
|
|
641
|
+
**/
|
|
642
|
+
[name: string]: any;
|
|
643
|
+
};
|
|
644
|
+
/**
|
|
645
|
+
* Pallet `Referenda`'s constants
|
|
646
|
+
**/
|
|
647
|
+
referenda: {
|
|
648
|
+
/**
|
|
649
|
+
* The minimum amount to be used as a deposit for a public referendum proposal.
|
|
650
|
+
**/
|
|
651
|
+
submissionDeposit: bigint;
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* Maximum size of the referendum queue for a single track.
|
|
655
|
+
**/
|
|
656
|
+
maxQueued: number;
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* The number of blocks after submission that a referendum must begin being decided by.
|
|
660
|
+
* Once this passes, then anyone may cancel the referendum.
|
|
661
|
+
**/
|
|
662
|
+
undecidingTimeout: number;
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* Quantization level for the referendum wakeup scheduler. A higher number will result in
|
|
666
|
+
* fewer storage reads/writes needed for smaller voters, but also result in delays to the
|
|
667
|
+
* automatic referendum status changes. Explicit servicing instructions are unaffected.
|
|
668
|
+
**/
|
|
669
|
+
alarmInterval: number;
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Information concerning the different referendum tracks.
|
|
673
|
+
**/
|
|
674
|
+
tracks: Array<[number, PalletReferendaTrackInfo]>;
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* Generic pallet constant
|
|
678
|
+
**/
|
|
679
|
+
[name: string]: any;
|
|
680
|
+
};
|
|
681
|
+
/**
|
|
682
|
+
* Pallet `Whitelist`'s constants
|
|
683
|
+
**/
|
|
684
|
+
whitelist: {
|
|
685
|
+
/**
|
|
686
|
+
* Generic pallet constant
|
|
687
|
+
**/
|
|
688
|
+
[name: string]: any;
|
|
689
|
+
};
|
|
690
|
+
/**
|
|
691
|
+
* Pallet `RelayChainInfo`'s constants
|
|
692
|
+
**/
|
|
693
|
+
relayChainInfo: {
|
|
694
|
+
/**
|
|
695
|
+
* Generic pallet constant
|
|
696
|
+
**/
|
|
697
|
+
[name: string]: any;
|
|
698
|
+
};
|
|
699
|
+
/**
|
|
700
|
+
* Pallet `Scheduler`'s constants
|
|
701
|
+
**/
|
|
702
|
+
scheduler: {
|
|
703
|
+
/**
|
|
704
|
+
* The maximum weight that may be scheduled per block for any dispatchables.
|
|
705
|
+
**/
|
|
706
|
+
maximumWeight: SpWeightsWeightV2Weight;
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* The maximum number of scheduled calls in the queue for a single block.
|
|
710
|
+
*
|
|
711
|
+
* NOTE:
|
|
712
|
+
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
|
|
713
|
+
* higher limit under `runtime-benchmarks` feature.
|
|
714
|
+
**/
|
|
715
|
+
maxScheduledPerBlock: number;
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* Generic pallet constant
|
|
719
|
+
**/
|
|
720
|
+
[name: string]: any;
|
|
721
|
+
};
|
|
722
|
+
/**
|
|
723
|
+
* Pallet `ParachainSystem`'s constants
|
|
724
|
+
**/
|
|
725
|
+
parachainSystem: {
|
|
726
|
+
/**
|
|
727
|
+
* Returns the parachain ID we are running with.
|
|
728
|
+
**/
|
|
729
|
+
selfParaId: PolkadotParachainPrimitivesPrimitivesId;
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* Generic pallet constant
|
|
733
|
+
**/
|
|
734
|
+
[name: string]: any;
|
|
735
|
+
};
|
|
736
|
+
/**
|
|
737
|
+
* Pallet `ParachainInfo`'s constants
|
|
738
|
+
**/
|
|
739
|
+
parachainInfo: {
|
|
740
|
+
/**
|
|
741
|
+
* Generic pallet constant
|
|
742
|
+
**/
|
|
743
|
+
[name: string]: any;
|
|
744
|
+
};
|
|
745
|
+
/**
|
|
746
|
+
* Pallet `PolkadotXcm`'s constants
|
|
747
|
+
**/
|
|
748
|
+
polkadotXcm: {
|
|
749
|
+
/**
|
|
750
|
+
* Generic pallet constant
|
|
751
|
+
**/
|
|
752
|
+
[name: string]: any;
|
|
753
|
+
};
|
|
754
|
+
/**
|
|
755
|
+
* Pallet `CumulusXcm`'s constants
|
|
756
|
+
**/
|
|
757
|
+
cumulusXcm: {
|
|
758
|
+
/**
|
|
759
|
+
* Generic pallet constant
|
|
760
|
+
**/
|
|
761
|
+
[name: string]: any;
|
|
762
|
+
};
|
|
763
|
+
/**
|
|
764
|
+
* Pallet `XcmpQueue`'s constants
|
|
765
|
+
**/
|
|
766
|
+
xcmpQueue: {
|
|
767
|
+
/**
|
|
768
|
+
* The maximum number of inbound XCMP channels that can be suspended simultaneously.
|
|
769
|
+
*
|
|
770
|
+
* Any further channel suspensions will fail and messages may get dropped without further
|
|
771
|
+
* notice. Choosing a high value (1000) is okay; the trade-off that is described in
|
|
772
|
+
* [`InboundXcmpSuspended`] still applies at that scale.
|
|
773
|
+
**/
|
|
774
|
+
maxInboundSuspended: number;
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* Maximal number of outbound XCMP channels that can have messages queued at the same time.
|
|
778
|
+
*
|
|
779
|
+
* If this is reached, then no further messages can be sent to channels that do not yet
|
|
780
|
+
* have a message queued. This should be set to the expected maximum of outbound channels
|
|
781
|
+
* which is determined by [`Self::ChannelInfo`]. It is important to set this large enough,
|
|
782
|
+
* since otherwise the congestion control protocol will not work as intended and messages
|
|
783
|
+
* may be dropped. This value increases the PoV and should therefore not be picked too
|
|
784
|
+
* high. Governance needs to pay attention to not open more channels than this value.
|
|
785
|
+
**/
|
|
786
|
+
maxActiveOutboundChannels: number;
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* The maximal page size for HRMP message pages.
|
|
790
|
+
*
|
|
791
|
+
* A lower limit can be set dynamically, but this is the hard-limit for the PoV worst case
|
|
792
|
+
* benchmarking. The limit for the size of a message is slightly below this, since some
|
|
793
|
+
* overhead is incurred for encoding the format.
|
|
794
|
+
**/
|
|
795
|
+
maxPageSize: number;
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* Generic pallet constant
|
|
799
|
+
**/
|
|
800
|
+
[name: string]: any;
|
|
801
|
+
};
|
|
802
|
+
/**
|
|
803
|
+
* Pallet `MessageQueue`'s constants
|
|
804
|
+
**/
|
|
805
|
+
messageQueue: {
|
|
806
|
+
/**
|
|
807
|
+
* The size of the page; this implies the maximum message size which can be sent.
|
|
808
|
+
*
|
|
809
|
+
* A good value depends on the expected message sizes, their weights, the weight that is
|
|
810
|
+
* available for processing them and the maximal needed message size. The maximal message
|
|
811
|
+
* size is slightly lower than this as defined by [`MaxMessageLenOf`].
|
|
812
|
+
**/
|
|
813
|
+
heapSize: number;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* The maximum number of stale pages (i.e. of overweight messages) allowed before culling
|
|
817
|
+
* can happen. Once there are more stale pages than this, then historical pages may be
|
|
818
|
+
* dropped, even if they contain unprocessed overweight messages.
|
|
819
|
+
**/
|
|
820
|
+
maxStale: number;
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* The amount of weight (if any) which should be provided to the message queue for
|
|
824
|
+
* servicing enqueued items `on_initialize`.
|
|
825
|
+
*
|
|
826
|
+
* This may be legitimately `None` in the case that you will call
|
|
827
|
+
* `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have
|
|
828
|
+
* it run in `on_idle`.
|
|
829
|
+
**/
|
|
830
|
+
serviceWeight: SpWeightsWeightV2Weight | undefined;
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* The maximum amount of weight (if any) to be used from remaining weight `on_idle` which
|
|
834
|
+
* should be provided to the message queue for servicing enqueued items `on_idle`.
|
|
835
|
+
* Useful for parachains to process messages at the same block they are received.
|
|
836
|
+
*
|
|
837
|
+
* If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`.
|
|
838
|
+
**/
|
|
839
|
+
idleMaxServiceWeight: SpWeightsWeightV2Weight | undefined;
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* Generic pallet constant
|
|
843
|
+
**/
|
|
844
|
+
[name: string]: any;
|
|
845
|
+
};
|
|
846
|
+
/**
|
|
847
|
+
* Pallet `AssetRegistry`'s constants
|
|
848
|
+
**/
|
|
849
|
+
assetRegistry: {
|
|
850
|
+
sequentialIdStartAt: number;
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Native Asset Id
|
|
854
|
+
**/
|
|
855
|
+
nativeAssetId: number;
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* Generic pallet constant
|
|
859
|
+
**/
|
|
860
|
+
[name: string]: any;
|
|
861
|
+
};
|
|
862
|
+
/**
|
|
863
|
+
* Pallet `XYK`'s constants
|
|
864
|
+
**/
|
|
865
|
+
xyk: {
|
|
866
|
+
/**
|
|
867
|
+
* Native Asset Id
|
|
868
|
+
**/
|
|
869
|
+
nativeAssetId: number;
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* Trading fee rate
|
|
873
|
+
**/
|
|
874
|
+
getExchangeFee: [number, number];
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* Minimum trading limit
|
|
878
|
+
**/
|
|
879
|
+
minTradingLimit: bigint;
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* Minimum pool liquidity
|
|
883
|
+
**/
|
|
884
|
+
minPoolLiquidity: bigint;
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* Max fraction of pool to sell in single transaction
|
|
888
|
+
**/
|
|
889
|
+
maxInRatio: bigint;
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* Max fraction of pool to buy in single transaction
|
|
893
|
+
**/
|
|
894
|
+
maxOutRatio: bigint;
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* Oracle source identifier for this pallet.
|
|
898
|
+
**/
|
|
899
|
+
oracleSource: FixedBytes<8>;
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* Generic pallet constant
|
|
903
|
+
**/
|
|
904
|
+
[name: string]: any;
|
|
905
|
+
};
|
|
906
|
+
/**
|
|
907
|
+
* Pallet `Duster`'s constants
|
|
908
|
+
**/
|
|
909
|
+
duster: {
|
|
910
|
+
/**
|
|
911
|
+
* Reward amount
|
|
912
|
+
**/
|
|
913
|
+
reward: bigint;
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* Native Asset Id
|
|
917
|
+
**/
|
|
918
|
+
nativeCurrencyId: number;
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* Default account for `reward_account` and `dust_account` in genesis config.
|
|
922
|
+
**/
|
|
923
|
+
treasuryAccountId: AccountId32;
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* Generic pallet constant
|
|
927
|
+
**/
|
|
928
|
+
[name: string]: any;
|
|
929
|
+
};
|
|
930
|
+
/**
|
|
931
|
+
* Pallet `LBP`'s constants
|
|
932
|
+
**/
|
|
933
|
+
lbp: {
|
|
934
|
+
/**
|
|
935
|
+
* Minimum trading limit, sole purpose of this is to keep the math working
|
|
936
|
+
**/
|
|
937
|
+
minTradingLimit: bigint;
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* Minimum pool liquidity, sole purpose of this is to keep the math working
|
|
941
|
+
**/
|
|
942
|
+
minPoolLiquidity: bigint;
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* Max fraction of pool to sell in single transaction
|
|
946
|
+
**/
|
|
947
|
+
maxInRatio: bigint;
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* Max fraction of pool to buy in single transaction
|
|
951
|
+
**/
|
|
952
|
+
maxOutRatio: bigint;
|
|
953
|
+
repayFee: [number, number];
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* Generic pallet constant
|
|
957
|
+
**/
|
|
958
|
+
[name: string]: any;
|
|
959
|
+
};
|
|
960
|
+
/**
|
|
961
|
+
* Pallet `NFT`'s constants
|
|
962
|
+
**/
|
|
963
|
+
nft: {
|
|
964
|
+
/**
|
|
965
|
+
* Collection IDs reserved for runtime up to the following constant
|
|
966
|
+
**/
|
|
967
|
+
reserveCollectionIdUpTo: bigint;
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* Generic pallet constant
|
|
971
|
+
**/
|
|
972
|
+
[name: string]: any;
|
|
973
|
+
};
|
|
974
|
+
/**
|
|
975
|
+
* Pallet `Marketplace`'s constants
|
|
976
|
+
**/
|
|
977
|
+
marketplace: {
|
|
978
|
+
minimumOfferAmount: bigint;
|
|
979
|
+
royaltyBondAmount: bigint;
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* Generic pallet constant
|
|
983
|
+
**/
|
|
984
|
+
[name: string]: any;
|
|
985
|
+
};
|
|
986
|
+
/**
|
|
987
|
+
* Pallet `TransactionPause`'s constants
|
|
988
|
+
**/
|
|
989
|
+
transactionPause: {
|
|
990
|
+
/**
|
|
991
|
+
* Generic pallet constant
|
|
992
|
+
**/
|
|
993
|
+
[name: string]: any;
|
|
994
|
+
};
|
|
995
|
+
/**
|
|
996
|
+
* Pallet `Router`'s constants
|
|
997
|
+
**/
|
|
998
|
+
router: {
|
|
999
|
+
/**
|
|
1000
|
+
* Native Asset Id
|
|
1001
|
+
**/
|
|
1002
|
+
nativeAssetId: number;
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* Oracle's price aggregation period.
|
|
1006
|
+
**/
|
|
1007
|
+
oraclePeriod: HydradxTraitsOracleOraclePeriod;
|
|
1008
|
+
|
|
1009
|
+
/**
|
|
1010
|
+
* Generic pallet constant
|
|
1011
|
+
**/
|
|
1012
|
+
[name: string]: any;
|
|
1013
|
+
};
|
|
1014
|
+
/**
|
|
1015
|
+
* Pallet `XYKLiquidityMining`'s constants
|
|
1016
|
+
**/
|
|
1017
|
+
xykLiquidityMining: {
|
|
1018
|
+
/**
|
|
1019
|
+
* NFT collection id for liq. mining deposit nfts. Has to be within the range of reserved NFT class IDs.
|
|
1020
|
+
**/
|
|
1021
|
+
nftCollectionId: bigint;
|
|
1022
|
+
|
|
1023
|
+
/**
|
|
1024
|
+
* Generic pallet constant
|
|
1025
|
+
**/
|
|
1026
|
+
[name: string]: any;
|
|
1027
|
+
};
|
|
1028
|
+
/**
|
|
1029
|
+
* Pallet `XYKWarehouseLM`'s constants
|
|
1030
|
+
**/
|
|
1031
|
+
xykWarehouseLM: {
|
|
1032
|
+
/**
|
|
1033
|
+
* Pallet id.
|
|
1034
|
+
**/
|
|
1035
|
+
palletId: FrameSupportPalletId;
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* Treasury account to receive claimed rewards lower than ED
|
|
1039
|
+
**/
|
|
1040
|
+
treasuryAccountId: AccountId32;
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* Minimum total rewards to distribute from global farm during liquidity mining.
|
|
1044
|
+
**/
|
|
1045
|
+
minTotalFarmRewards: bigint;
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* Minimum number of periods to run liquidity mining program.
|
|
1049
|
+
**/
|
|
1050
|
+
minPlannedYieldingPeriods: number;
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* Maximum number of yield farms same LP shares can be re/deposited into. This value always
|
|
1054
|
+
* MUST BE >= 1.
|
|
1055
|
+
**/
|
|
1056
|
+
maxFarmEntriesPerDeposit: number;
|
|
1057
|
+
|
|
1058
|
+
/**
|
|
1059
|
+
* Max number of yield farms can exist in global farm. This includes all farms in the
|
|
1060
|
+
* storage(active, stopped, terminated).
|
|
1061
|
+
**/
|
|
1062
|
+
maxYieldFarmsPerGlobalFarm: number;
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* Generic pallet constant
|
|
1066
|
+
**/
|
|
1067
|
+
[name: string]: any;
|
|
1068
|
+
};
|
|
1069
|
+
/**
|
|
1070
|
+
* Pallet `CollatorRewards`'s constants
|
|
1071
|
+
**/
|
|
1072
|
+
collatorRewards: {
|
|
1073
|
+
/**
|
|
1074
|
+
* Reward amount per one collator.
|
|
1075
|
+
**/
|
|
1076
|
+
rewardPerCollator: bigint;
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* Reward Asset Id
|
|
1080
|
+
**/
|
|
1081
|
+
rewardCurrencyId: number;
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
* Generic pallet constant
|
|
1085
|
+
**/
|
|
1086
|
+
[name: string]: any;
|
|
1087
|
+
};
|
|
1088
|
+
/**
|
|
1089
|
+
* Pallet `Broadcast`'s constants
|
|
1090
|
+
**/
|
|
1091
|
+
broadcast: {
|
|
1092
|
+
/**
|
|
1093
|
+
* Generic pallet constant
|
|
1094
|
+
**/
|
|
1095
|
+
[name: string]: any;
|
|
1096
|
+
};
|
|
1097
|
+
/**
|
|
1098
|
+
* Pallet `EmaOracle`'s constants
|
|
1099
|
+
**/
|
|
1100
|
+
emaOracle: {
|
|
1101
|
+
/**
|
|
1102
|
+
* Maximum number of unique oracle entries expected in one block.
|
|
1103
|
+
**/
|
|
1104
|
+
maxUniqueEntries: number;
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* Generic pallet constant
|
|
1108
|
+
**/
|
|
1109
|
+
[name: string]: any;
|
|
1110
|
+
};
|
|
1111
|
+
/**
|
|
1112
|
+
* Pallet `Currencies`'s constants
|
|
1113
|
+
**/
|
|
1114
|
+
currencies: {
|
|
1115
|
+
getNativeCurrencyId: number;
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* Generic pallet constant
|
|
1119
|
+
**/
|
|
1120
|
+
[name: string]: any;
|
|
1121
|
+
};
|
|
1122
|
+
/**
|
|
1123
|
+
* Pallet `Tokens`'s constants
|
|
1124
|
+
**/
|
|
1125
|
+
tokens: {
|
|
1126
|
+
maxLocks: number;
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* The maximum number of named reserves that can exist on an account.
|
|
1130
|
+
**/
|
|
1131
|
+
maxReserves: number;
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* Generic pallet constant
|
|
1135
|
+
**/
|
|
1136
|
+
[name: string]: any;
|
|
1137
|
+
};
|
|
1138
|
+
/**
|
|
1139
|
+
* Pallet `OrmlXcm`'s constants
|
|
1140
|
+
**/
|
|
1141
|
+
ormlXcm: {
|
|
1142
|
+
/**
|
|
1143
|
+
* Generic pallet constant
|
|
1144
|
+
**/
|
|
1145
|
+
[name: string]: any;
|
|
1146
|
+
};
|
|
1147
|
+
/**
|
|
1148
|
+
* Pallet `XTokens`'s constants
|
|
1149
|
+
**/
|
|
1150
|
+
xTokens: {
|
|
1151
|
+
/**
|
|
1152
|
+
* Self chain location.
|
|
1153
|
+
**/
|
|
1154
|
+
selfLocation: StagingXcmV4Location;
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* Base XCM weight.
|
|
1158
|
+
*
|
|
1159
|
+
* The actually weight for an XCM message is `T::BaseXcmWeight +
|
|
1160
|
+
* T::Weigher::weight(&msg)`.
|
|
1161
|
+
**/
|
|
1162
|
+
baseXcmWeight: SpWeightsWeightV2Weight;
|
|
1163
|
+
|
|
1164
|
+
/**
|
|
1165
|
+
* The id of the RateLimiter.
|
|
1166
|
+
**/
|
|
1167
|
+
rateLimiterId: [];
|
|
1168
|
+
|
|
1169
|
+
/**
|
|
1170
|
+
* Generic pallet constant
|
|
1171
|
+
**/
|
|
1172
|
+
[name: string]: any;
|
|
1173
|
+
};
|
|
1174
|
+
/**
|
|
1175
|
+
* Pallet `UnknownTokens`'s constants
|
|
1176
|
+
**/
|
|
1177
|
+
unknownTokens: {
|
|
1178
|
+
/**
|
|
1179
|
+
* Generic pallet constant
|
|
1180
|
+
**/
|
|
1181
|
+
[name: string]: any;
|
|
1182
|
+
};
|
|
1183
|
+
}
|