@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/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"./cjs/detectPackage.js"
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
|
-
"version": "10.
|
|
21
|
+
"version": "10.9.1",
|
|
22
22
|
"main": "./cjs/index.js",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
@@ -217,12 +217,12 @@
|
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
219
|
"dependencies": {
|
|
220
|
-
"@polkadot/api-base": "10.
|
|
221
|
-
"@polkadot/rpc-augment": "10.
|
|
222
|
-
"@polkadot/types": "10.
|
|
223
|
-
"@polkadot/types-augment": "10.
|
|
224
|
-
"@polkadot/types-codec": "10.
|
|
225
|
-
"@polkadot/util": "^12.
|
|
226
|
-
"tslib": "^2.5.
|
|
220
|
+
"@polkadot/api-base": "10.9.1",
|
|
221
|
+
"@polkadot/rpc-augment": "10.9.1",
|
|
222
|
+
"@polkadot/types": "10.9.1",
|
|
223
|
+
"@polkadot/types-augment": "10.9.1",
|
|
224
|
+
"@polkadot/types-codec": "10.9.1",
|
|
225
|
+
"@polkadot/util": "^12.3.1",
|
|
226
|
+
"tslib": "^2.5.3"
|
|
227
227
|
}
|
|
228
228
|
}
|
package/packageInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.
|
|
1
|
+
export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.9.1' };
|
package/polkadot/consts.d.ts
CHANGED
|
@@ -447,6 +447,34 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
447
447
|
**/
|
|
448
448
|
[key: string]: Codec;
|
|
449
449
|
};
|
|
450
|
+
messageQueue: {
|
|
451
|
+
/**
|
|
452
|
+
* The size of the page; this implies the maximum message size which can be sent.
|
|
453
|
+
*
|
|
454
|
+
* A good value depends on the expected message sizes, their weights, the weight that is
|
|
455
|
+
* available for processing them and the maximal needed message size. The maximal message
|
|
456
|
+
* size is slightly lower than this as defined by [`MaxMessageLenOf`].
|
|
457
|
+
**/
|
|
458
|
+
heapSize: u32 & AugmentedConst<ApiType>;
|
|
459
|
+
/**
|
|
460
|
+
* The maximum number of stale pages (i.e. of overweight messages) allowed before culling
|
|
461
|
+
* can happen. Once there are more stale pages than this, then historical pages may be
|
|
462
|
+
* dropped, even if they contain unprocessed overweight messages.
|
|
463
|
+
**/
|
|
464
|
+
maxStale: u32 & AugmentedConst<ApiType>;
|
|
465
|
+
/**
|
|
466
|
+
* The amount of weight (if any) which should be provided to the message queue for
|
|
467
|
+
* servicing enqueued items.
|
|
468
|
+
*
|
|
469
|
+
* This may be legitimately `None` in the case that you will call
|
|
470
|
+
* `ServiceQueues::service_queues` manually.
|
|
471
|
+
**/
|
|
472
|
+
serviceWeight: Option<SpWeightsWeightV2Weight> & AugmentedConst<ApiType>;
|
|
473
|
+
/**
|
|
474
|
+
* Generic const
|
|
475
|
+
**/
|
|
476
|
+
[key: string]: Codec;
|
|
477
|
+
};
|
|
450
478
|
multisig: {
|
|
451
479
|
/**
|
|
452
480
|
* The base amount of currency needed to reserve for creating a multisig execution or to
|
package/polkadot/errors.d.ts
CHANGED
|
@@ -847,6 +847,44 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
847
847
|
**/
|
|
848
848
|
[key: string]: AugmentedError<ApiType>;
|
|
849
849
|
};
|
|
850
|
+
messageQueue: {
|
|
851
|
+
/**
|
|
852
|
+
* The message was already processed and cannot be processed again.
|
|
853
|
+
**/
|
|
854
|
+
AlreadyProcessed: AugmentedError<ApiType>;
|
|
855
|
+
/**
|
|
856
|
+
* There is temporarily not enough weight to continue servicing messages.
|
|
857
|
+
**/
|
|
858
|
+
InsufficientWeight: AugmentedError<ApiType>;
|
|
859
|
+
/**
|
|
860
|
+
* The referenced message could not be found.
|
|
861
|
+
**/
|
|
862
|
+
NoMessage: AugmentedError<ApiType>;
|
|
863
|
+
/**
|
|
864
|
+
* Page to be reaped does not exist.
|
|
865
|
+
**/
|
|
866
|
+
NoPage: AugmentedError<ApiType>;
|
|
867
|
+
/**
|
|
868
|
+
* Page is not reapable because it has items remaining to be processed and is not old
|
|
869
|
+
* enough.
|
|
870
|
+
**/
|
|
871
|
+
NotReapable: AugmentedError<ApiType>;
|
|
872
|
+
/**
|
|
873
|
+
* The message is queued for future execution.
|
|
874
|
+
**/
|
|
875
|
+
Queued: AugmentedError<ApiType>;
|
|
876
|
+
/**
|
|
877
|
+
* This message is temporarily unprocessable.
|
|
878
|
+
*
|
|
879
|
+
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
880
|
+
* retrying.
|
|
881
|
+
**/
|
|
882
|
+
TemporarilyUnprocessable: AugmentedError<ApiType>;
|
|
883
|
+
/**
|
|
884
|
+
* Generic error
|
|
885
|
+
**/
|
|
886
|
+
[key: string]: AugmentedError<ApiType>;
|
|
887
|
+
};
|
|
850
888
|
multisig: {
|
|
851
889
|
/**
|
|
852
890
|
* Call is already approved by this signatory.
|
|
@@ -1920,20 +1958,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1920
1958
|
**/
|
|
1921
1959
|
[key: string]: AugmentedError<ApiType>;
|
|
1922
1960
|
};
|
|
1923
|
-
ump: {
|
|
1924
|
-
/**
|
|
1925
|
-
* The message index given is unknown.
|
|
1926
|
-
**/
|
|
1927
|
-
UnknownMessageIndex: AugmentedError<ApiType>;
|
|
1928
|
-
/**
|
|
1929
|
-
* The amount of weight given is possibly not enough for executing the message.
|
|
1930
|
-
**/
|
|
1931
|
-
WeightOverLimit: AugmentedError<ApiType>;
|
|
1932
|
-
/**
|
|
1933
|
-
* Generic error
|
|
1934
|
-
**/
|
|
1935
|
-
[key: string]: AugmentedError<ApiType>;
|
|
1936
|
-
};
|
|
1937
1961
|
utility: {
|
|
1938
1962
|
/**
|
|
1939
1963
|
* Too many calls batched.
|
package/polkadot/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 } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeProxyType, 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, PalletConvictionVotingTally, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeProxyType, 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> {
|
|
@@ -866,6 +866,45 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
866
866
|
**/
|
|
867
867
|
[key: string]: AugmentedEvent<ApiType>;
|
|
868
868
|
};
|
|
869
|
+
messageQueue: {
|
|
870
|
+
/**
|
|
871
|
+
* Message placed in overweight queue.
|
|
872
|
+
**/
|
|
873
|
+
OverweightEnqueued: AugmentedEvent<ApiType, [id: U8aFixed, origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, pageIndex: u32, messageIndex: u32], {
|
|
874
|
+
id: U8aFixed;
|
|
875
|
+
origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
|
|
876
|
+
pageIndex: u32;
|
|
877
|
+
messageIndex: u32;
|
|
878
|
+
}>;
|
|
879
|
+
/**
|
|
880
|
+
* This page was reaped.
|
|
881
|
+
**/
|
|
882
|
+
PageReaped: AugmentedEvent<ApiType, [origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, index: u32], {
|
|
883
|
+
origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
|
|
884
|
+
index: u32;
|
|
885
|
+
}>;
|
|
886
|
+
/**
|
|
887
|
+
* Message is processed.
|
|
888
|
+
**/
|
|
889
|
+
Processed: AugmentedEvent<ApiType, [id: U8aFixed, origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, weightUsed: SpWeightsWeightV2Weight, success: bool], {
|
|
890
|
+
id: U8aFixed;
|
|
891
|
+
origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
|
|
892
|
+
weightUsed: SpWeightsWeightV2Weight;
|
|
893
|
+
success: bool;
|
|
894
|
+
}>;
|
|
895
|
+
/**
|
|
896
|
+
* Message discarded due to an error in the `MessageProcessor` (usually a format error).
|
|
897
|
+
**/
|
|
898
|
+
ProcessingFailed: AugmentedEvent<ApiType, [id: U8aFixed, origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, error: FrameSupportMessagesProcessMessageError], {
|
|
899
|
+
id: U8aFixed;
|
|
900
|
+
origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
|
|
901
|
+
error: FrameSupportMessagesProcessMessageError;
|
|
902
|
+
}>;
|
|
903
|
+
/**
|
|
904
|
+
* Generic event
|
|
905
|
+
**/
|
|
906
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
907
|
+
};
|
|
869
908
|
multisig: {
|
|
870
909
|
/**
|
|
871
910
|
* A multisig operation has been approved by someone.
|
|
@@ -1074,6 +1113,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1074
1113
|
* A candidate timed out. `[candidate, head_data]`
|
|
1075
1114
|
**/
|
|
1076
1115
|
CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV4CandidateReceipt, Bytes, u32]>;
|
|
1116
|
+
/**
|
|
1117
|
+
* Some upward messages have been received and will be processed.
|
|
1118
|
+
**/
|
|
1119
|
+
UpwardMessagesReceived: AugmentedEvent<ApiType, [from: u32, count: u32], {
|
|
1120
|
+
from: u32;
|
|
1121
|
+
count: u32;
|
|
1122
|
+
}>;
|
|
1077
1123
|
/**
|
|
1078
1124
|
* Generic event
|
|
1079
1125
|
**/
|
|
@@ -1857,53 +1903,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1857
1903
|
**/
|
|
1858
1904
|
[key: string]: AugmentedEvent<ApiType>;
|
|
1859
1905
|
};
|
|
1860
|
-
ump: {
|
|
1861
|
-
/**
|
|
1862
|
-
* Upward message executed with the given outcome.
|
|
1863
|
-
* \[ id, outcome \]
|
|
1864
|
-
**/
|
|
1865
|
-
ExecutedUpward: AugmentedEvent<ApiType, [U8aFixed, XcmV3TraitsOutcome]>;
|
|
1866
|
-
/**
|
|
1867
|
-
* Upward message is invalid XCM.
|
|
1868
|
-
* \[ id \]
|
|
1869
|
-
**/
|
|
1870
|
-
InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;
|
|
1871
|
-
/**
|
|
1872
|
-
* The weight budget was exceeded for an individual upward message.
|
|
1873
|
-
*
|
|
1874
|
-
* This message can be later dispatched manually using `service_overweight` dispatchable
|
|
1875
|
-
* using the assigned `overweight_index`.
|
|
1876
|
-
*
|
|
1877
|
-
* \[ para, id, overweight_index, required \]
|
|
1878
|
-
**/
|
|
1879
|
-
OverweightEnqueued: AugmentedEvent<ApiType, [u32, U8aFixed, u64, SpWeightsWeightV2Weight]>;
|
|
1880
|
-
/**
|
|
1881
|
-
* Upward message from the overweight queue was executed with the given actual weight
|
|
1882
|
-
* used.
|
|
1883
|
-
*
|
|
1884
|
-
* \[ overweight_index, used \]
|
|
1885
|
-
**/
|
|
1886
|
-
OverweightServiced: AugmentedEvent<ApiType, [u64, SpWeightsWeightV2Weight]>;
|
|
1887
|
-
/**
|
|
1888
|
-
* Upward message is unsupported version of XCM.
|
|
1889
|
-
* \[ id \]
|
|
1890
|
-
**/
|
|
1891
|
-
UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;
|
|
1892
|
-
/**
|
|
1893
|
-
* Some upward messages have been received and will be processed.
|
|
1894
|
-
* \[ para, count, size \]
|
|
1895
|
-
**/
|
|
1896
|
-
UpwardMessagesReceived: AugmentedEvent<ApiType, [u32, u32, u32]>;
|
|
1897
|
-
/**
|
|
1898
|
-
* The weight limit for handling upward messages was reached.
|
|
1899
|
-
* \[ id, remaining, required \]
|
|
1900
|
-
**/
|
|
1901
|
-
WeightExhausted: AugmentedEvent<ApiType, [U8aFixed, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;
|
|
1902
|
-
/**
|
|
1903
|
-
* Generic event
|
|
1904
|
-
**/
|
|
1905
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
1906
|
-
};
|
|
1907
1906
|
utility: {
|
|
1908
1907
|
/**
|
|
1909
1908
|
* Batch of dispatches completed fully with no error.
|
|
@@ -2002,36 +2001,44 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2002
2001
|
xcmPallet: {
|
|
2003
2002
|
/**
|
|
2004
2003
|
* Some assets have been claimed from an asset trap
|
|
2005
|
-
*
|
|
2006
|
-
* \[ hash, origin, assets \]
|
|
2007
2004
|
**/
|
|
2008
|
-
AssetsClaimed: AugmentedEvent<ApiType, [H256, XcmV3MultiLocation, XcmVersionedMultiAssets]
|
|
2005
|
+
AssetsClaimed: AugmentedEvent<ApiType, [hash_: H256, origin: XcmV3MultiLocation, assets: XcmVersionedMultiAssets], {
|
|
2006
|
+
hash_: H256;
|
|
2007
|
+
origin: XcmV3MultiLocation;
|
|
2008
|
+
assets: XcmVersionedMultiAssets;
|
|
2009
|
+
}>;
|
|
2009
2010
|
/**
|
|
2010
2011
|
* Some assets have been placed in an asset trap.
|
|
2011
|
-
*
|
|
2012
|
-
* \[ hash, origin, assets \]
|
|
2013
2012
|
**/
|
|
2014
|
-
AssetsTrapped: AugmentedEvent<ApiType, [H256, XcmV3MultiLocation, XcmVersionedMultiAssets]
|
|
2013
|
+
AssetsTrapped: AugmentedEvent<ApiType, [hash_: H256, origin: XcmV3MultiLocation, assets: XcmVersionedMultiAssets], {
|
|
2014
|
+
hash_: H256;
|
|
2015
|
+
origin: XcmV3MultiLocation;
|
|
2016
|
+
assets: XcmVersionedMultiAssets;
|
|
2017
|
+
}>;
|
|
2015
2018
|
/**
|
|
2016
2019
|
* Execution of an XCM message was attempted.
|
|
2017
|
-
*
|
|
2018
|
-
* \[ outcome \]
|
|
2019
2020
|
**/
|
|
2020
|
-
Attempted: AugmentedEvent<ApiType, [XcmV3TraitsOutcome]
|
|
2021
|
+
Attempted: AugmentedEvent<ApiType, [outcome: XcmV3TraitsOutcome], {
|
|
2022
|
+
outcome: XcmV3TraitsOutcome;
|
|
2023
|
+
}>;
|
|
2021
2024
|
/**
|
|
2022
2025
|
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
2023
|
-
*
|
|
2024
|
-
* \[ paying location, fees \]
|
|
2025
2026
|
**/
|
|
2026
|
-
FeesPaid: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]
|
|
2027
|
+
FeesPaid: AugmentedEvent<ApiType, [paying: XcmV3MultiLocation, fees: XcmV3MultiassetMultiAssets], {
|
|
2028
|
+
paying: XcmV3MultiLocation;
|
|
2029
|
+
fees: XcmV3MultiassetMultiAssets;
|
|
2030
|
+
}>;
|
|
2027
2031
|
/**
|
|
2028
2032
|
* Expected query response has been received but the querier location of the response does
|
|
2029
2033
|
* not match the expected. The query remains registered for a later, valid, response to
|
|
2030
2034
|
* be received and acted upon.
|
|
2031
|
-
*
|
|
2032
|
-
* \[ origin location, id, expected querier, maybe actual querier \]
|
|
2033
2035
|
**/
|
|
2034
|
-
InvalidQuerier: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64, XcmV3MultiLocation, Option<XcmV3MultiLocation>]
|
|
2036
|
+
InvalidQuerier: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64, expectedQuerier: XcmV3MultiLocation, maybeActualQuerier: Option<XcmV3MultiLocation>], {
|
|
2037
|
+
origin: XcmV3MultiLocation;
|
|
2038
|
+
queryId: u64;
|
|
2039
|
+
expectedQuerier: XcmV3MultiLocation;
|
|
2040
|
+
maybeActualQuerier: Option<XcmV3MultiLocation>;
|
|
2041
|
+
}>;
|
|
2035
2042
|
/**
|
|
2036
2043
|
* Expected query response has been received but the expected querier location placed in
|
|
2037
2044
|
* storage by this runtime previously cannot be decoded. The query remains registered.
|
|
@@ -2040,18 +2047,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2040
2047
|
* runtime should be readable prior to query timeout) and dangerous since the possibly
|
|
2041
2048
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
2042
2049
|
* needed.
|
|
2043
|
-
*
|
|
2044
|
-
* \[ origin location, id \]
|
|
2045
2050
|
**/
|
|
2046
|
-
InvalidQuerierVersion: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64]
|
|
2051
|
+
InvalidQuerierVersion: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64], {
|
|
2052
|
+
origin: XcmV3MultiLocation;
|
|
2053
|
+
queryId: u64;
|
|
2054
|
+
}>;
|
|
2047
2055
|
/**
|
|
2048
2056
|
* Expected query response has been received but the origin location of the response does
|
|
2049
2057
|
* not match that expected. The query remains registered for a later, valid, response to
|
|
2050
2058
|
* be received and acted upon.
|
|
2051
|
-
*
|
|
2052
|
-
* \[ origin location, id, expected location \]
|
|
2053
2059
|
**/
|
|
2054
|
-
InvalidResponder: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64, Option<XcmV3MultiLocation>]
|
|
2060
|
+
InvalidResponder: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64, expectedLocation: Option<XcmV3MultiLocation>], {
|
|
2061
|
+
origin: XcmV3MultiLocation;
|
|
2062
|
+
queryId: u64;
|
|
2063
|
+
expectedLocation: Option<XcmV3MultiLocation>;
|
|
2064
|
+
}>;
|
|
2055
2065
|
/**
|
|
2056
2066
|
* Expected query response has been received but the expected origin location placed in
|
|
2057
2067
|
* storage by this runtime previously cannot be decoded. The query remains registered.
|
|
@@ -2060,115 +2070,144 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2060
2070
|
* runtime should be readable prior to query timeout) and dangerous since the possibly
|
|
2061
2071
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
2062
2072
|
* needed.
|
|
2063
|
-
*
|
|
2064
|
-
* \[ origin location, id \]
|
|
2065
2073
|
**/
|
|
2066
|
-
InvalidResponderVersion: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64]
|
|
2074
|
+
InvalidResponderVersion: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64], {
|
|
2075
|
+
origin: XcmV3MultiLocation;
|
|
2076
|
+
queryId: u64;
|
|
2077
|
+
}>;
|
|
2067
2078
|
/**
|
|
2068
2079
|
* Query response has been received and query is removed. The registered notification has
|
|
2069
2080
|
* been dispatched and executed successfully.
|
|
2070
|
-
*
|
|
2071
|
-
* \[ id, pallet index, call index \]
|
|
2072
2081
|
**/
|
|
2073
|
-
Notified: AugmentedEvent<ApiType, [u64, u8, u8]
|
|
2082
|
+
Notified: AugmentedEvent<ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], {
|
|
2083
|
+
queryId: u64;
|
|
2084
|
+
palletIndex: u8;
|
|
2085
|
+
callIndex: u8;
|
|
2086
|
+
}>;
|
|
2074
2087
|
/**
|
|
2075
2088
|
* Query response has been received and query is removed. The dispatch was unable to be
|
|
2076
2089
|
* decoded into a `Call`; this might be due to dispatch function having a signature which
|
|
2077
2090
|
* is not `(origin, QueryId, Response)`.
|
|
2078
|
-
*
|
|
2079
|
-
* \[ id, pallet index, call index \]
|
|
2080
2091
|
**/
|
|
2081
|
-
NotifyDecodeFailed: AugmentedEvent<ApiType, [u64, u8, u8]
|
|
2092
|
+
NotifyDecodeFailed: AugmentedEvent<ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], {
|
|
2093
|
+
queryId: u64;
|
|
2094
|
+
palletIndex: u8;
|
|
2095
|
+
callIndex: u8;
|
|
2096
|
+
}>;
|
|
2082
2097
|
/**
|
|
2083
2098
|
* Query response has been received and query is removed. There was a general error with
|
|
2084
2099
|
* dispatching the notification call.
|
|
2085
|
-
*
|
|
2086
|
-
* \[ id, pallet index, call index \]
|
|
2087
2100
|
**/
|
|
2088
|
-
NotifyDispatchError: AugmentedEvent<ApiType, [u64, u8, u8]
|
|
2101
|
+
NotifyDispatchError: AugmentedEvent<ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], {
|
|
2102
|
+
queryId: u64;
|
|
2103
|
+
palletIndex: u8;
|
|
2104
|
+
callIndex: u8;
|
|
2105
|
+
}>;
|
|
2089
2106
|
/**
|
|
2090
2107
|
* Query response has been received and query is removed. The registered notification could
|
|
2091
2108
|
* not be dispatched because the dispatch weight is greater than the maximum weight
|
|
2092
2109
|
* originally budgeted by this runtime for the query result.
|
|
2093
|
-
*
|
|
2094
|
-
* \[ id, pallet index, call index, actual weight, max budgeted weight \]
|
|
2095
2110
|
**/
|
|
2096
|
-
NotifyOverweight: AugmentedEvent<ApiType, [u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]
|
|
2111
|
+
NotifyOverweight: AugmentedEvent<ApiType, [queryId: u64, palletIndex: u8, callIndex: u8, actualWeight: SpWeightsWeightV2Weight, maxBudgetedWeight: SpWeightsWeightV2Weight], {
|
|
2112
|
+
queryId: u64;
|
|
2113
|
+
palletIndex: u8;
|
|
2114
|
+
callIndex: u8;
|
|
2115
|
+
actualWeight: SpWeightsWeightV2Weight;
|
|
2116
|
+
maxBudgetedWeight: SpWeightsWeightV2Weight;
|
|
2117
|
+
}>;
|
|
2097
2118
|
/**
|
|
2098
2119
|
* A given location which had a version change subscription was dropped owing to an error
|
|
2099
2120
|
* migrating the location to our new XCM format.
|
|
2100
|
-
*
|
|
2101
|
-
* \[ location, query ID \]
|
|
2102
2121
|
**/
|
|
2103
|
-
NotifyTargetMigrationFail: AugmentedEvent<ApiType, [XcmVersionedMultiLocation, u64]
|
|
2122
|
+
NotifyTargetMigrationFail: AugmentedEvent<ApiType, [location: XcmVersionedMultiLocation, queryId: u64], {
|
|
2123
|
+
location: XcmVersionedMultiLocation;
|
|
2124
|
+
queryId: u64;
|
|
2125
|
+
}>;
|
|
2104
2126
|
/**
|
|
2105
2127
|
* A given location which had a version change subscription was dropped owing to an error
|
|
2106
2128
|
* sending the notification to it.
|
|
2107
|
-
*
|
|
2108
|
-
* \[ location, query ID, error \]
|
|
2109
2129
|
**/
|
|
2110
|
-
NotifyTargetSendFail: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64, XcmV3TraitsError]
|
|
2130
|
+
NotifyTargetSendFail: AugmentedEvent<ApiType, [location: XcmV3MultiLocation, queryId: u64, error: XcmV3TraitsError], {
|
|
2131
|
+
location: XcmV3MultiLocation;
|
|
2132
|
+
queryId: u64;
|
|
2133
|
+
error: XcmV3TraitsError;
|
|
2134
|
+
}>;
|
|
2111
2135
|
/**
|
|
2112
2136
|
* Query response has been received and is ready for taking with `take_response`. There is
|
|
2113
2137
|
* no registered notification call.
|
|
2114
|
-
*
|
|
2115
|
-
* \[ id, response \]
|
|
2116
2138
|
**/
|
|
2117
|
-
ResponseReady: AugmentedEvent<ApiType, [u64, XcmV3Response]
|
|
2139
|
+
ResponseReady: AugmentedEvent<ApiType, [queryId: u64, response: XcmV3Response], {
|
|
2140
|
+
queryId: u64;
|
|
2141
|
+
response: XcmV3Response;
|
|
2142
|
+
}>;
|
|
2118
2143
|
/**
|
|
2119
2144
|
* Received query response has been read and removed.
|
|
2120
|
-
*
|
|
2121
|
-
* \[ id \]
|
|
2122
2145
|
**/
|
|
2123
|
-
ResponseTaken: AugmentedEvent<ApiType, [u64]
|
|
2146
|
+
ResponseTaken: AugmentedEvent<ApiType, [queryId: u64], {
|
|
2147
|
+
queryId: u64;
|
|
2148
|
+
}>;
|
|
2124
2149
|
/**
|
|
2125
2150
|
* A XCM message was sent.
|
|
2126
|
-
*
|
|
2127
|
-
* \[ origin, destination, message \]
|
|
2128
2151
|
**/
|
|
2129
|
-
Sent: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiLocation, XcmV3Xcm]
|
|
2152
|
+
Sent: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, destination: XcmV3MultiLocation, message: XcmV3Xcm, messageId: U8aFixed], {
|
|
2153
|
+
origin: XcmV3MultiLocation;
|
|
2154
|
+
destination: XcmV3MultiLocation;
|
|
2155
|
+
message: XcmV3Xcm;
|
|
2156
|
+
messageId: U8aFixed;
|
|
2157
|
+
}>;
|
|
2130
2158
|
/**
|
|
2131
2159
|
* The supported version of a location has been changed. This might be through an
|
|
2132
2160
|
* automatic notification or a manual intervention.
|
|
2133
|
-
*
|
|
2134
|
-
* \[ location, XCM version \]
|
|
2135
2161
|
**/
|
|
2136
|
-
SupportedVersionChanged: AugmentedEvent<ApiType, [XcmV3MultiLocation, u32]
|
|
2162
|
+
SupportedVersionChanged: AugmentedEvent<ApiType, [location: XcmV3MultiLocation, version: u32], {
|
|
2163
|
+
location: XcmV3MultiLocation;
|
|
2164
|
+
version: u32;
|
|
2165
|
+
}>;
|
|
2137
2166
|
/**
|
|
2138
2167
|
* Query response received which does not match a registered query. This may be because a
|
|
2139
2168
|
* matching query was never registered, it may be because it is a duplicate response, or
|
|
2140
2169
|
* because the query timed out.
|
|
2141
|
-
*
|
|
2142
|
-
* \[ origin location, id \]
|
|
2143
2170
|
**/
|
|
2144
|
-
UnexpectedResponse: AugmentedEvent<ApiType, [XcmV3MultiLocation, u64]
|
|
2171
|
+
UnexpectedResponse: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64], {
|
|
2172
|
+
origin: XcmV3MultiLocation;
|
|
2173
|
+
queryId: u64;
|
|
2174
|
+
}>;
|
|
2145
2175
|
/**
|
|
2146
2176
|
* An XCM version change notification message has been attempted to be sent.
|
|
2147
2177
|
*
|
|
2148
2178
|
* The cost of sending it (borne by the chain) is included.
|
|
2149
|
-
*
|
|
2150
|
-
* \[ destination, result, cost \]
|
|
2151
2179
|
**/
|
|
2152
|
-
VersionChangeNotified: AugmentedEvent<ApiType, [XcmV3MultiLocation, u32, XcmV3MultiassetMultiAssets]
|
|
2180
|
+
VersionChangeNotified: AugmentedEvent<ApiType, [destination: XcmV3MultiLocation, result: u32, cost: XcmV3MultiassetMultiAssets, messageId: U8aFixed], {
|
|
2181
|
+
destination: XcmV3MultiLocation;
|
|
2182
|
+
result: u32;
|
|
2183
|
+
cost: XcmV3MultiassetMultiAssets;
|
|
2184
|
+
messageId: U8aFixed;
|
|
2185
|
+
}>;
|
|
2153
2186
|
/**
|
|
2154
|
-
* We have requested that a remote chain
|
|
2155
|
-
*
|
|
2156
|
-
* \[ destination location, cost \]
|
|
2187
|
+
* We have requested that a remote chain send us XCM version change notifications.
|
|
2157
2188
|
**/
|
|
2158
|
-
VersionNotifyRequested: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]
|
|
2189
|
+
VersionNotifyRequested: AugmentedEvent<ApiType, [destination: XcmV3MultiLocation, cost: XcmV3MultiassetMultiAssets, messageId: U8aFixed], {
|
|
2190
|
+
destination: XcmV3MultiLocation;
|
|
2191
|
+
cost: XcmV3MultiassetMultiAssets;
|
|
2192
|
+
messageId: U8aFixed;
|
|
2193
|
+
}>;
|
|
2159
2194
|
/**
|
|
2160
2195
|
* A remote has requested XCM version change notification from us and we have honored it.
|
|
2161
2196
|
* A version information message is sent to them and its cost is included.
|
|
2162
|
-
*
|
|
2163
|
-
* \[ destination location, cost \]
|
|
2164
2197
|
**/
|
|
2165
|
-
VersionNotifyStarted: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]
|
|
2198
|
+
VersionNotifyStarted: AugmentedEvent<ApiType, [destination: XcmV3MultiLocation, cost: XcmV3MultiassetMultiAssets, messageId: U8aFixed], {
|
|
2199
|
+
destination: XcmV3MultiLocation;
|
|
2200
|
+
cost: XcmV3MultiassetMultiAssets;
|
|
2201
|
+
messageId: U8aFixed;
|
|
2202
|
+
}>;
|
|
2166
2203
|
/**
|
|
2167
2204
|
* We have requested that a remote chain stops sending us XCM version change notifications.
|
|
2168
|
-
*
|
|
2169
|
-
* \[ destination location, cost \]
|
|
2170
2205
|
**/
|
|
2171
|
-
VersionNotifyUnrequested: AugmentedEvent<ApiType, [XcmV3MultiLocation, XcmV3MultiassetMultiAssets]
|
|
2206
|
+
VersionNotifyUnrequested: AugmentedEvent<ApiType, [destination: XcmV3MultiLocation, cost: XcmV3MultiassetMultiAssets, messageId: U8aFixed], {
|
|
2207
|
+
destination: XcmV3MultiLocation;
|
|
2208
|
+
cost: XcmV3MultiassetMultiAssets;
|
|
2209
|
+
messageId: U8aFixed;
|
|
2210
|
+
}>;
|
|
2172
2211
|
/**
|
|
2173
2212
|
* Generic event
|
|
2174
2213
|
**/
|