Skip to content

Commit f09f025

Browse files
author
debot
committed
chore: regenerate chaintypes
1 parent 410e660 commit f09f025

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

packages/chaintypes/src/moonbeam/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
5151

5252
/**
5353
* @name: MoonbeamApi
54-
* @specVersion: 4102
54+
* @specVersion: 4103
5555
**/
5656
export interface MoonbeamApi extends GenericSubstrateApi {
5757
rpc: ChainJsonRpcApis;

packages/chaintypes/src/moonbeam/query.d.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ import type {
4646
PalletParachainStakingDelegator,
4747
PalletParachainStakingCandidateMetadata,
4848
PalletParachainStakingDelegationRequestsScheduledRequest,
49+
PalletParachainStakingDelegationRequestsDelegationAction,
4950
PalletParachainStakingAutoCompoundAutoCompoundConfig,
5051
PalletParachainStakingDelegations,
5152
PalletParachainStakingSetBoundedOrderedSet,
@@ -787,6 +788,22 @@ export interface ChainStorage extends GenericChainStorage {
787788
**/
788789
delegationScheduledRequestsPerCollator: GenericStorageQuery<(arg: AccountId20Like) => number, AccountId20>;
789790

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+
790807
/**
791808
* Stores auto-compounding configuration per collator.
792809
*

0 commit comments

Comments
 (0)