@polkadot/api-augment 9.11.3 → 9.12.1
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 +4 -0
- package/kusama/errors.d.ts +50 -14
- package/kusama/events.d.ts +82 -31
- package/kusama/query.d.ts +34 -8
- package/kusama/tx.d.ts +64 -48
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/errors.d.ts +28 -0
- package/polkadot/events.d.ts +82 -31
- package/polkadot/query.d.ts +34 -8
- package/polkadot/tx.d.ts +45 -46
- package/substrate/consts.d.ts +8 -0
- package/substrate/errors.d.ts +22 -14
- package/substrate/tx.d.ts +19 -2
package/cjs/packageInfo.js
CHANGED
package/kusama/consts.d.ts
CHANGED
|
@@ -532,6 +532,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
532
532
|
* this value multiplied by `Period`.
|
|
533
533
|
**/
|
|
534
534
|
queueCount: u32 & AugmentedConst<ApiType>;
|
|
535
|
+
/**
|
|
536
|
+
* The name for the reserve ID.
|
|
537
|
+
**/
|
|
538
|
+
reserveId: U8aFixed & AugmentedConst<ApiType>;
|
|
535
539
|
/**
|
|
536
540
|
* The maximum proportion which may be thawed and the period over which it is reset.
|
|
537
541
|
**/
|
package/kusama/errors.d.ts
CHANGED
|
@@ -1028,6 +1028,18 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1028
1028
|
[key: string]: AugmentedError<ApiType>;
|
|
1029
1029
|
};
|
|
1030
1030
|
nis: {
|
|
1031
|
+
/**
|
|
1032
|
+
* The receipt is already communal.
|
|
1033
|
+
**/
|
|
1034
|
+
AlreadyCommunal: AugmentedError<ApiType>;
|
|
1035
|
+
/**
|
|
1036
|
+
* There are enough funds for what is required.
|
|
1037
|
+
**/
|
|
1038
|
+
AlreadyFunded: AugmentedError<ApiType>;
|
|
1039
|
+
/**
|
|
1040
|
+
* The receipt is already private.
|
|
1041
|
+
**/
|
|
1042
|
+
AlreadyPrivate: AugmentedError<ApiType>;
|
|
1031
1043
|
/**
|
|
1032
1044
|
* The amount of the bid is less than the minimum allowed.
|
|
1033
1045
|
**/
|
|
@@ -1045,10 +1057,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1045
1057
|
* The duration of the bid is less than one.
|
|
1046
1058
|
**/
|
|
1047
1059
|
DurationTooSmall: AugmentedError<ApiType>;
|
|
1048
|
-
/**
|
|
1049
|
-
* There are enough funds for what is required.
|
|
1050
|
-
**/
|
|
1051
|
-
Funded: AugmentedError<ApiType>;
|
|
1052
1060
|
/**
|
|
1053
1061
|
* The operation would result in a receipt worth an insignficant value.
|
|
1054
1062
|
**/
|
|
@@ -1057,30 +1065,30 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1057
1065
|
* Bond not yet at expiry date.
|
|
1058
1066
|
**/
|
|
1059
1067
|
NotExpired: AugmentedError<ApiType>;
|
|
1060
|
-
/**
|
|
1061
|
-
* The given bid for retraction is not found.
|
|
1062
|
-
**/
|
|
1063
|
-
NotFound: AugmentedError<ApiType>;
|
|
1064
1068
|
/**
|
|
1065
1069
|
* Not the owner of the receipt.
|
|
1066
1070
|
**/
|
|
1067
1071
|
NotOwner: AugmentedError<ApiType>;
|
|
1068
1072
|
/**
|
|
1069
|
-
* The
|
|
1073
|
+
* The portion supplied is beyond the value of the receipt.
|
|
1070
1074
|
**/
|
|
1071
|
-
|
|
1075
|
+
PortionTooBig: AugmentedError<ApiType>;
|
|
1072
1076
|
/**
|
|
1073
|
-
* The
|
|
1077
|
+
* The thaw throttle has been reached for this period.
|
|
1074
1078
|
**/
|
|
1075
|
-
|
|
1079
|
+
Throttled: AugmentedError<ApiType>;
|
|
1076
1080
|
/**
|
|
1077
1081
|
* Not enough funds are held to pay out.
|
|
1078
1082
|
**/
|
|
1079
1083
|
Unfunded: AugmentedError<ApiType>;
|
|
1080
1084
|
/**
|
|
1081
|
-
*
|
|
1085
|
+
* The given bid for retraction is not found.
|
|
1086
|
+
**/
|
|
1087
|
+
UnknownBid: AugmentedError<ApiType>;
|
|
1088
|
+
/**
|
|
1089
|
+
* Receipt index is unknown.
|
|
1082
1090
|
**/
|
|
1083
|
-
|
|
1091
|
+
UnknownReceipt: AugmentedError<ApiType>;
|
|
1084
1092
|
/**
|
|
1085
1093
|
* Generic error
|
|
1086
1094
|
**/
|
|
@@ -2305,6 +2313,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2305
2313
|
[key: string]: AugmentedError<ApiType>;
|
|
2306
2314
|
};
|
|
2307
2315
|
xcmPallet: {
|
|
2316
|
+
/**
|
|
2317
|
+
* The given account is not an identifiable sovereign account for any location.
|
|
2318
|
+
**/
|
|
2319
|
+
AccountNotSovereign: AugmentedError<ApiType>;
|
|
2308
2320
|
/**
|
|
2309
2321
|
* The location is invalid since it already has a subscription from us.
|
|
2310
2322
|
**/
|
|
@@ -2330,14 +2342,34 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2330
2342
|
* The assets to be sent are empty.
|
|
2331
2343
|
**/
|
|
2332
2344
|
Empty: AugmentedError<ApiType>;
|
|
2345
|
+
/**
|
|
2346
|
+
* The operation required fees to be paid which the initiator could not meet.
|
|
2347
|
+
**/
|
|
2348
|
+
FeesNotMet: AugmentedError<ApiType>;
|
|
2333
2349
|
/**
|
|
2334
2350
|
* The message execution fails the filter.
|
|
2335
2351
|
**/
|
|
2336
2352
|
Filtered: AugmentedError<ApiType>;
|
|
2353
|
+
/**
|
|
2354
|
+
* The unlock operation cannot succeed because there are still users of the lock.
|
|
2355
|
+
**/
|
|
2356
|
+
InUse: AugmentedError<ApiType>;
|
|
2357
|
+
/**
|
|
2358
|
+
* Invalid asset for the operation.
|
|
2359
|
+
**/
|
|
2360
|
+
InvalidAsset: AugmentedError<ApiType>;
|
|
2337
2361
|
/**
|
|
2338
2362
|
* Origin is invalid for sending.
|
|
2339
2363
|
**/
|
|
2340
2364
|
InvalidOrigin: AugmentedError<ApiType>;
|
|
2365
|
+
/**
|
|
2366
|
+
* A remote lock with the corresponding data could not be found.
|
|
2367
|
+
**/
|
|
2368
|
+
LockNotFound: AugmentedError<ApiType>;
|
|
2369
|
+
/**
|
|
2370
|
+
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
2371
|
+
**/
|
|
2372
|
+
LowBalance: AugmentedError<ApiType>;
|
|
2341
2373
|
/**
|
|
2342
2374
|
* The referenced subscription could not be found.
|
|
2343
2375
|
**/
|
|
@@ -2351,6 +2383,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2351
2383
|
* Too many assets have been attempted for transfer.
|
|
2352
2384
|
**/
|
|
2353
2385
|
TooManyAssets: AugmentedError<ApiType>;
|
|
2386
|
+
/**
|
|
2387
|
+
* The asset owner has too many locks on the asset.
|
|
2388
|
+
**/
|
|
2389
|
+
TooManyLocks: AugmentedError<ApiType>;
|
|
2354
2390
|
/**
|
|
2355
2391
|
* The desired destination was unreachable, generally because there is a no way of routing
|
|
2356
2392
|
* to it.
|
package/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 { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KusamaRuntimeProxyType, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight,
|
|
7
|
+
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KusamaRuntimeProxyType, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3MultiassetMultiAssets, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } 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> {
|
|
@@ -516,6 +516,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
516
516
|
compute: PalletElectionProviderMultiPhaseElectionCompute;
|
|
517
517
|
score: SpNposElectionsElectionScore;
|
|
518
518
|
}>;
|
|
519
|
+
/**
|
|
520
|
+
* There was a phase transition in a given round.
|
|
521
|
+
**/
|
|
522
|
+
PhaseTransitioned: AugmentedEvent<ApiType, [from: PalletElectionProviderMultiPhasePhase, to: PalletElectionProviderMultiPhasePhase, round: u32], {
|
|
523
|
+
from: PalletElectionProviderMultiPhasePhase;
|
|
524
|
+
to: PalletElectionProviderMultiPhasePhase;
|
|
525
|
+
round: u32;
|
|
526
|
+
}>;
|
|
519
527
|
/**
|
|
520
528
|
* An account has been rewarded for their signed submission being finalized.
|
|
521
529
|
**/
|
|
@@ -523,12 +531,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
523
531
|
account: AccountId32;
|
|
524
532
|
value: u128;
|
|
525
533
|
}>;
|
|
526
|
-
/**
|
|
527
|
-
* The signed phase of the given round has started.
|
|
528
|
-
**/
|
|
529
|
-
SignedPhaseStarted: AugmentedEvent<ApiType, [round: u32], {
|
|
530
|
-
round: u32;
|
|
531
|
-
}>;
|
|
532
534
|
/**
|
|
533
535
|
* An account has been slashed for submitting an invalid signed submission.
|
|
534
536
|
**/
|
|
@@ -539,21 +541,17 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
539
541
|
/**
|
|
540
542
|
* A solution was stored with the given compute.
|
|
541
543
|
*
|
|
542
|
-
*
|
|
543
|
-
* solution
|
|
544
|
-
*
|
|
545
|
-
* The `bool` is `true` when a previous solution was ejected to make
|
|
544
|
+
* The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,
|
|
545
|
+
* the stored solution was submited in the signed phase by a miner with the `AccountId`.
|
|
546
|
+
* Otherwise, the solution was stored either during the unsigned phase or by
|
|
547
|
+
* `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
|
|
548
|
+
* room for this one.
|
|
546
549
|
**/
|
|
547
|
-
SolutionStored: AugmentedEvent<ApiType, [compute: PalletElectionProviderMultiPhaseElectionCompute, prevEjected: bool], {
|
|
550
|
+
SolutionStored: AugmentedEvent<ApiType, [compute: PalletElectionProviderMultiPhaseElectionCompute, origin: Option<AccountId32>, prevEjected: bool], {
|
|
548
551
|
compute: PalletElectionProviderMultiPhaseElectionCompute;
|
|
552
|
+
origin: Option<AccountId32>;
|
|
549
553
|
prevEjected: bool;
|
|
550
554
|
}>;
|
|
551
|
-
/**
|
|
552
|
-
* The unsigned phase of the given round has started.
|
|
553
|
-
**/
|
|
554
|
-
UnsignedPhaseStarted: AugmentedEvent<ApiType, [round: u32], {
|
|
555
|
-
round: u32;
|
|
556
|
-
}>;
|
|
557
555
|
/**
|
|
558
556
|
* Generic event
|
|
559
557
|
**/
|
|
@@ -1825,6 +1823,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1825
1823
|
validatorPayout: u128;
|
|
1826
1824
|
remainder: u128;
|
|
1827
1825
|
}>;
|
|
1826
|
+
/**
|
|
1827
|
+
* A new force era mode was set.
|
|
1828
|
+
**/
|
|
1829
|
+
ForceEra: AugmentedEvent<ApiType, [mode: PalletStakingForcing], {
|
|
1830
|
+
mode: PalletStakingForcing;
|
|
1831
|
+
}>;
|
|
1828
1832
|
/**
|
|
1829
1833
|
* A nominator has been kicked from a validator.
|
|
1830
1834
|
**/
|
|
@@ -2163,7 +2167,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2163
2167
|
* Upward message executed with the given outcome.
|
|
2164
2168
|
* \[ id, outcome \]
|
|
2165
2169
|
**/
|
|
2166
|
-
ExecutedUpward: AugmentedEvent<ApiType, [U8aFixed,
|
|
2170
|
+
ExecutedUpward: AugmentedEvent<ApiType, [U8aFixed, XcmV3TraitsOutcome]>;
|
|
2167
2171
|
/**
|
|
2168
2172
|
* Upward message is invalid XCM.
|
|
2169
2173
|
* \[ id \]
|
|
@@ -2306,19 +2310,45 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2306
2310
|
*
|
|
2307
2311
|
* \[ hash, origin, assets \]
|
|
2308
2312
|
**/
|
|
2309
|
-
AssetsClaimed: AugmentedEvent<ApiType, [H256,
|
|
2313
|
+
AssetsClaimed: AugmentedEvent<ApiType, [H256, XcmV3MultiLocation, XcmVersionedMultiAssets]>;
|
|
2310
2314
|
/**
|
|
2311
2315
|
* Some assets have been placed in an asset trap.
|
|
2312
2316
|
*
|
|
2313
2317
|
* \[ hash, origin, assets \]
|
|
2314
2318
|
**/
|
|
2315
|
-
AssetsTrapped: AugmentedEvent<ApiType, [H256,
|
|
2319
|
+
AssetsTrapped: AugmentedEvent<ApiType, [H256, XcmV3MultiLocation, XcmVersionedMultiAssets]>;
|
|
2316
2320
|
/**
|
|
2317
2321
|
* Execution of an XCM message was attempted.
|
|
2318
2322
|
*
|
|
2319
2323
|
* \[ outcome \]
|
|
2320
2324
|
**/
|
|
2321
|
-
Attempted: AugmentedEvent<ApiType, [
|
|
2325
|
+
Attempted: AugmentedEvent<ApiType, [XcmV3TraitsOutcome]>;
|
|
2326
|
+
/**
|
|
2327
|
+
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
2328
|
+
*
|
|
2329
|
+
* \[ paying location, fees \]
|
|
2330
|
+
**/
|
|
2331
|
+
FeesPaid: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;
|
|
2332
|
+
/**
|
|
2333
|
+
* Expected query response has been received but the querier location of the response does
|
|
2334
|
+
* not match the expected. The query remains registered for a later, valid, response to
|
|
2335
|
+
* be received and acted upon.
|
|
2336
|
+
*
|
|
2337
|
+
* \[ origin location, id, expected querier, maybe actual querier \]
|
|
2338
|
+
**/
|
|
2339
|
+
InvalidQuerier: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64, XcmV3MultiLocation, Option<XcmV3MultiLocation>]>;
|
|
2340
|
+
/**
|
|
2341
|
+
* Expected query response has been received but the expected querier location placed in
|
|
2342
|
+
* storage by this runtime previously cannot be decoded. The query remains registered.
|
|
2343
|
+
*
|
|
2344
|
+
* This is unexpected (since a location placed in storage in a previously executing
|
|
2345
|
+
* runtime should be readable prior to query timeout) and dangerous since the possibly
|
|
2346
|
+
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
2347
|
+
* needed.
|
|
2348
|
+
*
|
|
2349
|
+
* \[ origin location, id \]
|
|
2350
|
+
**/
|
|
2351
|
+
InvalidQuerierVersion: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64]>;
|
|
2322
2352
|
/**
|
|
2323
2353
|
* Expected query response has been received but the origin location of the response does
|
|
2324
2354
|
* not match that expected. The query remains registered for a later, valid, response to
|
|
@@ -2326,7 +2356,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2326
2356
|
*
|
|
2327
2357
|
* \[ origin location, id, expected location \]
|
|
2328
2358
|
**/
|
|
2329
|
-
InvalidResponder: AugmentedEvent<ApiType, [
|
|
2359
|
+
InvalidResponder: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64, Option<XcmV3MultiLocation>]>;
|
|
2330
2360
|
/**
|
|
2331
2361
|
* Expected query response has been received but the expected origin location placed in
|
|
2332
2362
|
* storage by this runtime previously cannot be decoded. The query remains registered.
|
|
@@ -2338,7 +2368,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2338
2368
|
*
|
|
2339
2369
|
* \[ origin location, id \]
|
|
2340
2370
|
**/
|
|
2341
|
-
InvalidResponderVersion: AugmentedEvent<ApiType, [
|
|
2371
|
+
InvalidResponderVersion: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64]>;
|
|
2342
2372
|
/**
|
|
2343
2373
|
* Query response has been received and query is removed. The registered notification has
|
|
2344
2374
|
* been dispatched and executed successfully.
|
|
@@ -2382,14 +2412,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2382
2412
|
*
|
|
2383
2413
|
* \[ location, query ID, error \]
|
|
2384
2414
|
**/
|
|
2385
|
-
NotifyTargetSendFail: AugmentedEvent<ApiType, [
|
|
2415
|
+
NotifyTargetSendFail: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64, XcmV3TraitsError]>;
|
|
2386
2416
|
/**
|
|
2387
2417
|
* Query response has been received and is ready for taking with `take_response`. There is
|
|
2388
2418
|
* no registered notification call.
|
|
2389
2419
|
*
|
|
2390
2420
|
* \[ id, response \]
|
|
2391
2421
|
**/
|
|
2392
|
-
ResponseReady: AugmentedEvent<ApiType, [u64,
|
|
2422
|
+
ResponseReady: AugmentedEvent<ApiType, [u64, XcmV3Response]>;
|
|
2393
2423
|
/**
|
|
2394
2424
|
* Received query response has been read and removed.
|
|
2395
2425
|
*
|
|
@@ -2401,14 +2431,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2401
2431
|
*
|
|
2402
2432
|
* \[ origin, destination, message \]
|
|
2403
2433
|
**/
|
|
2404
|
-
Sent: AugmentedEvent<ApiType, [
|
|
2434
|
+
Sent: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiLocation, XcmV3Xcm]>;
|
|
2405
2435
|
/**
|
|
2406
2436
|
* The supported version of a location has been changed. This might be through an
|
|
2407
2437
|
* automatic notification or a manual intervention.
|
|
2408
2438
|
*
|
|
2409
2439
|
* \[ location, XCM version \]
|
|
2410
2440
|
**/
|
|
2411
|
-
SupportedVersionChanged: AugmentedEvent<ApiType, [
|
|
2441
|
+
SupportedVersionChanged: AugmentedEvent<ApiType, [XcmV3MultiLocation, u32]>;
|
|
2412
2442
|
/**
|
|
2413
2443
|
* Query response received which does not match a registered query. This may be because a
|
|
2414
2444
|
* matching query was never registered, it may be because it is a duplicate response, or
|
|
@@ -2416,13 +2446,34 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2416
2446
|
*
|
|
2417
2447
|
* \[ origin location, id \]
|
|
2418
2448
|
**/
|
|
2419
|
-
UnexpectedResponse: AugmentedEvent<ApiType, [
|
|
2449
|
+
UnexpectedResponse: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64]>;
|
|
2420
2450
|
/**
|
|
2421
2451
|
* An XCM version change notification message has been attempted to be sent.
|
|
2422
2452
|
*
|
|
2423
|
-
*
|
|
2453
|
+
* The cost of sending it (borne by the chain) is included.
|
|
2454
|
+
*
|
|
2455
|
+
* \[ destination, result, cost \]
|
|
2456
|
+
**/
|
|
2457
|
+
VersionChangeNotified: AugmentedEvent<ApiType, [XcmV3MultiLocation, u32, XcmV3MultiassetMultiAssets]>;
|
|
2458
|
+
/**
|
|
2459
|
+
* We have requested that a remote chain sends us XCM version change notifications.
|
|
2460
|
+
*
|
|
2461
|
+
* \[ destination location, cost \]
|
|
2462
|
+
**/
|
|
2463
|
+
VersionNotifyRequested: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;
|
|
2464
|
+
/**
|
|
2465
|
+
* A remote has requested XCM version change notification from us and we have honored it.
|
|
2466
|
+
* A version information message is sent to them and its cost is included.
|
|
2467
|
+
*
|
|
2468
|
+
* \[ destination location, cost \]
|
|
2469
|
+
**/
|
|
2470
|
+
VersionNotifyStarted: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;
|
|
2471
|
+
/**
|
|
2472
|
+
* We have requested that a remote chain stops sending us XCM version change notifications.
|
|
2473
|
+
*
|
|
2474
|
+
* \[ destination location, cost \]
|
|
2424
2475
|
**/
|
|
2425
|
-
|
|
2476
|
+
VersionNotifyUnrequested: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>;
|
|
2426
2477
|
/**
|
|
2427
2478
|
* Generic event
|
|
2428
2479
|
**/
|
package/kusama/query.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u16
|
|
|
5
5
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
7
7
|
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
8
|
-
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletConvictionVotingVoteVoting, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
8
|
+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletConvictionVotingVoteVoting, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
9
9
|
import type { Observable } from '@polkadot/types/types';
|
|
10
10
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
11
11
|
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
@@ -561,6 +561,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
561
561
|
* The map of all accounts wishing to be unstaked.
|
|
562
562
|
*
|
|
563
563
|
* Keeps track of `AccountId` wishing to unstake and it's corresponding deposit.
|
|
564
|
+
*
|
|
565
|
+
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
|
564
566
|
**/
|
|
565
567
|
queue: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
566
568
|
/**
|
|
@@ -1007,6 +1009,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1007
1009
|
minJoinBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1008
1010
|
/**
|
|
1009
1011
|
* Active members.
|
|
1012
|
+
*
|
|
1013
|
+
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
|
1010
1014
|
**/
|
|
1011
1015
|
poolMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletNominationPoolsPoolMember>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1012
1016
|
/**
|
|
@@ -1649,6 +1653,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1649
1653
|
activeEra: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingActiveEraInfo>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1650
1654
|
/**
|
|
1651
1655
|
* Map from all locked "stash" accounts to the controller account.
|
|
1656
|
+
*
|
|
1657
|
+
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
|
1652
1658
|
**/
|
|
1653
1659
|
bonded: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1654
1660
|
/**
|
|
@@ -1809,6 +1815,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1809
1815
|
*
|
|
1810
1816
|
* Lastly, if any of the nominators become non-decodable, they can be chilled immediately via
|
|
1811
1817
|
* [`Call::chill_other`] dispatchable by anyone.
|
|
1818
|
+
*
|
|
1819
|
+
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
|
1812
1820
|
**/
|
|
1813
1821
|
nominators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingNominations>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1814
1822
|
/**
|
|
@@ -1829,6 +1837,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1829
1837
|
offendingValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, bool]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1830
1838
|
/**
|
|
1831
1839
|
* Where the reward payment should be made. Keyed by stash.
|
|
1840
|
+
*
|
|
1841
|
+
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
|
1832
1842
|
**/
|
|
1833
1843
|
payee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStakingRewardDestination>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1834
1844
|
/**
|
|
@@ -1856,6 +1866,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1856
1866
|
validatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1857
1867
|
/**
|
|
1858
1868
|
* The map from (wannabe) validator stash key to the preferences of that validator.
|
|
1869
|
+
*
|
|
1870
|
+
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
|
1859
1871
|
**/
|
|
1860
1872
|
validators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1861
1873
|
/**
|
|
@@ -2060,6 +2072,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2060
2072
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2061
2073
|
};
|
|
2062
2074
|
ump: {
|
|
2075
|
+
/**
|
|
2076
|
+
* Counter for the related counted storage map
|
|
2077
|
+
**/
|
|
2078
|
+
counterForOverweight: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2063
2079
|
/**
|
|
2064
2080
|
* The ordered list of `ParaId`s that have a `RelayDispatchQueue` entry.
|
|
2065
2081
|
*
|
|
@@ -2172,6 +2188,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2172
2188
|
* The current migration's stage, if any.
|
|
2173
2189
|
**/
|
|
2174
2190
|
currentMigration: AugmentedQuery<ApiType, () => Observable<Option<PalletXcmVersionMigrationStage>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2191
|
+
/**
|
|
2192
|
+
* Fungible assets which we know are locked on this chain.
|
|
2193
|
+
**/
|
|
2194
|
+
lockedFungibles: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<ITuple<[u128, XcmVersionedMultiLocation]>>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2175
2195
|
/**
|
|
2176
2196
|
* The ongoing queries.
|
|
2177
2197
|
**/
|
|
@@ -2180,6 +2200,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2180
2200
|
* The latest available query index.
|
|
2181
2201
|
**/
|
|
2182
2202
|
queryCounter: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2203
|
+
/**
|
|
2204
|
+
* Fungible assets which we know are locked on a remote chain.
|
|
2205
|
+
**/
|
|
2206
|
+
remoteLockedFungibles: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: XcmVersionedAssetId | {
|
|
2207
|
+
V3: any;
|
|
2208
|
+
} | string | Uint8Array) => Observable<Option<PalletXcmRemoteLockedFungibleRecord>>, [u32, AccountId32, XcmVersionedAssetId]> & QueryableStorageEntry<ApiType, [u32, AccountId32, XcmVersionedAssetId]>;
|
|
2183
2209
|
/**
|
|
2184
2210
|
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
|
2185
2211
|
* then the destinations whose XCM version is unknown are considered unreachable.
|
|
@@ -2189,9 +2215,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2189
2215
|
* The Latest versions that we know various locations support.
|
|
2190
2216
|
**/
|
|
2191
2217
|
supportedVersion: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedMultiLocation | {
|
|
2192
|
-
|
|
2218
|
+
V2: any;
|
|
2193
2219
|
} | {
|
|
2194
|
-
|
|
2220
|
+
V3: any;
|
|
2195
2221
|
} | string | Uint8Array) => Observable<Option<u32>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;
|
|
2196
2222
|
/**
|
|
2197
2223
|
* Destinations whose latest XCM version we would like to know. Duplicates not allowed, and
|
|
@@ -2203,19 +2229,19 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2203
2229
|
* All locations that we have requested version notifications from.
|
|
2204
2230
|
**/
|
|
2205
2231
|
versionNotifiers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedMultiLocation | {
|
|
2206
|
-
|
|
2232
|
+
V2: any;
|
|
2207
2233
|
} | {
|
|
2208
|
-
|
|
2234
|
+
V3: any;
|
|
2209
2235
|
} | string | Uint8Array) => Observable<Option<u64>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;
|
|
2210
2236
|
/**
|
|
2211
2237
|
* The target locations that are subscribed to our version changes, as well as the most recent
|
|
2212
2238
|
* of our versions we informed them of.
|
|
2213
2239
|
**/
|
|
2214
2240
|
versionNotifyTargets: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedMultiLocation | {
|
|
2215
|
-
|
|
2241
|
+
V2: any;
|
|
2216
2242
|
} | {
|
|
2217
|
-
|
|
2218
|
-
} | string | Uint8Array) => Observable<Option<ITuple<[u64,
|
|
2243
|
+
V3: any;
|
|
2244
|
+
} | string | Uint8Array) => Observable<Option<ITuple<[u64, SpWeightsWeightV2Weight, u32]>>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;
|
|
2219
2245
|
/**
|
|
2220
2246
|
* Generic query
|
|
2221
2247
|
**/
|