@dedot/chaintypes 0.205.0 → 0.207.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.
@@ -1,24 +1,16 @@
1
1
  // Generated by dedot cli
2
2
 
3
3
  import type { GenericChainEvents, GenericPalletEvent } from 'dedot/types';
4
+ import type { DispatchError, AccountId32, H256, Result, Bytes, FixedBytes, Perquintill, FixedU128 } from 'dedot/codecs';
4
5
  import type {
5
- DispatchInfo,
6
- DispatchError,
7
- AccountId32,
8
- H256,
9
- Result,
10
- Bytes,
11
- FixedBytes,
12
- Perquintill,
13
- FixedU128,
14
- } from 'dedot/codecs';
15
- import type {
6
+ FrameSystemDispatchEventInfo,
16
7
  FrameSupportTokensMiscBalanceStatus,
17
8
  PalletDemocracyVoteThreshold,
18
9
  PalletDemocracyVoteAccountVote,
19
10
  PalletDemocracyMetadataOwner,
20
11
  OrmlVestingVestingSchedule,
21
12
  BasiliskRuntimeSystemProxyType,
13
+ PalletProxyDepositKind,
22
14
  PalletMultisigTimepoint,
23
15
  PalletStateTrieMigrationMigrationCompute,
24
16
  PalletStateTrieMigrationError,
@@ -28,13 +20,14 @@ import type {
28
20
  FrameSupportDispatchPostDispatchInfo,
29
21
  SpRuntimeDispatchErrorWithPostInfo,
30
22
  SpWeightsWeightV2Weight,
31
- StagingXcmV4TraitsOutcome,
32
- StagingXcmV4Location,
33
- StagingXcmV4Xcm,
34
- StagingXcmV4Response,
23
+ StagingXcmV5TraitsOutcome,
24
+ StagingXcmV5Location,
25
+ StagingXcmV5Xcm,
26
+ XcmV3TraitsSendError,
27
+ XcmV5TraitsError,
28
+ StagingXcmV5Response,
35
29
  XcmVersionedAssets,
36
- StagingXcmV4AssetAssets,
37
- XcmV3TraitsError,
30
+ StagingXcmV5AssetAssets,
38
31
  XcmVersionedLocation,
39
32
  CumulusPrimitivesCoreAggregateMessageOrigin,
40
33
  FrameSupportMessagesProcessMessageError,
@@ -49,7 +42,7 @@ import type {
49
42
  PalletBroadcastAsset,
50
43
  PalletBroadcastFee,
51
44
  PalletBroadcastExecutionType,
52
- StagingXcmV4Asset,
45
+ StagingXcmV5Asset,
53
46
  } from './types.js';
54
47
 
55
48
  export interface ChainEvents extends GenericChainEvents {
@@ -60,7 +53,7 @@ export interface ChainEvents extends GenericChainEvents {
60
53
  /**
61
54
  * An extrinsic completed successfully.
62
55
  **/
63
- ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
56
+ ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: FrameSystemDispatchEventInfo }>;
64
57
 
65
58
  /**
66
59
  * An extrinsic failed.
@@ -68,7 +61,7 @@ export interface ChainEvents extends GenericChainEvents {
68
61
  ExtrinsicFailed: GenericPalletEvent<
69
62
  'System',
70
63
  'ExtrinsicFailed',
71
- { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
64
+ { dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo }
72
65
  >;
73
66
 
74
67
  /**
@@ -96,6 +89,15 @@ export interface ChainEvents extends GenericChainEvents {
96
89
  **/
97
90
  UpgradeAuthorized: GenericPalletEvent<'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
98
91
 
92
+ /**
93
+ * An invalid authorized upgrade was rejected while trying to apply it.
94
+ **/
95
+ RejectedInvalidAuthorizedUpgrade: GenericPalletEvent<
96
+ 'System',
97
+ 'RejectedInvalidAuthorizedUpgrade',
98
+ { codeHash: H256; error: DispatchError }
99
+ >;
100
+
99
101
  /**
100
102
  * Generic pallet event
101
103
  **/
@@ -405,6 +407,16 @@ export interface ChainEvents extends GenericChainEvents {
405
407
  **/
406
408
  DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
407
409
 
410
+ /**
411
+ * Main call was dispatched.
412
+ **/
413
+ IfElseMainSuccess: GenericPalletEvent<'Utility', 'IfElseMainSuccess', null>;
414
+
415
+ /**
416
+ * The fallback call was dispatched.
417
+ **/
418
+ IfElseFallbackCalled: GenericPalletEvent<'Utility', 'IfElseFallbackCalled', { mainError: DispatchError }>;
419
+
408
420
  /**
409
421
  * Generic pallet event
410
422
  **/
@@ -612,6 +624,29 @@ export interface ChainEvents extends GenericChainEvents {
612
624
  **/
613
625
  Closed: GenericPalletEvent<'TechnicalCommittee', 'Closed', { proposalHash: H256; yes: number; no: number }>;
614
626
 
627
+ /**
628
+ * A proposal was killed.
629
+ **/
630
+ Killed: GenericPalletEvent<'TechnicalCommittee', 'Killed', { proposalHash: H256 }>;
631
+
632
+ /**
633
+ * Some cost for storing a proposal was burned.
634
+ **/
635
+ ProposalCostBurned: GenericPalletEvent<
636
+ 'TechnicalCommittee',
637
+ 'ProposalCostBurned',
638
+ { proposalHash: H256; who: AccountId32 }
639
+ >;
640
+
641
+ /**
642
+ * Some cost for storing a proposal was released.
643
+ **/
644
+ ProposalCostReleased: GenericPalletEvent<
645
+ 'TechnicalCommittee',
646
+ 'ProposalCostReleased',
647
+ { proposalHash: H256; who: AccountId32 }
648
+ >;
649
+
615
650
  /**
616
651
  * Generic pallet event
617
652
  **/
@@ -687,6 +722,15 @@ export interface ChainEvents extends GenericChainEvents {
687
722
  { delegator: AccountId32; delegatee: AccountId32; proxyType: BasiliskRuntimeSystemProxyType; delay: number }
688
723
  >;
689
724
 
725
+ /**
726
+ * A deposit stored for proxies or announcements was poked / updated.
727
+ **/
728
+ DepositPoked: GenericPalletEvent<
729
+ 'Proxy',
730
+ 'DepositPoked',
731
+ { who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint }
732
+ >;
733
+
690
734
  /**
691
735
  * Generic pallet event
692
736
  **/
@@ -786,6 +830,16 @@ export interface ChainEvents extends GenericChainEvents {
786
830
  **/
787
831
  NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
788
832
 
833
+ /**
834
+ * Validator has been disabled.
835
+ **/
836
+ ValidatorDisabled: GenericPalletEvent<'Session', 'ValidatorDisabled', { validator: AccountId32 }>;
837
+
838
+ /**
839
+ * Validator has been re-enabled.
840
+ **/
841
+ ValidatorReenabled: GenericPalletEvent<'Session', 'ValidatorReenabled', { validator: AccountId32 }>;
842
+
789
843
  /**
790
844
  * Generic pallet event
791
845
  **/
@@ -1065,6 +1119,20 @@ export interface ChainEvents extends GenericChainEvents {
1065
1119
  { sub: AccountId32; main: AccountId32; deposit: bigint }
1066
1120
  >;
1067
1121
 
1122
+ /**
1123
+ * An account's sub-identities were set (in bulk).
1124
+ **/
1125
+ SubIdentitiesSet: GenericPalletEvent<
1126
+ 'Identity',
1127
+ 'SubIdentitiesSet',
1128
+ { main: AccountId32; numberOfSubs: number; newDeposit: bigint }
1129
+ >;
1130
+
1131
+ /**
1132
+ * A given sub-account's associated name was changed by its super-identity.
1133
+ **/
1134
+ SubIdentityRenamed: GenericPalletEvent<'Identity', 'SubIdentityRenamed', { sub: AccountId32; main: AccountId32 }>;
1135
+
1068
1136
  /**
1069
1137
  * A sub-identity was removed from an identity and the deposit freed.
1070
1138
  **/
@@ -1128,6 +1196,21 @@ export interface ChainEvents extends GenericChainEvents {
1128
1196
  { who: AccountId32; username: Bytes }
1129
1197
  >;
1130
1198
 
1199
+ /**
1200
+ * A username has been unbound.
1201
+ **/
1202
+ UsernameUnbound: GenericPalletEvent<'Identity', 'UsernameUnbound', { username: Bytes }>;
1203
+
1204
+ /**
1205
+ * A username has been removed.
1206
+ **/
1207
+ UsernameRemoved: GenericPalletEvent<'Identity', 'UsernameRemoved', { username: Bytes }>;
1208
+
1209
+ /**
1210
+ * A username has been killed.
1211
+ **/
1212
+ UsernameKilled: GenericPalletEvent<'Identity', 'UsernameKilled', { username: Bytes }>;
1213
+
1131
1214
  /**
1132
1215
  * Generic pallet event
1133
1216
  **/
@@ -1179,6 +1262,15 @@ export interface ChainEvents extends GenericChainEvents {
1179
1262
  { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
1180
1263
  >;
1181
1264
 
1265
+ /**
1266
+ * The deposit for a multisig operation has been updated/poked.
1267
+ **/
1268
+ DepositPoked: GenericPalletEvent<
1269
+ 'Multisig',
1270
+ 'DepositPoked',
1271
+ { who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint }
1272
+ >;
1273
+
1182
1274
  /**
1183
1275
  * Generic pallet event
1184
1276
  **/
@@ -1233,7 +1325,7 @@ export interface ChainEvents extends GenericChainEvents {
1233
1325
  Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId32>;
1234
1326
 
1235
1327
  /**
1236
- * An account that has voted
1328
+ * An account has voted
1237
1329
  **/
1238
1330
  Voted: GenericPalletEvent<
1239
1331
  'ConvictionVoting',
@@ -1242,7 +1334,7 @@ export interface ChainEvents extends GenericChainEvents {
1242
1334
  >;
1243
1335
 
1244
1336
  /**
1245
- * A vote that been removed
1337
+ * A vote has been removed
1246
1338
  **/
1247
1339
  VoteRemoved: GenericPalletEvent<
1248
1340
  'ConvictionVoting',
@@ -1250,6 +1342,11 @@ export interface ChainEvents extends GenericChainEvents {
1250
1342
  { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
1251
1343
  >;
1252
1344
 
1345
+ /**
1346
+ * The lockup period of a conviction vote expired, and the funds have been unlocked.
1347
+ **/
1348
+ VoteUnlocked: GenericPalletEvent<'ConvictionVoting', 'VoteUnlocked', { who: AccountId32; class: number }>;
1349
+
1253
1350
  /**
1254
1351
  * Generic pallet event
1255
1352
  **/
@@ -1689,6 +1786,11 @@ export interface ChainEvents extends GenericChainEvents {
1689
1786
  { task: [number, number]; id?: FixedBytes<32> | undefined }
1690
1787
  >;
1691
1788
 
1789
+ /**
1790
+ * Agenda is incomplete from `when`.
1791
+ **/
1792
+ AgendaIncomplete: GenericPalletEvent<'Scheduler', 'AgendaIncomplete', { when: number }>;
1793
+
1692
1794
  /**
1693
1795
  * Generic pallet event
1694
1796
  **/
@@ -1752,22 +1854,45 @@ export interface ChainEvents extends GenericChainEvents {
1752
1854
  /**
1753
1855
  * Execution of an XCM message was attempted.
1754
1856
  **/
1755
- Attempted: GenericPalletEvent<'PolkadotXcm', 'Attempted', { outcome: StagingXcmV4TraitsOutcome }>;
1857
+ Attempted: GenericPalletEvent<'PolkadotXcm', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
1756
1858
 
1757
1859
  /**
1758
- * A XCM message was sent.
1860
+ * An XCM message was sent.
1759
1861
  **/
1760
1862
  Sent: GenericPalletEvent<
1761
1863
  'PolkadotXcm',
1762
1864
  'Sent',
1763
1865
  {
1764
- origin: StagingXcmV4Location;
1765
- destination: StagingXcmV4Location;
1766
- message: StagingXcmV4Xcm;
1866
+ origin: StagingXcmV5Location;
1867
+ destination: StagingXcmV5Location;
1868
+ message: StagingXcmV5Xcm;
1869
+ messageId: FixedBytes<32>;
1870
+ }
1871
+ >;
1872
+
1873
+ /**
1874
+ * An XCM message failed to send.
1875
+ **/
1876
+ SendFailed: GenericPalletEvent<
1877
+ 'PolkadotXcm',
1878
+ 'SendFailed',
1879
+ {
1880
+ origin: StagingXcmV5Location;
1881
+ destination: StagingXcmV5Location;
1882
+ error: XcmV3TraitsSendError;
1767
1883
  messageId: FixedBytes<32>;
1768
1884
  }
1769
1885
  >;
1770
1886
 
1887
+ /**
1888
+ * An XCM message failed to process.
1889
+ **/
1890
+ ProcessXcmError: GenericPalletEvent<
1891
+ 'PolkadotXcm',
1892
+ 'ProcessXcmError',
1893
+ { origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> }
1894
+ >;
1895
+
1771
1896
  /**
1772
1897
  * Query response received which does not match a registered query. This may be because a
1773
1898
  * matching query was never registered, it may be because it is a duplicate response, or
@@ -1776,7 +1901,7 @@ export interface ChainEvents extends GenericChainEvents {
1776
1901
  UnexpectedResponse: GenericPalletEvent<
1777
1902
  'PolkadotXcm',
1778
1903
  'UnexpectedResponse',
1779
- { origin: StagingXcmV4Location; queryId: bigint }
1904
+ { origin: StagingXcmV5Location; queryId: bigint }
1780
1905
  >;
1781
1906
 
1782
1907
  /**
@@ -1786,7 +1911,7 @@ export interface ChainEvents extends GenericChainEvents {
1786
1911
  ResponseReady: GenericPalletEvent<
1787
1912
  'PolkadotXcm',
1788
1913
  'ResponseReady',
1789
- { queryId: bigint; response: StagingXcmV4Response }
1914
+ { queryId: bigint; response: StagingXcmV5Response }
1790
1915
  >;
1791
1916
 
1792
1917
  /**
@@ -1845,7 +1970,7 @@ export interface ChainEvents extends GenericChainEvents {
1845
1970
  InvalidResponder: GenericPalletEvent<
1846
1971
  'PolkadotXcm',
1847
1972
  'InvalidResponder',
1848
- { origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined }
1973
+ { origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined }
1849
1974
  >;
1850
1975
 
1851
1976
  /**
@@ -1860,7 +1985,7 @@ export interface ChainEvents extends GenericChainEvents {
1860
1985
  InvalidResponderVersion: GenericPalletEvent<
1861
1986
  'PolkadotXcm',
1862
1987
  'InvalidResponderVersion',
1863
- { origin: StagingXcmV4Location; queryId: bigint }
1988
+ { origin: StagingXcmV5Location; queryId: bigint }
1864
1989
  >;
1865
1990
 
1866
1991
  /**
@@ -1874,7 +1999,7 @@ export interface ChainEvents extends GenericChainEvents {
1874
1999
  AssetsTrapped: GenericPalletEvent<
1875
2000
  'PolkadotXcm',
1876
2001
  'AssetsTrapped',
1877
- { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
2002
+ { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
1878
2003
  >;
1879
2004
 
1880
2005
  /**
@@ -1885,7 +2010,7 @@ export interface ChainEvents extends GenericChainEvents {
1885
2010
  VersionChangeNotified: GenericPalletEvent<
1886
2011
  'PolkadotXcm',
1887
2012
  'VersionChangeNotified',
1888
- { destination: StagingXcmV4Location; result: number; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2013
+ { destination: StagingXcmV5Location; result: number; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
1889
2014
  >;
1890
2015
 
1891
2016
  /**
@@ -1895,7 +2020,7 @@ export interface ChainEvents extends GenericChainEvents {
1895
2020
  SupportedVersionChanged: GenericPalletEvent<
1896
2021
  'PolkadotXcm',
1897
2022
  'SupportedVersionChanged',
1898
- { location: StagingXcmV4Location; version: number }
2023
+ { location: StagingXcmV5Location; version: number }
1899
2024
  >;
1900
2025
 
1901
2026
  /**
@@ -1905,7 +2030,7 @@ export interface ChainEvents extends GenericChainEvents {
1905
2030
  NotifyTargetSendFail: GenericPalletEvent<
1906
2031
  'PolkadotXcm',
1907
2032
  'NotifyTargetSendFail',
1908
- { location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError }
2033
+ { location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError }
1909
2034
  >;
1910
2035
 
1911
2036
  /**
@@ -1930,7 +2055,7 @@ export interface ChainEvents extends GenericChainEvents {
1930
2055
  InvalidQuerierVersion: GenericPalletEvent<
1931
2056
  'PolkadotXcm',
1932
2057
  'InvalidQuerierVersion',
1933
- { origin: StagingXcmV4Location; queryId: bigint }
2058
+ { origin: StagingXcmV5Location; queryId: bigint }
1934
2059
  >;
1935
2060
 
1936
2061
  /**
@@ -1942,10 +2067,10 @@ export interface ChainEvents extends GenericChainEvents {
1942
2067
  'PolkadotXcm',
1943
2068
  'InvalidQuerier',
1944
2069
  {
1945
- origin: StagingXcmV4Location;
2070
+ origin: StagingXcmV5Location;
1946
2071
  queryId: bigint;
1947
- expectedQuerier: StagingXcmV4Location;
1948
- maybeActualQuerier?: StagingXcmV4Location | undefined;
2072
+ expectedQuerier: StagingXcmV5Location;
2073
+ maybeActualQuerier?: StagingXcmV5Location | undefined;
1949
2074
  }
1950
2075
  >;
1951
2076
 
@@ -1956,7 +2081,7 @@ export interface ChainEvents extends GenericChainEvents {
1956
2081
  VersionNotifyStarted: GenericPalletEvent<
1957
2082
  'PolkadotXcm',
1958
2083
  'VersionNotifyStarted',
1959
- { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2084
+ { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
1960
2085
  >;
1961
2086
 
1962
2087
  /**
@@ -1965,7 +2090,7 @@ export interface ChainEvents extends GenericChainEvents {
1965
2090
  VersionNotifyRequested: GenericPalletEvent<
1966
2091
  'PolkadotXcm',
1967
2092
  'VersionNotifyRequested',
1968
- { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2093
+ { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
1969
2094
  >;
1970
2095
 
1971
2096
  /**
@@ -1975,7 +2100,7 @@ export interface ChainEvents extends GenericChainEvents {
1975
2100
  VersionNotifyUnrequested: GenericPalletEvent<
1976
2101
  'PolkadotXcm',
1977
2102
  'VersionNotifyUnrequested',
1978
- { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
2103
+ { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
1979
2104
  >;
1980
2105
 
1981
2106
  /**
@@ -1984,7 +2109,7 @@ export interface ChainEvents extends GenericChainEvents {
1984
2109
  FeesPaid: GenericPalletEvent<
1985
2110
  'PolkadotXcm',
1986
2111
  'FeesPaid',
1987
- { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets }
2112
+ { paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets }
1988
2113
  >;
1989
2114
 
1990
2115
  /**
@@ -1993,7 +2118,7 @@ export interface ChainEvents extends GenericChainEvents {
1993
2118
  AssetsClaimed: GenericPalletEvent<
1994
2119
  'PolkadotXcm',
1995
2120
  'AssetsClaimed',
1996
- { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
2121
+ { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
1997
2122
  >;
1998
2123
 
1999
2124
  /**
@@ -2001,6 +2126,34 @@ export interface ChainEvents extends GenericChainEvents {
2001
2126
  **/
2002
2127
  VersionMigrationFinished: GenericPalletEvent<'PolkadotXcm', 'VersionMigrationFinished', { version: number }>;
2003
2128
 
2129
+ /**
2130
+ * An `aliaser` location was authorized by `target` to alias it, authorization valid until
2131
+ * `expiry` block number.
2132
+ **/
2133
+ AliasAuthorized: GenericPalletEvent<
2134
+ 'PolkadotXcm',
2135
+ 'AliasAuthorized',
2136
+ { aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined }
2137
+ >;
2138
+
2139
+ /**
2140
+ * `target` removed alias authorization for `aliaser`.
2141
+ **/
2142
+ AliasAuthorizationRemoved: GenericPalletEvent<
2143
+ 'PolkadotXcm',
2144
+ 'AliasAuthorizationRemoved',
2145
+ { aliaser: StagingXcmV5Location; target: StagingXcmV5Location }
2146
+ >;
2147
+
2148
+ /**
2149
+ * `target` removed all alias authorizations.
2150
+ **/
2151
+ AliasesAuthorizationsRemoved: GenericPalletEvent<
2152
+ 'PolkadotXcm',
2153
+ 'AliasesAuthorizationsRemoved',
2154
+ { target: StagingXcmV5Location }
2155
+ >;
2156
+
2004
2157
  /**
2005
2158
  * Generic pallet event
2006
2159
  **/
@@ -2026,7 +2179,7 @@ export interface ChainEvents extends GenericChainEvents {
2026
2179
  * Downward message executed with the given outcome.
2027
2180
  * \[ id, outcome \]
2028
2181
  **/
2029
- ExecutedDownward: GenericPalletEvent<'CumulusXcm', 'ExecutedDownward', [FixedBytes<32>, StagingXcmV4TraitsOutcome]>;
2182
+ ExecutedDownward: GenericPalletEvent<'CumulusXcm', 'ExecutedDownward', [FixedBytes<32>, StagingXcmV5TraitsOutcome]>;
2030
2183
 
2031
2184
  /**
2032
2185
  * Generic pallet event
@@ -2811,10 +2964,17 @@ export interface ChainEvents extends GenericChainEvents {
2811
2964
  broadcast: {
2812
2965
  /**
2813
2966
  * Trade executed.
2967
+ *
2968
+ * Swapped3 is a fixed and renamed version of original Swapped,
2969
+ * as Swapped contained wrong input/output amounts for XYK buy trade
2970
+ *
2971
+ * Swapped3 is a fixed and renamed version of original Swapped3,
2972
+ * as Swapped contained wrong filler account on AAVE trades
2973
+ *
2814
2974
  **/
2815
- Swapped: GenericPalletEvent<
2975
+ Swapped3: GenericPalletEvent<
2816
2976
  'Broadcast',
2817
- 'Swapped',
2977
+ 'Swapped3',
2818
2978
  {
2819
2979
  swapper: AccountId32;
2820
2980
  filler: AccountId32;
@@ -3021,7 +3181,7 @@ export interface ChainEvents extends GenericChainEvents {
3021
3181
  /**
3022
3182
  * XCM message sent. \[to, message\]
3023
3183
  **/
3024
- Sent: GenericPalletEvent<'OrmlXcm', 'Sent', { to: StagingXcmV4Location; message: StagingXcmV4Xcm }>;
3184
+ Sent: GenericPalletEvent<'OrmlXcm', 'Sent', { to: StagingXcmV5Location; message: StagingXcmV5Xcm }>;
3025
3185
 
3026
3186
  /**
3027
3187
  * Generic pallet event
@@ -3038,7 +3198,7 @@ export interface ChainEvents extends GenericChainEvents {
3038
3198
  TransferredAssets: GenericPalletEvent<
3039
3199
  'XTokens',
3040
3200
  'TransferredAssets',
3041
- { sender: AccountId32; assets: StagingXcmV4AssetAssets; fee: StagingXcmV4Asset; dest: StagingXcmV4Location }
3201
+ { sender: AccountId32; assets: StagingXcmV5AssetAssets; fee: StagingXcmV5Asset; dest: StagingXcmV5Location }
3042
3202
  >;
3043
3203
 
3044
3204
  /**
@@ -3056,7 +3216,7 @@ export interface ChainEvents extends GenericChainEvents {
3056
3216
  Deposited: GenericPalletEvent<
3057
3217
  'UnknownTokens',
3058
3218
  'Deposited',
3059
- { asset: StagingXcmV4Asset; who: StagingXcmV4Location }
3219
+ { asset: StagingXcmV5Asset; who: StagingXcmV5Location }
3060
3220
  >;
3061
3221
 
3062
3222
  /**
@@ -3065,7 +3225,7 @@ export interface ChainEvents extends GenericChainEvents {
3065
3225
  Withdrawn: GenericPalletEvent<
3066
3226
  'UnknownTokens',
3067
3227
  'Withdrawn',
3068
- { asset: StagingXcmV4Asset; who: StagingXcmV4Location }
3228
+ { asset: StagingXcmV5Asset; who: StagingXcmV5Location }
3069
3229
  >;
3070
3230
 
3071
3231
  /**
@@ -44,7 +44,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
44
44
 
45
45
  /**
46
46
  * @name: BasiliskApi
47
- * @specVersion: 127
47
+ * @specVersion: 128
48
48
  **/
49
49
  export interface BasiliskApi extends GenericSubstrateApi {
50
50
  rpc: ChainJsonRpcApis;
@@ -5,13 +5,15 @@ import type { JsonRpcApis } from 'dedot/types/json-rpc';
5
5
 
6
6
  export type ChainJsonRpcApis = Pick<
7
7
  JsonRpcApis,
8
- | 'archive_unstable_body'
9
- | 'archive_unstable_call'
10
- | 'archive_unstable_finalizedHeight'
11
- | 'archive_unstable_genesisHash'
12
- | 'archive_unstable_hashByHeight'
13
- | 'archive_unstable_header'
14
- | 'archive_unstable_storage'
8
+ | 'archive_v1_body'
9
+ | 'archive_v1_call'
10
+ | 'archive_v1_finalizedHeight'
11
+ | 'archive_v1_genesisHash'
12
+ | 'archive_v1_hashByHeight'
13
+ | 'archive_v1_header'
14
+ | 'archive_v1_storage'
15
+ | 'archive_v1_storageDiff'
16
+ | 'archive_v1_storageDiff_stopStorageDiff'
15
17
  | 'author_hasKey'
16
18
  | 'author_hasSessionKeys'
17
19
  | 'author_insertKey'
@@ -44,6 +46,7 @@ export type ChainJsonRpcApis = Pick<
44
46
  | 'childstate_getStorageEntries'
45
47
  | 'childstate_getStorageHash'
46
48
  | 'childstate_getStorageSize'
49
+ | 'offchain_localStorageClear'
47
50
  | 'offchain_localStorageGet'
48
51
  | 'offchain_localStorageSet'
49
52
  | 'payment_queryFeeDetails'