@polkadot/api-augment 10.7.3 → 10.9.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 +29 -5
- package/kusama/errors.d.ts +38 -14
- package/kusama/events.d.ts +157 -118
- package/kusama/query.d.ts +35 -68
- package/kusama/tx.d.ts +382 -2741
- package/package.json +8 -8
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +28 -0
- package/polkadot/errors.d.ts +38 -14
- package/polkadot/events.d.ts +157 -118
- package/polkadot/query.d.ts +36 -69
- package/polkadot/tx.d.ts +380 -2866
- package/substrate/consts.d.ts +101 -6
- package/substrate/errors.d.ts +223 -0
- package/substrate/events.d.ts +283 -18
- package/substrate/query.d.ts +68 -7
- package/substrate/tx.d.ts +964 -4498
package/cjs/packageInfo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.packageInfo = void 0;
|
|
4
|
-
exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.
|
|
4
|
+
exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.9.1' };
|
package/kusama/consts.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ 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
5
|
import type { Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights,
|
|
6
|
+
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } 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> {
|
|
@@ -400,6 +400,34 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
400
400
|
**/
|
|
401
401
|
[key: string]: Codec;
|
|
402
402
|
};
|
|
403
|
+
messageQueue: {
|
|
404
|
+
/**
|
|
405
|
+
* The size of the page; this implies the maximum message size which can be sent.
|
|
406
|
+
*
|
|
407
|
+
* A good value depends on the expected message sizes, their weights, the weight that is
|
|
408
|
+
* available for processing them and the maximal needed message size. The maximal message
|
|
409
|
+
* size is slightly lower than this as defined by [`MaxMessageLenOf`].
|
|
410
|
+
**/
|
|
411
|
+
heapSize: u32 & AugmentedConst<ApiType>;
|
|
412
|
+
/**
|
|
413
|
+
* The maximum number of stale pages (i.e. of overweight messages) allowed before culling
|
|
414
|
+
* can happen. Once there are more stale pages than this, then historical pages may be
|
|
415
|
+
* dropped, even if they contain unprocessed overweight messages.
|
|
416
|
+
**/
|
|
417
|
+
maxStale: u32 & AugmentedConst<ApiType>;
|
|
418
|
+
/**
|
|
419
|
+
* The amount of weight (if any) which should be provided to the message queue for
|
|
420
|
+
* servicing enqueued items.
|
|
421
|
+
*
|
|
422
|
+
* This may be legitimately `None` in the case that you will call
|
|
423
|
+
* `ServiceQueues::service_queues` manually.
|
|
424
|
+
**/
|
|
425
|
+
serviceWeight: Option<SpWeightsWeightV2Weight> & AugmentedConst<ApiType>;
|
|
426
|
+
/**
|
|
427
|
+
* Generic const
|
|
428
|
+
**/
|
|
429
|
+
[key: string]: Codec;
|
|
430
|
+
};
|
|
403
431
|
multisig: {
|
|
404
432
|
/**
|
|
405
433
|
* The base amount of currency needed to reserve for creating a multisig execution or to
|
|
@@ -437,10 +465,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
437
465
|
* Must be no greater than `MaxQueueLen`.
|
|
438
466
|
**/
|
|
439
467
|
fifoQueueLen: u32 & AugmentedConst<ApiType>;
|
|
440
|
-
/**
|
|
441
|
-
* The identifier of the hold reason.
|
|
442
|
-
**/
|
|
443
|
-
holdReason: KusamaRuntimeRuntimeHoldReason & AugmentedConst<ApiType>;
|
|
444
468
|
/**
|
|
445
469
|
* The number of blocks between consecutive attempts to dequeue bids and create receipts.
|
|
446
470
|
*
|
package/kusama/errors.d.ts
CHANGED
|
@@ -798,6 +798,44 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
798
798
|
**/
|
|
799
799
|
[key: string]: AugmentedError<ApiType>;
|
|
800
800
|
};
|
|
801
|
+
messageQueue: {
|
|
802
|
+
/**
|
|
803
|
+
* The message was already processed and cannot be processed again.
|
|
804
|
+
**/
|
|
805
|
+
AlreadyProcessed: AugmentedError<ApiType>;
|
|
806
|
+
/**
|
|
807
|
+
* There is temporarily not enough weight to continue servicing messages.
|
|
808
|
+
**/
|
|
809
|
+
InsufficientWeight: AugmentedError<ApiType>;
|
|
810
|
+
/**
|
|
811
|
+
* The referenced message could not be found.
|
|
812
|
+
**/
|
|
813
|
+
NoMessage: AugmentedError<ApiType>;
|
|
814
|
+
/**
|
|
815
|
+
* Page to be reaped does not exist.
|
|
816
|
+
**/
|
|
817
|
+
NoPage: AugmentedError<ApiType>;
|
|
818
|
+
/**
|
|
819
|
+
* Page is not reapable because it has items remaining to be processed and is not old
|
|
820
|
+
* enough.
|
|
821
|
+
**/
|
|
822
|
+
NotReapable: AugmentedError<ApiType>;
|
|
823
|
+
/**
|
|
824
|
+
* The message is queued for future execution.
|
|
825
|
+
**/
|
|
826
|
+
Queued: AugmentedError<ApiType>;
|
|
827
|
+
/**
|
|
828
|
+
* This message is temporarily unprocessable.
|
|
829
|
+
*
|
|
830
|
+
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
831
|
+
* retrying.
|
|
832
|
+
**/
|
|
833
|
+
TemporarilyUnprocessable: AugmentedError<ApiType>;
|
|
834
|
+
/**
|
|
835
|
+
* Generic error
|
|
836
|
+
**/
|
|
837
|
+
[key: string]: AugmentedError<ApiType>;
|
|
838
|
+
};
|
|
801
839
|
multisig: {
|
|
802
840
|
/**
|
|
803
841
|
* Call is already approved by this signatory.
|
|
@@ -1964,20 +2002,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1964
2002
|
**/
|
|
1965
2003
|
[key: string]: AugmentedError<ApiType>;
|
|
1966
2004
|
};
|
|
1967
|
-
ump: {
|
|
1968
|
-
/**
|
|
1969
|
-
* The message index given is unknown.
|
|
1970
|
-
**/
|
|
1971
|
-
UnknownMessageIndex: AugmentedError<ApiType>;
|
|
1972
|
-
/**
|
|
1973
|
-
* The amount of weight given is possibly not enough for executing the message.
|
|
1974
|
-
**/
|
|
1975
|
-
WeightOverLimit: AugmentedError<ApiType>;
|
|
1976
|
-
/**
|
|
1977
|
-
* Generic error
|
|
1978
|
-
**/
|
|
1979
|
-
[key: string]: AugmentedError<ApiType>;
|
|
1980
|
-
};
|
|
1981
2005
|
utility: {
|
|
1982
2006
|
/**
|
|
1983
2007
|
* Too many calls batched.
|
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, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3MultiassetMultiAssets, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
7
|
+
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KusamaRuntimeProxyType, PalletConvictionVotingTally, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, 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> {
|
|
@@ -837,6 +837,45 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
837
837
|
**/
|
|
838
838
|
[key: string]: AugmentedEvent<ApiType>;
|
|
839
839
|
};
|
|
840
|
+
messageQueue: {
|
|
841
|
+
/**
|
|
842
|
+
* Message placed in overweight queue.
|
|
843
|
+
**/
|
|
844
|
+
OverweightEnqueued: AugmentedEvent<ApiType, [id: U8aFixed, origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, pageIndex: u32, messageIndex: u32], {
|
|
845
|
+
id: U8aFixed;
|
|
846
|
+
origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
|
|
847
|
+
pageIndex: u32;
|
|
848
|
+
messageIndex: u32;
|
|
849
|
+
}>;
|
|
850
|
+
/**
|
|
851
|
+
* This page was reaped.
|
|
852
|
+
**/
|
|
853
|
+
PageReaped: AugmentedEvent<ApiType, [origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, index: u32], {
|
|
854
|
+
origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
|
|
855
|
+
index: u32;
|
|
856
|
+
}>;
|
|
857
|
+
/**
|
|
858
|
+
* Message is processed.
|
|
859
|
+
**/
|
|
860
|
+
Processed: AugmentedEvent<ApiType, [id: U8aFixed, origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, weightUsed: SpWeightsWeightV2Weight, success: bool], {
|
|
861
|
+
id: U8aFixed;
|
|
862
|
+
origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
|
|
863
|
+
weightUsed: SpWeightsWeightV2Weight;
|
|
864
|
+
success: bool;
|
|
865
|
+
}>;
|
|
866
|
+
/**
|
|
867
|
+
* Message discarded due to an error in the `MessageProcessor` (usually a format error).
|
|
868
|
+
**/
|
|
869
|
+
ProcessingFailed: AugmentedEvent<ApiType, [id: U8aFixed, origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, error: FrameSupportMessagesProcessMessageError], {
|
|
870
|
+
id: U8aFixed;
|
|
871
|
+
origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
|
|
872
|
+
error: FrameSupportMessagesProcessMessageError;
|
|
873
|
+
}>;
|
|
874
|
+
/**
|
|
875
|
+
* Generic event
|
|
876
|
+
**/
|
|
877
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
878
|
+
};
|
|
840
879
|
multisig: {
|
|
841
880
|
/**
|
|
842
881
|
* A multisig operation has been approved by someone.
|
|
@@ -1264,6 +1303,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1264
1303
|
* A candidate timed out. `[candidate, head_data]`
|
|
1265
1304
|
**/
|
|
1266
1305
|
CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV4CandidateReceipt, Bytes, u32]>;
|
|
1306
|
+
/**
|
|
1307
|
+
* Some upward messages have been received and will be processed.
|
|
1308
|
+
**/
|
|
1309
|
+
UpwardMessagesReceived: AugmentedEvent<ApiType, [from: u32, count: u32], {
|
|
1310
|
+
from: u32;
|
|
1311
|
+
count: u32;
|
|
1312
|
+
}>;
|
|
1267
1313
|
/**
|
|
1268
1314
|
* Generic event
|
|
1269
1315
|
**/
|
|
@@ -2027,53 +2073,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2027
2073
|
**/
|
|
2028
2074
|
[key: string]: AugmentedEvent<ApiType>;
|
|
2029
2075
|
};
|
|
2030
|
-
ump: {
|
|
2031
|
-
/**
|
|
2032
|
-
* Upward message executed with the given outcome.
|
|
2033
|
-
* \[ id, outcome \]
|
|
2034
|
-
**/
|
|
2035
|
-
ExecutedUpward: AugmentedEvent<ApiType, [U8aFixed, XcmV3TraitsOutcome]>;
|
|
2036
|
-
/**
|
|
2037
|
-
* Upward message is invalid XCM.
|
|
2038
|
-
* \[ id \]
|
|
2039
|
-
**/
|
|
2040
|
-
InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;
|
|
2041
|
-
/**
|
|
2042
|
-
* The weight budget was exceeded for an individual upward message.
|
|
2043
|
-
*
|
|
2044
|
-
* This message can be later dispatched manually using `service_overweight` dispatchable
|
|
2045
|
-
* using the assigned `overweight_index`.
|
|
2046
|
-
*
|
|
2047
|
-
* \[ para, id, overweight_index, required \]
|
|
2048
|
-
**/
|
|
2049
|
-
OverweightEnqueued: AugmentedEvent<ApiType, [u32, U8aFixed, u64, SpWeightsWeightV2Weight]>;
|
|
2050
|
-
/**
|
|
2051
|
-
* Upward message from the overweight queue was executed with the given actual weight
|
|
2052
|
-
* used.
|
|
2053
|
-
*
|
|
2054
|
-
* \[ overweight_index, used \]
|
|
2055
|
-
**/
|
|
2056
|
-
OverweightServiced: AugmentedEvent<ApiType, [u64, SpWeightsWeightV2Weight]>;
|
|
2057
|
-
/**
|
|
2058
|
-
* Upward message is unsupported version of XCM.
|
|
2059
|
-
* \[ id \]
|
|
2060
|
-
**/
|
|
2061
|
-
UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;
|
|
2062
|
-
/**
|
|
2063
|
-
* Some upward messages have been received and will be processed.
|
|
2064
|
-
* \[ para, count, size \]
|
|
2065
|
-
**/
|
|
2066
|
-
UpwardMessagesReceived: AugmentedEvent<ApiType, [u32, u32, u32]>;
|
|
2067
|
-
/**
|
|
2068
|
-
* The weight limit for handling upward messages was reached.
|
|
2069
|
-
* \[ id, remaining, required \]
|
|
2070
|
-
**/
|
|
2071
|
-
WeightExhausted: AugmentedEvent<ApiType, [U8aFixed, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;
|
|
2072
|
-
/**
|
|
2073
|
-
* Generic event
|
|
2074
|
-
**/
|
|
2075
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
2076
|
-
};
|
|
2077
2076
|
utility: {
|
|
2078
2077
|
/**
|
|
2079
2078
|
* Batch of dispatches completed fully with no error.
|
|
@@ -2172,36 +2171,44 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2172
2171
|
xcmPallet: {
|
|
2173
2172
|
/**
|
|
2174
2173
|
* Some assets have been claimed from an asset trap
|
|
2175
|
-
*
|
|
2176
|
-
* \[ hash, origin, assets \]
|
|
2177
2174
|
**/
|
|
2178
|
-
AssetsClaimed: AugmentedEvent<ApiType, [H256, XcmV3MultiLocation, XcmVersionedMultiAssets]
|
|
2175
|
+
AssetsClaimed: AugmentedEvent<ApiType, [hash_: H256, origin: XcmV3MultiLocation, assets: XcmVersionedMultiAssets], {
|
|
2176
|
+
hash_: H256;
|
|
2177
|
+
origin: XcmV3MultiLocation;
|
|
2178
|
+
assets: XcmVersionedMultiAssets;
|
|
2179
|
+
}>;
|
|
2179
2180
|
/**
|
|
2180
2181
|
* Some assets have been placed in an asset trap.
|
|
2181
|
-
*
|
|
2182
|
-
* \[ hash, origin, assets \]
|
|
2183
2182
|
**/
|
|
2184
|
-
AssetsTrapped: AugmentedEvent<ApiType, [H256, XcmV3MultiLocation, XcmVersionedMultiAssets]
|
|
2183
|
+
AssetsTrapped: AugmentedEvent<ApiType, [hash_: H256, origin: XcmV3MultiLocation, assets: XcmVersionedMultiAssets], {
|
|
2184
|
+
hash_: H256;
|
|
2185
|
+
origin: XcmV3MultiLocation;
|
|
2186
|
+
assets: XcmVersionedMultiAssets;
|
|
2187
|
+
}>;
|
|
2185
2188
|
/**
|
|
2186
2189
|
* Execution of an XCM message was attempted.
|
|
2187
|
-
*
|
|
2188
|
-
* \[ outcome \]
|
|
2189
2190
|
**/
|
|
2190
|
-
Attempted: AugmentedEvent<ApiType, [XcmV3TraitsOutcome]
|
|
2191
|
+
Attempted: AugmentedEvent<ApiType, [outcome: XcmV3TraitsOutcome], {
|
|
2192
|
+
outcome: XcmV3TraitsOutcome;
|
|
2193
|
+
}>;
|
|
2191
2194
|
/**
|
|
2192
2195
|
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
2193
|
-
*
|
|
2194
|
-
* \[ paying location, fees \]
|
|
2195
2196
|
**/
|
|
2196
|
-
FeesPaid: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]
|
|
2197
|
+
FeesPaid: AugmentedEvent<ApiType, [paying: XcmV3MultiLocation, fees: XcmV3MultiassetMultiAssets], {
|
|
2198
|
+
paying: XcmV3MultiLocation;
|
|
2199
|
+
fees: XcmV3MultiassetMultiAssets;
|
|
2200
|
+
}>;
|
|
2197
2201
|
/**
|
|
2198
2202
|
* Expected query response has been received but the querier location of the response does
|
|
2199
2203
|
* not match the expected. The query remains registered for a later, valid, response to
|
|
2200
2204
|
* be received and acted upon.
|
|
2201
|
-
*
|
|
2202
|
-
* \[ origin location, id, expected querier, maybe actual querier \]
|
|
2203
2205
|
**/
|
|
2204
|
-
InvalidQuerier: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64, XcmV3MultiLocation, Option<XcmV3MultiLocation>]
|
|
2206
|
+
InvalidQuerier: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64, expectedQuerier: XcmV3MultiLocation, maybeActualQuerier: Option<XcmV3MultiLocation>], {
|
|
2207
|
+
origin: XcmV3MultiLocation;
|
|
2208
|
+
queryId: u64;
|
|
2209
|
+
expectedQuerier: XcmV3MultiLocation;
|
|
2210
|
+
maybeActualQuerier: Option<XcmV3MultiLocation>;
|
|
2211
|
+
}>;
|
|
2205
2212
|
/**
|
|
2206
2213
|
* Expected query response has been received but the expected querier location placed in
|
|
2207
2214
|
* storage by this runtime previously cannot be decoded. The query remains registered.
|
|
@@ -2210,18 +2217,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2210
2217
|
* runtime should be readable prior to query timeout) and dangerous since the possibly
|
|
2211
2218
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
2212
2219
|
* needed.
|
|
2213
|
-
*
|
|
2214
|
-
* \[ origin location, id \]
|
|
2215
2220
|
**/
|
|
2216
|
-
InvalidQuerierVersion: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64]
|
|
2221
|
+
InvalidQuerierVersion: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64], {
|
|
2222
|
+
origin: XcmV3MultiLocation;
|
|
2223
|
+
queryId: u64;
|
|
2224
|
+
}>;
|
|
2217
2225
|
/**
|
|
2218
2226
|
* Expected query response has been received but the origin location of the response does
|
|
2219
2227
|
* not match that expected. The query remains registered for a later, valid, response to
|
|
2220
2228
|
* be received and acted upon.
|
|
2221
|
-
*
|
|
2222
|
-
* \[ origin location, id, expected location \]
|
|
2223
2229
|
**/
|
|
2224
|
-
InvalidResponder: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64, Option<XcmV3MultiLocation>]
|
|
2230
|
+
InvalidResponder: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64, expectedLocation: Option<XcmV3MultiLocation>], {
|
|
2231
|
+
origin: XcmV3MultiLocation;
|
|
2232
|
+
queryId: u64;
|
|
2233
|
+
expectedLocation: Option<XcmV3MultiLocation>;
|
|
2234
|
+
}>;
|
|
2225
2235
|
/**
|
|
2226
2236
|
* Expected query response has been received but the expected origin location placed in
|
|
2227
2237
|
* storage by this runtime previously cannot be decoded. The query remains registered.
|
|
@@ -2230,115 +2240,144 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2230
2240
|
* runtime should be readable prior to query timeout) and dangerous since the possibly
|
|
2231
2241
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
2232
2242
|
* needed.
|
|
2233
|
-
*
|
|
2234
|
-
* \[ origin location, id \]
|
|
2235
2243
|
**/
|
|
2236
|
-
InvalidResponderVersion: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64]
|
|
2244
|
+
InvalidResponderVersion: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64], {
|
|
2245
|
+
origin: XcmV3MultiLocation;
|
|
2246
|
+
queryId: u64;
|
|
2247
|
+
}>;
|
|
2237
2248
|
/**
|
|
2238
2249
|
* Query response has been received and query is removed. The registered notification has
|
|
2239
2250
|
* been dispatched and executed successfully.
|
|
2240
|
-
*
|
|
2241
|
-
* \[ id, pallet index, call index \]
|
|
2242
2251
|
**/
|
|
2243
|
-
Notified: AugmentedEvent<ApiType, [u64, u8, u8]
|
|
2252
|
+
Notified: AugmentedEvent<ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], {
|
|
2253
|
+
queryId: u64;
|
|
2254
|
+
palletIndex: u8;
|
|
2255
|
+
callIndex: u8;
|
|
2256
|
+
}>;
|
|
2244
2257
|
/**
|
|
2245
2258
|
* Query response has been received and query is removed. The dispatch was unable to be
|
|
2246
2259
|
* decoded into a `Call`; this might be due to dispatch function having a signature which
|
|
2247
2260
|
* is not `(origin, QueryId, Response)`.
|
|
2248
|
-
*
|
|
2249
|
-
* \[ id, pallet index, call index \]
|
|
2250
2261
|
**/
|
|
2251
|
-
NotifyDecodeFailed: AugmentedEvent<ApiType, [u64, u8, u8]
|
|
2262
|
+
NotifyDecodeFailed: AugmentedEvent<ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], {
|
|
2263
|
+
queryId: u64;
|
|
2264
|
+
palletIndex: u8;
|
|
2265
|
+
callIndex: u8;
|
|
2266
|
+
}>;
|
|
2252
2267
|
/**
|
|
2253
2268
|
* Query response has been received and query is removed. There was a general error with
|
|
2254
2269
|
* dispatching the notification call.
|
|
2255
|
-
*
|
|
2256
|
-
* \[ id, pallet index, call index \]
|
|
2257
2270
|
**/
|
|
2258
|
-
NotifyDispatchError: AugmentedEvent<ApiType, [u64, u8, u8]
|
|
2271
|
+
NotifyDispatchError: AugmentedEvent<ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], {
|
|
2272
|
+
queryId: u64;
|
|
2273
|
+
palletIndex: u8;
|
|
2274
|
+
callIndex: u8;
|
|
2275
|
+
}>;
|
|
2259
2276
|
/**
|
|
2260
2277
|
* Query response has been received and query is removed. The registered notification could
|
|
2261
2278
|
* not be dispatched because the dispatch weight is greater than the maximum weight
|
|
2262
2279
|
* originally budgeted by this runtime for the query result.
|
|
2263
|
-
*
|
|
2264
|
-
* \[ id, pallet index, call index, actual weight, max budgeted weight \]
|
|
2265
2280
|
**/
|
|
2266
|
-
NotifyOverweight: AugmentedEvent<ApiType, [u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]
|
|
2281
|
+
NotifyOverweight: AugmentedEvent<ApiType, [queryId: u64, palletIndex: u8, callIndex: u8, actualWeight: SpWeightsWeightV2Weight, maxBudgetedWeight: SpWeightsWeightV2Weight], {
|
|
2282
|
+
queryId: u64;
|
|
2283
|
+
palletIndex: u8;
|
|
2284
|
+
callIndex: u8;
|
|
2285
|
+
actualWeight: SpWeightsWeightV2Weight;
|
|
2286
|
+
maxBudgetedWeight: SpWeightsWeightV2Weight;
|
|
2287
|
+
}>;
|
|
2267
2288
|
/**
|
|
2268
2289
|
* A given location which had a version change subscription was dropped owing to an error
|
|
2269
2290
|
* migrating the location to our new XCM format.
|
|
2270
|
-
*
|
|
2271
|
-
* \[ location, query ID \]
|
|
2272
2291
|
**/
|
|
2273
|
-
NotifyTargetMigrationFail: AugmentedEvent<ApiType, [XcmVersionedMultiLocation, u64]
|
|
2292
|
+
NotifyTargetMigrationFail: AugmentedEvent<ApiType, [location: XcmVersionedMultiLocation, queryId: u64], {
|
|
2293
|
+
location: XcmVersionedMultiLocation;
|
|
2294
|
+
queryId: u64;
|
|
2295
|
+
}>;
|
|
2274
2296
|
/**
|
|
2275
2297
|
* A given location which had a version change subscription was dropped owing to an error
|
|
2276
2298
|
* sending the notification to it.
|
|
2277
|
-
*
|
|
2278
|
-
* \[ location, query ID, error \]
|
|
2279
2299
|
**/
|
|
2280
|
-
NotifyTargetSendFail: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64, XcmV3TraitsError]
|
|
2300
|
+
NotifyTargetSendFail: AugmentedEvent<ApiType, [location: XcmV3MultiLocation, queryId: u64, error: XcmV3TraitsError], {
|
|
2301
|
+
location: XcmV3MultiLocation;
|
|
2302
|
+
queryId: u64;
|
|
2303
|
+
error: XcmV3TraitsError;
|
|
2304
|
+
}>;
|
|
2281
2305
|
/**
|
|
2282
2306
|
* Query response has been received and is ready for taking with `take_response`. There is
|
|
2283
2307
|
* no registered notification call.
|
|
2284
|
-
*
|
|
2285
|
-
* \[ id, response \]
|
|
2286
2308
|
**/
|
|
2287
|
-
ResponseReady: AugmentedEvent<ApiType, [u64, XcmV3Response]
|
|
2309
|
+
ResponseReady: AugmentedEvent<ApiType, [queryId: u64, response: XcmV3Response], {
|
|
2310
|
+
queryId: u64;
|
|
2311
|
+
response: XcmV3Response;
|
|
2312
|
+
}>;
|
|
2288
2313
|
/**
|
|
2289
2314
|
* Received query response has been read and removed.
|
|
2290
|
-
*
|
|
2291
|
-
* \[ id \]
|
|
2292
2315
|
**/
|
|
2293
|
-
ResponseTaken: AugmentedEvent<ApiType, [u64]
|
|
2316
|
+
ResponseTaken: AugmentedEvent<ApiType, [queryId: u64], {
|
|
2317
|
+
queryId: u64;
|
|
2318
|
+
}>;
|
|
2294
2319
|
/**
|
|
2295
2320
|
* A XCM message was sent.
|
|
2296
|
-
*
|
|
2297
|
-
* \[ origin, destination, message \]
|
|
2298
2321
|
**/
|
|
2299
|
-
Sent: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiLocation, XcmV3Xcm]
|
|
2322
|
+
Sent: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, destination: XcmV3MultiLocation, message: XcmV3Xcm, messageId: U8aFixed], {
|
|
2323
|
+
origin: XcmV3MultiLocation;
|
|
2324
|
+
destination: XcmV3MultiLocation;
|
|
2325
|
+
message: XcmV3Xcm;
|
|
2326
|
+
messageId: U8aFixed;
|
|
2327
|
+
}>;
|
|
2300
2328
|
/**
|
|
2301
2329
|
* The supported version of a location has been changed. This might be through an
|
|
2302
2330
|
* automatic notification or a manual intervention.
|
|
2303
|
-
*
|
|
2304
|
-
* \[ location, XCM version \]
|
|
2305
2331
|
**/
|
|
2306
|
-
SupportedVersionChanged: AugmentedEvent<ApiType, [XcmV3MultiLocation, u32]
|
|
2332
|
+
SupportedVersionChanged: AugmentedEvent<ApiType, [location: XcmV3MultiLocation, version: u32], {
|
|
2333
|
+
location: XcmV3MultiLocation;
|
|
2334
|
+
version: u32;
|
|
2335
|
+
}>;
|
|
2307
2336
|
/**
|
|
2308
2337
|
* Query response received which does not match a registered query. This may be because a
|
|
2309
2338
|
* matching query was never registered, it may be because it is a duplicate response, or
|
|
2310
2339
|
* because the query timed out.
|
|
2311
|
-
*
|
|
2312
|
-
* \[ origin location, id \]
|
|
2313
2340
|
**/
|
|
2314
|
-
UnexpectedResponse: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64]
|
|
2341
|
+
UnexpectedResponse: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64], {
|
|
2342
|
+
origin: XcmV3MultiLocation;
|
|
2343
|
+
queryId: u64;
|
|
2344
|
+
}>;
|
|
2315
2345
|
/**
|
|
2316
2346
|
* An XCM version change notification message has been attempted to be sent.
|
|
2317
2347
|
*
|
|
2318
2348
|
* The cost of sending it (borne by the chain) is included.
|
|
2319
|
-
*
|
|
2320
|
-
* \[ destination, result, cost \]
|
|
2321
2349
|
**/
|
|
2322
|
-
VersionChangeNotified: AugmentedEvent<ApiType, [XcmV3MultiLocation, u32, XcmV3MultiassetMultiAssets]
|
|
2350
|
+
VersionChangeNotified: AugmentedEvent<ApiType, [destination: XcmV3MultiLocation, result: u32, cost: XcmV3MultiassetMultiAssets, messageId: U8aFixed], {
|
|
2351
|
+
destination: XcmV3MultiLocation;
|
|
2352
|
+
result: u32;
|
|
2353
|
+
cost: XcmV3MultiassetMultiAssets;
|
|
2354
|
+
messageId: U8aFixed;
|
|
2355
|
+
}>;
|
|
2323
2356
|
/**
|
|
2324
|
-
* We have requested that a remote chain
|
|
2325
|
-
*
|
|
2326
|
-
* \[ destination location, cost \]
|
|
2357
|
+
* We have requested that a remote chain send us XCM version change notifications.
|
|
2327
2358
|
**/
|
|
2328
|
-
VersionNotifyRequested: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]
|
|
2359
|
+
VersionNotifyRequested: AugmentedEvent<ApiType, [destination: XcmV3MultiLocation, cost: XcmV3MultiassetMultiAssets, messageId: U8aFixed], {
|
|
2360
|
+
destination: XcmV3MultiLocation;
|
|
2361
|
+
cost: XcmV3MultiassetMultiAssets;
|
|
2362
|
+
messageId: U8aFixed;
|
|
2363
|
+
}>;
|
|
2329
2364
|
/**
|
|
2330
2365
|
* A remote has requested XCM version change notification from us and we have honored it.
|
|
2331
2366
|
* A version information message is sent to them and its cost is included.
|
|
2332
|
-
*
|
|
2333
|
-
* \[ destination location, cost \]
|
|
2334
2367
|
**/
|
|
2335
|
-
VersionNotifyStarted: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]
|
|
2368
|
+
VersionNotifyStarted: AugmentedEvent<ApiType, [destination: XcmV3MultiLocation, cost: XcmV3MultiassetMultiAssets, messageId: U8aFixed], {
|
|
2369
|
+
destination: XcmV3MultiLocation;
|
|
2370
|
+
cost: XcmV3MultiassetMultiAssets;
|
|
2371
|
+
messageId: U8aFixed;
|
|
2372
|
+
}>;
|
|
2336
2373
|
/**
|
|
2337
2374
|
* We have requested that a remote chain stops sending us XCM version change notifications.
|
|
2338
|
-
*
|
|
2339
|
-
* \[ destination location, cost \]
|
|
2340
2375
|
**/
|
|
2341
|
-
VersionNotifyUnrequested: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]
|
|
2376
|
+
VersionNotifyUnrequested: AugmentedEvent<ApiType, [destination: XcmV3MultiLocation, cost: XcmV3MultiassetMultiAssets, messageId: U8aFixed], {
|
|
2377
|
+
destination: XcmV3MultiLocation;
|
|
2378
|
+
cost: XcmV3MultiassetMultiAssets;
|
|
2379
|
+
messageId: U8aFixed;
|
|
2380
|
+
}>;
|
|
2342
2381
|
/**
|
|
2343
2382
|
* Generic event
|
|
2344
2383
|
**/
|