@dedot/chaintypes 0.159.0 → 0.161.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.
@@ -1,17 +1,18 @@
1
1
  // Generated by dedot cli
2
2
 
3
3
  import type { GenericChainConsts, RpcVersion } from 'dedot/types';
4
- import type { RuntimeVersion, AccountId32, Bytes, Permill, Perbill } from 'dedot/codecs';
4
+ import type { RuntimeVersion, Bytes, AccountId32, Permill, Perbill } from 'dedot/codecs';
5
5
  import type {
6
6
  FrameSystemLimitsBlockWeights,
7
7
  FrameSystemLimitsBlockLength,
8
8
  SpWeightsRuntimeDbWeight,
9
9
  PolkadotParachainPrimitivesPrimitivesId,
10
+ SpWeightsWeightV2Weight,
10
11
  FrameSupportPalletId,
11
12
  StagingXcmV5Junctions,
12
- SpWeightsWeightV2Weight,
13
13
  PalletNftsBitFlagsPalletFeature,
14
14
  StagingXcmV5Location,
15
+ PalletReferendaTrackDetails,
15
16
  } from './types.js';
16
17
 
17
18
  export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
@@ -125,6 +126,47 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
125
126
  **/
126
127
  [name: string]: any;
127
128
  };
129
+ /**
130
+ * Pallet `Preimage`'s constants
131
+ **/
132
+ preimage: {
133
+ /**
134
+ * Generic pallet constant
135
+ **/
136
+ [name: string]: any;
137
+ };
138
+ /**
139
+ * Pallet `Scheduler`'s constants
140
+ **/
141
+ scheduler: {
142
+ /**
143
+ * The maximum weight that may be scheduled per block for any dispatchables.
144
+ **/
145
+ maximumWeight: SpWeightsWeightV2Weight;
146
+
147
+ /**
148
+ * The maximum number of scheduled calls in the queue for a single block.
149
+ *
150
+ * NOTE:
151
+ * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
152
+ * higher limit under `runtime-benchmarks` feature.
153
+ **/
154
+ maxScheduledPerBlock: number;
155
+
156
+ /**
157
+ * Generic pallet constant
158
+ **/
159
+ [name: string]: any;
160
+ };
161
+ /**
162
+ * Pallet `Parameters`'s constants
163
+ **/
164
+ parameters: {
165
+ /**
166
+ * Generic pallet constant
167
+ **/
168
+ [name: string]: any;
169
+ };
128
170
  /**
129
171
  * Pallet `Balances`'s constants
130
172
  **/
@@ -224,6 +266,17 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
224
266
  **/
225
267
  [name: string]: any;
226
268
  };
269
+ /**
270
+ * Pallet `Claims`'s constants
271
+ **/
272
+ claims: {
273
+ prefix: Bytes;
274
+
275
+ /**
276
+ * Generic pallet constant
277
+ **/
278
+ [name: string]: any;
279
+ };
227
280
  /**
228
281
  * Pallet `Authorship`'s constants
229
282
  **/
@@ -549,6 +602,20 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
549
602
  **/
550
603
  [name: string]: any;
551
604
  };
605
+ /**
606
+ * Pallet `Indices`'s constants
607
+ **/
608
+ indices: {
609
+ /**
610
+ * The deposit needed for reserving an index.
611
+ **/
612
+ deposit: bigint;
613
+
614
+ /**
615
+ * Generic pallet constant
616
+ **/
617
+ [name: string]: any;
618
+ };
552
619
  /**
553
620
  * Pallet `Assets`'s constants
554
621
  **/
@@ -902,6 +969,110 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
902
969
  **/
903
970
  [name: string]: any;
904
971
  };
972
+ /**
973
+ * Pallet `Recovery`'s constants
974
+ **/
975
+ recovery: {
976
+ /**
977
+ * The base amount of currency needed to reserve for creating a recovery configuration.
978
+ *
979
+ * This is held for an additional storage item whose value size is
980
+ * `2 + sizeof(BlockNumber, Balance)` bytes.
981
+ **/
982
+ configDepositBase: bigint;
983
+
984
+ /**
985
+ * The amount of currency needed per additional user when creating a recovery
986
+ * configuration.
987
+ *
988
+ * This is held for adding `sizeof(AccountId)` bytes more into a pre-existing storage
989
+ * value.
990
+ **/
991
+ friendDepositFactor: bigint;
992
+
993
+ /**
994
+ * The maximum amount of friends allowed in a recovery configuration.
995
+ *
996
+ * NOTE: The threshold programmed in this Pallet uses u16, so it does
997
+ * not really make sense to have a limit here greater than u16::MAX.
998
+ * But also, that is a lot more than you should probably set this value
999
+ * to anyway...
1000
+ **/
1001
+ maxFriends: number;
1002
+
1003
+ /**
1004
+ * The base amount of currency needed to reserve for starting a recovery.
1005
+ *
1006
+ * This is primarily held for deterring malicious recovery attempts, and should
1007
+ * have a value large enough that a bad actor would choose not to place this
1008
+ * deposit. It also acts to fund additional storage item whose value size is
1009
+ * `sizeof(BlockNumber, Balance + T * AccountId)` bytes. Where T is a configurable
1010
+ * threshold.
1011
+ **/
1012
+ recoveryDeposit: bigint;
1013
+
1014
+ /**
1015
+ * Generic pallet constant
1016
+ **/
1017
+ [name: string]: any;
1018
+ };
1019
+ /**
1020
+ * Pallet `Society`'s constants
1021
+ **/
1022
+ society: {
1023
+ /**
1024
+ * The societies's pallet id
1025
+ **/
1026
+ palletId: FrameSupportPalletId;
1027
+
1028
+ /**
1029
+ * The maximum number of strikes before a member gets funds slashed.
1030
+ **/
1031
+ graceStrikes: number;
1032
+
1033
+ /**
1034
+ * The amount of incentive paid within each period. Doesn't include VoterTip.
1035
+ **/
1036
+ periodSpend: bigint;
1037
+
1038
+ /**
1039
+ * The number of [Config::BlockNumberProvider] blocks on which new candidates should be
1040
+ * voted on. Together with
1041
+ * `ClaimPeriod`, this sums to the number of blocks between candidate intake periods.
1042
+ **/
1043
+ votingPeriod: number;
1044
+
1045
+ /**
1046
+ * The number of [Config::BlockNumberProvider] blocks on which new candidates can claim
1047
+ * their membership and be the named head.
1048
+ **/
1049
+ claimPeriod: number;
1050
+
1051
+ /**
1052
+ * The maximum duration of the payout lock.
1053
+ **/
1054
+ maxLockDuration: number;
1055
+
1056
+ /**
1057
+ * The number of [Config::BlockNumberProvider] blocks between membership challenges.
1058
+ **/
1059
+ challengePeriod: number;
1060
+
1061
+ /**
1062
+ * The maximum number of payouts a member may have waiting unclaimed.
1063
+ **/
1064
+ maxPayouts: number;
1065
+
1066
+ /**
1067
+ * The maximum number of bids at once.
1068
+ **/
1069
+ maxBids: number;
1070
+
1071
+ /**
1072
+ * Generic pallet constant
1073
+ **/
1074
+ [name: string]: any;
1075
+ };
905
1076
  /**
906
1077
  * Pallet `Revive`'s constants
907
1078
  **/
@@ -996,4 +1167,593 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
996
1167
  **/
997
1168
  [name: string]: any;
998
1169
  };
1170
+ /**
1171
+ * Pallet `NominationPools`'s constants
1172
+ **/
1173
+ nominationPools: {
1174
+ /**
1175
+ * The nomination pool's pallet id.
1176
+ **/
1177
+ palletId: FrameSupportPalletId;
1178
+
1179
+ /**
1180
+ * The maximum pool points-to-balance ratio that an `open` pool can have.
1181
+ *
1182
+ * This is important in the event slashing takes place and the pool's points-to-balance
1183
+ * ratio becomes disproportional.
1184
+ *
1185
+ * Moreover, this relates to the `RewardCounter` type as well, as the arithmetic operations
1186
+ * are a function of number of points, and by setting this value to e.g. 10, you ensure
1187
+ * that the total number of points in the system are at most 10 times the total_issuance of
1188
+ * the chain, in the absolute worse case.
1189
+ *
1190
+ * For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1.
1191
+ * Such a scenario would also be the equivalent of the pool being 90% slashed.
1192
+ **/
1193
+ maxPointsToBalance: number;
1194
+
1195
+ /**
1196
+ * The maximum number of simultaneous unbonding chunks that can exist per member.
1197
+ **/
1198
+ maxUnbonding: number;
1199
+
1200
+ /**
1201
+ * Generic pallet constant
1202
+ **/
1203
+ [name: string]: any;
1204
+ };
1205
+ /**
1206
+ * Pallet `VoterList`'s constants
1207
+ **/
1208
+ voterList: {
1209
+ /**
1210
+ * The list of thresholds separating the various bags.
1211
+ *
1212
+ * Ids are separated into unsorted bags according to their score. This specifies the
1213
+ * thresholds separating the bags. An id's bag is the largest bag for which the id's score
1214
+ * is less than or equal to its upper threshold.
1215
+ *
1216
+ * When ids are iterated, higher bags are iterated completely before lower bags. This means
1217
+ * that iteration is _semi-sorted_: ids of higher score tend to come before ids of lower
1218
+ * score, but peer ids within a particular bag are sorted in insertion order.
1219
+ *
1220
+ * # Expressing the constant
1221
+ *
1222
+ * This constant must be sorted in strictly increasing order. Duplicate items are not
1223
+ * permitted.
1224
+ *
1225
+ * There is an implied upper limit of `Score::MAX`; that value does not need to be
1226
+ * specified within the bag. For any two threshold lists, if one ends with
1227
+ * `Score::MAX`, the other one does not, and they are otherwise equal, the two
1228
+ * lists will behave identically.
1229
+ *
1230
+ * # Calculation
1231
+ *
1232
+ * It is recommended to generate the set of thresholds in a geometric series, such that
1233
+ * there exists some constant ratio such that `threshold[k + 1] == (threshold[k] *
1234
+ * constant_ratio).max(threshold[k] + 1)` for all `k`.
1235
+ *
1236
+ * The helpers in the `/utils/frame/generate-bags` module can simplify this calculation.
1237
+ *
1238
+ * # Examples
1239
+ *
1240
+ * - If `BagThresholds::get().is_empty()`, then all ids are put into the same bag, and
1241
+ * iteration is strictly in insertion order.
1242
+ * - If `BagThresholds::get().len() == 64`, and the thresholds are determined according to
1243
+ * the procedure given above, then the constant ratio is equal to 2.
1244
+ * - If `BagThresholds::get().len() == 200`, and the thresholds are determined according to
1245
+ * the procedure given above, then the constant ratio is approximately equal to 1.248.
1246
+ * - If the threshold list begins `[1, 2, 3, ...]`, then an id with score 0 or 1 will fall
1247
+ * into bag 0, an id with score 2 will fall into bag 1, etc.
1248
+ *
1249
+ * # Migration
1250
+ *
1251
+ * In the event that this list ever changes, a copy of the old bags list must be retained.
1252
+ * With that `List::migrate` can be called, which will perform the appropriate migration.
1253
+ **/
1254
+ bagThresholds: Array<bigint>;
1255
+
1256
+ /**
1257
+ * Maximum number of accounts that may be re-bagged automatically in `on_idle`.
1258
+ *
1259
+ * A value of `0` (obtained by configuring `type MaxAutoRebagPerBlock = ();`) disables
1260
+ * the feature.
1261
+ **/
1262
+ maxAutoRebagPerBlock: number;
1263
+
1264
+ /**
1265
+ * Generic pallet constant
1266
+ **/
1267
+ [name: string]: any;
1268
+ };
1269
+ /**
1270
+ * Pallet `DelegatedStaking`'s constants
1271
+ **/
1272
+ delegatedStaking: {
1273
+ /**
1274
+ * Injected identifier for the pallet.
1275
+ **/
1276
+ palletId: FrameSupportPalletId;
1277
+
1278
+ /**
1279
+ * Fraction of the slash that is rewarded to the caller of pending slash to the agent.
1280
+ **/
1281
+ slashRewardFraction: Perbill;
1282
+
1283
+ /**
1284
+ * Generic pallet constant
1285
+ **/
1286
+ [name: string]: any;
1287
+ };
1288
+ /**
1289
+ * Pallet `StakingRcClient`'s constants
1290
+ **/
1291
+ stakingRcClient: {
1292
+ /**
1293
+ * Generic pallet constant
1294
+ **/
1295
+ [name: string]: any;
1296
+ };
1297
+ /**
1298
+ * Pallet `MultiBlockElection`'s constants
1299
+ **/
1300
+ multiBlockElection: {
1301
+ /**
1302
+ * Duration of the unsigned phase.
1303
+ **/
1304
+ unsignedPhase: number;
1305
+
1306
+ /**
1307
+ * Duration of the signed phase.
1308
+ **/
1309
+ signedPhase: number;
1310
+
1311
+ /**
1312
+ * Duration of the singed validation phase.
1313
+ *
1314
+ * The duration of this should not be less than `T::Pages`, and there is no point in it
1315
+ * being more than `SignedPhase::MaxSubmission::get() * T::Pages`. TODO: integrity test for
1316
+ * it.
1317
+ **/
1318
+ signedValidationPhase: number;
1319
+
1320
+ /**
1321
+ * The number of snapshot voters to fetch per block.
1322
+ **/
1323
+ voterSnapshotPerBlock: number;
1324
+
1325
+ /**
1326
+ * The number of snapshot targets to fetch per block.
1327
+ **/
1328
+ targetSnapshotPerBlock: number;
1329
+
1330
+ /**
1331
+ * The number of pages.
1332
+ *
1333
+ * The snapshot is created with this many keys in the storage map.
1334
+ *
1335
+ * The solutions may contain at MOST this many pages, but less pages are acceptable as
1336
+ * well.
1337
+ **/
1338
+ pages: number;
1339
+
1340
+ /**
1341
+ * Generic pallet constant
1342
+ **/
1343
+ [name: string]: any;
1344
+ };
1345
+ /**
1346
+ * Pallet `MultiBlockElectionVerifier`'s constants
1347
+ **/
1348
+ multiBlockElectionVerifier: {
1349
+ /**
1350
+ * The minimum amount of improvement to the solution score that defines a solution as
1351
+ * "better".
1352
+ **/
1353
+ solutionImprovementThreshold: Perbill;
1354
+
1355
+ /**
1356
+ * Maximum number of backers, per winner, among all pages of an election.
1357
+ *
1358
+ * This can only be checked at the very final step of verification.
1359
+ *
1360
+ * NOTE: at the moment, we don't check this, and it is in place for future compatibility.
1361
+ **/
1362
+ maxBackersPerWinnerFinal: number;
1363
+
1364
+ /**
1365
+ * Maximum number of backers, per winner, per page.
1366
+ **/
1367
+ maxBackersPerWinner: number;
1368
+
1369
+ /**
1370
+ * Maximum number of supports (aka. winners/validators/targets) that can be represented in
1371
+ * a page of results.
1372
+ **/
1373
+ maxWinnersPerPage: number;
1374
+
1375
+ /**
1376
+ * Generic pallet constant
1377
+ **/
1378
+ [name: string]: any;
1379
+ };
1380
+ /**
1381
+ * Pallet `MultiBlockElectionUnsigned`'s constants
1382
+ **/
1383
+ multiBlockElectionUnsigned: {
1384
+ /**
1385
+ * Generic pallet constant
1386
+ **/
1387
+ [name: string]: any;
1388
+ };
1389
+ /**
1390
+ * Pallet `MultiBlockElectionSigned`'s constants
1391
+ **/
1392
+ multiBlockElectionSigned: {
1393
+ /**
1394
+ * Generic pallet constant
1395
+ **/
1396
+ [name: string]: any;
1397
+ };
1398
+ /**
1399
+ * Pallet `Staking`'s constants
1400
+ **/
1401
+ staking: {
1402
+ /**
1403
+ * Number of eras to keep in history.
1404
+ *
1405
+ * Following information is kept for eras in `[current_era -
1406
+ * HistoryDepth, current_era]`: `ErasValidatorPrefs`, `ErasValidatorReward`,
1407
+ * `ErasRewardPoints`, `ErasTotalStake`, `ClaimedRewards`,
1408
+ * `ErasStakersPaged`, `ErasStakersOverview`.
1409
+ *
1410
+ * Must be more than the number of eras delayed by session.
1411
+ * I.e. active era must always be in history. I.e. `active_era >
1412
+ * current_era - history_depth` must be guaranteed.
1413
+ *
1414
+ * If migrating an existing pallet from storage value to config value,
1415
+ * this should be set to same value or greater as in storage.
1416
+ **/
1417
+ historyDepth: number;
1418
+
1419
+ /**
1420
+ * Number of sessions per era, as per the preferences of the **relay chain**.
1421
+ **/
1422
+ sessionsPerEra: number;
1423
+
1424
+ /**
1425
+ * Number of sessions before the end of an era when the election for the next era will
1426
+ * start.
1427
+ *
1428
+ * - This determines how many sessions **before** the last session of the era the staking
1429
+ * election process should begin.
1430
+ * - The value is bounded between **1** (election starts at the beginning of the last
1431
+ * session) and `SessionsPerEra` (election starts at the beginning of the first session
1432
+ * of the era).
1433
+ *
1434
+ * ### Example:
1435
+ * - If `SessionsPerEra = 6` and `PlanningEraOffset = 1`, the election starts at the
1436
+ * beginning of session `6 - 1 = 5`.
1437
+ * - If `PlanningEraOffset = 6`, the election starts at the beginning of session `6 - 6 =
1438
+ * 0`, meaning it starts at the very beginning of the era.
1439
+ **/
1440
+ planningEraOffset: number;
1441
+
1442
+ /**
1443
+ * Number of eras that staked funds must remain bonded for.
1444
+ **/
1445
+ bondingDuration: number;
1446
+
1447
+ /**
1448
+ * Number of eras that slashes are deferred by, after computation.
1449
+ *
1450
+ * This should be less than the bonding duration. Set to 0 if slashes
1451
+ * should be applied immediately, without opportunity for intervention.
1452
+ **/
1453
+ slashDeferDuration: number;
1454
+
1455
+ /**
1456
+ * The maximum size of each `T::ExposurePage`.
1457
+ *
1458
+ * An `ExposurePage` is weakly bounded to a maximum of `MaxExposurePageSize`
1459
+ * nominators.
1460
+ *
1461
+ * For older non-paged exposure, a reward payout was restricted to the top
1462
+ * `MaxExposurePageSize` nominators. This is to limit the i/o cost for the
1463
+ * nominator payout.
1464
+ *
1465
+ * Note: `MaxExposurePageSize` is used to bound `ClaimedRewards` and is unsafe to
1466
+ * reduce without handling it in a migration.
1467
+ **/
1468
+ maxExposurePageSize: number;
1469
+
1470
+ /**
1471
+ * The absolute maximum of winner validators this pallet should return.
1472
+ *
1473
+ * As this pallet supports multi-block election, the set of winner validators *per
1474
+ * election* is bounded by this type.
1475
+ **/
1476
+ maxValidatorSet: number;
1477
+
1478
+ /**
1479
+ * The maximum number of `unlocking` chunks a [`StakingLedger`] can
1480
+ * have. Effectively determines how many unique eras a staker may be
1481
+ * unbonding in.
1482
+ *
1483
+ * Note: `MaxUnlockingChunks` is used as the upper bound for the
1484
+ * `BoundedVec` item `StakingLedger.unlocking`. Setting this value
1485
+ * lower than the existing value can lead to inconsistencies in the
1486
+ * `StakingLedger` and will need to be handled properly in a runtime
1487
+ * migration. The test `reducing_max_unlocking_chunks_abrupt` shows
1488
+ * this effect.
1489
+ **/
1490
+ maxUnlockingChunks: number;
1491
+
1492
+ /**
1493
+ * Maximum number of invulnerable validators.
1494
+ **/
1495
+ maxInvulnerables: number;
1496
+
1497
+ /**
1498
+ * Maximum allowed era duration in milliseconds.
1499
+ *
1500
+ * This provides a defensive upper bound to cap the effective era duration, preventing
1501
+ * excessively long eras from causing runaway inflation (e.g., due to bugs). If the actual
1502
+ * era duration exceeds this value, it will be clamped to this maximum.
1503
+ *
1504
+ * Example: For an ideal era duration of 24 hours (86,400,000 ms),
1505
+ * this can be set to 604,800,000 ms (7 days).
1506
+ **/
1507
+ maxEraDuration: bigint;
1508
+
1509
+ /**
1510
+ * Maximum number of storage items that can be pruned in a single call.
1511
+ *
1512
+ * This controls how many storage items can be deleted in each call to `prune_era_step`.
1513
+ * This should be set to a conservative value (e.g., 100-500 items) to ensure pruning
1514
+ * doesn't consume too much block space. The actual weight is determined by benchmarks.
1515
+ **/
1516
+ maxPruningItems: number;
1517
+
1518
+ /**
1519
+ * Generic pallet constant
1520
+ **/
1521
+ [name: string]: any;
1522
+ };
1523
+ /**
1524
+ * Pallet `Treasury`'s constants
1525
+ **/
1526
+ treasury: {
1527
+ /**
1528
+ * Period between successive spends.
1529
+ **/
1530
+ spendPeriod: number;
1531
+
1532
+ /**
1533
+ * Percentage of spare funds (if any) that are burnt per spend period.
1534
+ **/
1535
+ burn: Permill;
1536
+
1537
+ /**
1538
+ * The treasury's pallet id, used for deriving its sovereign account ID.
1539
+ **/
1540
+ palletId: FrameSupportPalletId;
1541
+
1542
+ /**
1543
+ * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
1544
+ * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
1545
+ *
1546
+ * The maximum number of approvals that can wait in the spending queue.
1547
+ *
1548
+ * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
1549
+ **/
1550
+ maxApprovals: number;
1551
+
1552
+ /**
1553
+ * The period during which an approved treasury spend has to be claimed.
1554
+ **/
1555
+ payoutPeriod: number;
1556
+
1557
+ /**
1558
+ * Gets this pallet's derived pot account.
1559
+ **/
1560
+ potAccount: AccountId32;
1561
+
1562
+ /**
1563
+ * Generic pallet constant
1564
+ **/
1565
+ [name: string]: any;
1566
+ };
1567
+ /**
1568
+ * Pallet `ConvictionVoting`'s constants
1569
+ **/
1570
+ convictionVoting: {
1571
+ /**
1572
+ * The maximum number of concurrent votes an account may have.
1573
+ *
1574
+ * Also used to compute weight, an overly large value can lead to extrinsics with large
1575
+ * weight estimation: see `delegate` for instance.
1576
+ **/
1577
+ maxVotes: number;
1578
+
1579
+ /**
1580
+ * The minimum period of vote locking.
1581
+ *
1582
+ * It should be no shorter than enactment period to ensure that in the case of an approval,
1583
+ * those successful voters are locked into the consequences that their votes entail.
1584
+ **/
1585
+ voteLockingPeriod: number;
1586
+
1587
+ /**
1588
+ * Generic pallet constant
1589
+ **/
1590
+ [name: string]: any;
1591
+ };
1592
+ /**
1593
+ * Pallet `Referenda`'s constants
1594
+ **/
1595
+ referenda: {
1596
+ /**
1597
+ * The minimum amount to be used as a deposit for a public referendum proposal.
1598
+ **/
1599
+ submissionDeposit: bigint;
1600
+
1601
+ /**
1602
+ * Maximum size of the referendum queue for a single track.
1603
+ **/
1604
+ maxQueued: number;
1605
+
1606
+ /**
1607
+ * The number of blocks after submission that a referendum must begin being decided by.
1608
+ * Once this passes, then anyone may cancel the referendum.
1609
+ **/
1610
+ undecidingTimeout: number;
1611
+
1612
+ /**
1613
+ * Quantization level for the referendum wakeup scheduler. A higher number will result in
1614
+ * fewer storage reads/writes needed for smaller voters, but also result in delays to the
1615
+ * automatic referendum status changes. Explicit servicing instructions are unaffected.
1616
+ **/
1617
+ alarmInterval: number;
1618
+
1619
+ /**
1620
+ * A list of tracks.
1621
+ *
1622
+ * Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
1623
+ **/
1624
+ tracks: Array<[number, PalletReferendaTrackDetails]>;
1625
+
1626
+ /**
1627
+ * Generic pallet constant
1628
+ **/
1629
+ [name: string]: any;
1630
+ };
1631
+ /**
1632
+ * Pallet `Origins`'s constants
1633
+ **/
1634
+ origins: {
1635
+ /**
1636
+ * Generic pallet constant
1637
+ **/
1638
+ [name: string]: any;
1639
+ };
1640
+ /**
1641
+ * Pallet `Whitelist`'s constants
1642
+ **/
1643
+ whitelist: {
1644
+ /**
1645
+ * Generic pallet constant
1646
+ **/
1647
+ [name: string]: any;
1648
+ };
1649
+ /**
1650
+ * Pallet `Bounties`'s constants
1651
+ **/
1652
+ bounties: {
1653
+ /**
1654
+ * The amount held on deposit for placing a bounty proposal.
1655
+ **/
1656
+ bountyDepositBase: bigint;
1657
+
1658
+ /**
1659
+ * The delay period for which a bounty beneficiary need to wait before claim the payout.
1660
+ **/
1661
+ bountyDepositPayoutDelay: number;
1662
+
1663
+ /**
1664
+ * The time limit for a curator to act before a bounty expires.
1665
+ *
1666
+ * The period that starts when a curator is approved, during which they must execute or
1667
+ * update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
1668
+ * curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
1669
+ * removing the need for `extend_bounty_expiry`.
1670
+ **/
1671
+ bountyUpdatePeriod: number;
1672
+
1673
+ /**
1674
+ * The curator deposit is calculated as a percentage of the curator fee.
1675
+ *
1676
+ * This deposit has optional upper and lower bounds with `CuratorDepositMax` and
1677
+ * `CuratorDepositMin`.
1678
+ **/
1679
+ curatorDepositMultiplier: Permill;
1680
+
1681
+ /**
1682
+ * Maximum amount of funds that should be placed in a deposit for making a proposal.
1683
+ **/
1684
+ curatorDepositMax: bigint | undefined;
1685
+
1686
+ /**
1687
+ * Minimum amount of funds that should be placed in a deposit for making a proposal.
1688
+ **/
1689
+ curatorDepositMin: bigint | undefined;
1690
+
1691
+ /**
1692
+ * Minimum value for a bounty.
1693
+ **/
1694
+ bountyValueMinimum: bigint;
1695
+
1696
+ /**
1697
+ * The amount held on deposit per byte within the tip report reason or bounty description.
1698
+ **/
1699
+ dataDepositPerByte: bigint;
1700
+
1701
+ /**
1702
+ * Maximum acceptable reason length.
1703
+ *
1704
+ * Benchmarks depend on this value, be sure to update weights file when changing this value
1705
+ **/
1706
+ maximumReasonLength: number;
1707
+
1708
+ /**
1709
+ * Generic pallet constant
1710
+ **/
1711
+ [name: string]: any;
1712
+ };
1713
+ /**
1714
+ * Pallet `ChildBounties`'s constants
1715
+ **/
1716
+ childBounties: {
1717
+ /**
1718
+ * Maximum number of child bounties that can be added to a parent bounty.
1719
+ **/
1720
+ maxActiveChildBountyCount: number;
1721
+
1722
+ /**
1723
+ * Minimum value for a child-bounty.
1724
+ **/
1725
+ childBountyValueMinimum: bigint;
1726
+
1727
+ /**
1728
+ * Generic pallet constant
1729
+ **/
1730
+ [name: string]: any;
1731
+ };
1732
+ /**
1733
+ * Pallet `AssetRate`'s constants
1734
+ **/
1735
+ assetRate: {
1736
+ /**
1737
+ * Generic pallet constant
1738
+ **/
1739
+ [name: string]: any;
1740
+ };
1741
+ /**
1742
+ * Pallet `AhOps`'s constants
1743
+ **/
1744
+ ahOps: {
1745
+ /**
1746
+ * Generic pallet constant
1747
+ **/
1748
+ [name: string]: any;
1749
+ };
1750
+ /**
1751
+ * Pallet `AhMigrator`'s constants
1752
+ **/
1753
+ ahMigrator: {
1754
+ /**
1755
+ * Generic pallet constant
1756
+ **/
1757
+ [name: string]: any;
1758
+ };
999
1759
  }