@dedot/chaintypes 0.78.0 → 0.80.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-people/json-rpc.d.ts +11 -10
- package/westend/consts.d.ts +38 -32
- package/westend/errors.d.ts +64 -9
- package/westend/events.d.ts +143 -52
- package/westend/index.d.ts +1 -1
- package/westend/query.d.ts +63 -98
- package/westend/runtime.d.ts +7 -7
- package/westend/tx.d.ts +235 -64
- package/westend/types.d.ts +441 -174
package/westend/types.d.ts
CHANGED
|
@@ -5,11 +5,11 @@ import type {
|
|
|
5
5
|
H256,
|
|
6
6
|
DispatchError,
|
|
7
7
|
AccountId32,
|
|
8
|
-
Result,
|
|
9
8
|
Perbill,
|
|
10
9
|
FixedBytes,
|
|
11
10
|
Bytes,
|
|
12
11
|
Perquintill,
|
|
12
|
+
Result,
|
|
13
13
|
BytesLike,
|
|
14
14
|
Header,
|
|
15
15
|
MultiAddress,
|
|
@@ -21,8 +21,8 @@ import type {
|
|
|
21
21
|
PerU16,
|
|
22
22
|
BitSequence,
|
|
23
23
|
FixedU128,
|
|
24
|
-
FixedI64,
|
|
25
24
|
Era,
|
|
25
|
+
FixedI64,
|
|
26
26
|
UncheckedExtrinsic,
|
|
27
27
|
} from 'dedot/codecs';
|
|
28
28
|
|
|
@@ -97,6 +97,7 @@ export type WestendRuntimeRuntimeEvent =
|
|
|
97
97
|
| { pallet: 'MessageQueue'; palletEvent: PalletMessageQueueEvent }
|
|
98
98
|
| { pallet: 'AssetRate'; palletEvent: PalletAssetRateEvent }
|
|
99
99
|
| { pallet: 'RootTesting'; palletEvent: PalletRootTestingEvent }
|
|
100
|
+
| { pallet: 'MetaTx'; palletEvent: PalletMetaTxEvent }
|
|
100
101
|
| { pallet: 'IdentityMigrator'; palletEvent: PolkadotRuntimeCommonIdentityMigratorPalletEvent };
|
|
101
102
|
|
|
102
103
|
/**
|
|
@@ -130,7 +131,11 @@ export type FrameSystemEvent =
|
|
|
130
131
|
/**
|
|
131
132
|
* An upgrade was authorized.
|
|
132
133
|
**/
|
|
133
|
-
| { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } }
|
|
134
|
+
| { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } }
|
|
135
|
+
/**
|
|
136
|
+
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
137
|
+
**/
|
|
138
|
+
| { name: 'RejectedInvalidAuthorizedUpgrade'; data: { codeHash: H256; error: DispatchError } };
|
|
134
139
|
|
|
135
140
|
export type FrameSystemDispatchEventInfo = {
|
|
136
141
|
weight: SpWeightsWeightV2Weight;
|
|
@@ -173,7 +178,11 @@ export type PalletIndicesEvent =
|
|
|
173
178
|
/**
|
|
174
179
|
* A account index has been frozen to its current account ID.
|
|
175
180
|
**/
|
|
176
|
-
| { name: 'IndexFrozen'; data: { index: number; who: AccountId32 } }
|
|
181
|
+
| { name: 'IndexFrozen'; data: { index: number; who: AccountId32 } }
|
|
182
|
+
/**
|
|
183
|
+
* A deposit to reserve an index has been poked/reconsidered.
|
|
184
|
+
**/
|
|
185
|
+
| { name: 'DepositPoked'; data: { who: AccountId32; index: number; oldDeposit: bigint; newDeposit: bigint } };
|
|
177
186
|
|
|
178
187
|
/**
|
|
179
188
|
* The `Event` enum of this pallet
|
|
@@ -307,6 +316,11 @@ export type PalletStakingPalletEvent =
|
|
|
307
316
|
* A staker (validator or nominator) has been slashed by the given amount.
|
|
308
317
|
**/
|
|
309
318
|
| { name: 'Slashed'; data: { staker: AccountId32; amount: bigint } }
|
|
319
|
+
/**
|
|
320
|
+
* A slash for the given validator, for the given percentage of their stake, at the given
|
|
321
|
+
* era as been reported.
|
|
322
|
+
**/
|
|
323
|
+
| { name: 'SlashReported'; data: { validator: AccountId32; fraction: Perbill; slashEra: number } }
|
|
310
324
|
/**
|
|
311
325
|
* An old slashing report from a prior era was discarded because it could
|
|
312
326
|
* not be processed.
|
|
@@ -363,6 +377,9 @@ export type PalletStakingPalletEvent =
|
|
|
363
377
|
* Targets size limit reached.
|
|
364
378
|
**/
|
|
365
379
|
| { name: 'SnapshotTargetsSizeExceeded'; data: { size: number } }
|
|
380
|
+
/**
|
|
381
|
+
* A new force era mode was set.
|
|
382
|
+
**/
|
|
366
383
|
| { name: 'ForceEra'; data: { mode: PalletStakingForcing } }
|
|
367
384
|
/**
|
|
368
385
|
* Report of a controller batch deprecation.
|
|
@@ -372,32 +389,7 @@ export type PalletStakingPalletEvent =
|
|
|
372
389
|
* Staking balance migrated from locks to holds, with any balance that could not be held
|
|
373
390
|
* is force withdrawn.
|
|
374
391
|
**/
|
|
375
|
-
| { name: 'CurrencyMigrated'; data: { stash: AccountId32; forceWithdraw: bigint } }
|
|
376
|
-
/**
|
|
377
|
-
* A page from a multi-page election was fetched. A number of these are followed by
|
|
378
|
-
* `StakersElected`.
|
|
379
|
-
*
|
|
380
|
-
* `Ok(count)` indicates the give number of stashes were added.
|
|
381
|
-
* `Err(index)` indicates that the stashes after index were dropped.
|
|
382
|
-
* `Err(0)` indicates that an error happened but no stashes were dropped nor added.
|
|
383
|
-
*
|
|
384
|
-
* The error indicates that a number of validators were dropped due to excess size, but
|
|
385
|
-
* the overall election will continue.
|
|
386
|
-
**/
|
|
387
|
-
| { name: 'PagedElectionProceeded'; data: { page: number; result: Result<number, number> } }
|
|
388
|
-
/**
|
|
389
|
-
* An offence for the given validator, for the given percentage of their stake, at the
|
|
390
|
-
* given era as been reported.
|
|
391
|
-
**/
|
|
392
|
-
| { name: 'OffenceReported'; data: { offenceEra: number; validator: AccountId32; fraction: Perbill } }
|
|
393
|
-
/**
|
|
394
|
-
* An offence has been processed and the corresponding slash has been computed.
|
|
395
|
-
**/
|
|
396
|
-
| { name: 'SlashComputed'; data: { offenceEra: number; slashEra: number; offender: AccountId32; page: number } }
|
|
397
|
-
/**
|
|
398
|
-
* An unapplied slash has been cancelled.
|
|
399
|
-
**/
|
|
400
|
-
| { name: 'SlashCancelled'; data: { slashEra: number; slashKey: [AccountId32, Perbill, number]; payout: bigint } };
|
|
392
|
+
| { name: 'CurrencyMigrated'; data: { stash: AccountId32; forceWithdraw: bigint } };
|
|
401
393
|
|
|
402
394
|
export type PalletStakingRewardDestination =
|
|
403
395
|
| { type: 'Staked' }
|
|
@@ -743,7 +735,11 @@ export type PalletSchedulerEvent =
|
|
|
743
735
|
/**
|
|
744
736
|
* The given task can never be executed since it is overweight.
|
|
745
737
|
**/
|
|
746
|
-
| { name: 'PermanentlyOverweight'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } }
|
|
738
|
+
| { name: 'PermanentlyOverweight'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } }
|
|
739
|
+
/**
|
|
740
|
+
* Agenda is incomplete from `when`.
|
|
741
|
+
**/
|
|
742
|
+
| { name: 'AgendaIncomplete'; data: { when: number } };
|
|
747
743
|
|
|
748
744
|
/**
|
|
749
745
|
* The `Event` enum of this pallet
|
|
@@ -845,6 +841,13 @@ export type PalletProxyEvent =
|
|
|
845
841
|
| {
|
|
846
842
|
name: 'ProxyRemoved';
|
|
847
843
|
data: { delegator: AccountId32; delegatee: AccountId32; proxyType: WestendRuntimeProxyType; delay: number };
|
|
844
|
+
}
|
|
845
|
+
/**
|
|
846
|
+
* A deposit stored for proxies or announcements was poked / updated.
|
|
847
|
+
**/
|
|
848
|
+
| {
|
|
849
|
+
name: 'DepositPoked';
|
|
850
|
+
data: { who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint };
|
|
848
851
|
};
|
|
849
852
|
|
|
850
853
|
export type WestendRuntimeProxyType =
|
|
@@ -859,6 +862,8 @@ export type WestendRuntimeProxyType =
|
|
|
859
862
|
| 'NominationPools'
|
|
860
863
|
| 'ParaRegistration';
|
|
861
864
|
|
|
865
|
+
export type PalletProxyDepositKind = 'Proxies' | 'Announcements';
|
|
866
|
+
|
|
862
867
|
/**
|
|
863
868
|
* The `Event` enum of this pallet
|
|
864
869
|
**/
|
|
@@ -903,6 +908,13 @@ export type PalletMultisigEvent =
|
|
|
903
908
|
multisig: AccountId32;
|
|
904
909
|
callHash: FixedBytes<32>;
|
|
905
910
|
};
|
|
911
|
+
}
|
|
912
|
+
/**
|
|
913
|
+
* The deposit for a multisig operation has been updated/poked.
|
|
914
|
+
**/
|
|
915
|
+
| {
|
|
916
|
+
name: 'DepositPoked';
|
|
917
|
+
data: { who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint };
|
|
906
918
|
};
|
|
907
919
|
|
|
908
920
|
export type PalletMultisigTimepoint = { height: number; index: number };
|
|
@@ -1539,6 +1551,7 @@ export type WestendRuntimeRuntimeCall =
|
|
|
1539
1551
|
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
|
|
1540
1552
|
| { pallet: 'AssetRate'; palletCall: PalletAssetRateCall }
|
|
1541
1553
|
| { pallet: 'RootTesting'; palletCall: PalletRootTestingCall }
|
|
1554
|
+
| { pallet: 'MetaTx'; palletCall: PalletMetaTxCall }
|
|
1542
1555
|
| { pallet: 'Beefy'; palletCall: PalletBeefyCall }
|
|
1543
1556
|
| { pallet: 'IdentityMigrator'; palletCall: PolkadotRuntimeCommonIdentityMigratorPalletCall };
|
|
1544
1557
|
|
|
@@ -1591,6 +1604,7 @@ export type WestendRuntimeRuntimeCallLike =
|
|
|
1591
1604
|
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
|
|
1592
1605
|
| { pallet: 'AssetRate'; palletCall: PalletAssetRateCallLike }
|
|
1593
1606
|
| { pallet: 'RootTesting'; palletCall: PalletRootTestingCallLike }
|
|
1607
|
+
| { pallet: 'MetaTx'; palletCall: PalletMetaTxCallLike }
|
|
1594
1608
|
| { pallet: 'Beefy'; palletCall: PalletBeefyCallLike }
|
|
1595
1609
|
| { pallet: 'IdentityMigrator'; palletCall: PolkadotRuntimeCommonIdentityMigratorPalletCallLike };
|
|
1596
1610
|
|
|
@@ -1963,7 +1977,20 @@ export type PalletIndicesCall =
|
|
|
1963
1977
|
* ## Complexity
|
|
1964
1978
|
* - `O(1)`.
|
|
1965
1979
|
**/
|
|
1966
|
-
| { name: 'Freeze'; params: { index: number } }
|
|
1980
|
+
| { name: 'Freeze'; params: { index: number } }
|
|
1981
|
+
/**
|
|
1982
|
+
* Poke the deposit reserved for an index.
|
|
1983
|
+
*
|
|
1984
|
+
* The dispatch origin for this call must be _Signed_ and the signing account must have a
|
|
1985
|
+
* non-frozen account `index`.
|
|
1986
|
+
*
|
|
1987
|
+
* The transaction fees is waived if the deposit is changed after poking/reconsideration.
|
|
1988
|
+
*
|
|
1989
|
+
* - `index`: the index whose deposit is to be poked/reconsidered.
|
|
1990
|
+
*
|
|
1991
|
+
* Emits `DepositPoked` if successful.
|
|
1992
|
+
**/
|
|
1993
|
+
| { name: 'PokeDeposit'; params: { index: number } };
|
|
1967
1994
|
|
|
1968
1995
|
export type PalletIndicesCallLike =
|
|
1969
1996
|
/**
|
|
@@ -2041,7 +2068,20 @@ export type PalletIndicesCallLike =
|
|
|
2041
2068
|
* ## Complexity
|
|
2042
2069
|
* - `O(1)`.
|
|
2043
2070
|
**/
|
|
2044
|
-
| { name: 'Freeze'; params: { index: number } }
|
|
2071
|
+
| { name: 'Freeze'; params: { index: number } }
|
|
2072
|
+
/**
|
|
2073
|
+
* Poke the deposit reserved for an index.
|
|
2074
|
+
*
|
|
2075
|
+
* The dispatch origin for this call must be _Signed_ and the signing account must have a
|
|
2076
|
+
* non-frozen account `index`.
|
|
2077
|
+
*
|
|
2078
|
+
* The transaction fees is waived if the deposit is changed after poking/reconsideration.
|
|
2079
|
+
*
|
|
2080
|
+
* - `index`: the index whose deposit is to be poked/reconsidered.
|
|
2081
|
+
*
|
|
2082
|
+
* Emits `DepositPoked` if successful.
|
|
2083
|
+
**/
|
|
2084
|
+
| { name: 'PokeDeposit'; params: { index: number } };
|
|
2045
2085
|
|
|
2046
2086
|
/**
|
|
2047
2087
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -2383,7 +2423,7 @@ export type PalletStakingPalletCall =
|
|
|
2383
2423
|
| { name: 'SetValidatorCount'; params: { new: number } }
|
|
2384
2424
|
/**
|
|
2385
2425
|
* Increments the ideal number of validators up to maximum of
|
|
2386
|
-
* `
|
|
2426
|
+
* `ElectionProviderBase::MaxWinners`.
|
|
2387
2427
|
*
|
|
2388
2428
|
* The dispatch origin must be Root.
|
|
2389
2429
|
*
|
|
@@ -2393,7 +2433,7 @@ export type PalletStakingPalletCall =
|
|
|
2393
2433
|
| { name: 'IncreaseValidatorCount'; params: { additional: number } }
|
|
2394
2434
|
/**
|
|
2395
2435
|
* Scale up the ideal number of validators by a factor up to maximum of
|
|
2396
|
-
* `
|
|
2436
|
+
* `ElectionProviderBase::MaxWinners`.
|
|
2397
2437
|
*
|
|
2398
2438
|
* The dispatch origin must be Root.
|
|
2399
2439
|
*
|
|
@@ -2464,17 +2504,13 @@ export type PalletStakingPalletCall =
|
|
|
2464
2504
|
**/
|
|
2465
2505
|
| { name: 'ForceNewEraAlways' }
|
|
2466
2506
|
/**
|
|
2467
|
-
*
|
|
2507
|
+
* Cancel enactment of a deferred slash.
|
|
2468
2508
|
*
|
|
2469
|
-
*
|
|
2470
|
-
* the `UnappliedSlashes` storage, preventing their enactment.
|
|
2509
|
+
* Can be called by the `T::AdminOrigin`.
|
|
2471
2510
|
*
|
|
2472
|
-
*
|
|
2473
|
-
* - `era`: The staking era for which slashes were deferred.
|
|
2474
|
-
* - `slash_keys`: A list of slash keys identifying the slashes to remove. This is a tuple
|
|
2475
|
-
* of `(stash, slash_fraction, page_index)`.
|
|
2511
|
+
* Parameters: era and indices of the slashes for that era to kill.
|
|
2476
2512
|
**/
|
|
2477
|
-
| { name: 'CancelDeferredSlash'; params: { era: number;
|
|
2513
|
+
| { name: 'CancelDeferredSlash'; params: { era: number; slashIndices: Array<number> } }
|
|
2478
2514
|
/**
|
|
2479
2515
|
* Pay out next page of the stakers behind a validator for the given era.
|
|
2480
2516
|
*
|
|
@@ -2671,49 +2707,39 @@ export type PalletStakingPalletCall =
|
|
|
2671
2707
|
};
|
|
2672
2708
|
}
|
|
2673
2709
|
/**
|
|
2674
|
-
*
|
|
2710
|
+
* Removes the legacy Staking locks if they exist.
|
|
2675
2711
|
*
|
|
2676
|
-
* This removes the
|
|
2677
|
-
* stake cannot be held, the best effort is made to hold as
|
|
2678
|
-
* stake is
|
|
2712
|
+
* This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
|
|
2713
|
+
* hold on it if needed. If all stake cannot be held, the best effort is made to hold as
|
|
2714
|
+
* much as possible. The remaining stake is forced withdrawn from the ledger.
|
|
2679
2715
|
*
|
|
2680
2716
|
* The fee is waived if the migration is successful.
|
|
2681
2717
|
**/
|
|
2682
2718
|
| { name: 'MigrateCurrency'; params: { stash: AccountId32 } }
|
|
2683
2719
|
/**
|
|
2684
|
-
*
|
|
2720
|
+
* This function allows governance to manually slash a validator and is a
|
|
2721
|
+
* **fallback mechanism**.
|
|
2685
2722
|
*
|
|
2686
|
-
*
|
|
2687
|
-
* This function exists as a **fallback mechanism** in case slashes were not applied due to
|
|
2688
|
-
* unexpected reasons. It allows anyone to manually apply an unapplied slash.
|
|
2723
|
+
* The dispatch origin must be `T::AdminOrigin`.
|
|
2689
2724
|
*
|
|
2690
2725
|
* ## Parameters
|
|
2691
|
-
* - `
|
|
2692
|
-
* - `
|
|
2693
|
-
* - `
|
|
2694
|
-
* - `slash_fraction`: The fraction of the stake that was slashed.
|
|
2695
|
-
* - `page_index`: The index of the exposure page being processed.
|
|
2726
|
+
* - `validator_stash` - The stash account of the validator to slash.
|
|
2727
|
+
* - `era` - The era in which the validator was in the active set.
|
|
2728
|
+
* - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
|
|
2696
2729
|
*
|
|
2697
2730
|
* ## Behavior
|
|
2698
|
-
* - The function is **permissionless**—anyone can call it.
|
|
2699
|
-
* - The `slash_era` **must be the current era or a past era**. If it is in the future, the
|
|
2700
|
-
* call fails with `EraNotStarted`.
|
|
2701
|
-
* - The fee is waived if the slash is successfully applied.
|
|
2702
2731
|
*
|
|
2703
|
-
*
|
|
2704
|
-
*
|
|
2705
|
-
* is unused block space, improving efficiency.
|
|
2706
|
-
**/
|
|
2707
|
-
| { name: 'ApplySlash'; params: { slashEra: number; slashKey: [AccountId32, Perbill, number] } }
|
|
2708
|
-
/**
|
|
2709
|
-
* Adjusts the staking ledger by withdrawing any excess staked amount.
|
|
2732
|
+
* The slash will be applied using the standard slashing mechanics, respecting the
|
|
2733
|
+
* configured `SlashDeferDuration`.
|
|
2710
2734
|
*
|
|
2711
|
-
* This
|
|
2712
|
-
*
|
|
2713
|
-
*
|
|
2714
|
-
*
|
|
2735
|
+
* This means:
|
|
2736
|
+
* - If the validator was already slashed by a higher percentage for the same era, this
|
|
2737
|
+
* slash will have no additional effect.
|
|
2738
|
+
* - If the validator was previously slashed by a lower percentage, only the difference
|
|
2739
|
+
* will be applied.
|
|
2740
|
+
* - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
|
|
2715
2741
|
**/
|
|
2716
|
-
| { name: '
|
|
2742
|
+
| { name: 'ManualSlash'; params: { validatorStash: AccountId32; era: number; slashFraction: Perbill } };
|
|
2717
2743
|
|
|
2718
2744
|
export type PalletStakingPalletCallLike =
|
|
2719
2745
|
/**
|
|
@@ -2877,7 +2903,7 @@ export type PalletStakingPalletCallLike =
|
|
|
2877
2903
|
| { name: 'SetValidatorCount'; params: { new: number } }
|
|
2878
2904
|
/**
|
|
2879
2905
|
* Increments the ideal number of validators up to maximum of
|
|
2880
|
-
* `
|
|
2906
|
+
* `ElectionProviderBase::MaxWinners`.
|
|
2881
2907
|
*
|
|
2882
2908
|
* The dispatch origin must be Root.
|
|
2883
2909
|
*
|
|
@@ -2887,7 +2913,7 @@ export type PalletStakingPalletCallLike =
|
|
|
2887
2913
|
| { name: 'IncreaseValidatorCount'; params: { additional: number } }
|
|
2888
2914
|
/**
|
|
2889
2915
|
* Scale up the ideal number of validators by a factor up to maximum of
|
|
2890
|
-
* `
|
|
2916
|
+
* `ElectionProviderBase::MaxWinners`.
|
|
2891
2917
|
*
|
|
2892
2918
|
* The dispatch origin must be Root.
|
|
2893
2919
|
*
|
|
@@ -2958,17 +2984,13 @@ export type PalletStakingPalletCallLike =
|
|
|
2958
2984
|
**/
|
|
2959
2985
|
| { name: 'ForceNewEraAlways' }
|
|
2960
2986
|
/**
|
|
2961
|
-
*
|
|
2987
|
+
* Cancel enactment of a deferred slash.
|
|
2962
2988
|
*
|
|
2963
|
-
*
|
|
2964
|
-
* the `UnappliedSlashes` storage, preventing their enactment.
|
|
2989
|
+
* Can be called by the `T::AdminOrigin`.
|
|
2965
2990
|
*
|
|
2966
|
-
*
|
|
2967
|
-
* - `era`: The staking era for which slashes were deferred.
|
|
2968
|
-
* - `slash_keys`: A list of slash keys identifying the slashes to remove. This is a tuple
|
|
2969
|
-
* of `(stash, slash_fraction, page_index)`.
|
|
2991
|
+
* Parameters: era and indices of the slashes for that era to kill.
|
|
2970
2992
|
**/
|
|
2971
|
-
| { name: 'CancelDeferredSlash'; params: { era: number;
|
|
2993
|
+
| { name: 'CancelDeferredSlash'; params: { era: number; slashIndices: Array<number> } }
|
|
2972
2994
|
/**
|
|
2973
2995
|
* Pay out next page of the stakers behind a validator for the given era.
|
|
2974
2996
|
*
|
|
@@ -3165,49 +3187,39 @@ export type PalletStakingPalletCallLike =
|
|
|
3165
3187
|
};
|
|
3166
3188
|
}
|
|
3167
3189
|
/**
|
|
3168
|
-
*
|
|
3190
|
+
* Removes the legacy Staking locks if they exist.
|
|
3169
3191
|
*
|
|
3170
|
-
* This removes the
|
|
3171
|
-
* stake cannot be held, the best effort is made to hold as
|
|
3172
|
-
* stake is
|
|
3192
|
+
* This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
|
|
3193
|
+
* hold on it if needed. If all stake cannot be held, the best effort is made to hold as
|
|
3194
|
+
* much as possible. The remaining stake is forced withdrawn from the ledger.
|
|
3173
3195
|
*
|
|
3174
3196
|
* The fee is waived if the migration is successful.
|
|
3175
3197
|
**/
|
|
3176
3198
|
| { name: 'MigrateCurrency'; params: { stash: AccountId32Like } }
|
|
3177
3199
|
/**
|
|
3178
|
-
*
|
|
3200
|
+
* This function allows governance to manually slash a validator and is a
|
|
3201
|
+
* **fallback mechanism**.
|
|
3179
3202
|
*
|
|
3180
|
-
*
|
|
3181
|
-
* This function exists as a **fallback mechanism** in case slashes were not applied due to
|
|
3182
|
-
* unexpected reasons. It allows anyone to manually apply an unapplied slash.
|
|
3203
|
+
* The dispatch origin must be `T::AdminOrigin`.
|
|
3183
3204
|
*
|
|
3184
3205
|
* ## Parameters
|
|
3185
|
-
* - `
|
|
3186
|
-
* - `
|
|
3187
|
-
* - `
|
|
3188
|
-
* - `slash_fraction`: The fraction of the stake that was slashed.
|
|
3189
|
-
* - `page_index`: The index of the exposure page being processed.
|
|
3206
|
+
* - `validator_stash` - The stash account of the validator to slash.
|
|
3207
|
+
* - `era` - The era in which the validator was in the active set.
|
|
3208
|
+
* - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
|
|
3190
3209
|
*
|
|
3191
3210
|
* ## Behavior
|
|
3192
|
-
* - The function is **permissionless**—anyone can call it.
|
|
3193
|
-
* - The `slash_era` **must be the current era or a past era**. If it is in the future, the
|
|
3194
|
-
* call fails with `EraNotStarted`.
|
|
3195
|
-
* - The fee is waived if the slash is successfully applied.
|
|
3196
3211
|
*
|
|
3197
|
-
*
|
|
3198
|
-
*
|
|
3199
|
-
* is unused block space, improving efficiency.
|
|
3200
|
-
**/
|
|
3201
|
-
| { name: 'ApplySlash'; params: { slashEra: number; slashKey: [AccountId32Like, Perbill, number] } }
|
|
3202
|
-
/**
|
|
3203
|
-
* Adjusts the staking ledger by withdrawing any excess staked amount.
|
|
3212
|
+
* The slash will be applied using the standard slashing mechanics, respecting the
|
|
3213
|
+
* configured `SlashDeferDuration`.
|
|
3204
3214
|
*
|
|
3205
|
-
* This
|
|
3206
|
-
*
|
|
3207
|
-
*
|
|
3208
|
-
*
|
|
3215
|
+
* This means:
|
|
3216
|
+
* - If the validator was already slashed by a higher percentage for the same era, this
|
|
3217
|
+
* slash will have no additional effect.
|
|
3218
|
+
* - If the validator was previously slashed by a lower percentage, only the difference
|
|
3219
|
+
* will be applied.
|
|
3220
|
+
* - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
|
|
3209
3221
|
**/
|
|
3210
|
-
| { name: '
|
|
3222
|
+
| { name: 'ManualSlash'; params: { validatorStash: AccountId32Like; era: number; slashFraction: Perbill } };
|
|
3211
3223
|
|
|
3212
3224
|
export type PalletStakingPalletConfigOp = { type: 'Noop' } | { type: 'Set'; value: bigint } | { type: 'Remove' };
|
|
3213
3225
|
|
|
@@ -5298,7 +5310,18 @@ export type PalletProxyCall =
|
|
|
5298
5310
|
forceProxyType?: WestendRuntimeProxyType | undefined;
|
|
5299
5311
|
call: WestendRuntimeRuntimeCall;
|
|
5300
5312
|
};
|
|
5301
|
-
}
|
|
5313
|
+
}
|
|
5314
|
+
/**
|
|
5315
|
+
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
|
5316
|
+
* This can be used by accounts to possibly lower their locked amount.
|
|
5317
|
+
*
|
|
5318
|
+
* The dispatch origin for this call must be _Signed_.
|
|
5319
|
+
*
|
|
5320
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
5321
|
+
*
|
|
5322
|
+
* Emits `DepositPoked` if successful.
|
|
5323
|
+
**/
|
|
5324
|
+
| { name: 'PokeDeposit' };
|
|
5302
5325
|
|
|
5303
5326
|
export type PalletProxyCallLike =
|
|
5304
5327
|
/**
|
|
@@ -5465,7 +5488,18 @@ export type PalletProxyCallLike =
|
|
|
5465
5488
|
forceProxyType?: WestendRuntimeProxyType | undefined;
|
|
5466
5489
|
call: WestendRuntimeRuntimeCallLike;
|
|
5467
5490
|
};
|
|
5468
|
-
}
|
|
5491
|
+
}
|
|
5492
|
+
/**
|
|
5493
|
+
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
|
5494
|
+
* This can be used by accounts to possibly lower their locked amount.
|
|
5495
|
+
*
|
|
5496
|
+
* The dispatch origin for this call must be _Signed_.
|
|
5497
|
+
*
|
|
5498
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
5499
|
+
*
|
|
5500
|
+
* Emits `DepositPoked` if successful.
|
|
5501
|
+
**/
|
|
5502
|
+
| { name: 'PokeDeposit' };
|
|
5469
5503
|
|
|
5470
5504
|
/**
|
|
5471
5505
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -5610,6 +5644,25 @@ export type PalletMultisigCall =
|
|
|
5610
5644
|
timepoint: PalletMultisigTimepoint;
|
|
5611
5645
|
callHash: FixedBytes<32>;
|
|
5612
5646
|
};
|
|
5647
|
+
}
|
|
5648
|
+
/**
|
|
5649
|
+
* Poke the deposit reserved for an existing multisig operation.
|
|
5650
|
+
*
|
|
5651
|
+
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
|
|
5652
|
+
* the multisig operation.
|
|
5653
|
+
*
|
|
5654
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
5655
|
+
*
|
|
5656
|
+
* - `threshold`: The total number of approvals needed for this multisig.
|
|
5657
|
+
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
|
5658
|
+
* multisig.
|
|
5659
|
+
* - `call_hash`: The hash of the call this deposit is reserved for.
|
|
5660
|
+
*
|
|
5661
|
+
* Emits `DepositPoked` if successful.
|
|
5662
|
+
**/
|
|
5663
|
+
| {
|
|
5664
|
+
name: 'PokeDeposit';
|
|
5665
|
+
params: { threshold: number; otherSignatories: Array<AccountId32>; callHash: FixedBytes<32> };
|
|
5613
5666
|
};
|
|
5614
5667
|
|
|
5615
5668
|
export type PalletMultisigCallLike =
|
|
@@ -5755,6 +5808,25 @@ export type PalletMultisigCallLike =
|
|
|
5755
5808
|
timepoint: PalletMultisigTimepoint;
|
|
5756
5809
|
callHash: FixedBytes<32>;
|
|
5757
5810
|
};
|
|
5811
|
+
}
|
|
5812
|
+
/**
|
|
5813
|
+
* Poke the deposit reserved for an existing multisig operation.
|
|
5814
|
+
*
|
|
5815
|
+
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
|
|
5816
|
+
* the multisig operation.
|
|
5817
|
+
*
|
|
5818
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
5819
|
+
*
|
|
5820
|
+
* - `threshold`: The total number of approvals needed for this multisig.
|
|
5821
|
+
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
|
5822
|
+
* multisig.
|
|
5823
|
+
* - `call_hash`: The hash of the call this deposit is reserved for.
|
|
5824
|
+
*
|
|
5825
|
+
* Emits `DepositPoked` if successful.
|
|
5826
|
+
**/
|
|
5827
|
+
| {
|
|
5828
|
+
name: 'PokeDeposit';
|
|
5829
|
+
params: { threshold: number; otherSignatories: Array<AccountId32Like>; callHash: FixedBytes<32> };
|
|
5758
5830
|
};
|
|
5759
5831
|
|
|
5760
5832
|
/**
|
|
@@ -5821,7 +5893,10 @@ export type PalletElectionProviderMultiPhaseCall =
|
|
|
5821
5893
|
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
|
|
5822
5894
|
* calling [`Call::set_emergency_election_result`].
|
|
5823
5895
|
**/
|
|
5824
|
-
| {
|
|
5896
|
+
| {
|
|
5897
|
+
name: 'GovernanceFallback';
|
|
5898
|
+
params: { maybeMaxVoters?: number | undefined; maybeMaxTargets?: number | undefined };
|
|
5899
|
+
};
|
|
5825
5900
|
|
|
5826
5901
|
export type PalletElectionProviderMultiPhaseCallLike =
|
|
5827
5902
|
/**
|
|
@@ -5884,7 +5959,10 @@ export type PalletElectionProviderMultiPhaseCallLike =
|
|
|
5884
5959
|
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
|
|
5885
5960
|
* calling [`Call::set_emergency_election_result`].
|
|
5886
5961
|
**/
|
|
5887
|
-
| {
|
|
5962
|
+
| {
|
|
5963
|
+
name: 'GovernanceFallback';
|
|
5964
|
+
params: { maybeMaxVoters?: number | undefined; maybeMaxTargets?: number | undefined };
|
|
5965
|
+
};
|
|
5888
5966
|
|
|
5889
5967
|
export type PalletElectionProviderMultiPhaseRawSolution = {
|
|
5890
5968
|
solution: WestendRuntimeNposCompactSolution16;
|
|
@@ -10873,7 +10951,31 @@ export type PalletXcmCall =
|
|
|
10873
10951
|
customXcmOnDest: XcmVersionedXcm;
|
|
10874
10952
|
weightLimit: XcmV3WeightLimit;
|
|
10875
10953
|
};
|
|
10876
|
-
}
|
|
10954
|
+
}
|
|
10955
|
+
/**
|
|
10956
|
+
* Authorize another `aliaser` location to alias into the local `origin` making this call.
|
|
10957
|
+
* The `aliaser` is only authorized until the provided `expiry` block number.
|
|
10958
|
+
* The call can also be used for a previously authorized alias in order to update its
|
|
10959
|
+
* `expiry` block number.
|
|
10960
|
+
*
|
|
10961
|
+
* Usually useful to allow your local account to be aliased into from a remote location
|
|
10962
|
+
* also under your control (like your account on another chain).
|
|
10963
|
+
*
|
|
10964
|
+
* WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
|
|
10965
|
+
* their/your name. Once authorized using this call, the `aliaser` can freely impersonate
|
|
10966
|
+
* `origin` in XCM programs executed on the local chain.
|
|
10967
|
+
**/
|
|
10968
|
+
| { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
|
|
10969
|
+
/**
|
|
10970
|
+
* Remove a previously authorized `aliaser` from the list of locations that can alias into
|
|
10971
|
+
* the local `origin` making this call.
|
|
10972
|
+
**/
|
|
10973
|
+
| { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
|
|
10974
|
+
/**
|
|
10975
|
+
* Remove all previously authorized `aliaser`s that can alias into the local `origin`
|
|
10976
|
+
* making this call.
|
|
10977
|
+
**/
|
|
10978
|
+
| { name: 'RemoveAllAuthorizedAliases' };
|
|
10877
10979
|
|
|
10878
10980
|
export type PalletXcmCallLike =
|
|
10879
10981
|
| { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
|
|
@@ -11185,7 +11287,31 @@ export type PalletXcmCallLike =
|
|
|
11185
11287
|
customXcmOnDest: XcmVersionedXcm;
|
|
11186
11288
|
weightLimit: XcmV3WeightLimit;
|
|
11187
11289
|
};
|
|
11188
|
-
}
|
|
11290
|
+
}
|
|
11291
|
+
/**
|
|
11292
|
+
* Authorize another `aliaser` location to alias into the local `origin` making this call.
|
|
11293
|
+
* The `aliaser` is only authorized until the provided `expiry` block number.
|
|
11294
|
+
* The call can also be used for a previously authorized alias in order to update its
|
|
11295
|
+
* `expiry` block number.
|
|
11296
|
+
*
|
|
11297
|
+
* Usually useful to allow your local account to be aliased into from a remote location
|
|
11298
|
+
* also under your control (like your account on another chain).
|
|
11299
|
+
*
|
|
11300
|
+
* WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
|
|
11301
|
+
* their/your name. Once authorized using this call, the `aliaser` can freely impersonate
|
|
11302
|
+
* `origin` in XCM programs executed on the local chain.
|
|
11303
|
+
**/
|
|
11304
|
+
| { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
|
|
11305
|
+
/**
|
|
11306
|
+
* Remove a previously authorized `aliaser` from the list of locations that can alias into
|
|
11307
|
+
* the local `origin` making this call.
|
|
11308
|
+
**/
|
|
11309
|
+
| { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
|
|
11310
|
+
/**
|
|
11311
|
+
* Remove all previously authorized `aliaser`s that can alias into the local `origin`
|
|
11312
|
+
* making this call.
|
|
11313
|
+
**/
|
|
11314
|
+
| { name: 'RemoveAllAuthorizedAliases' };
|
|
11189
11315
|
|
|
11190
11316
|
export type XcmVersionedAssets =
|
|
11191
11317
|
| { type: 'V3'; value: XcmV3MultiassetMultiAssets }
|
|
@@ -11346,6 +11472,65 @@ export type PalletRootTestingCallLike =
|
|
|
11346
11472
|
**/
|
|
11347
11473
|
{ name: 'FillBlock'; params: { ratio: Perbill } } | { name: 'TriggerDefensive' };
|
|
11348
11474
|
|
|
11475
|
+
/**
|
|
11476
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
11477
|
+
**/
|
|
11478
|
+
export type PalletMetaTxCall =
|
|
11479
|
+
/**
|
|
11480
|
+
* Dispatch a given meta transaction.
|
|
11481
|
+
*
|
|
11482
|
+
* - `_origin`: Can be any kind of origin.
|
|
11483
|
+
* - `meta_tx`: Meta Transaction with a target call to be dispatched.
|
|
11484
|
+
**/
|
|
11485
|
+
{ name: 'Dispatch'; params: { metaTx: PalletMetaTxMetaTx } };
|
|
11486
|
+
|
|
11487
|
+
export type PalletMetaTxCallLike =
|
|
11488
|
+
/**
|
|
11489
|
+
* Dispatch a given meta transaction.
|
|
11490
|
+
*
|
|
11491
|
+
* - `_origin`: Can be any kind of origin.
|
|
11492
|
+
* - `meta_tx`: Meta Transaction with a target call to be dispatched.
|
|
11493
|
+
**/
|
|
11494
|
+
{ name: 'Dispatch'; params: { metaTx: PalletMetaTxMetaTx } };
|
|
11495
|
+
|
|
11496
|
+
export type PalletMetaTxMetaTx = {
|
|
11497
|
+
call: WestendRuntimeRuntimeCall;
|
|
11498
|
+
extensionVersion: number;
|
|
11499
|
+
extension: [
|
|
11500
|
+
PalletVerifySignatureExtensionVerifySignature,
|
|
11501
|
+
PalletMetaTxExtensionMetaTxMarker,
|
|
11502
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
11503
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
11504
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
11505
|
+
FrameSystemExtensionsCheckGenesis,
|
|
11506
|
+
FrameSystemExtensionsCheckMortality,
|
|
11507
|
+
FrameSystemExtensionsCheckNonce,
|
|
11508
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
11509
|
+
];
|
|
11510
|
+
};
|
|
11511
|
+
|
|
11512
|
+
export type PalletVerifySignatureExtensionVerifySignature =
|
|
11513
|
+
| { type: 'Signed'; value: { signature: SpRuntimeMultiSignature; account: AccountId32 } }
|
|
11514
|
+
| { type: 'Disabled' };
|
|
11515
|
+
|
|
11516
|
+
export type PalletMetaTxExtensionMetaTxMarker = {};
|
|
11517
|
+
|
|
11518
|
+
export type FrameSystemExtensionsCheckNonZeroSender = {};
|
|
11519
|
+
|
|
11520
|
+
export type FrameSystemExtensionsCheckSpecVersion = {};
|
|
11521
|
+
|
|
11522
|
+
export type FrameSystemExtensionsCheckTxVersion = {};
|
|
11523
|
+
|
|
11524
|
+
export type FrameSystemExtensionsCheckGenesis = {};
|
|
11525
|
+
|
|
11526
|
+
export type FrameSystemExtensionsCheckMortality = Era;
|
|
11527
|
+
|
|
11528
|
+
export type FrameSystemExtensionsCheckNonce = number;
|
|
11529
|
+
|
|
11530
|
+
export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
|
|
11531
|
+
|
|
11532
|
+
export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
11533
|
+
|
|
11349
11534
|
/**
|
|
11350
11535
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
11351
11536
|
**/
|
|
@@ -12205,7 +12390,7 @@ export type PalletXcmEvent =
|
|
|
12205
12390
|
**/
|
|
12206
12391
|
| { name: 'Attempted'; data: { outcome: StagingXcmV5TraitsOutcome } }
|
|
12207
12392
|
/**
|
|
12208
|
-
*
|
|
12393
|
+
* An XCM message was sent.
|
|
12209
12394
|
**/
|
|
12210
12395
|
| {
|
|
12211
12396
|
name: 'Sent';
|
|
@@ -12216,6 +12401,25 @@ export type PalletXcmEvent =
|
|
|
12216
12401
|
messageId: FixedBytes<32>;
|
|
12217
12402
|
};
|
|
12218
12403
|
}
|
|
12404
|
+
/**
|
|
12405
|
+
* An XCM message failed to send.
|
|
12406
|
+
**/
|
|
12407
|
+
| {
|
|
12408
|
+
name: 'SendFailed';
|
|
12409
|
+
data: {
|
|
12410
|
+
origin: StagingXcmV5Location;
|
|
12411
|
+
destination: StagingXcmV5Location;
|
|
12412
|
+
error: XcmV3TraitsSendError;
|
|
12413
|
+
messageId: FixedBytes<32>;
|
|
12414
|
+
};
|
|
12415
|
+
}
|
|
12416
|
+
/**
|
|
12417
|
+
* An XCM message failed to process.
|
|
12418
|
+
**/
|
|
12419
|
+
| {
|
|
12420
|
+
name: 'ProcessXcmError';
|
|
12421
|
+
data: { origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> };
|
|
12422
|
+
}
|
|
12219
12423
|
/**
|
|
12220
12424
|
* Query response received which does not match a registered query. This may be because a
|
|
12221
12425
|
* matching query was never registered, it may be because it is a duplicate response, or
|
|
@@ -12372,13 +12576,38 @@ export type PalletXcmEvent =
|
|
|
12372
12576
|
/**
|
|
12373
12577
|
* A XCM version migration finished.
|
|
12374
12578
|
**/
|
|
12375
|
-
| { name: 'VersionMigrationFinished'; data: { version: number } }
|
|
12579
|
+
| { name: 'VersionMigrationFinished'; data: { version: number } }
|
|
12580
|
+
/**
|
|
12581
|
+
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
|
|
12582
|
+
* `expiry` block number.
|
|
12583
|
+
**/
|
|
12584
|
+
| {
|
|
12585
|
+
name: 'AliasAuthorized';
|
|
12586
|
+
data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined };
|
|
12587
|
+
}
|
|
12588
|
+
/**
|
|
12589
|
+
* `target` removed alias authorization for `aliaser`.
|
|
12590
|
+
**/
|
|
12591
|
+
| { name: 'AliasAuthorizationRemoved'; data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location } }
|
|
12592
|
+
/**
|
|
12593
|
+
* `target` removed all alias authorizations.
|
|
12594
|
+
**/
|
|
12595
|
+
| { name: 'AliasesAuthorizationsRemoved'; data: { target: StagingXcmV5Location } };
|
|
12376
12596
|
|
|
12377
12597
|
export type StagingXcmV5TraitsOutcome =
|
|
12378
12598
|
| { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
|
|
12379
12599
|
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV5TraitsError } }
|
|
12380
12600
|
| { type: 'Error'; value: { error: XcmV5TraitsError } };
|
|
12381
12601
|
|
|
12602
|
+
export type XcmV3TraitsSendError =
|
|
12603
|
+
| 'NotApplicable'
|
|
12604
|
+
| 'Transport'
|
|
12605
|
+
| 'Unroutable'
|
|
12606
|
+
| 'DestinationUnsupported'
|
|
12607
|
+
| 'ExceedsMaxMessageSize'
|
|
12608
|
+
| 'MissingArgument'
|
|
12609
|
+
| 'Fees';
|
|
12610
|
+
|
|
12382
12611
|
/**
|
|
12383
12612
|
* The `Event` enum of this pallet
|
|
12384
12613
|
**/
|
|
@@ -12516,6 +12745,21 @@ export type PalletRootTestingEvent =
|
|
|
12516
12745
|
**/
|
|
12517
12746
|
'DefensiveTestCall';
|
|
12518
12747
|
|
|
12748
|
+
/**
|
|
12749
|
+
* The `Event` enum of this pallet
|
|
12750
|
+
**/
|
|
12751
|
+
export type PalletMetaTxEvent =
|
|
12752
|
+
/**
|
|
12753
|
+
* A meta transaction has been dispatched.
|
|
12754
|
+
*
|
|
12755
|
+
* Contains the dispatch result of the meta transaction along with post-dispatch
|
|
12756
|
+
* information.
|
|
12757
|
+
**/
|
|
12758
|
+
{
|
|
12759
|
+
name: 'Dispatched';
|
|
12760
|
+
data: { result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> };
|
|
12761
|
+
};
|
|
12762
|
+
|
|
12519
12763
|
/**
|
|
12520
12764
|
* The `Event` enum of this pallet
|
|
12521
12765
|
**/
|
|
@@ -12684,7 +12928,8 @@ export type FrameSupportTokensMiscIdAmount = { id: WestendRuntimeRuntimeHoldReas
|
|
|
12684
12928
|
export type WestendRuntimeRuntimeHoldReason =
|
|
12685
12929
|
| { type: 'Staking'; value: PalletStakingPalletHoldReason }
|
|
12686
12930
|
| { type: 'Preimage'; value: PalletPreimageHoldReason }
|
|
12687
|
-
| { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason }
|
|
12931
|
+
| { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason }
|
|
12932
|
+
| { type: 'XcmPallet'; value: PalletXcmHoldReason };
|
|
12688
12933
|
|
|
12689
12934
|
export type PalletStakingPalletHoldReason = 'Staking';
|
|
12690
12935
|
|
|
@@ -12692,6 +12937,8 @@ export type PalletPreimageHoldReason = 'Preimage';
|
|
|
12692
12937
|
|
|
12693
12938
|
export type PalletDelegatedStakingHoldReason = 'StakingDelegation';
|
|
12694
12939
|
|
|
12940
|
+
export type PalletXcmHoldReason = 'AuthorizeAlias';
|
|
12941
|
+
|
|
12695
12942
|
export type FrameSupportTokensMiscIdAmountRuntimeFreezeReason = {
|
|
12696
12943
|
id: WestendRuntimeRuntimeFreezeReason;
|
|
12697
12944
|
amount: bigint;
|
|
@@ -12768,27 +13015,21 @@ export type PalletStakingNominations = { targets: Array<AccountId32>; submittedI
|
|
|
12768
13015
|
|
|
12769
13016
|
export type PalletStakingActiveEraInfo = { index: number; start?: bigint | undefined };
|
|
12770
13017
|
|
|
13018
|
+
export type SpStakingExposure = { total: bigint; own: bigint; others: Array<SpStakingIndividualExposure> };
|
|
13019
|
+
|
|
13020
|
+
export type SpStakingIndividualExposure = { who: AccountId32; value: bigint };
|
|
13021
|
+
|
|
12771
13022
|
export type SpStakingPagedExposureMetadata = { total: bigint; own: bigint; nominatorCount: number; pageCount: number };
|
|
12772
13023
|
|
|
12773
13024
|
export type SpStakingExposurePage = { pageTotal: bigint; others: Array<SpStakingIndividualExposure> };
|
|
12774
13025
|
|
|
12775
|
-
export type SpStakingIndividualExposure = { who: AccountId32; value: bigint };
|
|
12776
|
-
|
|
12777
13026
|
export type PalletStakingEraRewardPoints = { total: number; individual: Array<[AccountId32, number]> };
|
|
12778
13027
|
|
|
12779
|
-
export type PalletStakingSlashingOffenceRecord = {
|
|
12780
|
-
reporter?: AccountId32 | undefined;
|
|
12781
|
-
reportedEra: number;
|
|
12782
|
-
exposurePage: number;
|
|
12783
|
-
slashFraction: Perbill;
|
|
12784
|
-
priorSlashFraction: Perbill;
|
|
12785
|
-
};
|
|
12786
|
-
|
|
12787
13028
|
export type PalletStakingUnappliedSlash = {
|
|
12788
13029
|
validator: AccountId32;
|
|
12789
13030
|
own: bigint;
|
|
12790
13031
|
others: Array<[AccountId32, bigint]>;
|
|
12791
|
-
|
|
13032
|
+
reporters: Array<AccountId32>;
|
|
12792
13033
|
payout: bigint;
|
|
12793
13034
|
};
|
|
12794
13035
|
|
|
@@ -12801,11 +13042,6 @@ export type PalletStakingSlashingSlashingSpans = {
|
|
|
12801
13042
|
|
|
12802
13043
|
export type PalletStakingSlashingSpanRecord = { slashed: bigint; paidOut: bigint };
|
|
12803
13044
|
|
|
12804
|
-
export type PalletStakingSnapshotStatus =
|
|
12805
|
-
| { type: 'Ongoing'; value: AccountId32 }
|
|
12806
|
-
| { type: 'Consumed' }
|
|
12807
|
-
| { type: 'Waiting' };
|
|
12808
|
-
|
|
12809
13045
|
/**
|
|
12810
13046
|
* The `Error` enum of this pallet.
|
|
12811
13047
|
**/
|
|
@@ -12835,9 +13071,9 @@ export type PalletStakingPalletError =
|
|
|
12835
13071
|
**/
|
|
12836
13072
|
| 'DuplicateIndex'
|
|
12837
13073
|
/**
|
|
12838
|
-
* Slash record
|
|
13074
|
+
* Slash record index out of bounds.
|
|
12839
13075
|
**/
|
|
12840
|
-
| '
|
|
13076
|
+
| 'InvalidSlashIndex'
|
|
12841
13077
|
/**
|
|
12842
13078
|
* Cannot have a validator or nominator role, with value less than the minimum defined by
|
|
12843
13079
|
* governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
|
|
@@ -12864,6 +13100,10 @@ export type PalletStakingPalletError =
|
|
|
12864
13100
|
* Invalid number of nominations.
|
|
12865
13101
|
**/
|
|
12866
13102
|
| 'InvalidNumberOfNominations'
|
|
13103
|
+
/**
|
|
13104
|
+
* Items are not sorted and unique.
|
|
13105
|
+
**/
|
|
13106
|
+
| 'NotSortedAndUnique'
|
|
12867
13107
|
/**
|
|
12868
13108
|
* Rewards for this era have already been claimed for this validator.
|
|
12869
13109
|
**/
|
|
@@ -12942,10 +13182,6 @@ export type PalletStakingPalletError =
|
|
|
12942
13182
|
* The stake of this account is already migrated to `Fungible` holds.
|
|
12943
13183
|
**/
|
|
12944
13184
|
| 'AlreadyMigrated'
|
|
12945
|
-
/**
|
|
12946
|
-
* Era not yet started.
|
|
12947
|
-
**/
|
|
12948
|
-
| 'EraNotStarted'
|
|
12949
13185
|
/**
|
|
12950
13186
|
* Account is restricted from participation in staking. This may happen if the account is
|
|
12951
13187
|
* staking in another way already, such as via pool.
|
|
@@ -12957,8 +13193,6 @@ export type SpStakingOffenceOffenceDetails = {
|
|
|
12957
13193
|
reporters: Array<AccountId32>;
|
|
12958
13194
|
};
|
|
12959
13195
|
|
|
12960
|
-
export type SpStakingExposure = { total: bigint; own: bigint; others: Array<SpStakingIndividualExposure> };
|
|
12961
|
-
|
|
12962
13196
|
export type SpStakingOffenceOffenceSeverity = Perbill;
|
|
12963
13197
|
|
|
12964
13198
|
export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
|
|
@@ -13476,11 +13710,12 @@ export type PalletMultisigError =
|
|
|
13476
13710
|
**/
|
|
13477
13711
|
| 'SenderInSignatories'
|
|
13478
13712
|
/**
|
|
13479
|
-
* Multisig operation not found
|
|
13713
|
+
* Multisig operation not found in storage.
|
|
13480
13714
|
**/
|
|
13481
13715
|
| 'NotFound'
|
|
13482
13716
|
/**
|
|
13483
|
-
* Only the account that originally created the multisig is able to cancel it
|
|
13717
|
+
* Only the account that originally created the multisig is able to cancel it or update
|
|
13718
|
+
* its deposits.
|
|
13484
13719
|
**/
|
|
13485
13720
|
| 'NotOwner'
|
|
13486
13721
|
/**
|
|
@@ -13505,17 +13740,11 @@ export type PalletMultisigError =
|
|
|
13505
13740
|
| 'AlreadyStored';
|
|
13506
13741
|
|
|
13507
13742
|
export type PalletElectionProviderMultiPhaseReadySolution = {
|
|
13508
|
-
supports:
|
|
13743
|
+
supports: Array<[AccountId32, SpNposElectionsSupport]>;
|
|
13509
13744
|
score: SpNposElectionsElectionScore;
|
|
13510
13745
|
compute: PalletElectionProviderMultiPhaseElectionCompute;
|
|
13511
13746
|
};
|
|
13512
13747
|
|
|
13513
|
-
export type FrameElectionProviderSupportBoundedSupports = Array<
|
|
13514
|
-
[AccountId32, FrameElectionProviderSupportBoundedSupport]
|
|
13515
|
-
>;
|
|
13516
|
-
|
|
13517
|
-
export type FrameElectionProviderSupportBoundedSupport = { total: bigint; voters: Array<[AccountId32, bigint]> };
|
|
13518
|
-
|
|
13519
13748
|
export type PalletElectionProviderMultiPhaseRoundSnapshot = {
|
|
13520
13749
|
voters: Array<[AccountId32, bigint, Array<AccountId32>]>;
|
|
13521
13750
|
targets: Array<AccountId32>;
|
|
@@ -13971,10 +14200,8 @@ export type PalletReferendaDeposit = { who: AccountId32; amount: bigint };
|
|
|
13971
14200
|
|
|
13972
14201
|
export type PalletReferendaDecidingStatus = { since: number; confirming?: number | undefined };
|
|
13973
14202
|
|
|
13974
|
-
export type
|
|
13975
|
-
|
|
13976
|
-
export type PalletReferendaTrackInfo = {
|
|
13977
|
-
name: FixedBytes<25>;
|
|
14203
|
+
export type PalletReferendaTrackDetails = {
|
|
14204
|
+
name: string;
|
|
13978
14205
|
maxDeciding: number;
|
|
13979
14206
|
decisionDeposit: bigint;
|
|
13980
14207
|
preparePeriod: number;
|
|
@@ -15174,6 +15401,20 @@ export type PalletXcmRemoteLockedFungibleRecord = {
|
|
|
15174
15401
|
consumers: Array<[[], bigint]>;
|
|
15175
15402
|
};
|
|
15176
15403
|
|
|
15404
|
+
export type PalletXcmAuthorizedAliasesEntry = {
|
|
15405
|
+
aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
|
|
15406
|
+
ticket: FrameSupportStorageDisabled;
|
|
15407
|
+
};
|
|
15408
|
+
|
|
15409
|
+
export type FrameSupportStorageDisabled = {};
|
|
15410
|
+
|
|
15411
|
+
export type PalletXcmMaxAuthorizedAliases = {};
|
|
15412
|
+
|
|
15413
|
+
export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
|
|
15414
|
+
location: XcmVersionedLocation;
|
|
15415
|
+
expiry?: bigint | undefined;
|
|
15416
|
+
};
|
|
15417
|
+
|
|
15177
15418
|
/**
|
|
15178
15419
|
* The `Error` enum of this pallet.
|
|
15179
15420
|
**/
|
|
@@ -15276,7 +15517,19 @@ export type PalletXcmError =
|
|
|
15276
15517
|
/**
|
|
15277
15518
|
* Local XCM execution incomplete.
|
|
15278
15519
|
**/
|
|
15279
|
-
| 'LocalExecutionIncomplete'
|
|
15520
|
+
| 'LocalExecutionIncomplete'
|
|
15521
|
+
/**
|
|
15522
|
+
* Too many locations authorized to alias origin.
|
|
15523
|
+
**/
|
|
15524
|
+
| 'TooManyAuthorizedAliases'
|
|
15525
|
+
/**
|
|
15526
|
+
* Expiry block number is in the past.
|
|
15527
|
+
**/
|
|
15528
|
+
| 'ExpiresInPast'
|
|
15529
|
+
/**
|
|
15530
|
+
* The alias to remove authorization for was not found.
|
|
15531
|
+
**/
|
|
15532
|
+
| 'AliasNotFound';
|
|
15280
15533
|
|
|
15281
15534
|
export type PalletMessageQueueBookState = {
|
|
15282
15535
|
begin: number;
|
|
@@ -15365,6 +15618,35 @@ export type PalletAssetRateError =
|
|
|
15365
15618
|
**/
|
|
15366
15619
|
| 'Overflow';
|
|
15367
15620
|
|
|
15621
|
+
/**
|
|
15622
|
+
* The `Error` enum of this pallet.
|
|
15623
|
+
**/
|
|
15624
|
+
export type PalletMetaTxError =
|
|
15625
|
+
/**
|
|
15626
|
+
* Invalid proof (e.g. signature).
|
|
15627
|
+
**/
|
|
15628
|
+
| 'BadProof'
|
|
15629
|
+
/**
|
|
15630
|
+
* The meta transaction is not yet valid (e.g. nonce too high).
|
|
15631
|
+
**/
|
|
15632
|
+
| 'Future'
|
|
15633
|
+
/**
|
|
15634
|
+
* The meta transaction is outdated (e.g. nonce too low).
|
|
15635
|
+
**/
|
|
15636
|
+
| 'Stale'
|
|
15637
|
+
/**
|
|
15638
|
+
* The meta transactions's birth block is ancient.
|
|
15639
|
+
**/
|
|
15640
|
+
| 'AncientBirthBlock'
|
|
15641
|
+
/**
|
|
15642
|
+
* The transaction extension did not authorize any origin.
|
|
15643
|
+
**/
|
|
15644
|
+
| 'UnknownOrigin'
|
|
15645
|
+
/**
|
|
15646
|
+
* The meta transaction is invalid.
|
|
15647
|
+
**/
|
|
15648
|
+
| 'Invalid';
|
|
15649
|
+
|
|
15368
15650
|
/**
|
|
15369
15651
|
* The `Error` enum of this pallet.
|
|
15370
15652
|
**/
|
|
@@ -15400,26 +15682,10 @@ export type PalletBeefyError =
|
|
|
15400
15682
|
|
|
15401
15683
|
export type SpConsensusBeefyMmrBeefyAuthoritySet = { id: bigint; len: number; keysetCommitment: H256 };
|
|
15402
15684
|
|
|
15403
|
-
export type FrameSystemExtensionsCheckNonZeroSender = {};
|
|
15404
|
-
|
|
15405
|
-
export type FrameSystemExtensionsCheckSpecVersion = {};
|
|
15406
|
-
|
|
15407
|
-
export type FrameSystemExtensionsCheckTxVersion = {};
|
|
15408
|
-
|
|
15409
|
-
export type FrameSystemExtensionsCheckGenesis = {};
|
|
15410
|
-
|
|
15411
|
-
export type FrameSystemExtensionsCheckMortality = Era;
|
|
15412
|
-
|
|
15413
|
-
export type FrameSystemExtensionsCheckNonce = number;
|
|
15414
|
-
|
|
15415
15685
|
export type FrameSystemExtensionsCheckWeight = {};
|
|
15416
15686
|
|
|
15417
15687
|
export type PalletTransactionPaymentChargeTransactionPayment = bigint;
|
|
15418
15688
|
|
|
15419
|
-
export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
|
|
15420
|
-
|
|
15421
|
-
export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
15422
|
-
|
|
15423
15689
|
export type FrameSystemExtensionsWeightReclaim = {};
|
|
15424
15690
|
|
|
15425
15691
|
export type WestendRuntimeRuntime = {};
|
|
@@ -15739,4 +16005,5 @@ export type WestendRuntimeRuntimeError =
|
|
|
15739
16005
|
| { pallet: 'XcmPallet'; palletError: PalletXcmError }
|
|
15740
16006
|
| { pallet: 'MessageQueue'; palletError: PalletMessageQueueError }
|
|
15741
16007
|
| { pallet: 'AssetRate'; palletError: PalletAssetRateError }
|
|
16008
|
+
| { pallet: 'MetaTx'; palletError: PalletMetaTxError }
|
|
15742
16009
|
| { pallet: 'Beefy'; palletError: PalletBeefyError };
|