Skip to content

Commit 07a8bf6

Browse files
author
debot
committed
chore: regenerate chaintypes
1 parent f740a62 commit 07a8bf6

27 files changed

Lines changed: 10506 additions & 589 deletions

packages/chaintypes/src/paseo-asset-hub/consts.d.ts

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,31 @@ export interface ChainConsts extends GenericChainConsts {
151151
**/
152152
[name: string]: any;
153153
};
154+
/**
155+
* Pallet `MultiBlockMigrations`'s constants
156+
**/
157+
multiBlockMigrations: {
158+
/**
159+
* The maximal length of an encoded cursor.
160+
*
161+
* A good default needs to selected such that no migration will ever have a cursor with MEL
162+
* above this limit. This is statically checked in `integrity_test`.
163+
**/
164+
cursorMaxLen: number;
165+
166+
/**
167+
* The maximal length of an encoded identifier.
168+
*
169+
* A good default needs to selected such that no migration will ever have an identifier
170+
* with MEL above this limit. This is statically checked in `integrity_test`.
171+
**/
172+
identifierMaxLen: number;
173+
174+
/**
175+
* Generic pallet constant
176+
**/
177+
[name: string]: any;
178+
};
154179
/**
155180
* Pallet `Balances`'s constants
156181
**/
@@ -261,6 +286,23 @@ export interface ChainConsts extends GenericChainConsts {
261286
**/
262287
[name: string]: any;
263288
};
289+
/**
290+
* Pallet `Dap`'s constants
291+
**/
292+
dap: {
293+
/**
294+
* The pallet ID used to derive the buffer account.
295+
*
296+
* Each runtime should configure a unique ID to avoid collisions if multiple
297+
* DAP instances are used.
298+
**/
299+
palletId: FrameSupportPalletId;
300+
301+
/**
302+
* Generic pallet constant
303+
**/
304+
[name: string]: any;
305+
};
264306
/**
265307
* Pallet `Authorship`'s constants
266308
**/
@@ -1136,6 +1178,30 @@ export interface ChainConsts extends GenericChainConsts {
11361178
**/
11371179
[name: string]: any;
11381180
};
1181+
/**
1182+
* Pallet `MultiAssetBounties`'s constants
1183+
**/
1184+
multiAssetBounties: {
1185+
/**
1186+
* Minimum value for a bounty.
1187+
**/
1188+
bountyValueMinimum: bigint;
1189+
1190+
/**
1191+
* Minimum value for a child-bounty.
1192+
**/
1193+
childBountyValueMinimum: bigint;
1194+
1195+
/**
1196+
* Maximum number of child bounties that can be added to a parent bounty.
1197+
**/
1198+
maxActiveChildBountyCount: number;
1199+
1200+
/**
1201+
* Generic pallet constant
1202+
**/
1203+
[name: string]: any;
1204+
};
11391205
/**
11401206
* Pallet `StateTrieMigration`'s constants
11411207
**/
@@ -1292,6 +1358,11 @@ export interface ChainConsts extends GenericChainConsts {
12921358
* Pallet `StakingRcClient`'s constants
12931359
**/
12941360
stakingRcClient: {
1361+
/**
1362+
* Deposit held when a validator sets session keys. Released on `purge_keys`.
1363+
**/
1364+
keyDeposit: bigint;
1365+
12951366
/**
12961367
* Generic pallet constant
12971368
**/
@@ -1444,9 +1515,25 @@ export interface ChainConsts extends GenericChainConsts {
14441515

14451516
/**
14461517
* Number of eras that staked funds must remain bonded for.
1518+
*
1519+
* This is the bonding duration for validators. Nominators may have a shorter bonding
1520+
* duration when [`AreNominatorsSlashable`] is set to `false` (see
1521+
* [`StakingInterface::nominator_bonding_duration`]).
14471522
**/
14481523
bondingDuration: number;
14491524

1525+
/**
1526+
* Number of eras nominators must wait to unbond when they are not slashable.
1527+
*
1528+
* This duration is used for nominators when [`AreNominatorsSlashable`] is `false`.
1529+
* When nominators are slashable, they use the full [`Config::BondingDuration`] to ensure
1530+
* slashes can be applied during the unbonding period.
1531+
*
1532+
* Setting this to a lower value (e.g., 1 era) allows for faster withdrawals when
1533+
* nominators are not subject to slashing risk.
1534+
**/
1535+
nominatorFastUnbondDuration: number;
1536+
14501537
/**
14511538
* Number of eras that slashes are deferred by, after computation.
14521539
*

packages/chaintypes/src/paseo-asset-hub/errors.d.ts

Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,20 @@ export interface ChainErrors extends GenericChainErrors {
194194
**/
195195
[error: string]: GenericPalletError;
196196
};
197+
/**
198+
* Pallet `MultiBlockMigrations`'s errors
199+
**/
200+
multiBlockMigrations: {
201+
/**
202+
* The operation cannot complete since some MBMs are ongoing.
203+
**/
204+
Ongoing: GenericPalletError;
205+
206+
/**
207+
* Generic pallet error
208+
**/
209+
[error: string]: GenericPalletError;
210+
};
197211
/**
198212
* Pallet `Balances`'s errors
199213
**/
@@ -1089,6 +1103,11 @@ export interface ChainErrors extends GenericChainErrors {
10891103
**/
10901104
ContainsHolds: GenericPalletError;
10911105

1106+
/**
1107+
* Tried setting too many reserves.
1108+
**/
1109+
TooManyReserves: GenericPalletError;
1110+
10921111
/**
10931112
* Generic pallet error
10941113
**/
@@ -1569,6 +1588,11 @@ export interface ChainErrors extends GenericChainErrors {
15691588
**/
15701589
ContainsHolds: GenericPalletError;
15711590

1591+
/**
1592+
* Tried setting too many reserves.
1593+
**/
1594+
TooManyReserves: GenericPalletError;
1595+
15721596
/**
15731597
* Generic pallet error
15741598
**/
@@ -1696,6 +1720,11 @@ export interface ChainErrors extends GenericChainErrors {
16961720
**/
16971721
ContainsHolds: GenericPalletError;
16981722

1723+
/**
1724+
* Tried setting too many reserves.
1725+
**/
1726+
TooManyReserves: GenericPalletError;
1727+
16991728
/**
17001729
* Generic pallet error
17011730
**/
@@ -2194,6 +2223,104 @@ export interface ChainErrors extends GenericChainErrors {
21942223
**/
21952224
[error: string]: GenericPalletError;
21962225
};
2226+
/**
2227+
* Pallet `MultiAssetBounties`'s errors
2228+
**/
2229+
multiAssetBounties: {
2230+
/**
2231+
* No child-/bounty at that index.
2232+
**/
2233+
InvalidIndex: GenericPalletError;
2234+
2235+
/**
2236+
* The reason given is just too big.
2237+
**/
2238+
ReasonTooBig: GenericPalletError;
2239+
2240+
/**
2241+
* Invalid child-/bounty value.
2242+
**/
2243+
InvalidValue: GenericPalletError;
2244+
2245+
/**
2246+
* The balance of the asset kind is not convertible to the balance of the native asset for
2247+
* asserting the origin permissions.
2248+
**/
2249+
FailedToConvertBalance: GenericPalletError;
2250+
2251+
/**
2252+
* The child-/bounty status is unexpected.
2253+
**/
2254+
UnexpectedStatus: GenericPalletError;
2255+
2256+
/**
2257+
* Require child-/bounty curator.
2258+
**/
2259+
RequireCurator: GenericPalletError;
2260+
2261+
/**
2262+
* The spend origin is valid but the amount it is allowed to spend is lower than the
2263+
* requested amount.
2264+
**/
2265+
InsufficientPermission: GenericPalletError;
2266+
2267+
/**
2268+
* There was issue with funding the child-/bounty.
2269+
**/
2270+
FundingError: GenericPalletError;
2271+
2272+
/**
2273+
* There was issue with refunding the child-/bounty.
2274+
**/
2275+
RefundError: GenericPalletError;
2276+
PayoutError: GenericPalletError;
2277+
2278+
/**
2279+
* Child-/bounty funding has not concluded yet.
2280+
**/
2281+
FundingInconclusive: GenericPalletError;
2282+
2283+
/**
2284+
* Child-/bounty refund has not concluded yet.
2285+
**/
2286+
RefundInconclusive: GenericPalletError;
2287+
2288+
/**
2289+
* Child-/bounty payout has not concluded yet.
2290+
**/
2291+
PayoutInconclusive: GenericPalletError;
2292+
2293+
/**
2294+
* The child-/bounty or funding source account could not be derived from the indexes and
2295+
* asset kind.
2296+
**/
2297+
FailedToConvertSource: GenericPalletError;
2298+
2299+
/**
2300+
* The parent bounty cannot be closed because it has active child bounties.
2301+
**/
2302+
HasActiveChildBounty: GenericPalletError;
2303+
2304+
/**
2305+
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
2306+
**/
2307+
TooManyChildBounties: GenericPalletError;
2308+
2309+
/**
2310+
* The parent bounty value is not enough to add new child-bounty.
2311+
**/
2312+
InsufficientBountyValue: GenericPalletError;
2313+
2314+
/**
2315+
* The preimage does not exist.
2316+
**/
2317+
PreimageNotExist: GenericPalletError;
2318+
2319+
/**
2320+
* Generic pallet error
2321+
**/
2322+
[error: string]: GenericPalletError;
2323+
};
21972324
/**
21982325
* Pallet `StateTrieMigration`'s errors
21992326
**/
@@ -2539,6 +2666,44 @@ export interface ChainErrors extends GenericChainErrors {
25392666
**/
25402667
[error: string]: GenericPalletError;
25412668
};
2669+
/**
2670+
* Pallet `StakingRcClient`'s errors
2671+
**/
2672+
stakingRcClient: {
2673+
/**
2674+
* Failed to send XCM message to the Relay Chain.
2675+
**/
2676+
XcmSendFailed: GenericPalletError;
2677+
2678+
/**
2679+
* The origin account is not a registered validator.
2680+
*
2681+
* Only accounts that have called `validate()` can set or purge session keys. When called
2682+
* via a staking proxy, the origin is the delegating account (stash), which must be a
2683+
* registered validator.
2684+
**/
2685+
NotValidator: GenericPalletError;
2686+
2687+
/**
2688+
* The session keys could not be decoded as the expected RelayChainSessionKeys type.
2689+
**/
2690+
InvalidKeys: GenericPalletError;
2691+
2692+
/**
2693+
* The ownership proof for the session keys is invalid.
2694+
**/
2695+
InvalidProof: GenericPalletError;
2696+
2697+
/**
2698+
* Delivery fees exceeded the specified maximum.
2699+
**/
2700+
FeesExceededMax: GenericPalletError;
2701+
2702+
/**
2703+
* Generic pallet error
2704+
**/
2705+
[error: string]: GenericPalletError;
2706+
};
25422707
/**
25432708
* Pallet `MultiBlockElection`'s errors
25442709
**/
@@ -3120,6 +3285,11 @@ export interface ChainErrors extends GenericChainErrors {
31203285
**/
31213286
PrecompileDelegateDenied: GenericPalletError;
31223287

3288+
/**
3289+
* ECDSA public key recovery failed. Most probably wrong recovery id or signature.
3290+
**/
3291+
EcdsaRecoveryFailed: GenericPalletError;
3292+
31233293
/**
31243294
* Generic pallet error
31253295
**/

0 commit comments

Comments
 (0)