@polkadot/api-augment 16.3.1 → 16.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/kusama/consts.d.ts +31 -7
- package/cjs/kusama/errors.d.ts +41 -2
- package/cjs/kusama/events.d.ts +167 -4
- package/cjs/kusama/query.d.ts +31 -12
- package/cjs/kusama/runtime.d.ts +10 -2
- package/cjs/kusama/tx.d.ts +205 -26
- package/cjs/packageInfo.js +1 -1
- package/kusama/consts.d.ts +31 -7
- package/kusama/errors.d.ts +41 -2
- package/kusama/events.d.ts +167 -4
- package/kusama/query.d.ts +31 -12
- package/kusama/runtime.d.ts +10 -2
- package/kusama/tx.d.ts +205 -26
- package/package.json +6 -6
- package/packageInfo.js +1 -1
package/cjs/kusama/consts.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import '@polkadot/api-base/types/consts';
|
|
|
2
2
|
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
|
3
3
|
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { Codec, ITuple } from '@polkadot/types-codec/types';
|
|
5
|
-
import type { Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights,
|
|
5
|
+
import type { AccountId32, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
+
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackDetails, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
|
|
7
7
|
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/consts' {
|
|
9
9
|
interface AugmentedConsts<ApiType extends ApiTypes> {
|
|
@@ -120,7 +120,12 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
120
120
|
**/
|
|
121
121
|
bountyDepositPayoutDelay: u32 & AugmentedConst<ApiType>;
|
|
122
122
|
/**
|
|
123
|
-
*
|
|
123
|
+
* The time limit for a curator to act before a bounty expires.
|
|
124
|
+
*
|
|
125
|
+
* The period that starts when a curator is approved, during which they must execute or
|
|
126
|
+
* update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
|
|
127
|
+
* curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
|
|
128
|
+
* removing the need for `extend_bounty_expiry`.
|
|
124
129
|
**/
|
|
125
130
|
bountyUpdatePeriod: u32 & AugmentedConst<ApiType>;
|
|
126
131
|
/**
|
|
@@ -340,9 +345,11 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
340
345
|
**/
|
|
341
346
|
submissionDeposit: u128 & AugmentedConst<ApiType>;
|
|
342
347
|
/**
|
|
343
|
-
*
|
|
348
|
+
* A list of tracks.
|
|
349
|
+
*
|
|
350
|
+
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
|
|
344
351
|
**/
|
|
345
|
-
tracks: Vec<ITuple<[u16,
|
|
352
|
+
tracks: Vec<ITuple<[u16, PalletReferendaTrackDetails]>> & AugmentedConst<ApiType>;
|
|
346
353
|
/**
|
|
347
354
|
* The number of blocks after submission that a referendum must begin being decided by.
|
|
348
355
|
* Once this passes, then anyone may cancel the referendum.
|
|
@@ -699,9 +706,11 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
699
706
|
**/
|
|
700
707
|
submissionDeposit: u128 & AugmentedConst<ApiType>;
|
|
701
708
|
/**
|
|
702
|
-
*
|
|
709
|
+
* A list of tracks.
|
|
710
|
+
*
|
|
711
|
+
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
|
|
703
712
|
**/
|
|
704
|
-
tracks: Vec<ITuple<[u16,
|
|
713
|
+
tracks: Vec<ITuple<[u16, PalletReferendaTrackDetails]>> & AugmentedConst<ApiType>;
|
|
705
714
|
/**
|
|
706
715
|
* The number of blocks after submission that a referendum must begin being decided by.
|
|
707
716
|
* Once this passes, then anyone may cancel the referendum.
|
|
@@ -975,6 +984,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
975
984
|
* The period during which an approved treasury spend has to be claimed.
|
|
976
985
|
**/
|
|
977
986
|
payoutPeriod: u32 & AugmentedConst<ApiType>;
|
|
987
|
+
/**
|
|
988
|
+
* Gets this pallet's derived pot account.
|
|
989
|
+
**/
|
|
990
|
+
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
|
978
991
|
/**
|
|
979
992
|
* Period between successive spends.
|
|
980
993
|
**/
|
|
@@ -1057,5 +1070,16 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
1057
1070
|
**/
|
|
1058
1071
|
[key: string]: Codec;
|
|
1059
1072
|
};
|
|
1073
|
+
xcmPallet: {
|
|
1074
|
+
/**
|
|
1075
|
+
* The latest supported version that we advertise. Generally just set it to
|
|
1076
|
+
* `pallet_xcm::CurrentXcmVersion`.
|
|
1077
|
+
**/
|
|
1078
|
+
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
|
|
1079
|
+
/**
|
|
1080
|
+
* Generic const
|
|
1081
|
+
**/
|
|
1082
|
+
[key: string]: Codec;
|
|
1083
|
+
};
|
|
1060
1084
|
}
|
|
1061
1085
|
}
|
package/cjs/kusama/errors.d.ts
CHANGED
|
@@ -946,7 +946,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
946
946
|
**/
|
|
947
947
|
NoApprovalsNeeded: AugmentedError<ApiType>;
|
|
948
948
|
/**
|
|
949
|
-
* Multisig operation not found
|
|
949
|
+
* Multisig operation not found in storage.
|
|
950
950
|
**/
|
|
951
951
|
NotFound: AugmentedError<ApiType>;
|
|
952
952
|
/**
|
|
@@ -954,7 +954,8 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
954
954
|
**/
|
|
955
955
|
NoTimepoint: AugmentedError<ApiType>;
|
|
956
956
|
/**
|
|
957
|
-
* Only the account that originally created the multisig is able to cancel it
|
|
957
|
+
* Only the account that originally created the multisig is able to cancel it or update
|
|
958
|
+
* its deposits.
|
|
958
959
|
**/
|
|
959
960
|
NotOwner: AugmentedError<ApiType>;
|
|
960
961
|
/**
|
|
@@ -1252,10 +1253,19 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1252
1253
|
* A (bonded) pool id does not exist.
|
|
1253
1254
|
**/
|
|
1254
1255
|
PoolNotFound: AugmentedError<ApiType>;
|
|
1256
|
+
/**
|
|
1257
|
+
* Account is restricted from participation in pools. This may happen if the account is
|
|
1258
|
+
* staking in another way already.
|
|
1259
|
+
**/
|
|
1260
|
+
Restricted: AugmentedError<ApiType>;
|
|
1255
1261
|
/**
|
|
1256
1262
|
* A reward pool does not exist. In all cases this is a system logic error.
|
|
1257
1263
|
**/
|
|
1258
1264
|
RewardPoolNotFound: AugmentedError<ApiType>;
|
|
1265
|
+
/**
|
|
1266
|
+
* The slash amount is too low to be applied.
|
|
1267
|
+
**/
|
|
1268
|
+
SlashTooLow: AugmentedError<ApiType>;
|
|
1259
1269
|
/**
|
|
1260
1270
|
* A sub pool does not exist.
|
|
1261
1271
|
**/
|
|
@@ -1266,6 +1276,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1266
1276
|
[key: string]: AugmentedError<ApiType>;
|
|
1267
1277
|
};
|
|
1268
1278
|
onDemandAssignmentProvider: {
|
|
1279
|
+
/**
|
|
1280
|
+
* The account doesn't have enough credits to purchase on-demand coretime.
|
|
1281
|
+
**/
|
|
1282
|
+
InsufficientCredits: AugmentedError<ApiType>;
|
|
1269
1283
|
/**
|
|
1270
1284
|
* The order queue is full, `place_order` will not continue.
|
|
1271
1285
|
**/
|
|
@@ -1993,6 +2007,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1993
2007
|
* Rewards for this era have already been claimed for this validator.
|
|
1994
2008
|
**/
|
|
1995
2009
|
AlreadyClaimed: AugmentedError<ApiType>;
|
|
2010
|
+
/**
|
|
2011
|
+
* The stake of this account is already migrated to `Fungible` holds.
|
|
2012
|
+
**/
|
|
2013
|
+
AlreadyMigrated: AugmentedError<ApiType>;
|
|
1996
2014
|
/**
|
|
1997
2015
|
* Controller is already paired.
|
|
1998
2016
|
**/
|
|
@@ -2013,6 +2031,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2013
2031
|
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
|
2014
2032
|
**/
|
|
2015
2033
|
CannotChillOther: AugmentedError<ApiType>;
|
|
2034
|
+
/**
|
|
2035
|
+
* Stash could not be reaped as other pallet might depend on it.
|
|
2036
|
+
**/
|
|
2037
|
+
CannotReapStash: AugmentedError<ApiType>;
|
|
2016
2038
|
/**
|
|
2017
2039
|
* Cannot reset a ledger.
|
|
2018
2040
|
**/
|
|
@@ -2091,6 +2113,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2091
2113
|
* Can not rebond without unlocking chunks.
|
|
2092
2114
|
**/
|
|
2093
2115
|
NoUnlockChunk: AugmentedError<ApiType>;
|
|
2116
|
+
/**
|
|
2117
|
+
* Account is restricted from participation in staking. This may happen if the account is
|
|
2118
|
+
* staking in another way already, such as via pool.
|
|
2119
|
+
**/
|
|
2120
|
+
Restricted: AugmentedError<ApiType>;
|
|
2094
2121
|
/**
|
|
2095
2122
|
* Provided reward destination is not allowed.
|
|
2096
2123
|
**/
|
|
@@ -2293,6 +2320,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2293
2320
|
* The given account is not an identifiable sovereign account for any location.
|
|
2294
2321
|
**/
|
|
2295
2322
|
AccountNotSovereign: AugmentedError<ApiType>;
|
|
2323
|
+
/**
|
|
2324
|
+
* The alias to remove authorization for was not found.
|
|
2325
|
+
**/
|
|
2326
|
+
AliasNotFound: AugmentedError<ApiType>;
|
|
2296
2327
|
/**
|
|
2297
2328
|
* The location is invalid since it already has a subscription from us.
|
|
2298
2329
|
**/
|
|
@@ -2322,6 +2353,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2322
2353
|
* The assets to be sent are empty.
|
|
2323
2354
|
**/
|
|
2324
2355
|
Empty: AugmentedError<ApiType>;
|
|
2356
|
+
/**
|
|
2357
|
+
* Expiry block number is in the past.
|
|
2358
|
+
**/
|
|
2359
|
+
ExpiresInPast: AugmentedError<ApiType>;
|
|
2325
2360
|
/**
|
|
2326
2361
|
* The operation required fees to be paid which the initiator could not meet.
|
|
2327
2362
|
**/
|
|
@@ -2371,6 +2406,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2371
2406
|
* Too many assets have been attempted for transfer.
|
|
2372
2407
|
**/
|
|
2373
2408
|
TooManyAssets: AugmentedError<ApiType>;
|
|
2409
|
+
/**
|
|
2410
|
+
* Too many locations authorized to alias origin.
|
|
2411
|
+
**/
|
|
2412
|
+
TooManyAuthorizedAliases: AugmentedError<ApiType>;
|
|
2374
2413
|
/**
|
|
2375
2414
|
* The asset owner has too many locks on the asset.
|
|
2376
2415
|
**/
|
package/cjs/kusama/events.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
|
|
|
4
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
6
6
|
import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KusamaRuntimeConstantsProxyProxyType, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
|
|
7
|
+
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KusamaRuntimeConstantsProxyProxyType, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
|
|
8
8
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
9
9
|
declare module '@polkadot/api-base/types/events' {
|
|
10
10
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
@@ -391,19 +391,26 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
391
391
|
**/
|
|
392
392
|
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
|
|
393
393
|
/**
|
|
394
|
-
* An account
|
|
394
|
+
* An account has voted
|
|
395
395
|
**/
|
|
396
396
|
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
|
|
397
397
|
who: AccountId32;
|
|
398
398
|
vote: PalletConvictionVotingVoteAccountVote;
|
|
399
399
|
}>;
|
|
400
400
|
/**
|
|
401
|
-
* A vote
|
|
401
|
+
* A vote has been removed
|
|
402
402
|
**/
|
|
403
403
|
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
|
|
404
404
|
who: AccountId32;
|
|
405
405
|
vote: PalletConvictionVotingVoteAccountVote;
|
|
406
406
|
}>;
|
|
407
|
+
/**
|
|
408
|
+
* The lockup period of a conviction vote expired, and the funds have been unlocked.
|
|
409
|
+
**/
|
|
410
|
+
VoteUnlocked: AugmentedEvent<ApiType, [who: AccountId32, class_: u16], {
|
|
411
|
+
who: AccountId32;
|
|
412
|
+
class: u16;
|
|
413
|
+
}>;
|
|
407
414
|
/**
|
|
408
415
|
* Generic event
|
|
409
416
|
**/
|
|
@@ -873,6 +880,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
873
880
|
[key: string]: AugmentedEvent<ApiType>;
|
|
874
881
|
};
|
|
875
882
|
indices: {
|
|
883
|
+
/**
|
|
884
|
+
* A deposit to reserve an index has been poked/reconsidered.
|
|
885
|
+
**/
|
|
886
|
+
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128], {
|
|
887
|
+
who: AccountId32;
|
|
888
|
+
index: u32;
|
|
889
|
+
oldDeposit: u128;
|
|
890
|
+
newDeposit: u128;
|
|
891
|
+
}>;
|
|
876
892
|
/**
|
|
877
893
|
* A account index was assigned.
|
|
878
894
|
**/
|
|
@@ -938,6 +954,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
938
954
|
[key: string]: AugmentedEvent<ApiType>;
|
|
939
955
|
};
|
|
940
956
|
multisig: {
|
|
957
|
+
/**
|
|
958
|
+
* The deposit for a multisig operation has been updated/poked.
|
|
959
|
+
**/
|
|
960
|
+
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], {
|
|
961
|
+
who: AccountId32;
|
|
962
|
+
callHash: U8aFixed;
|
|
963
|
+
oldDeposit: u128;
|
|
964
|
+
newDeposit: u128;
|
|
965
|
+
}>;
|
|
941
966
|
/**
|
|
942
967
|
* A multisig operation has been approved by someone.
|
|
943
968
|
**/
|
|
@@ -1228,6 +1253,24 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1228
1253
|
Destroyed: AugmentedEvent<ApiType, [poolId: u32], {
|
|
1229
1254
|
poolId: u32;
|
|
1230
1255
|
}>;
|
|
1256
|
+
/**
|
|
1257
|
+
* Global parameters regulating nomination pools have been updated.
|
|
1258
|
+
**/
|
|
1259
|
+
GlobalParamsUpdated: AugmentedEvent<ApiType, [minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill>], {
|
|
1260
|
+
minJoinBond: u128;
|
|
1261
|
+
minCreateBond: u128;
|
|
1262
|
+
maxPools: Option<u32>;
|
|
1263
|
+
maxMembers: Option<u32>;
|
|
1264
|
+
maxMembersPerPool: Option<u32>;
|
|
1265
|
+
globalMaxCommission: Option<Perbill>;
|
|
1266
|
+
}>;
|
|
1267
|
+
/**
|
|
1268
|
+
* A pool member's claim permission has been updated.
|
|
1269
|
+
**/
|
|
1270
|
+
MemberClaimPermissionUpdated: AugmentedEvent<ApiType, [member: AccountId32, permission: PalletNominationPoolsClaimPermission], {
|
|
1271
|
+
member: AccountId32;
|
|
1272
|
+
permission: PalletNominationPoolsClaimPermission;
|
|
1273
|
+
}>;
|
|
1231
1274
|
/**
|
|
1232
1275
|
* A member has been removed from a pool.
|
|
1233
1276
|
*
|
|
@@ -1240,6 +1283,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1240
1283
|
member: AccountId32;
|
|
1241
1284
|
releasedBalance: u128;
|
|
1242
1285
|
}>;
|
|
1286
|
+
/**
|
|
1287
|
+
* A pool's metadata was updated.
|
|
1288
|
+
**/
|
|
1289
|
+
MetadataUpdated: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], {
|
|
1290
|
+
poolId: u32;
|
|
1291
|
+
caller: AccountId32;
|
|
1292
|
+
}>;
|
|
1243
1293
|
/**
|
|
1244
1294
|
* Topped up deficit in frozen ED of the reward pool.
|
|
1245
1295
|
**/
|
|
@@ -1297,6 +1347,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1297
1347
|
poolId: u32;
|
|
1298
1348
|
maxCommission: Perbill;
|
|
1299
1349
|
}>;
|
|
1350
|
+
/**
|
|
1351
|
+
* A pool's nominating account (or the pool's root account) has nominated a validator set
|
|
1352
|
+
* on behalf of the pool.
|
|
1353
|
+
**/
|
|
1354
|
+
PoolNominationMade: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], {
|
|
1355
|
+
poolId: u32;
|
|
1356
|
+
caller: AccountId32;
|
|
1357
|
+
}>;
|
|
1358
|
+
/**
|
|
1359
|
+
* The pool is chilled i.e. no longer nominating.
|
|
1360
|
+
**/
|
|
1361
|
+
PoolNominatorChilled: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], {
|
|
1362
|
+
poolId: u32;
|
|
1363
|
+
caller: AccountId32;
|
|
1364
|
+
}>;
|
|
1300
1365
|
/**
|
|
1301
1366
|
* The active balance of pool `pool_id` has been slashed to `balance`.
|
|
1302
1367
|
**/
|
|
@@ -1383,6 +1448,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1383
1448
|
[key: string]: AugmentedEvent<ApiType>;
|
|
1384
1449
|
};
|
|
1385
1450
|
onDemandAssignmentProvider: {
|
|
1451
|
+
/**
|
|
1452
|
+
* An account was given credits.
|
|
1453
|
+
**/
|
|
1454
|
+
AccountCredited: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1455
|
+
who: AccountId32;
|
|
1456
|
+
amount: u128;
|
|
1457
|
+
}>;
|
|
1386
1458
|
/**
|
|
1387
1459
|
* An order was placed at some spot price amount by orderer ordered_by
|
|
1388
1460
|
**/
|
|
@@ -1539,6 +1611,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1539
1611
|
proxy: AccountId32;
|
|
1540
1612
|
callHash: H256;
|
|
1541
1613
|
}>;
|
|
1614
|
+
/**
|
|
1615
|
+
* A deposit stored for proxies or announcements was poked / updated.
|
|
1616
|
+
**/
|
|
1617
|
+
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], {
|
|
1618
|
+
who: AccountId32;
|
|
1619
|
+
kind: PalletProxyDepositKind;
|
|
1620
|
+
oldDeposit: u128;
|
|
1621
|
+
newDeposit: u128;
|
|
1622
|
+
}>;
|
|
1542
1623
|
/**
|
|
1543
1624
|
* A proxy was added.
|
|
1544
1625
|
**/
|
|
@@ -1762,6 +1843,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1762
1843
|
[key: string]: AugmentedEvent<ApiType>;
|
|
1763
1844
|
};
|
|
1764
1845
|
scheduler: {
|
|
1846
|
+
/**
|
|
1847
|
+
* Agenda is incomplete from `when`.
|
|
1848
|
+
**/
|
|
1849
|
+
AgendaIncomplete: AugmentedEvent<ApiType, [when: u32], {
|
|
1850
|
+
when: u32;
|
|
1851
|
+
}>;
|
|
1765
1852
|
/**
|
|
1766
1853
|
* The call for the provided hash was not found so the task has been aborted.
|
|
1767
1854
|
**/
|
|
@@ -1842,6 +1929,18 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1842
1929
|
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], {
|
|
1843
1930
|
sessionIndex: u32;
|
|
1844
1931
|
}>;
|
|
1932
|
+
/**
|
|
1933
|
+
* Validator has been disabled.
|
|
1934
|
+
**/
|
|
1935
|
+
ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId32], {
|
|
1936
|
+
validator: AccountId32;
|
|
1937
|
+
}>;
|
|
1938
|
+
/**
|
|
1939
|
+
* Validator has been re-enabled.
|
|
1940
|
+
**/
|
|
1941
|
+
ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId32], {
|
|
1942
|
+
validator: AccountId32;
|
|
1943
|
+
}>;
|
|
1845
1944
|
/**
|
|
1846
1945
|
* Generic event
|
|
1847
1946
|
**/
|
|
@@ -2015,6 +2114,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2015
2114
|
ControllerBatchDeprecated: AugmentedEvent<ApiType, [failures: u32], {
|
|
2016
2115
|
failures: u32;
|
|
2017
2116
|
}>;
|
|
2117
|
+
/**
|
|
2118
|
+
* Staking balance migrated from locks to holds, with any balance that could not be held
|
|
2119
|
+
* is force withdrawn.
|
|
2120
|
+
**/
|
|
2121
|
+
CurrencyMigrated: AugmentedEvent<ApiType, [stash: AccountId32, forceWithdraw: u128], {
|
|
2122
|
+
stash: AccountId32;
|
|
2123
|
+
forceWithdraw: u128;
|
|
2124
|
+
}>;
|
|
2018
2125
|
/**
|
|
2019
2126
|
* The era payout has been set; the first balance is the validator-payout; the second is
|
|
2020
2127
|
* the remainder from the maximum amount of reward.
|
|
@@ -2154,6 +2261,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2154
2261
|
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], {
|
|
2155
2262
|
account: AccountId32;
|
|
2156
2263
|
}>;
|
|
2264
|
+
/**
|
|
2265
|
+
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
2266
|
+
**/
|
|
2267
|
+
RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [codeHash: H256, error: SpRuntimeDispatchError], {
|
|
2268
|
+
codeHash: H256;
|
|
2269
|
+
error: SpRuntimeDispatchError;
|
|
2270
|
+
}>;
|
|
2157
2271
|
/**
|
|
2158
2272
|
* On on-chain remark happened.
|
|
2159
2273
|
**/
|
|
@@ -2302,6 +2416,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2302
2416
|
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
|
|
2303
2417
|
result: Result<Null, SpRuntimeDispatchError>;
|
|
2304
2418
|
}>;
|
|
2419
|
+
/**
|
|
2420
|
+
* The fallback call was dispatched.
|
|
2421
|
+
**/
|
|
2422
|
+
IfElseFallbackCalled: AugmentedEvent<ApiType, [mainError: SpRuntimeDispatchError], {
|
|
2423
|
+
mainError: SpRuntimeDispatchError;
|
|
2424
|
+
}>;
|
|
2425
|
+
/**
|
|
2426
|
+
* Main call was dispatched.
|
|
2427
|
+
**/
|
|
2428
|
+
IfElseMainSuccess: AugmentedEvent<ApiType, []>;
|
|
2305
2429
|
/**
|
|
2306
2430
|
* A single item within a Batch of dispatches has completed with no error.
|
|
2307
2431
|
**/
|
|
@@ -2375,6 +2499,28 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2375
2499
|
[key: string]: AugmentedEvent<ApiType>;
|
|
2376
2500
|
};
|
|
2377
2501
|
xcmPallet: {
|
|
2502
|
+
/**
|
|
2503
|
+
* `target` removed alias authorization for `aliaser`.
|
|
2504
|
+
**/
|
|
2505
|
+
AliasAuthorizationRemoved: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location], {
|
|
2506
|
+
aliaser: StagingXcmV5Location;
|
|
2507
|
+
target: StagingXcmV5Location;
|
|
2508
|
+
}>;
|
|
2509
|
+
/**
|
|
2510
|
+
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
|
|
2511
|
+
* `expiry` block number.
|
|
2512
|
+
**/
|
|
2513
|
+
AliasAuthorized: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location, expiry: Option<u64>], {
|
|
2514
|
+
aliaser: StagingXcmV5Location;
|
|
2515
|
+
target: StagingXcmV5Location;
|
|
2516
|
+
expiry: Option<u64>;
|
|
2517
|
+
}>;
|
|
2518
|
+
/**
|
|
2519
|
+
* `target` removed all alias authorizations.
|
|
2520
|
+
**/
|
|
2521
|
+
AliasesAuthorizationsRemoved: AugmentedEvent<ApiType, [target: StagingXcmV5Location], {
|
|
2522
|
+
target: StagingXcmV5Location;
|
|
2523
|
+
}>;
|
|
2378
2524
|
/**
|
|
2379
2525
|
* Some assets have been claimed from an asset trap
|
|
2380
2526
|
**/
|
|
@@ -2508,6 +2654,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2508
2654
|
queryId: u64;
|
|
2509
2655
|
error: XcmV5TraitsError;
|
|
2510
2656
|
}>;
|
|
2657
|
+
/**
|
|
2658
|
+
* An XCM message failed to process.
|
|
2659
|
+
**/
|
|
2660
|
+
ProcessXcmError: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed], {
|
|
2661
|
+
origin: StagingXcmV5Location;
|
|
2662
|
+
error: XcmV5TraitsError;
|
|
2663
|
+
messageId: U8aFixed;
|
|
2664
|
+
}>;
|
|
2511
2665
|
/**
|
|
2512
2666
|
* Query response has been received and is ready for taking with `take_response`. There is
|
|
2513
2667
|
* no registered notification call.
|
|
@@ -2523,7 +2677,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2523
2677
|
queryId: u64;
|
|
2524
2678
|
}>;
|
|
2525
2679
|
/**
|
|
2526
|
-
*
|
|
2680
|
+
* An XCM message failed to send.
|
|
2681
|
+
**/
|
|
2682
|
+
SendFailed: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed], {
|
|
2683
|
+
origin: StagingXcmV5Location;
|
|
2684
|
+
destination: StagingXcmV5Location;
|
|
2685
|
+
error: XcmV3TraitsSendError;
|
|
2686
|
+
messageId: U8aFixed;
|
|
2687
|
+
}>;
|
|
2688
|
+
/**
|
|
2689
|
+
* An XCM message was sent.
|
|
2527
2690
|
**/
|
|
2528
2691
|
Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], {
|
|
2529
2692
|
origin: StagingXcmV5Location;
|
package/cjs/kusama/query.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bo
|
|
|
4
4
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
6
6
|
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
|
|
7
|
+
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } 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>;
|
|
@@ -1181,6 +1181,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1181
1181
|
* Queue entries that are currently bound to a particular core due to core affinity.
|
|
1182
1182
|
**/
|
|
1183
1183
|
affinityEntries: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BinaryHeapEnqueuedOrder>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1184
|
+
/**
|
|
1185
|
+
* Keeps track of credits owned by each account.
|
|
1186
|
+
**/
|
|
1187
|
+
credits: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1184
1188
|
/**
|
|
1185
1189
|
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
|
|
1186
1190
|
**/
|
|
@@ -1645,6 +1649,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1645
1649
|
* Items to be executed, indexed by the block number that they should be executed on.
|
|
1646
1650
|
**/
|
|
1647
1651
|
agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1652
|
+
/**
|
|
1653
|
+
* Block number at which the agenda began incomplete execution.
|
|
1654
|
+
**/
|
|
1648
1655
|
incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1649
1656
|
/**
|
|
1650
1657
|
* Lookup from a name to the block number and index of the task.
|
|
@@ -1674,7 +1681,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1674
1681
|
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
|
1675
1682
|
* a new set of identities.
|
|
1676
1683
|
**/
|
|
1677
|
-
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32
|
|
1684
|
+
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1678
1685
|
/**
|
|
1679
1686
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
1680
1687
|
**/
|
|
@@ -1880,16 +1887,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1880
1887
|
* This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
|
|
1881
1888
|
**/
|
|
1882
1889
|
currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1883
|
-
/**
|
|
1884
|
-
* Indices of validators that have offended in the active era. The offenders are disabled for a
|
|
1885
|
-
* whole era. For this reason they are kept here - only staking pallet knows about eras. The
|
|
1886
|
-
* implementor of [`DisablingStrategy`] defines if a validator should be disabled which
|
|
1887
|
-
* implicitly means that the implementor also controls the max number of disabled validators.
|
|
1888
|
-
*
|
|
1889
|
-
* The vec is always kept sorted so that we can find whether a given validator has previously
|
|
1890
|
-
* offended using binary search.
|
|
1891
|
-
**/
|
|
1892
|
-
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1893
1890
|
/**
|
|
1894
1891
|
* Rewards for the last [`Config::HistoryDepth`] eras.
|
|
1895
1892
|
* If reward hasn't been set or has been removed then 0 reward is returned.
|
|
@@ -2176,6 +2173,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2176
2173
|
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
2177
2174
|
**/
|
|
2178
2175
|
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2176
|
+
/**
|
|
2177
|
+
* The weight reclaimed for the extrinsic.
|
|
2178
|
+
*
|
|
2179
|
+
* This information is available until the end of the extrinsic execution.
|
|
2180
|
+
* More precisely this information is removed in `note_applied_extrinsic`.
|
|
2181
|
+
*
|
|
2182
|
+
* Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
|
|
2183
|
+
* reduction.
|
|
2184
|
+
**/
|
|
2185
|
+
extrinsicWeightReclaimed: AugmentedQuery<ApiType, () => Observable<SpWeightsWeightV2Weight>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2179
2186
|
/**
|
|
2180
2187
|
* Whether all inherents have been applied.
|
|
2181
2188
|
**/
|
|
@@ -2327,6 +2334,18 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2327
2334
|
* times this pair has been trapped (usually just 1 if it exists at all).
|
|
2328
2335
|
**/
|
|
2329
2336
|
assetTraps: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
2337
|
+
/**
|
|
2338
|
+
* Map of authorized aliasers of local origins. Each local location can authorize a list of
|
|
2339
|
+
* other locations to alias into it. Each aliaser is only valid until its inner `expiry`
|
|
2340
|
+
* block number.
|
|
2341
|
+
**/
|
|
2342
|
+
authorizedAliases: AugmentedQuery<ApiType, (arg: XcmVersionedLocation | {
|
|
2343
|
+
V3: any;
|
|
2344
|
+
} | {
|
|
2345
|
+
V4: any;
|
|
2346
|
+
} | {
|
|
2347
|
+
V5: any;
|
|
2348
|
+
} | string | Uint8Array) => Observable<Option<PalletXcmAuthorizedAliasesEntry>>, [XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [XcmVersionedLocation]>;
|
|
2330
2349
|
/**
|
|
2331
2350
|
* The current migration's stage, if any.
|
|
2332
2351
|
**/
|
package/cjs/kusama/runtime.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
|
|
|
7
7
|
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
|
8
8
|
import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains';
|
|
9
9
|
import type { AccountId32, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
|
|
10
|
-
import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, RelayCommonApisInflationInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
10
|
+
import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingAsyncBackingConstraints, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, RelayCommonApisInflationInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
11
11
|
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
|
12
12
|
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
|
13
13
|
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
|
@@ -361,7 +361,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
361
361
|
**/
|
|
362
362
|
memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
|
363
363
|
/**
|
|
364
|
-
* Returns the pending slash for a given pool member.
|
|
364
|
+
* Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
|
|
365
365
|
**/
|
|
366
366
|
memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
|
367
367
|
/**
|
|
@@ -432,6 +432,10 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
432
432
|
* Yields information on all availability cores as relevant to the child block., Cores are either free or occupied. Free cores can have paras assigned to them.
|
|
433
433
|
**/
|
|
434
434
|
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesVstagingCoreState>>>;
|
|
435
|
+
/**
|
|
436
|
+
* Returns the constraints on the actions that can be taken by a new parachain, block.
|
|
437
|
+
**/
|
|
438
|
+
backingConstraints: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingAsyncBackingConstraints>>>;
|
|
435
439
|
/**
|
|
436
440
|
* Get a vector of events concerning candidates that occurred within a block.
|
|
437
441
|
**/
|
|
@@ -503,6 +507,10 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
503
507
|
* Returns code hashes of PVFs that require pre-checking by validators in the active set.,, NOTE: This function is only available since parachain host version 2.
|
|
504
508
|
**/
|
|
505
509
|
pvfsRequirePrecheck: AugmentedCall<ApiType, () => Observable<Vec<H256>>>;
|
|
510
|
+
/**
|
|
511
|
+
* Retrieve the scheduling lookahead
|
|
512
|
+
**/
|
|
513
|
+
schedulingLookahead: AugmentedCall<ApiType, () => Observable<u32>>;
|
|
506
514
|
/**
|
|
507
515
|
* Returns execution parameters for the session.
|
|
508
516
|
**/
|