@dedot/chaintypes 0.95.0 → 0.96.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.96.0",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@coongcrafts.io>",
|
|
6
6
|
"main": "",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"directory": "dist"
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "b4fe69d0a2fbcc182ded6fe3f7e1b1deecc34831",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
25
25
|
"exports": {
|
package/paseo/consts.d.ts
CHANGED
|
@@ -501,15 +501,6 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
501
501
|
**/
|
|
502
502
|
[name: string]: any;
|
|
503
503
|
};
|
|
504
|
-
/**
|
|
505
|
-
* Pallet `Parameters`'s constants
|
|
506
|
-
**/
|
|
507
|
-
parameters: {
|
|
508
|
-
/**
|
|
509
|
-
* Generic pallet constant
|
|
510
|
-
**/
|
|
511
|
-
[name: string]: any;
|
|
512
|
-
};
|
|
513
504
|
/**
|
|
514
505
|
* Pallet `Claims`'s constants
|
|
515
506
|
**/
|
package/paseo/errors.d.ts
CHANGED
|
@@ -439,12 +439,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
439
439
|
**/
|
|
440
440
|
VirtualStakerNotAllowed: GenericPalletError<Rv>;
|
|
441
441
|
|
|
442
|
-
/**
|
|
443
|
-
* Account is restricted from participation in staking. This may happen if the account is
|
|
444
|
-
* staking in another way already, such as via pool.
|
|
445
|
-
**/
|
|
446
|
-
Restricted: GenericPalletError<Rv>;
|
|
447
|
-
|
|
448
442
|
/**
|
|
449
443
|
* Generic pallet error
|
|
450
444
|
**/
|
|
@@ -1379,12 +1373,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1379
1373
|
**/
|
|
1380
1374
|
NotSupported: GenericPalletError<Rv>;
|
|
1381
1375
|
|
|
1382
|
-
/**
|
|
1383
|
-
* Account is restricted from participation in pools. This may happen if the account is
|
|
1384
|
-
* staking in another way already.
|
|
1385
|
-
**/
|
|
1386
|
-
Restricted: GenericPalletError<Rv>;
|
|
1387
|
-
|
|
1388
1376
|
/**
|
|
1389
1377
|
* Generic pallet error
|
|
1390
1378
|
**/
|
package/paseo/events.d.ts
CHANGED
|
@@ -26,9 +26,7 @@ import type {
|
|
|
26
26
|
PalletConvictionVotingTally,
|
|
27
27
|
FrameSupportDispatchPostDispatchInfo,
|
|
28
28
|
SpRuntimeDispatchErrorWithPostInfo,
|
|
29
|
-
|
|
30
|
-
PaseoRuntimeRuntimeParametersValue,
|
|
31
|
-
PaseoRuntimeProxyType,
|
|
29
|
+
PaseoRuntimeConstantsProxyProxyType,
|
|
32
30
|
PalletMultisigTimepoint,
|
|
33
31
|
PalletElectionProviderMultiPhaseElectionCompute,
|
|
34
32
|
SpNposElectionsElectionScore,
|
|
@@ -1080,42 +1078,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1080
1078
|
**/
|
|
1081
1079
|
[prop: string]: GenericPalletEvent<Rv>;
|
|
1082
1080
|
};
|
|
1083
|
-
/**
|
|
1084
|
-
* Pallet `Parameters`'s events
|
|
1085
|
-
**/
|
|
1086
|
-
parameters: {
|
|
1087
|
-
/**
|
|
1088
|
-
* A Parameter was set.
|
|
1089
|
-
*
|
|
1090
|
-
* Is also emitted when the value was not changed.
|
|
1091
|
-
**/
|
|
1092
|
-
Updated: GenericPalletEvent<
|
|
1093
|
-
Rv,
|
|
1094
|
-
'Parameters',
|
|
1095
|
-
'Updated',
|
|
1096
|
-
{
|
|
1097
|
-
/**
|
|
1098
|
-
* The key that was updated.
|
|
1099
|
-
**/
|
|
1100
|
-
key: PaseoRuntimeRuntimeParametersKey;
|
|
1101
|
-
|
|
1102
|
-
/**
|
|
1103
|
-
* The old value before this call.
|
|
1104
|
-
**/
|
|
1105
|
-
oldValue?: PaseoRuntimeRuntimeParametersValue | undefined;
|
|
1106
|
-
|
|
1107
|
-
/**
|
|
1108
|
-
* The new value after this call.
|
|
1109
|
-
**/
|
|
1110
|
-
newValue?: PaseoRuntimeRuntimeParametersValue | undefined;
|
|
1111
|
-
}
|
|
1112
|
-
>;
|
|
1113
|
-
|
|
1114
|
-
/**
|
|
1115
|
-
* Generic pallet event
|
|
1116
|
-
**/
|
|
1117
|
-
[prop: string]: GenericPalletEvent<Rv>;
|
|
1118
|
-
};
|
|
1119
1081
|
/**
|
|
1120
1082
|
* Pallet `Claims`'s events
|
|
1121
1083
|
**/
|
|
@@ -1212,7 +1174,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1212
1174
|
Rv,
|
|
1213
1175
|
'Proxy',
|
|
1214
1176
|
'PureCreated',
|
|
1215
|
-
{
|
|
1177
|
+
{
|
|
1178
|
+
pure: AccountId32;
|
|
1179
|
+
who: AccountId32;
|
|
1180
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType;
|
|
1181
|
+
disambiguationIndex: number;
|
|
1182
|
+
}
|
|
1216
1183
|
>;
|
|
1217
1184
|
|
|
1218
1185
|
/**
|
|
@@ -1227,7 +1194,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1227
1194
|
Rv,
|
|
1228
1195
|
'Proxy',
|
|
1229
1196
|
'ProxyAdded',
|
|
1230
|
-
{ delegator: AccountId32; delegatee: AccountId32; proxyType:
|
|
1197
|
+
{ delegator: AccountId32; delegatee: AccountId32; proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number }
|
|
1231
1198
|
>;
|
|
1232
1199
|
|
|
1233
1200
|
/**
|
|
@@ -1237,7 +1204,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1237
1204
|
Rv,
|
|
1238
1205
|
'Proxy',
|
|
1239
1206
|
'ProxyRemoved',
|
|
1240
|
-
{ delegator: AccountId32; delegatee: AccountId32; proxyType:
|
|
1207
|
+
{ delegator: AccountId32; delegatee: AccountId32; proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number }
|
|
1241
1208
|
>;
|
|
1242
1209
|
|
|
1243
1210
|
/**
|
package/paseo/index.d.ts
CHANGED
package/paseo/query.d.ts
CHANGED
|
@@ -62,8 +62,6 @@ import type {
|
|
|
62
62
|
PalletTreasurySpendStatus,
|
|
63
63
|
PalletConvictionVotingVoteVoting,
|
|
64
64
|
PalletReferendaReferendumInfo,
|
|
65
|
-
PaseoRuntimeRuntimeParametersValue,
|
|
66
|
-
PaseoRuntimeRuntimeParametersKey,
|
|
67
65
|
PolkadotRuntimeCommonClaimsStatementKind,
|
|
68
66
|
PalletVestingVestingInfo,
|
|
69
67
|
PalletVestingReleases,
|
|
@@ -1575,27 +1573,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1575
1573
|
**/
|
|
1576
1574
|
[storage: string]: GenericStorageQuery<Rv>;
|
|
1577
1575
|
};
|
|
1578
|
-
/**
|
|
1579
|
-
* Pallet `Parameters`'s storage queries
|
|
1580
|
-
**/
|
|
1581
|
-
parameters: {
|
|
1582
|
-
/**
|
|
1583
|
-
* Stored parameters.
|
|
1584
|
-
*
|
|
1585
|
-
* @param {PaseoRuntimeRuntimeParametersKey} arg
|
|
1586
|
-
* @param {Callback<PaseoRuntimeRuntimeParametersValue | undefined> =} callback
|
|
1587
|
-
**/
|
|
1588
|
-
parameters: GenericStorageQuery<
|
|
1589
|
-
Rv,
|
|
1590
|
-
(arg: PaseoRuntimeRuntimeParametersKey) => PaseoRuntimeRuntimeParametersValue | undefined,
|
|
1591
|
-
PaseoRuntimeRuntimeParametersKey
|
|
1592
|
-
>;
|
|
1593
|
-
|
|
1594
|
-
/**
|
|
1595
|
-
* Generic pallet storage query
|
|
1596
|
-
**/
|
|
1597
|
-
[storage: string]: GenericStorageQuery<Rv>;
|
|
1598
|
-
};
|
|
1599
1576
|
/**
|
|
1600
1577
|
* Pallet `Claims`'s storage queries
|
|
1601
1578
|
**/
|
package/paseo/runtime.d.ts
CHANGED
|
@@ -1422,17 +1422,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1422
1422
|
**/
|
|
1423
1423
|
dryRunApi: {
|
|
1424
1424
|
/**
|
|
1425
|
-
* Dry run call.
|
|
1425
|
+
* Dry run call V2.
|
|
1426
1426
|
*
|
|
1427
1427
|
* @callname: DryRunApi_dry_run_call
|
|
1428
1428
|
* @param {PaseoRuntimeOriginCaller} origin
|
|
1429
1429
|
* @param {PaseoRuntimeRuntimeCallLike} call
|
|
1430
|
+
* @param {number} result_xcms_version
|
|
1430
1431
|
**/
|
|
1431
1432
|
dryRunCall: GenericRuntimeApiMethod<
|
|
1432
1433
|
Rv,
|
|
1433
1434
|
(
|
|
1434
1435
|
origin: PaseoRuntimeOriginCaller,
|
|
1435
1436
|
call: PaseoRuntimeRuntimeCallLike,
|
|
1437
|
+
resultXcmsVersion: number,
|
|
1436
1438
|
) => Promise<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>
|
|
1437
1439
|
>;
|
|
1438
1440
|
|
package/paseo/tx.d.ts
CHANGED
|
@@ -47,11 +47,10 @@ import type {
|
|
|
47
47
|
FrameSupportPreimagesBounded,
|
|
48
48
|
FrameSupportScheduleDispatchTime,
|
|
49
49
|
SpWeightsWeightV2Weight,
|
|
50
|
-
PaseoRuntimeRuntimeParameters,
|
|
51
50
|
PolkadotRuntimeCommonClaimsEcdsaSignature,
|
|
52
51
|
PolkadotRuntimeCommonClaimsStatementKind,
|
|
53
52
|
PalletVestingVestingInfo,
|
|
54
|
-
|
|
53
|
+
PaseoRuntimeConstantsProxyProxyType,
|
|
55
54
|
PalletMultisigTimepoint,
|
|
56
55
|
PalletElectionProviderMultiPhaseRawSolution,
|
|
57
56
|
PalletElectionProviderMultiPhaseSolutionOrSnapshotSize,
|
|
@@ -3297,37 +3296,6 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
3297
3296
|
**/
|
|
3298
3297
|
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
3299
3298
|
};
|
|
3300
|
-
/**
|
|
3301
|
-
* Pallet `Parameters`'s transaction calls
|
|
3302
|
-
**/
|
|
3303
|
-
parameters: {
|
|
3304
|
-
/**
|
|
3305
|
-
* Set the value of a parameter.
|
|
3306
|
-
*
|
|
3307
|
-
* The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
|
|
3308
|
-
* deleted by setting them to `None`.
|
|
3309
|
-
*
|
|
3310
|
-
* @param {PaseoRuntimeRuntimeParameters} keyValue
|
|
3311
|
-
**/
|
|
3312
|
-
setParameter: GenericTxCall<
|
|
3313
|
-
Rv,
|
|
3314
|
-
(keyValue: PaseoRuntimeRuntimeParameters) => ChainSubmittableExtrinsic<
|
|
3315
|
-
Rv,
|
|
3316
|
-
{
|
|
3317
|
-
pallet: 'Parameters';
|
|
3318
|
-
palletCall: {
|
|
3319
|
-
name: 'SetParameter';
|
|
3320
|
-
params: { keyValue: PaseoRuntimeRuntimeParameters };
|
|
3321
|
-
};
|
|
3322
|
-
}
|
|
3323
|
-
>
|
|
3324
|
-
>;
|
|
3325
|
-
|
|
3326
|
-
/**
|
|
3327
|
-
* Generic pallet tx call
|
|
3328
|
-
**/
|
|
3329
|
-
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
3330
|
-
};
|
|
3331
3299
|
/**
|
|
3332
3300
|
* Pallet `Claims`'s transaction calls
|
|
3333
3301
|
**/
|
|
@@ -3966,14 +3934,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
3966
3934
|
* - `call`: The call to be made by the `real` account.
|
|
3967
3935
|
*
|
|
3968
3936
|
* @param {MultiAddressLike} real
|
|
3969
|
-
* @param {
|
|
3937
|
+
* @param {PaseoRuntimeConstantsProxyProxyType | undefined} forceProxyType
|
|
3970
3938
|
* @param {PaseoRuntimeRuntimeCallLike} call
|
|
3971
3939
|
**/
|
|
3972
3940
|
proxy: GenericTxCall<
|
|
3973
3941
|
Rv,
|
|
3974
3942
|
(
|
|
3975
3943
|
real: MultiAddressLike,
|
|
3976
|
-
forceProxyType:
|
|
3944
|
+
forceProxyType: PaseoRuntimeConstantsProxyProxyType | undefined,
|
|
3977
3945
|
call: PaseoRuntimeRuntimeCallLike,
|
|
3978
3946
|
) => ChainSubmittableExtrinsic<
|
|
3979
3947
|
Rv,
|
|
@@ -3983,7 +3951,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
3983
3951
|
name: 'Proxy';
|
|
3984
3952
|
params: {
|
|
3985
3953
|
real: MultiAddressLike;
|
|
3986
|
-
forceProxyType:
|
|
3954
|
+
forceProxyType: PaseoRuntimeConstantsProxyProxyType | undefined;
|
|
3987
3955
|
call: PaseoRuntimeRuntimeCallLike;
|
|
3988
3956
|
};
|
|
3989
3957
|
};
|
|
@@ -4003,14 +3971,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
4003
3971
|
* zero.
|
|
4004
3972
|
*
|
|
4005
3973
|
* @param {MultiAddressLike} delegate
|
|
4006
|
-
* @param {
|
|
3974
|
+
* @param {PaseoRuntimeConstantsProxyProxyType} proxyType
|
|
4007
3975
|
* @param {number} delay
|
|
4008
3976
|
**/
|
|
4009
3977
|
addProxy: GenericTxCall<
|
|
4010
3978
|
Rv,
|
|
4011
3979
|
(
|
|
4012
3980
|
delegate: MultiAddressLike,
|
|
4013
|
-
proxyType:
|
|
3981
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType,
|
|
4014
3982
|
delay: number,
|
|
4015
3983
|
) => ChainSubmittableExtrinsic<
|
|
4016
3984
|
Rv,
|
|
@@ -4018,7 +3986,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
4018
3986
|
pallet: 'Proxy';
|
|
4019
3987
|
palletCall: {
|
|
4020
3988
|
name: 'AddProxy';
|
|
4021
|
-
params: { delegate: MultiAddressLike; proxyType:
|
|
3989
|
+
params: { delegate: MultiAddressLike; proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number };
|
|
4022
3990
|
};
|
|
4023
3991
|
}
|
|
4024
3992
|
>
|
|
@@ -4034,14 +4002,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
4034
4002
|
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
|
4035
4003
|
*
|
|
4036
4004
|
* @param {MultiAddressLike} delegate
|
|
4037
|
-
* @param {
|
|
4005
|
+
* @param {PaseoRuntimeConstantsProxyProxyType} proxyType
|
|
4038
4006
|
* @param {number} delay
|
|
4039
4007
|
**/
|
|
4040
4008
|
removeProxy: GenericTxCall<
|
|
4041
4009
|
Rv,
|
|
4042
4010
|
(
|
|
4043
4011
|
delegate: MultiAddressLike,
|
|
4044
|
-
proxyType:
|
|
4012
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType,
|
|
4045
4013
|
delay: number,
|
|
4046
4014
|
) => ChainSubmittableExtrinsic<
|
|
4047
4015
|
Rv,
|
|
@@ -4049,7 +4017,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
4049
4017
|
pallet: 'Proxy';
|
|
4050
4018
|
palletCall: {
|
|
4051
4019
|
name: 'RemoveProxy';
|
|
4052
|
-
params: { delegate: MultiAddressLike; proxyType:
|
|
4020
|
+
params: { delegate: MultiAddressLike; proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number };
|
|
4053
4021
|
};
|
|
4054
4022
|
}
|
|
4055
4023
|
>
|
|
@@ -4097,14 +4065,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
4097
4065
|
*
|
|
4098
4066
|
* Fails if there are insufficient funds to pay for deposit.
|
|
4099
4067
|
*
|
|
4100
|
-
* @param {
|
|
4068
|
+
* @param {PaseoRuntimeConstantsProxyProxyType} proxyType
|
|
4101
4069
|
* @param {number} delay
|
|
4102
4070
|
* @param {number} index
|
|
4103
4071
|
**/
|
|
4104
4072
|
createPure: GenericTxCall<
|
|
4105
4073
|
Rv,
|
|
4106
4074
|
(
|
|
4107
|
-
proxyType:
|
|
4075
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType,
|
|
4108
4076
|
delay: number,
|
|
4109
4077
|
index: number,
|
|
4110
4078
|
) => ChainSubmittableExtrinsic<
|
|
@@ -4113,7 +4081,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
4113
4081
|
pallet: 'Proxy';
|
|
4114
4082
|
palletCall: {
|
|
4115
4083
|
name: 'CreatePure';
|
|
4116
|
-
params: { proxyType:
|
|
4084
|
+
params: { proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number; index: number };
|
|
4117
4085
|
};
|
|
4118
4086
|
}
|
|
4119
4087
|
>
|
|
@@ -4138,7 +4106,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
4138
4106
|
* account whose `pure` call has corresponding parameters.
|
|
4139
4107
|
*
|
|
4140
4108
|
* @param {MultiAddressLike} spawner
|
|
4141
|
-
* @param {
|
|
4109
|
+
* @param {PaseoRuntimeConstantsProxyProxyType} proxyType
|
|
4142
4110
|
* @param {number} index
|
|
4143
4111
|
* @param {number} height
|
|
4144
4112
|
* @param {number} extIndex
|
|
@@ -4147,7 +4115,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
4147
4115
|
Rv,
|
|
4148
4116
|
(
|
|
4149
4117
|
spawner: MultiAddressLike,
|
|
4150
|
-
proxyType:
|
|
4118
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType,
|
|
4151
4119
|
index: number,
|
|
4152
4120
|
height: number,
|
|
4153
4121
|
extIndex: number,
|
|
@@ -4159,7 +4127,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
4159
4127
|
name: 'KillPure';
|
|
4160
4128
|
params: {
|
|
4161
4129
|
spawner: MultiAddressLike;
|
|
4162
|
-
proxyType:
|
|
4130
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType;
|
|
4163
4131
|
index: number;
|
|
4164
4132
|
height: number;
|
|
4165
4133
|
extIndex: number;
|
|
@@ -4285,7 +4253,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
4285
4253
|
*
|
|
4286
4254
|
* @param {MultiAddressLike} delegate
|
|
4287
4255
|
* @param {MultiAddressLike} real
|
|
4288
|
-
* @param {
|
|
4256
|
+
* @param {PaseoRuntimeConstantsProxyProxyType | undefined} forceProxyType
|
|
4289
4257
|
* @param {PaseoRuntimeRuntimeCallLike} call
|
|
4290
4258
|
**/
|
|
4291
4259
|
proxyAnnounced: GenericTxCall<
|
|
@@ -4293,7 +4261,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
4293
4261
|
(
|
|
4294
4262
|
delegate: MultiAddressLike,
|
|
4295
4263
|
real: MultiAddressLike,
|
|
4296
|
-
forceProxyType:
|
|
4264
|
+
forceProxyType: PaseoRuntimeConstantsProxyProxyType | undefined,
|
|
4297
4265
|
call: PaseoRuntimeRuntimeCallLike,
|
|
4298
4266
|
) => ChainSubmittableExtrinsic<
|
|
4299
4267
|
Rv,
|
|
@@ -4304,7 +4272,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
4304
4272
|
params: {
|
|
4305
4273
|
delegate: MultiAddressLike;
|
|
4306
4274
|
real: MultiAddressLike;
|
|
4307
|
-
forceProxyType:
|
|
4275
|
+
forceProxyType: PaseoRuntimeConstantsProxyProxyType | undefined;
|
|
4308
4276
|
call: PaseoRuntimeRuntimeCallLike;
|
|
4309
4277
|
};
|
|
4310
4278
|
};
|
|
@@ -5381,9 +5349,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5381
5349
|
**/
|
|
5382
5350
|
nominationPools: {
|
|
5383
5351
|
/**
|
|
5384
|
-
* Stake funds with a pool. The amount to bond is
|
|
5385
|
-
*
|
|
5386
|
-
* increases the pool's bond.
|
|
5352
|
+
* Stake funds with a pool. The amount to bond is transferred from the member to the pool
|
|
5353
|
+
* account and immediately increases the pools bond.
|
|
5387
5354
|
*
|
|
5388
5355
|
* The method of transferring the amount to the pool account is determined by
|
|
5389
5356
|
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
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
|
**/
|