@dedot/chaintypes 0.98.0 → 0.99.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.
@@ -21,11 +21,12 @@ import type {
21
21
  FixedArray,
22
22
  Percent,
23
23
  Data,
24
- H160,
25
- Permill,
26
24
  FixedI64,
25
+ H160,
27
26
  Era,
27
+ Permill,
28
28
  UncheckedExtrinsic,
29
+ U256,
29
30
  } from 'dedot/codecs';
30
31
 
31
32
  export type FrameSystemAccountInfo = {
@@ -123,7 +124,11 @@ export type KitchensinkRuntimeRuntimeEvent =
123
124
  | { pallet: 'Parameters'; palletEvent: PalletParametersEvent }
124
125
  | { pallet: 'SkipFeelessPayment'; palletEvent: PalletSkipFeelessPaymentEvent }
125
126
  | { pallet: 'AssetConversionMigration'; palletEvent: PalletAssetConversionOpsEvent }
126
- | { pallet: 'Revive'; palletEvent: PalletReviveEvent };
127
+ | { pallet: 'Revive'; palletEvent: PalletReviveEvent }
128
+ | { pallet: 'DelegatedStaking'; palletEvent: PalletDelegatedStakingEvent }
129
+ | { pallet: 'AssetRewards'; palletEvent: PalletAssetRewardsEvent }
130
+ | { pallet: 'AssetsFreezer'; palletEvent: PalletAssetsFreezerEvent }
131
+ | { pallet: 'MetaTx'; palletEvent: PalletMetaTxEvent };
127
132
 
128
133
  /**
129
134
  * Event for the System pallet.
@@ -156,7 +161,11 @@ export type FrameSystemEvent =
156
161
  /**
157
162
  * An upgrade was authorized.
158
163
  **/
159
- | { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } };
164
+ | { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } }
165
+ /**
166
+ * An invalid authorized upgrade was rejected while trying to apply it.
167
+ **/
168
+ | { name: 'RejectedInvalidAuthorizedUpgrade'; data: { codeHash: H256; error: DispatchError } };
160
169
 
161
170
  export type FrameSystemDispatchEventInfo = {
162
171
  weight: SpWeightsWeightV2Weight;
@@ -212,7 +221,15 @@ export type PalletUtilityEvent =
212
221
  /**
213
222
  * A call was dispatched.
214
223
  **/
215
- | { name: 'DispatchedAs'; data: { result: Result<[], DispatchError> } };
224
+ | { name: 'DispatchedAs'; data: { result: Result<[], DispatchError> } }
225
+ /**
226
+ * Main call was dispatched.
227
+ **/
228
+ | { name: 'IfElseMainSuccess' }
229
+ /**
230
+ * The fallback call was dispatched.
231
+ **/
232
+ | { name: 'IfElseFallbackCalled'; data: { mainError: DispatchError } };
216
233
 
217
234
  /**
218
235
  * The `Event` enum of this pallet
@@ -229,7 +246,11 @@ export type PalletIndicesEvent =
229
246
  /**
230
247
  * A account index has been frozen to its current account ID.
231
248
  **/
232
- | { name: 'IndexFrozen'; data: { index: number; who: AccountId32 } };
249
+ | { name: 'IndexFrozen'; data: { index: number; who: AccountId32 } }
250
+ /**
251
+ * A deposit to reserve an index has been poked/reconsidered.
252
+ **/
253
+ | { name: 'DepositPoked'; data: { who: AccountId32; index: number; oldDeposit: bigint; newDeposit: bigint } };
233
254
 
234
255
  /**
235
256
  * The `Event` enum of this pallet
@@ -520,7 +541,12 @@ export type PalletStakingPalletEvent =
520
541
  /**
521
542
  * Report of a controller batch deprecation.
522
543
  **/
523
- | { name: 'ControllerBatchDeprecated'; data: { failures: number } };
544
+ | { name: 'ControllerBatchDeprecated'; data: { failures: number } }
545
+ /**
546
+ * Staking balance migrated from locks to holds, with any balance that could not be held
547
+ * is force withdrawn.
548
+ **/
549
+ | { name: 'CurrencyMigrated'; data: { stash: AccountId32; forceWithdraw: bigint } };
524
550
 
525
551
  export type PalletStakingRewardDestination =
526
552
  | { type: 'Staked' }
@@ -541,7 +567,15 @@ export type PalletSessionEvent =
541
567
  * New session has happened. Note that the argument is the session index, not the
542
568
  * block number as the type might suggest.
543
569
  **/
544
- { name: 'NewSession'; data: { sessionIndex: number } };
570
+ | { name: 'NewSession'; data: { sessionIndex: number } }
571
+ /**
572
+ * Validator has been disabled.
573
+ **/
574
+ | { name: 'ValidatorDisabled'; data: { validator: AccountId32 } }
575
+ /**
576
+ * Validator has been re-enabled.
577
+ **/
578
+ | { name: 'ValidatorReenabled'; data: { validator: AccountId32 } };
545
579
 
546
580
  /**
547
581
  * The `Event` enum of this pallet
@@ -726,7 +760,7 @@ export type PalletCollectiveEvent =
726
760
  export type PalletElectionsPhragmenEvent =
727
761
  /**
728
762
  * A new term with new_members. This indicates that enough candidates existed to run
729
- * the election, not that enough have has been elected. The inner value must be examined
763
+ * the election, not that enough have been elected. The inner value must be examined
730
764
  * for this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond
731
765
  * slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to
732
766
  * begin with.
@@ -1088,14 +1122,10 @@ export type PalletImOnlineEvent =
1088
1122
  /**
1089
1123
  * At the end of the session, at least one validator was found to be offline.
1090
1124
  **/
1091
- | { name: 'SomeOffline'; data: { offline: Array<[AccountId32, SpStakingExposure]> } };
1125
+ | { name: 'SomeOffline'; data: { offline: Array<[AccountId32, []]> } };
1092
1126
 
1093
1127
  export type PalletImOnlineSr25519AppSr25519Public = FixedBytes<32>;
1094
1128
 
1095
- export type SpStakingExposure = { total: bigint; own: bigint; others: Array<SpStakingIndividualExposure> };
1096
-
1097
- export type SpStakingIndividualExposure = { who: AccountId32; value: bigint };
1098
-
1099
1129
  /**
1100
1130
  * Events type.
1101
1131
  **/
@@ -1374,7 +1404,11 @@ export type PalletSchedulerEvent =
1374
1404
  /**
1375
1405
  * The given task can never be executed since it is overweight.
1376
1406
  **/
1377
- | { name: 'PermanentlyOverweight'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } };
1407
+ | { name: 'PermanentlyOverweight'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } }
1408
+ /**
1409
+ * Agenda is incomplete from `when`.
1410
+ **/
1411
+ | { name: 'AgendaIncomplete'; data: { when: number } };
1378
1412
 
1379
1413
  /**
1380
1414
  * The `Event` enum of this pallet
@@ -1484,10 +1518,19 @@ export type PalletProxyEvent =
1484
1518
  | {
1485
1519
  name: 'ProxyRemoved';
1486
1520
  data: { delegator: AccountId32; delegatee: AccountId32; proxyType: KitchensinkRuntimeProxyType; delay: number };
1521
+ }
1522
+ /**
1523
+ * A deposit stored for proxies or announcements was poked / updated.
1524
+ **/
1525
+ | {
1526
+ name: 'DepositPoked';
1527
+ data: { who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint };
1487
1528
  };
1488
1529
 
1489
1530
  export type KitchensinkRuntimeProxyType = 'Any' | 'NonTransfer' | 'Governance' | 'Staking';
1490
1531
 
1532
+ export type PalletProxyDepositKind = 'Proxies' | 'Announcements';
1533
+
1491
1534
  /**
1492
1535
  * The `Event` enum of this pallet
1493
1536
  **/
@@ -1532,6 +1575,13 @@ export type PalletMultisigEvent =
1532
1575
  multisig: AccountId32;
1533
1576
  callHash: FixedBytes<32>;
1534
1577
  };
1578
+ }
1579
+ /**
1580
+ * The deposit for a multisig operation has been updated/poked.
1581
+ **/
1582
+ | {
1583
+ name: 'DepositPoked';
1584
+ data: { who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint };
1535
1585
  };
1536
1586
 
1537
1587
  export type PalletMultisigTimepoint = { height: number; index: number };
@@ -2803,7 +2853,9 @@ export type KitchensinkRuntimeRuntimeCall =
2803
2853
  | { pallet: 'Mixnet'; palletCall: PalletMixnetCall }
2804
2854
  | { pallet: 'Parameters'; palletCall: PalletParametersCall }
2805
2855
  | { pallet: 'AssetConversionMigration'; palletCall: PalletAssetConversionOpsCall }
2806
- | { pallet: 'Revive'; palletCall: PalletReviveCall };
2856
+ | { pallet: 'Revive'; palletCall: PalletReviveCall }
2857
+ | { pallet: 'AssetRewards'; palletCall: PalletAssetRewardsCall }
2858
+ | { pallet: 'MetaTx'; palletCall: PalletMetaTxCall };
2807
2859
 
2808
2860
  export type KitchensinkRuntimeRuntimeCallLike =
2809
2861
  | { pallet: 'System'; palletCall: FrameSystemCallLike }
@@ -2872,7 +2924,9 @@ export type KitchensinkRuntimeRuntimeCallLike =
2872
2924
  | { pallet: 'Mixnet'; palletCall: PalletMixnetCallLike }
2873
2925
  | { pallet: 'Parameters'; palletCall: PalletParametersCallLike }
2874
2926
  | { pallet: 'AssetConversionMigration'; palletCall: PalletAssetConversionOpsCallLike }
2875
- | { pallet: 'Revive'; palletCall: PalletReviveCallLike };
2927
+ | { pallet: 'Revive'; palletCall: PalletReviveCallLike }
2928
+ | { pallet: 'AssetRewards'; palletCall: PalletAssetRewardsCallLike }
2929
+ | { pallet: 'MetaTx'; palletCall: PalletMetaTxCallLike };
2876
2930
 
2877
2931
  /**
2878
2932
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -3111,7 +3165,44 @@ export type PalletUtilityCall =
3111
3165
  *
3112
3166
  * The dispatch origin for this call must be _Root_.
3113
3167
  **/
3114
- | { name: 'WithWeight'; params: { call: KitchensinkRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } };
3168
+ | { name: 'WithWeight'; params: { call: KitchensinkRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } }
3169
+ /**
3170
+ * Dispatch a fallback call in the event the main call fails to execute.
3171
+ * May be called from any origin except `None`.
3172
+ *
3173
+ * This function first attempts to dispatch the `main` call.
3174
+ * If the `main` call fails, the `fallback` is attemted.
3175
+ * if the fallback is successfully dispatched, the weights of both calls
3176
+ * are accumulated and an event containing the main call error is deposited.
3177
+ *
3178
+ * In the event of a fallback failure the whole call fails
3179
+ * with the weights returned.
3180
+ *
3181
+ * - `main`: The main call to be dispatched. This is the primary action to execute.
3182
+ * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
3183
+ *
3184
+ * ## Dispatch Logic
3185
+ * - If the origin is `root`, both the main and fallback calls are executed without
3186
+ * applying any origin filters.
3187
+ * - If the origin is not `root`, the origin filter is applied to both the `main` and
3188
+ * `fallback` calls.
3189
+ *
3190
+ * ## Use Case
3191
+ * - Some use cases might involve submitting a `batch` type call in either main, fallback
3192
+ * or both.
3193
+ **/
3194
+ | { name: 'IfElse'; params: { main: KitchensinkRuntimeRuntimeCall; fallback: KitchensinkRuntimeRuntimeCall } }
3195
+ /**
3196
+ * Dispatches a function call with a provided origin.
3197
+ *
3198
+ * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
3199
+ *
3200
+ * The dispatch origin for this call must be _Root_.
3201
+ **/
3202
+ | {
3203
+ name: 'DispatchAsFallible';
3204
+ params: { asOrigin: KitchensinkRuntimeOriginCaller; call: KitchensinkRuntimeRuntimeCall };
3205
+ };
3115
3206
 
3116
3207
  export type PalletUtilityCallLike =
3117
3208
  /**
@@ -3203,14 +3294,50 @@ export type PalletUtilityCallLike =
3203
3294
  *
3204
3295
  * The dispatch origin for this call must be _Root_.
3205
3296
  **/
3206
- | { name: 'WithWeight'; params: { call: KitchensinkRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } };
3297
+ | { name: 'WithWeight'; params: { call: KitchensinkRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } }
3298
+ /**
3299
+ * Dispatch a fallback call in the event the main call fails to execute.
3300
+ * May be called from any origin except `None`.
3301
+ *
3302
+ * This function first attempts to dispatch the `main` call.
3303
+ * If the `main` call fails, the `fallback` is attemted.
3304
+ * if the fallback is successfully dispatched, the weights of both calls
3305
+ * are accumulated and an event containing the main call error is deposited.
3306
+ *
3307
+ * In the event of a fallback failure the whole call fails
3308
+ * with the weights returned.
3309
+ *
3310
+ * - `main`: The main call to be dispatched. This is the primary action to execute.
3311
+ * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
3312
+ *
3313
+ * ## Dispatch Logic
3314
+ * - If the origin is `root`, both the main and fallback calls are executed without
3315
+ * applying any origin filters.
3316
+ * - If the origin is not `root`, the origin filter is applied to both the `main` and
3317
+ * `fallback` calls.
3318
+ *
3319
+ * ## Use Case
3320
+ * - Some use cases might involve submitting a `batch` type call in either main, fallback
3321
+ * or both.
3322
+ **/
3323
+ | { name: 'IfElse'; params: { main: KitchensinkRuntimeRuntimeCallLike; fallback: KitchensinkRuntimeRuntimeCallLike } }
3324
+ /**
3325
+ * Dispatches a function call with a provided origin.
3326
+ *
3327
+ * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
3328
+ *
3329
+ * The dispatch origin for this call must be _Root_.
3330
+ **/
3331
+ | {
3332
+ name: 'DispatchAsFallible';
3333
+ params: { asOrigin: KitchensinkRuntimeOriginCaller; call: KitchensinkRuntimeRuntimeCallLike };
3334
+ };
3207
3335
 
3208
3336
  export type KitchensinkRuntimeOriginCaller =
3209
3337
  | { type: 'System'; value: FrameSupportDispatchRawOrigin }
3210
3338
  | { type: 'Council'; value: PalletCollectiveRawOrigin }
3211
3339
  | { type: 'TechnicalCommittee'; value: PalletCollectiveRawOrigin }
3212
- | { type: 'AllianceMotion'; value: PalletCollectiveRawOrigin }
3213
- | { type: 'Void'; value: SpCoreVoid };
3340
+ | { type: 'AllianceMotion'; value: PalletCollectiveRawOrigin };
3214
3341
 
3215
3342
  export type FrameSupportDispatchRawOrigin =
3216
3343
  | { type: 'Root' }
@@ -3222,8 +3349,6 @@ export type PalletCollectiveRawOrigin =
3222
3349
  | { type: 'Member'; value: AccountId32 }
3223
3350
  | { type: 'Phantom' };
3224
3351
 
3225
- export type SpCoreVoid = null;
3226
-
3227
3352
  /**
3228
3353
  * Contains a variant per dispatchable extrinsic that this pallet has.
3229
3354
  **/
@@ -3446,7 +3571,20 @@ export type PalletIndicesCall =
3446
3571
  * ## Complexity
3447
3572
  * - `O(1)`.
3448
3573
  **/
3449
- | { name: 'Freeze'; params: { index: number } };
3574
+ | { name: 'Freeze'; params: { index: number } }
3575
+ /**
3576
+ * Poke the deposit reserved for an index.
3577
+ *
3578
+ * The dispatch origin for this call must be _Signed_ and the signing account must have a
3579
+ * non-frozen account `index`.
3580
+ *
3581
+ * The transaction fees is waived if the deposit is changed after poking/reconsideration.
3582
+ *
3583
+ * - `index`: the index whose deposit is to be poked/reconsidered.
3584
+ *
3585
+ * Emits `DepositPoked` if successful.
3586
+ **/
3587
+ | { name: 'PokeDeposit'; params: { index: number } };
3450
3588
 
3451
3589
  export type PalletIndicesCallLike =
3452
3590
  /**
@@ -3524,7 +3662,20 @@ export type PalletIndicesCallLike =
3524
3662
  * ## Complexity
3525
3663
  * - `O(1)`.
3526
3664
  **/
3527
- | { name: 'Freeze'; params: { index: number } };
3665
+ | { name: 'Freeze'; params: { index: number } }
3666
+ /**
3667
+ * Poke the deposit reserved for an index.
3668
+ *
3669
+ * The dispatch origin for this call must be _Signed_ and the signing account must have a
3670
+ * non-frozen account `index`.
3671
+ *
3672
+ * The transaction fees is waived if the deposit is changed after poking/reconsideration.
3673
+ *
3674
+ * - `index`: the index whose deposit is to be poked/reconsidered.
3675
+ *
3676
+ * Emits `DepositPoked` if successful.
3677
+ **/
3678
+ | { name: 'PokeDeposit'; params: { index: number } };
3528
3679
 
3529
3680
  /**
3530
3681
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -4312,7 +4463,41 @@ export type PalletStakingPalletCall =
4312
4463
  maybeTotal?: bigint | undefined;
4313
4464
  maybeUnlocking?: Array<PalletStakingUnlockChunk> | undefined;
4314
4465
  };
4315
- };
4466
+ }
4467
+ /**
4468
+ * Removes the legacy Staking locks if they exist.
4469
+ *
4470
+ * This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
4471
+ * hold on it if needed. If all stake cannot be held, the best effort is made to hold as
4472
+ * much as possible. The remaining stake is forced withdrawn from the ledger.
4473
+ *
4474
+ * The fee is waived if the migration is successful.
4475
+ **/
4476
+ | { name: 'MigrateCurrency'; params: { stash: AccountId32 } }
4477
+ /**
4478
+ * This function allows governance to manually slash a validator and is a
4479
+ * **fallback mechanism**.
4480
+ *
4481
+ * The dispatch origin must be `T::AdminOrigin`.
4482
+ *
4483
+ * ## Parameters
4484
+ * - `validator_stash` - The stash account of the validator to slash.
4485
+ * - `era` - The era in which the validator was in the active set.
4486
+ * - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
4487
+ *
4488
+ * ## Behavior
4489
+ *
4490
+ * The slash will be applied using the standard slashing mechanics, respecting the
4491
+ * configured `SlashDeferDuration`.
4492
+ *
4493
+ * This means:
4494
+ * - If the validator was already slashed by a higher percentage for the same era, this
4495
+ * slash will have no additional effect.
4496
+ * - If the validator was previously slashed by a lower percentage, only the difference
4497
+ * will be applied.
4498
+ * - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
4499
+ **/
4500
+ | { name: 'ManualSlash'; params: { validatorStash: AccountId32; era: number; slashFraction: Perbill } };
4316
4501
 
4317
4502
  export type PalletStakingPalletCallLike =
4318
4503
  /**
@@ -4758,7 +4943,41 @@ export type PalletStakingPalletCallLike =
4758
4943
  maybeTotal?: bigint | undefined;
4759
4944
  maybeUnlocking?: Array<PalletStakingUnlockChunk> | undefined;
4760
4945
  };
4761
- };
4946
+ }
4947
+ /**
4948
+ * Removes the legacy Staking locks if they exist.
4949
+ *
4950
+ * This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
4951
+ * hold on it if needed. If all stake cannot be held, the best effort is made to hold as
4952
+ * much as possible. The remaining stake is forced withdrawn from the ledger.
4953
+ *
4954
+ * The fee is waived if the migration is successful.
4955
+ **/
4956
+ | { name: 'MigrateCurrency'; params: { stash: AccountId32Like } }
4957
+ /**
4958
+ * This function allows governance to manually slash a validator and is a
4959
+ * **fallback mechanism**.
4960
+ *
4961
+ * The dispatch origin must be `T::AdminOrigin`.
4962
+ *
4963
+ * ## Parameters
4964
+ * - `validator_stash` - The stash account of the validator to slash.
4965
+ * - `era` - The era in which the validator was in the active set.
4966
+ * - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
4967
+ *
4968
+ * ## Behavior
4969
+ *
4970
+ * The slash will be applied using the standard slashing mechanics, respecting the
4971
+ * configured `SlashDeferDuration`.
4972
+ *
4973
+ * This means:
4974
+ * - If the validator was already slashed by a higher percentage for the same era, this
4975
+ * slash will have no additional effect.
4976
+ * - If the validator was previously slashed by a lower percentage, only the difference
4977
+ * will be applied.
4978
+ * - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
4979
+ **/
4980
+ | { name: 'ManualSlash'; params: { validatorStash: AccountId32Like; era: number; slashFraction: Perbill } };
4762
4981
 
4763
4982
  export type PalletStakingPalletConfigOp = { type: 'Noop' } | { type: 'Set'; value: bigint } | { type: 'Remove' };
4764
4983
 
@@ -7928,7 +8147,7 @@ export type PalletRecoveryCall =
7928
8147
  **/
7929
8148
  | { name: 'AsRecovered'; params: { account: MultiAddress; call: KitchensinkRuntimeRuntimeCall } }
7930
8149
  /**
7931
- * Allow ROOT to bypass the recovery process and set an a rescuer account
8150
+ * Allow ROOT to bypass the recovery process and set a rescuer account
7932
8151
  * for a lost account directly.
7933
8152
  *
7934
8153
  * The dispatch origin for this call must be _ROOT_.
@@ -8050,7 +8269,7 @@ export type PalletRecoveryCallLike =
8050
8269
  **/
8051
8270
  | { name: 'AsRecovered'; params: { account: MultiAddressLike; call: KitchensinkRuntimeRuntimeCallLike } }
8052
8271
  /**
8053
- * Allow ROOT to bypass the recovery process and set an a rescuer account
8272
+ * Allow ROOT to bypass the recovery process and set a rescuer account
8054
8273
  * for a lost account directly.
8055
8274
  *
8056
8275
  * The dispatch origin for this call must be _ROOT_.
@@ -8674,7 +8893,7 @@ export type PalletPreimageCall =
8674
8893
  **/
8675
8894
  | { name: 'UnrequestPreimage'; params: { hash: H256 } }
8676
8895
  /**
8677
- * Ensure that the a bulk of pre-images is upgraded.
8896
+ * Ensure that the bulk of pre-images is upgraded.
8678
8897
  *
8679
8898
  * The caller pays no fee if at least 90% of pre-images were successfully updated.
8680
8899
  **/
@@ -8711,7 +8930,7 @@ export type PalletPreimageCallLike =
8711
8930
  **/
8712
8931
  | { name: 'UnrequestPreimage'; params: { hash: H256 } }
8713
8932
  /**
8714
- * Ensure that the a bulk of pre-images is upgraded.
8933
+ * Ensure that the bulk of pre-images is upgraded.
8715
8934
  *
8716
8935
  * The caller pays no fee if at least 90% of pre-images were successfully updated.
8717
8936
  **/
@@ -8885,7 +9104,18 @@ export type PalletProxyCall =
8885
9104
  forceProxyType?: KitchensinkRuntimeProxyType | undefined;
8886
9105
  call: KitchensinkRuntimeRuntimeCall;
8887
9106
  };
8888
- };
9107
+ }
9108
+ /**
9109
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
9110
+ * This can be used by accounts to possibly lower their locked amount.
9111
+ *
9112
+ * The dispatch origin for this call must be _Signed_.
9113
+ *
9114
+ * The transaction fee is waived if the deposit amount has changed.
9115
+ *
9116
+ * Emits `DepositPoked` if successful.
9117
+ **/
9118
+ | { name: 'PokeDeposit' };
8889
9119
 
8890
9120
  export type PalletProxyCallLike =
8891
9121
  /**
@@ -9055,7 +9285,18 @@ export type PalletProxyCallLike =
9055
9285
  forceProxyType?: KitchensinkRuntimeProxyType | undefined;
9056
9286
  call: KitchensinkRuntimeRuntimeCallLike;
9057
9287
  };
9058
- };
9288
+ }
9289
+ /**
9290
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
9291
+ * This can be used by accounts to possibly lower their locked amount.
9292
+ *
9293
+ * The dispatch origin for this call must be _Signed_.
9294
+ *
9295
+ * The transaction fee is waived if the deposit amount has changed.
9296
+ *
9297
+ * Emits `DepositPoked` if successful.
9298
+ **/
9299
+ | { name: 'PokeDeposit' };
9059
9300
 
9060
9301
  /**
9061
9302
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -9200,6 +9441,25 @@ export type PalletMultisigCall =
9200
9441
  timepoint: PalletMultisigTimepoint;
9201
9442
  callHash: FixedBytes<32>;
9202
9443
  };
9444
+ }
9445
+ /**
9446
+ * Poke the deposit reserved for an existing multisig operation.
9447
+ *
9448
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
9449
+ * the multisig operation.
9450
+ *
9451
+ * The transaction fee is waived if the deposit amount has changed.
9452
+ *
9453
+ * - `threshold`: The total number of approvals needed for this multisig.
9454
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
9455
+ * multisig.
9456
+ * - `call_hash`: The hash of the call this deposit is reserved for.
9457
+ *
9458
+ * Emits `DepositPoked` if successful.
9459
+ **/
9460
+ | {
9461
+ name: 'PokeDeposit';
9462
+ params: { threshold: number; otherSignatories: Array<AccountId32>; callHash: FixedBytes<32> };
9203
9463
  };
9204
9464
 
9205
9465
  export type PalletMultisigCallLike =
@@ -9345,6 +9605,25 @@ export type PalletMultisigCallLike =
9345
9605
  timepoint: PalletMultisigTimepoint;
9346
9606
  callHash: FixedBytes<32>;
9347
9607
  };
9608
+ }
9609
+ /**
9610
+ * Poke the deposit reserved for an existing multisig operation.
9611
+ *
9612
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
9613
+ * the multisig operation.
9614
+ *
9615
+ * The transaction fee is waived if the deposit amount has changed.
9616
+ *
9617
+ * - `threshold`: The total number of approvals needed for this multisig.
9618
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
9619
+ * multisig.
9620
+ * - `call_hash`: The hash of the call this deposit is reserved for.
9621
+ *
9622
+ * Emits `DepositPoked` if successful.
9623
+ **/
9624
+ | {
9625
+ name: 'PokeDeposit';
9626
+ params: { threshold: number; otherSignatories: Array<AccountId32Like>; callHash: FixedBytes<32> };
9348
9627
  };
9349
9628
 
9350
9629
  /**
@@ -9897,6 +10176,9 @@ export type PalletAssetsCall =
9897
10176
  *
9898
10177
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
9899
10178
  * asset.
10179
+ *
10180
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
10181
+ * an account contains holds or freezes in place.
9900
10182
  **/
9901
10183
  | { name: 'StartDestroy'; params: { id: number } }
9902
10184
  /**
@@ -10321,6 +10603,9 @@ export type PalletAssetsCall =
10321
10603
  * refunded.
10322
10604
  * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
10323
10605
  *
10606
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
10607
+ * the asset account contains holds or freezes in place.
10608
+ *
10324
10609
  * Emits `Refunded` event when successful.
10325
10610
  **/
10326
10611
  | { name: 'Refund'; params: { id: number; allowBurn: boolean } }
@@ -10362,6 +10647,9 @@ export type PalletAssetsCall =
10362
10647
  * - `id`: The identifier of the asset for the account holding a deposit.
10363
10648
  * - `who`: The account to refund.
10364
10649
  *
10650
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
10651
+ * the asset account contains holds or freezes in place.
10652
+ *
10365
10653
  * Emits `Refunded` event when successful.
10366
10654
  **/
10367
10655
  | { name: 'RefundOther'; params: { id: number; who: MultiAddress } }
@@ -10453,6 +10741,9 @@ export type PalletAssetsCallLike =
10453
10741
  *
10454
10742
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
10455
10743
  * asset.
10744
+ *
10745
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
10746
+ * an account contains holds or freezes in place.
10456
10747
  **/
10457
10748
  | { name: 'StartDestroy'; params: { id: number } }
10458
10749
  /**
@@ -10883,6 +11174,9 @@ export type PalletAssetsCallLike =
10883
11174
  * refunded.
10884
11175
  * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
10885
11176
  *
11177
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
11178
+ * the asset account contains holds or freezes in place.
11179
+ *
10886
11180
  * Emits `Refunded` event when successful.
10887
11181
  **/
10888
11182
  | { name: 'Refund'; params: { id: number; allowBurn: boolean } }
@@ -10924,6 +11218,9 @@ export type PalletAssetsCallLike =
10924
11218
  * - `id`: The identifier of the asset for the account holding a deposit.
10925
11219
  * - `who`: The account to refund.
10926
11220
  *
11221
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
11222
+ * the asset account contains holds or freezes in place.
11223
+ *
10927
11224
  * Emits `Refunded` event when successful.
10928
11225
  **/
10929
11226
  | { name: 'RefundOther'; params: { id: number; who: MultiAddressLike } }
@@ -14072,15 +14369,28 @@ export type PalletCoreFellowshipCall =
14072
14369
  **/
14073
14370
  | { name: 'SubmitEvidence'; params: { wish: PalletCoreFellowshipWish; evidence: Bytes } }
14074
14371
  /**
14075
- * Introduce an already-ranked individual of the collective into this pallet. The rank may
14076
- * still be zero.
14372
+ * Introduce an already-ranked individual of the collective into this pallet.
14373
+ *
14374
+ * The rank may still be zero. This resets `last_proof` to the current block and
14375
+ * `last_promotion` will be set to zero, thereby delaying any automatic demotion but
14376
+ * allowing immediate promotion.
14377
+ *
14378
+ * - `origin`: A signed origin of a ranked, but not tracked, account.
14379
+ **/
14380
+ | { name: 'Import' }
14381
+ /**
14382
+ * Introduce an already-ranked individual of the collective into this pallet.
14383
+ *
14384
+ * The rank may still be zero. Can be called by anyone on any collective member - including
14385
+ * the sender.
14077
14386
  *
14078
14387
  * This resets `last_proof` to the current block and `last_promotion` will be set to zero,
14079
14388
  * thereby delaying any automatic demotion but allowing immediate promotion.
14080
14389
  *
14081
14390
  * - `origin`: A signed origin of a ranked, but not tracked, account.
14391
+ * - `who`: The account ID of the collective member to be inducted.
14082
14392
  **/
14083
- | { name: 'Import' }
14393
+ | { name: 'ImportMember'; params: { who: AccountId32 } }
14084
14394
  /**
14085
14395
  * Set the parameters partially.
14086
14396
  *
@@ -14175,15 +14485,28 @@ export type PalletCoreFellowshipCallLike =
14175
14485
  **/
14176
14486
  | { name: 'SubmitEvidence'; params: { wish: PalletCoreFellowshipWish; evidence: BytesLike } }
14177
14487
  /**
14178
- * Introduce an already-ranked individual of the collective into this pallet. The rank may
14179
- * still be zero.
14488
+ * Introduce an already-ranked individual of the collective into this pallet.
14489
+ *
14490
+ * The rank may still be zero. This resets `last_proof` to the current block and
14491
+ * `last_promotion` will be set to zero, thereby delaying any automatic demotion but
14492
+ * allowing immediate promotion.
14493
+ *
14494
+ * - `origin`: A signed origin of a ranked, but not tracked, account.
14495
+ **/
14496
+ | { name: 'Import' }
14497
+ /**
14498
+ * Introduce an already-ranked individual of the collective into this pallet.
14499
+ *
14500
+ * The rank may still be zero. Can be called by anyone on any collective member - including
14501
+ * the sender.
14180
14502
  *
14181
14503
  * This resets `last_proof` to the current block and `last_promotion` will be set to zero,
14182
14504
  * thereby delaying any automatic demotion but allowing immediate promotion.
14183
14505
  *
14184
14506
  * - `origin`: A signed origin of a ranked, but not tracked, account.
14507
+ * - `who`: The account ID of the collective member to be inducted.
14185
14508
  **/
14186
- | { name: 'Import' }
14509
+ | { name: 'ImportMember'; params: { who: AccountId32Like } }
14187
14510
  /**
14188
14511
  * Set the parameters partially.
14189
14512
  *
@@ -15566,8 +15889,9 @@ export type PalletAllianceUnscrupulousItem =
15566
15889
  **/
15567
15890
  export type PalletNominationPoolsCall =
15568
15891
  /**
15569
- * Stake funds with a pool. The amount to bond is transferred from the member to the pool
15570
- * account and immediately increases the pools bond.
15892
+ * Stake funds with a pool. The amount to bond is delegated (or transferred based on
15893
+ * [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
15894
+ * increases the pool's bond.
15571
15895
  *
15572
15896
  * The method of transferring the amount to the pool account is determined by
15573
15897
  * [`adapter::StakeStrategyType`]. If the pool is configured to use
@@ -15710,13 +16034,13 @@ export type PalletNominationPoolsCall =
15710
16034
  * The dispatch origin of this call must be signed by the pool nominator or the pool
15711
16035
  * root role.
15712
16036
  *
15713
- * This directly forward the call to the staking pallet, on behalf of the pool bonded
15714
- * account.
16037
+ * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
16038
+ * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
15715
16039
  *
15716
16040
  * # Note
15717
16041
  *
15718
- * In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to have
15719
- * at least `depositor_min_bond` in the pool to start nominating.
16042
+ * In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
16043
+ * have at least `depositor_min_bond` in the pool to start nominating.
15720
16044
  **/
15721
16045
  | { name: 'Nominate'; params: { poolId: number; validators: Array<AccountId32> } }
15722
16046
  /**
@@ -15787,6 +16111,9 @@ export type PalletNominationPoolsCall =
15787
16111
  * The dispatch origin of this call can be signed by the pool nominator or the pool
15788
16112
  * root role, same as [`Pallet::nominate`].
15789
16113
  *
16114
+ * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
16115
+ * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
16116
+ *
15790
16117
  * Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
15791
16118
  * account).
15792
16119
  *
@@ -15795,9 +16122,7 @@ export type PalletNominationPoolsCall =
15795
16122
  * are unable to unbond.
15796
16123
  *
15797
16124
  * # Conditions for permissioned dispatch:
15798
- * * The caller has a nominator or root role of the pool.
15799
- * This directly forward the call to the staking pallet, on behalf of the pool bonded
15800
- * account.
16125
+ * * The caller is the pool's nominator or root.
15801
16126
  **/
15802
16127
  | { name: 'Chill'; params: { poolId: number } }
15803
16128
  /**
@@ -15858,9 +16183,20 @@ export type PalletNominationPoolsCall =
15858
16183
  /**
15859
16184
  * Claim pending commission.
15860
16185
  *
15861
- * The dispatch origin of this call must be signed by the `root` role of the pool. Pending
15862
- * commission is paid out and added to total claimed commission`. Total pending commission
15863
- * is reset to zero. the current.
16186
+ * The `root` role of the pool is _always_ allowed to claim the pool's commission.
16187
+ *
16188
+ * If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
16189
+ * trigger the process of claiming the pool's commission.
16190
+ *
16191
+ * If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
16192
+ * accounts
16193
+ * * `acc`, and
16194
+ * * the pool's root account
16195
+ *
16196
+ * may call this extrinsic on behalf of the pool.
16197
+ *
16198
+ * Pending commissions are paid out and added to the total claimed commission.
16199
+ * The total pending commission is reset to zero.
15864
16200
  **/
15865
16201
  | { name: 'ClaimCommission'; params: { poolId: number } }
15866
16202
  /**
@@ -15889,8 +16225,10 @@ export type PalletNominationPoolsCall =
15889
16225
  * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
15890
16226
  * [`adapter::StakeStrategyType::Delegate`].
15891
16227
  *
15892
- * This call can be dispatched permissionlessly (i.e. by any account). If the member has
15893
- * slash to be applied, caller may be rewarded with the part of the slash.
16228
+ * The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
16229
+ * This call can be dispatched permissionlessly (i.e. by any account). If the execution
16230
+ * is successful, fee is refunded and caller may be rewarded with a part of the slash
16231
+ * based on the [`crate::pallet::Config::StakeAdapter`] configuration.
15894
16232
  **/
15895
16233
  | { name: 'ApplySlash'; params: { memberAccount: MultiAddress } }
15896
16234
  /**
@@ -15920,8 +16258,9 @@ export type PalletNominationPoolsCall =
15920
16258
 
15921
16259
  export type PalletNominationPoolsCallLike =
15922
16260
  /**
15923
- * Stake funds with a pool. The amount to bond is transferred from the member to the pool
15924
- * account and immediately increases the pools bond.
16261
+ * Stake funds with a pool. The amount to bond is delegated (or transferred based on
16262
+ * [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
16263
+ * increases the pool's bond.
15925
16264
  *
15926
16265
  * The method of transferring the amount to the pool account is determined by
15927
16266
  * [`adapter::StakeStrategyType`]. If the pool is configured to use
@@ -16073,13 +16412,13 @@ export type PalletNominationPoolsCallLike =
16073
16412
  * The dispatch origin of this call must be signed by the pool nominator or the pool
16074
16413
  * root role.
16075
16414
  *
16076
- * This directly forward the call to the staking pallet, on behalf of the pool bonded
16077
- * account.
16415
+ * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
16416
+ * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
16078
16417
  *
16079
16418
  * # Note
16080
16419
  *
16081
- * In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to have
16082
- * at least `depositor_min_bond` in the pool to start nominating.
16420
+ * In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
16421
+ * have at least `depositor_min_bond` in the pool to start nominating.
16083
16422
  **/
16084
16423
  | { name: 'Nominate'; params: { poolId: number; validators: Array<AccountId32Like> } }
16085
16424
  /**
@@ -16150,6 +16489,9 @@ export type PalletNominationPoolsCallLike =
16150
16489
  * The dispatch origin of this call can be signed by the pool nominator or the pool
16151
16490
  * root role, same as [`Pallet::nominate`].
16152
16491
  *
16492
+ * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
16493
+ * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
16494
+ *
16153
16495
  * Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
16154
16496
  * account).
16155
16497
  *
@@ -16158,9 +16500,7 @@ export type PalletNominationPoolsCallLike =
16158
16500
  * are unable to unbond.
16159
16501
  *
16160
16502
  * # Conditions for permissioned dispatch:
16161
- * * The caller has a nominator or root role of the pool.
16162
- * This directly forward the call to the staking pallet, on behalf of the pool bonded
16163
- * account.
16503
+ * * The caller is the pool's nominator or root.
16164
16504
  **/
16165
16505
  | { name: 'Chill'; params: { poolId: number } }
16166
16506
  /**
@@ -16221,9 +16561,20 @@ export type PalletNominationPoolsCallLike =
16221
16561
  /**
16222
16562
  * Claim pending commission.
16223
16563
  *
16224
- * The dispatch origin of this call must be signed by the `root` role of the pool. Pending
16225
- * commission is paid out and added to total claimed commission`. Total pending commission
16226
- * is reset to zero. the current.
16564
+ * The `root` role of the pool is _always_ allowed to claim the pool's commission.
16565
+ *
16566
+ * If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
16567
+ * trigger the process of claiming the pool's commission.
16568
+ *
16569
+ * If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
16570
+ * accounts
16571
+ * * `acc`, and
16572
+ * * the pool's root account
16573
+ *
16574
+ * may call this extrinsic on behalf of the pool.
16575
+ *
16576
+ * Pending commissions are paid out and added to the total claimed commission.
16577
+ * The total pending commission is reset to zero.
16227
16578
  **/
16228
16579
  | { name: 'ClaimCommission'; params: { poolId: number } }
16229
16580
  /**
@@ -16252,8 +16603,10 @@ export type PalletNominationPoolsCallLike =
16252
16603
  * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
16253
16604
  * [`adapter::StakeStrategyType::Delegate`].
16254
16605
  *
16255
- * This call can be dispatched permissionlessly (i.e. by any account). If the member has
16256
- * slash to be applied, caller may be rewarded with the part of the slash.
16606
+ * The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
16607
+ * This call can be dispatched permissionlessly (i.e. by any account). If the execution
16608
+ * is successful, fee is refunded and caller may be rewarded with a part of the slash
16609
+ * based on the [`crate::pallet::Config::StakeAdapter`] configuration.
16257
16610
  **/
16258
16611
  | { name: 'ApplySlash'; params: { memberAccount: MultiAddressLike } }
16259
16612
  /**
@@ -17227,6 +17580,9 @@ export type PalletBrokerCall =
17227
17580
  /**
17228
17581
  * Reserve a core for a workload.
17229
17582
  *
17583
+ * The workload will be given a reservation, but two sale period boundaries must pass
17584
+ * before the core is actually assigned.
17585
+ *
17230
17586
  * - `origin`: Must be Root or pass `AdminOrigin`.
17231
17587
  * - `workload`: The workload which should be permanently placed on a core.
17232
17588
  **/
@@ -17411,6 +17767,35 @@ export type PalletBrokerCall =
17411
17767
  * - `task`: The task for which we want to disable auto renewal.
17412
17768
  **/
17413
17769
  | { name: 'DisableAutoRenew'; params: { core: number; task: number } }
17770
+ /**
17771
+ * Reserve a core for a workload immediately.
17772
+ *
17773
+ * - `origin`: Must be Root or pass `AdminOrigin`.
17774
+ * - `workload`: The workload which should be permanently placed on a core starting
17775
+ * immediately.
17776
+ * - `core`: The core to which the assignment should be made until the reservation takes
17777
+ * effect. It is left to the caller to either add this new core or reassign any other
17778
+ * tasks to this existing core.
17779
+ *
17780
+ * This reserves the workload and then injects the workload into the Workplan for the next
17781
+ * two sale periods. This overwrites any existing assignments for this core at the start of
17782
+ * the next sale period.
17783
+ **/
17784
+ | { name: 'ForceReserve'; params: { workload: Array<PalletBrokerScheduleItem>; core: number } }
17785
+ /**
17786
+ * Remove a lease.
17787
+ *
17788
+ * - `origin`: Must be Root or pass `AdminOrigin`.
17789
+ * - `task`: The task id of the lease which should be removed.
17790
+ **/
17791
+ | { name: 'RemoveLease'; params: { task: number } }
17792
+ /**
17793
+ * Remove an assignment from the Workplan.
17794
+ *
17795
+ * - `origin`: Must be Root or pass `AdminOrigin`.
17796
+ * - `region_id`: The Region to be removed from the workplan.
17797
+ **/
17798
+ | { name: 'RemoveAssignment'; params: { regionId: PalletBrokerRegionId } }
17414
17799
  | { name: 'SwapLeases'; params: { id: number; other: number } };
17415
17800
 
17416
17801
  export type PalletBrokerCallLike =
@@ -17424,6 +17809,9 @@ export type PalletBrokerCallLike =
17424
17809
  /**
17425
17810
  * Reserve a core for a workload.
17426
17811
  *
17812
+ * The workload will be given a reservation, but two sale period boundaries must pass
17813
+ * before the core is actually assigned.
17814
+ *
17427
17815
  * - `origin`: Must be Root or pass `AdminOrigin`.
17428
17816
  * - `workload`: The workload which should be permanently placed on a core.
17429
17817
  **/
@@ -17608,6 +17996,35 @@ export type PalletBrokerCallLike =
17608
17996
  * - `task`: The task for which we want to disable auto renewal.
17609
17997
  **/
17610
17998
  | { name: 'DisableAutoRenew'; params: { core: number; task: number } }
17999
+ /**
18000
+ * Reserve a core for a workload immediately.
18001
+ *
18002
+ * - `origin`: Must be Root or pass `AdminOrigin`.
18003
+ * - `workload`: The workload which should be permanently placed on a core starting
18004
+ * immediately.
18005
+ * - `core`: The core to which the assignment should be made until the reservation takes
18006
+ * effect. It is left to the caller to either add this new core or reassign any other
18007
+ * tasks to this existing core.
18008
+ *
18009
+ * This reserves the workload and then injects the workload into the Workplan for the next
18010
+ * two sale periods. This overwrites any existing assignments for this core at the start of
18011
+ * the next sale period.
18012
+ **/
18013
+ | { name: 'ForceReserve'; params: { workload: Array<PalletBrokerScheduleItem>; core: number } }
18014
+ /**
18015
+ * Remove a lease.
18016
+ *
18017
+ * - `origin`: Must be Root or pass `AdminOrigin`.
18018
+ * - `task`: The task id of the lease which should be removed.
18019
+ **/
18020
+ | { name: 'RemoveLease'; params: { task: number } }
18021
+ /**
18022
+ * Remove an assignment from the Workplan.
18023
+ *
18024
+ * - `origin`: Must be Root or pass `AdminOrigin`.
18025
+ * - `region_id`: The Region to be removed from the workplan.
18026
+ **/
18027
+ | { name: 'RemoveAssignment'; params: { regionId: PalletBrokerRegionId } }
17611
18028
  | { name: 'SwapLeases'; params: { id: number; other: number } };
17612
18029
 
17613
18030
  export type PalletBrokerConfigRecord = {
@@ -17690,10 +18107,9 @@ export type PalletParametersCallLike =
17690
18107
  **/
17691
18108
  { name: 'SetParameter'; params: { keyValue: KitchensinkRuntimeRuntimeParameters } };
17692
18109
 
17693
- export type KitchensinkRuntimeRuntimeParameters = {
17694
- type: 'Storage';
17695
- value: KitchensinkRuntimeDynamicParamsStorageParameters;
17696
- };
18110
+ export type KitchensinkRuntimeRuntimeParameters =
18111
+ | { type: 'Storage'; value: KitchensinkRuntimeDynamicParamsStorageParameters }
18112
+ | { type: 'Referenda'; value: KitchensinkRuntimeDynamicParamsReferendaParameters };
17697
18113
 
17698
18114
  export type KitchensinkRuntimeDynamicParamsStorageParameters =
17699
18115
  | { type: 'BaseDeposit'; value: [KitchensinkRuntimeDynamicParamsStorageBaseDeposit, bigint | undefined] }
@@ -17703,6 +18119,39 @@ export type KitchensinkRuntimeDynamicParamsStorageBaseDeposit = {};
17703
18119
 
17704
18120
  export type KitchensinkRuntimeDynamicParamsStorageByteDeposit = {};
17705
18121
 
18122
+ export type KitchensinkRuntimeDynamicParamsReferendaParameters =
18123
+ | { type: 'Tracks'; value: [KitchensinkRuntimeDynamicParamsReferendaTracks, Array<PalletReferendaTrack> | undefined] }
18124
+ | {
18125
+ type: 'Origins';
18126
+ value: [
18127
+ KitchensinkRuntimeDynamicParamsReferendaOrigins,
18128
+ Array<[KitchensinkRuntimeOriginCaller, number]> | undefined,
18129
+ ];
18130
+ };
18131
+
18132
+ export type KitchensinkRuntimeDynamicParamsReferendaTracks = {};
18133
+
18134
+ export type PalletReferendaTrack = { id: number; info: PalletReferendaTrackDetails };
18135
+
18136
+ export type PalletReferendaTrackDetails = {
18137
+ name: FixedBytes<25>;
18138
+ maxDeciding: number;
18139
+ decisionDeposit: bigint;
18140
+ preparePeriod: number;
18141
+ decisionPeriod: number;
18142
+ confirmPeriod: number;
18143
+ minEnactmentPeriod: number;
18144
+ minApproval: PalletReferendaCurve;
18145
+ minSupport: PalletReferendaCurve;
18146
+ };
18147
+
18148
+ export type PalletReferendaCurve =
18149
+ | { type: 'LinearDecreasing'; value: { length: Perbill; floor: Perbill; ceil: Perbill } }
18150
+ | { type: 'SteppedDecreasing'; value: { begin: Perbill; end: Perbill; step: Perbill; period: Perbill } }
18151
+ | { type: 'Reciprocal'; value: { factor: FixedI64; xOffset: FixedI64; yOffset: FixedI64 } };
18152
+
18153
+ export type KitchensinkRuntimeDynamicParamsReferendaOrigins = {};
18154
+
17706
18155
  /**
17707
18156
  * Pallet's callable functions.
17708
18157
  **/
@@ -17745,7 +18194,7 @@ export type PalletReviveCall =
17745
18194
  *
17746
18195
  * # Parameters
17747
18196
  *
17748
- * * `payload`: The RLP-encoded [`crate::evm::TransactionLegacySigned`].
18197
+ * * `payload`: The encoded [`crate::evm::TransactionSigned`].
17749
18198
  * * `gas_limit`: The gas limit enforced during contract execution.
17750
18199
  * * `storage_deposit_limit`: The maximum balance that can be charged to the caller for
17751
18200
  * storage usage.
@@ -17757,7 +18206,7 @@ export type PalletReviveCall =
17757
18206
  * runtime converts it into a [`sp_runtime::generic::CheckedExtrinsic`] by recovering the
17758
18207
  * signer and validating the transaction.
17759
18208
  **/
17760
- | { name: 'EthTransact'; params: { payload: Bytes; gasLimit: SpWeightsWeightV2Weight; storageDepositLimit: bigint } }
18209
+ | { name: 'EthTransact'; params: { payload: Bytes } }
17761
18210
  /**
17762
18211
  * Makes a call to an account, optionally transferring some balance.
17763
18212
  *
@@ -17908,7 +18357,7 @@ export type PalletReviveCallLike =
17908
18357
  *
17909
18358
  * # Parameters
17910
18359
  *
17911
- * * `payload`: The RLP-encoded [`crate::evm::TransactionLegacySigned`].
18360
+ * * `payload`: The encoded [`crate::evm::TransactionSigned`].
17912
18361
  * * `gas_limit`: The gas limit enforced during contract execution.
17913
18362
  * * `storage_deposit_limit`: The maximum balance that can be charged to the caller for
17914
18363
  * storage usage.
@@ -17920,10 +18369,7 @@ export type PalletReviveCallLike =
17920
18369
  * runtime converts it into a [`sp_runtime::generic::CheckedExtrinsic`] by recovering the
17921
18370
  * signer and validating the transaction.
17922
18371
  **/
17923
- | {
17924
- name: 'EthTransact';
17925
- params: { payload: BytesLike; gasLimit: SpWeightsWeightV2Weight; storageDepositLimit: bigint };
17926
- }
18372
+ | { name: 'EthTransact'; params: { payload: BytesLike } }
17927
18373
  /**
17928
18374
  * Makes a call to an account, optionally transferring some balance.
17929
18375
  *
@@ -18068,28 +18514,274 @@ export type PalletReviveCallLike =
18068
18514
  **/
18069
18515
  | { name: 'DispatchAsFallbackAccount'; params: { call: KitchensinkRuntimeRuntimeCallLike } };
18070
18516
 
18071
- export type SpRuntimeBlakeTwo256 = {};
18072
-
18073
- export type PalletConvictionVotingTally = { ayes: bigint; nays: bigint; support: bigint };
18074
-
18075
- /**
18076
- * The `Event` enum of this pallet
18077
- **/
18078
- export type PalletRemarkEvent =
18079
- /**
18080
- * Stored data off chain.
18081
- **/
18082
- { name: 'Stored'; data: { sender: AccountId32; contentHash: H256 } };
18083
-
18084
18517
  /**
18085
- * The `Event` enum of this pallet
18518
+ * Pallet's callable functions.
18086
18519
  **/
18087
- export type PalletRootTestingEvent =
18520
+ export type PalletAssetRewardsCall =
18088
18521
  /**
18089
- * Event dispatched when the trigger_defensive extrinsic is called.
18522
+ * Create a new reward pool.
18523
+ *
18524
+ * Parameters:
18525
+ * - `origin`: must be `Config::CreatePoolOrigin`;
18526
+ * - `staked_asset_id`: the asset to be staked in the pool;
18527
+ * - `reward_asset_id`: the asset to be distributed as rewards;
18528
+ * - `reward_rate_per_block`: the amount of reward tokens distributed per block;
18529
+ * - `expiry`: the block number at which the pool will cease to accumulate rewards. The
18530
+ * [`DispatchTime::After`] variant evaluated at the execution time.
18531
+ * - `admin`: the account allowed to extend the pool expiration, increase the rewards rate
18532
+ * and receive the unutilized reward tokens back after the pool completion. If `None`,
18533
+ * the caller is set as an admin.
18090
18534
  **/
18091
- 'DefensiveTestCall';
18092
-
18535
+ | {
18536
+ name: 'CreatePool';
18537
+ params: {
18538
+ stakedAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
18539
+ rewardAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
18540
+ rewardRatePerBlock: bigint;
18541
+ expiry: FrameSupportScheduleDispatchTime;
18542
+ admin?: AccountId32 | undefined;
18543
+ };
18544
+ }
18545
+ /**
18546
+ * Stake additional tokens in a pool.
18547
+ *
18548
+ * A freeze is placed on the staked tokens.
18549
+ **/
18550
+ | { name: 'Stake'; params: { poolId: number; amount: bigint } }
18551
+ /**
18552
+ * Unstake tokens from a pool.
18553
+ *
18554
+ * Removes the freeze on the staked tokens.
18555
+ *
18556
+ * Parameters:
18557
+ * - origin: must be the `staker` if the pool is still active. Otherwise, any account.
18558
+ * - pool_id: the pool to unstake from.
18559
+ * - amount: the amount of tokens to unstake.
18560
+ * - staker: the account to unstake from. If `None`, the caller is used.
18561
+ **/
18562
+ | { name: 'Unstake'; params: { poolId: number; amount: bigint; staker?: AccountId32 | undefined } }
18563
+ /**
18564
+ * Harvest unclaimed pool rewards.
18565
+ *
18566
+ * Parameters:
18567
+ * - origin: must be the `staker` if the pool is still active. Otherwise, any account.
18568
+ * - pool_id: the pool to harvest from.
18569
+ * - staker: the account for which to harvest rewards. If `None`, the caller is used.
18570
+ **/
18571
+ | { name: 'HarvestRewards'; params: { poolId: number; staker?: AccountId32 | undefined } }
18572
+ /**
18573
+ * Modify a pool reward rate.
18574
+ *
18575
+ * Currently the reward rate can only be increased.
18576
+ *
18577
+ * Only the pool admin may perform this operation.
18578
+ **/
18579
+ | { name: 'SetPoolRewardRatePerBlock'; params: { poolId: number; newRewardRatePerBlock: bigint } }
18580
+ /**
18581
+ * Modify a pool admin.
18582
+ *
18583
+ * Only the pool admin may perform this operation.
18584
+ **/
18585
+ | { name: 'SetPoolAdmin'; params: { poolId: number; newAdmin: AccountId32 } }
18586
+ /**
18587
+ * Set when the pool should expire.
18588
+ *
18589
+ * Currently the expiry block can only be extended.
18590
+ *
18591
+ * Only the pool admin may perform this operation.
18592
+ **/
18593
+ | { name: 'SetPoolExpiryBlock'; params: { poolId: number; newExpiry: FrameSupportScheduleDispatchTime } }
18594
+ /**
18595
+ * Convenience method to deposit reward tokens into a pool.
18596
+ *
18597
+ * This method is not strictly necessary (tokens could be transferred directly to the
18598
+ * pool pot address), but is provided for convenience so manual derivation of the
18599
+ * account id is not required.
18600
+ **/
18601
+ | { name: 'DepositRewardTokens'; params: { poolId: number; amount: bigint } }
18602
+ /**
18603
+ * Cleanup a pool.
18604
+ *
18605
+ * Origin must be the pool admin.
18606
+ *
18607
+ * Cleanup storage, release any associated storage cost and return the remaining reward
18608
+ * tokens to the admin.
18609
+ **/
18610
+ | { name: 'CleanupPool'; params: { poolId: number } };
18611
+
18612
+ export type PalletAssetRewardsCallLike =
18613
+ /**
18614
+ * Create a new reward pool.
18615
+ *
18616
+ * Parameters:
18617
+ * - `origin`: must be `Config::CreatePoolOrigin`;
18618
+ * - `staked_asset_id`: the asset to be staked in the pool;
18619
+ * - `reward_asset_id`: the asset to be distributed as rewards;
18620
+ * - `reward_rate_per_block`: the amount of reward tokens distributed per block;
18621
+ * - `expiry`: the block number at which the pool will cease to accumulate rewards. The
18622
+ * [`DispatchTime::After`] variant evaluated at the execution time.
18623
+ * - `admin`: the account allowed to extend the pool expiration, increase the rewards rate
18624
+ * and receive the unutilized reward tokens back after the pool completion. If `None`,
18625
+ * the caller is set as an admin.
18626
+ **/
18627
+ | {
18628
+ name: 'CreatePool';
18629
+ params: {
18630
+ stakedAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
18631
+ rewardAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
18632
+ rewardRatePerBlock: bigint;
18633
+ expiry: FrameSupportScheduleDispatchTime;
18634
+ admin?: AccountId32Like | undefined;
18635
+ };
18636
+ }
18637
+ /**
18638
+ * Stake additional tokens in a pool.
18639
+ *
18640
+ * A freeze is placed on the staked tokens.
18641
+ **/
18642
+ | { name: 'Stake'; params: { poolId: number; amount: bigint } }
18643
+ /**
18644
+ * Unstake tokens from a pool.
18645
+ *
18646
+ * Removes the freeze on the staked tokens.
18647
+ *
18648
+ * Parameters:
18649
+ * - origin: must be the `staker` if the pool is still active. Otherwise, any account.
18650
+ * - pool_id: the pool to unstake from.
18651
+ * - amount: the amount of tokens to unstake.
18652
+ * - staker: the account to unstake from. If `None`, the caller is used.
18653
+ **/
18654
+ | { name: 'Unstake'; params: { poolId: number; amount: bigint; staker?: AccountId32Like | undefined } }
18655
+ /**
18656
+ * Harvest unclaimed pool rewards.
18657
+ *
18658
+ * Parameters:
18659
+ * - origin: must be the `staker` if the pool is still active. Otherwise, any account.
18660
+ * - pool_id: the pool to harvest from.
18661
+ * - staker: the account for which to harvest rewards. If `None`, the caller is used.
18662
+ **/
18663
+ | { name: 'HarvestRewards'; params: { poolId: number; staker?: AccountId32Like | undefined } }
18664
+ /**
18665
+ * Modify a pool reward rate.
18666
+ *
18667
+ * Currently the reward rate can only be increased.
18668
+ *
18669
+ * Only the pool admin may perform this operation.
18670
+ **/
18671
+ | { name: 'SetPoolRewardRatePerBlock'; params: { poolId: number; newRewardRatePerBlock: bigint } }
18672
+ /**
18673
+ * Modify a pool admin.
18674
+ *
18675
+ * Only the pool admin may perform this operation.
18676
+ **/
18677
+ | { name: 'SetPoolAdmin'; params: { poolId: number; newAdmin: AccountId32Like } }
18678
+ /**
18679
+ * Set when the pool should expire.
18680
+ *
18681
+ * Currently the expiry block can only be extended.
18682
+ *
18683
+ * Only the pool admin may perform this operation.
18684
+ **/
18685
+ | { name: 'SetPoolExpiryBlock'; params: { poolId: number; newExpiry: FrameSupportScheduleDispatchTime } }
18686
+ /**
18687
+ * Convenience method to deposit reward tokens into a pool.
18688
+ *
18689
+ * This method is not strictly necessary (tokens could be transferred directly to the
18690
+ * pool pot address), but is provided for convenience so manual derivation of the
18691
+ * account id is not required.
18692
+ **/
18693
+ | { name: 'DepositRewardTokens'; params: { poolId: number; amount: bigint } }
18694
+ /**
18695
+ * Cleanup a pool.
18696
+ *
18697
+ * Origin must be the pool admin.
18698
+ *
18699
+ * Cleanup storage, release any associated storage cost and return the remaining reward
18700
+ * tokens to the admin.
18701
+ **/
18702
+ | { name: 'CleanupPool'; params: { poolId: number } };
18703
+
18704
+ /**
18705
+ * Contains a variant per dispatchable extrinsic that this pallet has.
18706
+ **/
18707
+ export type PalletMetaTxCall =
18708
+ /**
18709
+ * Dispatch a given meta transaction.
18710
+ *
18711
+ * - `_origin`: Can be any kind of origin.
18712
+ * - `meta_tx`: Meta Transaction with a target call to be dispatched.
18713
+ **/
18714
+ { name: 'Dispatch'; params: { metaTx: PalletMetaTxMetaTx } };
18715
+
18716
+ export type PalletMetaTxCallLike =
18717
+ /**
18718
+ * Dispatch a given meta transaction.
18719
+ *
18720
+ * - `_origin`: Can be any kind of origin.
18721
+ * - `meta_tx`: Meta Transaction with a target call to be dispatched.
18722
+ **/
18723
+ { name: 'Dispatch'; params: { metaTx: PalletMetaTxMetaTx } };
18724
+
18725
+ export type PalletMetaTxMetaTx = {
18726
+ call: KitchensinkRuntimeRuntimeCall;
18727
+ extensionVersion: number;
18728
+ extension: [
18729
+ PalletVerifySignatureExtensionVerifySignature,
18730
+ PalletMetaTxExtensionMetaTxMarker,
18731
+ FrameSystemExtensionsCheckNonZeroSender,
18732
+ FrameSystemExtensionsCheckSpecVersion,
18733
+ FrameSystemExtensionsCheckTxVersion,
18734
+ FrameSystemExtensionsCheckGenesis,
18735
+ FrameSystemExtensionsCheckMortality,
18736
+ FrameSystemExtensionsCheckNonce,
18737
+ FrameMetadataHashExtensionCheckMetadataHash,
18738
+ ];
18739
+ };
18740
+
18741
+ export type PalletVerifySignatureExtensionVerifySignature =
18742
+ | { type: 'Signed'; value: { signature: SpRuntimeMultiSignature; account: AccountId32 } }
18743
+ | { type: 'Disabled' };
18744
+
18745
+ export type PalletMetaTxExtensionMetaTxMarker = {};
18746
+
18747
+ export type FrameSystemExtensionsCheckNonZeroSender = {};
18748
+
18749
+ export type FrameSystemExtensionsCheckSpecVersion = {};
18750
+
18751
+ export type FrameSystemExtensionsCheckTxVersion = {};
18752
+
18753
+ export type FrameSystemExtensionsCheckGenesis = {};
18754
+
18755
+ export type FrameSystemExtensionsCheckMortality = Era;
18756
+
18757
+ export type FrameSystemExtensionsCheckNonce = number;
18758
+
18759
+ export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
18760
+
18761
+ export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
18762
+
18763
+ export type SpRuntimeBlakeTwo256 = {};
18764
+
18765
+ export type PalletConvictionVotingTally = { ayes: bigint; nays: bigint; support: bigint };
18766
+
18767
+ /**
18768
+ * The `Event` enum of this pallet
18769
+ **/
18770
+ export type PalletRemarkEvent =
18771
+ /**
18772
+ * Stored data off chain.
18773
+ **/
18774
+ { name: 'Stored'; data: { sender: AccountId32; contentHash: H256 } };
18775
+
18776
+ /**
18777
+ * The `Event` enum of this pallet
18778
+ **/
18779
+ export type PalletRootTestingEvent =
18780
+ /**
18781
+ * Event dispatched when the trigger_defensive extrinsic is called.
18782
+ **/
18783
+ 'DefensiveTestCall';
18784
+
18093
18785
  /**
18094
18786
  * The `Event` enum of this pallet
18095
18787
  **/
@@ -18103,13 +18795,17 @@ export type PalletConvictionVotingEvent =
18103
18795
  **/
18104
18796
  | { name: 'Undelegated'; data: AccountId32 }
18105
18797
  /**
18106
- * An account that has voted
18798
+ * An account has voted
18107
18799
  **/
18108
18800
  | { name: 'Voted'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
18109
18801
  /**
18110
- * A vote that been removed
18802
+ * A vote has been removed
18803
+ **/
18804
+ | { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
18805
+ /**
18806
+ * The lockup period of a conviction vote expired, and the funds have been unlocked.
18111
18807
  **/
18112
- | { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } };
18808
+ | { name: 'VoteUnlocked'; data: { who: AccountId32; class: number } };
18113
18809
 
18114
18810
  /**
18115
18811
  * The `Event` enum of this pallet
@@ -18299,7 +18995,41 @@ export type PalletNominationPoolsEvent =
18299
18995
  /**
18300
18996
  * Claimed excess frozen ED of af the reward pool.
18301
18997
  **/
18302
- | { name: 'MinBalanceExcessAdjusted'; data: { poolId: number; amount: bigint } };
18998
+ | { name: 'MinBalanceExcessAdjusted'; data: { poolId: number; amount: bigint } }
18999
+ /**
19000
+ * A pool member's claim permission has been updated.
19001
+ **/
19002
+ | {
19003
+ name: 'MemberClaimPermissionUpdated';
19004
+ data: { member: AccountId32; permission: PalletNominationPoolsClaimPermission };
19005
+ }
19006
+ /**
19007
+ * A pool's metadata was updated.
19008
+ **/
19009
+ | { name: 'MetadataUpdated'; data: { poolId: number; caller: AccountId32 } }
19010
+ /**
19011
+ * A pool's nominating account (or the pool's root account) has nominated a validator set
19012
+ * on behalf of the pool.
19013
+ **/
19014
+ | { name: 'PoolNominationMade'; data: { poolId: number; caller: AccountId32 } }
19015
+ /**
19016
+ * The pool is chilled i.e. no longer nominating.
19017
+ **/
19018
+ | { name: 'PoolNominatorChilled'; data: { poolId: number; caller: AccountId32 } }
19019
+ /**
19020
+ * Global parameters regulating nomination pools have been updated.
19021
+ **/
19022
+ | {
19023
+ name: 'GlobalParamsUpdated';
19024
+ data: {
19025
+ minJoinBond: bigint;
19026
+ minCreateBond: bigint;
19027
+ maxPools?: number | undefined;
19028
+ maxMembers?: number | undefined;
19029
+ maxMembersPerPool?: number | undefined;
19030
+ globalMaxCommission?: Perbill | undefined;
19031
+ };
19032
+ };
18303
19033
 
18304
19034
  /**
18305
19035
  * The `Event` enum of this pallet
@@ -19346,6 +20076,18 @@ export type PalletBrokerEvent =
19346
20076
  task: number;
19347
20077
  };
19348
20078
  }
20079
+ /**
20080
+ * An assignment has been removed from the workplan.
20081
+ **/
20082
+ | {
20083
+ name: 'AssignmentRemoved';
20084
+ data: {
20085
+ /**
20086
+ * The Region which was removed from the workplan.
20087
+ **/
20088
+ regionId: PalletBrokerRegionId;
20089
+ };
20090
+ }
19349
20091
  /**
19350
20092
  * A Region has been added to the Instantaneous Coretime Pool.
19351
20093
  **/
@@ -19428,12 +20170,13 @@ export type PalletBrokerEvent =
19428
20170
  name: 'SaleInitialized';
19429
20171
  data: {
19430
20172
  /**
19431
- * The local block number at which the sale will/did start.
20173
+ * The relay block number at which the sale will/did start.
19432
20174
  **/
19433
20175
  saleStart: number;
19434
20176
 
19435
20177
  /**
19436
- * The length in blocks of the Leadin Period (where the price is decreasing).
20178
+ * The length in relay chain blocks of the Leadin Period (where the price is
20179
+ * decreasing).
19437
20180
  **/
19438
20181
  leadinLength: number;
19439
20182
 
@@ -19488,6 +20231,18 @@ export type PalletBrokerEvent =
19488
20231
  until: number;
19489
20232
  };
19490
20233
  }
20234
+ /**
20235
+ * A lease has been removed.
20236
+ **/
20237
+ | {
20238
+ name: 'LeaseRemoved';
20239
+ data: {
20240
+ /**
20241
+ * The task to which a core was assigned.
20242
+ **/
20243
+ task: number;
20244
+ };
20245
+ }
19491
20246
  /**
19492
20247
  * A lease is about to end.
19493
20248
  **/
@@ -19833,24 +20588,30 @@ export type PalletParametersEvent =
19833
20588
  };
19834
20589
  };
19835
20590
 
19836
- export type KitchensinkRuntimeRuntimeParametersKey = {
19837
- type: 'Storage';
19838
- value: KitchensinkRuntimeDynamicParamsStorageParametersKey;
19839
- };
20591
+ export type KitchensinkRuntimeRuntimeParametersKey =
20592
+ | { type: 'Storage'; value: KitchensinkRuntimeDynamicParamsStorageParametersKey }
20593
+ | { type: 'Referenda'; value: KitchensinkRuntimeDynamicParamsReferendaParametersKey };
19840
20594
 
19841
20595
  export type KitchensinkRuntimeDynamicParamsStorageParametersKey =
19842
20596
  | { type: 'BaseDeposit'; value: KitchensinkRuntimeDynamicParamsStorageBaseDeposit }
19843
20597
  | { type: 'ByteDeposit'; value: KitchensinkRuntimeDynamicParamsStorageByteDeposit };
19844
20598
 
19845
- export type KitchensinkRuntimeRuntimeParametersValue = {
19846
- type: 'Storage';
19847
- value: KitchensinkRuntimeDynamicParamsStorageParametersValue;
19848
- };
20599
+ export type KitchensinkRuntimeDynamicParamsReferendaParametersKey =
20600
+ | { type: 'Tracks'; value: KitchensinkRuntimeDynamicParamsReferendaTracks }
20601
+ | { type: 'Origins'; value: KitchensinkRuntimeDynamicParamsReferendaOrigins };
20602
+
20603
+ export type KitchensinkRuntimeRuntimeParametersValue =
20604
+ | { type: 'Storage'; value: KitchensinkRuntimeDynamicParamsStorageParametersValue }
20605
+ | { type: 'Referenda'; value: KitchensinkRuntimeDynamicParamsReferendaParametersValue };
19849
20606
 
19850
20607
  export type KitchensinkRuntimeDynamicParamsStorageParametersValue =
19851
20608
  | { type: 'BaseDeposit'; value: bigint }
19852
20609
  | { type: 'ByteDeposit'; value: bigint };
19853
20610
 
20611
+ export type KitchensinkRuntimeDynamicParamsReferendaParametersValue =
20612
+ | { type: 'Tracks'; value: Array<PalletReferendaTrack> }
20613
+ | { type: 'Origins'; value: Array<[KitchensinkRuntimeOriginCaller, number]> };
20614
+
19854
20615
  /**
19855
20616
  * The `Event` enum of this pallet
19856
20617
  **/
@@ -19892,142 +20653,258 @@ export type PalletAssetConversionOpsEvent =
19892
20653
  **/
19893
20654
  export type PalletReviveEvent =
19894
20655
  /**
19895
- * Contract deployed by address at the specified address.
20656
+ * A custom event emitted by the contract.
20657
+ **/
20658
+ {
20659
+ name: 'ContractEmitted';
20660
+ data: {
20661
+ /**
20662
+ * The contract that emitted the event.
20663
+ **/
20664
+ contract: H160;
20665
+
20666
+ /**
20667
+ * Data supplied by the contract. Metadata generated during contract compilation
20668
+ * is needed to decode it.
20669
+ **/
20670
+ data: Bytes;
20671
+
20672
+ /**
20673
+ * A list of topics used to index the event.
20674
+ * Number of topics is capped by [`limits::NUM_EVENT_TOPICS`].
20675
+ **/
20676
+ topics: Array<H256>;
20677
+ };
20678
+ };
20679
+
20680
+ /**
20681
+ * The `Event` enum of this pallet
20682
+ **/
20683
+ export type PalletDelegatedStakingEvent =
20684
+ /**
20685
+ * Funds delegated by a delegator.
19896
20686
  **/
19897
- | { name: 'Instantiated'; data: { deployer: H160; contract: H160 } }
20687
+ | { name: 'Delegated'; data: { agent: AccountId32; delegator: AccountId32; amount: bigint } }
19898
20688
  /**
19899
- * Contract has been removed.
19900
- *
19901
- * # Note
19902
- *
19903
- * The only way for a contract to be removed and emitting this event is by calling
19904
- * `seal_terminate`.
20689
+ * Funds released to a delegator.
20690
+ **/
20691
+ | { name: 'Released'; data: { agent: AccountId32; delegator: AccountId32; amount: bigint } }
20692
+ /**
20693
+ * Funds slashed from a delegator.
20694
+ **/
20695
+ | { name: 'Slashed'; data: { agent: AccountId32; delegator: AccountId32; amount: bigint } }
20696
+ /**
20697
+ * Unclaimed delegation funds migrated to delegator.
20698
+ **/
20699
+ | { name: 'MigratedDelegation'; data: { agent: AccountId32; delegator: AccountId32; amount: bigint } };
20700
+
20701
+ /**
20702
+ * The `Event` enum of this pallet
20703
+ **/
20704
+ export type PalletAssetRewardsEvent =
20705
+ /**
20706
+ * An account staked some tokens in a pool.
19905
20707
  **/
19906
20708
  | {
19907
- name: 'Terminated';
20709
+ name: 'Staked';
19908
20710
  data: {
19909
20711
  /**
19910
- * The contract that was terminated.
20712
+ * The account that staked assets.
19911
20713
  **/
19912
- contract: H160;
20714
+ staker: AccountId32;
19913
20715
 
19914
20716
  /**
19915
- * The account that received the contracts remaining balance
20717
+ * The pool.
20718
+ **/
20719
+ poolId: number;
20720
+
20721
+ /**
20722
+ * The staked asset amount.
19916
20723
  **/
19917
- beneficiary: H160;
20724
+ amount: bigint;
19918
20725
  };
19919
20726
  }
19920
20727
  /**
19921
- * Code with the specified hash has been stored.
19922
- **/
19923
- | { name: 'CodeStored'; data: { codeHash: H256; depositHeld: bigint; uploader: H160 } }
19924
- /**
19925
- * A custom event emitted by the contract.
20728
+ * An account unstaked some tokens from a pool.
19926
20729
  **/
19927
20730
  | {
19928
- name: 'ContractEmitted';
20731
+ name: 'Unstaked';
19929
20732
  data: {
19930
20733
  /**
19931
- * The contract that emitted the event.
20734
+ * The account that signed transaction.
19932
20735
  **/
19933
- contract: H160;
20736
+ caller: AccountId32;
19934
20737
 
19935
20738
  /**
19936
- * Data supplied by the contract. Metadata generated during contract compilation
19937
- * is needed to decode it.
20739
+ * The account that unstaked assets.
19938
20740
  **/
19939
- data: Bytes;
20741
+ staker: AccountId32;
20742
+
20743
+ /**
20744
+ * The pool.
20745
+ **/
20746
+ poolId: number;
19940
20747
 
19941
20748
  /**
19942
- * A list of topics used to index the event.
19943
- * Number of topics is capped by [`limits::NUM_EVENT_TOPICS`].
20749
+ * The unstaked asset amount.
19944
20750
  **/
19945
- topics: Array<H256>;
20751
+ amount: bigint;
19946
20752
  };
19947
20753
  }
19948
20754
  /**
19949
- * A code with the specified hash was removed.
20755
+ * An account harvested some rewards.
19950
20756
  **/
19951
- | { name: 'CodeRemoved'; data: { codeHash: H256; depositReleased: bigint; remover: H160 } }
20757
+ | {
20758
+ name: 'RewardsHarvested';
20759
+ data: {
20760
+ /**
20761
+ * The account that signed transaction.
20762
+ **/
20763
+ caller: AccountId32;
20764
+
20765
+ /**
20766
+ * The staker whos rewards were harvested.
20767
+ **/
20768
+ staker: AccountId32;
20769
+
20770
+ /**
20771
+ * The pool.
20772
+ **/
20773
+ poolId: number;
20774
+
20775
+ /**
20776
+ * The amount of harvested tokens.
20777
+ **/
20778
+ amount: bigint;
20779
+ };
20780
+ }
19952
20781
  /**
19953
- * A contract's code was updated.
20782
+ * A new reward pool was created.
19954
20783
  **/
19955
20784
  | {
19956
- name: 'ContractCodeUpdated';
20785
+ name: 'PoolCreated';
19957
20786
  data: {
19958
20787
  /**
19959
- * The contract that has been updated.
20788
+ * The account that created the pool.
19960
20789
  **/
19961
- contract: H160;
20790
+ creator: AccountId32;
19962
20791
 
19963
20792
  /**
19964
- * New code hash that was set for the contract.
20793
+ * The unique ID for the new pool.
19965
20794
  **/
19966
- newCodeHash: H256;
20795
+ poolId: number;
19967
20796
 
19968
20797
  /**
19969
- * Previous code hash of the contract.
20798
+ * The staking asset.
19970
20799
  **/
19971
- oldCodeHash: H256;
20800
+ stakedAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
20801
+
20802
+ /**
20803
+ * The reward asset.
20804
+ **/
20805
+ rewardAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
20806
+
20807
+ /**
20808
+ * The initial reward rate per block.
20809
+ **/
20810
+ rewardRatePerBlock: bigint;
20811
+
20812
+ /**
20813
+ * The block the pool will cease to accumulate rewards.
20814
+ **/
20815
+ expiryBlock: number;
20816
+
20817
+ /**
20818
+ * The account allowed to modify the pool.
20819
+ **/
20820
+ admin: AccountId32;
19972
20821
  };
19973
20822
  }
19974
20823
  /**
19975
- * A contract was called either by a plain account or another contract.
19976
- *
19977
- * # Note
19978
- *
19979
- * Please keep in mind that like all events this is only emitted for successful
19980
- * calls. This is because on failure all storage changes including events are
19981
- * rolled back.
20824
+ * A pool reward rate was modified by the admin.
19982
20825
  **/
19983
20826
  | {
19984
- name: 'Called';
20827
+ name: 'PoolRewardRateModified';
19985
20828
  data: {
19986
20829
  /**
19987
- * The caller of the `contract`.
20830
+ * The modified pool.
19988
20831
  **/
19989
- caller: PalletReviveExecOrigin;
20832
+ poolId: number;
19990
20833
 
19991
20834
  /**
19992
- * The contract that was called.
20835
+ * The new reward rate per block.
19993
20836
  **/
19994
- contract: H160;
20837
+ newRewardRatePerBlock: bigint;
19995
20838
  };
19996
20839
  }
19997
20840
  /**
19998
- * A contract delegate called a code hash.
19999
- *
20000
- * # Note
20001
- *
20002
- * Please keep in mind that like all events this is only emitted for successful
20003
- * calls. This is because on failure all storage changes including events are
20004
- * rolled back.
20841
+ * A pool admin was modified.
20005
20842
  **/
20006
20843
  | {
20007
- name: 'DelegateCalled';
20844
+ name: 'PoolAdminModified';
20008
20845
  data: {
20009
20846
  /**
20010
- * The contract that performed the delegate call and hence in whose context
20011
- * the `code_hash` is executed.
20847
+ * The modified pool.
20012
20848
  **/
20013
- contract: H160;
20849
+ poolId: number;
20014
20850
 
20015
20851
  /**
20016
- * The code hash that was delegate called.
20852
+ * The new admin.
20017
20853
  **/
20018
- codeHash: H256;
20854
+ newAdmin: AccountId32;
20019
20855
  };
20020
20856
  }
20021
20857
  /**
20022
- * Some funds have been transferred and held as storage deposit.
20858
+ * A pool expiry block was modified by the admin.
20023
20859
  **/
20024
- | { name: 'StorageDepositTransferredAndHeld'; data: { from: H160; to: H160; amount: bigint } }
20860
+ | {
20861
+ name: 'PoolExpiryBlockModified';
20862
+ data: {
20863
+ /**
20864
+ * The modified pool.
20865
+ **/
20866
+ poolId: number;
20867
+
20868
+ /**
20869
+ * The new expiry block.
20870
+ **/
20871
+ newExpiryBlock: number;
20872
+ };
20873
+ }
20025
20874
  /**
20026
- * Some storage deposit funds have been transferred and released.
20875
+ * A pool information was cleared after it's completion.
20027
20876
  **/
20028
- | { name: 'StorageDepositTransferredAndReleased'; data: { from: H160; to: H160; amount: bigint } };
20877
+ | {
20878
+ name: 'PoolCleanedUp';
20879
+ data: {
20880
+ /**
20881
+ * The cleared pool.
20882
+ **/
20883
+ poolId: number;
20884
+ };
20885
+ };
20886
+
20887
+ /**
20888
+ * The `Event` enum of this pallet
20889
+ **/
20890
+ export type PalletAssetsFreezerEvent =
20891
+ | { name: 'Frozen'; data: { who: AccountId32; assetId: number; amount: bigint } }
20892
+ | { name: 'Thawed'; data: { who: AccountId32; assetId: number; amount: bigint } };
20029
20893
 
20030
- export type PalletReviveExecOrigin = { type: 'Root' } | { type: 'Signed'; value: AccountId32 };
20894
+ /**
20895
+ * The `Event` enum of this pallet
20896
+ **/
20897
+ export type PalletMetaTxEvent =
20898
+ /**
20899
+ * A meta transaction has been dispatched.
20900
+ *
20901
+ * Contains the dispatch result of the meta transaction along with post-dispatch
20902
+ * information.
20903
+ **/
20904
+ {
20905
+ name: 'Dispatched';
20906
+ data: { result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> };
20907
+ };
20031
20908
 
20032
20909
  export type FrameSystemLastRuntimeUpgradeInfo = { specVersion: number; specName: string };
20033
20910
 
@@ -20190,6 +21067,7 @@ export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
20190
21067
  export type FrameSupportTokensMiscIdAmount = { id: KitchensinkRuntimeRuntimeHoldReason; amount: bigint };
20191
21068
 
20192
21069
  export type KitchensinkRuntimeRuntimeHoldReason =
21070
+ | { type: 'Staking'; value: PalletStakingPalletHoldReason }
20193
21071
  | { type: 'Council'; value: PalletCollectiveHoldReason }
20194
21072
  | { type: 'TechnicalCommittee'; value: PalletCollectiveHoldReason }
20195
21073
  | { type: 'Contracts'; value: PalletContractsHoldReason }
@@ -20200,7 +21078,11 @@ export type KitchensinkRuntimeRuntimeHoldReason =
20200
21078
  | { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason }
20201
21079
  | { type: 'AllianceMotion'; value: PalletCollectiveHoldReason }
20202
21080
  | { type: 'SafeMode'; value: PalletSafeModeHoldReason }
20203
- | { type: 'Revive'; value: PalletReviveHoldReason };
21081
+ | { type: 'Revive'; value: PalletReviveHoldReason }
21082
+ | { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason }
21083
+ | { type: 'AssetRewards'; value: PalletAssetRewardsHoldReason };
21084
+
21085
+ export type PalletStakingPalletHoldReason = 'Staking';
20204
21086
 
20205
21087
  export type PalletCollectiveHoldReason = 'ProposalSubmission';
20206
21088
 
@@ -20220,18 +21102,23 @@ export type PalletSafeModeHoldReason = 'EnterOrExtend';
20220
21102
 
20221
21103
  export type PalletReviveHoldReason = 'CodeUploadDepositReserve' | 'StorageDepositReserve' | 'AddressMapping';
20222
21104
 
21105
+ export type PalletDelegatedStakingHoldReason = 'StakingDelegation';
21106
+
21107
+ export type PalletAssetRewardsHoldReason = 'PoolCreation';
21108
+
20223
21109
  export type FrameSupportTokensMiscIdAmountRuntimeFreezeReason = {
20224
21110
  id: KitchensinkRuntimeRuntimeFreezeReason;
20225
21111
  amount: bigint;
20226
21112
  };
20227
21113
 
20228
- export type KitchensinkRuntimeRuntimeFreezeReason = {
20229
- type: 'NominationPools';
20230
- value: PalletNominationPoolsFreezeReason;
20231
- };
21114
+ export type KitchensinkRuntimeRuntimeFreezeReason =
21115
+ | { type: 'NominationPools'; value: PalletNominationPoolsFreezeReason }
21116
+ | { type: 'AssetRewards'; value: PalletAssetRewardsFreezeReason };
20232
21117
 
20233
21118
  export type PalletNominationPoolsFreezeReason = 'PoolMinBalance';
20234
21119
 
21120
+ export type PalletAssetRewardsFreezeReason = 'Staked';
21121
+
20235
21122
  /**
20236
21123
  * The `Error` enum of this pallet.
20237
21124
  **/
@@ -20382,6 +21269,10 @@ export type PalletStakingNominations = { targets: Array<AccountId32>; submittedI
20382
21269
 
20383
21270
  export type PalletStakingActiveEraInfo = { index: number; start?: bigint | undefined };
20384
21271
 
21272
+ export type SpStakingExposure = { total: bigint; own: bigint; others: Array<SpStakingIndividualExposure> };
21273
+
21274
+ export type SpStakingIndividualExposure = { who: AccountId32; value: bigint };
21275
+
20385
21276
  export type SpStakingPagedExposureMetadata = { total: bigint; own: bigint; nominatorCount: number; pageCount: number };
20386
21277
 
20387
21278
  export type SpStakingExposurePage = { pageTotal: bigint; others: Array<SpStakingIndividualExposure> };
@@ -20536,7 +21427,22 @@ export type PalletStakingPalletError =
20536
21427
  /**
20537
21428
  * Operation not allowed for virtual stakers.
20538
21429
  **/
20539
- | 'VirtualStakerNotAllowed';
21430
+ | 'VirtualStakerNotAllowed'
21431
+ /**
21432
+ * Stash could not be reaped as other pallet might depend on it.
21433
+ **/
21434
+ | 'CannotReapStash'
21435
+ /**
21436
+ * The stake of this account is already migrated to `Fungible` holds.
21437
+ **/
21438
+ | 'AlreadyMigrated'
21439
+ /**
21440
+ * Account is restricted from participation in staking. This may happen if the account is
21441
+ * staking in another way already, such as via pool.
21442
+ **/
21443
+ | 'Restricted';
21444
+
21445
+ export type SpStakingOffenceOffenceSeverity = Perbill;
20540
21446
 
20541
21447
  export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
20542
21448
 
@@ -21252,10 +22158,7 @@ export type PalletImOnlineError =
21252
22158
  **/
21253
22159
  | 'DuplicatedHeartbeat';
21254
22160
 
21255
- export type SpStakingOffenceOffenceDetails = {
21256
- offender: [AccountId32, SpStakingExposure];
21257
- reporters: Array<AccountId32>;
21258
- };
22161
+ export type SpStakingOffenceOffenceDetails = { offender: [AccountId32, []]; reporters: Array<AccountId32> };
21259
22162
 
21260
22163
  export type PalletIdentityRegistration = {
21261
22164
  judgements: Array<[number, PalletIdentityJudgement]>;
@@ -21858,11 +22761,12 @@ export type PalletMultisigError =
21858
22761
  **/
21859
22762
  | 'SenderInSignatories'
21860
22763
  /**
21861
- * Multisig operation not found when attempting to cancel.
22764
+ * Multisig operation not found in storage.
21862
22765
  **/
21863
22766
  | 'NotFound'
21864
22767
  /**
21865
- * Only the account that originally created the multisig is able to cancel it.
22768
+ * Only the account that originally created the multisig is able to cancel it or update
22769
+ * its deposits.
21866
22770
  **/
21867
22771
  | 'NotOwner'
21868
22772
  /**
@@ -22130,7 +23034,15 @@ export type PalletAssetsError =
22130
23034
  /**
22131
23035
  * The asset ID must be equal to the [`NextAssetId`].
22132
23036
  **/
22133
- | 'BadAssetId';
23037
+ | 'BadAssetId'
23038
+ /**
23039
+ * The asset cannot be destroyed because some accounts for this asset contain freezes.
23040
+ **/
23041
+ | 'ContainsFreezes'
23042
+ /**
23043
+ * The asset cannot be destroyed because some accounts for this asset contain holds.
23044
+ **/
23045
+ | 'ContainsHolds';
22134
23046
 
22135
23047
  /**
22136
23048
  * The `Error` enum of this pallet.
@@ -22900,7 +23812,7 @@ export type PalletReferendaDeposit = { who: AccountId32; amount: bigint };
22900
23812
 
22901
23813
  export type PalletReferendaDecidingStatus = { since: number; confirming?: number | undefined };
22902
23814
 
22903
- export type PalletReferendaTrackInfo = {
23815
+ export type PalletReferendaTrackDetailsStr = {
22904
23816
  name: string;
22905
23817
  maxDeciding: number;
22906
23818
  decisionDeposit: bigint;
@@ -22912,11 +23824,6 @@ export type PalletReferendaTrackInfo = {
22912
23824
  minSupport: PalletReferendaCurve;
22913
23825
  };
22914
23826
 
22915
- export type PalletReferendaCurve =
22916
- | { type: 'LinearDecreasing'; value: { length: Perbill; floor: Perbill; ceil: Perbill } }
22917
- | { type: 'SteppedDecreasing'; value: { begin: Perbill; end: Perbill; step: Perbill; period: Perbill } }
22918
- | { type: 'Reciprocal'; value: { factor: FixedI64; xOffset: FixedI64; yOffset: FixedI64 } };
22919
-
22920
23827
  /**
22921
23828
  * The `Error` enum of this pallet.
22922
23829
  **/
@@ -23385,6 +24292,10 @@ export type PalletNominationPoolsError =
23385
24292
  * No slash pending that can be applied to the member.
23386
24293
  **/
23387
24294
  | { name: 'NothingToSlash' }
24295
+ /**
24296
+ * The slash amount is too low to be applied.
24297
+ **/
24298
+ | { name: 'SlashTooLow' }
23388
24299
  /**
23389
24300
  * The pool or member delegation has already migrated to delegate stake.
23390
24301
  **/
@@ -23396,7 +24307,12 @@ export type PalletNominationPoolsError =
23396
24307
  /**
23397
24308
  * This call is not allowed in the current state of the pallet.
23398
24309
  **/
23399
- | { name: 'NotSupported' };
24310
+ | { name: 'NotSupported' }
24311
+ /**
24312
+ * Account is restricted from participation in pools. This may happen if the account is
24313
+ * staking in another way already.
24314
+ **/
24315
+ | { name: 'Restricted' };
23400
24316
 
23401
24317
  export type PalletNominationPoolsDefensiveError =
23402
24318
  | 'NotEnoughSpaceInUnbondPool'
@@ -23868,6 +24784,10 @@ export type PalletBrokerError =
23868
24784
  * The maximum amount of leases has already been reached.
23869
24785
  **/
23870
24786
  | 'TooManyLeases'
24787
+ /**
24788
+ * The lease does not exist.
24789
+ **/
24790
+ | 'LeaseNotFound'
23871
24791
  /**
23872
24792
  * The revenue for the Instantaneous Core Sales of this period is not (yet) known and thus
23873
24793
  * this operation cannot proceed.
@@ -23929,7 +24849,16 @@ export type PalletBrokerError =
23929
24849
  /**
23930
24850
  * Attempted to disable auto-renewal for a core that didn't have it enabled.
23931
24851
  **/
23932
- | 'AutoRenewalNotEnabled';
24852
+ | 'AutoRenewalNotEnabled'
24853
+ /**
24854
+ * Attempted to force remove an assignment that doesn't exist.
24855
+ **/
24856
+ | 'AssignmentNotFound'
24857
+ /**
24858
+ * Needed to prevent spam attacks.The amount of credits the user attempted to purchase is
24859
+ * below `T::MinimumCreditPurchase`.
24860
+ **/
24861
+ | 'CreditPurchaseTooSmall';
23933
24862
 
23934
24863
  /**
23935
24864
  * The `Error` enum of this pallet.
@@ -23966,7 +24895,6 @@ export type PalletReviveWasmCodeInfo = {
23966
24895
  deposit: bigint;
23967
24896
  refcount: bigint;
23968
24897
  codeLen: number;
23969
- apiVersion: number;
23970
24898
  behaviourVersion: number;
23971
24899
  };
23972
24900
 
@@ -23978,7 +24906,6 @@ export type PalletReviveStorageContractInfo = {
23978
24906
  storageByteDeposit: bigint;
23979
24907
  storageItemDeposit: bigint;
23980
24908
  storageBaseDeposit: bigint;
23981
- delegateDependencies: Array<[H256, bigint]>;
23982
24909
  immutableDataLen: number;
23983
24910
  };
23984
24911
 
@@ -24162,6 +25089,10 @@ export type PalletReviveError =
24162
25089
  * Failed to convert a U256 to a Balance.
24163
25090
  **/
24164
25091
  | 'BalanceConversionFailed'
25092
+ /**
25093
+ * Failed to convert an EVM balance to a native balance.
25094
+ **/
25095
+ | 'DecimalPrecisionLoss'
24165
25096
  /**
24166
25097
  * Immutable data can only be set during deploys and only be read during calls.
24167
25098
  * Additionally, it is only valid to set the data once and it must not be empty.
@@ -24176,19 +25107,186 @@ export type PalletReviveError =
24176
25107
  /**
24177
25108
  * Tried to map an account that is already mapped.
24178
25109
  **/
24179
- | 'AccountAlreadyMapped';
25110
+ | 'AccountAlreadyMapped'
25111
+ /**
25112
+ * The transaction used to dry-run a contract is invalid.
25113
+ **/
25114
+ | 'InvalidGenericTransaction'
25115
+ /**
25116
+ * The refcount of a code either over or underflowed.
25117
+ **/
25118
+ | 'RefcountOverOrUnderflow'
25119
+ /**
25120
+ * Unsupported precompile address
25121
+ **/
25122
+ | 'UnsupportedPrecompileAddress'
25123
+ /**
25124
+ * Precompile Error
25125
+ **/
25126
+ | 'PrecompileFailure';
24180
25127
 
24181
- export type FrameSystemExtensionsCheckNonZeroSender = {};
25128
+ export type PalletDelegatedStakingDelegation = { agent: AccountId32; amount: bigint };
24182
25129
 
24183
- export type FrameSystemExtensionsCheckSpecVersion = {};
25130
+ export type PalletDelegatedStakingAgentLedger = {
25131
+ payee: AccountId32;
25132
+ totalDelegated: bigint;
25133
+ unclaimedWithdrawals: bigint;
25134
+ pendingSlash: bigint;
25135
+ };
24184
25136
 
24185
- export type FrameSystemExtensionsCheckTxVersion = {};
25137
+ /**
25138
+ * The `Error` enum of this pallet.
25139
+ **/
25140
+ export type PalletDelegatedStakingError =
25141
+ /**
25142
+ * The account cannot perform this operation.
25143
+ **/
25144
+ | 'NotAllowed'
25145
+ /**
25146
+ * An existing staker cannot perform this action.
25147
+ **/
25148
+ | 'AlreadyStaking'
25149
+ /**
25150
+ * Reward Destination cannot be same as `Agent` account.
25151
+ **/
25152
+ | 'InvalidRewardDestination'
25153
+ /**
25154
+ * Delegation conditions are not met.
25155
+ *
25156
+ * Possible issues are
25157
+ * 1) Cannot delegate to self,
25158
+ * 2) Cannot delegate to multiple delegates.
25159
+ **/
25160
+ | 'InvalidDelegation'
25161
+ /**
25162
+ * The account does not have enough funds to perform the operation.
25163
+ **/
25164
+ | 'NotEnoughFunds'
25165
+ /**
25166
+ * Not an existing `Agent` account.
25167
+ **/
25168
+ | 'NotAgent'
25169
+ /**
25170
+ * Not a Delegator account.
25171
+ **/
25172
+ | 'NotDelegator'
25173
+ /**
25174
+ * Some corruption in internal state.
25175
+ **/
25176
+ | 'BadState'
25177
+ /**
25178
+ * Unapplied pending slash restricts operation on `Agent`.
25179
+ **/
25180
+ | 'UnappliedSlash'
25181
+ /**
25182
+ * `Agent` has no pending slash to be applied.
25183
+ **/
25184
+ | 'NothingToSlash'
25185
+ /**
25186
+ * Failed to withdraw amount from Core Staking.
25187
+ **/
25188
+ | 'WithdrawFailed'
25189
+ /**
25190
+ * Operation not supported by this pallet.
25191
+ **/
25192
+ | 'NotSupported';
24186
25193
 
24187
- export type FrameSystemExtensionsCheckGenesis = {};
25194
+ export type PalletAssetRewardsPoolStakerInfo = { amount: bigint; rewards: bigint; rewardPerTokenPaid: bigint };
24188
25195
 
24189
- export type FrameSystemExtensionsCheckMortality = Era;
25196
+ export type PalletAssetRewardsPoolInfo = {
25197
+ stakedAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
25198
+ rewardAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
25199
+ rewardRatePerBlock: bigint;
25200
+ expiryBlock: number;
25201
+ admin: AccountId32;
25202
+ totalTokensStaked: bigint;
25203
+ rewardPerTokenStored: bigint;
25204
+ lastUpdateBlock: number;
25205
+ account: AccountId32;
25206
+ };
24190
25207
 
24191
- export type FrameSystemExtensionsCheckNonce = number;
25208
+ /**
25209
+ * The `Error` enum of this pallet.
25210
+ **/
25211
+ export type PalletAssetRewardsError =
25212
+ /**
25213
+ * The staker does not have enough tokens to perform the operation.
25214
+ **/
25215
+ | 'NotEnoughTokens'
25216
+ /**
25217
+ * An operation was attempted on a non-existent pool.
25218
+ **/
25219
+ | 'NonExistentPool'
25220
+ /**
25221
+ * An operation was attempted for a non-existent staker.
25222
+ **/
25223
+ | 'NonExistentStaker'
25224
+ /**
25225
+ * An operation was attempted with a non-existent asset.
25226
+ **/
25227
+ | 'NonExistentAsset'
25228
+ /**
25229
+ * There was an error converting a block number.
25230
+ **/
25231
+ | 'BlockNumberConversionError'
25232
+ /**
25233
+ * The expiry block must be in the future.
25234
+ **/
25235
+ | 'ExpiryBlockMustBeInTheFuture'
25236
+ /**
25237
+ * Insufficient funds to create the freeze.
25238
+ **/
25239
+ | 'InsufficientFunds'
25240
+ /**
25241
+ * The expiry block can be only extended.
25242
+ **/
25243
+ | 'ExpiryCut'
25244
+ /**
25245
+ * The reward rate per block can be only increased.
25246
+ **/
25247
+ | 'RewardRateCut'
25248
+ /**
25249
+ * The pool still has staked tokens or rewards.
25250
+ **/
25251
+ | 'NonEmptyPool';
25252
+
25253
+ /**
25254
+ * The `Error` enum of this pallet.
25255
+ **/
25256
+ export type PalletAssetsFreezerError =
25257
+ /**
25258
+ * Number of freezes on an account would exceed `MaxFreezes`.
25259
+ **/
25260
+ 'TooManyFreezes';
25261
+
25262
+ /**
25263
+ * The `Error` enum of this pallet.
25264
+ **/
25265
+ export type PalletMetaTxError =
25266
+ /**
25267
+ * Invalid proof (e.g. signature).
25268
+ **/
25269
+ | 'BadProof'
25270
+ /**
25271
+ * The meta transaction is not yet valid (e.g. nonce too high).
25272
+ **/
25273
+ | 'Future'
25274
+ /**
25275
+ * The meta transaction is outdated (e.g. nonce too low).
25276
+ **/
25277
+ | 'Stale'
25278
+ /**
25279
+ * The meta transactions's birth block is ancient.
25280
+ **/
25281
+ | 'AncientBirthBlock'
25282
+ /**
25283
+ * The transaction extension did not authorize any origin.
25284
+ **/
25285
+ | 'UnknownOrigin'
25286
+ /**
25287
+ * The meta transaction is invalid.
25288
+ **/
25289
+ | 'Invalid';
24192
25290
 
24193
25291
  export type FrameSystemExtensionsCheckWeight = {};
24194
25292
 
@@ -24197,9 +25295,7 @@ export type PalletAssetConversionTxPaymentChargeAssetTxPayment = {
24197
25295
  assetId?: FrameSupportTokensFungibleUnionOfNativeOrWithId | undefined;
24198
25296
  };
24199
25297
 
24200
- export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
24201
-
24202
- export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
25298
+ export type FrameSystemExtensionsWeightReclaim = {};
24203
25299
 
24204
25300
  export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
24205
25301
 
@@ -24207,6 +25303,13 @@ export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
24207
25303
 
24208
25304
  export type SpCoreOpaqueMetadata = Bytes;
24209
25305
 
25306
+ export type FrameSupportViewFunctionsViewFunctionId = { prefix: FixedBytes<16>; suffix: FixedBytes<16> };
25307
+
25308
+ export type FrameSupportViewFunctionsViewFunctionDispatchError =
25309
+ | { type: 'NotImplemented' }
25310
+ | { type: 'NotFound'; value: FrameSupportViewFunctionsViewFunctionId }
25311
+ | { type: 'Codec' };
25312
+
24210
25313
  export type SpRuntimeTransactionValidityTransactionValidityError =
24211
25314
  | { type: 'Invalid'; value: SpRuntimeTransactionValidityInvalidTransaction }
24212
25315
  | { type: 'Unknown'; value: SpRuntimeTransactionValidityUnknownTransaction };
@@ -24314,9 +25417,7 @@ export type PalletRevivePrimitivesContractResult = {
24314
25417
  gasConsumed: SpWeightsWeightV2Weight;
24315
25418
  gasRequired: SpWeightsWeightV2Weight;
24316
25419
  storageDeposit: PalletRevivePrimitivesStorageDeposit;
24317
- debugMessage: Bytes;
24318
25420
  result: Result<PalletRevivePrimitivesExecReturnValue, DispatchError>;
24319
- events?: Array<FrameSystemEventRecord> | undefined;
24320
25421
  };
24321
25422
 
24322
25423
  export type PalletRevivePrimitivesExecReturnValue = { flags: PalletReviveUapiFlagsReturnFlags; data: Bytes };
@@ -24333,9 +25434,7 @@ export type PalletRevivePrimitivesContractResultInstantiateReturnValue = {
24333
25434
  gasConsumed: SpWeightsWeightV2Weight;
24334
25435
  gasRequired: SpWeightsWeightV2Weight;
24335
25436
  storageDeposit: PalletRevivePrimitivesStorageDeposit;
24336
- debugMessage: Bytes;
24337
25437
  result: Result<PalletRevivePrimitivesInstantiateReturnValue, DispatchError>;
24338
- events?: Array<FrameSystemEventRecord> | undefined;
24339
25438
  };
24340
25439
 
24341
25440
  export type PalletRevivePrimitivesInstantiateReturnValue = {
@@ -24343,17 +25442,76 @@ export type PalletRevivePrimitivesInstantiateReturnValue = {
24343
25442
  addr: H160;
24344
25443
  };
24345
25444
 
24346
- export type PalletRevivePrimitivesEthContractResult = {
24347
- fee: bigint;
25445
+ export type PalletReviveEvmApiRpcTypesGenGenericTransaction = {
25446
+ accessList?: Array<PalletReviveEvmApiRpcTypesGenAccessListEntry> | undefined;
25447
+ blobVersionedHashes: Array<H256>;
25448
+ blobs: Array<PalletReviveEvmApiByteBytes>;
25449
+ chainId?: U256 | undefined;
25450
+ from?: H160 | undefined;
25451
+ gas?: U256 | undefined;
25452
+ gasPrice?: U256 | undefined;
25453
+ input: PalletReviveEvmApiRpcTypesGenInputOrData;
25454
+ maxFeePerBlobGas?: U256 | undefined;
25455
+ maxFeePerGas?: U256 | undefined;
25456
+ maxPriorityFeePerGas?: U256 | undefined;
25457
+ nonce?: U256 | undefined;
25458
+ to?: H160 | undefined;
25459
+ rType?: PalletReviveEvmApiByte | undefined;
25460
+ value?: U256 | undefined;
25461
+ };
25462
+
25463
+ export type PalletReviveEvmApiRpcTypesGenAccessListEntry = { address: H160; storageKeys: Array<H256> };
25464
+
25465
+ export type PalletReviveEvmApiByteBytes = Bytes;
25466
+
25467
+ export type PalletReviveEvmApiRpcTypesGenInputOrData = {
25468
+ input?: PalletReviveEvmApiByteBytes | undefined;
25469
+ data?: PalletReviveEvmApiByteBytes | undefined;
25470
+ };
25471
+
25472
+ export type PalletReviveEvmApiByte = number;
25473
+
25474
+ export type PalletRevivePrimitivesEthTransactInfo = {
24348
25475
  gasRequired: SpWeightsWeightV2Weight;
24349
25476
  storageDeposit: bigint;
24350
- result: Result<Bytes, DispatchError>;
25477
+ ethGas: U256;
25478
+ data: Bytes;
24351
25479
  };
24352
25480
 
25481
+ export type PalletRevivePrimitivesEthTransactError =
25482
+ | { type: 'Data'; value: Bytes }
25483
+ | { type: 'Message'; value: string };
25484
+
24353
25485
  export type PalletRevivePrimitivesCodeUploadReturnValue = { codeHash: H256; deposit: bigint };
24354
25486
 
24355
25487
  export type PalletRevivePrimitivesContractAccessError = 'DoesntExist' | 'KeyDecodingFailed';
24356
25488
 
25489
+ export type PalletReviveEvmApiDebugRpcTypesTracerConfig = { type: 'CallTracer'; value: { withLogs: boolean } };
25490
+
25491
+ export type PalletReviveEvmApiDebugRpcTypesCallTrace = {
25492
+ from: H160;
25493
+ gas: U256;
25494
+ gasUsed: U256;
25495
+ to: H160;
25496
+ input: PalletReviveEvmApiByteBytes;
25497
+ output: PalletReviveEvmApiByteBytes;
25498
+ error?: string | undefined;
25499
+ revertReason?: string | undefined;
25500
+ calls: Array<PalletReviveEvmApiDebugRpcTypesCallTrace>;
25501
+ logs: Array<PalletReviveEvmApiDebugRpcTypesCallLog>;
25502
+ value?: U256 | undefined;
25503
+ callType: PalletReviveEvmApiDebugRpcTypesCallType;
25504
+ };
25505
+
25506
+ export type PalletReviveEvmApiDebugRpcTypesCallLog = {
25507
+ address: H160;
25508
+ topics: Array<H256>;
25509
+ data: PalletReviveEvmApiByteBytes;
25510
+ position: number;
25511
+ };
25512
+
25513
+ export type PalletReviveEvmApiDebugRpcTypesCallType = 'Call' | 'StaticCall' | 'DelegateCall';
25514
+
24357
25515
  export type PalletTransactionPaymentRuntimeDispatchInfo = {
24358
25516
  weight: SpWeightsWeightV2Weight;
24359
25517
  class: FrameSupportDispatchDispatchClass;
@@ -24462,4 +25620,8 @@ export type KitchensinkRuntimeRuntimeError =
24462
25620
  | { pallet: 'Broker'; palletError: PalletBrokerError }
24463
25621
  | { pallet: 'TasksExample'; palletError: PalletExampleTasksError }
24464
25622
  | { pallet: 'AssetConversionMigration'; palletError: PalletAssetConversionOpsError }
24465
- | { pallet: 'Revive'; palletError: PalletReviveError };
25623
+ | { pallet: 'Revive'; palletError: PalletReviveError }
25624
+ | { pallet: 'DelegatedStaking'; palletError: PalletDelegatedStakingError }
25625
+ | { pallet: 'AssetRewards'; palletError: PalletAssetRewardsError }
25626
+ | { pallet: 'AssetsFreezer'; palletError: PalletAssetsFreezerError }
25627
+ | { pallet: 'MetaTx'; palletError: PalletMetaTxError };