Skip to content

Commit ad459b3

Browse files
author
debot
committed
chore: regenerate chaintypes
1 parent a4bfba1 commit ad459b3

21 files changed

Lines changed: 3618 additions & 604 deletions

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

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,6 +1358,11 @@ export interface ChainConsts extends GenericChainConsts {
13581358
* Pallet `StakingRcClient`'s constants
13591359
**/
13601360
stakingRcClient: {
1361+
/**
1362+
* Deposit held when a validator sets session keys. Released on `purge_keys`.
1363+
**/
1364+
keyDeposit: bigint;
1365+
13611366
/**
13621367
* Generic pallet constant
13631368
**/
@@ -1510,9 +1515,25 @@ export interface ChainConsts extends GenericChainConsts {
15101515

15111516
/**
15121517
* 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`]).
15131522
**/
15141523
bondingDuration: number;
15151524

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+
15161537
/**
15171538
* Number of eras that slashes are deferred by, after computation.
15181539
*
@@ -1807,6 +1828,30 @@ export interface ChainConsts extends GenericChainConsts {
18071828
**/
18081829
[name: string]: any;
18091830
};
1831+
/**
1832+
* Pallet `MultiAssetBounties`'s constants
1833+
**/
1834+
multiAssetBounties: {
1835+
/**
1836+
* Minimum value for a bounty.
1837+
**/
1838+
bountyValueMinimum: bigint;
1839+
1840+
/**
1841+
* Minimum value for a child-bounty.
1842+
**/
1843+
childBountyValueMinimum: bigint;
1844+
1845+
/**
1846+
* Maximum number of child bounties that can be added to a parent bounty.
1847+
**/
1848+
maxActiveChildBountyCount: number;
1849+
1850+
/**
1851+
* Generic pallet constant
1852+
**/
1853+
[name: string]: any;
1854+
};
18101855
/**
18111856
* Pallet `AhOps`'s constants
18121857
**/

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

Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,6 +1072,11 @@ export interface ChainErrors extends GenericChainErrors {
10721072
**/
10731073
ContainsHolds: GenericPalletError;
10741074

1075+
/**
1076+
* Tried setting too many reserves.
1077+
**/
1078+
TooManyReserves: GenericPalletError;
1079+
10751080
/**
10761081
* Generic pallet error
10771082
**/
@@ -1552,6 +1557,11 @@ export interface ChainErrors extends GenericChainErrors {
15521557
**/
15531558
ContainsHolds: GenericPalletError;
15541559

1560+
/**
1561+
* Tried setting too many reserves.
1562+
**/
1563+
TooManyReserves: GenericPalletError;
1564+
15551565
/**
15561566
* Generic pallet error
15571567
**/
@@ -1708,6 +1718,11 @@ export interface ChainErrors extends GenericChainErrors {
17081718
**/
17091719
ContainsHolds: GenericPalletError;
17101720

1721+
/**
1722+
* Tried setting too many reserves.
1723+
**/
1724+
TooManyReserves: GenericPalletError;
1725+
17111726
/**
17121727
* Generic pallet error
17131728
**/
@@ -2411,6 +2426,11 @@ export interface ChainErrors extends GenericChainErrors {
24112426
**/
24122427
PrecompileDelegateDenied: GenericPalletError;
24132428

2429+
/**
2430+
* ECDSA public key recovery failed. Most probably wrong recovery id or signature.
2431+
**/
2432+
EcdsaRecoveryFailed: GenericPalletError;
2433+
24142434
/**
24152435
* Generic pallet error
24162436
**/
@@ -2761,6 +2781,44 @@ export interface ChainErrors extends GenericChainErrors {
27612781
**/
27622782
[error: string]: GenericPalletError;
27632783
};
2784+
/**
2785+
* Pallet `StakingRcClient`'s errors
2786+
**/
2787+
stakingRcClient: {
2788+
/**
2789+
* Failed to send XCM message to the Relay Chain.
2790+
**/
2791+
XcmSendFailed: GenericPalletError;
2792+
2793+
/**
2794+
* The origin account is not a registered validator.
2795+
*
2796+
* Only accounts that have called `validate()` can set or purge session keys. When called
2797+
* via a staking proxy, the origin is the delegating account (stash), which must be a
2798+
* registered validator.
2799+
**/
2800+
NotValidator: GenericPalletError;
2801+
2802+
/**
2803+
* The session keys could not be decoded as the expected RelayChainSessionKeys type.
2804+
**/
2805+
InvalidKeys: GenericPalletError;
2806+
2807+
/**
2808+
* The ownership proof for the session keys is invalid.
2809+
**/
2810+
InvalidProof: GenericPalletError;
2811+
2812+
/**
2813+
* Delivery fees exceeded the specified maximum.
2814+
**/
2815+
FeesExceededMax: GenericPalletError;
2816+
2817+
/**
2818+
* Generic pallet error
2819+
**/
2820+
[error: string]: GenericPalletError;
2821+
};
27642822
/**
27652823
* Pallet `MultiBlockElection`'s errors
27662824
**/
@@ -3400,6 +3458,104 @@ export interface ChainErrors extends GenericChainErrors {
34003458
**/
34013459
[error: string]: GenericPalletError;
34023460
};
3461+
/**
3462+
* Pallet `MultiAssetBounties`'s errors
3463+
**/
3464+
multiAssetBounties: {
3465+
/**
3466+
* No child-/bounty at that index.
3467+
**/
3468+
InvalidIndex: GenericPalletError;
3469+
3470+
/**
3471+
* The reason given is just too big.
3472+
**/
3473+
ReasonTooBig: GenericPalletError;
3474+
3475+
/**
3476+
* Invalid child-/bounty value.
3477+
**/
3478+
InvalidValue: GenericPalletError;
3479+
3480+
/**
3481+
* The balance of the asset kind is not convertible to the balance of the native asset for
3482+
* asserting the origin permissions.
3483+
**/
3484+
FailedToConvertBalance: GenericPalletError;
3485+
3486+
/**
3487+
* The child-/bounty status is unexpected.
3488+
**/
3489+
UnexpectedStatus: GenericPalletError;
3490+
3491+
/**
3492+
* Require child-/bounty curator.
3493+
**/
3494+
RequireCurator: GenericPalletError;
3495+
3496+
/**
3497+
* The spend origin is valid but the amount it is allowed to spend is lower than the
3498+
* requested amount.
3499+
**/
3500+
InsufficientPermission: GenericPalletError;
3501+
3502+
/**
3503+
* There was issue with funding the child-/bounty.
3504+
**/
3505+
FundingError: GenericPalletError;
3506+
3507+
/**
3508+
* There was issue with refunding the child-/bounty.
3509+
**/
3510+
RefundError: GenericPalletError;
3511+
PayoutError: GenericPalletError;
3512+
3513+
/**
3514+
* Child-/bounty funding has not concluded yet.
3515+
**/
3516+
FundingInconclusive: GenericPalletError;
3517+
3518+
/**
3519+
* Child-/bounty refund has not concluded yet.
3520+
**/
3521+
RefundInconclusive: GenericPalletError;
3522+
3523+
/**
3524+
* Child-/bounty payout has not concluded yet.
3525+
**/
3526+
PayoutInconclusive: GenericPalletError;
3527+
3528+
/**
3529+
* The child-/bounty or funding source account could not be derived from the indexes and
3530+
* asset kind.
3531+
**/
3532+
FailedToConvertSource: GenericPalletError;
3533+
3534+
/**
3535+
* The parent bounty cannot be closed because it has active child bounties.
3536+
**/
3537+
HasActiveChildBounty: GenericPalletError;
3538+
3539+
/**
3540+
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
3541+
**/
3542+
TooManyChildBounties: GenericPalletError;
3543+
3544+
/**
3545+
* The parent bounty value is not enough to add new child-bounty.
3546+
**/
3547+
InsufficientBountyValue: GenericPalletError;
3548+
3549+
/**
3550+
* The preimage does not exist.
3551+
**/
3552+
PreimageNotExist: GenericPalletError;
3553+
3554+
/**
3555+
* Generic pallet error
3556+
**/
3557+
[error: string]: GenericPalletError;
3558+
};
34033559
/**
34043560
* Pallet `AhOps`'s errors
34053561
**/

0 commit comments

Comments
 (0)