@dedot/chaintypes 0.236.0 → 0.238.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/astar/index.d.ts CHANGED
@@ -46,7 +46,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
46
46
 
47
47
  /**
48
48
  * @name: AstarApi
49
- * @specVersion: 2000
49
+ * @specVersion: 2001
50
50
  **/
51
51
  export interface AstarApi extends GenericSubstrateApi {
52
52
  rpc: ChainJsonRpcApis;
@@ -51,7 +51,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
51
51
 
52
52
  /**
53
53
  * @name: MoonbeamApi
54
- * @specVersion: 4102
54
+ * @specVersion: 4103
55
55
  **/
56
56
  export interface MoonbeamApi extends GenericSubstrateApi {
57
57
  rpc: ChainJsonRpcApis;
@@ -46,6 +46,7 @@ import type {
46
46
  PalletParachainStakingDelegator,
47
47
  PalletParachainStakingCandidateMetadata,
48
48
  PalletParachainStakingDelegationRequestsScheduledRequest,
49
+ PalletParachainStakingDelegationRequestsDelegationAction,
49
50
  PalletParachainStakingAutoCompoundAutoCompoundConfig,
50
51
  PalletParachainStakingDelegations,
51
52
  PalletParachainStakingSetBoundedOrderedSet,
@@ -787,6 +788,22 @@ export interface ChainStorage extends GenericChainStorage {
787
788
  **/
788
789
  delegationScheduledRequestsPerCollator: GenericStorageQuery<(arg: AccountId20Like) => number, AccountId20>;
789
790
 
791
+ /**
792
+ * Summary of pending delegation actions for a (collator, delegator) pair.
793
+ *
794
+ * Stores `DelegationAction::Revoke(bond)` when a revocation is pending, or
795
+ * `DelegationAction::Decrease(total)` with the aggregated sum of all pending
796
+ * decrease amounts. Used during round transitions to adjust reward
797
+ * calculations without reading the full `DelegationScheduledRequests`.
798
+ *
799
+ * @param {[AccountId20Like, AccountId20Like]} arg
800
+ * @param {Callback<PalletParachainStakingDelegationRequestsDelegationAction | undefined> =} callback
801
+ **/
802
+ delegationScheduledRequestsSummaryMap: GenericStorageQuery<
803
+ (arg: [AccountId20Like, AccountId20Like]) => PalletParachainStakingDelegationRequestsDelegationAction | undefined,
804
+ [AccountId20, AccountId20]
805
+ >;
806
+
790
807
  /**
791
808
  * Stores auto-compounding configuration per collator.
792
809
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/chaintypes",
3
- "version": "0.236.0",
3
+ "version": "0.238.0",
4
4
  "description": "Types for substrate-based chains",
5
5
  "author": "Thang X. Vu <thang@dedot.dev>",
6
6
  "homepage": "https://dedot.dev",
@@ -25,7 +25,7 @@
25
25
  "directory": "dist"
26
26
  },
27
27
  "license": "Apache-2.0",
28
- "gitHead": "98027b5c1e8f0136dd6ab8ab1c61ad849a2a30b5",
28
+ "gitHead": "a780708313273eb0976e379f55d5e5c119ffdf49",
29
29
  "module": "./index.js",
30
30
  "types": "./index.d.ts",
31
31
  "exports": {