@dedot/chaintypes 0.95.0 → 0.97.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/paseo/consts.d.ts +0 -9
- package/paseo/errors.d.ts +0 -12
- package/paseo/events.d.ts +9 -42
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +0 -23
- package/paseo/runtime.d.ts +3 -1
- package/paseo/tx.d.ts +21 -54
- package/paseo/types.d.ts +60 -136
- package/paseo-asset-hub/index.d.ts +1 -1
- package/paseo-asset-hub/runtime.d.ts +3 -1
- package/paseo-asset-hub/types.d.ts +1 -4
- package/paseo-people/index.d.ts +1 -1
- package/paseo-people/runtime.d.ts +3 -1
- package/paseo-people/types.d.ts +1 -4
- package/westend/consts.d.ts +37 -2
- package/westend/errors.d.ts +56 -0
- package/westend/events.d.ts +160 -0
- package/westend/index.d.ts +1 -1
- package/westend/query.d.ts +151 -0
- package/westend/tx.d.ts +206 -8
- package/westend/types.d.ts +494 -25
- package/westend-asset-hub/consts.d.ts +569 -1
- package/westend-asset-hub/errors.d.ts +1159 -9
- package/westend-asset-hub/events.d.ts +1623 -21
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/query.d.ts +1597 -6
- package/westend-asset-hub/runtime.d.ts +142 -0
- package/westend-asset-hub/tx.d.ts +10328 -5573
- package/westend-asset-hub/types.d.ts +15285 -8631
package/paseo/types.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ import type {
|
|
|
17
17
|
MultiAddressLike,
|
|
18
18
|
AccountId32Like,
|
|
19
19
|
Percent,
|
|
20
|
-
Perquintill,
|
|
21
20
|
EthereumAddress,
|
|
22
21
|
EthereumAddressLike,
|
|
23
22
|
PerU16,
|
|
@@ -25,6 +24,7 @@ import type {
|
|
|
25
24
|
FixedU128,
|
|
26
25
|
FixedI64,
|
|
27
26
|
Era,
|
|
27
|
+
Perquintill,
|
|
28
28
|
UncheckedExtrinsic,
|
|
29
29
|
} from 'dedot/codecs';
|
|
30
30
|
|
|
@@ -70,7 +70,6 @@ export type PaseoRuntimeRuntimeEvent =
|
|
|
70
70
|
| { pallet: 'ConvictionVoting'; palletEvent: PalletConvictionVotingEvent }
|
|
71
71
|
| { pallet: 'Referenda'; palletEvent: PalletReferendaEvent }
|
|
72
72
|
| { pallet: 'Whitelist'; palletEvent: PalletWhitelistEvent }
|
|
73
|
-
| { pallet: 'Parameters'; palletEvent: PalletParametersEvent }
|
|
74
73
|
| { pallet: 'Claims'; palletEvent: PolkadotRuntimeCommonClaimsPalletEvent }
|
|
75
74
|
| { pallet: 'Vesting'; palletEvent: PalletVestingEvent }
|
|
76
75
|
| { pallet: 'Utility'; palletEvent: PalletUtilityEvent }
|
|
@@ -1055,7 +1054,6 @@ export type PaseoRuntimeRuntimeCall =
|
|
|
1055
1054
|
| { pallet: 'ConvictionVoting'; palletCall: PalletConvictionVotingCall }
|
|
1056
1055
|
| { pallet: 'Referenda'; palletCall: PalletReferendaCall }
|
|
1057
1056
|
| { pallet: 'Whitelist'; palletCall: PalletWhitelistCall }
|
|
1058
|
-
| { pallet: 'Parameters'; palletCall: PalletParametersCall }
|
|
1059
1057
|
| { pallet: 'Claims'; palletCall: PolkadotRuntimeCommonClaimsPalletCall }
|
|
1060
1058
|
| { pallet: 'Vesting'; palletCall: PalletVestingCall }
|
|
1061
1059
|
| { pallet: 'Utility'; palletCall: PalletUtilityCall }
|
|
@@ -1105,7 +1103,6 @@ export type PaseoRuntimeRuntimeCallLike =
|
|
|
1105
1103
|
| { pallet: 'ConvictionVoting'; palletCall: PalletConvictionVotingCallLike }
|
|
1106
1104
|
| { pallet: 'Referenda'; palletCall: PalletReferendaCallLike }
|
|
1107
1105
|
| { pallet: 'Whitelist'; palletCall: PalletWhitelistCallLike }
|
|
1108
|
-
| { pallet: 'Parameters'; palletCall: PalletParametersCallLike }
|
|
1109
1106
|
| { pallet: 'Claims'; palletCall: PolkadotRuntimeCommonClaimsPalletCallLike }
|
|
1110
1107
|
| { pallet: 'Vesting'; palletCall: PalletVestingCallLike }
|
|
1111
1108
|
| { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
|
|
@@ -3918,8 +3915,7 @@ export type PaseoRuntimeOriginCaller =
|
|
|
3918
3915
|
| { type: 'System'; value: FrameSupportDispatchRawOrigin }
|
|
3919
3916
|
| { type: 'Origins'; value: PaseoRuntimeGovernanceOriginsPalletCustomOriginsOrigin }
|
|
3920
3917
|
| { type: 'ParachainsOrigin'; value: PolkadotRuntimeParachainsOriginPalletOrigin }
|
|
3921
|
-
| { type: 'XcmPallet'; value: PalletXcmOrigin }
|
|
3922
|
-
| { type: 'Void'; value: SpCoreVoid };
|
|
3918
|
+
| { type: 'XcmPallet'; value: PalletXcmOrigin };
|
|
3923
3919
|
|
|
3924
3920
|
export type FrameSupportDispatchRawOrigin =
|
|
3925
3921
|
| { type: 'Root' }
|
|
@@ -3954,8 +3950,6 @@ export type PalletXcmOrigin =
|
|
|
3954
3950
|
| { type: 'Xcm'; value: StagingXcmV4Location }
|
|
3955
3951
|
| { type: 'Response'; value: StagingXcmV4Location };
|
|
3956
3952
|
|
|
3957
|
-
export type SpCoreVoid = null;
|
|
3958
|
-
|
|
3959
3953
|
export type FrameSupportScheduleDispatchTime = { type: 'At'; value: number } | { type: 'After'; value: number };
|
|
3960
3954
|
|
|
3961
3955
|
/**
|
|
@@ -3979,46 +3973,6 @@ export type PalletWhitelistCallLike =
|
|
|
3979
3973
|
}
|
|
3980
3974
|
| { name: 'DispatchWhitelistedCallWithPreimage'; params: { call: PaseoRuntimeRuntimeCallLike } };
|
|
3981
3975
|
|
|
3982
|
-
/**
|
|
3983
|
-
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3984
|
-
**/
|
|
3985
|
-
export type PalletParametersCall =
|
|
3986
|
-
/**
|
|
3987
|
-
* Set the value of a parameter.
|
|
3988
|
-
*
|
|
3989
|
-
* The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
|
|
3990
|
-
* deleted by setting them to `None`.
|
|
3991
|
-
**/
|
|
3992
|
-
{ name: 'SetParameter'; params: { keyValue: PaseoRuntimeRuntimeParameters } };
|
|
3993
|
-
|
|
3994
|
-
export type PalletParametersCallLike =
|
|
3995
|
-
/**
|
|
3996
|
-
* Set the value of a parameter.
|
|
3997
|
-
*
|
|
3998
|
-
* The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
|
|
3999
|
-
* deleted by setting them to `None`.
|
|
4000
|
-
**/
|
|
4001
|
-
{ name: 'SetParameter'; params: { keyValue: PaseoRuntimeRuntimeParameters } };
|
|
4002
|
-
|
|
4003
|
-
export type PaseoRuntimeRuntimeParameters = { type: 'Inflation'; value: PaseoRuntimeDynamicParamsInflationParameters };
|
|
4004
|
-
|
|
4005
|
-
export type PaseoRuntimeDynamicParamsInflationParameters =
|
|
4006
|
-
| { type: 'MinInflation'; value: [PaseoRuntimeDynamicParamsInflationMinInflation, Perquintill | undefined] }
|
|
4007
|
-
| { type: 'MaxInflation'; value: [PaseoRuntimeDynamicParamsInflationMaxInflation, Perquintill | undefined] }
|
|
4008
|
-
| { type: 'IdealStake'; value: [PaseoRuntimeDynamicParamsInflationIdealStake, Perquintill | undefined] }
|
|
4009
|
-
| { type: 'Falloff'; value: [PaseoRuntimeDynamicParamsInflationFalloff, Perquintill | undefined] }
|
|
4010
|
-
| { type: 'UseAuctionSlots'; value: [PaseoRuntimeDynamicParamsInflationUseAuctionSlots, boolean | undefined] };
|
|
4011
|
-
|
|
4012
|
-
export type PaseoRuntimeDynamicParamsInflationMinInflation = {};
|
|
4013
|
-
|
|
4014
|
-
export type PaseoRuntimeDynamicParamsInflationMaxInflation = {};
|
|
4015
|
-
|
|
4016
|
-
export type PaseoRuntimeDynamicParamsInflationIdealStake = {};
|
|
4017
|
-
|
|
4018
|
-
export type PaseoRuntimeDynamicParamsInflationFalloff = {};
|
|
4019
|
-
|
|
4020
|
-
export type PaseoRuntimeDynamicParamsInflationUseAuctionSlots = {};
|
|
4021
|
-
|
|
4022
3976
|
/**
|
|
4023
3977
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
4024
3978
|
**/
|
|
@@ -4655,7 +4609,11 @@ export type PalletProxyCall =
|
|
|
4655
4609
|
**/
|
|
4656
4610
|
| {
|
|
4657
4611
|
name: 'Proxy';
|
|
4658
|
-
params: {
|
|
4612
|
+
params: {
|
|
4613
|
+
real: MultiAddress;
|
|
4614
|
+
forceProxyType?: PaseoRuntimeConstantsProxyProxyType | undefined;
|
|
4615
|
+
call: PaseoRuntimeRuntimeCall;
|
|
4616
|
+
};
|
|
4659
4617
|
}
|
|
4660
4618
|
/**
|
|
4661
4619
|
* Register a proxy account for the sender that is able to make calls on its behalf.
|
|
@@ -4668,7 +4626,10 @@ export type PalletProxyCall =
|
|
|
4668
4626
|
* - `delay`: The announcement period required of the initial proxy. Will generally be
|
|
4669
4627
|
* zero.
|
|
4670
4628
|
**/
|
|
4671
|
-
| {
|
|
4629
|
+
| {
|
|
4630
|
+
name: 'AddProxy';
|
|
4631
|
+
params: { delegate: MultiAddress; proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number };
|
|
4632
|
+
}
|
|
4672
4633
|
/**
|
|
4673
4634
|
* Unregister a proxy account for the sender.
|
|
4674
4635
|
*
|
|
@@ -4678,7 +4639,10 @@ export type PalletProxyCall =
|
|
|
4678
4639
|
* - `proxy`: The account that the `caller` would like to remove as a proxy.
|
|
4679
4640
|
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
|
4680
4641
|
**/
|
|
4681
|
-
| {
|
|
4642
|
+
| {
|
|
4643
|
+
name: 'RemoveProxy';
|
|
4644
|
+
params: { delegate: MultiAddress; proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number };
|
|
4645
|
+
}
|
|
4682
4646
|
/**
|
|
4683
4647
|
* Unregister all proxy accounts for the sender.
|
|
4684
4648
|
*
|
|
@@ -4708,7 +4672,7 @@ export type PalletProxyCall =
|
|
|
4708
4672
|
*
|
|
4709
4673
|
* Fails if there are insufficient funds to pay for deposit.
|
|
4710
4674
|
**/
|
|
4711
|
-
| { name: 'CreatePure'; params: { proxyType:
|
|
4675
|
+
| { name: 'CreatePure'; params: { proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number; index: number } }
|
|
4712
4676
|
/**
|
|
4713
4677
|
* Removes a previously spawned pure proxy.
|
|
4714
4678
|
*
|
|
@@ -4731,7 +4695,7 @@ export type PalletProxyCall =
|
|
|
4731
4695
|
name: 'KillPure';
|
|
4732
4696
|
params: {
|
|
4733
4697
|
spawner: MultiAddress;
|
|
4734
|
-
proxyType:
|
|
4698
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType;
|
|
4735
4699
|
index: number;
|
|
4736
4700
|
height: number;
|
|
4737
4701
|
extIndex: number;
|
|
@@ -4799,7 +4763,7 @@ export type PalletProxyCall =
|
|
|
4799
4763
|
params: {
|
|
4800
4764
|
delegate: MultiAddress;
|
|
4801
4765
|
real: MultiAddress;
|
|
4802
|
-
forceProxyType?:
|
|
4766
|
+
forceProxyType?: PaseoRuntimeConstantsProxyProxyType | undefined;
|
|
4803
4767
|
call: PaseoRuntimeRuntimeCall;
|
|
4804
4768
|
};
|
|
4805
4769
|
};
|
|
@@ -4820,7 +4784,7 @@ export type PalletProxyCallLike =
|
|
|
4820
4784
|
name: 'Proxy';
|
|
4821
4785
|
params: {
|
|
4822
4786
|
real: MultiAddressLike;
|
|
4823
|
-
forceProxyType?:
|
|
4787
|
+
forceProxyType?: PaseoRuntimeConstantsProxyProxyType | undefined;
|
|
4824
4788
|
call: PaseoRuntimeRuntimeCallLike;
|
|
4825
4789
|
};
|
|
4826
4790
|
}
|
|
@@ -4835,7 +4799,10 @@ export type PalletProxyCallLike =
|
|
|
4835
4799
|
* - `delay`: The announcement period required of the initial proxy. Will generally be
|
|
4836
4800
|
* zero.
|
|
4837
4801
|
**/
|
|
4838
|
-
| {
|
|
4802
|
+
| {
|
|
4803
|
+
name: 'AddProxy';
|
|
4804
|
+
params: { delegate: MultiAddressLike; proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number };
|
|
4805
|
+
}
|
|
4839
4806
|
/**
|
|
4840
4807
|
* Unregister a proxy account for the sender.
|
|
4841
4808
|
*
|
|
@@ -4845,7 +4812,10 @@ export type PalletProxyCallLike =
|
|
|
4845
4812
|
* - `proxy`: The account that the `caller` would like to remove as a proxy.
|
|
4846
4813
|
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
|
4847
4814
|
**/
|
|
4848
|
-
| {
|
|
4815
|
+
| {
|
|
4816
|
+
name: 'RemoveProxy';
|
|
4817
|
+
params: { delegate: MultiAddressLike; proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number };
|
|
4818
|
+
}
|
|
4849
4819
|
/**
|
|
4850
4820
|
* Unregister all proxy accounts for the sender.
|
|
4851
4821
|
*
|
|
@@ -4875,7 +4845,7 @@ export type PalletProxyCallLike =
|
|
|
4875
4845
|
*
|
|
4876
4846
|
* Fails if there are insufficient funds to pay for deposit.
|
|
4877
4847
|
**/
|
|
4878
|
-
| { name: 'CreatePure'; params: { proxyType:
|
|
4848
|
+
| { name: 'CreatePure'; params: { proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number; index: number } }
|
|
4879
4849
|
/**
|
|
4880
4850
|
* Removes a previously spawned pure proxy.
|
|
4881
4851
|
*
|
|
@@ -4898,7 +4868,7 @@ export type PalletProxyCallLike =
|
|
|
4898
4868
|
name: 'KillPure';
|
|
4899
4869
|
params: {
|
|
4900
4870
|
spawner: MultiAddressLike;
|
|
4901
|
-
proxyType:
|
|
4871
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType;
|
|
4902
4872
|
index: number;
|
|
4903
4873
|
height: number;
|
|
4904
4874
|
extIndex: number;
|
|
@@ -4966,12 +4936,12 @@ export type PalletProxyCallLike =
|
|
|
4966
4936
|
params: {
|
|
4967
4937
|
delegate: MultiAddressLike;
|
|
4968
4938
|
real: MultiAddressLike;
|
|
4969
|
-
forceProxyType?:
|
|
4939
|
+
forceProxyType?: PaseoRuntimeConstantsProxyProxyType | undefined;
|
|
4970
4940
|
call: PaseoRuntimeRuntimeCallLike;
|
|
4971
4941
|
};
|
|
4972
4942
|
};
|
|
4973
4943
|
|
|
4974
|
-
export type
|
|
4944
|
+
export type PaseoRuntimeConstantsProxyProxyType =
|
|
4975
4945
|
| 'Any'
|
|
4976
4946
|
| 'NonTransfer'
|
|
4977
4947
|
| 'Governance'
|
|
@@ -6088,9 +6058,8 @@ export type PalletBagsListCallLike =
|
|
|
6088
6058
|
**/
|
|
6089
6059
|
export type PalletNominationPoolsCall =
|
|
6090
6060
|
/**
|
|
6091
|
-
* Stake funds with a pool. The amount to bond is
|
|
6092
|
-
*
|
|
6093
|
-
* increases the pool's bond.
|
|
6061
|
+
* Stake funds with a pool. The amount to bond is transferred from the member to the pool
|
|
6062
|
+
* account and immediately increases the pools bond.
|
|
6094
6063
|
*
|
|
6095
6064
|
* The method of transferring the amount to the pool account is determined by
|
|
6096
6065
|
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
|
@@ -6445,9 +6414,8 @@ export type PalletNominationPoolsCall =
|
|
|
6445
6414
|
|
|
6446
6415
|
export type PalletNominationPoolsCallLike =
|
|
6447
6416
|
/**
|
|
6448
|
-
* Stake funds with a pool. The amount to bond is
|
|
6449
|
-
*
|
|
6450
|
-
* increases the pool's bond.
|
|
6417
|
+
* Stake funds with a pool. The amount to bond is transferred from the member to the pool
|
|
6418
|
+
* account and immediately increases the pools bond.
|
|
6451
6419
|
*
|
|
6452
6420
|
* The method of transferring the amount to the pool account is determined by
|
|
6453
6421
|
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
|
@@ -10745,59 +10713,6 @@ export type SpRuntimeDispatchErrorWithPostInfo = {
|
|
|
10745
10713
|
error: DispatchError;
|
|
10746
10714
|
};
|
|
10747
10715
|
|
|
10748
|
-
/**
|
|
10749
|
-
* The `Event` enum of this pallet
|
|
10750
|
-
**/
|
|
10751
|
-
export type PalletParametersEvent =
|
|
10752
|
-
/**
|
|
10753
|
-
* A Parameter was set.
|
|
10754
|
-
*
|
|
10755
|
-
* Is also emitted when the value was not changed.
|
|
10756
|
-
**/
|
|
10757
|
-
{
|
|
10758
|
-
name: 'Updated';
|
|
10759
|
-
data: {
|
|
10760
|
-
/**
|
|
10761
|
-
* The key that was updated.
|
|
10762
|
-
**/
|
|
10763
|
-
key: PaseoRuntimeRuntimeParametersKey;
|
|
10764
|
-
|
|
10765
|
-
/**
|
|
10766
|
-
* The old value before this call.
|
|
10767
|
-
**/
|
|
10768
|
-
oldValue?: PaseoRuntimeRuntimeParametersValue | undefined;
|
|
10769
|
-
|
|
10770
|
-
/**
|
|
10771
|
-
* The new value after this call.
|
|
10772
|
-
**/
|
|
10773
|
-
newValue?: PaseoRuntimeRuntimeParametersValue | undefined;
|
|
10774
|
-
};
|
|
10775
|
-
};
|
|
10776
|
-
|
|
10777
|
-
export type PaseoRuntimeRuntimeParametersKey = {
|
|
10778
|
-
type: 'Inflation';
|
|
10779
|
-
value: PaseoRuntimeDynamicParamsInflationParametersKey;
|
|
10780
|
-
};
|
|
10781
|
-
|
|
10782
|
-
export type PaseoRuntimeDynamicParamsInflationParametersKey =
|
|
10783
|
-
| { type: 'MinInflation'; value: PaseoRuntimeDynamicParamsInflationMinInflation }
|
|
10784
|
-
| { type: 'MaxInflation'; value: PaseoRuntimeDynamicParamsInflationMaxInflation }
|
|
10785
|
-
| { type: 'IdealStake'; value: PaseoRuntimeDynamicParamsInflationIdealStake }
|
|
10786
|
-
| { type: 'Falloff'; value: PaseoRuntimeDynamicParamsInflationFalloff }
|
|
10787
|
-
| { type: 'UseAuctionSlots'; value: PaseoRuntimeDynamicParamsInflationUseAuctionSlots };
|
|
10788
|
-
|
|
10789
|
-
export type PaseoRuntimeRuntimeParametersValue = {
|
|
10790
|
-
type: 'Inflation';
|
|
10791
|
-
value: PaseoRuntimeDynamicParamsInflationParametersValue;
|
|
10792
|
-
};
|
|
10793
|
-
|
|
10794
|
-
export type PaseoRuntimeDynamicParamsInflationParametersValue =
|
|
10795
|
-
| { type: 'MinInflation'; value: Perquintill }
|
|
10796
|
-
| { type: 'MaxInflation'; value: Perquintill }
|
|
10797
|
-
| { type: 'IdealStake'; value: Perquintill }
|
|
10798
|
-
| { type: 'Falloff'; value: Perquintill }
|
|
10799
|
-
| { type: 'UseAuctionSlots'; value: boolean };
|
|
10800
|
-
|
|
10801
10716
|
/**
|
|
10802
10717
|
* The `Event` enum of this pallet
|
|
10803
10718
|
**/
|
|
@@ -10865,7 +10780,12 @@ export type PalletProxyEvent =
|
|
|
10865
10780
|
**/
|
|
10866
10781
|
| {
|
|
10867
10782
|
name: 'PureCreated';
|
|
10868
|
-
data: {
|
|
10783
|
+
data: {
|
|
10784
|
+
pure: AccountId32;
|
|
10785
|
+
who: AccountId32;
|
|
10786
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType;
|
|
10787
|
+
disambiguationIndex: number;
|
|
10788
|
+
};
|
|
10869
10789
|
}
|
|
10870
10790
|
/**
|
|
10871
10791
|
* An announcement was placed to make a call in the future.
|
|
@@ -10876,14 +10796,24 @@ export type PalletProxyEvent =
|
|
|
10876
10796
|
**/
|
|
10877
10797
|
| {
|
|
10878
10798
|
name: 'ProxyAdded';
|
|
10879
|
-
data: {
|
|
10799
|
+
data: {
|
|
10800
|
+
delegator: AccountId32;
|
|
10801
|
+
delegatee: AccountId32;
|
|
10802
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType;
|
|
10803
|
+
delay: number;
|
|
10804
|
+
};
|
|
10880
10805
|
}
|
|
10881
10806
|
/**
|
|
10882
10807
|
* A proxy was removed.
|
|
10883
10808
|
**/
|
|
10884
10809
|
| {
|
|
10885
10810
|
name: 'ProxyRemoved';
|
|
10886
|
-
data: {
|
|
10811
|
+
data: {
|
|
10812
|
+
delegator: AccountId32;
|
|
10813
|
+
delegatee: AccountId32;
|
|
10814
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType;
|
|
10815
|
+
delay: number;
|
|
10816
|
+
};
|
|
10887
10817
|
};
|
|
10888
10818
|
|
|
10889
10819
|
/**
|
|
@@ -12513,12 +12443,7 @@ export type PalletStakingPalletError =
|
|
|
12513
12443
|
/**
|
|
12514
12444
|
* Operation not allowed for virtual stakers.
|
|
12515
12445
|
**/
|
|
12516
|
-
| 'VirtualStakerNotAllowed'
|
|
12517
|
-
/**
|
|
12518
|
-
* Account is restricted from participation in staking. This may happen if the account is
|
|
12519
|
-
* staking in another way already, such as via pool.
|
|
12520
|
-
**/
|
|
12521
|
-
| 'Restricted';
|
|
12446
|
+
| 'VirtualStakerNotAllowed';
|
|
12522
12447
|
|
|
12523
12448
|
export type SpStakingOffenceOffenceDetails = {
|
|
12524
12449
|
offender: [AccountId32, SpStakingExposure];
|
|
@@ -12940,7 +12865,11 @@ export type PalletUtilityError =
|
|
|
12940
12865
|
**/
|
|
12941
12866
|
'TooManyCalls';
|
|
12942
12867
|
|
|
12943
|
-
export type PalletProxyProxyDefinition = {
|
|
12868
|
+
export type PalletProxyProxyDefinition = {
|
|
12869
|
+
delegate: AccountId32;
|
|
12870
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType;
|
|
12871
|
+
delay: number;
|
|
12872
|
+
};
|
|
12944
12873
|
|
|
12945
12874
|
export type PalletProxyAnnouncement = { real: AccountId32; callHash: H256; height: number };
|
|
12946
12875
|
|
|
@@ -13455,12 +13384,7 @@ export type PalletNominationPoolsError =
|
|
|
13455
13384
|
/**
|
|
13456
13385
|
* This call is not allowed in the current state of the pallet.
|
|
13457
13386
|
**/
|
|
13458
|
-
| { name: 'NotSupported' }
|
|
13459
|
-
/**
|
|
13460
|
-
* Account is restricted from participation in pools. This may happen if the account is
|
|
13461
|
-
* staking in another way already.
|
|
13462
|
-
**/
|
|
13463
|
-
| { name: 'Restricted' };
|
|
13387
|
+
| { name: 'NotSupported' };
|
|
13464
13388
|
|
|
13465
13389
|
export type PalletNominationPoolsDefensiveError =
|
|
13466
13390
|
| 'NotEnoughSpaceInUnbondPool'
|
|
@@ -23,7 +23,7 @@ export interface VersionedPaseoAssetHubApi<Rv extends RpcVersion> extends Generi
|
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @name: PaseoAssetHubApi
|
|
26
|
-
* @specVersion:
|
|
26
|
+
* @specVersion: 1004003
|
|
27
27
|
**/
|
|
28
28
|
export interface PaseoAssetHubApi {
|
|
29
29
|
legacy: VersionedPaseoAssetHubApi<RpcLegacy>;
|
|
@@ -505,17 +505,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
505
505
|
**/
|
|
506
506
|
dryRunApi: {
|
|
507
507
|
/**
|
|
508
|
-
* Dry run call.
|
|
508
|
+
* Dry run call V2.
|
|
509
509
|
*
|
|
510
510
|
* @callname: DryRunApi_dry_run_call
|
|
511
511
|
* @param {AssetHubPaseoRuntimeOriginCaller} origin
|
|
512
512
|
* @param {AssetHubPaseoRuntimeRuntimeCallLike} call
|
|
513
|
+
* @param {number} result_xcms_version
|
|
513
514
|
**/
|
|
514
515
|
dryRunCall: GenericRuntimeApiMethod<
|
|
515
516
|
Rv,
|
|
516
517
|
(
|
|
517
518
|
origin: AssetHubPaseoRuntimeOriginCaller,
|
|
518
519
|
call: AssetHubPaseoRuntimeRuntimeCallLike,
|
|
520
|
+
resultXcmsVersion: number,
|
|
519
521
|
) => Promise<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>
|
|
520
522
|
>;
|
|
521
523
|
|
|
@@ -11867,8 +11867,7 @@ export type PalletSudoCallLike =
|
|
|
11867
11867
|
export type AssetHubPaseoRuntimeOriginCaller =
|
|
11868
11868
|
| { type: 'System'; value: FrameSupportDispatchRawOrigin }
|
|
11869
11869
|
| { type: 'PolkadotXcm'; value: PalletXcmOrigin }
|
|
11870
|
-
| { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin }
|
|
11871
|
-
| { type: 'Void'; value: SpCoreVoid };
|
|
11870
|
+
| { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin };
|
|
11872
11871
|
|
|
11873
11872
|
export type FrameSupportDispatchRawOrigin =
|
|
11874
11873
|
| { type: 'Root' }
|
|
@@ -11883,8 +11882,6 @@ export type CumulusPalletXcmOrigin =
|
|
|
11883
11882
|
| { type: 'Relay' }
|
|
11884
11883
|
| { type: 'SiblingParachain'; value: PolkadotParachainPrimitivesPrimitivesId };
|
|
11885
11884
|
|
|
11886
|
-
export type SpCoreVoid = null;
|
|
11887
|
-
|
|
11888
11885
|
/**
|
|
11889
11886
|
* The `Error` enum of this pallet.
|
|
11890
11887
|
**/
|
package/paseo-people/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface VersionedPaseoPeopleApi<Rv extends RpcVersion> extends GenericS
|
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @name: PaseoPeopleApi
|
|
26
|
-
* @specVersion:
|
|
26
|
+
* @specVersion: 1004003
|
|
27
27
|
**/
|
|
28
28
|
export interface PaseoPeopleApi {
|
|
29
29
|
legacy: VersionedPaseoPeopleApi<RpcLegacy>;
|
|
@@ -503,17 +503,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
503
503
|
**/
|
|
504
504
|
dryRunApi: {
|
|
505
505
|
/**
|
|
506
|
-
* Dry run call.
|
|
506
|
+
* Dry run call V2.
|
|
507
507
|
*
|
|
508
508
|
* @callname: DryRunApi_dry_run_call
|
|
509
509
|
* @param {PeoplePaseoRuntimeOriginCaller} origin
|
|
510
510
|
* @param {PeoplePaseoRuntimeRuntimeCallLike} call
|
|
511
|
+
* @param {number} result_xcms_version
|
|
511
512
|
**/
|
|
512
513
|
dryRunCall: GenericRuntimeApiMethod<
|
|
513
514
|
Rv,
|
|
514
515
|
(
|
|
515
516
|
origin: PeoplePaseoRuntimeOriginCaller,
|
|
516
517
|
call: PeoplePaseoRuntimeRuntimeCallLike,
|
|
518
|
+
resultXcmsVersion: number,
|
|
517
519
|
) => Promise<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>
|
|
518
520
|
>;
|
|
519
521
|
|
package/paseo-people/types.d.ts
CHANGED
|
@@ -5051,8 +5051,7 @@ export type PalletSudoCallLike =
|
|
|
5051
5051
|
export type PeoplePaseoRuntimeOriginCaller =
|
|
5052
5052
|
| { type: 'System'; value: FrameSupportDispatchRawOrigin }
|
|
5053
5053
|
| { type: 'PolkadotXcm'; value: PalletXcmOrigin }
|
|
5054
|
-
| { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin }
|
|
5055
|
-
| { type: 'Void'; value: SpCoreVoid };
|
|
5054
|
+
| { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin };
|
|
5056
5055
|
|
|
5057
5056
|
export type FrameSupportDispatchRawOrigin =
|
|
5058
5057
|
| { type: 'Root' }
|
|
@@ -5067,8 +5066,6 @@ export type CumulusPalletXcmOrigin =
|
|
|
5067
5066
|
| { type: 'Relay' }
|
|
5068
5067
|
| { type: 'SiblingParachain'; value: PolkadotParachainPrimitivesPrimitivesId };
|
|
5069
5068
|
|
|
5070
|
-
export type SpCoreVoid = null;
|
|
5071
|
-
|
|
5072
5069
|
/**
|
|
5073
5070
|
* The `Error` enum of this pallet.
|
|
5074
5071
|
**/
|
package/westend/consts.d.ts
CHANGED
|
@@ -269,6 +269,11 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
269
269
|
**/
|
|
270
270
|
maxExposurePageSize: number;
|
|
271
271
|
|
|
272
|
+
/**
|
|
273
|
+
* The absolute maximum of winner validators this pallet should return.
|
|
274
|
+
**/
|
|
275
|
+
maxValidatorSet: number;
|
|
276
|
+
|
|
272
277
|
/**
|
|
273
278
|
* The maximum number of `unlocking` chunks a [`StakingLedger`] can
|
|
274
279
|
* have. Effectively determines how many unique eras a staker may be
|
|
@@ -690,12 +695,18 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
690
695
|
signedDepositWeight: bigint;
|
|
691
696
|
|
|
692
697
|
/**
|
|
693
|
-
*
|
|
694
|
-
* implementation.
|
|
698
|
+
* Maximum number of winners that an election supports.
|
|
695
699
|
*
|
|
696
700
|
* Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
|
|
697
701
|
**/
|
|
698
702
|
maxWinners: number;
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* Maximum number of voters that can support a winner in an election solution.
|
|
706
|
+
*
|
|
707
|
+
* This is needed to ensure election computation is bounded.
|
|
708
|
+
**/
|
|
709
|
+
maxBackersPerWinner: number;
|
|
699
710
|
minerMaxLength: number;
|
|
700
711
|
minerMaxWeight: SpWeightsWeightV2Weight;
|
|
701
712
|
minerMaxVotesPerVoter: number;
|
|
@@ -1250,6 +1261,15 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
1250
1261
|
**/
|
|
1251
1262
|
[name: string]: any;
|
|
1252
1263
|
};
|
|
1264
|
+
/**
|
|
1265
|
+
* Pallet `AssetHubStakingClient`'s constants
|
|
1266
|
+
**/
|
|
1267
|
+
assetHubStakingClient: {
|
|
1268
|
+
/**
|
|
1269
|
+
* Generic pallet constant
|
|
1270
|
+
**/
|
|
1271
|
+
[name: string]: any;
|
|
1272
|
+
};
|
|
1253
1273
|
/**
|
|
1254
1274
|
* Pallet `MultiBlockMigrations`'s constants
|
|
1255
1275
|
**/
|
|
@@ -1279,6 +1299,12 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
1279
1299
|
* Pallet `XcmPallet`'s constants
|
|
1280
1300
|
**/
|
|
1281
1301
|
xcmPallet: {
|
|
1302
|
+
/**
|
|
1303
|
+
* The latest supported version that we advertise. Generally just set it to
|
|
1304
|
+
* `pallet_xcm::CurrentXcmVersion`.
|
|
1305
|
+
**/
|
|
1306
|
+
advertisedXcmVersion: number;
|
|
1307
|
+
|
|
1282
1308
|
/**
|
|
1283
1309
|
* Generic pallet constant
|
|
1284
1310
|
**/
|
|
@@ -1420,4 +1446,13 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
1420
1446
|
**/
|
|
1421
1447
|
[name: string]: any;
|
|
1422
1448
|
};
|
|
1449
|
+
/**
|
|
1450
|
+
* Pallet `RcMigrator`'s constants
|
|
1451
|
+
**/
|
|
1452
|
+
rcMigrator: {
|
|
1453
|
+
/**
|
|
1454
|
+
* Generic pallet constant
|
|
1455
|
+
**/
|
|
1456
|
+
[name: string]: any;
|
|
1457
|
+
};
|
|
1423
1458
|
}
|
package/westend/errors.d.ts
CHANGED
|
@@ -1074,6 +1074,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1074
1074
|
**/
|
|
1075
1075
|
List: GenericPalletError<Rv>;
|
|
1076
1076
|
|
|
1077
|
+
/**
|
|
1078
|
+
* Could not update a node, because the pallet is locked.
|
|
1079
|
+
**/
|
|
1080
|
+
Locked: GenericPalletError<Rv>;
|
|
1081
|
+
|
|
1077
1082
|
/**
|
|
1078
1083
|
* Generic pallet error
|
|
1079
1084
|
**/
|
|
@@ -2512,6 +2517,20 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2512
2517
|
**/
|
|
2513
2518
|
[error: string]: GenericPalletError<Rv>;
|
|
2514
2519
|
};
|
|
2520
|
+
/**
|
|
2521
|
+
* Pallet `AssetHubStakingClient`'s errors
|
|
2522
|
+
**/
|
|
2523
|
+
assetHubStakingClient: {
|
|
2524
|
+
/**
|
|
2525
|
+
* Could not process incoming message because incoming messages are blocked.
|
|
2526
|
+
**/
|
|
2527
|
+
Blocked: GenericPalletError<Rv>;
|
|
2528
|
+
|
|
2529
|
+
/**
|
|
2530
|
+
* Generic pallet error
|
|
2531
|
+
**/
|
|
2532
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2533
|
+
};
|
|
2515
2534
|
/**
|
|
2516
2535
|
* Pallet `MultiBlockMigrations`'s errors
|
|
2517
2536
|
**/
|
|
@@ -2835,6 +2854,43 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2835
2854
|
**/
|
|
2836
2855
|
InvalidConfiguration: GenericPalletError<Rv>;
|
|
2837
2856
|
|
|
2857
|
+
/**
|
|
2858
|
+
* Generic pallet error
|
|
2859
|
+
**/
|
|
2860
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2861
|
+
};
|
|
2862
|
+
/**
|
|
2863
|
+
* Pallet `RcMigrator`'s errors
|
|
2864
|
+
**/
|
|
2865
|
+
rcMigrator: {
|
|
2866
|
+
Unreachable: GenericPalletError<Rv>;
|
|
2867
|
+
OutOfWeight: GenericPalletError<Rv>;
|
|
2868
|
+
|
|
2869
|
+
/**
|
|
2870
|
+
* Failed to send XCM message to AH.
|
|
2871
|
+
**/
|
|
2872
|
+
XcmError: GenericPalletError<Rv>;
|
|
2873
|
+
|
|
2874
|
+
/**
|
|
2875
|
+
* Failed to withdraw account from RC for migration to AH.
|
|
2876
|
+
**/
|
|
2877
|
+
FailedToWithdrawAccount: GenericPalletError<Rv>;
|
|
2878
|
+
|
|
2879
|
+
/**
|
|
2880
|
+
* Indicates that the specified block number is in the past.
|
|
2881
|
+
**/
|
|
2882
|
+
PastBlockNumber: GenericPalletError<Rv>;
|
|
2883
|
+
|
|
2884
|
+
/**
|
|
2885
|
+
* Balance accounting overflow.
|
|
2886
|
+
**/
|
|
2887
|
+
BalanceOverflow: GenericPalletError<Rv>;
|
|
2888
|
+
|
|
2889
|
+
/**
|
|
2890
|
+
* Balance accounting underflow.
|
|
2891
|
+
**/
|
|
2892
|
+
BalanceUnderflow: GenericPalletError<Rv>;
|
|
2893
|
+
|
|
2838
2894
|
/**
|
|
2839
2895
|
* Generic pallet error
|
|
2840
2896
|
**/
|