@polkadot/api-augment 9.3.3 → 9.4.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/kusama/consts.d.ts +27 -2
- package/kusama/errors.d.ts +8 -0
- package/kusama/events.d.ts +17 -17
- package/kusama/query.d.ts +2 -12
- package/kusama/tx.d.ts +15 -88
- package/package.json +8 -8
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +27 -2
- package/polkadot/errors.d.ts +8 -0
- package/polkadot/events.d.ts +17 -17
- package/polkadot/query.d.ts +2 -12
- package/polkadot/tx.d.ts +15 -88
- package/substrate/consts.d.ts +88 -55
- package/substrate/errors.d.ts +46 -10
- package/substrate/events.d.ts +110 -44
- package/substrate/query.d.ts +55 -35
- package/substrate/tx.d.ts +129 -156
package/substrate/events.d.ts
CHANGED
|
@@ -3,17 +3,18 @@ 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 } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type {
|
|
6
|
+
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
|
|
7
7
|
export declare type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/events' {
|
|
9
9
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
10
10
|
alliance: {
|
|
11
11
|
/**
|
|
12
|
-
* Alliance disbanded.
|
|
12
|
+
* Alliance disbanded. Includes number deleted members and unreserved deposits.
|
|
13
13
|
**/
|
|
14
|
-
AllianceDisbanded: AugmentedEvent<ApiType, [
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
AllianceDisbanded: AugmentedEvent<ApiType, [votingMembers: u32, allyMembers: u32, unreserved: u32], {
|
|
15
|
+
votingMembers: u32;
|
|
16
|
+
allyMembers: u32;
|
|
17
|
+
unreserved: u32;
|
|
17
18
|
}>;
|
|
18
19
|
/**
|
|
19
20
|
* An ally has been elevated to Fellow.
|
|
@@ -313,27 +314,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
313
314
|
**/
|
|
314
315
|
[key: string]: AugmentedEvent<ApiType>;
|
|
315
316
|
};
|
|
316
|
-
bagsList: {
|
|
317
|
-
/**
|
|
318
|
-
* Moved an account from one bag to another.
|
|
319
|
-
**/
|
|
320
|
-
Rebagged: AugmentedEvent<ApiType, [who: AccountId32, from: u64, to: u64], {
|
|
321
|
-
who: AccountId32;
|
|
322
|
-
from: u64;
|
|
323
|
-
to: u64;
|
|
324
|
-
}>;
|
|
325
|
-
/**
|
|
326
|
-
* Updated the score of some account to the given amount.
|
|
327
|
-
**/
|
|
328
|
-
ScoreUpdated: AugmentedEvent<ApiType, [who: AccountId32, newScore: u64], {
|
|
329
|
-
who: AccountId32;
|
|
330
|
-
newScore: u64;
|
|
331
|
-
}>;
|
|
332
|
-
/**
|
|
333
|
-
* Generic event
|
|
334
|
-
**/
|
|
335
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
336
|
-
};
|
|
337
317
|
balances: {
|
|
338
318
|
/**
|
|
339
319
|
* A balance was set by root.
|
|
@@ -506,6 +486,19 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
506
486
|
[key: string]: AugmentedEvent<ApiType>;
|
|
507
487
|
};
|
|
508
488
|
contracts: {
|
|
489
|
+
/**
|
|
490
|
+
* A contract was called either by a plain account or another contract.
|
|
491
|
+
*
|
|
492
|
+
* # Note
|
|
493
|
+
*
|
|
494
|
+
* Please keep in mind that like all events this is only emitted for successful
|
|
495
|
+
* calls. This is because on failure all storage changes including events are
|
|
496
|
+
* rolled back.
|
|
497
|
+
**/
|
|
498
|
+
Called: AugmentedEvent<ApiType, [caller: AccountId32, contract: AccountId32], {
|
|
499
|
+
caller: AccountId32;
|
|
500
|
+
contract: AccountId32;
|
|
501
|
+
}>;
|
|
509
502
|
/**
|
|
510
503
|
* A code with the specified hash was removed.
|
|
511
504
|
**/
|
|
@@ -533,6 +526,19 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
533
526
|
contract: AccountId32;
|
|
534
527
|
data: Bytes;
|
|
535
528
|
}>;
|
|
529
|
+
/**
|
|
530
|
+
* A contract delegate called a code hash.
|
|
531
|
+
*
|
|
532
|
+
* # Note
|
|
533
|
+
*
|
|
534
|
+
* Please keep in mind that like all events this is only emitted for successful
|
|
535
|
+
* calls. This is because on failure all storage changes including events are
|
|
536
|
+
* rolled back.
|
|
537
|
+
**/
|
|
538
|
+
DelegateCalled: AugmentedEvent<ApiType, [contract: AccountId32, codeHash: H256], {
|
|
539
|
+
contract: AccountId32;
|
|
540
|
+
codeHash: H256;
|
|
541
|
+
}>;
|
|
536
542
|
/**
|
|
537
543
|
* Contract deployed by address at the specified address.
|
|
538
544
|
**/
|
|
@@ -888,6 +894,45 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
888
894
|
**/
|
|
889
895
|
[key: string]: AugmentedEvent<ApiType>;
|
|
890
896
|
};
|
|
897
|
+
fastUnstake: {
|
|
898
|
+
/**
|
|
899
|
+
* A staker was partially checked for the given eras, but the process did not finish.
|
|
900
|
+
**/
|
|
901
|
+
Checking: AugmentedEvent<ApiType, [stash: AccountId32, eras: Vec<u32>], {
|
|
902
|
+
stash: AccountId32;
|
|
903
|
+
eras: Vec<u32>;
|
|
904
|
+
}>;
|
|
905
|
+
/**
|
|
906
|
+
* Some internal error happened while migrating stash. They are removed as head as a
|
|
907
|
+
* consequence.
|
|
908
|
+
**/
|
|
909
|
+
Errored: AugmentedEvent<ApiType, [stash: AccountId32], {
|
|
910
|
+
stash: AccountId32;
|
|
911
|
+
}>;
|
|
912
|
+
/**
|
|
913
|
+
* An internal error happened. Operations will be paused now.
|
|
914
|
+
**/
|
|
915
|
+
InternalError: AugmentedEvent<ApiType, []>;
|
|
916
|
+
/**
|
|
917
|
+
* A staker was slashed for requesting fast-unstake whilst being exposed.
|
|
918
|
+
**/
|
|
919
|
+
Slashed: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], {
|
|
920
|
+
stash: AccountId32;
|
|
921
|
+
amount: u128;
|
|
922
|
+
}>;
|
|
923
|
+
/**
|
|
924
|
+
* A staker was unstaked.
|
|
925
|
+
**/
|
|
926
|
+
Unstaked: AugmentedEvent<ApiType, [stash: AccountId32, maybePoolId: Option<u32>, result: Result<Null, SpRuntimeDispatchError>], {
|
|
927
|
+
stash: AccountId32;
|
|
928
|
+
maybePoolId: Option<u32>;
|
|
929
|
+
result: Result<Null, SpRuntimeDispatchError>;
|
|
930
|
+
}>;
|
|
931
|
+
/**
|
|
932
|
+
* Generic event
|
|
933
|
+
**/
|
|
934
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
935
|
+
};
|
|
891
936
|
gilt: {
|
|
892
937
|
/**
|
|
893
938
|
* A bid was successfully placed.
|
|
@@ -1302,16 +1347,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1302
1347
|
proxy: AccountId32;
|
|
1303
1348
|
callHash: H256;
|
|
1304
1349
|
}>;
|
|
1305
|
-
/**
|
|
1306
|
-
* Anonymous account has been created by new proxy with given
|
|
1307
|
-
* disambiguation index and proxy type.
|
|
1308
|
-
**/
|
|
1309
|
-
AnonymousCreated: AugmentedEvent<ApiType, [anonymous: AccountId32, who: AccountId32, proxyType: KitchensinkRuntimeProxyType, disambiguationIndex: u16], {
|
|
1310
|
-
anonymous: AccountId32;
|
|
1311
|
-
who: AccountId32;
|
|
1312
|
-
proxyType: KitchensinkRuntimeProxyType;
|
|
1313
|
-
disambiguationIndex: u16;
|
|
1314
|
-
}>;
|
|
1315
1350
|
/**
|
|
1316
1351
|
* A proxy was added.
|
|
1317
1352
|
**/
|
|
@@ -1336,6 +1371,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1336
1371
|
proxyType: KitchensinkRuntimeProxyType;
|
|
1337
1372
|
delay: u32;
|
|
1338
1373
|
}>;
|
|
1374
|
+
/**
|
|
1375
|
+
* A pure account has been created by new proxy with given
|
|
1376
|
+
* disambiguation index and proxy type.
|
|
1377
|
+
**/
|
|
1378
|
+
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: KitchensinkRuntimeProxyType, disambiguationIndex: u16], {
|
|
1379
|
+
pure: AccountId32;
|
|
1380
|
+
who: AccountId32;
|
|
1381
|
+
proxyType: KitchensinkRuntimeProxyType;
|
|
1382
|
+
disambiguationIndex: u16;
|
|
1383
|
+
}>;
|
|
1339
1384
|
/**
|
|
1340
1385
|
* Generic event
|
|
1341
1386
|
**/
|
|
@@ -1822,8 +1867,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1822
1867
|
**/
|
|
1823
1868
|
Rewarded: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
1824
1869
|
/**
|
|
1825
|
-
* One
|
|
1826
|
-
* \[
|
|
1870
|
+
* One staker (and potentially its nominators) has been slashed by the given amount.
|
|
1871
|
+
* \[staker, amount\]
|
|
1827
1872
|
**/
|
|
1828
1873
|
Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
1829
1874
|
/**
|
|
@@ -1916,15 +1961,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1916
1961
|
/**
|
|
1917
1962
|
* An extrinsic failed.
|
|
1918
1963
|
**/
|
|
1919
|
-
ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo:
|
|
1964
|
+
ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], {
|
|
1920
1965
|
dispatchError: SpRuntimeDispatchError;
|
|
1921
|
-
dispatchInfo:
|
|
1966
|
+
dispatchInfo: FrameSupportDispatchDispatchInfo;
|
|
1922
1967
|
}>;
|
|
1923
1968
|
/**
|
|
1924
1969
|
* An extrinsic completed successfully.
|
|
1925
1970
|
**/
|
|
1926
|
-
ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo:
|
|
1927
|
-
dispatchInfo:
|
|
1971
|
+
ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], {
|
|
1972
|
+
dispatchInfo: FrameSupportDispatchDispatchInfo;
|
|
1928
1973
|
}>;
|
|
1929
1974
|
/**
|
|
1930
1975
|
* An account was reaped.
|
|
@@ -2449,13 +2494,34 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2449
2494
|
**/
|
|
2450
2495
|
[key: string]: AugmentedEvent<ApiType>;
|
|
2451
2496
|
};
|
|
2497
|
+
voterBagsList: {
|
|
2498
|
+
/**
|
|
2499
|
+
* Moved an account from one bag to another.
|
|
2500
|
+
**/
|
|
2501
|
+
Rebagged: AugmentedEvent<ApiType, [who: AccountId32, from: u64, to: u64], {
|
|
2502
|
+
who: AccountId32;
|
|
2503
|
+
from: u64;
|
|
2504
|
+
to: u64;
|
|
2505
|
+
}>;
|
|
2506
|
+
/**
|
|
2507
|
+
* Updated the score of some account to the given amount.
|
|
2508
|
+
**/
|
|
2509
|
+
ScoreUpdated: AugmentedEvent<ApiType, [who: AccountId32, newScore: u64], {
|
|
2510
|
+
who: AccountId32;
|
|
2511
|
+
newScore: u64;
|
|
2512
|
+
}>;
|
|
2513
|
+
/**
|
|
2514
|
+
* Generic event
|
|
2515
|
+
**/
|
|
2516
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
2517
|
+
};
|
|
2452
2518
|
whitelist: {
|
|
2453
2519
|
CallWhitelisted: AugmentedEvent<ApiType, [callHash: H256], {
|
|
2454
2520
|
callHash: H256;
|
|
2455
2521
|
}>;
|
|
2456
|
-
WhitelistedCallDispatched: AugmentedEvent<ApiType, [callHash: H256, result: Result<
|
|
2522
|
+
WhitelistedCallDispatched: AugmentedEvent<ApiType, [callHash: H256, result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>], {
|
|
2457
2523
|
callHash: H256;
|
|
2458
|
-
result: Result<
|
|
2524
|
+
result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
|
|
2459
2525
|
}>;
|
|
2460
2526
|
WhitelistedCallRemoved: AugmentedEvent<ApiType, [callHash: H256], {
|
|
2461
2527
|
callHash: H256;
|
package/substrate/query.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Data } from '@polkadot/types';
|
|
|
4
4
|
import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, WrapperOpaque, 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 {
|
|
7
|
+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
|
|
8
8
|
import type { Observable } from '@polkadot/types/types';
|
|
9
9
|
export declare type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
10
10
|
export declare type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
@@ -237,28 +237,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
237
237
|
**/
|
|
238
238
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
239
239
|
};
|
|
240
|
-
bagsList: {
|
|
241
|
-
/**
|
|
242
|
-
* Counter for the related counted storage map
|
|
243
|
-
**/
|
|
244
|
-
counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
245
|
-
/**
|
|
246
|
-
* A bag stored in storage.
|
|
247
|
-
*
|
|
248
|
-
* Stores a `Bag` struct, which stores head and tail pointers to itself.
|
|
249
|
-
**/
|
|
250
|
-
listBags: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBagsListListBag>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
251
|
-
/**
|
|
252
|
-
* A single node, within some bag.
|
|
253
|
-
*
|
|
254
|
-
* Nodes store links forward and back within their respective bags.
|
|
255
|
-
**/
|
|
256
|
-
listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
257
|
-
/**
|
|
258
|
-
* Generic query
|
|
259
|
-
**/
|
|
260
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
261
|
-
};
|
|
262
240
|
balances: {
|
|
263
241
|
/**
|
|
264
242
|
* The Balances pallet example of storing the balance of an account.
|
|
@@ -370,7 +348,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
370
348
|
*
|
|
371
349
|
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
|
372
350
|
**/
|
|
373
|
-
contractInfoOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<
|
|
351
|
+
contractInfoOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletContractsStorageContractInfo>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
374
352
|
/**
|
|
375
353
|
* Evicted contracts that await child trie deletion.
|
|
376
354
|
*
|
|
@@ -654,6 +632,36 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
654
632
|
**/
|
|
655
633
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
656
634
|
};
|
|
635
|
+
fastUnstake: {
|
|
636
|
+
/**
|
|
637
|
+
* Counter for the related counted storage map
|
|
638
|
+
**/
|
|
639
|
+
counterForQueue: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
640
|
+
/**
|
|
641
|
+
* Number of eras to check per block.
|
|
642
|
+
*
|
|
643
|
+
* If set to 0, this pallet does absolutely nothing.
|
|
644
|
+
*
|
|
645
|
+
* Based on the amount of weight available at `on_idle`, up to this many eras of a single
|
|
646
|
+
* nominator might be checked.
|
|
647
|
+
**/
|
|
648
|
+
erasToCheckPerBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
649
|
+
/**
|
|
650
|
+
* The current "head of the queue" being unstaked.
|
|
651
|
+
**/
|
|
652
|
+
head: AugmentedQuery<ApiType, () => Observable<Option<PalletFastUnstakeUnstakeRequest>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
653
|
+
/**
|
|
654
|
+
* The map of all accounts wishing to be unstaked.
|
|
655
|
+
*
|
|
656
|
+
* Points the `AccountId` wishing to unstake to the optional `PoolId` they wish to join
|
|
657
|
+
* thereafter.
|
|
658
|
+
**/
|
|
659
|
+
queue: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Option<u32>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
660
|
+
/**
|
|
661
|
+
* Generic query
|
|
662
|
+
**/
|
|
663
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
664
|
+
};
|
|
657
665
|
gilt: {
|
|
658
666
|
/**
|
|
659
667
|
* The currently active gilts, indexed according to the order of creation.
|
|
@@ -1345,16 +1353,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1345
1353
|
* Mode of era forcing.
|
|
1346
1354
|
**/
|
|
1347
1355
|
forceEra: AugmentedQuery<ApiType, () => Observable<PalletStakingForcing>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1348
|
-
/**
|
|
1349
|
-
* Number of eras to keep in history.
|
|
1350
|
-
*
|
|
1351
|
-
* Information is kept for eras in `[current_era - history_depth; current_era]`.
|
|
1352
|
-
*
|
|
1353
|
-
* Must be more than the number of eras delayed by session otherwise. I.e. active era must
|
|
1354
|
-
* always be in history. I.e. `active_era > current_era - history_depth` must be
|
|
1355
|
-
* guaranteed.
|
|
1356
|
-
**/
|
|
1357
|
-
historyDepth: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1358
1356
|
/**
|
|
1359
1357
|
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
|
|
1360
1358
|
* easy to initialize and the performance hit is minimal (we expect no more than four
|
|
@@ -1529,7 +1527,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1529
1527
|
/**
|
|
1530
1528
|
* The current weight for the block.
|
|
1531
1529
|
**/
|
|
1532
|
-
blockWeight: AugmentedQuery<ApiType, () => Observable<
|
|
1530
|
+
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1533
1531
|
/**
|
|
1534
1532
|
* Digest of the current block, also part of the block header.
|
|
1535
1533
|
**/
|
|
@@ -1796,6 +1794,28 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1796
1794
|
**/
|
|
1797
1795
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1798
1796
|
};
|
|
1797
|
+
voterBagsList: {
|
|
1798
|
+
/**
|
|
1799
|
+
* Counter for the related counted storage map
|
|
1800
|
+
**/
|
|
1801
|
+
counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1802
|
+
/**
|
|
1803
|
+
* A bag stored in storage.
|
|
1804
|
+
*
|
|
1805
|
+
* Stores a `Bag` struct, which stores head and tail pointers to itself.
|
|
1806
|
+
**/
|
|
1807
|
+
listBags: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBagsListListBag>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
1808
|
+
/**
|
|
1809
|
+
* A single node, within some bag.
|
|
1810
|
+
*
|
|
1811
|
+
* Nodes store links forward and back within their respective bags.
|
|
1812
|
+
**/
|
|
1813
|
+
listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1814
|
+
/**
|
|
1815
|
+
* Generic query
|
|
1816
|
+
**/
|
|
1817
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1818
|
+
};
|
|
1799
1819
|
whitelist: {
|
|
1800
1820
|
whitelistedCall: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Null>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1801
1821
|
/**
|