@dedot/chaintypes 0.247.0 → 0.249.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.
- package/package.json +2 -2
- package/paseo-asset-hub/consts.d.ts +87 -0
- package/paseo-asset-hub/errors.d.ts +170 -0
- package/paseo-asset-hub/events.d.ts +359 -6
- package/paseo-asset-hub/index.d.ts +3 -1
- package/paseo-asset-hub/query.d.ts +261 -17
- package/paseo-asset-hub/runtime.d.ts +11 -6
- package/paseo-asset-hub/tx.d.ts +729 -1
- package/paseo-asset-hub/types.d.ts +1426 -155
- package/paseo-asset-hub/view-functions.d.ts +195 -2
- package/polkadot/errors.d.ts +5 -0
- package/polkadot/events.d.ts +94 -16
- package/polkadot/index.d.ts +1 -1
- package/polkadot/query.d.ts +85 -46
- package/polkadot/runtime.d.ts +90 -79
- package/polkadot/tx.d.ts +81 -32
- package/polkadot/types.d.ts +278 -209
- package/polkadot-asset-hub/consts.d.ts +87 -0
- package/polkadot-asset-hub/errors.d.ts +170 -0
- package/polkadot-asset-hub/events.d.ts +359 -6
- package/polkadot-asset-hub/index.d.ts +3 -1
- package/polkadot-asset-hub/query.d.ts +261 -17
- package/polkadot-asset-hub/runtime.d.ts +11 -6
- package/polkadot-asset-hub/tx.d.ts +729 -1
- package/polkadot-asset-hub/types.d.ts +1426 -155
- package/polkadot-asset-hub/view-functions.d.ts +195 -2
- package/polkadot-people/consts.d.ts +75 -0
- package/polkadot-people/errors.d.ts +170 -0
- package/polkadot-people/events.d.ts +377 -3
- package/polkadot-people/index.d.ts +5 -4
- package/polkadot-people/query.d.ts +169 -16
- package/polkadot-people/runtime.d.ts +9 -5
- package/polkadot-people/tx.d.ts +1316 -2
- package/polkadot-people/types.d.ts +1857 -182
- package/polkadot-people/view-functions.d.ts +46 -1
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericChainViewFunctions, GenericViewFunction } from 'dedot/types';
|
|
4
|
-
import type { AccountId32Like } from 'dedot/codecs';
|
|
5
|
-
import type {
|
|
4
|
+
import type { AccountId32Like, Result } from 'dedot/codecs';
|
|
5
|
+
import type {
|
|
6
|
+
AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
7
|
+
AssetHubPolkadotRuntimeProxyType,
|
|
8
|
+
PalletAssetsAssetDetails,
|
|
9
|
+
PalletAssetsAssetMetadata,
|
|
10
|
+
StagingXcmV5Location,
|
|
11
|
+
AssetsCommonLocalAndForeignAssetsForeignAssetReserveData,
|
|
12
|
+
PalletAssetConversionError,
|
|
13
|
+
} from './types.js';
|
|
6
14
|
|
|
7
15
|
export interface ChainViewFunctions extends GenericChainViewFunctions {
|
|
8
16
|
/**
|
|
@@ -34,6 +42,191 @@ export interface ChainViewFunctions extends GenericChainViewFunctions {
|
|
|
34
42
|
**/
|
|
35
43
|
[name: string]: GenericViewFunction;
|
|
36
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
* Pallet `Assets`'s view functions
|
|
47
|
+
**/
|
|
48
|
+
assets: {
|
|
49
|
+
/**
|
|
50
|
+
* Provide the asset details for asset `id`.
|
|
51
|
+
*
|
|
52
|
+
* @param {number} id
|
|
53
|
+
**/
|
|
54
|
+
assetDetails: GenericViewFunction<(id: number) => Promise<PalletAssetsAssetDetails | undefined>>;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Provide the balance of `who` for asset `id`.
|
|
58
|
+
*
|
|
59
|
+
* @param {AccountId32Like} who
|
|
60
|
+
* @param {number} id
|
|
61
|
+
**/
|
|
62
|
+
balanceOf: GenericViewFunction<(who: AccountId32Like, id: number) => Promise<bigint | undefined>>;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Provide the configured metadata for asset `id`.
|
|
66
|
+
*
|
|
67
|
+
* @param {number} id
|
|
68
|
+
**/
|
|
69
|
+
getMetadata: GenericViewFunction<(id: number) => Promise<PalletAssetsAssetMetadata | undefined>>;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Provide the configured reserves data for asset `id`.
|
|
73
|
+
*
|
|
74
|
+
* @param {number} id
|
|
75
|
+
**/
|
|
76
|
+
getReservesData: GenericViewFunction<(id: number) => Promise<Array<[]>>>;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Generic pallet view function
|
|
80
|
+
**/
|
|
81
|
+
[name: string]: GenericViewFunction;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Pallet `ForeignAssets`'s view functions
|
|
85
|
+
**/
|
|
86
|
+
foreignAssets: {
|
|
87
|
+
/**
|
|
88
|
+
* Provide the asset details for asset `id`.
|
|
89
|
+
*
|
|
90
|
+
* @param {StagingXcmV5Location} id
|
|
91
|
+
**/
|
|
92
|
+
assetDetails: GenericViewFunction<(id: StagingXcmV5Location) => Promise<PalletAssetsAssetDetails | undefined>>;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Provide the balance of `who` for asset `id`.
|
|
96
|
+
*
|
|
97
|
+
* @param {AccountId32Like} who
|
|
98
|
+
* @param {StagingXcmV5Location} id
|
|
99
|
+
**/
|
|
100
|
+
balanceOf: GenericViewFunction<(who: AccountId32Like, id: StagingXcmV5Location) => Promise<bigint | undefined>>;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Provide the configured metadata for asset `id`.
|
|
104
|
+
*
|
|
105
|
+
* @param {StagingXcmV5Location} id
|
|
106
|
+
**/
|
|
107
|
+
getMetadata: GenericViewFunction<(id: StagingXcmV5Location) => Promise<PalletAssetsAssetMetadata | undefined>>;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Provide the configured reserves data for asset `id`.
|
|
111
|
+
*
|
|
112
|
+
* @param {StagingXcmV5Location} id
|
|
113
|
+
**/
|
|
114
|
+
getReservesData: GenericViewFunction<
|
|
115
|
+
(id: StagingXcmV5Location) => Promise<Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>>
|
|
116
|
+
>;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Generic pallet view function
|
|
120
|
+
**/
|
|
121
|
+
[name: string]: GenericViewFunction;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Pallet `PoolAssets`'s view functions
|
|
125
|
+
**/
|
|
126
|
+
poolAssets: {
|
|
127
|
+
/**
|
|
128
|
+
* Provide the asset details for asset `id`.
|
|
129
|
+
*
|
|
130
|
+
* @param {number} id
|
|
131
|
+
**/
|
|
132
|
+
assetDetails: GenericViewFunction<(id: number) => Promise<PalletAssetsAssetDetails | undefined>>;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Provide the balance of `who` for asset `id`.
|
|
136
|
+
*
|
|
137
|
+
* @param {AccountId32Like} who
|
|
138
|
+
* @param {number} id
|
|
139
|
+
**/
|
|
140
|
+
balanceOf: GenericViewFunction<(who: AccountId32Like, id: number) => Promise<bigint | undefined>>;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Provide the configured metadata for asset `id`.
|
|
144
|
+
*
|
|
145
|
+
* @param {number} id
|
|
146
|
+
**/
|
|
147
|
+
getMetadata: GenericViewFunction<(id: number) => Promise<PalletAssetsAssetMetadata | undefined>>;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Provide the configured reserves data for asset `id`.
|
|
151
|
+
*
|
|
152
|
+
* @param {number} id
|
|
153
|
+
**/
|
|
154
|
+
getReservesData: GenericViewFunction<(id: number) => Promise<Array<[]>>>;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Generic pallet view function
|
|
158
|
+
**/
|
|
159
|
+
[name: string]: GenericViewFunction;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* Pallet `AssetConversion`'s view functions
|
|
163
|
+
**/
|
|
164
|
+
assetConversion: {
|
|
165
|
+
/**
|
|
166
|
+
* Returns the balance of each asset in the pool.
|
|
167
|
+
* The tuple result is in the order requested (not necessarily the same as pool order).
|
|
168
|
+
*
|
|
169
|
+
* @param {StagingXcmV5Location} asset1
|
|
170
|
+
* @param {StagingXcmV5Location} asset2
|
|
171
|
+
**/
|
|
172
|
+
getReserves: GenericViewFunction<
|
|
173
|
+
(
|
|
174
|
+
asset1: StagingXcmV5Location,
|
|
175
|
+
asset2: StagingXcmV5Location,
|
|
176
|
+
) => Promise<Result<[bigint, bigint], PalletAssetConversionError>>
|
|
177
|
+
>;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Gets a quote for swapping an exact amount of `asset1` for `asset2`.
|
|
181
|
+
*
|
|
182
|
+
* If `include_fee` is true, the quote will include the liquidity provider fee.
|
|
183
|
+
* If the pool does not exist or has no liquidity, `None` is returned.
|
|
184
|
+
* Note that the price may have changed by the time the transaction is executed.
|
|
185
|
+
* (Use `amount_out_min` to control slippage.)
|
|
186
|
+
* Returns `Some(quoted_amount)` on success.
|
|
187
|
+
*
|
|
188
|
+
* @param {StagingXcmV5Location} asset1
|
|
189
|
+
* @param {StagingXcmV5Location} asset2
|
|
190
|
+
* @param {bigint} amount
|
|
191
|
+
* @param {boolean} includeFee
|
|
192
|
+
**/
|
|
193
|
+
quotePriceExactTokensForTokens: GenericViewFunction<
|
|
194
|
+
(
|
|
195
|
+
asset1: StagingXcmV5Location,
|
|
196
|
+
asset2: StagingXcmV5Location,
|
|
197
|
+
amount: bigint,
|
|
198
|
+
includeFee: boolean,
|
|
199
|
+
) => Promise<bigint | undefined>
|
|
200
|
+
>;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Gets a quote for swapping `amount` of `asset1` for an exact amount of `asset2`.
|
|
204
|
+
*
|
|
205
|
+
* If `include_fee` is true, the quote will include the liquidity provider fee.
|
|
206
|
+
* If the pool does not exist or has no liquidity, `None` is returned.
|
|
207
|
+
* Note that the price may have changed by the time the transaction is executed.
|
|
208
|
+
* (Use `amount_in_max` to control slippage.)
|
|
209
|
+
* Returns `Some(quoted_amount)` on success.
|
|
210
|
+
*
|
|
211
|
+
* @param {StagingXcmV5Location} asset1
|
|
212
|
+
* @param {StagingXcmV5Location} asset2
|
|
213
|
+
* @param {bigint} amount
|
|
214
|
+
* @param {boolean} includeFee
|
|
215
|
+
**/
|
|
216
|
+
quotePriceTokensForExactTokens: GenericViewFunction<
|
|
217
|
+
(
|
|
218
|
+
asset1: StagingXcmV5Location,
|
|
219
|
+
asset2: StagingXcmV5Location,
|
|
220
|
+
amount: bigint,
|
|
221
|
+
includeFee: boolean,
|
|
222
|
+
) => Promise<bigint | undefined>
|
|
223
|
+
>;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Generic pallet view function
|
|
227
|
+
**/
|
|
228
|
+
[name: string]: GenericViewFunction;
|
|
229
|
+
};
|
|
37
230
|
/**
|
|
38
231
|
* Pallet `VoterList`'s view functions
|
|
39
232
|
**/
|
package/polkadot/errors.d.ts
CHANGED
|
@@ -2622,6 +2622,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2622
2622
|
**/
|
|
2623
2623
|
InvalidEquivocationProofSession: GenericPalletError;
|
|
2624
2624
|
|
|
2625
|
+
/**
|
|
2626
|
+
* The session of the equivocation proof is not in the mapping (anymore)
|
|
2627
|
+
**/
|
|
2628
|
+
InvalidEquivocationProofSessionMember: GenericPalletError;
|
|
2629
|
+
|
|
2625
2630
|
/**
|
|
2626
2631
|
* A given equivocation report is valid but already previously reported.
|
|
2627
2632
|
**/
|
package/polkadot/events.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import type {
|
|
|
15
15
|
import type {
|
|
16
16
|
FrameSystemDispatchEventInfo,
|
|
17
17
|
FrameSupportTokensMiscBalanceStatus,
|
|
18
|
+
PolkadotRuntimeRuntimeHoldReason,
|
|
18
19
|
PalletBalancesUnexpectedKind,
|
|
19
20
|
PalletStakingRewardDestination,
|
|
20
21
|
PalletStakingValidatorPrefs,
|
|
@@ -38,10 +39,11 @@ import type {
|
|
|
38
39
|
PalletNominationPoolsCommissionClaimPermission,
|
|
39
40
|
PalletNominationPoolsClaimPermission,
|
|
40
41
|
PalletStakingAsyncAhClientUnexpectedKind,
|
|
41
|
-
|
|
42
|
+
PalletStakingAsyncAhClientSessionKeysUpdate,
|
|
43
|
+
PolkadotPrimitivesV9CandidateReceiptV2,
|
|
42
44
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
PolkadotPrimitivesV9CoreIndex,
|
|
46
|
+
PolkadotPrimitivesV9GroupIndex,
|
|
45
47
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
46
48
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
47
49
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
|
|
@@ -335,11 +337,21 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
335
337
|
**/
|
|
336
338
|
Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
|
|
337
339
|
|
|
340
|
+
/**
|
|
341
|
+
* Some credit was balanced and added to the TotalIssuance.
|
|
342
|
+
**/
|
|
343
|
+
MintedCredit: GenericPalletEvent<'Balances', 'MintedCredit', { amount: bigint }>;
|
|
344
|
+
|
|
338
345
|
/**
|
|
339
346
|
* Some amount was burned from an account.
|
|
340
347
|
**/
|
|
341
348
|
Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
|
|
342
349
|
|
|
350
|
+
/**
|
|
351
|
+
* Some debt has been dropped from the Total Issuance.
|
|
352
|
+
**/
|
|
353
|
+
BurnedDebt: GenericPalletEvent<'Balances', 'BurnedDebt', { amount: bigint }>;
|
|
354
|
+
|
|
343
355
|
/**
|
|
344
356
|
* Some amount was suspended from an account (it can be restored later).
|
|
345
357
|
**/
|
|
@@ -390,6 +402,51 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
390
402
|
**/
|
|
391
403
|
TotalIssuanceForced: GenericPalletEvent<'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
|
|
392
404
|
|
|
405
|
+
/**
|
|
406
|
+
* Some balance was placed on hold.
|
|
407
|
+
**/
|
|
408
|
+
Held: GenericPalletEvent<
|
|
409
|
+
'Balances',
|
|
410
|
+
'Held',
|
|
411
|
+
{ reason: PolkadotRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
|
|
412
|
+
>;
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* Held balance was burned from an account.
|
|
416
|
+
**/
|
|
417
|
+
BurnedHeld: GenericPalletEvent<
|
|
418
|
+
'Balances',
|
|
419
|
+
'BurnedHeld',
|
|
420
|
+
{ reason: PolkadotRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
|
|
421
|
+
>;
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* A transfer of `amount` on hold from `source` to `dest` was initiated.
|
|
425
|
+
**/
|
|
426
|
+
TransferOnHold: GenericPalletEvent<
|
|
427
|
+
'Balances',
|
|
428
|
+
'TransferOnHold',
|
|
429
|
+
{ reason: PolkadotRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; amount: bigint }
|
|
430
|
+
>;
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* The `transferred` balance is placed on hold at the `dest` account.
|
|
434
|
+
**/
|
|
435
|
+
TransferAndHold: GenericPalletEvent<
|
|
436
|
+
'Balances',
|
|
437
|
+
'TransferAndHold',
|
|
438
|
+
{ reason: PolkadotRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; transferred: bigint }
|
|
439
|
+
>;
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Some balance was released from hold.
|
|
443
|
+
**/
|
|
444
|
+
Released: GenericPalletEvent<
|
|
445
|
+
'Balances',
|
|
446
|
+
'Released',
|
|
447
|
+
{ reason: PolkadotRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
|
|
448
|
+
>;
|
|
449
|
+
|
|
393
450
|
/**
|
|
394
451
|
* An unexpected/defensive event was triggered.
|
|
395
452
|
**/
|
|
@@ -733,12 +790,12 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
733
790
|
/**
|
|
734
791
|
* An account has delegated their vote to another account. \[who, target\]
|
|
735
792
|
**/
|
|
736
|
-
Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId32, AccountId32]>;
|
|
793
|
+
Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId32, AccountId32, number]>;
|
|
737
794
|
|
|
738
795
|
/**
|
|
739
796
|
* An \[account\] has cancelled a previous delegation operation.
|
|
740
797
|
**/
|
|
741
|
-
Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId32>;
|
|
798
|
+
Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', [AccountId32, number]>;
|
|
742
799
|
|
|
743
800
|
/**
|
|
744
801
|
* An account has voted
|
|
@@ -746,7 +803,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
746
803
|
Voted: GenericPalletEvent<
|
|
747
804
|
'ConvictionVoting',
|
|
748
805
|
'Voted',
|
|
749
|
-
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
|
|
806
|
+
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote; pollIndex: number }
|
|
750
807
|
>;
|
|
751
808
|
|
|
752
809
|
/**
|
|
@@ -755,7 +812,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
755
812
|
VoteRemoved: GenericPalletEvent<
|
|
756
813
|
'ConvictionVoting',
|
|
757
814
|
'VoteRemoved',
|
|
758
|
-
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
|
|
815
|
+
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote; pollIndex: number }
|
|
759
816
|
>;
|
|
760
817
|
|
|
761
818
|
/**
|
|
@@ -1219,6 +1276,8 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1219
1276
|
who: AccountId32;
|
|
1220
1277
|
proxyType: PolkadotRuntimeConstantsProxyProxyType;
|
|
1221
1278
|
disambiguationIndex: number;
|
|
1279
|
+
at: number;
|
|
1280
|
+
extrinsicIndex: number;
|
|
1222
1281
|
}
|
|
1223
1282
|
>;
|
|
1224
1283
|
|
|
@@ -1878,6 +1937,25 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1878
1937
|
**/
|
|
1879
1938
|
Unexpected: GenericPalletEvent<'StakingAhClient', 'Unexpected', PalletStakingAsyncAhClientUnexpectedKind>;
|
|
1880
1939
|
|
|
1940
|
+
/**
|
|
1941
|
+
* Session keys updated for a validator.
|
|
1942
|
+
**/
|
|
1943
|
+
SessionKeysUpdated: GenericPalletEvent<
|
|
1944
|
+
'StakingAhClient',
|
|
1945
|
+
'SessionKeysUpdated',
|
|
1946
|
+
{ stash: AccountId32; update: PalletStakingAsyncAhClientSessionKeysUpdate }
|
|
1947
|
+
>;
|
|
1948
|
+
|
|
1949
|
+
/**
|
|
1950
|
+
* Session key update from AssetHub failed on the relay chain.
|
|
1951
|
+
* Logged as an event for fail-safe observability.
|
|
1952
|
+
**/
|
|
1953
|
+
SessionKeysUpdateFailed: GenericPalletEvent<
|
|
1954
|
+
'StakingAhClient',
|
|
1955
|
+
'SessionKeysUpdateFailed',
|
|
1956
|
+
{ stash: AccountId32; update: PalletStakingAsyncAhClientSessionKeysUpdate; error: DispatchError }
|
|
1957
|
+
>;
|
|
1958
|
+
|
|
1881
1959
|
/**
|
|
1882
1960
|
* Generic pallet event
|
|
1883
1961
|
**/
|
|
@@ -1894,10 +1972,10 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1894
1972
|
'ParaInclusion',
|
|
1895
1973
|
'CandidateBacked',
|
|
1896
1974
|
[
|
|
1897
|
-
|
|
1975
|
+
PolkadotPrimitivesV9CandidateReceiptV2,
|
|
1898
1976
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
1899
|
-
|
|
1900
|
-
|
|
1977
|
+
PolkadotPrimitivesV9CoreIndex,
|
|
1978
|
+
PolkadotPrimitivesV9GroupIndex,
|
|
1901
1979
|
]
|
|
1902
1980
|
>;
|
|
1903
1981
|
|
|
@@ -1908,10 +1986,10 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1908
1986
|
'ParaInclusion',
|
|
1909
1987
|
'CandidateIncluded',
|
|
1910
1988
|
[
|
|
1911
|
-
|
|
1989
|
+
PolkadotPrimitivesV9CandidateReceiptV2,
|
|
1912
1990
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
1913
|
-
|
|
1914
|
-
|
|
1991
|
+
PolkadotPrimitivesV9CoreIndex,
|
|
1992
|
+
PolkadotPrimitivesV9GroupIndex,
|
|
1915
1993
|
]
|
|
1916
1994
|
>;
|
|
1917
1995
|
|
|
@@ -1922,9 +2000,9 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1922
2000
|
'ParaInclusion',
|
|
1923
2001
|
'CandidateTimedOut',
|
|
1924
2002
|
[
|
|
1925
|
-
|
|
2003
|
+
PolkadotPrimitivesV9CandidateReceiptV2,
|
|
1926
2004
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
1927
|
-
|
|
2005
|
+
PolkadotPrimitivesV9CoreIndex,
|
|
1928
2006
|
]
|
|
1929
2007
|
>;
|
|
1930
2008
|
|
|
@@ -2425,7 +2503,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2425
2503
|
/**
|
|
2426
2504
|
* A core has received a new assignment from the broker chain.
|
|
2427
2505
|
**/
|
|
2428
|
-
CoreAssigned: GenericPalletEvent<'Coretime', 'CoreAssigned', { core:
|
|
2506
|
+
CoreAssigned: GenericPalletEvent<'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV9CoreIndex }>;
|
|
2429
2507
|
|
|
2430
2508
|
/**
|
|
2431
2509
|
* Generic pallet event
|
package/polkadot/index.d.ts
CHANGED