@dedot/chaintypes 0.237.0 → 0.239.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/kusama/index.d.ts +1 -1
- package/kusama-asset-hub/index.d.ts +1 -1
- package/kusama-people/index.d.ts +1 -1
- package/moonbeam/index.d.ts +1 -1
- package/moonbeam/query.d.ts +17 -0
- package/package.json +2 -2
package/kusama/index.d.ts
CHANGED
package/kusama-people/index.d.ts
CHANGED
package/moonbeam/index.d.ts
CHANGED
package/moonbeam/query.d.ts
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "0.239.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": "
|
|
28
|
+
"gitHead": "7416ba7e713f1964fb04a876d9e0c210d3325f53",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|