@dedot/chaintypes 0.0.1-alpha.133 → 0.0.1-alpha.134
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/aleph/consts.d.ts +1 -1
- package/aleph/errors.d.ts +1 -1
- package/aleph/events.d.ts +1 -1
- package/aleph/index.d.ts +1 -1
- package/aleph/json-rpc.d.ts +1 -1
- package/aleph/query.d.ts +1 -1
- package/aleph/runtime.d.ts +1 -1
- package/aleph/tx.d.ts +1 -1
- package/aleph/types.d.ts +117 -102
- package/astar/consts.d.ts +6 -1
- package/astar/errors.d.ts +6 -1
- package/astar/events.d.ts +2 -1
- package/astar/index.d.ts +1 -1
- package/astar/json-rpc.d.ts +1 -1
- package/astar/query.d.ts +1 -1
- package/astar/runtime.d.ts +7 -3
- package/astar/tx.d.ts +20 -1
- package/astar/types.d.ts +436 -405
- package/kusama/consts.d.ts +1 -1
- package/kusama/errors.d.ts +1 -1
- package/kusama/events.d.ts +1 -1
- package/kusama/index.d.ts +1 -1
- package/kusama/json-rpc.d.ts +1 -1
- package/kusama/query.d.ts +1 -1
- package/kusama/runtime.d.ts +1 -1
- package/kusama/tx.d.ts +1 -1
- package/kusama/types.d.ts +663 -638
- package/kusamaAssetHub/consts.d.ts +1 -1
- package/kusamaAssetHub/errors.d.ts +1 -1
- package/kusamaAssetHub/events.d.ts +1 -1
- package/kusamaAssetHub/index.d.ts +1 -1
- package/kusamaAssetHub/json-rpc.d.ts +1 -1
- package/kusamaAssetHub/query.d.ts +1 -1
- package/kusamaAssetHub/runtime.d.ts +1 -1
- package/kusamaAssetHub/tx.d.ts +1 -1
- package/kusamaAssetHub/types.d.ts +480 -467
- package/moonbeam/consts.d.ts +1 -1
- package/moonbeam/errors.d.ts +1 -1
- package/moonbeam/events.d.ts +1 -1
- package/moonbeam/index.d.ts +1 -1
- package/moonbeam/json-rpc.d.ts +1 -9
- package/moonbeam/query.d.ts +1 -1
- package/moonbeam/runtime.d.ts +1 -1
- package/moonbeam/tx.d.ts +1 -1
- package/moonbeam/types.d.ts +595 -582
- package/package.json +3 -3
- package/polkadot/consts.d.ts +1 -1
- package/polkadot/errors.d.ts +1 -1
- package/polkadot/events.d.ts +1 -1
- package/polkadot/index.d.ts +1 -1
- package/polkadot/json-rpc.d.ts +1 -1
- package/polkadot/query.d.ts +1 -1
- package/polkadot/runtime.d.ts +1 -1
- package/polkadot/tx.d.ts +1 -1
- package/polkadot/types.d.ts +647 -622
- package/polkadotAssetHub/consts.d.ts +1 -1
- package/polkadotAssetHub/errors.d.ts +1 -1
- package/polkadotAssetHub/events.d.ts +1 -1
- package/polkadotAssetHub/index.d.ts +1 -1
- package/polkadotAssetHub/json-rpc.d.ts +1 -1
- package/polkadotAssetHub/query.d.ts +1 -1
- package/polkadotAssetHub/runtime.d.ts +1 -1
- package/polkadotAssetHub/tx.d.ts +1 -1
- package/polkadotAssetHub/types.d.ts +477 -464
- package/rococo/consts.d.ts +1 -1
- package/rococo/errors.d.ts +1 -1
- package/rococo/events.d.ts +1 -1
- package/rococo/index.d.ts +1 -1
- package/rococo/json-rpc.d.ts +1 -1
- package/rococo/query.d.ts +1 -1
- package/rococo/runtime.d.ts +1 -1
- package/rococo/tx.d.ts +1 -1
- package/rococo/types.d.ts +619 -606
- package/rococoAssetHub/consts.d.ts +1 -1
- package/rococoAssetHub/errors.d.ts +1 -1
- package/rococoAssetHub/events.d.ts +1 -1
- package/rococoAssetHub/index.d.ts +1 -1
- package/rococoAssetHub/json-rpc.d.ts +1 -1
- package/rococoAssetHub/query.d.ts +1 -1
- package/rococoAssetHub/runtime.d.ts +1 -1
- package/rococoAssetHub/tx.d.ts +1 -1
- package/rococoAssetHub/types.d.ts +480 -467
- package/substrate/consts.d.ts +1 -1
- package/substrate/errors.d.ts +1 -1
- package/substrate/events.d.ts +1 -1
- package/substrate/index.d.ts +1 -1
- package/substrate/json-rpc.d.ts +1 -1
- package/substrate/query.d.ts +1 -1
- package/substrate/runtime.d.ts +1 -1
- package/substrate/tx.d.ts +1 -1
- package/substrate/types.d.ts +261 -246
- package/westendAssetHub/consts.d.ts +1 -1
- package/westendAssetHub/errors.d.ts +1 -1
- package/westendAssetHub/events.d.ts +1 -1
- package/westendAssetHub/index.d.ts +1 -1
- package/westendAssetHub/json-rpc.d.ts +1 -1
- package/westendAssetHub/query.d.ts +1 -1
- package/westendAssetHub/runtime.d.ts +1 -1
- package/westendAssetHub/tx.d.ts +1 -1
- package/westendAssetHub/types.d.ts +485 -472
package/aleph/consts.d.ts
CHANGED
package/aleph/errors.d.ts
CHANGED
package/aleph/events.d.ts
CHANGED
package/aleph/index.d.ts
CHANGED
package/aleph/json-rpc.d.ts
CHANGED
package/aleph/query.d.ts
CHANGED
package/aleph/runtime.d.ts
CHANGED
package/aleph/tx.d.ts
CHANGED
package/aleph/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by
|
|
1
|
+
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type {
|
|
4
4
|
Phase,
|
|
@@ -327,11 +327,11 @@ export type PalletStakingPalletEvent =
|
|
|
327
327
|
| { name: 'ForceEra'; data: { mode: PalletStakingForcing } };
|
|
328
328
|
|
|
329
329
|
export type PalletStakingRewardDestination =
|
|
330
|
-
| {
|
|
331
|
-
| {
|
|
332
|
-
| {
|
|
333
|
-
| {
|
|
334
|
-
| {
|
|
330
|
+
| { type: 'Staked' }
|
|
331
|
+
| { type: 'Stash' }
|
|
332
|
+
| { type: 'Controller' }
|
|
333
|
+
| { type: 'Account'; value: AccountId32 }
|
|
334
|
+
| { type: 'None' };
|
|
335
335
|
|
|
336
336
|
export type PalletStakingValidatorPrefs = { commission: Perbill; blocked: boolean };
|
|
337
337
|
|
|
@@ -684,7 +684,7 @@ export type PalletContractsEvent =
|
|
|
684
684
|
**/
|
|
685
685
|
| { name: 'StorageDepositTransferredAndReleased'; data: { from: AccountId32; to: AccountId32; amount: bigint } };
|
|
686
686
|
|
|
687
|
-
export type PalletContractsOrigin = {
|
|
687
|
+
export type PalletContractsOrigin = { type: 'Root' } | { type: 'Signed'; value: AccountId32 };
|
|
688
688
|
|
|
689
689
|
export type AlephRuntimeRuntime = {};
|
|
690
690
|
|
|
@@ -849,7 +849,7 @@ export type PrimitivesBanConfig = {
|
|
|
849
849
|
|
|
850
850
|
export type PrimitivesBanInfo = { reason: PrimitivesBanReason; start: number };
|
|
851
851
|
|
|
852
|
-
export type PrimitivesBanReason = {
|
|
852
|
+
export type PrimitivesBanReason = { type: 'InsufficientUptime'; value: number } | { type: 'OtherReason'; value: Bytes };
|
|
853
853
|
|
|
854
854
|
/**
|
|
855
855
|
* The `Event` enum of this pallet
|
|
@@ -1037,9 +1037,9 @@ export type PalletSchedulerScheduled = {
|
|
|
1037
1037
|
};
|
|
1038
1038
|
|
|
1039
1039
|
export type FrameSupportPreimagesBounded =
|
|
1040
|
-
| {
|
|
1041
|
-
| {
|
|
1042
|
-
| {
|
|
1040
|
+
| { type: 'Legacy'; value: { hash: H256 } }
|
|
1041
|
+
| { type: 'Inline'; value: Bytes }
|
|
1042
|
+
| { type: 'Lookup'; value: { hash: H256; len: number } };
|
|
1043
1043
|
|
|
1044
1044
|
export type AlephRuntimeRuntimeCall =
|
|
1045
1045
|
| { pallet: 'System'; palletCall: FrameSystemCall }
|
|
@@ -1519,13 +1519,19 @@ export type PalletStakingPalletCallLike =
|
|
|
1519
1519
|
**/
|
|
1520
1520
|
| { name: 'SetMinCommission'; params: { new: Perbill } };
|
|
1521
1521
|
|
|
1522
|
-
export type PalletStakingPalletConfigOp = {
|
|
1522
|
+
export type PalletStakingPalletConfigOp = { type: 'Noop' } | { type: 'Set'; value: bigint } | { type: 'Remove' };
|
|
1523
1523
|
|
|
1524
|
-
export type PalletStakingPalletConfigOpU32 = {
|
|
1524
|
+
export type PalletStakingPalletConfigOpU32 = { type: 'Noop' } | { type: 'Set'; value: number } | { type: 'Remove' };
|
|
1525
1525
|
|
|
1526
|
-
export type PalletStakingPalletConfigOpPercent =
|
|
1526
|
+
export type PalletStakingPalletConfigOpPercent =
|
|
1527
|
+
| { type: 'Noop' }
|
|
1528
|
+
| { type: 'Set'; value: Percent }
|
|
1529
|
+
| { type: 'Remove' };
|
|
1527
1530
|
|
|
1528
|
-
export type PalletStakingPalletConfigOpPerbill =
|
|
1531
|
+
export type PalletStakingPalletConfigOpPerbill =
|
|
1532
|
+
| { type: 'Noop' }
|
|
1533
|
+
| { type: 'Set'; value: Perbill }
|
|
1534
|
+
| { type: 'Remove' };
|
|
1529
1535
|
|
|
1530
1536
|
/**
|
|
1531
1537
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -1776,10 +1782,13 @@ export type PalletUtilityCallLike =
|
|
|
1776
1782
|
| { name: 'WithWeight'; params: { call: AlephRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } };
|
|
1777
1783
|
|
|
1778
1784
|
export type AlephRuntimeOriginCaller =
|
|
1779
|
-
| {
|
|
1780
|
-
| {
|
|
1785
|
+
| { type: 'System'; value: FrameSupportDispatchRawOrigin }
|
|
1786
|
+
| { type: 'Void'; value: SpCoreVoid };
|
|
1781
1787
|
|
|
1782
|
-
export type FrameSupportDispatchRawOrigin =
|
|
1788
|
+
export type FrameSupportDispatchRawOrigin =
|
|
1789
|
+
| { type: 'Root' }
|
|
1790
|
+
| { type: 'Signed'; value: AccountId32 }
|
|
1791
|
+
| { type: 'None' };
|
|
1783
1792
|
|
|
1784
1793
|
export type SpCoreVoid = null;
|
|
1785
1794
|
|
|
@@ -2363,15 +2372,21 @@ export type PalletNominationPoolsCallLike =
|
|
|
2363
2372
|
**/
|
|
2364
2373
|
| { name: 'ClaimCommission'; params: { poolId: number } };
|
|
2365
2374
|
|
|
2366
|
-
export type PalletNominationPoolsBondExtra = {
|
|
2375
|
+
export type PalletNominationPoolsBondExtra = { type: 'FreeBalance'; value: bigint } | { type: 'Rewards' };
|
|
2367
2376
|
|
|
2368
|
-
export type PalletNominationPoolsConfigOp = {
|
|
2377
|
+
export type PalletNominationPoolsConfigOp = { type: 'Noop' } | { type: 'Set'; value: bigint } | { type: 'Remove' };
|
|
2369
2378
|
|
|
2370
|
-
export type PalletNominationPoolsConfigOpU32 = {
|
|
2379
|
+
export type PalletNominationPoolsConfigOpU32 = { type: 'Noop' } | { type: 'Set'; value: number } | { type: 'Remove' };
|
|
2371
2380
|
|
|
2372
|
-
export type PalletNominationPoolsConfigOpPerbill =
|
|
2381
|
+
export type PalletNominationPoolsConfigOpPerbill =
|
|
2382
|
+
| { type: 'Noop' }
|
|
2383
|
+
| { type: 'Set'; value: Perbill }
|
|
2384
|
+
| { type: 'Remove' };
|
|
2373
2385
|
|
|
2374
|
-
export type PalletNominationPoolsConfigOp004 =
|
|
2386
|
+
export type PalletNominationPoolsConfigOp004 =
|
|
2387
|
+
| { type: 'Noop' }
|
|
2388
|
+
| { type: 'Set'; value: AccountId32 }
|
|
2389
|
+
| { type: 'Remove' };
|
|
2375
2390
|
|
|
2376
2391
|
export type PalletNominationPoolsClaimPermission =
|
|
2377
2392
|
| 'Permissioned'
|
|
@@ -2537,13 +2552,13 @@ export type PalletIdentityIdentityField =
|
|
|
2537
2552
|
| 'Twitter';
|
|
2538
2553
|
|
|
2539
2554
|
export type PalletIdentityJudgement =
|
|
2540
|
-
| {
|
|
2541
|
-
| {
|
|
2542
|
-
| {
|
|
2543
|
-
| {
|
|
2544
|
-
| {
|
|
2545
|
-
| {
|
|
2546
|
-
| {
|
|
2555
|
+
| { type: 'Unknown' }
|
|
2556
|
+
| { type: 'FeePaid'; value: bigint }
|
|
2557
|
+
| { type: 'Reasonable' }
|
|
2558
|
+
| { type: 'KnownGood' }
|
|
2559
|
+
| { type: 'OutOfDate' }
|
|
2560
|
+
| { type: 'LowQuality' }
|
|
2561
|
+
| { type: 'Erroneous' };
|
|
2547
2562
|
|
|
2548
2563
|
/**
|
|
2549
2564
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -2783,7 +2798,7 @@ export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
|
|
|
2783
2798
|
|
|
2784
2799
|
export type PalletBalancesIdAmount = { id: AlephRuntimeRuntimeHoldReason; amount: bigint };
|
|
2785
2800
|
|
|
2786
|
-
export type AlephRuntimeRuntimeHoldReason = {
|
|
2801
|
+
export type AlephRuntimeRuntimeHoldReason = { type: 'Contracts'; value: PalletContractsHoldReason };
|
|
2787
2802
|
|
|
2788
2803
|
export type PalletContractsHoldReason = 'CodeUploadDepositReserve' | 'StorageDepositReserve';
|
|
2789
2804
|
|
|
@@ -3507,37 +3522,37 @@ export type PalletNominationPoolsError =
|
|
|
3507
3522
|
/**
|
|
3508
3523
|
* A (bonded) pool id does not exist.
|
|
3509
3524
|
**/
|
|
3510
|
-
| {
|
|
3525
|
+
| { name: 'PoolNotFound' }
|
|
3511
3526
|
/**
|
|
3512
3527
|
* An account is not a member.
|
|
3513
3528
|
**/
|
|
3514
|
-
| {
|
|
3529
|
+
| { name: 'PoolMemberNotFound' }
|
|
3515
3530
|
/**
|
|
3516
3531
|
* A reward pool does not exist. In all cases this is a system logic error.
|
|
3517
3532
|
**/
|
|
3518
|
-
| {
|
|
3533
|
+
| { name: 'RewardPoolNotFound' }
|
|
3519
3534
|
/**
|
|
3520
3535
|
* A sub pool does not exist.
|
|
3521
3536
|
**/
|
|
3522
|
-
| {
|
|
3537
|
+
| { name: 'SubPoolsNotFound' }
|
|
3523
3538
|
/**
|
|
3524
3539
|
* An account is already delegating in another pool. An account may only belong to one
|
|
3525
3540
|
* pool at a time.
|
|
3526
3541
|
**/
|
|
3527
|
-
| {
|
|
3542
|
+
| { name: 'AccountBelongsToOtherPool' }
|
|
3528
3543
|
/**
|
|
3529
3544
|
* The member is fully unbonded (and thus cannot access the bonded and reward pool
|
|
3530
3545
|
* anymore to, for example, collect rewards).
|
|
3531
3546
|
**/
|
|
3532
|
-
| {
|
|
3547
|
+
| { name: 'FullyUnbonding' }
|
|
3533
3548
|
/**
|
|
3534
3549
|
* The member cannot unbond further chunks due to reaching the limit.
|
|
3535
3550
|
**/
|
|
3536
|
-
| {
|
|
3551
|
+
| { name: 'MaxUnbondingLimit' }
|
|
3537
3552
|
/**
|
|
3538
3553
|
* None of the funds can be withdrawn yet because the bonding duration has not passed.
|
|
3539
3554
|
**/
|
|
3540
|
-
| {
|
|
3555
|
+
| { name: 'CannotWithdrawAny' }
|
|
3541
3556
|
/**
|
|
3542
3557
|
* The amount does not meet the minimum bond to either join or create a pool.
|
|
3543
3558
|
*
|
|
@@ -3545,97 +3560,97 @@ export type PalletNominationPoolsError =
|
|
|
3545
3560
|
* `Pallet::depositor_min_bond`. The caller does not have nominating
|
|
3546
3561
|
* permissions for the pool. Members can never unbond to a value below `MinJoinBond`.
|
|
3547
3562
|
**/
|
|
3548
|
-
| {
|
|
3563
|
+
| { name: 'MinimumBondNotMet' }
|
|
3549
3564
|
/**
|
|
3550
3565
|
* The transaction could not be executed due to overflow risk for the pool.
|
|
3551
3566
|
**/
|
|
3552
|
-
| {
|
|
3567
|
+
| { name: 'OverflowRisk' }
|
|
3553
3568
|
/**
|
|
3554
3569
|
* A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
|
|
3555
3570
|
* other members to be permissionlessly unbonded.
|
|
3556
3571
|
**/
|
|
3557
|
-
| {
|
|
3572
|
+
| { name: 'NotDestroying' }
|
|
3558
3573
|
/**
|
|
3559
3574
|
* The caller does not have nominating permissions for the pool.
|
|
3560
3575
|
**/
|
|
3561
|
-
| {
|
|
3576
|
+
| { name: 'NotNominator' }
|
|
3562
3577
|
/**
|
|
3563
3578
|
* Either a) the caller cannot make a valid kick or b) the pool is not destroying.
|
|
3564
3579
|
**/
|
|
3565
|
-
| {
|
|
3580
|
+
| { name: 'NotKickerOrDestroying' }
|
|
3566
3581
|
/**
|
|
3567
3582
|
* The pool is not open to join
|
|
3568
3583
|
**/
|
|
3569
|
-
| {
|
|
3584
|
+
| { name: 'NotOpen' }
|
|
3570
3585
|
/**
|
|
3571
3586
|
* The system is maxed out on pools.
|
|
3572
3587
|
**/
|
|
3573
|
-
| {
|
|
3588
|
+
| { name: 'MaxPools' }
|
|
3574
3589
|
/**
|
|
3575
3590
|
* Too many members in the pool or system.
|
|
3576
3591
|
**/
|
|
3577
|
-
| {
|
|
3592
|
+
| { name: 'MaxPoolMembers' }
|
|
3578
3593
|
/**
|
|
3579
3594
|
* The pools state cannot be changed.
|
|
3580
3595
|
**/
|
|
3581
|
-
| {
|
|
3596
|
+
| { name: 'CanNotChangeState' }
|
|
3582
3597
|
/**
|
|
3583
3598
|
* The caller does not have adequate permissions.
|
|
3584
3599
|
**/
|
|
3585
|
-
| {
|
|
3600
|
+
| { name: 'DoesNotHavePermission' }
|
|
3586
3601
|
/**
|
|
3587
3602
|
* Metadata exceeds [`Config::MaxMetadataLen`]
|
|
3588
3603
|
**/
|
|
3589
|
-
| {
|
|
3604
|
+
| { name: 'MetadataExceedsMaxLen' }
|
|
3590
3605
|
/**
|
|
3591
3606
|
* Some error occurred that should never happen. This should be reported to the
|
|
3592
3607
|
* maintainers.
|
|
3593
3608
|
**/
|
|
3594
|
-
| {
|
|
3609
|
+
| { name: 'Defensive'; data: PalletNominationPoolsDefensiveError }
|
|
3595
3610
|
/**
|
|
3596
3611
|
* Partial unbonding now allowed permissionlessly.
|
|
3597
3612
|
**/
|
|
3598
|
-
| {
|
|
3613
|
+
| { name: 'PartialUnbondNotAllowedPermissionlessly' }
|
|
3599
3614
|
/**
|
|
3600
3615
|
* The pool's max commission cannot be set higher than the existing value.
|
|
3601
3616
|
**/
|
|
3602
|
-
| {
|
|
3617
|
+
| { name: 'MaxCommissionRestricted' }
|
|
3603
3618
|
/**
|
|
3604
3619
|
* The supplied commission exceeds the max allowed commission.
|
|
3605
3620
|
**/
|
|
3606
|
-
| {
|
|
3621
|
+
| { name: 'CommissionExceedsMaximum' }
|
|
3607
3622
|
/**
|
|
3608
3623
|
* The supplied commission exceeds global maximum commission.
|
|
3609
3624
|
**/
|
|
3610
|
-
| {
|
|
3625
|
+
| { name: 'CommissionExceedsGlobalMaximum' }
|
|
3611
3626
|
/**
|
|
3612
3627
|
* Not enough blocks have surpassed since the last commission update.
|
|
3613
3628
|
**/
|
|
3614
|
-
| {
|
|
3629
|
+
| { name: 'CommissionChangeThrottled' }
|
|
3615
3630
|
/**
|
|
3616
3631
|
* The submitted changes to commission change rate are not allowed.
|
|
3617
3632
|
**/
|
|
3618
|
-
| {
|
|
3633
|
+
| { name: 'CommissionChangeRateNotAllowed' }
|
|
3619
3634
|
/**
|
|
3620
3635
|
* There is no pending commission to claim.
|
|
3621
3636
|
**/
|
|
3622
|
-
| {
|
|
3637
|
+
| { name: 'NoPendingCommission' }
|
|
3623
3638
|
/**
|
|
3624
3639
|
* No commission current has been set.
|
|
3625
3640
|
**/
|
|
3626
|
-
| {
|
|
3641
|
+
| { name: 'NoCommissionCurrentSet' }
|
|
3627
3642
|
/**
|
|
3628
3643
|
* Pool id currently in use.
|
|
3629
3644
|
**/
|
|
3630
|
-
| {
|
|
3645
|
+
| { name: 'PoolIdInUse' }
|
|
3631
3646
|
/**
|
|
3632
3647
|
* Pool id provided is not correct/usable.
|
|
3633
3648
|
**/
|
|
3634
|
-
| {
|
|
3649
|
+
| { name: 'InvalidPoolId' }
|
|
3635
3650
|
/**
|
|
3636
3651
|
* Bonding extra is restricted to the exact pending reward amount.
|
|
3637
3652
|
**/
|
|
3638
|
-
| {
|
|
3653
|
+
| { name: 'BondExtraRestricted' };
|
|
3639
3654
|
|
|
3640
3655
|
export type PalletNominationPoolsDefensiveError =
|
|
3641
3656
|
| 'NotEnoughSpaceInUnbondPool'
|
|
@@ -3801,9 +3816,9 @@ export type PalletProxyError =
|
|
|
3801
3816
|
| 'NoSelfProxy';
|
|
3802
3817
|
|
|
3803
3818
|
export type SpRuntimeMultiSignature =
|
|
3804
|
-
| {
|
|
3805
|
-
| {
|
|
3806
|
-
| {
|
|
3819
|
+
| { type: 'Ed25519'; value: SpCoreEd25519Signature }
|
|
3820
|
+
| { type: 'Sr25519'; value: SpCoreSr25519Signature }
|
|
3821
|
+
| { type: 'Ecdsa'; value: SpCoreEcdsaSignature };
|
|
3807
3822
|
|
|
3808
3823
|
export type SpCoreEd25519Signature = FixedBytes<64>;
|
|
3809
3824
|
|
|
@@ -3832,26 +3847,26 @@ export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrin
|
|
|
3832
3847
|
export type SpCoreOpaqueMetadata = Bytes;
|
|
3833
3848
|
|
|
3834
3849
|
export type SpRuntimeTransactionValidityTransactionValidityError =
|
|
3835
|
-
| {
|
|
3836
|
-
| {
|
|
3850
|
+
| { type: 'Invalid'; value: SpRuntimeTransactionValidityInvalidTransaction }
|
|
3851
|
+
| { type: 'Unknown'; value: SpRuntimeTransactionValidityUnknownTransaction };
|
|
3837
3852
|
|
|
3838
3853
|
export type SpRuntimeTransactionValidityInvalidTransaction =
|
|
3839
|
-
| {
|
|
3840
|
-
| {
|
|
3841
|
-
| {
|
|
3842
|
-
| {
|
|
3843
|
-
| {
|
|
3844
|
-
| {
|
|
3845
|
-
| {
|
|
3846
|
-
| {
|
|
3847
|
-
| {
|
|
3848
|
-
| {
|
|
3849
|
-
| {
|
|
3854
|
+
| { type: 'Call' }
|
|
3855
|
+
| { type: 'Payment' }
|
|
3856
|
+
| { type: 'Future' }
|
|
3857
|
+
| { type: 'Stale' }
|
|
3858
|
+
| { type: 'BadProof' }
|
|
3859
|
+
| { type: 'AncientBirthBlock' }
|
|
3860
|
+
| { type: 'ExhaustsResources' }
|
|
3861
|
+
| { type: 'Custom'; value: number }
|
|
3862
|
+
| { type: 'BadMandatory' }
|
|
3863
|
+
| { type: 'MandatoryValidation' }
|
|
3864
|
+
| { type: 'BadSigner' };
|
|
3850
3865
|
|
|
3851
3866
|
export type SpRuntimeTransactionValidityUnknownTransaction =
|
|
3852
|
-
| {
|
|
3853
|
-
| {
|
|
3854
|
-
| {
|
|
3867
|
+
| { type: 'CannotLookup' }
|
|
3868
|
+
| { type: 'NoUnsignedValidator' }
|
|
3869
|
+
| { type: 'Custom'; value: number };
|
|
3855
3870
|
|
|
3856
3871
|
export type SpInherentsInherentData = { data: Array<[FixedBytes<8>, Bytes]> };
|
|
3857
3872
|
|
|
@@ -3892,8 +3907,8 @@ export type PrimitivesSessionAuthorityData = {
|
|
|
3892
3907
|
export type PrimitivesSessionCommittee = { finalityCommittee: Array<AccountId32>; blockProducers: Array<AccountId32> };
|
|
3893
3908
|
|
|
3894
3909
|
export type PrimitivesSessionValidatorError =
|
|
3895
|
-
| {
|
|
3896
|
-
| {
|
|
3910
|
+
| { type: 'SessionNotWithinRange'; value: { lowerLimit: number; upperLimit: number } }
|
|
3911
|
+
| { type: 'Other'; value: Bytes };
|
|
3897
3912
|
|
|
3898
3913
|
export type PalletContractsPrimitivesContractResult = {
|
|
3899
3914
|
gasConsumed: SpWeightsWeightV2Weight;
|
|
@@ -3909,10 +3924,10 @@ export type PalletContractsPrimitivesExecReturnValue = { flags: PalletContractsP
|
|
|
3909
3924
|
export type PalletContractsPrimitivesReturnFlags = { bits: number };
|
|
3910
3925
|
|
|
3911
3926
|
export type PalletContractsPrimitivesStorageDeposit =
|
|
3912
|
-
| {
|
|
3913
|
-
| {
|
|
3927
|
+
| { type: 'Refund'; value: bigint }
|
|
3928
|
+
| { type: 'Charge'; value: bigint };
|
|
3914
3929
|
|
|
3915
|
-
export type PalletContractsPrimitivesCode = {
|
|
3930
|
+
export type PalletContractsPrimitivesCode = { type: 'Upload'; value: Bytes } | { type: 'Existing'; value: H256 };
|
|
3916
3931
|
|
|
3917
3932
|
export type PalletContractsPrimitivesContractResultResult = {
|
|
3918
3933
|
gasConsumed: SpWeightsWeightV2Weight;
|
|
@@ -3933,19 +3948,19 @@ export type PalletContractsPrimitivesCodeUploadReturnValue = { codeHash: H256; d
|
|
|
3933
3948
|
export type PalletContractsPrimitivesContractAccessError = 'DoesntExist' | 'KeyDecodingFailed' | 'MigrationInProgress';
|
|
3934
3949
|
|
|
3935
3950
|
export type AlephRuntimeRuntimeError =
|
|
3936
|
-
| {
|
|
3937
|
-
| {
|
|
3938
|
-
| {
|
|
3939
|
-
| {
|
|
3940
|
-
| {
|
|
3941
|
-
| {
|
|
3942
|
-
| {
|
|
3943
|
-
| {
|
|
3944
|
-
| {
|
|
3945
|
-
| {
|
|
3946
|
-
| {
|
|
3947
|
-
| {
|
|
3948
|
-
| {
|
|
3949
|
-
| {
|
|
3950
|
-
| {
|
|
3951
|
-
| {
|
|
3951
|
+
| { pallet: 'System'; palletError: FrameSystemError }
|
|
3952
|
+
| { pallet: 'Scheduler'; palletError: PalletSchedulerError }
|
|
3953
|
+
| { pallet: 'Balances'; palletError: PalletBalancesError }
|
|
3954
|
+
| { pallet: 'Staking'; palletError: PalletStakingPalletError }
|
|
3955
|
+
| { pallet: 'Session'; palletError: PalletSessionError }
|
|
3956
|
+
| { pallet: 'Elections'; palletError: PalletElectionsError }
|
|
3957
|
+
| { pallet: 'Treasury'; palletError: PalletTreasuryError }
|
|
3958
|
+
| { pallet: 'Vesting'; palletError: PalletVestingError }
|
|
3959
|
+
| { pallet: 'Utility'; palletError: PalletUtilityError }
|
|
3960
|
+
| { pallet: 'Multisig'; palletError: PalletMultisigError }
|
|
3961
|
+
| { pallet: 'Sudo'; palletError: PalletSudoError }
|
|
3962
|
+
| { pallet: 'Contracts'; palletError: PalletContractsError }
|
|
3963
|
+
| { pallet: 'NominationPools'; palletError: PalletNominationPoolsError }
|
|
3964
|
+
| { pallet: 'Identity'; palletError: PalletIdentityError }
|
|
3965
|
+
| { pallet: 'CommitteeManagement'; palletError: PalletCommitteeManagementError }
|
|
3966
|
+
| { pallet: 'Proxy'; palletError: PalletProxyError };
|
package/astar/consts.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by
|
|
1
|
+
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericChainConsts, RpcVersion } from 'dedot/types';
|
|
4
4
|
import type { RuntimeVersion, FixedU128, AccountId32, Perbill } from 'dedot/codecs';
|
|
@@ -396,6 +396,11 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
396
396
|
**/
|
|
397
397
|
numberOfTiers: number;
|
|
398
398
|
|
|
399
|
+
/**
|
|
400
|
+
* Tier ranking enabled.
|
|
401
|
+
**/
|
|
402
|
+
rankingEnabled: boolean;
|
|
403
|
+
|
|
399
404
|
/**
|
|
400
405
|
* Generic pallet constant
|
|
401
406
|
**/
|
package/astar/errors.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by
|
|
1
|
+
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericChainErrors, GenericPalletError, RpcVersion } from 'dedot/types';
|
|
4
4
|
|
|
@@ -626,6 +626,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
626
626
|
**/
|
|
627
627
|
ForceNotAllowed: GenericPalletError<Rv>;
|
|
628
628
|
|
|
629
|
+
/**
|
|
630
|
+
* Account doesn't have the freeze inconsistency
|
|
631
|
+
**/
|
|
632
|
+
AccountNotInconsistent: GenericPalletError<Rv>;
|
|
633
|
+
|
|
629
634
|
/**
|
|
630
635
|
* Generic pallet error
|
|
631
636
|
**/
|
package/astar/events.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by
|
|
1
|
+
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericChainEvents, GenericPalletEvent, RpcVersion } from 'dedot/types';
|
|
4
4
|
import type {
|
|
@@ -712,6 +712,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
712
712
|
beneficiary: AccountId32;
|
|
713
713
|
smartContract: AstarPrimitivesDappStakingSmartContract;
|
|
714
714
|
tierId: number;
|
|
715
|
+
rank: number;
|
|
715
716
|
era: number;
|
|
716
717
|
amount: bigint;
|
|
717
718
|
}
|
package/astar/index.d.ts
CHANGED
package/astar/json-rpc.d.ts
CHANGED
package/astar/query.d.ts
CHANGED
package/astar/runtime.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by
|
|
1
|
+
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericRuntimeApis, GenericRuntimeApiMethod, RpcVersion } from 'dedot/types';
|
|
4
4
|
import type {
|
|
@@ -44,6 +44,7 @@ import type {
|
|
|
44
44
|
PalletContractsPrimitivesCodeUploadReturnValue,
|
|
45
45
|
PalletContractsWasmDeterminism,
|
|
46
46
|
PalletContractsPrimitivesContractAccessError,
|
|
47
|
+
AstarPrimitivesDappStakingRankedTier,
|
|
47
48
|
} from './types';
|
|
48
49
|
|
|
49
50
|
export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
|
|
@@ -756,11 +757,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
756
757
|
blocksPerEra: GenericRuntimeApiMethod<Rv, () => Promise<number>>;
|
|
757
758
|
|
|
758
759
|
/**
|
|
759
|
-
* Get dApp tier assignment for the given dApp.
|
|
760
|
+
* Get dApp ranked tier assignment for the given dApp.
|
|
760
761
|
*
|
|
761
762
|
* @callname: DappStakingApi_get_dapp_tier_assignment
|
|
762
763
|
**/
|
|
763
|
-
getDappTierAssignment: GenericRuntimeApiMethod<
|
|
764
|
+
getDappTierAssignment: GenericRuntimeApiMethod<
|
|
765
|
+
Rv,
|
|
766
|
+
() => Promise<Array<[number, AstarPrimitivesDappStakingRankedTier]>>
|
|
767
|
+
>;
|
|
764
768
|
|
|
765
769
|
/**
|
|
766
770
|
* Generic runtime api call
|
package/astar/tx.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by
|
|
1
|
+
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type {
|
|
4
4
|
GenericChainTx,
|
|
@@ -1951,6 +1951,25 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
1951
1951
|
>
|
|
1952
1952
|
>;
|
|
1953
1953
|
|
|
1954
|
+
/**
|
|
1955
|
+
* See [`Pallet::fix_account`].
|
|
1956
|
+
*
|
|
1957
|
+
* @param {AccountId32Like} account
|
|
1958
|
+
**/
|
|
1959
|
+
fixAccount: GenericTxCall<
|
|
1960
|
+
Rv,
|
|
1961
|
+
(account: AccountId32Like) => ChainSubmittableExtrinsic<
|
|
1962
|
+
Rv,
|
|
1963
|
+
{
|
|
1964
|
+
pallet: 'DappStaking';
|
|
1965
|
+
palletCall: {
|
|
1966
|
+
name: 'FixAccount';
|
|
1967
|
+
params: { account: AccountId32Like };
|
|
1968
|
+
};
|
|
1969
|
+
}
|
|
1970
|
+
>
|
|
1971
|
+
>;
|
|
1972
|
+
|
|
1954
1973
|
/**
|
|
1955
1974
|
* Generic pallet tx call
|
|
1956
1975
|
**/
|