@polkadot/api-augment 10.11.1 → 10.11.2
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/cjs/packageInfo.js +1 -1
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/substrate/consts.d.ts +88 -24
- package/substrate/errors.d.ts +84 -14
- package/substrate/events.d.ts +148 -16
- package/substrate/query.d.ts +132 -23
- package/substrate/tx.d.ts +101 -35
package/substrate/events.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
|
|
3
3
|
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { AccountId32, H256, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletAssetConversionNativeOrAssetId, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams,
|
|
6
|
+
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeTask, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletAssetConversionNativeOrAssetId, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStakingExposure, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
7
7
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/events' {
|
|
9
9
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
@@ -619,6 +619,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
619
619
|
[key: string]: AugmentedEvent<ApiType>;
|
|
620
620
|
};
|
|
621
621
|
bounties: {
|
|
622
|
+
/**
|
|
623
|
+
* A bounty is approved.
|
|
624
|
+
**/
|
|
625
|
+
BountyApproved: AugmentedEvent<ApiType, [index: u32], {
|
|
626
|
+
index: u32;
|
|
627
|
+
}>;
|
|
622
628
|
/**
|
|
623
629
|
* A bounty is awarded to a beneficiary.
|
|
624
630
|
**/
|
|
@@ -665,6 +671,26 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
665
671
|
index: u32;
|
|
666
672
|
bond: u128;
|
|
667
673
|
}>;
|
|
674
|
+
/**
|
|
675
|
+
* A bounty curator is accepted.
|
|
676
|
+
**/
|
|
677
|
+
CuratorAccepted: AugmentedEvent<ApiType, [bountyId: u32, curator: AccountId32], {
|
|
678
|
+
bountyId: u32;
|
|
679
|
+
curator: AccountId32;
|
|
680
|
+
}>;
|
|
681
|
+
/**
|
|
682
|
+
* A bounty curator is proposed.
|
|
683
|
+
**/
|
|
684
|
+
CuratorProposed: AugmentedEvent<ApiType, [bountyId: u32, curator: AccountId32], {
|
|
685
|
+
bountyId: u32;
|
|
686
|
+
curator: AccountId32;
|
|
687
|
+
}>;
|
|
688
|
+
/**
|
|
689
|
+
* A bounty curator is unassigned.
|
|
690
|
+
**/
|
|
691
|
+
CuratorUnassigned: AugmentedEvent<ApiType, [bountyId: u32], {
|
|
692
|
+
bountyId: u32;
|
|
693
|
+
}>;
|
|
668
694
|
/**
|
|
669
695
|
* Generic event
|
|
670
696
|
**/
|
|
@@ -1585,8 +1611,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1585
1611
|
/**
|
|
1586
1612
|
* At the end of the session, at least one validator was found to be offline.
|
|
1587
1613
|
**/
|
|
1588
|
-
SomeOffline: AugmentedEvent<ApiType, [offline: Vec<ITuple<[AccountId32,
|
|
1589
|
-
offline: Vec<ITuple<[AccountId32,
|
|
1614
|
+
SomeOffline: AugmentedEvent<ApiType, [offline: Vec<ITuple<[AccountId32, SpStakingExposure]>>], {
|
|
1615
|
+
offline: Vec<ITuple<[AccountId32, SpStakingExposure]>>;
|
|
1590
1616
|
}>;
|
|
1591
1617
|
/**
|
|
1592
1618
|
* Generic event
|
|
@@ -1667,8 +1693,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1667
1693
|
/**
|
|
1668
1694
|
* Message is processed.
|
|
1669
1695
|
**/
|
|
1670
|
-
Processed: AugmentedEvent<ApiType, [id:
|
|
1671
|
-
id:
|
|
1696
|
+
Processed: AugmentedEvent<ApiType, [id: H256, origin: u32, weightUsed: SpWeightsWeightV2Weight, success: bool], {
|
|
1697
|
+
id: H256;
|
|
1672
1698
|
origin: u32;
|
|
1673
1699
|
weightUsed: SpWeightsWeightV2Weight;
|
|
1674
1700
|
success: bool;
|
|
@@ -1676,8 +1702,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1676
1702
|
/**
|
|
1677
1703
|
* Message discarded due to an error in the `MessageProcessor` (usually a format error).
|
|
1678
1704
|
**/
|
|
1679
|
-
ProcessingFailed: AugmentedEvent<ApiType, [id:
|
|
1680
|
-
id:
|
|
1705
|
+
ProcessingFailed: AugmentedEvent<ApiType, [id: H256, origin: u32, error: FrameSupportMessagesProcessMessageError], {
|
|
1706
|
+
id: H256;
|
|
1681
1707
|
origin: u32;
|
|
1682
1708
|
error: FrameSupportMessagesProcessMessageError;
|
|
1683
1709
|
}>;
|
|
@@ -2166,6 +2192,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2166
2192
|
poolId: u32;
|
|
2167
2193
|
member: AccountId32;
|
|
2168
2194
|
}>;
|
|
2195
|
+
/**
|
|
2196
|
+
* Topped up deficit in frozen ED of the reward pool.
|
|
2197
|
+
**/
|
|
2198
|
+
MinBalanceDeficitAdjusted: AugmentedEvent<ApiType, [poolId: u32, amount: u128], {
|
|
2199
|
+
poolId: u32;
|
|
2200
|
+
amount: u128;
|
|
2201
|
+
}>;
|
|
2202
|
+
/**
|
|
2203
|
+
* Claimed excess frozen ED of af the reward pool.
|
|
2204
|
+
**/
|
|
2205
|
+
MinBalanceExcessAdjusted: AugmentedEvent<ApiType, [poolId: u32, amount: u128], {
|
|
2206
|
+
poolId: u32;
|
|
2207
|
+
amount: u128;
|
|
2208
|
+
}>;
|
|
2169
2209
|
/**
|
|
2170
2210
|
* A payout has been made to a member.
|
|
2171
2211
|
**/
|
|
@@ -2188,6 +2228,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2188
2228
|
poolId: u32;
|
|
2189
2229
|
commission: u128;
|
|
2190
2230
|
}>;
|
|
2231
|
+
/**
|
|
2232
|
+
* Pool commission claim permission has been updated.
|
|
2233
|
+
**/
|
|
2234
|
+
PoolCommissionClaimPermissionUpdated: AugmentedEvent<ApiType, [poolId: u32, permission: Option<PalletNominationPoolsCommissionClaimPermission>], {
|
|
2235
|
+
poolId: u32;
|
|
2236
|
+
permission: Option<PalletNominationPoolsCommissionClaimPermission>;
|
|
2237
|
+
}>;
|
|
2191
2238
|
/**
|
|
2192
2239
|
* A pool's commission setting has been changed.
|
|
2193
2240
|
**/
|
|
@@ -2643,7 +2690,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2643
2690
|
tally: PalletRankedCollectiveTally;
|
|
2644
2691
|
}>;
|
|
2645
2692
|
/**
|
|
2646
|
-
* A deposit has been
|
|
2693
|
+
* A deposit has been slashed.
|
|
2647
2694
|
**/
|
|
2648
2695
|
DepositSlashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
2649
2696
|
who: AccountId32;
|
|
@@ -2805,7 +2852,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2805
2852
|
tally: PalletConvictionVotingTally;
|
|
2806
2853
|
}>;
|
|
2807
2854
|
/**
|
|
2808
|
-
* A deposit has been
|
|
2855
|
+
* A deposit has been slashed.
|
|
2809
2856
|
**/
|
|
2810
2857
|
DepositSlashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
2811
2858
|
who: AccountId32;
|
|
@@ -2880,6 +2927,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2880
2927
|
**/
|
|
2881
2928
|
[key: string]: AugmentedEvent<ApiType>;
|
|
2882
2929
|
};
|
|
2930
|
+
rootTesting: {
|
|
2931
|
+
/**
|
|
2932
|
+
* Event dispatched when the trigger_defensive extrinsic is called.
|
|
2933
|
+
**/
|
|
2934
|
+
DefensiveTestCall: AugmentedEvent<ApiType, []>;
|
|
2935
|
+
/**
|
|
2936
|
+
* Generic event
|
|
2937
|
+
**/
|
|
2938
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
2939
|
+
};
|
|
2883
2940
|
safeMode: {
|
|
2884
2941
|
/**
|
|
2885
2942
|
* Could not hold funds for entering or extending the safe-mode.
|
|
@@ -3033,6 +3090,18 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3033
3090
|
**/
|
|
3034
3091
|
[key: string]: AugmentedEvent<ApiType>;
|
|
3035
3092
|
};
|
|
3093
|
+
skipFeelessPayment: {
|
|
3094
|
+
/**
|
|
3095
|
+
* A transaction fee was skipped.
|
|
3096
|
+
**/
|
|
3097
|
+
FeeSkipped: AugmentedEvent<ApiType, [who: AccountId32], {
|
|
3098
|
+
who: AccountId32;
|
|
3099
|
+
}>;
|
|
3100
|
+
/**
|
|
3101
|
+
* Generic event
|
|
3102
|
+
**/
|
|
3103
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
3104
|
+
};
|
|
3036
3105
|
society: {
|
|
3037
3106
|
/**
|
|
3038
3107
|
* A candidate was dropped (due to an excess of bids in the system).
|
|
@@ -3207,10 +3276,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3207
3276
|
validatorStash: AccountId32;
|
|
3208
3277
|
}>;
|
|
3209
3278
|
/**
|
|
3210
|
-
* The nominator has been rewarded by this amount.
|
|
3279
|
+
* The nominator has been rewarded by this amount to this destination.
|
|
3211
3280
|
**/
|
|
3212
|
-
Rewarded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], {
|
|
3281
|
+
Rewarded: AugmentedEvent<ApiType, [stash: AccountId32, dest: PalletStakingRewardDestination, amount: u128], {
|
|
3213
3282
|
stash: AccountId32;
|
|
3283
|
+
dest: PalletStakingRewardDestination;
|
|
3214
3284
|
amount: u128;
|
|
3215
3285
|
}>;
|
|
3216
3286
|
/**
|
|
@@ -3323,19 +3393,24 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3323
3393
|
};
|
|
3324
3394
|
sudo: {
|
|
3325
3395
|
/**
|
|
3326
|
-
* The
|
|
3396
|
+
* The sudo key has been updated.
|
|
3327
3397
|
**/
|
|
3328
|
-
KeyChanged: AugmentedEvent<ApiType, [
|
|
3329
|
-
|
|
3398
|
+
KeyChanged: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: AccountId32], {
|
|
3399
|
+
old: Option<AccountId32>;
|
|
3400
|
+
new_: AccountId32;
|
|
3330
3401
|
}>;
|
|
3331
3402
|
/**
|
|
3332
|
-
*
|
|
3403
|
+
* The key was permanently removed.
|
|
3404
|
+
**/
|
|
3405
|
+
KeyRemoved: AugmentedEvent<ApiType, []>;
|
|
3406
|
+
/**
|
|
3407
|
+
* A sudo call just took place.
|
|
3333
3408
|
**/
|
|
3334
3409
|
Sudid: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], {
|
|
3335
3410
|
sudoResult: Result<Null, SpRuntimeDispatchError>;
|
|
3336
3411
|
}>;
|
|
3337
3412
|
/**
|
|
3338
|
-
* A
|
|
3413
|
+
* A [sudo_as](Pallet::sudo_as) call just took place.
|
|
3339
3414
|
**/
|
|
3340
3415
|
SudoAsDone: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], {
|
|
3341
3416
|
sudoResult: Result<Null, SpRuntimeDispatchError>;
|
|
@@ -3382,6 +3457,25 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3382
3457
|
sender: AccountId32;
|
|
3383
3458
|
hash_: H256;
|
|
3384
3459
|
}>;
|
|
3460
|
+
/**
|
|
3461
|
+
* A [`Task`] has finished executing.
|
|
3462
|
+
**/
|
|
3463
|
+
TaskCompleted: AugmentedEvent<ApiType, [task: KitchensinkRuntimeRuntimeTask], {
|
|
3464
|
+
task: KitchensinkRuntimeRuntimeTask;
|
|
3465
|
+
}>;
|
|
3466
|
+
/**
|
|
3467
|
+
* A [`Task`] failed during execution.
|
|
3468
|
+
**/
|
|
3469
|
+
TaskFailed: AugmentedEvent<ApiType, [task: KitchensinkRuntimeRuntimeTask, err: SpRuntimeDispatchError], {
|
|
3470
|
+
task: KitchensinkRuntimeRuntimeTask;
|
|
3471
|
+
err: SpRuntimeDispatchError;
|
|
3472
|
+
}>;
|
|
3473
|
+
/**
|
|
3474
|
+
* A [`Task`] has started executing
|
|
3475
|
+
**/
|
|
3476
|
+
TaskStarted: AugmentedEvent<ApiType, [task: KitchensinkRuntimeRuntimeTask], {
|
|
3477
|
+
task: KitchensinkRuntimeRuntimeTask;
|
|
3478
|
+
}>;
|
|
3385
3479
|
/**
|
|
3386
3480
|
* Generic event
|
|
3387
3481
|
**/
|
|
@@ -3556,6 +3650,23 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3556
3650
|
[key: string]: AugmentedEvent<ApiType>;
|
|
3557
3651
|
};
|
|
3558
3652
|
treasury: {
|
|
3653
|
+
/**
|
|
3654
|
+
* A new asset spend proposal has been approved.
|
|
3655
|
+
**/
|
|
3656
|
+
AssetSpendApproved: AugmentedEvent<ApiType, [index: u32, assetKind: u32, amount: u128, beneficiary: AccountId32, validFrom: u32, expireAt: u32], {
|
|
3657
|
+
index: u32;
|
|
3658
|
+
assetKind: u32;
|
|
3659
|
+
amount: u128;
|
|
3660
|
+
beneficiary: AccountId32;
|
|
3661
|
+
validFrom: u32;
|
|
3662
|
+
expireAt: u32;
|
|
3663
|
+
}>;
|
|
3664
|
+
/**
|
|
3665
|
+
* An approved spend was voided.
|
|
3666
|
+
**/
|
|
3667
|
+
AssetSpendVoided: AugmentedEvent<ApiType, [index: u32], {
|
|
3668
|
+
index: u32;
|
|
3669
|
+
}>;
|
|
3559
3670
|
/**
|
|
3560
3671
|
* Some funds have been allocated.
|
|
3561
3672
|
**/
|
|
@@ -3576,6 +3687,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3576
3687
|
Deposit: AugmentedEvent<ApiType, [value: u128], {
|
|
3577
3688
|
value: u128;
|
|
3578
3689
|
}>;
|
|
3690
|
+
/**
|
|
3691
|
+
* A payment happened.
|
|
3692
|
+
**/
|
|
3693
|
+
Paid: AugmentedEvent<ApiType, [index: u32, paymentId: Null], {
|
|
3694
|
+
index: u32;
|
|
3695
|
+
paymentId: Null;
|
|
3696
|
+
}>;
|
|
3697
|
+
/**
|
|
3698
|
+
* A payment failed and can be retried.
|
|
3699
|
+
**/
|
|
3700
|
+
PaymentFailed: AugmentedEvent<ApiType, [index: u32, paymentId: Null], {
|
|
3701
|
+
index: u32;
|
|
3702
|
+
paymentId: Null;
|
|
3703
|
+
}>;
|
|
3579
3704
|
/**
|
|
3580
3705
|
* New proposal.
|
|
3581
3706
|
**/
|
|
@@ -3609,6 +3734,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3609
3734
|
Spending: AugmentedEvent<ApiType, [budgetRemaining: u128], {
|
|
3610
3735
|
budgetRemaining: u128;
|
|
3611
3736
|
}>;
|
|
3737
|
+
/**
|
|
3738
|
+
* A spend was processed and removed from the storage. It might have been successfully
|
|
3739
|
+
* paid or it may have expired.
|
|
3740
|
+
**/
|
|
3741
|
+
SpendProcessed: AugmentedEvent<ApiType, [index: u32], {
|
|
3742
|
+
index: u32;
|
|
3743
|
+
}>;
|
|
3612
3744
|
/**
|
|
3613
3745
|
* The inactive funds of the pallet have been updated.
|
|
3614
3746
|
**/
|
package/substrate/query.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '@polkadot/api-base/types/storage';
|
|
2
2
|
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
|
3
3
|
import type { Data } from '@polkadot/types';
|
|
4
|
-
import type { BTreeSet, Bytes, Null, Option,
|
|
4
|
+
import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
5
5
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase,
|
|
7
|
+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetConversionNativeOrAssetId, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmountRuntimeFreezeReason, PalletBalancesIdAmountRuntimeHoldReason, PalletBalancesReserveData, PalletBountiesBounty, PalletBrokerAllowedRenewalId, PalletBrokerAllowedRenewalRecord, PalletBrokerConfigRecord, PalletBrokerContributionRecord, PalletBrokerInstaPoolHistoryRecord, PalletBrokerLeaseRecordItem, PalletBrokerPoolIoRecord, PalletBrokerRegionId, PalletBrokerRegionRecord, PalletBrokerSaleInfoRecord, PalletBrokerScheduleItem, PalletBrokerStatusRecord, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmCodeInfo, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMixnetBoundedMixnode, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpMixnetAppPublic, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata } from '@polkadot/types/lookup';
|
|
8
8
|
import type { Observable } from '@polkadot/types/types';
|
|
9
9
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
10
10
|
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
@@ -305,14 +305,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
305
305
|
/**
|
|
306
306
|
* Freeze locks on account balances.
|
|
307
307
|
**/
|
|
308
|
-
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<
|
|
308
|
+
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmountRuntimeFreezeReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
309
309
|
/**
|
|
310
310
|
* Holds on account balances.
|
|
311
311
|
**/
|
|
312
|
-
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<
|
|
313
|
-
readonly id: KitchensinkRuntimeRuntimeHoldReason;
|
|
314
|
-
readonly amount: u128;
|
|
315
|
-
} & Struct>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
312
|
+
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmountRuntimeHoldReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
316
313
|
/**
|
|
317
314
|
* The total units of outstanding deactivated balance in the system.
|
|
318
315
|
**/
|
|
@@ -604,7 +601,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
604
601
|
lowestUnbaked: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
605
602
|
/**
|
|
606
603
|
* General information concerning any proposal or referendum.
|
|
607
|
-
* The `
|
|
604
|
+
* The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
|
|
608
605
|
* dump or IPFS hash of a JSON file.
|
|
609
606
|
*
|
|
610
607
|
* Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
|
|
@@ -842,6 +839,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
842
839
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
843
840
|
};
|
|
844
841
|
grandpa: {
|
|
842
|
+
/**
|
|
843
|
+
* The current list of authorities.
|
|
844
|
+
**/
|
|
845
|
+
authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
845
846
|
/**
|
|
846
847
|
* The number of changes (both in terms of keys and underlying economic responsibilities)
|
|
847
848
|
* in the "set" of Grandpa validators from genesis.
|
|
@@ -1005,6 +1006,34 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1005
1006
|
**/
|
|
1006
1007
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1007
1008
|
};
|
|
1009
|
+
mixnet: {
|
|
1010
|
+
/**
|
|
1011
|
+
* Index of the current session. This may be offset relative to the session index tracked by
|
|
1012
|
+
* eg `pallet_session`; mixnet session indices are independent.
|
|
1013
|
+
**/
|
|
1014
|
+
currentSessionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1015
|
+
/**
|
|
1016
|
+
* Block in which the current session started.
|
|
1017
|
+
**/
|
|
1018
|
+
currentSessionStartBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1019
|
+
/**
|
|
1020
|
+
* Mixnode sets by session index. Only the mixnode sets for the previous, current, and next
|
|
1021
|
+
* sessions are kept; older sets are discarded.
|
|
1022
|
+
*
|
|
1023
|
+
* The mixnodes in each set are keyed by authority index so we can easily check if an
|
|
1024
|
+
* authority has registered a mixnode. The authority indices should only be used during
|
|
1025
|
+
* registration; the authority indices for the very first session are made up.
|
|
1026
|
+
**/
|
|
1027
|
+
mixnodes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletMixnetBoundedMixnode>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
1028
|
+
/**
|
|
1029
|
+
* Authority list for the next session.
|
|
1030
|
+
**/
|
|
1031
|
+
nextAuthorityIds: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<SpMixnetAppPublic>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1032
|
+
/**
|
|
1033
|
+
* Generic query
|
|
1034
|
+
**/
|
|
1035
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1036
|
+
};
|
|
1008
1037
|
mmr: {
|
|
1009
1038
|
/**
|
|
1010
1039
|
* Hashes of the nodes in the MMR.
|
|
@@ -1249,6 +1278,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1249
1278
|
* bonded pool, hence the name sub-pools. Keyed by the bonded pools account.
|
|
1250
1279
|
**/
|
|
1251
1280
|
subPoolsStorage: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsSubPools>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1281
|
+
/**
|
|
1282
|
+
* The sum of funds across all pools.
|
|
1283
|
+
*
|
|
1284
|
+
* This might be lower but never higher than the sum of `total_balance` of all [`PoolMembers`]
|
|
1285
|
+
* because calling `pool_withdraw_unbonded` might decrease the total stake of the pool's
|
|
1286
|
+
* `bonded_account` without adjusting the pallet-internal `UnbondingPool`'s.
|
|
1287
|
+
**/
|
|
1288
|
+
totalValueLocked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1252
1289
|
/**
|
|
1253
1290
|
* Generic query
|
|
1254
1291
|
**/
|
|
@@ -1330,7 +1367,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1330
1367
|
/**
|
|
1331
1368
|
* The request status of a given hash.
|
|
1332
1369
|
**/
|
|
1333
|
-
|
|
1370
|
+
requestStatusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1371
|
+
/**
|
|
1372
|
+
* The request status of a given hash.
|
|
1373
|
+
**/
|
|
1374
|
+
statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageOldRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1334
1375
|
/**
|
|
1335
1376
|
* Generic query
|
|
1336
1377
|
**/
|
|
@@ -1399,7 +1440,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1399
1440
|
decidingCount: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<u32>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
|
|
1400
1441
|
/**
|
|
1401
1442
|
* The metadata is a general information concerning the referendum.
|
|
1402
|
-
* The `
|
|
1443
|
+
* The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
|
|
1403
1444
|
* dump or IPFS hash of a JSON file.
|
|
1404
1445
|
*
|
|
1405
1446
|
* Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
|
|
@@ -1456,7 +1497,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1456
1497
|
decidingCount: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<u32>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
|
|
1457
1498
|
/**
|
|
1458
1499
|
* The metadata is a general information concerning the referendum.
|
|
1459
|
-
* The `
|
|
1500
|
+
* The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
|
|
1460
1501
|
* dump or IPFS hash of a JSON file.
|
|
1461
1502
|
*
|
|
1462
1503
|
* Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
|
|
@@ -1695,6 +1736,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1695
1736
|
* (`CountFor*`) in the system compared to the configured max (`Max*Count`).
|
|
1696
1737
|
**/
|
|
1697
1738
|
chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1739
|
+
/**
|
|
1740
|
+
* History of claimed paged rewards by era and validator.
|
|
1741
|
+
*
|
|
1742
|
+
* This is keyed by era and validator stash which maps to the set of page indexes which have
|
|
1743
|
+
* been claimed.
|
|
1744
|
+
*
|
|
1745
|
+
* It is removed after [`Config::HistoryDepth`] eras.
|
|
1746
|
+
**/
|
|
1747
|
+
claimedRewards: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Vec<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1698
1748
|
/**
|
|
1699
1749
|
* Counter for the related counted storage map
|
|
1700
1750
|
**/
|
|
@@ -1717,7 +1767,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1717
1767
|
**/
|
|
1718
1768
|
currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1719
1769
|
/**
|
|
1720
|
-
* Rewards for the last `
|
|
1770
|
+
* Rewards for the last [`Config::HistoryDepth`] eras.
|
|
1721
1771
|
* If reward hasn't been set or has been removed then 0 reward is returned.
|
|
1722
1772
|
**/
|
|
1723
1773
|
erasRewardPoints: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletStakingEraRewardPoints>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
@@ -1726,33 +1776,64 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1726
1776
|
*
|
|
1727
1777
|
* This is keyed first by the era index to allow bulk deletion and then the stash account.
|
|
1728
1778
|
*
|
|
1729
|
-
* Is it removed after `
|
|
1779
|
+
* Is it removed after [`Config::HistoryDepth`] eras.
|
|
1730
1780
|
* If stakers hasn't been set or has been removed then empty exposure is returned.
|
|
1781
|
+
*
|
|
1782
|
+
* Note: Deprecated since v14. Use `EraInfo` instead to work with exposures.
|
|
1731
1783
|
**/
|
|
1732
|
-
erasStakers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<
|
|
1784
|
+
erasStakers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<SpStakingExposure>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1733
1785
|
/**
|
|
1734
1786
|
* Clipped Exposure of validator at era.
|
|
1735
1787
|
*
|
|
1788
|
+
* Note: This is deprecated, should be used as read-only and will be removed in the future.
|
|
1789
|
+
* New `Exposure`s are stored in a paged manner in `ErasStakersPaged` instead.
|
|
1790
|
+
*
|
|
1736
1791
|
* This is similar to [`ErasStakers`] but number of nominators exposed is reduced to the
|
|
1737
|
-
* `T::
|
|
1792
|
+
* `T::MaxExposurePageSize` biggest stakers.
|
|
1738
1793
|
* (Note: the field `total` and `own` of the exposure remains unchanged).
|
|
1739
1794
|
* This is used to limit the i/o cost for the nominator payout.
|
|
1740
1795
|
*
|
|
1741
1796
|
* This is keyed fist by the era index to allow bulk deletion and then the stash account.
|
|
1742
1797
|
*
|
|
1743
|
-
*
|
|
1798
|
+
* It is removed after [`Config::HistoryDepth`] eras.
|
|
1744
1799
|
* If stakers hasn't been set or has been removed then empty exposure is returned.
|
|
1800
|
+
*
|
|
1801
|
+
* Note: Deprecated since v14. Use `EraInfo` instead to work with exposures.
|
|
1802
|
+
**/
|
|
1803
|
+
erasStakersClipped: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<SpStakingExposure>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1804
|
+
/**
|
|
1805
|
+
* Summary of validator exposure at a given era.
|
|
1806
|
+
*
|
|
1807
|
+
* This contains the total stake in support of the validator and their own stake. In addition,
|
|
1808
|
+
* it can also be used to get the number of nominators backing this validator and the number of
|
|
1809
|
+
* exposure pages they are divided into. The page count is useful to determine the number of
|
|
1810
|
+
* pages of rewards that needs to be claimed.
|
|
1811
|
+
*
|
|
1812
|
+
* This is keyed first by the era index to allow bulk deletion and then the stash account.
|
|
1813
|
+
* Should only be accessed through `EraInfo`.
|
|
1814
|
+
*
|
|
1815
|
+
* Is it removed after [`Config::HistoryDepth`] eras.
|
|
1816
|
+
* If stakers hasn't been set or has been removed then empty overview is returned.
|
|
1745
1817
|
**/
|
|
1746
|
-
|
|
1818
|
+
erasStakersOverview: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<SpStakingPagedExposureMetadata>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1747
1819
|
/**
|
|
1748
|
-
*
|
|
1820
|
+
* Paginated exposure of a validator at given era.
|
|
1821
|
+
*
|
|
1822
|
+
* This is keyed first by the era index to allow bulk deletion, then stash account and finally
|
|
1823
|
+
* the page. Should only be accessed through `EraInfo`.
|
|
1824
|
+
*
|
|
1825
|
+
* This is cleared after [`Config::HistoryDepth`] eras.
|
|
1826
|
+
**/
|
|
1827
|
+
erasStakersPaged: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<SpStakingExposurePage>>, [u32, AccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, u32]>;
|
|
1828
|
+
/**
|
|
1829
|
+
* The session index at which the era start for the last [`Config::HistoryDepth`] eras.
|
|
1749
1830
|
*
|
|
1750
1831
|
* Note: This tracks the starting session (i.e. session index when era start being active)
|
|
1751
1832
|
* for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`.
|
|
1752
1833
|
**/
|
|
1753
1834
|
erasStartSessionIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1754
1835
|
/**
|
|
1755
|
-
* The total amount staked for the last `
|
|
1836
|
+
* The total amount staked for the last [`Config::HistoryDepth`] eras.
|
|
1756
1837
|
* If total hasn't been set or has been removed then 0 stake is returned.
|
|
1757
1838
|
**/
|
|
1758
1839
|
erasTotalStake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
@@ -1761,11 +1842,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1761
1842
|
*
|
|
1762
1843
|
* This is keyed first by the era index to allow bulk deletion and then the stash account.
|
|
1763
1844
|
*
|
|
1764
|
-
* Is it removed after `
|
|
1845
|
+
* Is it removed after [`Config::HistoryDepth`] eras.
|
|
1765
1846
|
**/
|
|
1766
1847
|
erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1767
1848
|
/**
|
|
1768
|
-
* The total validator era payout for the last `
|
|
1849
|
+
* The total validator era payout for the last [`Config::HistoryDepth`] eras.
|
|
1769
1850
|
*
|
|
1770
1851
|
* Eras that haven't finished yet or has been removed doesn't have reward.
|
|
1771
1852
|
**/
|
|
@@ -1782,6 +1863,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1782
1863
|
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1783
1864
|
/**
|
|
1784
1865
|
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
|
1866
|
+
*
|
|
1867
|
+
* Note: All the reads and mutations to this storage *MUST* be done through the methods exposed
|
|
1868
|
+
* by [`StakingLedger`] to ensure data and lock consistency.
|
|
1785
1869
|
**/
|
|
1786
1870
|
ledger: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingStakingLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1787
1871
|
/**
|
|
@@ -2022,6 +2106,20 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2022
2106
|
**/
|
|
2023
2107
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2024
2108
|
};
|
|
2109
|
+
tasksExample: {
|
|
2110
|
+
/**
|
|
2111
|
+
* Numbers to be added into the total.
|
|
2112
|
+
**/
|
|
2113
|
+
numbers: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2114
|
+
/**
|
|
2115
|
+
* Some running total.
|
|
2116
|
+
**/
|
|
2117
|
+
total: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, u32]>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2118
|
+
/**
|
|
2119
|
+
* Generic query
|
|
2120
|
+
**/
|
|
2121
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2122
|
+
};
|
|
2025
2123
|
technicalCommittee: {
|
|
2026
2124
|
/**
|
|
2027
2125
|
* The current members of the collective. This is stored sorted (just by value).
|
|
@@ -2068,11 +2166,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2068
2166
|
};
|
|
2069
2167
|
timestamp: {
|
|
2070
2168
|
/**
|
|
2071
|
-
*
|
|
2169
|
+
* Whether the timestamp has been updated in this block.
|
|
2170
|
+
*
|
|
2171
|
+
* This value is updated to `true` upon successful submission of a timestamp by a node.
|
|
2172
|
+
* It is then checked at the end of each block execution in the `on_finalize` hook.
|
|
2072
2173
|
**/
|
|
2073
2174
|
didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2074
2175
|
/**
|
|
2075
|
-
*
|
|
2176
|
+
* The current time for the current block.
|
|
2076
2177
|
**/
|
|
2077
2178
|
now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2078
2179
|
/**
|
|
@@ -2154,6 +2255,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2154
2255
|
* Proposals that have been made.
|
|
2155
2256
|
**/
|
|
2156
2257
|
proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2258
|
+
/**
|
|
2259
|
+
* The count of spends that have been made.
|
|
2260
|
+
**/
|
|
2261
|
+
spendCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2262
|
+
/**
|
|
2263
|
+
* Spends that have been approved and being processed.
|
|
2264
|
+
**/
|
|
2265
|
+
spends: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasurySpendStatus>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2157
2266
|
/**
|
|
2158
2267
|
* Generic query
|
|
2159
2268
|
**/
|