@dedot/chaintypes 0.241.0 → 0.243.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.
@@ -28,11 +28,6 @@ import type {
28
28
  PalletTransactionPaymentReleases,
29
29
  PalletTreasuryProposal,
30
30
  PalletTreasurySpendStatus,
31
- FrameSupportPreimagesBounded,
32
- PalletDemocracyReferendumInfo,
33
- PalletDemocracyVoteVoting,
34
- PalletDemocracyVoteThreshold,
35
- PalletDemocracyMetadataOwner,
36
31
  BasiliskRuntimeRuntimeCall,
37
32
  PalletCollectiveVotes,
38
33
  OrmlVestingVestingSchedule,
@@ -100,6 +95,7 @@ import type {
100
95
  PalletLiquidityMiningYieldFarmData,
101
96
  PalletLiquidityMiningDepositData,
102
97
  PalletBroadcastExecutionType,
98
+ PalletMigrationsMigrationCursor,
103
99
  PalletEmaOracleOracleEntry,
104
100
  BasiliskTraitsOracleOraclePeriod,
105
101
  OrmlTokensBalanceLock,
@@ -524,126 +520,6 @@ export interface ChainStorage extends GenericChainStorage {
524
520
  **/
525
521
  [storage: string]: GenericStorageQuery;
526
522
  };
527
- /**
528
- * Pallet `Democracy`'s storage queries
529
- **/
530
- democracy: {
531
- /**
532
- * The number of (public) proposals that have been made so far.
533
- *
534
- * @param {Callback<number> =} callback
535
- **/
536
- publicPropCount: GenericStorageQuery<() => number>;
537
-
538
- /**
539
- * The public proposals. Unsorted. The second item is the proposal.
540
- *
541
- * @param {Callback<Array<[number, FrameSupportPreimagesBounded, AccountId32]>> =} callback
542
- **/
543
- publicProps: GenericStorageQuery<() => Array<[number, FrameSupportPreimagesBounded, AccountId32]>>;
544
-
545
- /**
546
- * Those who have locked a deposit.
547
- *
548
- * TWOX-NOTE: Safe, as increasing integer keys are safe.
549
- *
550
- * @param {number} arg
551
- * @param {Callback<[Array<AccountId32>, bigint] | undefined> =} callback
552
- **/
553
- depositOf: GenericStorageQuery<(arg: number) => [Array<AccountId32>, bigint] | undefined, number>;
554
-
555
- /**
556
- * The next free referendum index, aka the number of referenda started so far.
557
- *
558
- * @param {Callback<number> =} callback
559
- **/
560
- referendumCount: GenericStorageQuery<() => number>;
561
-
562
- /**
563
- * The lowest referendum index representing an unbaked referendum. Equal to
564
- * `ReferendumCount` if there isn't a unbaked referendum.
565
- *
566
- * @param {Callback<number> =} callback
567
- **/
568
- lowestUnbaked: GenericStorageQuery<() => number>;
569
-
570
- /**
571
- * Information concerning any given referendum.
572
- *
573
- * TWOX-NOTE: SAFE as indexes are not under an attacker’s control.
574
- *
575
- * @param {number} arg
576
- * @param {Callback<PalletDemocracyReferendumInfo | undefined> =} callback
577
- **/
578
- referendumInfoOf: GenericStorageQuery<(arg: number) => PalletDemocracyReferendumInfo | undefined, number>;
579
-
580
- /**
581
- * All votes for a particular voter. We store the balance for the number of votes that we
582
- * have recorded. The second item is the total amount of delegations, that will be added.
583
- *
584
- * TWOX-NOTE: SAFE as `AccountId`s are crypto hashes anyway.
585
- *
586
- * @param {AccountId32Like} arg
587
- * @param {Callback<PalletDemocracyVoteVoting> =} callback
588
- **/
589
- votingOf: GenericStorageQuery<(arg: AccountId32Like) => PalletDemocracyVoteVoting, AccountId32>;
590
-
591
- /**
592
- * True if the last referendum tabled was submitted externally. False if it was a public
593
- * proposal.
594
- *
595
- * @param {Callback<boolean> =} callback
596
- **/
597
- lastTabledWasExternal: GenericStorageQuery<() => boolean>;
598
-
599
- /**
600
- * The referendum to be tabled whenever it would be valid to table an external proposal.
601
- * This happens when a referendum needs to be tabled and one of two conditions are met:
602
- * - `LastTabledWasExternal` is `false`; or
603
- * - `PublicProps` is empty.
604
- *
605
- * @param {Callback<[FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined> =} callback
606
- **/
607
- nextExternal: GenericStorageQuery<() => [FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined>;
608
-
609
- /**
610
- * A record of who vetoed what. Maps proposal hash to a possible existent block number
611
- * (until when it may not be resubmitted) and who vetoed it.
612
- *
613
- * @param {H256} arg
614
- * @param {Callback<[number, Array<AccountId32>] | undefined> =} callback
615
- **/
616
- blacklist: GenericStorageQuery<(arg: H256) => [number, Array<AccountId32>] | undefined, H256>;
617
-
618
- /**
619
- * Record of all proposals that have been subject to emergency cancellation.
620
- *
621
- * @param {H256} arg
622
- * @param {Callback<boolean> =} callback
623
- **/
624
- cancellations: GenericStorageQuery<(arg: H256) => boolean, H256>;
625
-
626
- /**
627
- * General information concerning any proposal or referendum.
628
- * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
629
- * dump or IPFS hash of a JSON file.
630
- *
631
- * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
632
- * large preimages.
633
- *
634
- * @param {PalletDemocracyMetadataOwner} arg
635
- * @param {Callback<H256 | undefined> =} callback
636
- **/
637
- metadataOf: GenericStorageQuery<
638
- (arg: PalletDemocracyMetadataOwner) => H256 | undefined,
639
- PalletDemocracyMetadataOwner
640
- >;
641
-
642
- /**
643
- * Generic pallet storage query
644
- **/
645
- [storage: string]: GenericStorageQuery;
646
- };
647
523
  /**
648
524
  * Pallet `TechnicalCommittee`'s storage queries
649
525
  **/
@@ -925,6 +801,8 @@ export interface ChainStorage extends GenericChainStorage {
925
801
  *
926
802
  * @param {H256} arg
927
803
  * @param {Callback<PalletPreimageOldRequestStatus | undefined> =} callback
804
+ *
805
+ * @deprecated RequestStatusFor
928
806
  **/
929
807
  statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
930
808
 
@@ -2252,6 +2130,35 @@ export interface ChainStorage extends GenericChainStorage {
2252
2130
  **/
2253
2131
  [storage: string]: GenericStorageQuery;
2254
2132
  };
2133
+ /**
2134
+ * Pallet `MultiBlockMigrations`'s storage queries
2135
+ **/
2136
+ multiBlockMigrations: {
2137
+ /**
2138
+ * The currently active migration to run and its cursor.
2139
+ *
2140
+ * `None` indicates that no migration is running.
2141
+ *
2142
+ * @param {Callback<PalletMigrationsMigrationCursor | undefined> =} callback
2143
+ **/
2144
+ cursor: GenericStorageQuery<() => PalletMigrationsMigrationCursor | undefined>;
2145
+
2146
+ /**
2147
+ * Set of all successfully executed migrations.
2148
+ *
2149
+ * This is used as blacklist, to not re-execute migrations that have not been removed from the
2150
+ * codebase yet. Governance can regularly clear this out via `clear_historic`.
2151
+ *
2152
+ * @param {BytesLike} arg
2153
+ * @param {Callback<[] | undefined> =} callback
2154
+ **/
2155
+ historic: GenericStorageQuery<(arg: BytesLike) => [] | undefined, Bytes>;
2156
+
2157
+ /**
2158
+ * Generic pallet storage query
2159
+ **/
2160
+ [storage: string]: GenericStorageQuery;
2161
+ };
2255
2162
  /**
2256
2163
  * Pallet `EmaOracle`'s storage queries
2257
2164
  **/