@dedot/api 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chaintypes/substrate/consts.d.ts +81 -11
- package/chaintypes/substrate/errors.d.ts +230 -2
- package/chaintypes/substrate/events.d.ts +335 -85
- package/chaintypes/substrate/query.d.ts +132 -19
- package/chaintypes/substrate/runtime.d.ts +92 -11
- package/chaintypes/substrate/tx.d.ts +559 -27
- package/chaintypes/substrate/types.d.ts +1752 -258
- package/cjs/extrinsic/submittable/BaseSubmittableExtrinsic.js +28 -3
- package/cjs/extrinsic/submittable/SubmittableExtrinsic.js +30 -22
- package/cjs/extrinsic/submittable/SubmittableExtrinsicV2.js +31 -22
- package/cjs/extrinsic/submittable/errors.js +10 -1
- package/cjs/extrinsic/submittable/utils.js +39 -1
- package/extrinsic/submittable/BaseSubmittableExtrinsic.d.ts +7 -7
- package/extrinsic/submittable/BaseSubmittableExtrinsic.js +29 -4
- package/extrinsic/submittable/SubmittableExtrinsic.d.ts +4 -4
- package/extrinsic/submittable/SubmittableExtrinsic.js +31 -23
- package/extrinsic/submittable/SubmittableExtrinsicV2.d.ts +3 -4
- package/extrinsic/submittable/SubmittableExtrinsicV2.js +32 -23
- package/extrinsic/submittable/errors.d.ts +6 -0
- package/extrinsic/submittable/errors.js +8 -0
- package/extrinsic/submittable/utils.d.ts +8 -2
- package/extrinsic/submittable/utils.js +38 -1
- package/package.json +9 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccountId32, AccountId32Like, Bytes, BytesLike, Data, DispatchError, Era, FixedArray, FixedBytes, FixedI64, FixedU128, FixedU64, H160, H256, Header, MultiAddress, MultiAddressLike, PerU16, Perbill, Percent, Permill, Perquintill, Phase, Result, UncheckedExtrinsic } from '@dedot/codecs';
|
|
1
|
+
import type { AccountId32, AccountId32Like, Bytes, BytesLike, Data, DispatchError, Era, FixedArray, FixedBytes, FixedI64, FixedU128, FixedU64, H160, H256, Header, MultiAddress, MultiAddressLike, PerU16, Perbill, Percent, Permill, Perquintill, Phase, Result, U256, UncheckedExtrinsic } from '@dedot/codecs';
|
|
2
2
|
export type FrameSystemAccountInfo = {
|
|
3
3
|
nonce: number;
|
|
4
4
|
consumers: number;
|
|
@@ -231,6 +231,18 @@ export type KitchensinkRuntimeRuntimeEvent = {
|
|
|
231
231
|
} | {
|
|
232
232
|
pallet: 'Revive';
|
|
233
233
|
palletEvent: PalletReviveEvent;
|
|
234
|
+
} | {
|
|
235
|
+
pallet: 'DelegatedStaking';
|
|
236
|
+
palletEvent: PalletDelegatedStakingEvent;
|
|
237
|
+
} | {
|
|
238
|
+
pallet: 'AssetRewards';
|
|
239
|
+
palletEvent: PalletAssetRewardsEvent;
|
|
240
|
+
} | {
|
|
241
|
+
pallet: 'AssetsFreezer';
|
|
242
|
+
palletEvent: PalletAssetsFreezerEvent;
|
|
243
|
+
} | {
|
|
244
|
+
pallet: 'MetaTx';
|
|
245
|
+
palletEvent: PalletMetaTxEvent;
|
|
234
246
|
};
|
|
235
247
|
/**
|
|
236
248
|
* Event for the System pallet.
|
|
@@ -298,6 +310,16 @@ export type FrameSystemEvent =
|
|
|
298
310
|
codeHash: H256;
|
|
299
311
|
checkVersion: boolean;
|
|
300
312
|
};
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
316
|
+
**/
|
|
317
|
+
| {
|
|
318
|
+
name: 'RejectedInvalidAuthorizedUpgrade';
|
|
319
|
+
data: {
|
|
320
|
+
codeHash: H256;
|
|
321
|
+
error: DispatchError;
|
|
322
|
+
};
|
|
301
323
|
};
|
|
302
324
|
export type FrameSystemDispatchEventInfo = {
|
|
303
325
|
weight: SpWeightsWeightV2Weight;
|
|
@@ -357,6 +379,21 @@ export type PalletUtilityEvent =
|
|
|
357
379
|
data: {
|
|
358
380
|
result: Result<[], DispatchError>;
|
|
359
381
|
};
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Main call was dispatched.
|
|
385
|
+
**/
|
|
386
|
+
| {
|
|
387
|
+
name: 'IfElseMainSuccess';
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* The fallback call was dispatched.
|
|
391
|
+
**/
|
|
392
|
+
| {
|
|
393
|
+
name: 'IfElseFallbackCalled';
|
|
394
|
+
data: {
|
|
395
|
+
mainError: DispatchError;
|
|
396
|
+
};
|
|
360
397
|
};
|
|
361
398
|
/**
|
|
362
399
|
* The `Event` enum of this pallet
|
|
@@ -390,6 +427,18 @@ export type PalletIndicesEvent =
|
|
|
390
427
|
index: number;
|
|
391
428
|
who: AccountId32;
|
|
392
429
|
};
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* A deposit to reserve an index has been poked/reconsidered.
|
|
433
|
+
**/
|
|
434
|
+
| {
|
|
435
|
+
name: 'DepositPoked';
|
|
436
|
+
data: {
|
|
437
|
+
who: AccountId32;
|
|
438
|
+
index: number;
|
|
439
|
+
oldDeposit: bigint;
|
|
440
|
+
newDeposit: bigint;
|
|
441
|
+
};
|
|
393
442
|
};
|
|
394
443
|
/**
|
|
395
444
|
* The `Event` enum of this pallet
|
|
@@ -933,6 +982,17 @@ export type PalletStakingPalletEvent =
|
|
|
933
982
|
data: {
|
|
934
983
|
failures: number;
|
|
935
984
|
};
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
* Staking balance migrated from locks to holds, with any balance that could not be held
|
|
988
|
+
* is force withdrawn.
|
|
989
|
+
**/
|
|
990
|
+
| {
|
|
991
|
+
name: 'CurrencyMigrated';
|
|
992
|
+
data: {
|
|
993
|
+
stash: AccountId32;
|
|
994
|
+
forceWithdraw: bigint;
|
|
995
|
+
};
|
|
936
996
|
};
|
|
937
997
|
export type PalletStakingRewardDestination = {
|
|
938
998
|
type: 'Staked';
|
|
@@ -964,6 +1024,24 @@ export type PalletSessionEvent =
|
|
|
964
1024
|
data: {
|
|
965
1025
|
sessionIndex: number;
|
|
966
1026
|
};
|
|
1027
|
+
}
|
|
1028
|
+
/**
|
|
1029
|
+
* Validator has been disabled.
|
|
1030
|
+
**/
|
|
1031
|
+
| {
|
|
1032
|
+
name: 'ValidatorDisabled';
|
|
1033
|
+
data: {
|
|
1034
|
+
validator: AccountId32;
|
|
1035
|
+
};
|
|
1036
|
+
}
|
|
1037
|
+
/**
|
|
1038
|
+
* Validator has been re-enabled.
|
|
1039
|
+
**/
|
|
1040
|
+
| {
|
|
1041
|
+
name: 'ValidatorReenabled';
|
|
1042
|
+
data: {
|
|
1043
|
+
validator: AccountId32;
|
|
1044
|
+
};
|
|
967
1045
|
};
|
|
968
1046
|
/**
|
|
969
1047
|
* The `Event` enum of this pallet
|
|
@@ -1292,7 +1370,7 @@ export type PalletCollectiveEvent =
|
|
|
1292
1370
|
export type PalletElectionsPhragmenEvent =
|
|
1293
1371
|
/**
|
|
1294
1372
|
* A new term with new_members. This indicates that enough candidates existed to run
|
|
1295
|
-
* the election, not that enough have
|
|
1373
|
+
* the election, not that enough have been elected. The inner value must be examined
|
|
1296
1374
|
* for this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond
|
|
1297
1375
|
* slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to
|
|
1298
1376
|
* begin with.
|
|
@@ -1802,19 +1880,10 @@ export type PalletImOnlineEvent =
|
|
|
1802
1880
|
| {
|
|
1803
1881
|
name: 'SomeOffline';
|
|
1804
1882
|
data: {
|
|
1805
|
-
offline: Array<[AccountId32,
|
|
1883
|
+
offline: Array<[AccountId32, []]>;
|
|
1806
1884
|
};
|
|
1807
1885
|
};
|
|
1808
1886
|
export type PalletImOnlineSr25519AppSr25519Public = FixedBytes<32>;
|
|
1809
|
-
export type SpStakingExposure = {
|
|
1810
|
-
total: bigint;
|
|
1811
|
-
own: bigint;
|
|
1812
|
-
others: Array<SpStakingIndividualExposure>;
|
|
1813
|
-
};
|
|
1814
|
-
export type SpStakingIndividualExposure = {
|
|
1815
|
-
who: AccountId32;
|
|
1816
|
-
value: bigint;
|
|
1817
|
-
};
|
|
1818
1887
|
/**
|
|
1819
1888
|
* Events type.
|
|
1820
1889
|
**/
|
|
@@ -2413,6 +2482,15 @@ export type PalletSchedulerEvent =
|
|
|
2413
2482
|
task: [number, number];
|
|
2414
2483
|
id?: FixedBytes<32> | undefined;
|
|
2415
2484
|
};
|
|
2485
|
+
}
|
|
2486
|
+
/**
|
|
2487
|
+
* Agenda is incomplete from `when`.
|
|
2488
|
+
**/
|
|
2489
|
+
| {
|
|
2490
|
+
name: 'AgendaIncomplete';
|
|
2491
|
+
data: {
|
|
2492
|
+
when: number;
|
|
2493
|
+
};
|
|
2416
2494
|
};
|
|
2417
2495
|
/**
|
|
2418
2496
|
* The `Event` enum of this pallet
|
|
@@ -2557,8 +2635,21 @@ export type PalletProxyEvent =
|
|
|
2557
2635
|
proxyType: KitchensinkRuntimeProxyType;
|
|
2558
2636
|
delay: number;
|
|
2559
2637
|
};
|
|
2638
|
+
}
|
|
2639
|
+
/**
|
|
2640
|
+
* A deposit stored for proxies or announcements was poked / updated.
|
|
2641
|
+
**/
|
|
2642
|
+
| {
|
|
2643
|
+
name: 'DepositPoked';
|
|
2644
|
+
data: {
|
|
2645
|
+
who: AccountId32;
|
|
2646
|
+
kind: PalletProxyDepositKind;
|
|
2647
|
+
oldDeposit: bigint;
|
|
2648
|
+
newDeposit: bigint;
|
|
2649
|
+
};
|
|
2560
2650
|
};
|
|
2561
2651
|
export type KitchensinkRuntimeProxyType = 'Any' | 'NonTransfer' | 'Governance' | 'Staking';
|
|
2652
|
+
export type PalletProxyDepositKind = 'Proxies' | 'Announcements';
|
|
2562
2653
|
/**
|
|
2563
2654
|
* The `Event` enum of this pallet
|
|
2564
2655
|
**/
|
|
@@ -2610,6 +2701,18 @@ export type PalletMultisigEvent =
|
|
|
2610
2701
|
multisig: AccountId32;
|
|
2611
2702
|
callHash: FixedBytes<32>;
|
|
2612
2703
|
};
|
|
2704
|
+
}
|
|
2705
|
+
/**
|
|
2706
|
+
* The deposit for a multisig operation has been updated/poked.
|
|
2707
|
+
**/
|
|
2708
|
+
| {
|
|
2709
|
+
name: 'DepositPoked';
|
|
2710
|
+
data: {
|
|
2711
|
+
who: AccountId32;
|
|
2712
|
+
callHash: FixedBytes<32>;
|
|
2713
|
+
oldDeposit: bigint;
|
|
2714
|
+
newDeposit: bigint;
|
|
2715
|
+
};
|
|
2613
2716
|
};
|
|
2614
2717
|
export type PalletMultisigTimepoint = {
|
|
2615
2718
|
height: number;
|
|
@@ -4827,6 +4930,12 @@ export type KitchensinkRuntimeRuntimeCall = {
|
|
|
4827
4930
|
} | {
|
|
4828
4931
|
pallet: 'Revive';
|
|
4829
4932
|
palletCall: PalletReviveCall;
|
|
4933
|
+
} | {
|
|
4934
|
+
pallet: 'AssetRewards';
|
|
4935
|
+
palletCall: PalletAssetRewardsCall;
|
|
4936
|
+
} | {
|
|
4937
|
+
pallet: 'MetaTx';
|
|
4938
|
+
palletCall: PalletMetaTxCall;
|
|
4830
4939
|
};
|
|
4831
4940
|
export type KitchensinkRuntimeRuntimeCallLike = {
|
|
4832
4941
|
pallet: 'System';
|
|
@@ -5029,6 +5138,12 @@ export type KitchensinkRuntimeRuntimeCallLike = {
|
|
|
5029
5138
|
} | {
|
|
5030
5139
|
pallet: 'Revive';
|
|
5031
5140
|
palletCall: PalletReviveCallLike;
|
|
5141
|
+
} | {
|
|
5142
|
+
pallet: 'AssetRewards';
|
|
5143
|
+
palletCall: PalletAssetRewardsCallLike;
|
|
5144
|
+
} | {
|
|
5145
|
+
pallet: 'MetaTx';
|
|
5146
|
+
palletCall: PalletMetaTxCallLike;
|
|
5032
5147
|
};
|
|
5033
5148
|
/**
|
|
5034
5149
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -5410,6 +5525,52 @@ export type PalletUtilityCall =
|
|
|
5410
5525
|
call: KitchensinkRuntimeRuntimeCall;
|
|
5411
5526
|
weight: SpWeightsWeightV2Weight;
|
|
5412
5527
|
};
|
|
5528
|
+
}
|
|
5529
|
+
/**
|
|
5530
|
+
* Dispatch a fallback call in the event the main call fails to execute.
|
|
5531
|
+
* May be called from any origin except `None`.
|
|
5532
|
+
*
|
|
5533
|
+
* This function first attempts to dispatch the `main` call.
|
|
5534
|
+
* If the `main` call fails, the `fallback` is attemted.
|
|
5535
|
+
* if the fallback is successfully dispatched, the weights of both calls
|
|
5536
|
+
* are accumulated and an event containing the main call error is deposited.
|
|
5537
|
+
*
|
|
5538
|
+
* In the event of a fallback failure the whole call fails
|
|
5539
|
+
* with the weights returned.
|
|
5540
|
+
*
|
|
5541
|
+
* - `main`: The main call to be dispatched. This is the primary action to execute.
|
|
5542
|
+
* - `fallback`: The fallback call to be dispatched in case the `main` call fails.
|
|
5543
|
+
*
|
|
5544
|
+
* ## Dispatch Logic
|
|
5545
|
+
* - If the origin is `root`, both the main and fallback calls are executed without
|
|
5546
|
+
* applying any origin filters.
|
|
5547
|
+
* - If the origin is not `root`, the origin filter is applied to both the `main` and
|
|
5548
|
+
* `fallback` calls.
|
|
5549
|
+
*
|
|
5550
|
+
* ## Use Case
|
|
5551
|
+
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
5552
|
+
* or both.
|
|
5553
|
+
**/
|
|
5554
|
+
| {
|
|
5555
|
+
name: 'IfElse';
|
|
5556
|
+
params: {
|
|
5557
|
+
main: KitchensinkRuntimeRuntimeCall;
|
|
5558
|
+
fallback: KitchensinkRuntimeRuntimeCall;
|
|
5559
|
+
};
|
|
5560
|
+
}
|
|
5561
|
+
/**
|
|
5562
|
+
* Dispatches a function call with a provided origin.
|
|
5563
|
+
*
|
|
5564
|
+
* Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
|
|
5565
|
+
*
|
|
5566
|
+
* The dispatch origin for this call must be _Root_.
|
|
5567
|
+
**/
|
|
5568
|
+
| {
|
|
5569
|
+
name: 'DispatchAsFallible';
|
|
5570
|
+
params: {
|
|
5571
|
+
asOrigin: KitchensinkRuntimeOriginCaller;
|
|
5572
|
+
call: KitchensinkRuntimeRuntimeCall;
|
|
5573
|
+
};
|
|
5413
5574
|
};
|
|
5414
5575
|
export type PalletUtilityCallLike =
|
|
5415
5576
|
/**
|
|
@@ -5531,6 +5692,52 @@ export type PalletUtilityCallLike =
|
|
|
5531
5692
|
call: KitchensinkRuntimeRuntimeCallLike;
|
|
5532
5693
|
weight: SpWeightsWeightV2Weight;
|
|
5533
5694
|
};
|
|
5695
|
+
}
|
|
5696
|
+
/**
|
|
5697
|
+
* Dispatch a fallback call in the event the main call fails to execute.
|
|
5698
|
+
* May be called from any origin except `None`.
|
|
5699
|
+
*
|
|
5700
|
+
* This function first attempts to dispatch the `main` call.
|
|
5701
|
+
* If the `main` call fails, the `fallback` is attemted.
|
|
5702
|
+
* if the fallback is successfully dispatched, the weights of both calls
|
|
5703
|
+
* are accumulated and an event containing the main call error is deposited.
|
|
5704
|
+
*
|
|
5705
|
+
* In the event of a fallback failure the whole call fails
|
|
5706
|
+
* with the weights returned.
|
|
5707
|
+
*
|
|
5708
|
+
* - `main`: The main call to be dispatched. This is the primary action to execute.
|
|
5709
|
+
* - `fallback`: The fallback call to be dispatched in case the `main` call fails.
|
|
5710
|
+
*
|
|
5711
|
+
* ## Dispatch Logic
|
|
5712
|
+
* - If the origin is `root`, both the main and fallback calls are executed without
|
|
5713
|
+
* applying any origin filters.
|
|
5714
|
+
* - If the origin is not `root`, the origin filter is applied to both the `main` and
|
|
5715
|
+
* `fallback` calls.
|
|
5716
|
+
*
|
|
5717
|
+
* ## Use Case
|
|
5718
|
+
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
5719
|
+
* or both.
|
|
5720
|
+
**/
|
|
5721
|
+
| {
|
|
5722
|
+
name: 'IfElse';
|
|
5723
|
+
params: {
|
|
5724
|
+
main: KitchensinkRuntimeRuntimeCallLike;
|
|
5725
|
+
fallback: KitchensinkRuntimeRuntimeCallLike;
|
|
5726
|
+
};
|
|
5727
|
+
}
|
|
5728
|
+
/**
|
|
5729
|
+
* Dispatches a function call with a provided origin.
|
|
5730
|
+
*
|
|
5731
|
+
* Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
|
|
5732
|
+
*
|
|
5733
|
+
* The dispatch origin for this call must be _Root_.
|
|
5734
|
+
**/
|
|
5735
|
+
| {
|
|
5736
|
+
name: 'DispatchAsFallible';
|
|
5737
|
+
params: {
|
|
5738
|
+
asOrigin: KitchensinkRuntimeOriginCaller;
|
|
5739
|
+
call: KitchensinkRuntimeRuntimeCallLike;
|
|
5740
|
+
};
|
|
5534
5741
|
};
|
|
5535
5742
|
export type KitchensinkRuntimeOriginCaller = {
|
|
5536
5743
|
type: 'System';
|
|
@@ -5544,9 +5751,6 @@ export type KitchensinkRuntimeOriginCaller = {
|
|
|
5544
5751
|
} | {
|
|
5545
5752
|
type: 'AllianceMotion';
|
|
5546
5753
|
value: PalletCollectiveRawOrigin;
|
|
5547
|
-
} | {
|
|
5548
|
-
type: 'Void';
|
|
5549
|
-
value: SpCoreVoid;
|
|
5550
5754
|
};
|
|
5551
5755
|
export type FrameSupportDispatchRawOrigin = {
|
|
5552
5756
|
type: 'Root';
|
|
@@ -5565,7 +5769,6 @@ export type PalletCollectiveRawOrigin = {
|
|
|
5565
5769
|
} | {
|
|
5566
5770
|
type: 'Phantom';
|
|
5567
5771
|
};
|
|
5568
|
-
export type SpCoreVoid = null;
|
|
5569
5772
|
/**
|
|
5570
5773
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
5571
5774
|
**/
|
|
@@ -5842,6 +6045,24 @@ export type PalletIndicesCall =
|
|
|
5842
6045
|
params: {
|
|
5843
6046
|
index: number;
|
|
5844
6047
|
};
|
|
6048
|
+
}
|
|
6049
|
+
/**
|
|
6050
|
+
* Poke the deposit reserved for an index.
|
|
6051
|
+
*
|
|
6052
|
+
* The dispatch origin for this call must be _Signed_ and the signing account must have a
|
|
6053
|
+
* non-frozen account `index`.
|
|
6054
|
+
*
|
|
6055
|
+
* The transaction fees is waived if the deposit is changed after poking/reconsideration.
|
|
6056
|
+
*
|
|
6057
|
+
* - `index`: the index whose deposit is to be poked/reconsidered.
|
|
6058
|
+
*
|
|
6059
|
+
* Emits `DepositPoked` if successful.
|
|
6060
|
+
**/
|
|
6061
|
+
| {
|
|
6062
|
+
name: 'PokeDeposit';
|
|
6063
|
+
params: {
|
|
6064
|
+
index: number;
|
|
6065
|
+
};
|
|
5845
6066
|
};
|
|
5846
6067
|
export type PalletIndicesCallLike =
|
|
5847
6068
|
/**
|
|
@@ -5947,6 +6168,24 @@ export type PalletIndicesCallLike =
|
|
|
5947
6168
|
params: {
|
|
5948
6169
|
index: number;
|
|
5949
6170
|
};
|
|
6171
|
+
}
|
|
6172
|
+
/**
|
|
6173
|
+
* Poke the deposit reserved for an index.
|
|
6174
|
+
*
|
|
6175
|
+
* The dispatch origin for this call must be _Signed_ and the signing account must have a
|
|
6176
|
+
* non-frozen account `index`.
|
|
6177
|
+
*
|
|
6178
|
+
* The transaction fees is waived if the deposit is changed after poking/reconsideration.
|
|
6179
|
+
*
|
|
6180
|
+
* - `index`: the index whose deposit is to be poked/reconsidered.
|
|
6181
|
+
*
|
|
6182
|
+
* Emits `DepositPoked` if successful.
|
|
6183
|
+
**/
|
|
6184
|
+
| {
|
|
6185
|
+
name: 'PokeDeposit';
|
|
6186
|
+
params: {
|
|
6187
|
+
index: number;
|
|
6188
|
+
};
|
|
5950
6189
|
};
|
|
5951
6190
|
/**
|
|
5952
6191
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -7007,6 +7246,52 @@ export type PalletStakingPalletCall =
|
|
|
7007
7246
|
maybeTotal?: bigint | undefined;
|
|
7008
7247
|
maybeUnlocking?: Array<PalletStakingUnlockChunk> | undefined;
|
|
7009
7248
|
};
|
|
7249
|
+
}
|
|
7250
|
+
/**
|
|
7251
|
+
* Removes the legacy Staking locks if they exist.
|
|
7252
|
+
*
|
|
7253
|
+
* This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
|
|
7254
|
+
* hold on it if needed. If all stake cannot be held, the best effort is made to hold as
|
|
7255
|
+
* much as possible. The remaining stake is forced withdrawn from the ledger.
|
|
7256
|
+
*
|
|
7257
|
+
* The fee is waived if the migration is successful.
|
|
7258
|
+
**/
|
|
7259
|
+
| {
|
|
7260
|
+
name: 'MigrateCurrency';
|
|
7261
|
+
params: {
|
|
7262
|
+
stash: AccountId32;
|
|
7263
|
+
};
|
|
7264
|
+
}
|
|
7265
|
+
/**
|
|
7266
|
+
* This function allows governance to manually slash a validator and is a
|
|
7267
|
+
* **fallback mechanism**.
|
|
7268
|
+
*
|
|
7269
|
+
* The dispatch origin must be `T::AdminOrigin`.
|
|
7270
|
+
*
|
|
7271
|
+
* ## Parameters
|
|
7272
|
+
* - `validator_stash` - The stash account of the validator to slash.
|
|
7273
|
+
* - `era` - The era in which the validator was in the active set.
|
|
7274
|
+
* - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
|
|
7275
|
+
*
|
|
7276
|
+
* ## Behavior
|
|
7277
|
+
*
|
|
7278
|
+
* The slash will be applied using the standard slashing mechanics, respecting the
|
|
7279
|
+
* configured `SlashDeferDuration`.
|
|
7280
|
+
*
|
|
7281
|
+
* This means:
|
|
7282
|
+
* - If the validator was already slashed by a higher percentage for the same era, this
|
|
7283
|
+
* slash will have no additional effect.
|
|
7284
|
+
* - If the validator was previously slashed by a lower percentage, only the difference
|
|
7285
|
+
* will be applied.
|
|
7286
|
+
* - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
|
|
7287
|
+
**/
|
|
7288
|
+
| {
|
|
7289
|
+
name: 'ManualSlash';
|
|
7290
|
+
params: {
|
|
7291
|
+
validatorStash: AccountId32;
|
|
7292
|
+
era: number;
|
|
7293
|
+
slashFraction: Perbill;
|
|
7294
|
+
};
|
|
7010
7295
|
};
|
|
7011
7296
|
export type PalletStakingPalletCallLike =
|
|
7012
7297
|
/**
|
|
@@ -7584,6 +7869,52 @@ export type PalletStakingPalletCallLike =
|
|
|
7584
7869
|
maybeTotal?: bigint | undefined;
|
|
7585
7870
|
maybeUnlocking?: Array<PalletStakingUnlockChunk> | undefined;
|
|
7586
7871
|
};
|
|
7872
|
+
}
|
|
7873
|
+
/**
|
|
7874
|
+
* Removes the legacy Staking locks if they exist.
|
|
7875
|
+
*
|
|
7876
|
+
* This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
|
|
7877
|
+
* hold on it if needed. If all stake cannot be held, the best effort is made to hold as
|
|
7878
|
+
* much as possible. The remaining stake is forced withdrawn from the ledger.
|
|
7879
|
+
*
|
|
7880
|
+
* The fee is waived if the migration is successful.
|
|
7881
|
+
**/
|
|
7882
|
+
| {
|
|
7883
|
+
name: 'MigrateCurrency';
|
|
7884
|
+
params: {
|
|
7885
|
+
stash: AccountId32Like;
|
|
7886
|
+
};
|
|
7887
|
+
}
|
|
7888
|
+
/**
|
|
7889
|
+
* This function allows governance to manually slash a validator and is a
|
|
7890
|
+
* **fallback mechanism**.
|
|
7891
|
+
*
|
|
7892
|
+
* The dispatch origin must be `T::AdminOrigin`.
|
|
7893
|
+
*
|
|
7894
|
+
* ## Parameters
|
|
7895
|
+
* - `validator_stash` - The stash account of the validator to slash.
|
|
7896
|
+
* - `era` - The era in which the validator was in the active set.
|
|
7897
|
+
* - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
|
|
7898
|
+
*
|
|
7899
|
+
* ## Behavior
|
|
7900
|
+
*
|
|
7901
|
+
* The slash will be applied using the standard slashing mechanics, respecting the
|
|
7902
|
+
* configured `SlashDeferDuration`.
|
|
7903
|
+
*
|
|
7904
|
+
* This means:
|
|
7905
|
+
* - If the validator was already slashed by a higher percentage for the same era, this
|
|
7906
|
+
* slash will have no additional effect.
|
|
7907
|
+
* - If the validator was previously slashed by a lower percentage, only the difference
|
|
7908
|
+
* will be applied.
|
|
7909
|
+
* - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
|
|
7910
|
+
**/
|
|
7911
|
+
| {
|
|
7912
|
+
name: 'ManualSlash';
|
|
7913
|
+
params: {
|
|
7914
|
+
validatorStash: AccountId32Like;
|
|
7915
|
+
era: number;
|
|
7916
|
+
slashFraction: Perbill;
|
|
7917
|
+
};
|
|
7587
7918
|
};
|
|
7588
7919
|
export type PalletStakingPalletConfigOp = {
|
|
7589
7920
|
type: 'Noop';
|
|
@@ -11779,7 +12110,7 @@ export type PalletRecoveryCall =
|
|
|
11779
12110
|
};
|
|
11780
12111
|
}
|
|
11781
12112
|
/**
|
|
11782
|
-
* Allow ROOT to bypass the recovery process and set
|
|
12113
|
+
* Allow ROOT to bypass the recovery process and set a rescuer account
|
|
11783
12114
|
* for a lost account directly.
|
|
11784
12115
|
*
|
|
11785
12116
|
* The dispatch origin for this call must be _ROOT_.
|
|
@@ -11947,7 +12278,7 @@ export type PalletRecoveryCallLike =
|
|
|
11947
12278
|
};
|
|
11948
12279
|
}
|
|
11949
12280
|
/**
|
|
11950
|
-
* Allow ROOT to bypass the recovery process and set
|
|
12281
|
+
* Allow ROOT to bypass the recovery process and set a rescuer account
|
|
11951
12282
|
* for a lost account directly.
|
|
11952
12283
|
*
|
|
11953
12284
|
* The dispatch origin for this call must be _ROOT_.
|
|
@@ -12808,7 +13139,7 @@ export type PalletPreimageCall =
|
|
|
12808
13139
|
};
|
|
12809
13140
|
}
|
|
12810
13141
|
/**
|
|
12811
|
-
* Ensure that the
|
|
13142
|
+
* Ensure that the bulk of pre-images is upgraded.
|
|
12812
13143
|
*
|
|
12813
13144
|
* The caller pays no fee if at least 90% of pre-images were successfully updated.
|
|
12814
13145
|
**/
|
|
@@ -12869,7 +13200,7 @@ export type PalletPreimageCallLike =
|
|
|
12869
13200
|
};
|
|
12870
13201
|
}
|
|
12871
13202
|
/**
|
|
12872
|
-
* Ensure that the
|
|
13203
|
+
* Ensure that the bulk of pre-images is upgraded.
|
|
12873
13204
|
*
|
|
12874
13205
|
* The caller pays no fee if at least 90% of pre-images were successfully updated.
|
|
12875
13206
|
**/
|
|
@@ -13088,6 +13419,19 @@ export type PalletProxyCall =
|
|
|
13088
13419
|
forceProxyType?: KitchensinkRuntimeProxyType | undefined;
|
|
13089
13420
|
call: KitchensinkRuntimeRuntimeCall;
|
|
13090
13421
|
};
|
|
13422
|
+
}
|
|
13423
|
+
/**
|
|
13424
|
+
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
|
13425
|
+
* This can be used by accounts to possibly lower their locked amount.
|
|
13426
|
+
*
|
|
13427
|
+
* The dispatch origin for this call must be _Signed_.
|
|
13428
|
+
*
|
|
13429
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
13430
|
+
*
|
|
13431
|
+
* Emits `DepositPoked` if successful.
|
|
13432
|
+
**/
|
|
13433
|
+
| {
|
|
13434
|
+
name: 'PokeDeposit';
|
|
13091
13435
|
};
|
|
13092
13436
|
export type PalletProxyCallLike =
|
|
13093
13437
|
/**
|
|
@@ -13295,6 +13639,19 @@ export type PalletProxyCallLike =
|
|
|
13295
13639
|
forceProxyType?: KitchensinkRuntimeProxyType | undefined;
|
|
13296
13640
|
call: KitchensinkRuntimeRuntimeCallLike;
|
|
13297
13641
|
};
|
|
13642
|
+
}
|
|
13643
|
+
/**
|
|
13644
|
+
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
|
13645
|
+
* This can be used by accounts to possibly lower their locked amount.
|
|
13646
|
+
*
|
|
13647
|
+
* The dispatch origin for this call must be _Signed_.
|
|
13648
|
+
*
|
|
13649
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
13650
|
+
*
|
|
13651
|
+
* Emits `DepositPoked` if successful.
|
|
13652
|
+
**/
|
|
13653
|
+
| {
|
|
13654
|
+
name: 'PokeDeposit';
|
|
13298
13655
|
};
|
|
13299
13656
|
/**
|
|
13300
13657
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -13445,6 +13802,29 @@ export type PalletMultisigCall =
|
|
|
13445
13802
|
timepoint: PalletMultisigTimepoint;
|
|
13446
13803
|
callHash: FixedBytes<32>;
|
|
13447
13804
|
};
|
|
13805
|
+
}
|
|
13806
|
+
/**
|
|
13807
|
+
* Poke the deposit reserved for an existing multisig operation.
|
|
13808
|
+
*
|
|
13809
|
+
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
|
|
13810
|
+
* the multisig operation.
|
|
13811
|
+
*
|
|
13812
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
13813
|
+
*
|
|
13814
|
+
* - `threshold`: The total number of approvals needed for this multisig.
|
|
13815
|
+
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
|
13816
|
+
* multisig.
|
|
13817
|
+
* - `call_hash`: The hash of the call this deposit is reserved for.
|
|
13818
|
+
*
|
|
13819
|
+
* Emits `DepositPoked` if successful.
|
|
13820
|
+
**/
|
|
13821
|
+
| {
|
|
13822
|
+
name: 'PokeDeposit';
|
|
13823
|
+
params: {
|
|
13824
|
+
threshold: number;
|
|
13825
|
+
otherSignatories: Array<AccountId32>;
|
|
13826
|
+
callHash: FixedBytes<32>;
|
|
13827
|
+
};
|
|
13448
13828
|
};
|
|
13449
13829
|
export type PalletMultisigCallLike =
|
|
13450
13830
|
/**
|
|
@@ -13592,6 +13972,29 @@ export type PalletMultisigCallLike =
|
|
|
13592
13972
|
timepoint: PalletMultisigTimepoint;
|
|
13593
13973
|
callHash: FixedBytes<32>;
|
|
13594
13974
|
};
|
|
13975
|
+
}
|
|
13976
|
+
/**
|
|
13977
|
+
* Poke the deposit reserved for an existing multisig operation.
|
|
13978
|
+
*
|
|
13979
|
+
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
|
|
13980
|
+
* the multisig operation.
|
|
13981
|
+
*
|
|
13982
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
13983
|
+
*
|
|
13984
|
+
* - `threshold`: The total number of approvals needed for this multisig.
|
|
13985
|
+
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
|
13986
|
+
* multisig.
|
|
13987
|
+
* - `call_hash`: The hash of the call this deposit is reserved for.
|
|
13988
|
+
*
|
|
13989
|
+
* Emits `DepositPoked` if successful.
|
|
13990
|
+
**/
|
|
13991
|
+
| {
|
|
13992
|
+
name: 'PokeDeposit';
|
|
13993
|
+
params: {
|
|
13994
|
+
threshold: number;
|
|
13995
|
+
otherSignatories: Array<AccountId32Like>;
|
|
13996
|
+
callHash: FixedBytes<32>;
|
|
13997
|
+
};
|
|
13595
13998
|
};
|
|
13596
13999
|
/**
|
|
13597
14000
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -14336,6 +14739,9 @@ export type PalletAssetsCall =
|
|
|
14336
14739
|
*
|
|
14337
14740
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
14338
14741
|
* asset.
|
|
14742
|
+
*
|
|
14743
|
+
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
|
14744
|
+
* an account contains holds or freezes in place.
|
|
14339
14745
|
**/
|
|
14340
14746
|
| {
|
|
14341
14747
|
name: 'StartDestroy';
|
|
@@ -14909,6 +15315,9 @@ export type PalletAssetsCall =
|
|
|
14909
15315
|
* refunded.
|
|
14910
15316
|
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
|
|
14911
15317
|
*
|
|
15318
|
+
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
|
15319
|
+
* the asset account contains holds or freezes in place.
|
|
15320
|
+
*
|
|
14912
15321
|
* Emits `Refunded` event when successful.
|
|
14913
15322
|
**/
|
|
14914
15323
|
| {
|
|
@@ -14968,6 +15377,9 @@ export type PalletAssetsCall =
|
|
|
14968
15377
|
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
14969
15378
|
* - `who`: The account to refund.
|
|
14970
15379
|
*
|
|
15380
|
+
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
|
15381
|
+
* the asset account contains holds or freezes in place.
|
|
15382
|
+
*
|
|
14971
15383
|
* Emits `Refunded` event when successful.
|
|
14972
15384
|
**/
|
|
14973
15385
|
| {
|
|
@@ -15092,6 +15504,9 @@ export type PalletAssetsCallLike =
|
|
|
15092
15504
|
*
|
|
15093
15505
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
15094
15506
|
* asset.
|
|
15507
|
+
*
|
|
15508
|
+
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
|
15509
|
+
* an account contains holds or freezes in place.
|
|
15095
15510
|
**/
|
|
15096
15511
|
| {
|
|
15097
15512
|
name: 'StartDestroy';
|
|
@@ -15665,6 +16080,9 @@ export type PalletAssetsCallLike =
|
|
|
15665
16080
|
* refunded.
|
|
15666
16081
|
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
|
|
15667
16082
|
*
|
|
16083
|
+
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
|
16084
|
+
* the asset account contains holds or freezes in place.
|
|
16085
|
+
*
|
|
15668
16086
|
* Emits `Refunded` event when successful.
|
|
15669
16087
|
**/
|
|
15670
16088
|
| {
|
|
@@ -15724,6 +16142,9 @@ export type PalletAssetsCallLike =
|
|
|
15724
16142
|
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
15725
16143
|
* - `who`: The account to refund.
|
|
15726
16144
|
*
|
|
16145
|
+
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
|
16146
|
+
* the asset account contains holds or freezes in place.
|
|
16147
|
+
*
|
|
15727
16148
|
* Emits `Refunded` event when successful.
|
|
15728
16149
|
**/
|
|
15729
16150
|
| {
|
|
@@ -19780,16 +20201,34 @@ export type PalletCoreFellowshipCall =
|
|
|
19780
20201
|
};
|
|
19781
20202
|
}
|
|
19782
20203
|
/**
|
|
19783
|
-
* Introduce an already-ranked individual of the collective into this pallet.
|
|
19784
|
-
*
|
|
20204
|
+
* Introduce an already-ranked individual of the collective into this pallet.
|
|
20205
|
+
*
|
|
20206
|
+
* The rank may still be zero. This resets `last_proof` to the current block and
|
|
20207
|
+
* `last_promotion` will be set to zero, thereby delaying any automatic demotion but
|
|
20208
|
+
* allowing immediate promotion.
|
|
20209
|
+
*
|
|
20210
|
+
* - `origin`: A signed origin of a ranked, but not tracked, account.
|
|
20211
|
+
**/
|
|
20212
|
+
| {
|
|
20213
|
+
name: 'Import';
|
|
20214
|
+
}
|
|
20215
|
+
/**
|
|
20216
|
+
* Introduce an already-ranked individual of the collective into this pallet.
|
|
20217
|
+
*
|
|
20218
|
+
* The rank may still be zero. Can be called by anyone on any collective member - including
|
|
20219
|
+
* the sender.
|
|
19785
20220
|
*
|
|
19786
20221
|
* This resets `last_proof` to the current block and `last_promotion` will be set to zero,
|
|
19787
20222
|
* thereby delaying any automatic demotion but allowing immediate promotion.
|
|
19788
20223
|
*
|
|
19789
20224
|
* - `origin`: A signed origin of a ranked, but not tracked, account.
|
|
20225
|
+
* - `who`: The account ID of the collective member to be inducted.
|
|
19790
20226
|
**/
|
|
19791
20227
|
| {
|
|
19792
|
-
name: '
|
|
20228
|
+
name: 'ImportMember';
|
|
20229
|
+
params: {
|
|
20230
|
+
who: AccountId32;
|
|
20231
|
+
};
|
|
19793
20232
|
}
|
|
19794
20233
|
/**
|
|
19795
20234
|
* Set the parameters partially.
|
|
@@ -19938,16 +20377,34 @@ export type PalletCoreFellowshipCallLike =
|
|
|
19938
20377
|
};
|
|
19939
20378
|
}
|
|
19940
20379
|
/**
|
|
19941
|
-
* Introduce an already-ranked individual of the collective into this pallet.
|
|
19942
|
-
*
|
|
20380
|
+
* Introduce an already-ranked individual of the collective into this pallet.
|
|
20381
|
+
*
|
|
20382
|
+
* The rank may still be zero. This resets `last_proof` to the current block and
|
|
20383
|
+
* `last_promotion` will be set to zero, thereby delaying any automatic demotion but
|
|
20384
|
+
* allowing immediate promotion.
|
|
20385
|
+
*
|
|
20386
|
+
* - `origin`: A signed origin of a ranked, but not tracked, account.
|
|
20387
|
+
**/
|
|
20388
|
+
| {
|
|
20389
|
+
name: 'Import';
|
|
20390
|
+
}
|
|
20391
|
+
/**
|
|
20392
|
+
* Introduce an already-ranked individual of the collective into this pallet.
|
|
20393
|
+
*
|
|
20394
|
+
* The rank may still be zero. Can be called by anyone on any collective member - including
|
|
20395
|
+
* the sender.
|
|
19943
20396
|
*
|
|
19944
20397
|
* This resets `last_proof` to the current block and `last_promotion` will be set to zero,
|
|
19945
20398
|
* thereby delaying any automatic demotion but allowing immediate promotion.
|
|
19946
20399
|
*
|
|
19947
20400
|
* - `origin`: A signed origin of a ranked, but not tracked, account.
|
|
20401
|
+
* - `who`: The account ID of the collective member to be inducted.
|
|
19948
20402
|
**/
|
|
19949
20403
|
| {
|
|
19950
|
-
name: '
|
|
20404
|
+
name: 'ImportMember';
|
|
20405
|
+
params: {
|
|
20406
|
+
who: AccountId32Like;
|
|
20407
|
+
};
|
|
19951
20408
|
}
|
|
19952
20409
|
/**
|
|
19953
20410
|
* Set the parameters partially.
|
|
@@ -21901,8 +22358,9 @@ export type PalletAllianceUnscrupulousItem = {
|
|
|
21901
22358
|
**/
|
|
21902
22359
|
export type PalletNominationPoolsCall =
|
|
21903
22360
|
/**
|
|
21904
|
-
* Stake funds with a pool. The amount to bond is
|
|
21905
|
-
*
|
|
22361
|
+
* Stake funds with a pool. The amount to bond is delegated (or transferred based on
|
|
22362
|
+
* [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
|
|
22363
|
+
* increases the pool's bond.
|
|
21906
22364
|
*
|
|
21907
22365
|
* The method of transferring the amount to the pool account is determined by
|
|
21908
22366
|
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
|
@@ -22090,13 +22548,13 @@ export type PalletNominationPoolsCall =
|
|
|
22090
22548
|
* The dispatch origin of this call must be signed by the pool nominator or the pool
|
|
22091
22549
|
* root role.
|
|
22092
22550
|
*
|
|
22093
|
-
* This directly
|
|
22094
|
-
*
|
|
22551
|
+
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
|
|
22552
|
+
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
|
|
22095
22553
|
*
|
|
22096
22554
|
* # Note
|
|
22097
22555
|
*
|
|
22098
|
-
* In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to
|
|
22099
|
-
* at least `depositor_min_bond` in the pool to start nominating.
|
|
22556
|
+
* In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
|
|
22557
|
+
* have at least `depositor_min_bond` in the pool to start nominating.
|
|
22100
22558
|
**/
|
|
22101
22559
|
| {
|
|
22102
22560
|
name: 'Nominate';
|
|
@@ -22185,6 +22643,9 @@ export type PalletNominationPoolsCall =
|
|
|
22185
22643
|
* The dispatch origin of this call can be signed by the pool nominator or the pool
|
|
22186
22644
|
* root role, same as [`Pallet::nominate`].
|
|
22187
22645
|
*
|
|
22646
|
+
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
|
|
22647
|
+
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
|
|
22648
|
+
*
|
|
22188
22649
|
* Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
|
|
22189
22650
|
* account).
|
|
22190
22651
|
*
|
|
@@ -22193,9 +22654,7 @@ export type PalletNominationPoolsCall =
|
|
|
22193
22654
|
* are unable to unbond.
|
|
22194
22655
|
*
|
|
22195
22656
|
* # Conditions for permissioned dispatch:
|
|
22196
|
-
* * The caller
|
|
22197
|
-
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
|
22198
|
-
* account.
|
|
22657
|
+
* * The caller is the pool's nominator or root.
|
|
22199
22658
|
**/
|
|
22200
22659
|
| {
|
|
22201
22660
|
name: 'Chill';
|
|
@@ -22292,9 +22751,20 @@ export type PalletNominationPoolsCall =
|
|
|
22292
22751
|
/**
|
|
22293
22752
|
* Claim pending commission.
|
|
22294
22753
|
*
|
|
22295
|
-
* The
|
|
22296
|
-
*
|
|
22297
|
-
*
|
|
22754
|
+
* The `root` role of the pool is _always_ allowed to claim the pool's commission.
|
|
22755
|
+
*
|
|
22756
|
+
* If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
|
|
22757
|
+
* trigger the process of claiming the pool's commission.
|
|
22758
|
+
*
|
|
22759
|
+
* If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
|
|
22760
|
+
* accounts
|
|
22761
|
+
* * `acc`, and
|
|
22762
|
+
* * the pool's root account
|
|
22763
|
+
*
|
|
22764
|
+
* may call this extrinsic on behalf of the pool.
|
|
22765
|
+
*
|
|
22766
|
+
* Pending commissions are paid out and added to the total claimed commission.
|
|
22767
|
+
* The total pending commission is reset to zero.
|
|
22298
22768
|
**/
|
|
22299
22769
|
| {
|
|
22300
22770
|
name: 'ClaimCommission';
|
|
@@ -22336,8 +22806,10 @@ export type PalletNominationPoolsCall =
|
|
|
22336
22806
|
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
|
22337
22807
|
* [`adapter::StakeStrategyType::Delegate`].
|
|
22338
22808
|
*
|
|
22339
|
-
*
|
|
22340
|
-
*
|
|
22809
|
+
* The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
|
|
22810
|
+
* This call can be dispatched permissionlessly (i.e. by any account). If the execution
|
|
22811
|
+
* is successful, fee is refunded and caller may be rewarded with a part of the slash
|
|
22812
|
+
* based on the [`crate::pallet::Config::StakeAdapter`] configuration.
|
|
22341
22813
|
**/
|
|
22342
22814
|
| {
|
|
22343
22815
|
name: 'ApplySlash';
|
|
@@ -22381,8 +22853,9 @@ export type PalletNominationPoolsCall =
|
|
|
22381
22853
|
};
|
|
22382
22854
|
export type PalletNominationPoolsCallLike =
|
|
22383
22855
|
/**
|
|
22384
|
-
* Stake funds with a pool. The amount to bond is
|
|
22385
|
-
*
|
|
22856
|
+
* Stake funds with a pool. The amount to bond is delegated (or transferred based on
|
|
22857
|
+
* [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
|
|
22858
|
+
* increases the pool's bond.
|
|
22386
22859
|
*
|
|
22387
22860
|
* The method of transferring the amount to the pool account is determined by
|
|
22388
22861
|
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
|
@@ -22570,13 +23043,13 @@ export type PalletNominationPoolsCallLike =
|
|
|
22570
23043
|
* The dispatch origin of this call must be signed by the pool nominator or the pool
|
|
22571
23044
|
* root role.
|
|
22572
23045
|
*
|
|
22573
|
-
* This directly
|
|
22574
|
-
*
|
|
23046
|
+
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
|
|
23047
|
+
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
|
|
22575
23048
|
*
|
|
22576
23049
|
* # Note
|
|
22577
23050
|
*
|
|
22578
|
-
* In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to
|
|
22579
|
-
* at least `depositor_min_bond` in the pool to start nominating.
|
|
23051
|
+
* In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
|
|
23052
|
+
* have at least `depositor_min_bond` in the pool to start nominating.
|
|
22580
23053
|
**/
|
|
22581
23054
|
| {
|
|
22582
23055
|
name: 'Nominate';
|
|
@@ -22665,6 +23138,9 @@ export type PalletNominationPoolsCallLike =
|
|
|
22665
23138
|
* The dispatch origin of this call can be signed by the pool nominator or the pool
|
|
22666
23139
|
* root role, same as [`Pallet::nominate`].
|
|
22667
23140
|
*
|
|
23141
|
+
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
|
|
23142
|
+
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
|
|
23143
|
+
*
|
|
22668
23144
|
* Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
|
|
22669
23145
|
* account).
|
|
22670
23146
|
*
|
|
@@ -22673,9 +23149,7 @@ export type PalletNominationPoolsCallLike =
|
|
|
22673
23149
|
* are unable to unbond.
|
|
22674
23150
|
*
|
|
22675
23151
|
* # Conditions for permissioned dispatch:
|
|
22676
|
-
* * The caller
|
|
22677
|
-
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
|
22678
|
-
* account.
|
|
23152
|
+
* * The caller is the pool's nominator or root.
|
|
22679
23153
|
**/
|
|
22680
23154
|
| {
|
|
22681
23155
|
name: 'Chill';
|
|
@@ -22772,9 +23246,20 @@ export type PalletNominationPoolsCallLike =
|
|
|
22772
23246
|
/**
|
|
22773
23247
|
* Claim pending commission.
|
|
22774
23248
|
*
|
|
22775
|
-
* The
|
|
22776
|
-
*
|
|
22777
|
-
*
|
|
23249
|
+
* The `root` role of the pool is _always_ allowed to claim the pool's commission.
|
|
23250
|
+
*
|
|
23251
|
+
* If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
|
|
23252
|
+
* trigger the process of claiming the pool's commission.
|
|
23253
|
+
*
|
|
23254
|
+
* If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
|
|
23255
|
+
* accounts
|
|
23256
|
+
* * `acc`, and
|
|
23257
|
+
* * the pool's root account
|
|
23258
|
+
*
|
|
23259
|
+
* may call this extrinsic on behalf of the pool.
|
|
23260
|
+
*
|
|
23261
|
+
* Pending commissions are paid out and added to the total claimed commission.
|
|
23262
|
+
* The total pending commission is reset to zero.
|
|
22778
23263
|
**/
|
|
22779
23264
|
| {
|
|
22780
23265
|
name: 'ClaimCommission';
|
|
@@ -22816,8 +23301,10 @@ export type PalletNominationPoolsCallLike =
|
|
|
22816
23301
|
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
|
22817
23302
|
* [`adapter::StakeStrategyType::Delegate`].
|
|
22818
23303
|
*
|
|
22819
|
-
*
|
|
22820
|
-
*
|
|
23304
|
+
* The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
|
|
23305
|
+
* This call can be dispatched permissionlessly (i.e. by any account). If the execution
|
|
23306
|
+
* is successful, fee is refunded and caller may be rewarded with a part of the slash
|
|
23307
|
+
* based on the [`crate::pallet::Config::StakeAdapter`] configuration.
|
|
22821
23308
|
**/
|
|
22822
23309
|
| {
|
|
22823
23310
|
name: 'ApplySlash';
|
|
@@ -24051,6 +24538,9 @@ export type PalletBrokerCall =
|
|
|
24051
24538
|
/**
|
|
24052
24539
|
* Reserve a core for a workload.
|
|
24053
24540
|
*
|
|
24541
|
+
* The workload will be given a reservation, but two sale period boundaries must pass
|
|
24542
|
+
* before the core is actually assigned.
|
|
24543
|
+
*
|
|
24054
24544
|
* - `origin`: Must be Root or pass `AdminOrigin`.
|
|
24055
24545
|
* - `workload`: The workload which should be permanently placed on a core.
|
|
24056
24546
|
**/
|
|
@@ -24357,6 +24847,51 @@ export type PalletBrokerCall =
|
|
|
24357
24847
|
core: number;
|
|
24358
24848
|
task: number;
|
|
24359
24849
|
};
|
|
24850
|
+
}
|
|
24851
|
+
/**
|
|
24852
|
+
* Reserve a core for a workload immediately.
|
|
24853
|
+
*
|
|
24854
|
+
* - `origin`: Must be Root or pass `AdminOrigin`.
|
|
24855
|
+
* - `workload`: The workload which should be permanently placed on a core starting
|
|
24856
|
+
* immediately.
|
|
24857
|
+
* - `core`: The core to which the assignment should be made until the reservation takes
|
|
24858
|
+
* effect. It is left to the caller to either add this new core or reassign any other
|
|
24859
|
+
* tasks to this existing core.
|
|
24860
|
+
*
|
|
24861
|
+
* This reserves the workload and then injects the workload into the Workplan for the next
|
|
24862
|
+
* two sale periods. This overwrites any existing assignments for this core at the start of
|
|
24863
|
+
* the next sale period.
|
|
24864
|
+
**/
|
|
24865
|
+
| {
|
|
24866
|
+
name: 'ForceReserve';
|
|
24867
|
+
params: {
|
|
24868
|
+
workload: Array<PalletBrokerScheduleItem>;
|
|
24869
|
+
core: number;
|
|
24870
|
+
};
|
|
24871
|
+
}
|
|
24872
|
+
/**
|
|
24873
|
+
* Remove a lease.
|
|
24874
|
+
*
|
|
24875
|
+
* - `origin`: Must be Root or pass `AdminOrigin`.
|
|
24876
|
+
* - `task`: The task id of the lease which should be removed.
|
|
24877
|
+
**/
|
|
24878
|
+
| {
|
|
24879
|
+
name: 'RemoveLease';
|
|
24880
|
+
params: {
|
|
24881
|
+
task: number;
|
|
24882
|
+
};
|
|
24883
|
+
}
|
|
24884
|
+
/**
|
|
24885
|
+
* Remove an assignment from the Workplan.
|
|
24886
|
+
*
|
|
24887
|
+
* - `origin`: Must be Root or pass `AdminOrigin`.
|
|
24888
|
+
* - `region_id`: The Region to be removed from the workplan.
|
|
24889
|
+
**/
|
|
24890
|
+
| {
|
|
24891
|
+
name: 'RemoveAssignment';
|
|
24892
|
+
params: {
|
|
24893
|
+
regionId: PalletBrokerRegionId;
|
|
24894
|
+
};
|
|
24360
24895
|
} | {
|
|
24361
24896
|
name: 'SwapLeases';
|
|
24362
24897
|
params: {
|
|
@@ -24380,6 +24915,9 @@ export type PalletBrokerCallLike =
|
|
|
24380
24915
|
/**
|
|
24381
24916
|
* Reserve a core for a workload.
|
|
24382
24917
|
*
|
|
24918
|
+
* The workload will be given a reservation, but two sale period boundaries must pass
|
|
24919
|
+
* before the core is actually assigned.
|
|
24920
|
+
*
|
|
24383
24921
|
* - `origin`: Must be Root or pass `AdminOrigin`.
|
|
24384
24922
|
* - `workload`: The workload which should be permanently placed on a core.
|
|
24385
24923
|
**/
|
|
@@ -24686,6 +25224,51 @@ export type PalletBrokerCallLike =
|
|
|
24686
25224
|
core: number;
|
|
24687
25225
|
task: number;
|
|
24688
25226
|
};
|
|
25227
|
+
}
|
|
25228
|
+
/**
|
|
25229
|
+
* Reserve a core for a workload immediately.
|
|
25230
|
+
*
|
|
25231
|
+
* - `origin`: Must be Root or pass `AdminOrigin`.
|
|
25232
|
+
* - `workload`: The workload which should be permanently placed on a core starting
|
|
25233
|
+
* immediately.
|
|
25234
|
+
* - `core`: The core to which the assignment should be made until the reservation takes
|
|
25235
|
+
* effect. It is left to the caller to either add this new core or reassign any other
|
|
25236
|
+
* tasks to this existing core.
|
|
25237
|
+
*
|
|
25238
|
+
* This reserves the workload and then injects the workload into the Workplan for the next
|
|
25239
|
+
* two sale periods. This overwrites any existing assignments for this core at the start of
|
|
25240
|
+
* the next sale period.
|
|
25241
|
+
**/
|
|
25242
|
+
| {
|
|
25243
|
+
name: 'ForceReserve';
|
|
25244
|
+
params: {
|
|
25245
|
+
workload: Array<PalletBrokerScheduleItem>;
|
|
25246
|
+
core: number;
|
|
25247
|
+
};
|
|
25248
|
+
}
|
|
25249
|
+
/**
|
|
25250
|
+
* Remove a lease.
|
|
25251
|
+
*
|
|
25252
|
+
* - `origin`: Must be Root or pass `AdminOrigin`.
|
|
25253
|
+
* - `task`: The task id of the lease which should be removed.
|
|
25254
|
+
**/
|
|
25255
|
+
| {
|
|
25256
|
+
name: 'RemoveLease';
|
|
25257
|
+
params: {
|
|
25258
|
+
task: number;
|
|
25259
|
+
};
|
|
25260
|
+
}
|
|
25261
|
+
/**
|
|
25262
|
+
* Remove an assignment from the Workplan.
|
|
25263
|
+
*
|
|
25264
|
+
* - `origin`: Must be Root or pass `AdminOrigin`.
|
|
25265
|
+
* - `region_id`: The Region to be removed from the workplan.
|
|
25266
|
+
**/
|
|
25267
|
+
| {
|
|
25268
|
+
name: 'RemoveAssignment';
|
|
25269
|
+
params: {
|
|
25270
|
+
regionId: PalletBrokerRegionId;
|
|
25271
|
+
};
|
|
24689
25272
|
} | {
|
|
24690
25273
|
name: 'SwapLeases';
|
|
24691
25274
|
params: {
|
|
@@ -24795,6 +25378,9 @@ export type PalletParametersCallLike =
|
|
|
24795
25378
|
export type KitchensinkRuntimeRuntimeParameters = {
|
|
24796
25379
|
type: 'Storage';
|
|
24797
25380
|
value: KitchensinkRuntimeDynamicParamsStorageParameters;
|
|
25381
|
+
} | {
|
|
25382
|
+
type: 'Referenda';
|
|
25383
|
+
value: KitchensinkRuntimeDynamicParamsReferendaParameters;
|
|
24798
25384
|
};
|
|
24799
25385
|
export type KitchensinkRuntimeDynamicParamsStorageParameters = {
|
|
24800
25386
|
type: 'BaseDeposit';
|
|
@@ -24805,6 +25391,56 @@ export type KitchensinkRuntimeDynamicParamsStorageParameters = {
|
|
|
24805
25391
|
};
|
|
24806
25392
|
export type KitchensinkRuntimeDynamicParamsStorageBaseDeposit = {};
|
|
24807
25393
|
export type KitchensinkRuntimeDynamicParamsStorageByteDeposit = {};
|
|
25394
|
+
export type KitchensinkRuntimeDynamicParamsReferendaParameters = {
|
|
25395
|
+
type: 'Tracks';
|
|
25396
|
+
value: [KitchensinkRuntimeDynamicParamsReferendaTracks, Array<PalletReferendaTrack> | undefined];
|
|
25397
|
+
} | {
|
|
25398
|
+
type: 'Origins';
|
|
25399
|
+
value: [
|
|
25400
|
+
KitchensinkRuntimeDynamicParamsReferendaOrigins,
|
|
25401
|
+
Array<[KitchensinkRuntimeOriginCaller, number]> | undefined
|
|
25402
|
+
];
|
|
25403
|
+
};
|
|
25404
|
+
export type KitchensinkRuntimeDynamicParamsReferendaTracks = {};
|
|
25405
|
+
export type PalletReferendaTrack = {
|
|
25406
|
+
id: number;
|
|
25407
|
+
info: PalletReferendaTrackDetails;
|
|
25408
|
+
};
|
|
25409
|
+
export type PalletReferendaTrackDetails = {
|
|
25410
|
+
name: FixedBytes<25>;
|
|
25411
|
+
maxDeciding: number;
|
|
25412
|
+
decisionDeposit: bigint;
|
|
25413
|
+
preparePeriod: number;
|
|
25414
|
+
decisionPeriod: number;
|
|
25415
|
+
confirmPeriod: number;
|
|
25416
|
+
minEnactmentPeriod: number;
|
|
25417
|
+
minApproval: PalletReferendaCurve;
|
|
25418
|
+
minSupport: PalletReferendaCurve;
|
|
25419
|
+
};
|
|
25420
|
+
export type PalletReferendaCurve = {
|
|
25421
|
+
type: 'LinearDecreasing';
|
|
25422
|
+
value: {
|
|
25423
|
+
length: Perbill;
|
|
25424
|
+
floor: Perbill;
|
|
25425
|
+
ceil: Perbill;
|
|
25426
|
+
};
|
|
25427
|
+
} | {
|
|
25428
|
+
type: 'SteppedDecreasing';
|
|
25429
|
+
value: {
|
|
25430
|
+
begin: Perbill;
|
|
25431
|
+
end: Perbill;
|
|
25432
|
+
step: Perbill;
|
|
25433
|
+
period: Perbill;
|
|
25434
|
+
};
|
|
25435
|
+
} | {
|
|
25436
|
+
type: 'Reciprocal';
|
|
25437
|
+
value: {
|
|
25438
|
+
factor: FixedI64;
|
|
25439
|
+
xOffset: FixedI64;
|
|
25440
|
+
yOffset: FixedI64;
|
|
25441
|
+
};
|
|
25442
|
+
};
|
|
25443
|
+
export type KitchensinkRuntimeDynamicParamsReferendaOrigins = {};
|
|
24808
25444
|
/**
|
|
24809
25445
|
* Pallet's callable functions.
|
|
24810
25446
|
**/
|
|
@@ -24845,7 +25481,7 @@ export type PalletReviveCall =
|
|
|
24845
25481
|
*
|
|
24846
25482
|
* # Parameters
|
|
24847
25483
|
*
|
|
24848
|
-
* * `payload`: The
|
|
25484
|
+
* * `payload`: The encoded [`crate::evm::TransactionSigned`].
|
|
24849
25485
|
* * `gas_limit`: The gas limit enforced during contract execution.
|
|
24850
25486
|
* * `storage_deposit_limit`: The maximum balance that can be charged to the caller for
|
|
24851
25487
|
* storage usage.
|
|
@@ -24861,8 +25497,6 @@ export type PalletReviveCall =
|
|
|
24861
25497
|
name: 'EthTransact';
|
|
24862
25498
|
params: {
|
|
24863
25499
|
payload: Bytes;
|
|
24864
|
-
gasLimit: SpWeightsWeightV2Weight;
|
|
24865
|
-
storageDepositLimit: bigint;
|
|
24866
25500
|
};
|
|
24867
25501
|
}
|
|
24868
25502
|
/**
|
|
@@ -25040,7 +25674,7 @@ export type PalletReviveCallLike =
|
|
|
25040
25674
|
*
|
|
25041
25675
|
* # Parameters
|
|
25042
25676
|
*
|
|
25043
|
-
* * `payload`: The
|
|
25677
|
+
* * `payload`: The encoded [`crate::evm::TransactionSigned`].
|
|
25044
25678
|
* * `gas_limit`: The gas limit enforced during contract execution.
|
|
25045
25679
|
* * `storage_deposit_limit`: The maximum balance that can be charged to the caller for
|
|
25046
25680
|
* storage usage.
|
|
@@ -25056,8 +25690,6 @@ export type PalletReviveCallLike =
|
|
|
25056
25690
|
name: 'EthTransact';
|
|
25057
25691
|
params: {
|
|
25058
25692
|
payload: BytesLike;
|
|
25059
|
-
gasLimit: SpWeightsWeightV2Weight;
|
|
25060
|
-
storageDepositLimit: bigint;
|
|
25061
25693
|
};
|
|
25062
25694
|
}
|
|
25063
25695
|
/**
|
|
@@ -25229,99 +25861,454 @@ export type PalletReviveCallLike =
|
|
|
25229
25861
|
call: KitchensinkRuntimeRuntimeCallLike;
|
|
25230
25862
|
};
|
|
25231
25863
|
};
|
|
25232
|
-
export type SpRuntimeBlakeTwo256 = {};
|
|
25233
|
-
export type PalletConvictionVotingTally = {
|
|
25234
|
-
ayes: bigint;
|
|
25235
|
-
nays: bigint;
|
|
25236
|
-
support: bigint;
|
|
25237
|
-
};
|
|
25238
25864
|
/**
|
|
25239
|
-
*
|
|
25865
|
+
* Pallet's callable functions.
|
|
25240
25866
|
**/
|
|
25241
|
-
export type
|
|
25867
|
+
export type PalletAssetRewardsCall =
|
|
25242
25868
|
/**
|
|
25243
|
-
*
|
|
25869
|
+
* Create a new reward pool.
|
|
25870
|
+
*
|
|
25871
|
+
* Parameters:
|
|
25872
|
+
* - `origin`: must be `Config::CreatePoolOrigin`;
|
|
25873
|
+
* - `staked_asset_id`: the asset to be staked in the pool;
|
|
25874
|
+
* - `reward_asset_id`: the asset to be distributed as rewards;
|
|
25875
|
+
* - `reward_rate_per_block`: the amount of reward tokens distributed per block;
|
|
25876
|
+
* - `expiry`: the block number at which the pool will cease to accumulate rewards. The
|
|
25877
|
+
* [`DispatchTime::After`] variant evaluated at the execution time.
|
|
25878
|
+
* - `admin`: the account allowed to extend the pool expiration, increase the rewards rate
|
|
25879
|
+
* and receive the unutilized reward tokens back after the pool completion. If `None`,
|
|
25880
|
+
* the caller is set as an admin.
|
|
25244
25881
|
**/
|
|
25245
25882
|
{
|
|
25246
|
-
name: '
|
|
25247
|
-
|
|
25248
|
-
|
|
25249
|
-
|
|
25883
|
+
name: 'CreatePool';
|
|
25884
|
+
params: {
|
|
25885
|
+
stakedAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
25886
|
+
rewardAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
25887
|
+
rewardRatePerBlock: bigint;
|
|
25888
|
+
expiry: FrameSupportScheduleDispatchTime;
|
|
25889
|
+
admin?: AccountId32 | undefined;
|
|
25250
25890
|
};
|
|
25251
|
-
}
|
|
25891
|
+
}
|
|
25252
25892
|
/**
|
|
25253
|
-
*
|
|
25893
|
+
* Stake additional tokens in a pool.
|
|
25894
|
+
*
|
|
25895
|
+
* A freeze is placed on the staked tokens.
|
|
25254
25896
|
**/
|
|
25255
|
-
|
|
25897
|
+
| {
|
|
25898
|
+
name: 'Stake';
|
|
25899
|
+
params: {
|
|
25900
|
+
poolId: number;
|
|
25901
|
+
amount: bigint;
|
|
25902
|
+
};
|
|
25903
|
+
}
|
|
25256
25904
|
/**
|
|
25257
|
-
*
|
|
25905
|
+
* Unstake tokens from a pool.
|
|
25906
|
+
*
|
|
25907
|
+
* Removes the freeze on the staked tokens.
|
|
25908
|
+
*
|
|
25909
|
+
* Parameters:
|
|
25910
|
+
* - origin: must be the `staker` if the pool is still active. Otherwise, any account.
|
|
25911
|
+
* - pool_id: the pool to unstake from.
|
|
25912
|
+
* - amount: the amount of tokens to unstake.
|
|
25913
|
+
* - staker: the account to unstake from. If `None`, the caller is used.
|
|
25258
25914
|
**/
|
|
25259
|
-
|
|
25915
|
+
| {
|
|
25916
|
+
name: 'Unstake';
|
|
25917
|
+
params: {
|
|
25918
|
+
poolId: number;
|
|
25919
|
+
amount: bigint;
|
|
25920
|
+
staker?: AccountId32 | undefined;
|
|
25921
|
+
};
|
|
25922
|
+
}
|
|
25260
25923
|
/**
|
|
25261
|
-
*
|
|
25924
|
+
* Harvest unclaimed pool rewards.
|
|
25925
|
+
*
|
|
25926
|
+
* Parameters:
|
|
25927
|
+
* - origin: must be the `staker` if the pool is still active. Otherwise, any account.
|
|
25928
|
+
* - pool_id: the pool to harvest from.
|
|
25929
|
+
* - staker: the account for which to harvest rewards. If `None`, the caller is used.
|
|
25262
25930
|
**/
|
|
25263
|
-
|
|
25931
|
+
| {
|
|
25932
|
+
name: 'HarvestRewards';
|
|
25933
|
+
params: {
|
|
25934
|
+
poolId: number;
|
|
25935
|
+
staker?: AccountId32 | undefined;
|
|
25936
|
+
};
|
|
25937
|
+
}
|
|
25264
25938
|
/**
|
|
25265
|
-
*
|
|
25939
|
+
* Modify a pool reward rate.
|
|
25940
|
+
*
|
|
25941
|
+
* Currently the reward rate can only be increased.
|
|
25942
|
+
*
|
|
25943
|
+
* Only the pool admin may perform this operation.
|
|
25266
25944
|
**/
|
|
25267
|
-
{
|
|
25268
|
-
name: '
|
|
25269
|
-
|
|
25945
|
+
| {
|
|
25946
|
+
name: 'SetPoolRewardRatePerBlock';
|
|
25947
|
+
params: {
|
|
25948
|
+
poolId: number;
|
|
25949
|
+
newRewardRatePerBlock: bigint;
|
|
25950
|
+
};
|
|
25270
25951
|
}
|
|
25271
25952
|
/**
|
|
25272
|
-
*
|
|
25953
|
+
* Modify a pool admin.
|
|
25954
|
+
*
|
|
25955
|
+
* Only the pool admin may perform this operation.
|
|
25273
25956
|
**/
|
|
25274
25957
|
| {
|
|
25275
|
-
name: '
|
|
25276
|
-
|
|
25958
|
+
name: 'SetPoolAdmin';
|
|
25959
|
+
params: {
|
|
25960
|
+
poolId: number;
|
|
25961
|
+
newAdmin: AccountId32;
|
|
25962
|
+
};
|
|
25277
25963
|
}
|
|
25278
25964
|
/**
|
|
25279
|
-
*
|
|
25965
|
+
* Set when the pool should expire.
|
|
25966
|
+
*
|
|
25967
|
+
* Currently the expiry block can only be extended.
|
|
25968
|
+
*
|
|
25969
|
+
* Only the pool admin may perform this operation.
|
|
25280
25970
|
**/
|
|
25281
25971
|
| {
|
|
25282
|
-
name: '
|
|
25283
|
-
|
|
25284
|
-
|
|
25285
|
-
|
|
25972
|
+
name: 'SetPoolExpiryBlock';
|
|
25973
|
+
params: {
|
|
25974
|
+
poolId: number;
|
|
25975
|
+
newExpiry: FrameSupportScheduleDispatchTime;
|
|
25286
25976
|
};
|
|
25287
25977
|
}
|
|
25288
25978
|
/**
|
|
25289
|
-
*
|
|
25979
|
+
* Convenience method to deposit reward tokens into a pool.
|
|
25980
|
+
*
|
|
25981
|
+
* This method is not strictly necessary (tokens could be transferred directly to the
|
|
25982
|
+
* pool pot address), but is provided for convenience so manual derivation of the
|
|
25983
|
+
* account id is not required.
|
|
25290
25984
|
**/
|
|
25291
25985
|
| {
|
|
25292
|
-
name: '
|
|
25293
|
-
|
|
25294
|
-
|
|
25295
|
-
|
|
25986
|
+
name: 'DepositRewardTokens';
|
|
25987
|
+
params: {
|
|
25988
|
+
poolId: number;
|
|
25989
|
+
amount: bigint;
|
|
25296
25990
|
};
|
|
25297
|
-
}
|
|
25991
|
+
}
|
|
25298
25992
|
/**
|
|
25299
|
-
*
|
|
25993
|
+
* Cleanup a pool.
|
|
25994
|
+
*
|
|
25995
|
+
* Origin must be the pool admin.
|
|
25996
|
+
*
|
|
25997
|
+
* Cleanup storage, release any associated storage cost and return the remaining reward
|
|
25998
|
+
* tokens to the admin.
|
|
25300
25999
|
**/
|
|
25301
|
-
|
|
25302
|
-
name: '
|
|
25303
|
-
|
|
25304
|
-
|
|
25305
|
-
};
|
|
25306
|
-
} | {
|
|
25307
|
-
name: 'WhitelistedCallRemoved';
|
|
25308
|
-
data: {
|
|
25309
|
-
callHash: H256;
|
|
25310
|
-
};
|
|
25311
|
-
} | {
|
|
25312
|
-
name: 'WhitelistedCallDispatched';
|
|
25313
|
-
data: {
|
|
25314
|
-
callHash: H256;
|
|
25315
|
-
result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
|
|
26000
|
+
| {
|
|
26001
|
+
name: 'CleanupPool';
|
|
26002
|
+
params: {
|
|
26003
|
+
poolId: number;
|
|
25316
26004
|
};
|
|
25317
26005
|
};
|
|
25318
|
-
export type
|
|
25319
|
-
|
|
25320
|
-
|
|
25321
|
-
|
|
25322
|
-
|
|
25323
|
-
|
|
25324
|
-
|
|
26006
|
+
export type PalletAssetRewardsCallLike =
|
|
26007
|
+
/**
|
|
26008
|
+
* Create a new reward pool.
|
|
26009
|
+
*
|
|
26010
|
+
* Parameters:
|
|
26011
|
+
* - `origin`: must be `Config::CreatePoolOrigin`;
|
|
26012
|
+
* - `staked_asset_id`: the asset to be staked in the pool;
|
|
26013
|
+
* - `reward_asset_id`: the asset to be distributed as rewards;
|
|
26014
|
+
* - `reward_rate_per_block`: the amount of reward tokens distributed per block;
|
|
26015
|
+
* - `expiry`: the block number at which the pool will cease to accumulate rewards. The
|
|
26016
|
+
* [`DispatchTime::After`] variant evaluated at the execution time.
|
|
26017
|
+
* - `admin`: the account allowed to extend the pool expiration, increase the rewards rate
|
|
26018
|
+
* and receive the unutilized reward tokens back after the pool completion. If `None`,
|
|
26019
|
+
* the caller is set as an admin.
|
|
26020
|
+
**/
|
|
26021
|
+
{
|
|
26022
|
+
name: 'CreatePool';
|
|
26023
|
+
params: {
|
|
26024
|
+
stakedAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
26025
|
+
rewardAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
26026
|
+
rewardRatePerBlock: bigint;
|
|
26027
|
+
expiry: FrameSupportScheduleDispatchTime;
|
|
26028
|
+
admin?: AccountId32Like | undefined;
|
|
26029
|
+
};
|
|
26030
|
+
}
|
|
26031
|
+
/**
|
|
26032
|
+
* Stake additional tokens in a pool.
|
|
26033
|
+
*
|
|
26034
|
+
* A freeze is placed on the staked tokens.
|
|
26035
|
+
**/
|
|
26036
|
+
| {
|
|
26037
|
+
name: 'Stake';
|
|
26038
|
+
params: {
|
|
26039
|
+
poolId: number;
|
|
26040
|
+
amount: bigint;
|
|
26041
|
+
};
|
|
26042
|
+
}
|
|
26043
|
+
/**
|
|
26044
|
+
* Unstake tokens from a pool.
|
|
26045
|
+
*
|
|
26046
|
+
* Removes the freeze on the staked tokens.
|
|
26047
|
+
*
|
|
26048
|
+
* Parameters:
|
|
26049
|
+
* - origin: must be the `staker` if the pool is still active. Otherwise, any account.
|
|
26050
|
+
* - pool_id: the pool to unstake from.
|
|
26051
|
+
* - amount: the amount of tokens to unstake.
|
|
26052
|
+
* - staker: the account to unstake from. If `None`, the caller is used.
|
|
26053
|
+
**/
|
|
26054
|
+
| {
|
|
26055
|
+
name: 'Unstake';
|
|
26056
|
+
params: {
|
|
26057
|
+
poolId: number;
|
|
26058
|
+
amount: bigint;
|
|
26059
|
+
staker?: AccountId32Like | undefined;
|
|
26060
|
+
};
|
|
26061
|
+
}
|
|
26062
|
+
/**
|
|
26063
|
+
* Harvest unclaimed pool rewards.
|
|
26064
|
+
*
|
|
26065
|
+
* Parameters:
|
|
26066
|
+
* - origin: must be the `staker` if the pool is still active. Otherwise, any account.
|
|
26067
|
+
* - pool_id: the pool to harvest from.
|
|
26068
|
+
* - staker: the account for which to harvest rewards. If `None`, the caller is used.
|
|
26069
|
+
**/
|
|
26070
|
+
| {
|
|
26071
|
+
name: 'HarvestRewards';
|
|
26072
|
+
params: {
|
|
26073
|
+
poolId: number;
|
|
26074
|
+
staker?: AccountId32Like | undefined;
|
|
26075
|
+
};
|
|
26076
|
+
}
|
|
26077
|
+
/**
|
|
26078
|
+
* Modify a pool reward rate.
|
|
26079
|
+
*
|
|
26080
|
+
* Currently the reward rate can only be increased.
|
|
26081
|
+
*
|
|
26082
|
+
* Only the pool admin may perform this operation.
|
|
26083
|
+
**/
|
|
26084
|
+
| {
|
|
26085
|
+
name: 'SetPoolRewardRatePerBlock';
|
|
26086
|
+
params: {
|
|
26087
|
+
poolId: number;
|
|
26088
|
+
newRewardRatePerBlock: bigint;
|
|
26089
|
+
};
|
|
26090
|
+
}
|
|
26091
|
+
/**
|
|
26092
|
+
* Modify a pool admin.
|
|
26093
|
+
*
|
|
26094
|
+
* Only the pool admin may perform this operation.
|
|
26095
|
+
**/
|
|
26096
|
+
| {
|
|
26097
|
+
name: 'SetPoolAdmin';
|
|
26098
|
+
params: {
|
|
26099
|
+
poolId: number;
|
|
26100
|
+
newAdmin: AccountId32Like;
|
|
26101
|
+
};
|
|
26102
|
+
}
|
|
26103
|
+
/**
|
|
26104
|
+
* Set when the pool should expire.
|
|
26105
|
+
*
|
|
26106
|
+
* Currently the expiry block can only be extended.
|
|
26107
|
+
*
|
|
26108
|
+
* Only the pool admin may perform this operation.
|
|
26109
|
+
**/
|
|
26110
|
+
| {
|
|
26111
|
+
name: 'SetPoolExpiryBlock';
|
|
26112
|
+
params: {
|
|
26113
|
+
poolId: number;
|
|
26114
|
+
newExpiry: FrameSupportScheduleDispatchTime;
|
|
26115
|
+
};
|
|
26116
|
+
}
|
|
26117
|
+
/**
|
|
26118
|
+
* Convenience method to deposit reward tokens into a pool.
|
|
26119
|
+
*
|
|
26120
|
+
* This method is not strictly necessary (tokens could be transferred directly to the
|
|
26121
|
+
* pool pot address), but is provided for convenience so manual derivation of the
|
|
26122
|
+
* account id is not required.
|
|
26123
|
+
**/
|
|
26124
|
+
| {
|
|
26125
|
+
name: 'DepositRewardTokens';
|
|
26126
|
+
params: {
|
|
26127
|
+
poolId: number;
|
|
26128
|
+
amount: bigint;
|
|
26129
|
+
};
|
|
26130
|
+
}
|
|
26131
|
+
/**
|
|
26132
|
+
* Cleanup a pool.
|
|
26133
|
+
*
|
|
26134
|
+
* Origin must be the pool admin.
|
|
26135
|
+
*
|
|
26136
|
+
* Cleanup storage, release any associated storage cost and return the remaining reward
|
|
26137
|
+
* tokens to the admin.
|
|
26138
|
+
**/
|
|
26139
|
+
| {
|
|
26140
|
+
name: 'CleanupPool';
|
|
26141
|
+
params: {
|
|
26142
|
+
poolId: number;
|
|
26143
|
+
};
|
|
26144
|
+
};
|
|
26145
|
+
/**
|
|
26146
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
26147
|
+
**/
|
|
26148
|
+
export type PalletMetaTxCall =
|
|
26149
|
+
/**
|
|
26150
|
+
* Dispatch a given meta transaction.
|
|
26151
|
+
*
|
|
26152
|
+
* - `_origin`: Can be any kind of origin.
|
|
26153
|
+
* - `meta_tx`: Meta Transaction with a target call to be dispatched.
|
|
26154
|
+
**/
|
|
26155
|
+
{
|
|
26156
|
+
name: 'Dispatch';
|
|
26157
|
+
params: {
|
|
26158
|
+
metaTx: PalletMetaTxMetaTx;
|
|
26159
|
+
};
|
|
26160
|
+
};
|
|
26161
|
+
export type PalletMetaTxCallLike =
|
|
26162
|
+
/**
|
|
26163
|
+
* Dispatch a given meta transaction.
|
|
26164
|
+
*
|
|
26165
|
+
* - `_origin`: Can be any kind of origin.
|
|
26166
|
+
* - `meta_tx`: Meta Transaction with a target call to be dispatched.
|
|
26167
|
+
**/
|
|
26168
|
+
{
|
|
26169
|
+
name: 'Dispatch';
|
|
26170
|
+
params: {
|
|
26171
|
+
metaTx: PalletMetaTxMetaTx;
|
|
26172
|
+
};
|
|
26173
|
+
};
|
|
26174
|
+
export type PalletMetaTxMetaTx = {
|
|
26175
|
+
call: KitchensinkRuntimeRuntimeCall;
|
|
26176
|
+
extensionVersion: number;
|
|
26177
|
+
extension: [
|
|
26178
|
+
PalletVerifySignatureExtensionVerifySignature,
|
|
26179
|
+
PalletMetaTxExtensionMetaTxMarker,
|
|
26180
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
26181
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
26182
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
26183
|
+
FrameSystemExtensionsCheckGenesis,
|
|
26184
|
+
FrameSystemExtensionsCheckMortality,
|
|
26185
|
+
FrameSystemExtensionsCheckNonce,
|
|
26186
|
+
FrameMetadataHashExtensionCheckMetadataHash
|
|
26187
|
+
];
|
|
26188
|
+
};
|
|
26189
|
+
export type PalletVerifySignatureExtensionVerifySignature = {
|
|
26190
|
+
type: 'Signed';
|
|
26191
|
+
value: {
|
|
26192
|
+
signature: SpRuntimeMultiSignature;
|
|
26193
|
+
account: AccountId32;
|
|
26194
|
+
};
|
|
26195
|
+
} | {
|
|
26196
|
+
type: 'Disabled';
|
|
26197
|
+
};
|
|
26198
|
+
export type PalletMetaTxExtensionMetaTxMarker = {};
|
|
26199
|
+
export type FrameSystemExtensionsCheckNonZeroSender = {};
|
|
26200
|
+
export type FrameSystemExtensionsCheckSpecVersion = {};
|
|
26201
|
+
export type FrameSystemExtensionsCheckTxVersion = {};
|
|
26202
|
+
export type FrameSystemExtensionsCheckGenesis = {};
|
|
26203
|
+
export type FrameSystemExtensionsCheckMortality = Era;
|
|
26204
|
+
export type FrameSystemExtensionsCheckNonce = number;
|
|
26205
|
+
export type FrameMetadataHashExtensionCheckMetadataHash = {
|
|
26206
|
+
mode: FrameMetadataHashExtensionMode;
|
|
26207
|
+
};
|
|
26208
|
+
export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
26209
|
+
export type SpRuntimeBlakeTwo256 = {};
|
|
26210
|
+
export type PalletConvictionVotingTally = {
|
|
26211
|
+
ayes: bigint;
|
|
26212
|
+
nays: bigint;
|
|
26213
|
+
support: bigint;
|
|
26214
|
+
};
|
|
26215
|
+
/**
|
|
26216
|
+
* The `Event` enum of this pallet
|
|
26217
|
+
**/
|
|
26218
|
+
export type PalletRemarkEvent =
|
|
26219
|
+
/**
|
|
26220
|
+
* Stored data off chain.
|
|
26221
|
+
**/
|
|
26222
|
+
{
|
|
26223
|
+
name: 'Stored';
|
|
26224
|
+
data: {
|
|
26225
|
+
sender: AccountId32;
|
|
26226
|
+
contentHash: H256;
|
|
26227
|
+
};
|
|
26228
|
+
};
|
|
26229
|
+
/**
|
|
26230
|
+
* The `Event` enum of this pallet
|
|
26231
|
+
**/
|
|
26232
|
+
export type PalletRootTestingEvent =
|
|
26233
|
+
/**
|
|
26234
|
+
* Event dispatched when the trigger_defensive extrinsic is called.
|
|
26235
|
+
**/
|
|
26236
|
+
'DefensiveTestCall';
|
|
26237
|
+
/**
|
|
26238
|
+
* The `Event` enum of this pallet
|
|
26239
|
+
**/
|
|
26240
|
+
export type PalletConvictionVotingEvent =
|
|
26241
|
+
/**
|
|
26242
|
+
* An account has delegated their vote to another account. \[who, target\]
|
|
26243
|
+
**/
|
|
26244
|
+
{
|
|
26245
|
+
name: 'Delegated';
|
|
26246
|
+
data: [AccountId32, AccountId32];
|
|
26247
|
+
}
|
|
26248
|
+
/**
|
|
26249
|
+
* An \[account\] has cancelled a previous delegation operation.
|
|
26250
|
+
**/
|
|
26251
|
+
| {
|
|
26252
|
+
name: 'Undelegated';
|
|
26253
|
+
data: AccountId32;
|
|
26254
|
+
}
|
|
26255
|
+
/**
|
|
26256
|
+
* An account has voted
|
|
26257
|
+
**/
|
|
26258
|
+
| {
|
|
26259
|
+
name: 'Voted';
|
|
26260
|
+
data: {
|
|
26261
|
+
who: AccountId32;
|
|
26262
|
+
vote: PalletConvictionVotingVoteAccountVote;
|
|
26263
|
+
};
|
|
26264
|
+
}
|
|
26265
|
+
/**
|
|
26266
|
+
* A vote has been removed
|
|
26267
|
+
**/
|
|
26268
|
+
| {
|
|
26269
|
+
name: 'VoteRemoved';
|
|
26270
|
+
data: {
|
|
26271
|
+
who: AccountId32;
|
|
26272
|
+
vote: PalletConvictionVotingVoteAccountVote;
|
|
26273
|
+
};
|
|
26274
|
+
}
|
|
26275
|
+
/**
|
|
26276
|
+
* The lockup period of a conviction vote expired, and the funds have been unlocked.
|
|
26277
|
+
**/
|
|
26278
|
+
| {
|
|
26279
|
+
name: 'VoteUnlocked';
|
|
26280
|
+
data: {
|
|
26281
|
+
who: AccountId32;
|
|
26282
|
+
class: number;
|
|
26283
|
+
};
|
|
26284
|
+
};
|
|
26285
|
+
/**
|
|
26286
|
+
* The `Event` enum of this pallet
|
|
26287
|
+
**/
|
|
26288
|
+
export type PalletWhitelistEvent = {
|
|
26289
|
+
name: 'CallWhitelisted';
|
|
26290
|
+
data: {
|
|
26291
|
+
callHash: H256;
|
|
26292
|
+
};
|
|
26293
|
+
} | {
|
|
26294
|
+
name: 'WhitelistedCallRemoved';
|
|
26295
|
+
data: {
|
|
26296
|
+
callHash: H256;
|
|
26297
|
+
};
|
|
26298
|
+
} | {
|
|
26299
|
+
name: 'WhitelistedCallDispatched';
|
|
26300
|
+
data: {
|
|
26301
|
+
callHash: H256;
|
|
26302
|
+
result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
|
|
26303
|
+
};
|
|
26304
|
+
};
|
|
26305
|
+
export type FrameSupportDispatchPostDispatchInfo = {
|
|
26306
|
+
actualWeight?: SpWeightsWeightV2Weight | undefined;
|
|
26307
|
+
paysFee: FrameSupportDispatchPays;
|
|
26308
|
+
};
|
|
26309
|
+
export type SpRuntimeDispatchErrorWithPostInfo = {
|
|
26310
|
+
postInfo: FrameSupportDispatchPostDispatchInfo;
|
|
26311
|
+
error: DispatchError;
|
|
25325
26312
|
};
|
|
25326
26313
|
/**
|
|
25327
26314
|
* The `Event` enum of this pallet
|
|
@@ -25664,6 +26651,61 @@ export type PalletNominationPoolsEvent =
|
|
|
25664
26651
|
poolId: number;
|
|
25665
26652
|
amount: bigint;
|
|
25666
26653
|
};
|
|
26654
|
+
}
|
|
26655
|
+
/**
|
|
26656
|
+
* A pool member's claim permission has been updated.
|
|
26657
|
+
**/
|
|
26658
|
+
| {
|
|
26659
|
+
name: 'MemberClaimPermissionUpdated';
|
|
26660
|
+
data: {
|
|
26661
|
+
member: AccountId32;
|
|
26662
|
+
permission: PalletNominationPoolsClaimPermission;
|
|
26663
|
+
};
|
|
26664
|
+
}
|
|
26665
|
+
/**
|
|
26666
|
+
* A pool's metadata was updated.
|
|
26667
|
+
**/
|
|
26668
|
+
| {
|
|
26669
|
+
name: 'MetadataUpdated';
|
|
26670
|
+
data: {
|
|
26671
|
+
poolId: number;
|
|
26672
|
+
caller: AccountId32;
|
|
26673
|
+
};
|
|
26674
|
+
}
|
|
26675
|
+
/**
|
|
26676
|
+
* A pool's nominating account (or the pool's root account) has nominated a validator set
|
|
26677
|
+
* on behalf of the pool.
|
|
26678
|
+
**/
|
|
26679
|
+
| {
|
|
26680
|
+
name: 'PoolNominationMade';
|
|
26681
|
+
data: {
|
|
26682
|
+
poolId: number;
|
|
26683
|
+
caller: AccountId32;
|
|
26684
|
+
};
|
|
26685
|
+
}
|
|
26686
|
+
/**
|
|
26687
|
+
* The pool is chilled i.e. no longer nominating.
|
|
26688
|
+
**/
|
|
26689
|
+
| {
|
|
26690
|
+
name: 'PoolNominatorChilled';
|
|
26691
|
+
data: {
|
|
26692
|
+
poolId: number;
|
|
26693
|
+
caller: AccountId32;
|
|
26694
|
+
};
|
|
26695
|
+
}
|
|
26696
|
+
/**
|
|
26697
|
+
* Global parameters regulating nomination pools have been updated.
|
|
26698
|
+
**/
|
|
26699
|
+
| {
|
|
26700
|
+
name: 'GlobalParamsUpdated';
|
|
26701
|
+
data: {
|
|
26702
|
+
minJoinBond: bigint;
|
|
26703
|
+
minCreateBond: bigint;
|
|
26704
|
+
maxPools?: number | undefined;
|
|
26705
|
+
maxMembers?: number | undefined;
|
|
26706
|
+
maxMembersPerPool?: number | undefined;
|
|
26707
|
+
globalMaxCommission?: Perbill | undefined;
|
|
26708
|
+
};
|
|
25667
26709
|
};
|
|
25668
26710
|
/**
|
|
25669
26711
|
* The `Event` enum of this pallet
|
|
@@ -26761,6 +27803,18 @@ export type PalletBrokerEvent =
|
|
|
26761
27803
|
task: number;
|
|
26762
27804
|
};
|
|
26763
27805
|
}
|
|
27806
|
+
/**
|
|
27807
|
+
* An assignment has been removed from the workplan.
|
|
27808
|
+
**/
|
|
27809
|
+
| {
|
|
27810
|
+
name: 'AssignmentRemoved';
|
|
27811
|
+
data: {
|
|
27812
|
+
/**
|
|
27813
|
+
* The Region which was removed from the workplan.
|
|
27814
|
+
**/
|
|
27815
|
+
regionId: PalletBrokerRegionId;
|
|
27816
|
+
};
|
|
27817
|
+
}
|
|
26764
27818
|
/**
|
|
26765
27819
|
* A Region has been added to the Instantaneous Coretime Pool.
|
|
26766
27820
|
**/
|
|
@@ -26840,11 +27894,12 @@ export type PalletBrokerEvent =
|
|
|
26840
27894
|
name: 'SaleInitialized';
|
|
26841
27895
|
data: {
|
|
26842
27896
|
/**
|
|
26843
|
-
* The
|
|
27897
|
+
* The relay block number at which the sale will/did start.
|
|
26844
27898
|
**/
|
|
26845
27899
|
saleStart: number;
|
|
26846
27900
|
/**
|
|
26847
|
-
* The length in blocks of the Leadin Period (where the price is
|
|
27901
|
+
* The length in relay chain blocks of the Leadin Period (where the price is
|
|
27902
|
+
* decreasing).
|
|
26848
27903
|
**/
|
|
26849
27904
|
leadinLength: number;
|
|
26850
27905
|
/**
|
|
@@ -26892,6 +27947,18 @@ export type PalletBrokerEvent =
|
|
|
26892
27947
|
until: number;
|
|
26893
27948
|
};
|
|
26894
27949
|
}
|
|
27950
|
+
/**
|
|
27951
|
+
* A lease has been removed.
|
|
27952
|
+
**/
|
|
27953
|
+
| {
|
|
27954
|
+
name: 'LeaseRemoved';
|
|
27955
|
+
data: {
|
|
27956
|
+
/**
|
|
27957
|
+
* The task to which a core was assigned.
|
|
27958
|
+
**/
|
|
27959
|
+
task: number;
|
|
27960
|
+
};
|
|
27961
|
+
}
|
|
26895
27962
|
/**
|
|
26896
27963
|
* A lease is about to end.
|
|
26897
27964
|
**/
|
|
@@ -27215,6 +28282,9 @@ export type PalletParametersEvent =
|
|
|
27215
28282
|
export type KitchensinkRuntimeRuntimeParametersKey = {
|
|
27216
28283
|
type: 'Storage';
|
|
27217
28284
|
value: KitchensinkRuntimeDynamicParamsStorageParametersKey;
|
|
28285
|
+
} | {
|
|
28286
|
+
type: 'Referenda';
|
|
28287
|
+
value: KitchensinkRuntimeDynamicParamsReferendaParametersKey;
|
|
27218
28288
|
};
|
|
27219
28289
|
export type KitchensinkRuntimeDynamicParamsStorageParametersKey = {
|
|
27220
28290
|
type: 'BaseDeposit';
|
|
@@ -27223,9 +28293,19 @@ export type KitchensinkRuntimeDynamicParamsStorageParametersKey = {
|
|
|
27223
28293
|
type: 'ByteDeposit';
|
|
27224
28294
|
value: KitchensinkRuntimeDynamicParamsStorageByteDeposit;
|
|
27225
28295
|
};
|
|
28296
|
+
export type KitchensinkRuntimeDynamicParamsReferendaParametersKey = {
|
|
28297
|
+
type: 'Tracks';
|
|
28298
|
+
value: KitchensinkRuntimeDynamicParamsReferendaTracks;
|
|
28299
|
+
} | {
|
|
28300
|
+
type: 'Origins';
|
|
28301
|
+
value: KitchensinkRuntimeDynamicParamsReferendaOrigins;
|
|
28302
|
+
};
|
|
27226
28303
|
export type KitchensinkRuntimeRuntimeParametersValue = {
|
|
27227
28304
|
type: 'Storage';
|
|
27228
28305
|
value: KitchensinkRuntimeDynamicParamsStorageParametersValue;
|
|
28306
|
+
} | {
|
|
28307
|
+
type: 'Referenda';
|
|
28308
|
+
value: KitchensinkRuntimeDynamicParamsReferendaParametersValue;
|
|
27229
28309
|
};
|
|
27230
28310
|
export type KitchensinkRuntimeDynamicParamsStorageParametersValue = {
|
|
27231
28311
|
type: 'BaseDeposit';
|
|
@@ -27234,6 +28314,13 @@ export type KitchensinkRuntimeDynamicParamsStorageParametersValue = {
|
|
|
27234
28314
|
type: 'ByteDeposit';
|
|
27235
28315
|
value: bigint;
|
|
27236
28316
|
};
|
|
28317
|
+
export type KitchensinkRuntimeDynamicParamsReferendaParametersValue = {
|
|
28318
|
+
type: 'Tracks';
|
|
28319
|
+
value: Array<PalletReferendaTrack>;
|
|
28320
|
+
} | {
|
|
28321
|
+
type: 'Origins';
|
|
28322
|
+
value: Array<[KitchensinkRuntimeOriginCaller, number]>;
|
|
28323
|
+
};
|
|
27237
28324
|
/**
|
|
27238
28325
|
* The `Event` enum of this pallet
|
|
27239
28326
|
**/
|
|
@@ -27276,172 +28363,276 @@ export type PalletAssetConversionOpsEvent =
|
|
|
27276
28363
|
**/
|
|
27277
28364
|
export type PalletReviveEvent =
|
|
27278
28365
|
/**
|
|
27279
|
-
*
|
|
28366
|
+
* A custom event emitted by the contract.
|
|
27280
28367
|
**/
|
|
27281
28368
|
{
|
|
27282
|
-
name: '
|
|
28369
|
+
name: 'ContractEmitted';
|
|
27283
28370
|
data: {
|
|
27284
|
-
|
|
28371
|
+
/**
|
|
28372
|
+
* The contract that emitted the event.
|
|
28373
|
+
**/
|
|
27285
28374
|
contract: H160;
|
|
28375
|
+
/**
|
|
28376
|
+
* Data supplied by the contract. Metadata generated during contract compilation
|
|
28377
|
+
* is needed to decode it.
|
|
28378
|
+
**/
|
|
28379
|
+
data: Bytes;
|
|
28380
|
+
/**
|
|
28381
|
+
* A list of topics used to index the event.
|
|
28382
|
+
* Number of topics is capped by [`limits::NUM_EVENT_TOPICS`].
|
|
28383
|
+
**/
|
|
28384
|
+
topics: Array<H256>;
|
|
28385
|
+
};
|
|
28386
|
+
};
|
|
28387
|
+
/**
|
|
28388
|
+
* The `Event` enum of this pallet
|
|
28389
|
+
**/
|
|
28390
|
+
export type PalletDelegatedStakingEvent =
|
|
28391
|
+
/**
|
|
28392
|
+
* Funds delegated by a delegator.
|
|
28393
|
+
**/
|
|
28394
|
+
{
|
|
28395
|
+
name: 'Delegated';
|
|
28396
|
+
data: {
|
|
28397
|
+
agent: AccountId32;
|
|
28398
|
+
delegator: AccountId32;
|
|
28399
|
+
amount: bigint;
|
|
27286
28400
|
};
|
|
27287
28401
|
}
|
|
27288
28402
|
/**
|
|
27289
|
-
*
|
|
27290
|
-
*
|
|
27291
|
-
* # Note
|
|
27292
|
-
*
|
|
27293
|
-
* The only way for a contract to be removed and emitting this event is by calling
|
|
27294
|
-
* `seal_terminate`.
|
|
28403
|
+
* Funds released to a delegator.
|
|
27295
28404
|
**/
|
|
27296
28405
|
| {
|
|
27297
|
-
name: '
|
|
28406
|
+
name: 'Released';
|
|
28407
|
+
data: {
|
|
28408
|
+
agent: AccountId32;
|
|
28409
|
+
delegator: AccountId32;
|
|
28410
|
+
amount: bigint;
|
|
28411
|
+
};
|
|
28412
|
+
}
|
|
28413
|
+
/**
|
|
28414
|
+
* Funds slashed from a delegator.
|
|
28415
|
+
**/
|
|
28416
|
+
| {
|
|
28417
|
+
name: 'Slashed';
|
|
28418
|
+
data: {
|
|
28419
|
+
agent: AccountId32;
|
|
28420
|
+
delegator: AccountId32;
|
|
28421
|
+
amount: bigint;
|
|
28422
|
+
};
|
|
28423
|
+
}
|
|
28424
|
+
/**
|
|
28425
|
+
* Unclaimed delegation funds migrated to delegator.
|
|
28426
|
+
**/
|
|
28427
|
+
| {
|
|
28428
|
+
name: 'MigratedDelegation';
|
|
28429
|
+
data: {
|
|
28430
|
+
agent: AccountId32;
|
|
28431
|
+
delegator: AccountId32;
|
|
28432
|
+
amount: bigint;
|
|
28433
|
+
};
|
|
28434
|
+
};
|
|
28435
|
+
/**
|
|
28436
|
+
* The `Event` enum of this pallet
|
|
28437
|
+
**/
|
|
28438
|
+
export type PalletAssetRewardsEvent =
|
|
28439
|
+
/**
|
|
28440
|
+
* An account staked some tokens in a pool.
|
|
28441
|
+
**/
|
|
28442
|
+
{
|
|
28443
|
+
name: 'Staked';
|
|
27298
28444
|
data: {
|
|
27299
28445
|
/**
|
|
27300
|
-
* The
|
|
28446
|
+
* The account that staked assets.
|
|
27301
28447
|
**/
|
|
27302
|
-
|
|
28448
|
+
staker: AccountId32;
|
|
27303
28449
|
/**
|
|
27304
|
-
* The
|
|
28450
|
+
* The pool.
|
|
28451
|
+
**/
|
|
28452
|
+
poolId: number;
|
|
28453
|
+
/**
|
|
28454
|
+
* The staked asset amount.
|
|
27305
28455
|
**/
|
|
27306
|
-
|
|
28456
|
+
amount: bigint;
|
|
27307
28457
|
};
|
|
27308
28458
|
}
|
|
27309
28459
|
/**
|
|
27310
|
-
*
|
|
28460
|
+
* An account unstaked some tokens from a pool.
|
|
27311
28461
|
**/
|
|
27312
28462
|
| {
|
|
27313
|
-
name: '
|
|
28463
|
+
name: 'Unstaked';
|
|
27314
28464
|
data: {
|
|
27315
|
-
|
|
27316
|
-
|
|
27317
|
-
|
|
28465
|
+
/**
|
|
28466
|
+
* The account that signed transaction.
|
|
28467
|
+
**/
|
|
28468
|
+
caller: AccountId32;
|
|
28469
|
+
/**
|
|
28470
|
+
* The account that unstaked assets.
|
|
28471
|
+
**/
|
|
28472
|
+
staker: AccountId32;
|
|
28473
|
+
/**
|
|
28474
|
+
* The pool.
|
|
28475
|
+
**/
|
|
28476
|
+
poolId: number;
|
|
28477
|
+
/**
|
|
28478
|
+
* The unstaked asset amount.
|
|
28479
|
+
**/
|
|
28480
|
+
amount: bigint;
|
|
27318
28481
|
};
|
|
27319
28482
|
}
|
|
27320
28483
|
/**
|
|
27321
|
-
*
|
|
28484
|
+
* An account harvested some rewards.
|
|
27322
28485
|
**/
|
|
27323
28486
|
| {
|
|
27324
|
-
name: '
|
|
28487
|
+
name: 'RewardsHarvested';
|
|
27325
28488
|
data: {
|
|
27326
28489
|
/**
|
|
27327
|
-
* The
|
|
28490
|
+
* The account that signed transaction.
|
|
27328
28491
|
**/
|
|
27329
|
-
|
|
28492
|
+
caller: AccountId32;
|
|
27330
28493
|
/**
|
|
27331
|
-
*
|
|
27332
|
-
* is needed to decode it.
|
|
28494
|
+
* The staker whos rewards were harvested.
|
|
27333
28495
|
**/
|
|
27334
|
-
|
|
28496
|
+
staker: AccountId32;
|
|
27335
28497
|
/**
|
|
27336
|
-
*
|
|
27337
|
-
* Number of topics is capped by [`limits::NUM_EVENT_TOPICS`].
|
|
28498
|
+
* The pool.
|
|
27338
28499
|
**/
|
|
27339
|
-
|
|
28500
|
+
poolId: number;
|
|
28501
|
+
/**
|
|
28502
|
+
* The amount of harvested tokens.
|
|
28503
|
+
**/
|
|
28504
|
+
amount: bigint;
|
|
27340
28505
|
};
|
|
27341
28506
|
}
|
|
27342
28507
|
/**
|
|
27343
|
-
* A
|
|
28508
|
+
* A new reward pool was created.
|
|
27344
28509
|
**/
|
|
27345
28510
|
| {
|
|
27346
|
-
name: '
|
|
28511
|
+
name: 'PoolCreated';
|
|
27347
28512
|
data: {
|
|
27348
|
-
|
|
27349
|
-
|
|
27350
|
-
|
|
28513
|
+
/**
|
|
28514
|
+
* The account that created the pool.
|
|
28515
|
+
**/
|
|
28516
|
+
creator: AccountId32;
|
|
28517
|
+
/**
|
|
28518
|
+
* The unique ID for the new pool.
|
|
28519
|
+
**/
|
|
28520
|
+
poolId: number;
|
|
28521
|
+
/**
|
|
28522
|
+
* The staking asset.
|
|
28523
|
+
**/
|
|
28524
|
+
stakedAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
28525
|
+
/**
|
|
28526
|
+
* The reward asset.
|
|
28527
|
+
**/
|
|
28528
|
+
rewardAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
28529
|
+
/**
|
|
28530
|
+
* The initial reward rate per block.
|
|
28531
|
+
**/
|
|
28532
|
+
rewardRatePerBlock: bigint;
|
|
28533
|
+
/**
|
|
28534
|
+
* The block the pool will cease to accumulate rewards.
|
|
28535
|
+
**/
|
|
28536
|
+
expiryBlock: number;
|
|
28537
|
+
/**
|
|
28538
|
+
* The account allowed to modify the pool.
|
|
28539
|
+
**/
|
|
28540
|
+
admin: AccountId32;
|
|
27351
28541
|
};
|
|
27352
28542
|
}
|
|
27353
28543
|
/**
|
|
27354
|
-
* A
|
|
28544
|
+
* A pool reward rate was modified by the admin.
|
|
27355
28545
|
**/
|
|
27356
28546
|
| {
|
|
27357
|
-
name: '
|
|
28547
|
+
name: 'PoolRewardRateModified';
|
|
27358
28548
|
data: {
|
|
27359
28549
|
/**
|
|
27360
|
-
* The
|
|
27361
|
-
**/
|
|
27362
|
-
contract: H160;
|
|
27363
|
-
/**
|
|
27364
|
-
* New code hash that was set for the contract.
|
|
28550
|
+
* The modified pool.
|
|
27365
28551
|
**/
|
|
27366
|
-
|
|
28552
|
+
poolId: number;
|
|
27367
28553
|
/**
|
|
27368
|
-
*
|
|
28554
|
+
* The new reward rate per block.
|
|
27369
28555
|
**/
|
|
27370
|
-
|
|
28556
|
+
newRewardRatePerBlock: bigint;
|
|
27371
28557
|
};
|
|
27372
28558
|
}
|
|
27373
28559
|
/**
|
|
27374
|
-
* A
|
|
27375
|
-
*
|
|
27376
|
-
* # Note
|
|
27377
|
-
*
|
|
27378
|
-
* Please keep in mind that like all events this is only emitted for successful
|
|
27379
|
-
* calls. This is because on failure all storage changes including events are
|
|
27380
|
-
* rolled back.
|
|
28560
|
+
* A pool admin was modified.
|
|
27381
28561
|
**/
|
|
27382
28562
|
| {
|
|
27383
|
-
name: '
|
|
28563
|
+
name: 'PoolAdminModified';
|
|
27384
28564
|
data: {
|
|
27385
28565
|
/**
|
|
27386
|
-
* The
|
|
28566
|
+
* The modified pool.
|
|
27387
28567
|
**/
|
|
27388
|
-
|
|
28568
|
+
poolId: number;
|
|
27389
28569
|
/**
|
|
27390
|
-
* The
|
|
28570
|
+
* The new admin.
|
|
27391
28571
|
**/
|
|
27392
|
-
|
|
28572
|
+
newAdmin: AccountId32;
|
|
27393
28573
|
};
|
|
27394
28574
|
}
|
|
27395
28575
|
/**
|
|
27396
|
-
* A
|
|
27397
|
-
*
|
|
27398
|
-
* # Note
|
|
27399
|
-
*
|
|
27400
|
-
* Please keep in mind that like all events this is only emitted for successful
|
|
27401
|
-
* calls. This is because on failure all storage changes including events are
|
|
27402
|
-
* rolled back.
|
|
28576
|
+
* A pool expiry block was modified by the admin.
|
|
27403
28577
|
**/
|
|
27404
28578
|
| {
|
|
27405
|
-
name: '
|
|
28579
|
+
name: 'PoolExpiryBlockModified';
|
|
27406
28580
|
data: {
|
|
27407
28581
|
/**
|
|
27408
|
-
* The
|
|
27409
|
-
* the `code_hash` is executed.
|
|
28582
|
+
* The modified pool.
|
|
27410
28583
|
**/
|
|
27411
|
-
|
|
28584
|
+
poolId: number;
|
|
27412
28585
|
/**
|
|
27413
|
-
* The
|
|
28586
|
+
* The new expiry block.
|
|
27414
28587
|
**/
|
|
27415
|
-
|
|
28588
|
+
newExpiryBlock: number;
|
|
27416
28589
|
};
|
|
27417
28590
|
}
|
|
27418
28591
|
/**
|
|
27419
|
-
*
|
|
28592
|
+
* A pool information was cleared after it's completion.
|
|
27420
28593
|
**/
|
|
27421
28594
|
| {
|
|
27422
|
-
name: '
|
|
28595
|
+
name: 'PoolCleanedUp';
|
|
27423
28596
|
data: {
|
|
27424
|
-
|
|
27425
|
-
|
|
27426
|
-
|
|
28597
|
+
/**
|
|
28598
|
+
* The cleared pool.
|
|
28599
|
+
**/
|
|
28600
|
+
poolId: number;
|
|
27427
28601
|
};
|
|
27428
|
-
}
|
|
28602
|
+
};
|
|
27429
28603
|
/**
|
|
27430
|
-
*
|
|
28604
|
+
* The `Event` enum of this pallet
|
|
27431
28605
|
**/
|
|
27432
|
-
|
|
27433
|
-
name: '
|
|
28606
|
+
export type PalletAssetsFreezerEvent = {
|
|
28607
|
+
name: 'Frozen';
|
|
27434
28608
|
data: {
|
|
27435
|
-
|
|
27436
|
-
|
|
28609
|
+
who: AccountId32;
|
|
28610
|
+
assetId: number;
|
|
27437
28611
|
amount: bigint;
|
|
27438
28612
|
};
|
|
27439
|
-
};
|
|
27440
|
-
export type PalletReviveExecOrigin = {
|
|
27441
|
-
type: 'Root';
|
|
27442
28613
|
} | {
|
|
27443
|
-
|
|
27444
|
-
|
|
28614
|
+
name: 'Thawed';
|
|
28615
|
+
data: {
|
|
28616
|
+
who: AccountId32;
|
|
28617
|
+
assetId: number;
|
|
28618
|
+
amount: bigint;
|
|
28619
|
+
};
|
|
28620
|
+
};
|
|
28621
|
+
/**
|
|
28622
|
+
* The `Event` enum of this pallet
|
|
28623
|
+
**/
|
|
28624
|
+
export type PalletMetaTxEvent =
|
|
28625
|
+
/**
|
|
28626
|
+
* A meta transaction has been dispatched.
|
|
28627
|
+
*
|
|
28628
|
+
* Contains the dispatch result of the meta transaction along with post-dispatch
|
|
28629
|
+
* information.
|
|
28630
|
+
**/
|
|
28631
|
+
{
|
|
28632
|
+
name: 'Dispatched';
|
|
28633
|
+
data: {
|
|
28634
|
+
result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
|
|
28635
|
+
};
|
|
27445
28636
|
};
|
|
27446
28637
|
export type FrameSystemLastRuntimeUpgradeInfo = {
|
|
27447
28638
|
specVersion: number;
|
|
@@ -27622,6 +28813,9 @@ export type FrameSupportTokensMiscIdAmount = {
|
|
|
27622
28813
|
amount: bigint;
|
|
27623
28814
|
};
|
|
27624
28815
|
export type KitchensinkRuntimeRuntimeHoldReason = {
|
|
28816
|
+
type: 'Staking';
|
|
28817
|
+
value: PalletStakingPalletHoldReason;
|
|
28818
|
+
} | {
|
|
27625
28819
|
type: 'Council';
|
|
27626
28820
|
value: PalletCollectiveHoldReason;
|
|
27627
28821
|
} | {
|
|
@@ -27654,7 +28848,14 @@ export type KitchensinkRuntimeRuntimeHoldReason = {
|
|
|
27654
28848
|
} | {
|
|
27655
28849
|
type: 'Revive';
|
|
27656
28850
|
value: PalletReviveHoldReason;
|
|
28851
|
+
} | {
|
|
28852
|
+
type: 'DelegatedStaking';
|
|
28853
|
+
value: PalletDelegatedStakingHoldReason;
|
|
28854
|
+
} | {
|
|
28855
|
+
type: 'AssetRewards';
|
|
28856
|
+
value: PalletAssetRewardsHoldReason;
|
|
27657
28857
|
};
|
|
28858
|
+
export type PalletStakingPalletHoldReason = 'Staking';
|
|
27658
28859
|
export type PalletCollectiveHoldReason = 'ProposalSubmission';
|
|
27659
28860
|
export type PalletContractsHoldReason = 'CodeUploadDepositReserve' | 'StorageDepositReserve';
|
|
27660
28861
|
export type PalletPreimageHoldReason = 'Preimage';
|
|
@@ -27664,6 +28865,8 @@ export type PalletTransactionStorageHoldReason = 'StorageFeeHold';
|
|
|
27664
28865
|
export type PalletStateTrieMigrationHoldReason = 'SlashForMigrate';
|
|
27665
28866
|
export type PalletSafeModeHoldReason = 'EnterOrExtend';
|
|
27666
28867
|
export type PalletReviveHoldReason = 'CodeUploadDepositReserve' | 'StorageDepositReserve' | 'AddressMapping';
|
|
28868
|
+
export type PalletDelegatedStakingHoldReason = 'StakingDelegation';
|
|
28869
|
+
export type PalletAssetRewardsHoldReason = 'PoolCreation';
|
|
27667
28870
|
export type FrameSupportTokensMiscIdAmountRuntimeFreezeReason = {
|
|
27668
28871
|
id: KitchensinkRuntimeRuntimeFreezeReason;
|
|
27669
28872
|
amount: bigint;
|
|
@@ -27671,8 +28874,12 @@ export type FrameSupportTokensMiscIdAmountRuntimeFreezeReason = {
|
|
|
27671
28874
|
export type KitchensinkRuntimeRuntimeFreezeReason = {
|
|
27672
28875
|
type: 'NominationPools';
|
|
27673
28876
|
value: PalletNominationPoolsFreezeReason;
|
|
28877
|
+
} | {
|
|
28878
|
+
type: 'AssetRewards';
|
|
28879
|
+
value: PalletAssetRewardsFreezeReason;
|
|
27674
28880
|
};
|
|
27675
28881
|
export type PalletNominationPoolsFreezeReason = 'PoolMinBalance';
|
|
28882
|
+
export type PalletAssetRewardsFreezeReason = 'Staked';
|
|
27676
28883
|
/**
|
|
27677
28884
|
* The `Error` enum of this pallet.
|
|
27678
28885
|
**/
|
|
@@ -27821,6 +29028,15 @@ export type PalletStakingActiveEraInfo = {
|
|
|
27821
29028
|
index: number;
|
|
27822
29029
|
start?: bigint | undefined;
|
|
27823
29030
|
};
|
|
29031
|
+
export type SpStakingExposure = {
|
|
29032
|
+
total: bigint;
|
|
29033
|
+
own: bigint;
|
|
29034
|
+
others: Array<SpStakingIndividualExposure>;
|
|
29035
|
+
};
|
|
29036
|
+
export type SpStakingIndividualExposure = {
|
|
29037
|
+
who: AccountId32;
|
|
29038
|
+
value: bigint;
|
|
29039
|
+
};
|
|
27824
29040
|
export type SpStakingPagedExposureMetadata = {
|
|
27825
29041
|
total: bigint;
|
|
27826
29042
|
own: bigint;
|
|
@@ -27983,7 +29199,21 @@ export type PalletStakingPalletError =
|
|
|
27983
29199
|
/**
|
|
27984
29200
|
* Operation not allowed for virtual stakers.
|
|
27985
29201
|
**/
|
|
27986
|
-
| 'VirtualStakerNotAllowed'
|
|
29202
|
+
| 'VirtualStakerNotAllowed'
|
|
29203
|
+
/**
|
|
29204
|
+
* Stash could not be reaped as other pallet might depend on it.
|
|
29205
|
+
**/
|
|
29206
|
+
| 'CannotReapStash'
|
|
29207
|
+
/**
|
|
29208
|
+
* The stake of this account is already migrated to `Fungible` holds.
|
|
29209
|
+
**/
|
|
29210
|
+
| 'AlreadyMigrated'
|
|
29211
|
+
/**
|
|
29212
|
+
* Account is restricted from participation in staking. This may happen if the account is
|
|
29213
|
+
* staking in another way already, such as via pool.
|
|
29214
|
+
**/
|
|
29215
|
+
| 'Restricted';
|
|
29216
|
+
export type SpStakingOffenceOffenceSeverity = Perbill;
|
|
27987
29217
|
export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
|
|
27988
29218
|
/**
|
|
27989
29219
|
* Error for the session pallet.
|
|
@@ -28705,7 +29935,7 @@ export type PalletImOnlineError =
|
|
|
28705
29935
|
**/
|
|
28706
29936
|
| 'DuplicatedHeartbeat';
|
|
28707
29937
|
export type SpStakingOffenceOffenceDetails = {
|
|
28708
|
-
offender: [AccountId32,
|
|
29938
|
+
offender: [AccountId32, []];
|
|
28709
29939
|
reporters: Array<AccountId32>;
|
|
28710
29940
|
};
|
|
28711
29941
|
export type PalletIdentityRegistration = {
|
|
@@ -29338,11 +30568,12 @@ export type PalletMultisigError =
|
|
|
29338
30568
|
**/
|
|
29339
30569
|
| 'SenderInSignatories'
|
|
29340
30570
|
/**
|
|
29341
|
-
* Multisig operation not found
|
|
30571
|
+
* Multisig operation not found in storage.
|
|
29342
30572
|
**/
|
|
29343
30573
|
| 'NotFound'
|
|
29344
30574
|
/**
|
|
29345
|
-
* Only the account that originally created the multisig is able to cancel it
|
|
30575
|
+
* Only the account that originally created the multisig is able to cancel it or update
|
|
30576
|
+
* its deposits.
|
|
29346
30577
|
**/
|
|
29347
30578
|
| 'NotOwner'
|
|
29348
30579
|
/**
|
|
@@ -29629,7 +30860,15 @@ export type PalletAssetsError =
|
|
|
29629
30860
|
/**
|
|
29630
30861
|
* The asset ID must be equal to the [`NextAssetId`].
|
|
29631
30862
|
**/
|
|
29632
|
-
| 'BadAssetId'
|
|
30863
|
+
| 'BadAssetId'
|
|
30864
|
+
/**
|
|
30865
|
+
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
30866
|
+
**/
|
|
30867
|
+
| 'ContainsFreezes'
|
|
30868
|
+
/**
|
|
30869
|
+
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
30870
|
+
**/
|
|
30871
|
+
| 'ContainsHolds';
|
|
29633
30872
|
/**
|
|
29634
30873
|
* The `Error` enum of this pallet.
|
|
29635
30874
|
**/
|
|
@@ -30435,7 +31674,7 @@ export type PalletReferendaDecidingStatus = {
|
|
|
30435
31674
|
since: number;
|
|
30436
31675
|
confirming?: number | undefined;
|
|
30437
31676
|
};
|
|
30438
|
-
export type
|
|
31677
|
+
export type PalletReferendaTrackDetailsStr = {
|
|
30439
31678
|
name: string;
|
|
30440
31679
|
maxDeciding: number;
|
|
30441
31680
|
decisionDeposit: bigint;
|
|
@@ -30446,29 +31685,6 @@ export type PalletReferendaTrackInfo = {
|
|
|
30446
31685
|
minApproval: PalletReferendaCurve;
|
|
30447
31686
|
minSupport: PalletReferendaCurve;
|
|
30448
31687
|
};
|
|
30449
|
-
export type PalletReferendaCurve = {
|
|
30450
|
-
type: 'LinearDecreasing';
|
|
30451
|
-
value: {
|
|
30452
|
-
length: Perbill;
|
|
30453
|
-
floor: Perbill;
|
|
30454
|
-
ceil: Perbill;
|
|
30455
|
-
};
|
|
30456
|
-
} | {
|
|
30457
|
-
type: 'SteppedDecreasing';
|
|
30458
|
-
value: {
|
|
30459
|
-
begin: Perbill;
|
|
30460
|
-
end: Perbill;
|
|
30461
|
-
step: Perbill;
|
|
30462
|
-
period: Perbill;
|
|
30463
|
-
};
|
|
30464
|
-
} | {
|
|
30465
|
-
type: 'Reciprocal';
|
|
30466
|
-
value: {
|
|
30467
|
-
factor: FixedI64;
|
|
30468
|
-
xOffset: FixedI64;
|
|
30469
|
-
yOffset: FixedI64;
|
|
30470
|
-
};
|
|
30471
|
-
};
|
|
30472
31688
|
/**
|
|
30473
31689
|
* The `Error` enum of this pallet.
|
|
30474
31690
|
**/
|
|
@@ -30996,6 +32212,12 @@ export type PalletNominationPoolsError =
|
|
|
30996
32212
|
| {
|
|
30997
32213
|
name: 'NothingToSlash';
|
|
30998
32214
|
}
|
|
32215
|
+
/**
|
|
32216
|
+
* The slash amount is too low to be applied.
|
|
32217
|
+
**/
|
|
32218
|
+
| {
|
|
32219
|
+
name: 'SlashTooLow';
|
|
32220
|
+
}
|
|
30999
32221
|
/**
|
|
31000
32222
|
* The pool or member delegation has already migrated to delegate stake.
|
|
31001
32223
|
**/
|
|
@@ -31013,6 +32235,13 @@ export type PalletNominationPoolsError =
|
|
|
31013
32235
|
**/
|
|
31014
32236
|
| {
|
|
31015
32237
|
name: 'NotSupported';
|
|
32238
|
+
}
|
|
32239
|
+
/**
|
|
32240
|
+
* Account is restricted from participation in pools. This may happen if the account is
|
|
32241
|
+
* staking in another way already.
|
|
32242
|
+
**/
|
|
32243
|
+
| {
|
|
32244
|
+
name: 'Restricted';
|
|
31016
32245
|
};
|
|
31017
32246
|
export type PalletNominationPoolsDefensiveError = 'NotEnoughSpaceInUnbondPool' | 'PoolNotFound' | 'RewardPoolNotFound' | 'SubPoolsNotFound' | 'BondedStashKilledPrematurely' | 'DelegationUnsupported' | 'SlashNotApplied';
|
|
31018
32247
|
export type PalletReferendaReferendumInfoTally = {
|
|
@@ -31498,6 +32727,10 @@ export type PalletBrokerError =
|
|
|
31498
32727
|
* The maximum amount of leases has already been reached.
|
|
31499
32728
|
**/
|
|
31500
32729
|
| 'TooManyLeases'
|
|
32730
|
+
/**
|
|
32731
|
+
* The lease does not exist.
|
|
32732
|
+
**/
|
|
32733
|
+
| 'LeaseNotFound'
|
|
31501
32734
|
/**
|
|
31502
32735
|
* The revenue for the Instantaneous Core Sales of this period is not (yet) known and thus
|
|
31503
32736
|
* this operation cannot proceed.
|
|
@@ -31559,7 +32792,16 @@ export type PalletBrokerError =
|
|
|
31559
32792
|
/**
|
|
31560
32793
|
* Attempted to disable auto-renewal for a core that didn't have it enabled.
|
|
31561
32794
|
**/
|
|
31562
|
-
| 'AutoRenewalNotEnabled'
|
|
32795
|
+
| 'AutoRenewalNotEnabled'
|
|
32796
|
+
/**
|
|
32797
|
+
* Attempted to force remove an assignment that doesn't exist.
|
|
32798
|
+
**/
|
|
32799
|
+
| 'AssignmentNotFound'
|
|
32800
|
+
/**
|
|
32801
|
+
* Needed to prevent spam attacks.The amount of credits the user attempted to purchase is
|
|
32802
|
+
* below `T::MinimumCreditPurchase`.
|
|
32803
|
+
**/
|
|
32804
|
+
| 'CreditPurchaseTooSmall';
|
|
31563
32805
|
/**
|
|
31564
32806
|
* The `Error` enum of this pallet.
|
|
31565
32807
|
**/
|
|
@@ -31593,7 +32835,6 @@ export type PalletReviveWasmCodeInfo = {
|
|
|
31593
32835
|
deposit: bigint;
|
|
31594
32836
|
refcount: bigint;
|
|
31595
32837
|
codeLen: number;
|
|
31596
|
-
apiVersion: number;
|
|
31597
32838
|
behaviourVersion: number;
|
|
31598
32839
|
};
|
|
31599
32840
|
export type PalletReviveStorageContractInfo = {
|
|
@@ -31604,7 +32845,6 @@ export type PalletReviveStorageContractInfo = {
|
|
|
31604
32845
|
storageByteDeposit: bigint;
|
|
31605
32846
|
storageItemDeposit: bigint;
|
|
31606
32847
|
storageBaseDeposit: bigint;
|
|
31607
|
-
delegateDependencies: Array<[H256, bigint]>;
|
|
31608
32848
|
immutableDataLen: number;
|
|
31609
32849
|
};
|
|
31610
32850
|
export type PalletReviveStorageDeletionQueueManager = {
|
|
@@ -31789,6 +33029,10 @@ export type PalletReviveError =
|
|
|
31789
33029
|
* Failed to convert a U256 to a Balance.
|
|
31790
33030
|
**/
|
|
31791
33031
|
| 'BalanceConversionFailed'
|
|
33032
|
+
/**
|
|
33033
|
+
* Failed to convert an EVM balance to a native balance.
|
|
33034
|
+
**/
|
|
33035
|
+
| 'DecimalPrecisionLoss'
|
|
31792
33036
|
/**
|
|
31793
33037
|
* Immutable data can only be set during deploys and only be read during calls.
|
|
31794
33038
|
* Additionally, it is only valid to set the data once and it must not be empty.
|
|
@@ -31803,28 +33047,209 @@ export type PalletReviveError =
|
|
|
31803
33047
|
/**
|
|
31804
33048
|
* Tried to map an account that is already mapped.
|
|
31805
33049
|
**/
|
|
31806
|
-
| 'AccountAlreadyMapped'
|
|
31807
|
-
|
|
31808
|
-
|
|
31809
|
-
|
|
31810
|
-
|
|
31811
|
-
|
|
31812
|
-
|
|
33050
|
+
| 'AccountAlreadyMapped'
|
|
33051
|
+
/**
|
|
33052
|
+
* The transaction used to dry-run a contract is invalid.
|
|
33053
|
+
**/
|
|
33054
|
+
| 'InvalidGenericTransaction'
|
|
33055
|
+
/**
|
|
33056
|
+
* The refcount of a code either over or underflowed.
|
|
33057
|
+
**/
|
|
33058
|
+
| 'RefcountOverOrUnderflow'
|
|
33059
|
+
/**
|
|
33060
|
+
* Unsupported precompile address
|
|
33061
|
+
**/
|
|
33062
|
+
| 'UnsupportedPrecompileAddress'
|
|
33063
|
+
/**
|
|
33064
|
+
* Precompile Error
|
|
33065
|
+
**/
|
|
33066
|
+
| 'PrecompileFailure';
|
|
33067
|
+
export type PalletDelegatedStakingDelegation = {
|
|
33068
|
+
agent: AccountId32;
|
|
33069
|
+
amount: bigint;
|
|
33070
|
+
};
|
|
33071
|
+
export type PalletDelegatedStakingAgentLedger = {
|
|
33072
|
+
payee: AccountId32;
|
|
33073
|
+
totalDelegated: bigint;
|
|
33074
|
+
unclaimedWithdrawals: bigint;
|
|
33075
|
+
pendingSlash: bigint;
|
|
33076
|
+
};
|
|
33077
|
+
/**
|
|
33078
|
+
* The `Error` enum of this pallet.
|
|
33079
|
+
**/
|
|
33080
|
+
export type PalletDelegatedStakingError =
|
|
33081
|
+
/**
|
|
33082
|
+
* The account cannot perform this operation.
|
|
33083
|
+
**/
|
|
33084
|
+
'NotAllowed'
|
|
33085
|
+
/**
|
|
33086
|
+
* An existing staker cannot perform this action.
|
|
33087
|
+
**/
|
|
33088
|
+
| 'AlreadyStaking'
|
|
33089
|
+
/**
|
|
33090
|
+
* Reward Destination cannot be same as `Agent` account.
|
|
33091
|
+
**/
|
|
33092
|
+
| 'InvalidRewardDestination'
|
|
33093
|
+
/**
|
|
33094
|
+
* Delegation conditions are not met.
|
|
33095
|
+
*
|
|
33096
|
+
* Possible issues are
|
|
33097
|
+
* 1) Cannot delegate to self,
|
|
33098
|
+
* 2) Cannot delegate to multiple delegates.
|
|
33099
|
+
**/
|
|
33100
|
+
| 'InvalidDelegation'
|
|
33101
|
+
/**
|
|
33102
|
+
* The account does not have enough funds to perform the operation.
|
|
33103
|
+
**/
|
|
33104
|
+
| 'NotEnoughFunds'
|
|
33105
|
+
/**
|
|
33106
|
+
* Not an existing `Agent` account.
|
|
33107
|
+
**/
|
|
33108
|
+
| 'NotAgent'
|
|
33109
|
+
/**
|
|
33110
|
+
* Not a Delegator account.
|
|
33111
|
+
**/
|
|
33112
|
+
| 'NotDelegator'
|
|
33113
|
+
/**
|
|
33114
|
+
* Some corruption in internal state.
|
|
33115
|
+
**/
|
|
33116
|
+
| 'BadState'
|
|
33117
|
+
/**
|
|
33118
|
+
* Unapplied pending slash restricts operation on `Agent`.
|
|
33119
|
+
**/
|
|
33120
|
+
| 'UnappliedSlash'
|
|
33121
|
+
/**
|
|
33122
|
+
* `Agent` has no pending slash to be applied.
|
|
33123
|
+
**/
|
|
33124
|
+
| 'NothingToSlash'
|
|
33125
|
+
/**
|
|
33126
|
+
* Failed to withdraw amount from Core Staking.
|
|
33127
|
+
**/
|
|
33128
|
+
| 'WithdrawFailed'
|
|
33129
|
+
/**
|
|
33130
|
+
* Operation not supported by this pallet.
|
|
33131
|
+
**/
|
|
33132
|
+
| 'NotSupported';
|
|
33133
|
+
export type PalletAssetRewardsPoolStakerInfo = {
|
|
33134
|
+
amount: bigint;
|
|
33135
|
+
rewards: bigint;
|
|
33136
|
+
rewardPerTokenPaid: bigint;
|
|
33137
|
+
};
|
|
33138
|
+
export type PalletAssetRewardsPoolInfo = {
|
|
33139
|
+
stakedAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
33140
|
+
rewardAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
33141
|
+
rewardRatePerBlock: bigint;
|
|
33142
|
+
expiryBlock: number;
|
|
33143
|
+
admin: AccountId32;
|
|
33144
|
+
totalTokensStaked: bigint;
|
|
33145
|
+
rewardPerTokenStored: bigint;
|
|
33146
|
+
lastUpdateBlock: number;
|
|
33147
|
+
account: AccountId32;
|
|
33148
|
+
};
|
|
33149
|
+
/**
|
|
33150
|
+
* The `Error` enum of this pallet.
|
|
33151
|
+
**/
|
|
33152
|
+
export type PalletAssetRewardsError =
|
|
33153
|
+
/**
|
|
33154
|
+
* The staker does not have enough tokens to perform the operation.
|
|
33155
|
+
**/
|
|
33156
|
+
'NotEnoughTokens'
|
|
33157
|
+
/**
|
|
33158
|
+
* An operation was attempted on a non-existent pool.
|
|
33159
|
+
**/
|
|
33160
|
+
| 'NonExistentPool'
|
|
33161
|
+
/**
|
|
33162
|
+
* An operation was attempted for a non-existent staker.
|
|
33163
|
+
**/
|
|
33164
|
+
| 'NonExistentStaker'
|
|
33165
|
+
/**
|
|
33166
|
+
* An operation was attempted with a non-existent asset.
|
|
33167
|
+
**/
|
|
33168
|
+
| 'NonExistentAsset'
|
|
33169
|
+
/**
|
|
33170
|
+
* There was an error converting a block number.
|
|
33171
|
+
**/
|
|
33172
|
+
| 'BlockNumberConversionError'
|
|
33173
|
+
/**
|
|
33174
|
+
* The expiry block must be in the future.
|
|
33175
|
+
**/
|
|
33176
|
+
| 'ExpiryBlockMustBeInTheFuture'
|
|
33177
|
+
/**
|
|
33178
|
+
* Insufficient funds to create the freeze.
|
|
33179
|
+
**/
|
|
33180
|
+
| 'InsufficientFunds'
|
|
33181
|
+
/**
|
|
33182
|
+
* The expiry block can be only extended.
|
|
33183
|
+
**/
|
|
33184
|
+
| 'ExpiryCut'
|
|
33185
|
+
/**
|
|
33186
|
+
* The reward rate per block can be only increased.
|
|
33187
|
+
**/
|
|
33188
|
+
| 'RewardRateCut'
|
|
33189
|
+
/**
|
|
33190
|
+
* The pool still has staked tokens or rewards.
|
|
33191
|
+
**/
|
|
33192
|
+
| 'NonEmptyPool';
|
|
33193
|
+
/**
|
|
33194
|
+
* The `Error` enum of this pallet.
|
|
33195
|
+
**/
|
|
33196
|
+
export type PalletAssetsFreezerError =
|
|
33197
|
+
/**
|
|
33198
|
+
* Number of freezes on an account would exceed `MaxFreezes`.
|
|
33199
|
+
**/
|
|
33200
|
+
'TooManyFreezes';
|
|
33201
|
+
/**
|
|
33202
|
+
* The `Error` enum of this pallet.
|
|
33203
|
+
**/
|
|
33204
|
+
export type PalletMetaTxError =
|
|
33205
|
+
/**
|
|
33206
|
+
* Invalid proof (e.g. signature).
|
|
33207
|
+
**/
|
|
33208
|
+
'BadProof'
|
|
33209
|
+
/**
|
|
33210
|
+
* The meta transaction is not yet valid (e.g. nonce too high).
|
|
33211
|
+
**/
|
|
33212
|
+
| 'Future'
|
|
33213
|
+
/**
|
|
33214
|
+
* The meta transaction is outdated (e.g. nonce too low).
|
|
33215
|
+
**/
|
|
33216
|
+
| 'Stale'
|
|
33217
|
+
/**
|
|
33218
|
+
* The meta transactions's birth block is ancient.
|
|
33219
|
+
**/
|
|
33220
|
+
| 'AncientBirthBlock'
|
|
33221
|
+
/**
|
|
33222
|
+
* The transaction extension did not authorize any origin.
|
|
33223
|
+
**/
|
|
33224
|
+
| 'UnknownOrigin'
|
|
33225
|
+
/**
|
|
33226
|
+
* The meta transaction is invalid.
|
|
33227
|
+
**/
|
|
33228
|
+
| 'Invalid';
|
|
31813
33229
|
export type FrameSystemExtensionsCheckWeight = {};
|
|
31814
33230
|
export type PalletAssetConversionTxPaymentChargeAssetTxPayment = {
|
|
31815
33231
|
tip: bigint;
|
|
31816
33232
|
assetId?: FrameSupportTokensFungibleUnionOfNativeOrWithId | undefined;
|
|
31817
33233
|
};
|
|
31818
|
-
export type
|
|
31819
|
-
mode: FrameMetadataHashExtensionMode;
|
|
31820
|
-
};
|
|
31821
|
-
export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
33234
|
+
export type FrameSystemExtensionsWeightReclaim = {};
|
|
31822
33235
|
export type SpRuntimeBlock = {
|
|
31823
33236
|
header: Header;
|
|
31824
33237
|
extrinsics: Array<UncheckedExtrinsic>;
|
|
31825
33238
|
};
|
|
31826
33239
|
export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
|
|
31827
33240
|
export type SpCoreOpaqueMetadata = Bytes;
|
|
33241
|
+
export type FrameSupportViewFunctionsViewFunctionId = {
|
|
33242
|
+
prefix: FixedBytes<16>;
|
|
33243
|
+
suffix: FixedBytes<16>;
|
|
33244
|
+
};
|
|
33245
|
+
export type FrameSupportViewFunctionsViewFunctionDispatchError = {
|
|
33246
|
+
type: 'NotImplemented';
|
|
33247
|
+
} | {
|
|
33248
|
+
type: 'NotFound';
|
|
33249
|
+
value: FrameSupportViewFunctionsViewFunctionId;
|
|
33250
|
+
} | {
|
|
33251
|
+
type: 'Codec';
|
|
33252
|
+
};
|
|
31828
33253
|
export type SpRuntimeTransactionValidityTransactionValidityError = {
|
|
31829
33254
|
type: 'Invalid';
|
|
31830
33255
|
value: SpRuntimeTransactionValidityInvalidTransaction;
|
|
@@ -31958,9 +33383,7 @@ export type PalletRevivePrimitivesContractResult = {
|
|
|
31958
33383
|
gasConsumed: SpWeightsWeightV2Weight;
|
|
31959
33384
|
gasRequired: SpWeightsWeightV2Weight;
|
|
31960
33385
|
storageDeposit: PalletRevivePrimitivesStorageDeposit;
|
|
31961
|
-
debugMessage: Bytes;
|
|
31962
33386
|
result: Result<PalletRevivePrimitivesExecReturnValue, DispatchError>;
|
|
31963
|
-
events?: Array<FrameSystemEventRecord> | undefined;
|
|
31964
33387
|
};
|
|
31965
33388
|
export type PalletRevivePrimitivesExecReturnValue = {
|
|
31966
33389
|
flags: PalletReviveUapiFlagsReturnFlags;
|
|
@@ -31987,25 +33410,84 @@ export type PalletRevivePrimitivesContractResultInstantiateReturnValue = {
|
|
|
31987
33410
|
gasConsumed: SpWeightsWeightV2Weight;
|
|
31988
33411
|
gasRequired: SpWeightsWeightV2Weight;
|
|
31989
33412
|
storageDeposit: PalletRevivePrimitivesStorageDeposit;
|
|
31990
|
-
debugMessage: Bytes;
|
|
31991
33413
|
result: Result<PalletRevivePrimitivesInstantiateReturnValue, DispatchError>;
|
|
31992
|
-
events?: Array<FrameSystemEventRecord> | undefined;
|
|
31993
33414
|
};
|
|
31994
33415
|
export type PalletRevivePrimitivesInstantiateReturnValue = {
|
|
31995
33416
|
result: PalletRevivePrimitivesExecReturnValue;
|
|
31996
33417
|
addr: H160;
|
|
31997
33418
|
};
|
|
31998
|
-
export type
|
|
31999
|
-
|
|
33419
|
+
export type PalletReviveEvmApiRpcTypesGenGenericTransaction = {
|
|
33420
|
+
accessList?: Array<PalletReviveEvmApiRpcTypesGenAccessListEntry> | undefined;
|
|
33421
|
+
blobVersionedHashes: Array<H256>;
|
|
33422
|
+
blobs: Array<PalletReviveEvmApiByteBytes>;
|
|
33423
|
+
chainId?: U256 | undefined;
|
|
33424
|
+
from?: H160 | undefined;
|
|
33425
|
+
gas?: U256 | undefined;
|
|
33426
|
+
gasPrice?: U256 | undefined;
|
|
33427
|
+
input: PalletReviveEvmApiRpcTypesGenInputOrData;
|
|
33428
|
+
maxFeePerBlobGas?: U256 | undefined;
|
|
33429
|
+
maxFeePerGas?: U256 | undefined;
|
|
33430
|
+
maxPriorityFeePerGas?: U256 | undefined;
|
|
33431
|
+
nonce?: U256 | undefined;
|
|
33432
|
+
to?: H160 | undefined;
|
|
33433
|
+
rType?: PalletReviveEvmApiByte | undefined;
|
|
33434
|
+
value?: U256 | undefined;
|
|
33435
|
+
};
|
|
33436
|
+
export type PalletReviveEvmApiRpcTypesGenAccessListEntry = {
|
|
33437
|
+
address: H160;
|
|
33438
|
+
storageKeys: Array<H256>;
|
|
33439
|
+
};
|
|
33440
|
+
export type PalletReviveEvmApiByteBytes = Bytes;
|
|
33441
|
+
export type PalletReviveEvmApiRpcTypesGenInputOrData = {
|
|
33442
|
+
input?: PalletReviveEvmApiByteBytes | undefined;
|
|
33443
|
+
data?: PalletReviveEvmApiByteBytes | undefined;
|
|
33444
|
+
};
|
|
33445
|
+
export type PalletReviveEvmApiByte = number;
|
|
33446
|
+
export type PalletRevivePrimitivesEthTransactInfo = {
|
|
32000
33447
|
gasRequired: SpWeightsWeightV2Weight;
|
|
32001
33448
|
storageDeposit: bigint;
|
|
32002
|
-
|
|
33449
|
+
ethGas: U256;
|
|
33450
|
+
data: Bytes;
|
|
33451
|
+
};
|
|
33452
|
+
export type PalletRevivePrimitivesEthTransactError = {
|
|
33453
|
+
type: 'Data';
|
|
33454
|
+
value: Bytes;
|
|
33455
|
+
} | {
|
|
33456
|
+
type: 'Message';
|
|
33457
|
+
value: string;
|
|
32003
33458
|
};
|
|
32004
33459
|
export type PalletRevivePrimitivesCodeUploadReturnValue = {
|
|
32005
33460
|
codeHash: H256;
|
|
32006
33461
|
deposit: bigint;
|
|
32007
33462
|
};
|
|
32008
33463
|
export type PalletRevivePrimitivesContractAccessError = 'DoesntExist' | 'KeyDecodingFailed';
|
|
33464
|
+
export type PalletReviveEvmApiDebugRpcTypesTracerConfig = {
|
|
33465
|
+
type: 'CallTracer';
|
|
33466
|
+
value: {
|
|
33467
|
+
withLogs: boolean;
|
|
33468
|
+
};
|
|
33469
|
+
};
|
|
33470
|
+
export type PalletReviveEvmApiDebugRpcTypesCallTrace = {
|
|
33471
|
+
from: H160;
|
|
33472
|
+
gas: U256;
|
|
33473
|
+
gasUsed: U256;
|
|
33474
|
+
to: H160;
|
|
33475
|
+
input: PalletReviveEvmApiByteBytes;
|
|
33476
|
+
output: PalletReviveEvmApiByteBytes;
|
|
33477
|
+
error?: string | undefined;
|
|
33478
|
+
revertReason?: string | undefined;
|
|
33479
|
+
calls: Array<PalletReviveEvmApiDebugRpcTypesCallTrace>;
|
|
33480
|
+
logs: Array<PalletReviveEvmApiDebugRpcTypesCallLog>;
|
|
33481
|
+
value?: U256 | undefined;
|
|
33482
|
+
callType: PalletReviveEvmApiDebugRpcTypesCallType;
|
|
33483
|
+
};
|
|
33484
|
+
export type PalletReviveEvmApiDebugRpcTypesCallLog = {
|
|
33485
|
+
address: H160;
|
|
33486
|
+
topics: Array<H256>;
|
|
33487
|
+
data: PalletReviveEvmApiByteBytes;
|
|
33488
|
+
position: number;
|
|
33489
|
+
};
|
|
33490
|
+
export type PalletReviveEvmApiDebugRpcTypesCallType = 'Call' | 'StaticCall' | 'DelegateCall';
|
|
32009
33491
|
export type PalletTransactionPaymentRuntimeDispatchInfo = {
|
|
32010
33492
|
weight: SpWeightsWeightV2Weight;
|
|
32011
33493
|
class: FrameSupportDispatchDispatchClass;
|
|
@@ -32242,4 +33724,16 @@ export type KitchensinkRuntimeRuntimeError = {
|
|
|
32242
33724
|
} | {
|
|
32243
33725
|
pallet: 'Revive';
|
|
32244
33726
|
palletError: PalletReviveError;
|
|
33727
|
+
} | {
|
|
33728
|
+
pallet: 'DelegatedStaking';
|
|
33729
|
+
palletError: PalletDelegatedStakingError;
|
|
33730
|
+
} | {
|
|
33731
|
+
pallet: 'AssetRewards';
|
|
33732
|
+
palletError: PalletAssetRewardsError;
|
|
33733
|
+
} | {
|
|
33734
|
+
pallet: 'AssetsFreezer';
|
|
33735
|
+
palletError: PalletAssetsFreezerError;
|
|
33736
|
+
} | {
|
|
33737
|
+
pallet: 'MetaTx';
|
|
33738
|
+
palletError: PalletMetaTxError;
|
|
32245
33739
|
};
|