@dedot/chaintypes 0.149.0 → 0.151.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/basilisk/index.d.ts +1 -1
- package/kusama/consts.d.ts +41 -2
- package/kusama/errors.d.ts +38 -0
- package/kusama/events.d.ts +132 -0
- package/kusama/index.d.ts +1 -1
- package/kusama/query.d.ts +35 -0
- package/kusama/tx.d.ts +209 -15
- package/kusama/types.d.ts +465 -98
- package/kusama/view-functions.d.ts +80 -1
- package/kusama-asset-hub/consts.d.ts +48 -2
- package/kusama-asset-hub/errors.d.ts +52 -23
- package/kusama-asset-hub/events.d.ts +212 -36
- package/kusama-asset-hub/index.d.ts +1 -1
- package/kusama-asset-hub/query.d.ts +79 -26
- package/kusama-asset-hub/runtime.d.ts +180 -13
- package/kusama-asset-hub/tx.d.ts +347 -143
- package/kusama-asset-hub/types.d.ts +1613 -1188
- package/kusama-asset-hub/view-functions.d.ts +34 -1
- package/kusama-people/consts.d.ts +21 -0
- package/kusama-people/errors.d.ts +8 -0
- package/kusama-people/events.d.ts +22 -0
- package/kusama-people/index.d.ts +1 -1
- package/kusama-people/query.d.ts +25 -2
- package/kusama-people/runtime.d.ts +121 -0
- package/kusama-people/tx.d.ts +24 -12
- package/kusama-people/types.d.ts +1072 -954
- package/kusama-people/view-functions.d.ts +34 -1
- package/package.json +2 -2
package/kusama/types.d.ts
CHANGED
|
@@ -23,9 +23,9 @@ import type {
|
|
|
23
23
|
BitSequence,
|
|
24
24
|
FixedU128,
|
|
25
25
|
Result,
|
|
26
|
-
FixedI64,
|
|
27
|
-
Era,
|
|
28
26
|
UncheckedExtrinsic,
|
|
27
|
+
Era,
|
|
28
|
+
FixedI64,
|
|
29
29
|
} from 'dedot/codecs';
|
|
30
30
|
|
|
31
31
|
export type FrameSystemAccountInfo = {
|
|
@@ -62,6 +62,7 @@ export type StagingKusamaRuntimeRuntimeEvent =
|
|
|
62
62
|
| { pallet: 'TransactionPayment'; palletEvent: PalletTransactionPaymentEvent }
|
|
63
63
|
| { pallet: 'Staking'; palletEvent: PalletStakingPalletEvent }
|
|
64
64
|
| { pallet: 'Offences'; palletEvent: PalletOffencesEvent }
|
|
65
|
+
| { pallet: 'Historical'; palletEvent: PalletSessionHistoricalPalletEvent }
|
|
65
66
|
| { pallet: 'Session'; palletEvent: PalletSessionEvent }
|
|
66
67
|
| { pallet: 'Grandpa'; palletEvent: PalletGrandpaEvent }
|
|
67
68
|
| { pallet: 'Treasury'; palletEvent: PalletTreasuryEvent }
|
|
@@ -288,10 +289,16 @@ export type PalletBalancesEvent =
|
|
|
288
289
|
/**
|
|
289
290
|
* The `TotalIssuance` was forcefully changed.
|
|
290
291
|
**/
|
|
291
|
-
| { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } }
|
|
292
|
+
| { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } }
|
|
293
|
+
/**
|
|
294
|
+
* An unexpected/defensive event was triggered.
|
|
295
|
+
**/
|
|
296
|
+
| { name: 'Unexpected'; data: PalletBalancesUnexpectedKind };
|
|
292
297
|
|
|
293
298
|
export type FrameSupportTokensMiscBalanceStatus = 'Free' | 'Reserved';
|
|
294
299
|
|
|
300
|
+
export type PalletBalancesUnexpectedKind = 'BalanceUpdated' | 'FailedToMutateAccount';
|
|
301
|
+
|
|
295
302
|
/**
|
|
296
303
|
* The `Event` enum of this pallet
|
|
297
304
|
**/
|
|
@@ -416,6 +423,19 @@ export type PalletOffencesEvent =
|
|
|
416
423
|
**/
|
|
417
424
|
{ name: 'Offence'; data: { kind: FixedBytes<16>; timeslot: Bytes } };
|
|
418
425
|
|
|
426
|
+
/**
|
|
427
|
+
* The `Event` enum of this pallet
|
|
428
|
+
**/
|
|
429
|
+
export type PalletSessionHistoricalPalletEvent =
|
|
430
|
+
/**
|
|
431
|
+
* The merkle root of the validators of the said session were stored
|
|
432
|
+
**/
|
|
433
|
+
| { name: 'RootStored'; data: { index: number } }
|
|
434
|
+
/**
|
|
435
|
+
* The merkle roots of up to this session index were pruned
|
|
436
|
+
**/
|
|
437
|
+
| { name: 'RootsPruned'; data: { upTo: number } };
|
|
438
|
+
|
|
419
439
|
/**
|
|
420
440
|
* The `Event` enum of this pallet
|
|
421
441
|
**/
|
|
@@ -425,6 +445,11 @@ export type PalletSessionEvent =
|
|
|
425
445
|
* block number as the type might suggest.
|
|
426
446
|
**/
|
|
427
447
|
| { name: 'NewSession'; data: { sessionIndex: number } }
|
|
448
|
+
/**
|
|
449
|
+
* The `NewSession` event in the current block also implies a new validator set to be
|
|
450
|
+
* queued.
|
|
451
|
+
**/
|
|
452
|
+
| { name: 'NewQueued' }
|
|
428
453
|
/**
|
|
429
454
|
* Validator has been disabled.
|
|
430
455
|
**/
|
|
@@ -1804,6 +1829,8 @@ export type PalletStakingPalletCall =
|
|
|
1804
1829
|
* period ends. If this leaves an amount actively bonded less than
|
|
1805
1830
|
* [`asset::existential_deposit`], then it is increased to the full amount.
|
|
1806
1831
|
*
|
|
1832
|
+
* The stash may be chilled if the ledger total amount falls to 0 after unbonding.
|
|
1833
|
+
*
|
|
1807
1834
|
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
1808
1835
|
*
|
|
1809
1836
|
* Once the unlock period is done, you can call `withdraw_unbonded` to actually move
|
|
@@ -2010,6 +2037,7 @@ export type PalletStakingPalletCall =
|
|
|
2010
2037
|
* Can be called by the `T::AdminOrigin`.
|
|
2011
2038
|
*
|
|
2012
2039
|
* Parameters: era and indices of the slashes for that era to kill.
|
|
2040
|
+
* They **must** be sorted in ascending order, *and* unique.
|
|
2013
2041
|
**/
|
|
2014
2042
|
| { name: 'CancelDeferredSlash'; params: { era: number; slashIndices: Array<number> } }
|
|
2015
2043
|
/**
|
|
@@ -2284,6 +2312,8 @@ export type PalletStakingPalletCallLike =
|
|
|
2284
2312
|
* period ends. If this leaves an amount actively bonded less than
|
|
2285
2313
|
* [`asset::existential_deposit`], then it is increased to the full amount.
|
|
2286
2314
|
*
|
|
2315
|
+
* The stash may be chilled if the ledger total amount falls to 0 after unbonding.
|
|
2316
|
+
*
|
|
2287
2317
|
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
2288
2318
|
*
|
|
2289
2319
|
* Once the unlock period is done, you can call `withdraw_unbonded` to actually move
|
|
@@ -2490,6 +2520,7 @@ export type PalletStakingPalletCallLike =
|
|
|
2490
2520
|
* Can be called by the `T::AdminOrigin`.
|
|
2491
2521
|
*
|
|
2492
2522
|
* Parameters: era and indices of the slashes for that era to kill.
|
|
2523
|
+
* They **must** be sorted in ascending order, *and* unique.
|
|
2493
2524
|
**/
|
|
2494
2525
|
| { name: 'CancelDeferredSlash'; params: { era: number; slashIndices: Array<number> } }
|
|
2495
2526
|
/**
|
|
@@ -3692,7 +3723,8 @@ export type StagingKusamaRuntimeOriginCaller =
|
|
|
3692
3723
|
export type FrameSupportDispatchRawOrigin =
|
|
3693
3724
|
| { type: 'Root' }
|
|
3694
3725
|
| { type: 'Signed'; value: AccountId32 }
|
|
3695
|
-
| { type: 'None' }
|
|
3726
|
+
| { type: 'None' }
|
|
3727
|
+
| { type: 'Authorized' };
|
|
3696
3728
|
|
|
3697
3729
|
export type StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin =
|
|
3698
3730
|
| 'StakingAdmin'
|
|
@@ -4692,7 +4724,17 @@ export type PalletSocietyCall =
|
|
|
4692
4724
|
*
|
|
4693
4725
|
* May be called by any Signed origin, but only after the challenge round is ended.
|
|
4694
4726
|
**/
|
|
4695
|
-
| { name: 'CleanupChallenge'; params: { challengeRound: number; max: number } }
|
|
4727
|
+
| { name: 'CleanupChallenge'; params: { challengeRound: number; max: number } }
|
|
4728
|
+
/**
|
|
4729
|
+
* Poke the deposit reserved when bidding.
|
|
4730
|
+
*
|
|
4731
|
+
* The dispatch origin for this call must be _Signed_ and must be the bidder.
|
|
4732
|
+
*
|
|
4733
|
+
* The transaction fee is waived if the deposit is changed after poking/reconsideration.
|
|
4734
|
+
*
|
|
4735
|
+
* Emits `DepositPoked` if successful.
|
|
4736
|
+
**/
|
|
4737
|
+
| { name: 'PokeDeposit' };
|
|
4696
4738
|
|
|
4697
4739
|
export type PalletSocietyCallLike =
|
|
4698
4740
|
/**
|
|
@@ -4908,7 +4950,17 @@ export type PalletSocietyCallLike =
|
|
|
4908
4950
|
*
|
|
4909
4951
|
* May be called by any Signed origin, but only after the challenge round is ended.
|
|
4910
4952
|
**/
|
|
4911
|
-
| { name: 'CleanupChallenge'; params: { challengeRound: number; max: number } }
|
|
4953
|
+
| { name: 'CleanupChallenge'; params: { challengeRound: number; max: number } }
|
|
4954
|
+
/**
|
|
4955
|
+
* Poke the deposit reserved when bidding.
|
|
4956
|
+
*
|
|
4957
|
+
* The dispatch origin for this call must be _Signed_ and must be the bidder.
|
|
4958
|
+
*
|
|
4959
|
+
* The transaction fee is waived if the deposit is changed after poking/reconsideration.
|
|
4960
|
+
*
|
|
4961
|
+
* Emits `DepositPoked` if successful.
|
|
4962
|
+
**/
|
|
4963
|
+
| { name: 'PokeDeposit' };
|
|
4912
4964
|
|
|
4913
4965
|
/**
|
|
4914
4966
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -5033,7 +5085,33 @@ export type PalletRecoveryCall =
|
|
|
5033
5085
|
* Parameters:
|
|
5034
5086
|
* - `account`: The recovered account you are able to call on-behalf-of.
|
|
5035
5087
|
**/
|
|
5036
|
-
| { name: 'CancelRecovered'; params: { account: MultiAddress } }
|
|
5088
|
+
| { name: 'CancelRecovered'; params: { account: MultiAddress } }
|
|
5089
|
+
/**
|
|
5090
|
+
* Poke deposits for recovery configurations and / or active recoveries.
|
|
5091
|
+
*
|
|
5092
|
+
* This can be used by accounts to possibly lower their locked amount.
|
|
5093
|
+
*
|
|
5094
|
+
* The dispatch origin for this call must be _Signed_.
|
|
5095
|
+
*
|
|
5096
|
+
* Parameters:
|
|
5097
|
+
* - `maybe_account`: Optional recoverable account for which you have an active recovery
|
|
5098
|
+
* and want to adjust the deposit for the active recovery.
|
|
5099
|
+
*
|
|
5100
|
+
* This function checks both recovery configuration deposit and active recovery deposits
|
|
5101
|
+
* of the caller:
|
|
5102
|
+
* - If the caller has created a recovery configuration, checks and adjusts its deposit
|
|
5103
|
+
* - If the caller has initiated any active recoveries, and provides the account in
|
|
5104
|
+
* `maybe_account`, checks and adjusts those deposits
|
|
5105
|
+
*
|
|
5106
|
+
* If any deposit is updated, the difference will be reserved/unreserved from the caller's
|
|
5107
|
+
* account.
|
|
5108
|
+
*
|
|
5109
|
+
* The transaction is made free if any deposit is updated and paid otherwise.
|
|
5110
|
+
*
|
|
5111
|
+
* Emits `DepositPoked` if any deposit is updated.
|
|
5112
|
+
* Multiple events may be emitted in case both types of deposits are updated.
|
|
5113
|
+
**/
|
|
5114
|
+
| { name: 'PokeDeposit'; params: { maybeAccount?: MultiAddress | undefined } };
|
|
5037
5115
|
|
|
5038
5116
|
export type PalletRecoveryCallLike =
|
|
5039
5117
|
/**
|
|
@@ -5155,7 +5233,33 @@ export type PalletRecoveryCallLike =
|
|
|
5155
5233
|
* Parameters:
|
|
5156
5234
|
* - `account`: The recovered account you are able to call on-behalf-of.
|
|
5157
5235
|
**/
|
|
5158
|
-
| { name: 'CancelRecovered'; params: { account: MultiAddressLike } }
|
|
5236
|
+
| { name: 'CancelRecovered'; params: { account: MultiAddressLike } }
|
|
5237
|
+
/**
|
|
5238
|
+
* Poke deposits for recovery configurations and / or active recoveries.
|
|
5239
|
+
*
|
|
5240
|
+
* This can be used by accounts to possibly lower their locked amount.
|
|
5241
|
+
*
|
|
5242
|
+
* The dispatch origin for this call must be _Signed_.
|
|
5243
|
+
*
|
|
5244
|
+
* Parameters:
|
|
5245
|
+
* - `maybe_account`: Optional recoverable account for which you have an active recovery
|
|
5246
|
+
* and want to adjust the deposit for the active recovery.
|
|
5247
|
+
*
|
|
5248
|
+
* This function checks both recovery configuration deposit and active recovery deposits
|
|
5249
|
+
* of the caller:
|
|
5250
|
+
* - If the caller has created a recovery configuration, checks and adjusts its deposit
|
|
5251
|
+
* - If the caller has initiated any active recoveries, and provides the account in
|
|
5252
|
+
* `maybe_account`, checks and adjusts those deposits
|
|
5253
|
+
*
|
|
5254
|
+
* If any deposit is updated, the difference will be reserved/unreserved from the caller's
|
|
5255
|
+
* account.
|
|
5256
|
+
*
|
|
5257
|
+
* The transaction is made free if any deposit is updated and paid otherwise.
|
|
5258
|
+
*
|
|
5259
|
+
* Emits `DepositPoked` if any deposit is updated.
|
|
5260
|
+
* Multiple events may be emitted in case both types of deposits are updated.
|
|
5261
|
+
**/
|
|
5262
|
+
| { name: 'PokeDeposit'; params: { maybeAccount?: MultiAddressLike | undefined } };
|
|
5159
5263
|
|
|
5160
5264
|
/**
|
|
5161
5265
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -5611,7 +5715,7 @@ export type PalletProxyCall =
|
|
|
5611
5715
|
*
|
|
5612
5716
|
* The dispatch origin for this call must be _Signed_.
|
|
5613
5717
|
*
|
|
5614
|
-
* WARNING: This may be called on accounts created by `
|
|
5718
|
+
* WARNING: This may be called on accounts created by `create_pure`, however if done, then
|
|
5615
5719
|
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
5616
5720
|
**/
|
|
5617
5721
|
| { name: 'RemoveProxies' }
|
|
@@ -5643,16 +5747,16 @@ export type PalletProxyCall =
|
|
|
5643
5747
|
* inaccessible.
|
|
5644
5748
|
*
|
|
5645
5749
|
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
5646
|
-
* `
|
|
5750
|
+
* `create_pure` with corresponding parameters.
|
|
5647
5751
|
*
|
|
5648
|
-
* - `spawner`: The account that originally called `
|
|
5649
|
-
* - `index`: The disambiguation index originally passed to `
|
|
5650
|
-
* - `proxy_type`: The proxy type originally passed to `
|
|
5651
|
-
* - `height`: The height of the chain when the call to `
|
|
5652
|
-
* - `ext_index`: The extrinsic index in which the call to `
|
|
5752
|
+
* - `spawner`: The account that originally called `create_pure` to create this account.
|
|
5753
|
+
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
5754
|
+
* - `proxy_type`: The proxy type originally passed to `create_pure`.
|
|
5755
|
+
* - `height`: The height of the chain when the call to `create_pure` was processed.
|
|
5756
|
+
* - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
|
|
5653
5757
|
*
|
|
5654
5758
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
5655
|
-
* account whose `
|
|
5759
|
+
* account whose `create_pure` call has corresponding parameters.
|
|
5656
5760
|
**/
|
|
5657
5761
|
| {
|
|
5658
5762
|
name: 'KillPure';
|
|
@@ -5795,7 +5899,7 @@ export type PalletProxyCallLike =
|
|
|
5795
5899
|
*
|
|
5796
5900
|
* The dispatch origin for this call must be _Signed_.
|
|
5797
5901
|
*
|
|
5798
|
-
* WARNING: This may be called on accounts created by `
|
|
5902
|
+
* WARNING: This may be called on accounts created by `create_pure`, however if done, then
|
|
5799
5903
|
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
5800
5904
|
**/
|
|
5801
5905
|
| { name: 'RemoveProxies' }
|
|
@@ -5827,16 +5931,16 @@ export type PalletProxyCallLike =
|
|
|
5827
5931
|
* inaccessible.
|
|
5828
5932
|
*
|
|
5829
5933
|
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
5830
|
-
* `
|
|
5934
|
+
* `create_pure` with corresponding parameters.
|
|
5831
5935
|
*
|
|
5832
|
-
* - `spawner`: The account that originally called `
|
|
5833
|
-
* - `index`: The disambiguation index originally passed to `
|
|
5834
|
-
* - `proxy_type`: The proxy type originally passed to `
|
|
5835
|
-
* - `height`: The height of the chain when the call to `
|
|
5836
|
-
* - `ext_index`: The extrinsic index in which the call to `
|
|
5936
|
+
* - `spawner`: The account that originally called `create_pure` to create this account.
|
|
5937
|
+
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
5938
|
+
* - `proxy_type`: The proxy type originally passed to `create_pure`.
|
|
5939
|
+
* - `height`: The height of the chain when the call to `create_pure` was processed.
|
|
5940
|
+
* - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
|
|
5837
5941
|
*
|
|
5838
5942
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
5839
|
-
* account whose `
|
|
5943
|
+
* account whose `create_pure` call has corresponding parameters.
|
|
5840
5944
|
**/
|
|
5841
5945
|
| {
|
|
5842
5946
|
name: 'KillPure';
|
|
@@ -6477,7 +6581,25 @@ export type PalletBountiesCall =
|
|
|
6477
6581
|
* ## Complexity
|
|
6478
6582
|
* - O(1).
|
|
6479
6583
|
**/
|
|
6480
|
-
| { name: 'ApproveBountyWithCurator'; params: { bountyId: number; curator: MultiAddress; fee: bigint } }
|
|
6584
|
+
| { name: 'ApproveBountyWithCurator'; params: { bountyId: number; curator: MultiAddress; fee: bigint } }
|
|
6585
|
+
/**
|
|
6586
|
+
* Poke the deposit reserved for creating a bounty proposal.
|
|
6587
|
+
*
|
|
6588
|
+
* This can be used by accounts to update their reserved amount.
|
|
6589
|
+
*
|
|
6590
|
+
* The dispatch origin for this call must be _Signed_.
|
|
6591
|
+
*
|
|
6592
|
+
* Parameters:
|
|
6593
|
+
* - `bounty_id`: The bounty id for which to adjust the deposit.
|
|
6594
|
+
*
|
|
6595
|
+
* If the deposit is updated, the difference will be reserved/unreserved from the
|
|
6596
|
+
* proposer's account.
|
|
6597
|
+
*
|
|
6598
|
+
* The transaction is made free if the deposit is updated and paid otherwise.
|
|
6599
|
+
*
|
|
6600
|
+
* Emits `DepositPoked` if the deposit is updated.
|
|
6601
|
+
**/
|
|
6602
|
+
| { name: 'PokeDeposit'; params: { bountyId: number } };
|
|
6481
6603
|
|
|
6482
6604
|
export type PalletBountiesCallLike =
|
|
6483
6605
|
/**
|
|
@@ -6605,7 +6727,25 @@ export type PalletBountiesCallLike =
|
|
|
6605
6727
|
* ## Complexity
|
|
6606
6728
|
* - O(1).
|
|
6607
6729
|
**/
|
|
6608
|
-
| { name: 'ApproveBountyWithCurator'; params: { bountyId: number; curator: MultiAddressLike; fee: bigint } }
|
|
6730
|
+
| { name: 'ApproveBountyWithCurator'; params: { bountyId: number; curator: MultiAddressLike; fee: bigint } }
|
|
6731
|
+
/**
|
|
6732
|
+
* Poke the deposit reserved for creating a bounty proposal.
|
|
6733
|
+
*
|
|
6734
|
+
* This can be used by accounts to update their reserved amount.
|
|
6735
|
+
*
|
|
6736
|
+
* The dispatch origin for this call must be _Signed_.
|
|
6737
|
+
*
|
|
6738
|
+
* Parameters:
|
|
6739
|
+
* - `bounty_id`: The bounty id for which to adjust the deposit.
|
|
6740
|
+
*
|
|
6741
|
+
* If the deposit is updated, the difference will be reserved/unreserved from the
|
|
6742
|
+
* proposer's account.
|
|
6743
|
+
*
|
|
6744
|
+
* The transaction is made free if the deposit is updated and paid otherwise.
|
|
6745
|
+
*
|
|
6746
|
+
* Emits `DepositPoked` if the deposit is updated.
|
|
6747
|
+
**/
|
|
6748
|
+
| { name: 'PokeDeposit'; params: { bountyId: number } };
|
|
6609
6749
|
|
|
6610
6750
|
/**
|
|
6611
6751
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -7013,10 +7153,7 @@ export type PalletElectionProviderMultiPhaseCall =
|
|
|
7013
7153
|
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
|
|
7014
7154
|
* calling [`Call::set_emergency_election_result`].
|
|
7015
7155
|
**/
|
|
7016
|
-
| {
|
|
7017
|
-
name: 'GovernanceFallback';
|
|
7018
|
-
params: { maybeMaxVoters?: number | undefined; maybeMaxTargets?: number | undefined };
|
|
7019
|
-
};
|
|
7156
|
+
| { name: 'GovernanceFallback' };
|
|
7020
7157
|
|
|
7021
7158
|
export type PalletElectionProviderMultiPhaseCallLike =
|
|
7022
7159
|
/**
|
|
@@ -7079,10 +7216,7 @@ export type PalletElectionProviderMultiPhaseCallLike =
|
|
|
7079
7216
|
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
|
|
7080
7217
|
* calling [`Call::set_emergency_election_result`].
|
|
7081
7218
|
**/
|
|
7082
|
-
| {
|
|
7083
|
-
name: 'GovernanceFallback';
|
|
7084
|
-
params: { maybeMaxVoters?: number | undefined; maybeMaxTargets?: number | undefined };
|
|
7085
|
-
};
|
|
7219
|
+
| { name: 'GovernanceFallback' };
|
|
7086
7220
|
|
|
7087
7221
|
export type PalletElectionProviderMultiPhaseRawSolution = {
|
|
7088
7222
|
solution: StagingKusamaRuntimeNposCompactSolution24;
|
|
@@ -8883,7 +9017,46 @@ export type PolkadotRuntimeParachainsParasPalletCall =
|
|
|
8883
9017
|
/**
|
|
8884
9018
|
* Set the storage for the current parachain head data immediately.
|
|
8885
9019
|
**/
|
|
8886
|
-
| { name: 'ForceSetMostRecentContext'; params: { para: PolkadotParachainPrimitivesPrimitivesId; context: number } }
|
|
9020
|
+
| { name: 'ForceSetMostRecentContext'; params: { para: PolkadotParachainPrimitivesPrimitivesId; context: number } }
|
|
9021
|
+
/**
|
|
9022
|
+
* Remove an upgrade cooldown for a parachain.
|
|
9023
|
+
*
|
|
9024
|
+
* The cost for removing the cooldown earlier depends on the time left for the cooldown
|
|
9025
|
+
* multiplied by [`Config::CooldownRemovalMultiplier`]. The paid tokens are burned.
|
|
9026
|
+
**/
|
|
9027
|
+
| { name: 'RemoveUpgradeCooldown'; params: { para: PolkadotParachainPrimitivesPrimitivesId } }
|
|
9028
|
+
/**
|
|
9029
|
+
* Sets the storage for the authorized current code hash of the parachain.
|
|
9030
|
+
* If not applied, it will be removed at the `System::block_number() + valid_period` block.
|
|
9031
|
+
*
|
|
9032
|
+
* This can be useful, when triggering `Paras::force_set_current_code(para, code)`
|
|
9033
|
+
* from a different chain than the one where the `Paras` pallet is deployed.
|
|
9034
|
+
*
|
|
9035
|
+
* The main purpose is to avoid transferring the entire `code` Wasm blob between chains.
|
|
9036
|
+
* Instead, we authorize `code_hash` with `root`, which can later be applied by
|
|
9037
|
+
* `Paras::apply_authorized_force_set_current_code(para, code)` by anyone.
|
|
9038
|
+
*
|
|
9039
|
+
* Authorizations are stored in an **overwriting manner**.
|
|
9040
|
+
**/
|
|
9041
|
+
| {
|
|
9042
|
+
name: 'AuthorizeForceSetCurrentCodeHash';
|
|
9043
|
+
params: {
|
|
9044
|
+
para: PolkadotParachainPrimitivesPrimitivesId;
|
|
9045
|
+
newCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
|
|
9046
|
+
validPeriod: number;
|
|
9047
|
+
};
|
|
9048
|
+
}
|
|
9049
|
+
/**
|
|
9050
|
+
* Applies the already authorized current code for the parachain,
|
|
9051
|
+
* triggering the same functionality as `force_set_current_code`.
|
|
9052
|
+
**/
|
|
9053
|
+
| {
|
|
9054
|
+
name: 'ApplyAuthorizedForceSetCurrentCode';
|
|
9055
|
+
params: {
|
|
9056
|
+
para: PolkadotParachainPrimitivesPrimitivesId;
|
|
9057
|
+
newCode: PolkadotParachainPrimitivesPrimitivesValidationCode;
|
|
9058
|
+
};
|
|
9059
|
+
};
|
|
8887
9060
|
|
|
8888
9061
|
export type PolkadotRuntimeParachainsParasPalletCallLike =
|
|
8889
9062
|
/**
|
|
@@ -8969,7 +9142,46 @@ export type PolkadotRuntimeParachainsParasPalletCallLike =
|
|
|
8969
9142
|
/**
|
|
8970
9143
|
* Set the storage for the current parachain head data immediately.
|
|
8971
9144
|
**/
|
|
8972
|
-
| { name: 'ForceSetMostRecentContext'; params: { para: PolkadotParachainPrimitivesPrimitivesId; context: number } }
|
|
9145
|
+
| { name: 'ForceSetMostRecentContext'; params: { para: PolkadotParachainPrimitivesPrimitivesId; context: number } }
|
|
9146
|
+
/**
|
|
9147
|
+
* Remove an upgrade cooldown for a parachain.
|
|
9148
|
+
*
|
|
9149
|
+
* The cost for removing the cooldown earlier depends on the time left for the cooldown
|
|
9150
|
+
* multiplied by [`Config::CooldownRemovalMultiplier`]. The paid tokens are burned.
|
|
9151
|
+
**/
|
|
9152
|
+
| { name: 'RemoveUpgradeCooldown'; params: { para: PolkadotParachainPrimitivesPrimitivesId } }
|
|
9153
|
+
/**
|
|
9154
|
+
* Sets the storage for the authorized current code hash of the parachain.
|
|
9155
|
+
* If not applied, it will be removed at the `System::block_number() + valid_period` block.
|
|
9156
|
+
*
|
|
9157
|
+
* This can be useful, when triggering `Paras::force_set_current_code(para, code)`
|
|
9158
|
+
* from a different chain than the one where the `Paras` pallet is deployed.
|
|
9159
|
+
*
|
|
9160
|
+
* The main purpose is to avoid transferring the entire `code` Wasm blob between chains.
|
|
9161
|
+
* Instead, we authorize `code_hash` with `root`, which can later be applied by
|
|
9162
|
+
* `Paras::apply_authorized_force_set_current_code(para, code)` by anyone.
|
|
9163
|
+
*
|
|
9164
|
+
* Authorizations are stored in an **overwriting manner**.
|
|
9165
|
+
**/
|
|
9166
|
+
| {
|
|
9167
|
+
name: 'AuthorizeForceSetCurrentCodeHash';
|
|
9168
|
+
params: {
|
|
9169
|
+
para: PolkadotParachainPrimitivesPrimitivesId;
|
|
9170
|
+
newCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
|
|
9171
|
+
validPeriod: number;
|
|
9172
|
+
};
|
|
9173
|
+
}
|
|
9174
|
+
/**
|
|
9175
|
+
* Applies the already authorized current code for the parachain,
|
|
9176
|
+
* triggering the same functionality as `force_set_current_code`.
|
|
9177
|
+
**/
|
|
9178
|
+
| {
|
|
9179
|
+
name: 'ApplyAuthorizedForceSetCurrentCode';
|
|
9180
|
+
params: {
|
|
9181
|
+
para: PolkadotParachainPrimitivesPrimitivesId;
|
|
9182
|
+
newCode: PolkadotParachainPrimitivesPrimitivesValidationCode;
|
|
9183
|
+
};
|
|
9184
|
+
};
|
|
8973
9185
|
|
|
8974
9186
|
export type PolkadotPrimitivesV8PvfCheckStatement = {
|
|
8975
9187
|
accept: boolean;
|
|
@@ -12319,7 +12531,11 @@ export type PalletSocietyEvent =
|
|
|
12319
12531
|
/**
|
|
12320
12532
|
* A \[member\] got elevated to \[rank\].
|
|
12321
12533
|
**/
|
|
12322
|
-
| { name: 'Elevated'; data: { member: AccountId32; rank: number } }
|
|
12534
|
+
| { name: 'Elevated'; data: { member: AccountId32; rank: number } }
|
|
12535
|
+
/**
|
|
12536
|
+
* A deposit was poked / adjusted.
|
|
12537
|
+
**/
|
|
12538
|
+
| { name: 'DepositPoked'; data: { who: AccountId32; oldDeposit: bigint; newDeposit: bigint } };
|
|
12323
12539
|
|
|
12324
12540
|
export type PalletSocietyGroupParams = {
|
|
12325
12541
|
maxMembers: number;
|
|
@@ -12355,12 +12571,27 @@ export type PalletRecoveryEvent =
|
|
|
12355
12571
|
/**
|
|
12356
12572
|
* A recovery process has been removed for an account.
|
|
12357
12573
|
**/
|
|
12358
|
-
| { name: 'RecoveryRemoved'; data: { lostAccount: AccountId32 } }
|
|
12574
|
+
| { name: 'RecoveryRemoved'; data: { lostAccount: AccountId32 } }
|
|
12575
|
+
/**
|
|
12576
|
+
* A deposit has been updated.
|
|
12577
|
+
**/
|
|
12578
|
+
| {
|
|
12579
|
+
name: 'DepositPoked';
|
|
12580
|
+
data: { who: AccountId32; kind: PalletRecoveryDepositKind; oldDeposit: bigint; newDeposit: bigint };
|
|
12581
|
+
};
|
|
12582
|
+
|
|
12583
|
+
export type PalletRecoveryDepositKind = { type: 'RecoveryConfig' } | { type: 'ActiveRecoveryFor'; value: AccountId32 };
|
|
12584
|
+
|
|
12585
|
+
export type StagingKusamaRuntimeRuntime = {};
|
|
12359
12586
|
|
|
12360
12587
|
/**
|
|
12361
12588
|
* The `Event` enum of this pallet
|
|
12362
12589
|
**/
|
|
12363
12590
|
export type PalletVestingEvent =
|
|
12591
|
+
/**
|
|
12592
|
+
* A vesting schedule has been created.
|
|
12593
|
+
**/
|
|
12594
|
+
| { name: 'VestingCreated'; data: { account: AccountId32; scheduleIndex: number } }
|
|
12364
12595
|
/**
|
|
12365
12596
|
* The amount vested has been updated. This could indicate a change in funds available.
|
|
12366
12597
|
* The balance given is the amount which is left unvested (and thus locked).
|
|
@@ -12444,6 +12675,18 @@ export type PalletProxyEvent =
|
|
|
12444
12675
|
disambiguationIndex: number;
|
|
12445
12676
|
};
|
|
12446
12677
|
}
|
|
12678
|
+
/**
|
|
12679
|
+
* A pure proxy was killed by its spawner.
|
|
12680
|
+
**/
|
|
12681
|
+
| {
|
|
12682
|
+
name: 'PureKilled';
|
|
12683
|
+
data: {
|
|
12684
|
+
pure: AccountId32;
|
|
12685
|
+
spawner: AccountId32;
|
|
12686
|
+
proxyType: KusamaRuntimeConstantsProxyProxyType;
|
|
12687
|
+
disambiguationIndex: number;
|
|
12688
|
+
};
|
|
12689
|
+
}
|
|
12447
12690
|
/**
|
|
12448
12691
|
* An announcement was placed to make a call in the future.
|
|
12449
12692
|
**/
|
|
@@ -12599,7 +12842,11 @@ export type PalletBountiesEvent =
|
|
|
12599
12842
|
/**
|
|
12600
12843
|
* A bounty curator is accepted.
|
|
12601
12844
|
**/
|
|
12602
|
-
| { name: 'CuratorAccepted'; data: { bountyId: number; curator: AccountId32 } }
|
|
12845
|
+
| { name: 'CuratorAccepted'; data: { bountyId: number; curator: AccountId32 } }
|
|
12846
|
+
/**
|
|
12847
|
+
* A bounty deposit has been poked.
|
|
12848
|
+
**/
|
|
12849
|
+
| { name: 'DepositPoked'; data: { bountyId: number; proposer: AccountId32; oldDeposit: bigint; newDeposit: bigint } };
|
|
12603
12850
|
|
|
12604
12851
|
/**
|
|
12605
12852
|
* The `Event` enum of this pallet
|
|
@@ -13076,6 +13323,40 @@ export type PolkadotRuntimeParachainsParasPalletEvent =
|
|
|
13076
13323
|
| {
|
|
13077
13324
|
name: 'PvfCheckRejected';
|
|
13078
13325
|
data: [PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId];
|
|
13326
|
+
}
|
|
13327
|
+
/**
|
|
13328
|
+
* The upgrade cooldown was removed.
|
|
13329
|
+
**/
|
|
13330
|
+
| {
|
|
13331
|
+
name: 'UpgradeCooldownRemoved';
|
|
13332
|
+
data: {
|
|
13333
|
+
/**
|
|
13334
|
+
* The parachain for which the cooldown got removed.
|
|
13335
|
+
**/
|
|
13336
|
+
paraId: PolkadotParachainPrimitivesPrimitivesId;
|
|
13337
|
+
};
|
|
13338
|
+
}
|
|
13339
|
+
/**
|
|
13340
|
+
* A new code hash has been authorized for a Para.
|
|
13341
|
+
**/
|
|
13342
|
+
| {
|
|
13343
|
+
name: 'CodeAuthorized';
|
|
13344
|
+
data: {
|
|
13345
|
+
/**
|
|
13346
|
+
* Para
|
|
13347
|
+
**/
|
|
13348
|
+
paraId: PolkadotParachainPrimitivesPrimitivesId;
|
|
13349
|
+
|
|
13350
|
+
/**
|
|
13351
|
+
* Authorized code hash.
|
|
13352
|
+
**/
|
|
13353
|
+
codeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
|
|
13354
|
+
|
|
13355
|
+
/**
|
|
13356
|
+
* Block at which authorization expires and will be removed.
|
|
13357
|
+
**/
|
|
13358
|
+
expireAt: number;
|
|
13359
|
+
};
|
|
13079
13360
|
};
|
|
13080
13361
|
|
|
13081
13362
|
/**
|
|
@@ -13570,8 +13851,10 @@ export type PalletXcmEvent =
|
|
|
13570
13851
|
|
|
13571
13852
|
export type StagingXcmV5TraitsOutcome =
|
|
13572
13853
|
| { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
|
|
13573
|
-
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error:
|
|
13574
|
-
| { type: 'Error'; value:
|
|
13854
|
+
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: StagingXcmV5TraitsInstructionError } }
|
|
13855
|
+
| { type: 'Error'; value: StagingXcmV5TraitsInstructionError };
|
|
13856
|
+
|
|
13857
|
+
export type StagingXcmV5TraitsInstructionError = { index: number; error: XcmV5TraitsError };
|
|
13575
13858
|
|
|
13576
13859
|
export type XcmV3TraitsSendError =
|
|
13577
13860
|
| 'NotApplicable'
|
|
@@ -13784,6 +14067,28 @@ export type FrameSystemError =
|
|
|
13784
14067
|
**/
|
|
13785
14068
|
| 'Unauthorized';
|
|
13786
14069
|
|
|
14070
|
+
export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
|
|
14071
|
+
|
|
14072
|
+
export type FrameSystemExtensionsCheckNonZeroSender = {};
|
|
14073
|
+
|
|
14074
|
+
export type FrameSystemExtensionsCheckSpecVersion = {};
|
|
14075
|
+
|
|
14076
|
+
export type FrameSystemExtensionsCheckTxVersion = {};
|
|
14077
|
+
|
|
14078
|
+
export type FrameSystemExtensionsCheckGenesis = {};
|
|
14079
|
+
|
|
14080
|
+
export type FrameSystemExtensionsCheckMortality = Era;
|
|
14081
|
+
|
|
14082
|
+
export type FrameSystemExtensionsCheckNonce = number;
|
|
14083
|
+
|
|
14084
|
+
export type FrameSystemExtensionsCheckWeight = {};
|
|
14085
|
+
|
|
14086
|
+
export type PalletTransactionPaymentChargeTransactionPayment = bigint;
|
|
14087
|
+
|
|
14088
|
+
export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
|
|
14089
|
+
|
|
14090
|
+
export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
14091
|
+
|
|
13787
14092
|
export type SpConsensusBabeDigestsPreDigest =
|
|
13788
14093
|
| { type: 'Primary'; value: SpConsensusBabeDigestsPrimaryPreDigest }
|
|
13789
14094
|
| { type: 'SecondaryPlain'; value: SpConsensusBabeDigestsSecondaryPlainPreDigest }
|
|
@@ -13863,6 +14168,7 @@ export type FrameSupportTokensMiscIdAmount = { id: StagingKusamaRuntimeRuntimeHo
|
|
|
13863
14168
|
|
|
13864
14169
|
export type StagingKusamaRuntimeRuntimeHoldReason =
|
|
13865
14170
|
| { type: 'Staking'; value: PalletStakingPalletHoldReason }
|
|
14171
|
+
| { type: 'Session'; value: PalletSessionHoldReason }
|
|
13866
14172
|
| { type: 'Preimage'; value: PalletPreimageHoldReason }
|
|
13867
14173
|
| { type: 'Nis'; value: PalletNisHoldReason }
|
|
13868
14174
|
| { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason }
|
|
@@ -13870,6 +14176,8 @@ export type StagingKusamaRuntimeRuntimeHoldReason =
|
|
|
13870
14176
|
|
|
13871
14177
|
export type PalletStakingPalletHoldReason = 'Staking';
|
|
13872
14178
|
|
|
14179
|
+
export type PalletSessionHoldReason = 'Keys';
|
|
14180
|
+
|
|
13873
14181
|
export type PalletPreimageHoldReason = 'Preimage';
|
|
13874
14182
|
|
|
13875
14183
|
export type PalletNisHoldReason = 'NftReceipt';
|
|
@@ -14757,7 +15065,11 @@ export type PalletSocietyError =
|
|
|
14757
15065
|
/**
|
|
14758
15066
|
* The candidate/defender has no stale votes to remove.
|
|
14759
15067
|
**/
|
|
14760
|
-
| 'NoVotes'
|
|
15068
|
+
| 'NoVotes'
|
|
15069
|
+
/**
|
|
15070
|
+
* There is no deposit associated with a bid.
|
|
15071
|
+
**/
|
|
15072
|
+
| 'NoDeposit';
|
|
14761
15073
|
|
|
14762
15074
|
export type PalletRecoveryRecoveryConfig = {
|
|
14763
15075
|
delayPeriod: number;
|
|
@@ -15137,7 +15449,11 @@ export type PalletBountiesError =
|
|
|
15137
15449
|
/**
|
|
15138
15450
|
* Too many approvals are already queued.
|
|
15139
15451
|
**/
|
|
15140
|
-
| 'TooManyQueued'
|
|
15452
|
+
| 'TooManyQueued'
|
|
15453
|
+
/**
|
|
15454
|
+
* User is not the proposer of the bounty.
|
|
15455
|
+
**/
|
|
15456
|
+
| 'NotProposer';
|
|
15141
15457
|
|
|
15142
15458
|
export type PalletChildBountiesChildBounty = {
|
|
15143
15459
|
parentBounty: number;
|
|
@@ -15171,11 +15487,17 @@ export type PalletChildBountiesError =
|
|
|
15171
15487
|
| 'TooManyChildBounties';
|
|
15172
15488
|
|
|
15173
15489
|
export type PalletElectionProviderMultiPhaseReadySolution = {
|
|
15174
|
-
supports:
|
|
15490
|
+
supports: FrameElectionProviderSupportBoundedSupports;
|
|
15175
15491
|
score: SpNposElectionsElectionScore;
|
|
15176
15492
|
compute: PalletElectionProviderMultiPhaseElectionCompute;
|
|
15177
15493
|
};
|
|
15178
15494
|
|
|
15495
|
+
export type FrameElectionProviderSupportBoundedSupports = Array<
|
|
15496
|
+
[AccountId32, FrameElectionProviderSupportBoundedSupport]
|
|
15497
|
+
>;
|
|
15498
|
+
|
|
15499
|
+
export type FrameElectionProviderSupportBoundedSupport = { total: bigint; voters: Array<[AccountId32, bigint]> };
|
|
15500
|
+
|
|
15179
15501
|
export type PalletElectionProviderMultiPhaseRoundSnapshot = {
|
|
15180
15502
|
voters: Array<[AccountId32, bigint, Array<AccountId32>]>;
|
|
15181
15503
|
targets: Array<AccountId32>;
|
|
@@ -15354,9 +15676,13 @@ export type PalletBagsListError =
|
|
|
15354
15676
|
/**
|
|
15355
15677
|
* A error in the list interface implementation.
|
|
15356
15678
|
**/
|
|
15357
|
-
{ name: 'List'; data: PalletBagsListListListError }
|
|
15679
|
+
| { name: 'List'; data: PalletBagsListListListError }
|
|
15680
|
+
/**
|
|
15681
|
+
* Could not update a node, because the pallet is locked.
|
|
15682
|
+
**/
|
|
15683
|
+
| { name: 'Locked' };
|
|
15358
15684
|
|
|
15359
|
-
export type PalletBagsListListListError = 'Duplicate' | 'NotHeavier' | 'NotInSameBag' | 'NodeNotFound';
|
|
15685
|
+
export type PalletBagsListListListError = 'Duplicate' | 'NotHeavier' | 'NotInSameBag' | 'NodeNotFound' | 'Locked';
|
|
15360
15686
|
|
|
15361
15687
|
export type PalletNominationPoolsPoolMember = {
|
|
15362
15688
|
poolId: number;
|
|
@@ -15901,6 +16227,11 @@ export type PolkadotRuntimeParachainsParasParaPastCodeMeta = {
|
|
|
15901
16227
|
|
|
15902
16228
|
export type PolkadotRuntimeParachainsParasReplacementTimes = { expectedAt: number; activatedAt: number };
|
|
15903
16229
|
|
|
16230
|
+
export type PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry = {
|
|
16231
|
+
codeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
|
|
16232
|
+
expireAt: number;
|
|
16233
|
+
};
|
|
16234
|
+
|
|
15904
16235
|
export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
|
|
15905
16236
|
|
|
15906
16237
|
export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
|
|
@@ -15966,7 +16297,19 @@ export type PolkadotRuntimeParachainsParasPalletError =
|
|
|
15966
16297
|
/**
|
|
15967
16298
|
* Invalid validation code size.
|
|
15968
16299
|
**/
|
|
15969
|
-
| 'InvalidCode'
|
|
16300
|
+
| 'InvalidCode'
|
|
16301
|
+
/**
|
|
16302
|
+
* No upgrade authorized.
|
|
16303
|
+
**/
|
|
16304
|
+
| 'NothingAuthorized'
|
|
16305
|
+
/**
|
|
16306
|
+
* The submitted code is not authorized.
|
|
16307
|
+
**/
|
|
16308
|
+
| 'Unauthorized'
|
|
16309
|
+
/**
|
|
16310
|
+
* Invalid block number.
|
|
16311
|
+
**/
|
|
16312
|
+
| 'InvalidBlockNumber';
|
|
15970
16313
|
|
|
15971
16314
|
export type PolkadotRuntimeParachainsInitializerBufferedSessionChange = {
|
|
15972
16315
|
validators: Array<PolkadotPrimitivesV8ValidatorAppPublic>;
|
|
@@ -16571,113 +16914,161 @@ export type PalletXcmError =
|
|
|
16571
16914
|
* The desired destination was unreachable, generally because there is a no way of routing
|
|
16572
16915
|
* to it.
|
|
16573
16916
|
**/
|
|
16574
|
-
| 'Unreachable'
|
|
16917
|
+
| { name: 'Unreachable' }
|
|
16575
16918
|
/**
|
|
16576
16919
|
* There was some other issue (i.e. not to do with routing) in sending the message.
|
|
16577
16920
|
* Perhaps a lack of space for buffering the message.
|
|
16578
16921
|
**/
|
|
16579
|
-
| 'SendFailure'
|
|
16922
|
+
| { name: 'SendFailure' }
|
|
16580
16923
|
/**
|
|
16581
16924
|
* The message execution fails the filter.
|
|
16582
16925
|
**/
|
|
16583
|
-
| 'Filtered'
|
|
16926
|
+
| { name: 'Filtered' }
|
|
16584
16927
|
/**
|
|
16585
16928
|
* The message's weight could not be determined.
|
|
16586
16929
|
**/
|
|
16587
|
-
| 'UnweighableMessage'
|
|
16930
|
+
| { name: 'UnweighableMessage' }
|
|
16588
16931
|
/**
|
|
16589
16932
|
* The destination `Location` provided cannot be inverted.
|
|
16590
16933
|
**/
|
|
16591
|
-
| 'DestinationNotInvertible'
|
|
16934
|
+
| { name: 'DestinationNotInvertible' }
|
|
16592
16935
|
/**
|
|
16593
16936
|
* The assets to be sent are empty.
|
|
16594
16937
|
**/
|
|
16595
|
-
| 'Empty'
|
|
16938
|
+
| { name: 'Empty' }
|
|
16596
16939
|
/**
|
|
16597
16940
|
* Could not re-anchor the assets to declare the fees for the destination chain.
|
|
16598
16941
|
**/
|
|
16599
|
-
| 'CannotReanchor'
|
|
16942
|
+
| { name: 'CannotReanchor' }
|
|
16600
16943
|
/**
|
|
16601
16944
|
* Too many assets have been attempted for transfer.
|
|
16602
16945
|
**/
|
|
16603
|
-
| 'TooManyAssets'
|
|
16946
|
+
| { name: 'TooManyAssets' }
|
|
16604
16947
|
/**
|
|
16605
16948
|
* Origin is invalid for sending.
|
|
16606
16949
|
**/
|
|
16607
|
-
| 'InvalidOrigin'
|
|
16950
|
+
| { name: 'InvalidOrigin' }
|
|
16608
16951
|
/**
|
|
16609
16952
|
* The version of the `Versioned` value used is not able to be interpreted.
|
|
16610
16953
|
**/
|
|
16611
|
-
| 'BadVersion'
|
|
16954
|
+
| { name: 'BadVersion' }
|
|
16612
16955
|
/**
|
|
16613
16956
|
* The given location could not be used (e.g. because it cannot be expressed in the
|
|
16614
16957
|
* desired version of XCM).
|
|
16615
16958
|
**/
|
|
16616
|
-
| 'BadLocation'
|
|
16959
|
+
| { name: 'BadLocation' }
|
|
16617
16960
|
/**
|
|
16618
16961
|
* The referenced subscription could not be found.
|
|
16619
16962
|
**/
|
|
16620
|
-
| 'NoSubscription'
|
|
16963
|
+
| { name: 'NoSubscription' }
|
|
16621
16964
|
/**
|
|
16622
16965
|
* The location is invalid since it already has a subscription from us.
|
|
16623
16966
|
**/
|
|
16624
|
-
| 'AlreadySubscribed'
|
|
16967
|
+
| { name: 'AlreadySubscribed' }
|
|
16625
16968
|
/**
|
|
16626
16969
|
* Could not check-out the assets for teleportation to the destination chain.
|
|
16627
16970
|
**/
|
|
16628
|
-
| 'CannotCheckOutTeleport'
|
|
16971
|
+
| { name: 'CannotCheckOutTeleport' }
|
|
16629
16972
|
/**
|
|
16630
16973
|
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
16631
16974
|
**/
|
|
16632
|
-
| 'LowBalance'
|
|
16975
|
+
| { name: 'LowBalance' }
|
|
16633
16976
|
/**
|
|
16634
16977
|
* The asset owner has too many locks on the asset.
|
|
16635
16978
|
**/
|
|
16636
|
-
| 'TooManyLocks'
|
|
16979
|
+
| { name: 'TooManyLocks' }
|
|
16637
16980
|
/**
|
|
16638
16981
|
* The given account is not an identifiable sovereign account for any location.
|
|
16639
16982
|
**/
|
|
16640
|
-
| 'AccountNotSovereign'
|
|
16983
|
+
| { name: 'AccountNotSovereign' }
|
|
16641
16984
|
/**
|
|
16642
16985
|
* The operation required fees to be paid which the initiator could not meet.
|
|
16643
16986
|
**/
|
|
16644
|
-
| 'FeesNotMet'
|
|
16987
|
+
| { name: 'FeesNotMet' }
|
|
16645
16988
|
/**
|
|
16646
16989
|
* A remote lock with the corresponding data could not be found.
|
|
16647
16990
|
**/
|
|
16648
|
-
| 'LockNotFound'
|
|
16991
|
+
| { name: 'LockNotFound' }
|
|
16649
16992
|
/**
|
|
16650
16993
|
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
16651
16994
|
**/
|
|
16652
|
-
| 'InUse'
|
|
16995
|
+
| { name: 'InUse' }
|
|
16653
16996
|
/**
|
|
16654
16997
|
* Invalid asset, reserve chain could not be determined for it.
|
|
16655
16998
|
**/
|
|
16656
|
-
| 'InvalidAssetUnknownReserve'
|
|
16999
|
+
| { name: 'InvalidAssetUnknownReserve' }
|
|
16657
17000
|
/**
|
|
16658
17001
|
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
16659
17002
|
**/
|
|
16660
|
-
| 'InvalidAssetUnsupportedReserve'
|
|
17003
|
+
| { name: 'InvalidAssetUnsupportedReserve' }
|
|
16661
17004
|
/**
|
|
16662
17005
|
* Too many assets with different reserve locations have been attempted for transfer.
|
|
16663
17006
|
**/
|
|
16664
|
-
| 'TooManyReserves'
|
|
17007
|
+
| { name: 'TooManyReserves' }
|
|
16665
17008
|
/**
|
|
16666
17009
|
* Local XCM execution incomplete.
|
|
16667
17010
|
**/
|
|
16668
|
-
| 'LocalExecutionIncomplete'
|
|
17011
|
+
| { name: 'LocalExecutionIncomplete' }
|
|
16669
17012
|
/**
|
|
16670
17013
|
* Too many locations authorized to alias origin.
|
|
16671
17014
|
**/
|
|
16672
|
-
| 'TooManyAuthorizedAliases'
|
|
17015
|
+
| { name: 'TooManyAuthorizedAliases' }
|
|
16673
17016
|
/**
|
|
16674
17017
|
* Expiry block number is in the past.
|
|
16675
17018
|
**/
|
|
16676
|
-
| 'ExpiresInPast'
|
|
17019
|
+
| { name: 'ExpiresInPast' }
|
|
16677
17020
|
/**
|
|
16678
17021
|
* The alias to remove authorization for was not found.
|
|
16679
17022
|
**/
|
|
16680
|
-
| 'AliasNotFound'
|
|
17023
|
+
| { name: 'AliasNotFound' }
|
|
17024
|
+
/**
|
|
17025
|
+
* Local XCM execution incomplete with the actual XCM error and the index of the
|
|
17026
|
+
* instruction that caused the error.
|
|
17027
|
+
**/
|
|
17028
|
+
| { name: 'LocalExecutionIncompleteWithError'; data: { index: number; error: PalletXcmErrorsExecutionError } };
|
|
17029
|
+
|
|
17030
|
+
export type PalletXcmErrorsExecutionError =
|
|
17031
|
+
| 'Overflow'
|
|
17032
|
+
| 'Unimplemented'
|
|
17033
|
+
| 'UntrustedReserveLocation'
|
|
17034
|
+
| 'UntrustedTeleportLocation'
|
|
17035
|
+
| 'LocationFull'
|
|
17036
|
+
| 'LocationNotInvertible'
|
|
17037
|
+
| 'BadOrigin'
|
|
17038
|
+
| 'InvalidLocation'
|
|
17039
|
+
| 'AssetNotFound'
|
|
17040
|
+
| 'FailedToTransactAsset'
|
|
17041
|
+
| 'NotWithdrawable'
|
|
17042
|
+
| 'LocationCannotHold'
|
|
17043
|
+
| 'ExceedsMaxMessageSize'
|
|
17044
|
+
| 'DestinationUnsupported'
|
|
17045
|
+
| 'Transport'
|
|
17046
|
+
| 'Unroutable'
|
|
17047
|
+
| 'UnknownClaim'
|
|
17048
|
+
| 'FailedToDecode'
|
|
17049
|
+
| 'MaxWeightInvalid'
|
|
17050
|
+
| 'NotHoldingFees'
|
|
17051
|
+
| 'TooExpensive'
|
|
17052
|
+
| 'Trap'
|
|
17053
|
+
| 'ExpectationFalse'
|
|
17054
|
+
| 'PalletNotFound'
|
|
17055
|
+
| 'NameMismatch'
|
|
17056
|
+
| 'VersionIncompatible'
|
|
17057
|
+
| 'HoldingWouldOverflow'
|
|
17058
|
+
| 'ExportError'
|
|
17059
|
+
| 'ReanchorFailed'
|
|
17060
|
+
| 'NoDeal'
|
|
17061
|
+
| 'FeesNotMet'
|
|
17062
|
+
| 'LockError'
|
|
17063
|
+
| 'NoPermission'
|
|
17064
|
+
| 'Unanchored'
|
|
17065
|
+
| 'NotDepositable'
|
|
17066
|
+
| 'TooManyAssets'
|
|
17067
|
+
| 'UnhandledXcmVersion'
|
|
17068
|
+
| 'WeightLimitReached'
|
|
17069
|
+
| 'Barrier'
|
|
17070
|
+
| 'WeightNotComputable'
|
|
17071
|
+
| 'ExceedsStackLimit';
|
|
16681
17072
|
|
|
16682
17073
|
export type PalletMessageQueueBookState = {
|
|
16683
17074
|
begin: number;
|
|
@@ -16801,32 +17192,8 @@ export type PalletBeefyError =
|
|
|
16801
17192
|
|
|
16802
17193
|
export type SpConsensusBeefyMmrBeefyAuthoritySet = { id: bigint; len: number; keysetCommitment: H256 };
|
|
16803
17194
|
|
|
16804
|
-
export type FrameSystemExtensionsCheckNonZeroSender = {};
|
|
16805
|
-
|
|
16806
|
-
export type FrameSystemExtensionsCheckSpecVersion = {};
|
|
16807
|
-
|
|
16808
|
-
export type FrameSystemExtensionsCheckTxVersion = {};
|
|
16809
|
-
|
|
16810
|
-
export type FrameSystemExtensionsCheckGenesis = {};
|
|
16811
|
-
|
|
16812
|
-
export type FrameSystemExtensionsCheckMortality = Era;
|
|
16813
|
-
|
|
16814
|
-
export type FrameSystemExtensionsCheckNonce = number;
|
|
16815
|
-
|
|
16816
|
-
export type FrameSystemExtensionsCheckWeight = {};
|
|
16817
|
-
|
|
16818
|
-
export type PalletTransactionPaymentChargeTransactionPayment = bigint;
|
|
16819
|
-
|
|
16820
|
-
export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
|
|
16821
|
-
|
|
16822
|
-
export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
16823
|
-
|
|
16824
|
-
export type StagingKusamaRuntimeRuntime = {};
|
|
16825
|
-
|
|
16826
17195
|
export type RelayCommonApisInflationInfo = { inflation: Perquintill; nextMint: [bigint, bigint] };
|
|
16827
17196
|
|
|
16828
|
-
export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
|
|
16829
|
-
|
|
16830
17197
|
export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
|
|
16831
17198
|
|
|
16832
17199
|
export type SpCoreOpaqueMetadata = Bytes;
|