@dedot/chaintypes 0.121.0 → 0.123.0

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.
@@ -2,7 +2,6 @@
2
2
 
3
3
  import type { GenericChainEvents, GenericPalletEvent, RpcVersion } from 'dedot/types';
4
4
  import type {
5
- DispatchInfo,
6
5
  DispatchError,
7
6
  AccountId20,
8
7
  H256,
@@ -15,6 +14,7 @@ import type {
15
14
  U256,
16
15
  } from 'dedot/codecs';
17
16
  import type {
17
+ FrameSystemDispatchEventInfo,
18
18
  SpWeightsWeightV2Weight,
19
19
  FrameSupportTokensMiscBalanceStatus,
20
20
  PalletParachainStakingDelegationRequestsCancelledScheduledRequest,
@@ -34,13 +34,14 @@ import type {
34
34
  PalletConvictionVotingTally,
35
35
  FrameSupportDispatchPostDispatchInfo,
36
36
  SpRuntimeDispatchErrorWithPostInfo,
37
- StagingXcmV4TraitsOutcome,
38
- StagingXcmV4Location,
39
- StagingXcmV4Xcm,
40
- StagingXcmV4Response,
37
+ FrameSupportTokensFungibleUnionOfNativeOrWithId,
38
+ StagingXcmV5TraitsOutcome,
39
+ StagingXcmV5Location,
40
+ StagingXcmV5Xcm,
41
+ StagingXcmV5Response,
41
42
  XcmVersionedAssets,
42
- StagingXcmV4AssetAssets,
43
- XcmV3TraitsError,
43
+ StagingXcmV5AssetAssets,
44
+ XcmV5TraitsError,
44
45
  XcmVersionedLocation,
45
46
  MoonbeamRuntimeXcmConfigAssetType,
46
47
  MoonbeamRuntimeAssetConfigAssetRegistrarMetadata,
@@ -58,7 +59,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
58
59
  /**
59
60
  * An extrinsic completed successfully.
60
61
  **/
61
- ExtrinsicSuccess: GenericPalletEvent<Rv, 'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
62
+ ExtrinsicSuccess: GenericPalletEvent<
63
+ Rv,
64
+ 'System',
65
+ 'ExtrinsicSuccess',
66
+ { dispatchInfo: FrameSystemDispatchEventInfo }
67
+ >;
62
68
 
63
69
  /**
64
70
  * An extrinsic failed.
@@ -67,7 +73,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
67
73
  Rv,
68
74
  'System',
69
75
  'ExtrinsicFailed',
70
- { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
76
+ { dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo }
71
77
  >;
72
78
 
73
79
  /**
@@ -979,6 +985,26 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
979
985
  { sub: AccountId20; main: AccountId20; deposit: bigint }
980
986
  >;
981
987
 
988
+ /**
989
+ * An account's sub-identities were set (in bulk).
990
+ **/
991
+ SubIdentitiesSet: GenericPalletEvent<
992
+ Rv,
993
+ 'Identity',
994
+ 'SubIdentitiesSet',
995
+ { main: AccountId20; numberOfSubs: number; newDeposit: bigint }
996
+ >;
997
+
998
+ /**
999
+ * A given sub-account's associated name was changed by its super-identity.
1000
+ **/
1001
+ SubIdentityRenamed: GenericPalletEvent<
1002
+ Rv,
1003
+ 'Identity',
1004
+ 'SubIdentityRenamed',
1005
+ { sub: AccountId20; main: AccountId20 }
1006
+ >;
1007
+
982
1008
  /**
983
1009
  * A sub-identity was removed from an identity and the deposit freed.
984
1010
  **/
@@ -1046,6 +1072,21 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1046
1072
  { who: AccountId20; username: Bytes }
1047
1073
  >;
1048
1074
 
1075
+ /**
1076
+ * A username has been unbound.
1077
+ **/
1078
+ UsernameUnbound: GenericPalletEvent<Rv, 'Identity', 'UsernameUnbound', { username: Bytes }>;
1079
+
1080
+ /**
1081
+ * A username has been removed.
1082
+ **/
1083
+ UsernameRemoved: GenericPalletEvent<Rv, 'Identity', 'UsernameRemoved', { username: Bytes }>;
1084
+
1085
+ /**
1086
+ * A username has been killed.
1087
+ **/
1088
+ UsernameKilled: GenericPalletEvent<Rv, 'Identity', 'UsernameKilled', { username: Bytes }>;
1089
+
1049
1090
  /**
1050
1091
  * Generic pallet event
1051
1092
  **/
@@ -1827,6 +1868,31 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1827
1868
  { proposalHash: H256; yes: number; no: number }
1828
1869
  >;
1829
1870
 
1871
+ /**
1872
+ * A proposal was killed.
1873
+ **/
1874
+ Killed: GenericPalletEvent<Rv, 'TreasuryCouncilCollective', 'Killed', { proposalHash: H256 }>;
1875
+
1876
+ /**
1877
+ * Some cost for storing a proposal was burned.
1878
+ **/
1879
+ ProposalCostBurned: GenericPalletEvent<
1880
+ Rv,
1881
+ 'TreasuryCouncilCollective',
1882
+ 'ProposalCostBurned',
1883
+ { proposalHash: H256; who: AccountId20 }
1884
+ >;
1885
+
1886
+ /**
1887
+ * Some cost for storing a proposal was released.
1888
+ **/
1889
+ ProposalCostReleased: GenericPalletEvent<
1890
+ Rv,
1891
+ 'TreasuryCouncilCollective',
1892
+ 'ProposalCostReleased',
1893
+ { proposalHash: H256; who: AccountId20 }
1894
+ >;
1895
+
1830
1896
  /**
1831
1897
  * Generic pallet event
1832
1898
  **/
@@ -1898,6 +1964,31 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1898
1964
  { proposalHash: H256; yes: number; no: number }
1899
1965
  >;
1900
1966
 
1967
+ /**
1968
+ * A proposal was killed.
1969
+ **/
1970
+ Killed: GenericPalletEvent<Rv, 'OpenTechCommitteeCollective', 'Killed', { proposalHash: H256 }>;
1971
+
1972
+ /**
1973
+ * Some cost for storing a proposal was burned.
1974
+ **/
1975
+ ProposalCostBurned: GenericPalletEvent<
1976
+ Rv,
1977
+ 'OpenTechCommitteeCollective',
1978
+ 'ProposalCostBurned',
1979
+ { proposalHash: H256; who: AccountId20 }
1980
+ >;
1981
+
1982
+ /**
1983
+ * Some cost for storing a proposal was released.
1984
+ **/
1985
+ ProposalCostReleased: GenericPalletEvent<
1986
+ Rv,
1987
+ 'OpenTechCommitteeCollective',
1988
+ 'ProposalCostReleased',
1989
+ { proposalHash: H256; who: AccountId20 }
1990
+ >;
1991
+
1901
1992
  /**
1902
1993
  * Generic pallet event
1903
1994
  **/
@@ -1964,7 +2055,14 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1964
2055
  Rv,
1965
2056
  'Treasury',
1966
2057
  'AssetSpendApproved',
1967
- { index: number; assetKind: []; amount: bigint; beneficiary: AccountId20; validFrom: number; expireAt: number }
2058
+ {
2059
+ index: number;
2060
+ assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
2061
+ amount: bigint;
2062
+ beneficiary: AccountId20;
2063
+ validFrom: number;
2064
+ expireAt: number;
2065
+ }
1968
2066
  >;
1969
2067
 
1970
2068
  /**
@@ -2092,7 +2190,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2092
2190
  Rv,
2093
2191
  'CumulusXcm',
2094
2192
  'ExecutedDownward',
2095
- [FixedBytes<32>, StagingXcmV4TraitsOutcome]
2193
+ [FixedBytes<32>, StagingXcmV5TraitsOutcome]
2096
2194
  >;
2097
2195
 
2098
2196
  /**
@@ -2107,7 +2205,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2107
2205
  /**
2108
2206
  * Execution of an XCM message was attempted.
2109
2207
  **/
2110
- Attempted: GenericPalletEvent<Rv, 'PolkadotXcm', 'Attempted', { outcome: StagingXcmV4TraitsOutcome }>;
2208
+ Attempted: GenericPalletEvent<Rv, 'PolkadotXcm', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
2111
2209
 
2112
2210
  /**
2113
2211
  * A XCM message was sent.
@@ -2117,9 +2215,9 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2117
2215
  'PolkadotXcm',
2118
2216
  'Sent',
2119
2217
  {
2120
- origin: StagingXcmV4Location;
2121
- destination: StagingXcmV4Location;
2122
- message: StagingXcmV4Xcm;
2218
+ origin: StagingXcmV5Location;
2219
+ destination: StagingXcmV5Location;
2220
+ message: StagingXcmV5Xcm;
2123
2221
  messageId: FixedBytes<32>;
2124
2222
  }
2125
2223
  >;
@@ -2133,7 +2231,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2133
2231
  Rv,
2134
2232
  'PolkadotXcm',
2135
2233
  'UnexpectedResponse',
2136
- { origin: StagingXcmV4Location; queryId: bigint }
2234
+ { origin: StagingXcmV5Location; queryId: bigint }
2137
2235
  >;
2138
2236
 
2139
2237
  /**
@@ -2144,7 +2242,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2144
2242
  Rv,
2145
2243
  'PolkadotXcm',
2146
2244
  'ResponseReady',
2147
- { queryId: bigint; response: StagingXcmV4Response }
2245
+ { queryId: bigint; response: StagingXcmV5Response }
2148
2246
  >;
2149
2247
 
2150
2248
  /**
@@ -2208,7 +2306,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2208
2306
  Rv,
2209
2307
  'PolkadotXcm',
2210
2308
  'InvalidResponder',
2211
- { origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined }
2309
+ { origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined }
2212
2310
  >;
2213
2311
 
2214
2312
  /**
@@ -2224,7 +2322,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2224
2322
  Rv,
2225
2323
  'PolkadotXcm',
2226
2324
  'InvalidResponderVersion',
2227
- { origin: StagingXcmV4Location; queryId: bigint }
2325
+ { origin: StagingXcmV5Location; queryId: bigint }
2228
2326
  >;
2229
2327
 
2230
2328
  /**
@@ -2239,7 +2337,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2239
2337
  Rv,
2240
2338
  'PolkadotXcm',
2241
2339
  'AssetsTrapped',
2242
- { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
2340
+ { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
2243
2341
  >;
2244
2342
 
2245
2343
  /**
@@ -2251,7 +2349,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2251
2349
  Rv,
2252
2350
  'PolkadotXcm',
2253
2351
  'VersionChangeNotified',
2254
- { destination: StagingXcmV4Location; result: number; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2352
+ { destination: StagingXcmV5Location; result: number; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
2255
2353
  >;
2256
2354
 
2257
2355
  /**
@@ -2262,7 +2360,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2262
2360
  Rv,
2263
2361
  'PolkadotXcm',
2264
2362
  'SupportedVersionChanged',
2265
- { location: StagingXcmV4Location; version: number }
2363
+ { location: StagingXcmV5Location; version: number }
2266
2364
  >;
2267
2365
 
2268
2366
  /**
@@ -2273,7 +2371,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2273
2371
  Rv,
2274
2372
  'PolkadotXcm',
2275
2373
  'NotifyTargetSendFail',
2276
- { location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError }
2374
+ { location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError }
2277
2375
  >;
2278
2376
 
2279
2377
  /**
@@ -2300,7 +2398,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2300
2398
  Rv,
2301
2399
  'PolkadotXcm',
2302
2400
  'InvalidQuerierVersion',
2303
- { origin: StagingXcmV4Location; queryId: bigint }
2401
+ { origin: StagingXcmV5Location; queryId: bigint }
2304
2402
  >;
2305
2403
 
2306
2404
  /**
@@ -2313,10 +2411,10 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2313
2411
  'PolkadotXcm',
2314
2412
  'InvalidQuerier',
2315
2413
  {
2316
- origin: StagingXcmV4Location;
2414
+ origin: StagingXcmV5Location;
2317
2415
  queryId: bigint;
2318
- expectedQuerier: StagingXcmV4Location;
2319
- maybeActualQuerier?: StagingXcmV4Location | undefined;
2416
+ expectedQuerier: StagingXcmV5Location;
2417
+ maybeActualQuerier?: StagingXcmV5Location | undefined;
2320
2418
  }
2321
2419
  >;
2322
2420
 
@@ -2328,7 +2426,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2328
2426
  Rv,
2329
2427
  'PolkadotXcm',
2330
2428
  'VersionNotifyStarted',
2331
- { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2429
+ { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
2332
2430
  >;
2333
2431
 
2334
2432
  /**
@@ -2338,7 +2436,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2338
2436
  Rv,
2339
2437
  'PolkadotXcm',
2340
2438
  'VersionNotifyRequested',
2341
- { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2439
+ { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
2342
2440
  >;
2343
2441
 
2344
2442
  /**
@@ -2349,7 +2447,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2349
2447
  Rv,
2350
2448
  'PolkadotXcm',
2351
2449
  'VersionNotifyUnrequested',
2352
- { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2450
+ { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
2353
2451
  >;
2354
2452
 
2355
2453
  /**
@@ -2359,7 +2457,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2359
2457
  Rv,
2360
2458
  'PolkadotXcm',
2361
2459
  'FeesPaid',
2362
- { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets }
2460
+ { paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets }
2363
2461
  >;
2364
2462
 
2365
2463
  /**
@@ -2369,7 +2467,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2369
2467
  Rv,
2370
2468
  'PolkadotXcm',
2371
2469
  'AssetsClaimed',
2372
- { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
2470
+ { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
2373
2471
  >;
2374
2472
 
2375
2473
  /**
@@ -2651,7 +2749,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2651
2749
  Rv,
2652
2750
  'XcmTransactor',
2653
2751
  'TransactedDerivative',
2654
- { accountId: AccountId20; dest: StagingXcmV4Location; call: Bytes; index: number }
2752
+ { accountId: AccountId20; dest: StagingXcmV5Location; call: Bytes; index: number }
2655
2753
  >;
2656
2754
 
2657
2755
  /**
@@ -2661,7 +2759,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2661
2759
  Rv,
2662
2760
  'XcmTransactor',
2663
2761
  'TransactedSovereign',
2664
- { feePayer?: AccountId20 | undefined; dest: StagingXcmV4Location; call: Bytes }
2762
+ { feePayer?: AccountId20 | undefined; dest: StagingXcmV5Location; call: Bytes }
2665
2763
  >;
2666
2764
 
2667
2765
  /**
@@ -2671,7 +2769,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2671
2769
  Rv,
2672
2770
  'XcmTransactor',
2673
2771
  'TransactedSigned',
2674
- { feePayer: AccountId20; dest: StagingXcmV4Location; call: Bytes }
2772
+ { feePayer: AccountId20; dest: StagingXcmV5Location; call: Bytes }
2675
2773
  >;
2676
2774
 
2677
2775
  /**
@@ -2688,7 +2786,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2688
2786
  /**
2689
2787
  * Transact failed
2690
2788
  **/
2691
- TransactFailed: GenericPalletEvent<Rv, 'XcmTransactor', 'TransactFailed', { error: XcmV3TraitsError }>;
2789
+ TransactFailed: GenericPalletEvent<Rv, 'XcmTransactor', 'TransactFailed', { error: XcmV5TraitsError }>;
2692
2790
 
2693
2791
  /**
2694
2792
  * Changed the transact info of a location
@@ -2697,7 +2795,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2697
2795
  Rv,
2698
2796
  'XcmTransactor',
2699
2797
  'TransactInfoChanged',
2700
- { location: StagingXcmV4Location; remoteInfo: PalletXcmTransactorRemoteTransactInfoWithMaxWeight }
2798
+ { location: StagingXcmV5Location; remoteInfo: PalletXcmTransactorRemoteTransactInfoWithMaxWeight }
2701
2799
  >;
2702
2800
 
2703
2801
  /**
@@ -2707,7 +2805,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2707
2805
  Rv,
2708
2806
  'XcmTransactor',
2709
2807
  'TransactInfoRemoved',
2710
- { location: StagingXcmV4Location }
2808
+ { location: StagingXcmV5Location }
2711
2809
  >;
2712
2810
 
2713
2811
  /**
@@ -2717,7 +2815,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2717
2815
  Rv,
2718
2816
  'XcmTransactor',
2719
2817
  'DestFeePerSecondChanged',
2720
- { location: StagingXcmV4Location; feePerSecond: bigint }
2818
+ { location: StagingXcmV5Location; feePerSecond: bigint }
2721
2819
  >;
2722
2820
 
2723
2821
  /**
@@ -2727,7 +2825,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2727
2825
  Rv,
2728
2826
  'XcmTransactor',
2729
2827
  'DestFeePerSecondRemoved',
2730
- { location: StagingXcmV4Location }
2828
+ { location: StagingXcmV5Location }
2731
2829
  >;
2732
2830
 
2733
2831
  /**
@@ -2892,7 +2990,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2892
2990
  Rv,
2893
2991
  'EvmForeignAssets',
2894
2992
  'ForeignAssetCreated',
2895
- { contractAddress: H160; assetId: bigint; xcmLocation: StagingXcmV4Location; deposit?: bigint | undefined }
2993
+ { contractAddress: H160; assetId: bigint; xcmLocation: StagingXcmV5Location; deposit?: bigint | undefined }
2896
2994
  >;
2897
2995
 
2898
2996
  /**
@@ -2902,19 +3000,19 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2902
3000
  Rv,
2903
3001
  'EvmForeignAssets',
2904
3002
  'ForeignAssetXcmLocationChanged',
2905
- { assetId: bigint; previousXcmLocation: StagingXcmV4Location; newXcmLocation: StagingXcmV4Location }
3003
+ { assetId: bigint; previousXcmLocation: StagingXcmV5Location; newXcmLocation: StagingXcmV5Location }
2906
3004
  >;
2907
3005
  ForeignAssetFrozen: GenericPalletEvent<
2908
3006
  Rv,
2909
3007
  'EvmForeignAssets',
2910
3008
  'ForeignAssetFrozen',
2911
- { assetId: bigint; xcmLocation: StagingXcmV4Location }
3009
+ { assetId: bigint; xcmLocation: StagingXcmV5Location }
2912
3010
  >;
2913
3011
  ForeignAssetUnfrozen: GenericPalletEvent<
2914
3012
  Rv,
2915
3013
  'EvmForeignAssets',
2916
3014
  'ForeignAssetUnfrozen',
2917
- { assetId: bigint; xcmLocation: StagingXcmV4Location }
3015
+ { assetId: bigint; xcmLocation: StagingXcmV5Location }
2918
3016
  >;
2919
3017
 
2920
3018
  /**
@@ -2938,7 +3036,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2938
3036
  Rv,
2939
3037
  'XcmWeightTrader',
2940
3038
  'SupportedAssetAdded',
2941
- { location: StagingXcmV4Location; relativePrice: bigint }
3039
+ { location: StagingXcmV5Location; relativePrice: bigint }
2942
3040
  >;
2943
3041
 
2944
3042
  /**
@@ -2948,7 +3046,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2948
3046
  Rv,
2949
3047
  'XcmWeightTrader',
2950
3048
  'SupportedAssetEdited',
2951
- { location: StagingXcmV4Location; relativePrice: bigint }
3049
+ { location: StagingXcmV5Location; relativePrice: bigint }
2952
3050
  >;
2953
3051
 
2954
3052
  /**
@@ -2958,7 +3056,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2958
3056
  Rv,
2959
3057
  'XcmWeightTrader',
2960
3058
  'PauseAssetSupport',
2961
- { location: StagingXcmV4Location }
3059
+ { location: StagingXcmV5Location }
2962
3060
  >;
2963
3061
 
2964
3062
  /**
@@ -2968,7 +3066,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2968
3066
  Rv,
2969
3067
  'XcmWeightTrader',
2970
3068
  'ResumeAssetSupport',
2971
- { location: StagingXcmV4Location }
3069
+ { location: StagingXcmV5Location }
2972
3070
  >;
2973
3071
 
2974
3072
  /**
@@ -2978,7 +3076,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2978
3076
  Rv,
2979
3077
  'XcmWeightTrader',
2980
3078
  'SupportedAssetRemoved',
2981
- { location: StagingXcmV4Location }
3079
+ { location: StagingXcmV5Location }
2982
3080
  >;
2983
3081
 
2984
3082
  /**
@@ -3005,6 +3103,141 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
3005
3103
  **/
3006
3104
  [prop: string]: GenericPalletEvent<Rv>;
3007
3105
  };
3106
+ /**
3107
+ * Pallet `MultiBlockMigrations`'s events
3108
+ **/
3109
+ multiBlockMigrations: {
3110
+ /**
3111
+ * A Runtime upgrade started.
3112
+ *
3113
+ * Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
3114
+ **/
3115
+ UpgradeStarted: GenericPalletEvent<
3116
+ Rv,
3117
+ 'MultiBlockMigrations',
3118
+ 'UpgradeStarted',
3119
+ {
3120
+ /**
3121
+ * The number of migrations that this upgrade contains.
3122
+ *
3123
+ * This can be used to design a progress indicator in combination with counting the
3124
+ * `MigrationCompleted` and `MigrationSkipped` events.
3125
+ **/
3126
+ migrations: number;
3127
+ }
3128
+ >;
3129
+
3130
+ /**
3131
+ * The current runtime upgrade completed.
3132
+ *
3133
+ * This implies that all of its migrations completed successfully as well.
3134
+ **/
3135
+ UpgradeCompleted: GenericPalletEvent<Rv, 'MultiBlockMigrations', 'UpgradeCompleted', null>;
3136
+
3137
+ /**
3138
+ * Runtime upgrade failed.
3139
+ *
3140
+ * This is very bad and will require governance intervention.
3141
+ **/
3142
+ UpgradeFailed: GenericPalletEvent<Rv, 'MultiBlockMigrations', 'UpgradeFailed', null>;
3143
+
3144
+ /**
3145
+ * A migration was skipped since it was already executed in the past.
3146
+ **/
3147
+ MigrationSkipped: GenericPalletEvent<
3148
+ Rv,
3149
+ 'MultiBlockMigrations',
3150
+ 'MigrationSkipped',
3151
+ {
3152
+ /**
3153
+ * The index of the skipped migration within the [`Config::Migrations`] list.
3154
+ **/
3155
+ index: number;
3156
+ }
3157
+ >;
3158
+
3159
+ /**
3160
+ * A migration progressed.
3161
+ **/
3162
+ MigrationAdvanced: GenericPalletEvent<
3163
+ Rv,
3164
+ 'MultiBlockMigrations',
3165
+ 'MigrationAdvanced',
3166
+ {
3167
+ /**
3168
+ * The index of the migration within the [`Config::Migrations`] list.
3169
+ **/
3170
+ index: number;
3171
+
3172
+ /**
3173
+ * The number of blocks that this migration took so far.
3174
+ **/
3175
+ took: number;
3176
+ }
3177
+ >;
3178
+
3179
+ /**
3180
+ * A Migration completed.
3181
+ **/
3182
+ MigrationCompleted: GenericPalletEvent<
3183
+ Rv,
3184
+ 'MultiBlockMigrations',
3185
+ 'MigrationCompleted',
3186
+ {
3187
+ /**
3188
+ * The index of the migration within the [`Config::Migrations`] list.
3189
+ **/
3190
+ index: number;
3191
+
3192
+ /**
3193
+ * The number of blocks that this migration took so far.
3194
+ **/
3195
+ took: number;
3196
+ }
3197
+ >;
3198
+
3199
+ /**
3200
+ * A Migration failed.
3201
+ *
3202
+ * This implies that the whole upgrade failed and governance intervention is required.
3203
+ **/
3204
+ MigrationFailed: GenericPalletEvent<
3205
+ Rv,
3206
+ 'MultiBlockMigrations',
3207
+ 'MigrationFailed',
3208
+ {
3209
+ /**
3210
+ * The index of the migration within the [`Config::Migrations`] list.
3211
+ **/
3212
+ index: number;
3213
+
3214
+ /**
3215
+ * The number of blocks that this migration took so far.
3216
+ **/
3217
+ took: number;
3218
+ }
3219
+ >;
3220
+
3221
+ /**
3222
+ * The set of historical migrations has been cleared.
3223
+ **/
3224
+ HistoricCleared: GenericPalletEvent<
3225
+ Rv,
3226
+ 'MultiBlockMigrations',
3227
+ 'HistoricCleared',
3228
+ {
3229
+ /**
3230
+ * Should be passed to `clear_historic` in a successive call.
3231
+ **/
3232
+ nextCursor?: Bytes | undefined;
3233
+ }
3234
+ >;
3235
+
3236
+ /**
3237
+ * Generic pallet event
3238
+ **/
3239
+ [prop: string]: GenericPalletEvent<Rv>;
3240
+ };
3008
3241
  /**
3009
3242
  * Pallet `Randomness`'s events
3010
3243
  **/
@@ -23,7 +23,7 @@ export interface VersionedMoonbeamApi<Rv extends RpcVersion> extends GenericSubs
23
23
 
24
24
  /**
25
25
  * @name: MoonbeamApi
26
- * @specVersion: 3601
26
+ * @specVersion: 3701
27
27
  **/
28
28
  export interface MoonbeamApi {
29
29
  legacy: VersionedMoonbeamApi<RpcLegacy>;