UNPKG

@polkadot/api-augment

Version:
1,344 lines (1,343 loc) 88.1 kB
import '@polkadot/api-base/types/errors'; import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types'; export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>; declare module '@polkadot/api-base/types/errors' { interface AugmentedErrors<ApiType extends ApiTypes> { assetRate: { /** * The given asset ID already has an assigned conversion rate and cannot be re-created. **/ AlreadyExists: AugmentedError<ApiType>; /** * Overflow ocurred when calculating the inverse rate. **/ Overflow: AugmentedError<ApiType>; /** * The given asset ID is unknown. **/ UnknownAssetKind: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; auctions: { /** * The para is already leased out for part of this range. **/ AlreadyLeasedOut: AugmentedError<ApiType>; /** * Auction has already ended. **/ AuctionEnded: AugmentedError<ApiType>; /** * This auction is already in progress. **/ AuctionInProgress: AugmentedError<ApiType>; /** * The lease period is in the past. **/ LeasePeriodInPast: AugmentedError<ApiType>; /** * Not an auction. **/ NotAuction: AugmentedError<ApiType>; /** * Not a current auction. **/ NotCurrentAuction: AugmentedError<ApiType>; /** * Para is not registered **/ ParaNotRegistered: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; babe: { /** * A given equivocation report is valid but already previously reported. **/ DuplicateOffenceReport: AugmentedError<ApiType>; /** * Submitted configuration is invalid. **/ InvalidConfiguration: AugmentedError<ApiType>; /** * An equivocation proof provided as part of an equivocation report is invalid. **/ InvalidEquivocationProof: AugmentedError<ApiType>; /** * A key ownership proof provided as part of an equivocation report is invalid. **/ InvalidKeyOwnershipProof: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; balances: { /** * Beneficiary account must pre-exist. **/ DeadAccount: AugmentedError<ApiType>; /** * The delta cannot be zero. **/ DeltaZero: AugmentedError<ApiType>; /** * Value too low to create account due to existential deposit. **/ ExistentialDeposit: AugmentedError<ApiType>; /** * A vesting schedule already exists for this account. **/ ExistingVestingSchedule: AugmentedError<ApiType>; /** * Transfer/payment would kill account. **/ Expendability: AugmentedError<ApiType>; /** * Balance too low to send value. **/ InsufficientBalance: AugmentedError<ApiType>; /** * The issuance cannot be modified since it is already deactivated. **/ IssuanceDeactivated: AugmentedError<ApiType>; /** * Account liquidity restrictions prevent withdrawal. **/ LiquidityRestrictions: AugmentedError<ApiType>; /** * Number of freezes exceed `MaxFreezes`. **/ TooManyFreezes: AugmentedError<ApiType>; /** * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`. **/ TooManyHolds: AugmentedError<ApiType>; /** * Number of named reserves exceed `MaxReserves`. **/ TooManyReserves: AugmentedError<ApiType>; /** * Vesting balance too high to send value. **/ VestingBalance: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; beefy: { /** * A given equivocation report is valid but already previously reported. **/ DuplicateOffenceReport: AugmentedError<ApiType>; /** * Submitted configuration is invalid. **/ InvalidConfiguration: AugmentedError<ApiType>; /** * A double voting proof provided as part of an equivocation report is invalid. **/ InvalidDoubleVotingProof: AugmentedError<ApiType>; /** * The session of the equivocation proof is invalid **/ InvalidEquivocationProofSession: AugmentedError<ApiType>; /** * A fork voting proof provided as part of an equivocation report is invalid. **/ InvalidForkVotingProof: AugmentedError<ApiType>; /** * A future block voting proof provided as part of an equivocation report is invalid. **/ InvalidFutureBlockVotingProof: AugmentedError<ApiType>; /** * A key ownership proof provided as part of an equivocation report is invalid. **/ InvalidKeyOwnershipProof: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; bounties: { /** * The bounty cannot be closed because it has active child bounties. **/ HasActiveChildBounty: AugmentedError<ApiType>; /** * Proposer's balance is too low. **/ InsufficientProposersBalance: AugmentedError<ApiType>; /** * Invalid bounty fee. **/ InvalidFee: AugmentedError<ApiType>; /** * No proposal or bounty at that index. **/ InvalidIndex: AugmentedError<ApiType>; /** * Invalid bounty value. **/ InvalidValue: AugmentedError<ApiType>; /** * A bounty payout is pending. * To cancel the bounty, you must unassign and slash the curator. **/ PendingPayout: AugmentedError<ApiType>; /** * The bounties cannot be claimed/closed because it's still in the countdown period. **/ Premature: AugmentedError<ApiType>; /** * The reason given is just too big. **/ ReasonTooBig: AugmentedError<ApiType>; /** * Require bounty curator. **/ RequireCurator: AugmentedError<ApiType>; /** * Too many approvals are already queued. **/ TooManyQueued: AugmentedError<ApiType>; /** * The bounty status is unexpected. **/ UnexpectedStatus: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; childBounties: { /** * The bounty balance is not enough to add new child-bounty. **/ InsufficientBountyBalance: AugmentedError<ApiType>; /** * The parent bounty is not in active state. **/ ParentBountyNotActive: AugmentedError<ApiType>; /** * Number of child bounties exceeds limit `MaxActiveChildBountyCount`. **/ TooManyChildBounties: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; claims: { /** * Invalid Ethereum signature. **/ InvalidEthereumSignature: AugmentedError<ApiType>; /** * A needed statement was not included. **/ InvalidStatement: AugmentedError<ApiType>; /** * There's not enough in the pot to pay out some unvested amount. Generally implies a * logic error. **/ PotUnderflow: AugmentedError<ApiType>; /** * Account ID sending transaction has no claim. **/ SenderHasNoClaim: AugmentedError<ApiType>; /** * Ethereum address has no claim. **/ SignerHasNoClaim: AugmentedError<ApiType>; /** * The account already has a vested balance. **/ VestedBalanceExists: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; configuration: { /** * The new value for a configuration parameter is invalid. **/ InvalidNewValue: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; convictionVoting: { /** * The account is already delegating. **/ AlreadyDelegating: AugmentedError<ApiType>; /** * The account currently has votes attached to it and the operation cannot succeed until * these are removed through `remove_vote`. **/ AlreadyVoting: AugmentedError<ApiType>; /** * The class ID supplied is invalid. **/ BadClass: AugmentedError<ApiType>; /** * The class must be supplied since it is not easily determinable from the state. **/ ClassNeeded: AugmentedError<ApiType>; /** * Too high a balance was provided that the account cannot afford. **/ InsufficientFunds: AugmentedError<ApiType>; /** * Maximum number of votes reached. **/ MaxVotesReached: AugmentedError<ApiType>; /** * Delegation to oneself makes no sense. **/ Nonsense: AugmentedError<ApiType>; /** * The actor has no permission to conduct the action. **/ NoPermission: AugmentedError<ApiType>; /** * The actor has no permission to conduct the action right now but will do in the future. **/ NoPermissionYet: AugmentedError<ApiType>; /** * The account is not currently delegating. **/ NotDelegating: AugmentedError<ApiType>; /** * Poll is not ongoing. **/ NotOngoing: AugmentedError<ApiType>; /** * The given account did not vote on the poll. **/ NotVoter: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; coretime: { /** * Failed to transfer assets to the coretime chain **/ AssetTransferFailed: AugmentedError<ApiType>; /** * The paraid making the call is not the coretime brokerage system parachain. **/ NotBroker: AugmentedError<ApiType>; /** * Requested revenue information `when` parameter was in the future from the current * block height. **/ RequestedFutureRevenue: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; coretimeAssignmentProvider: { AssignmentsEmpty: AugmentedError<ApiType>; /** * assign_core is only allowed to append new assignments at the end of already existing * ones or update the last entry. **/ DisallowedInsert: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; crowdloan: { /** * The fund is already in `NewRaise` **/ AlreadyInNewRaise: AugmentedError<ApiType>; /** * This parachain's bid or lease is still active and withdraw cannot yet begin. **/ BidOrLeaseActive: AugmentedError<ApiType>; /** * The campaign ends before the current block number. The end must be in the future. **/ CannotEndInPast: AugmentedError<ApiType>; /** * Contributions exceed maximum amount. **/ CapExceeded: AugmentedError<ApiType>; /** * The contribution period has already ended. **/ ContributionPeriodOver: AugmentedError<ApiType>; /** * The contribution was below the minimum, `MinContribution`. **/ ContributionTooSmall: AugmentedError<ApiType>; /** * The end date for this crowdloan is not sensible. **/ EndTooFarInFuture: AugmentedError<ApiType>; /** * The current lease period is more than the first lease period. **/ FirstPeriodInPast: AugmentedError<ApiType>; /** * The first lease period needs to at least be less than 3 `max_value`. **/ FirstPeriodTooFarInFuture: AugmentedError<ApiType>; /** * The crowdloan has not yet ended. **/ FundNotEnded: AugmentedError<ApiType>; /** * The origin of this call is invalid. **/ InvalidOrigin: AugmentedError<ApiType>; /** * Invalid fund index. **/ InvalidParaId: AugmentedError<ApiType>; /** * Invalid signature. **/ InvalidSignature: AugmentedError<ApiType>; /** * Last lease period must be greater than first lease period. **/ LastPeriodBeforeFirstPeriod: AugmentedError<ApiType>; /** * The last lease period cannot be more than 3 periods after the first period. **/ LastPeriodTooFarInFuture: AugmentedError<ApiType>; /** * This parachain lease is still active and retirement cannot yet begin. **/ LeaseActive: AugmentedError<ApiType>; /** * The provided memo is too large. **/ MemoTooLarge: AugmentedError<ApiType>; /** * There are no contributions stored in this crowdloan. **/ NoContributions: AugmentedError<ApiType>; /** * A lease period has not started yet, due to an offset in the starting block. **/ NoLeasePeriod: AugmentedError<ApiType>; /** * This crowdloan does not correspond to a parachain. **/ NotParachain: AugmentedError<ApiType>; /** * The crowdloan is not ready to dissolve. Potentially still has a slot or in retirement * period. **/ NotReadyToDissolve: AugmentedError<ApiType>; /** * There was an overflow. **/ Overflow: AugmentedError<ApiType>; /** * No contributions allowed during the VRF delay **/ VrfDelayInProgress: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; delegatedStaking: { /** * An existing staker cannot perform this action. **/ AlreadyStaking: AugmentedError<ApiType>; /** * Some corruption in internal state. **/ BadState: AugmentedError<ApiType>; /** * Delegation conditions are not met. * * Possible issues are * 1) Cannot delegate to self, * 2) Cannot delegate to multiple delegates. **/ InvalidDelegation: AugmentedError<ApiType>; /** * Reward Destination cannot be same as `Agent` account. **/ InvalidRewardDestination: AugmentedError<ApiType>; /** * Not an existing `Agent` account. **/ NotAgent: AugmentedError<ApiType>; /** * The account cannot perform this operation. **/ NotAllowed: AugmentedError<ApiType>; /** * Not a Delegator account. **/ NotDelegator: AugmentedError<ApiType>; /** * The account does not have enough funds to perform the operation. **/ NotEnoughFunds: AugmentedError<ApiType>; /** * `Agent` has no pending slash to be applied. **/ NothingToSlash: AugmentedError<ApiType>; /** * Operation not supported by this pallet. **/ NotSupported: AugmentedError<ApiType>; /** * Unapplied pending slash restricts operation on `Agent`. **/ UnappliedSlash: AugmentedError<ApiType>; /** * Failed to withdraw amount from Core Staking. **/ WithdrawFailed: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; electionProviderMultiPhase: { /** * Some bound not met **/ BoundNotMet: AugmentedError<ApiType>; /** * The call is not allowed at this point. **/ CallNotAllowed: AugmentedError<ApiType>; /** * The fallback failed **/ FallbackFailed: AugmentedError<ApiType>; /** * `Self::insert_submission` returned an invalid index. **/ InvalidSubmissionIndex: AugmentedError<ApiType>; /** * Snapshot metadata should exist but didn't. **/ MissingSnapshotMetadata: AugmentedError<ApiType>; /** * OCW submitted solution for wrong round **/ OcwCallWrongEra: AugmentedError<ApiType>; /** * Submission was prepared for a different round. **/ PreDispatchDifferentRound: AugmentedError<ApiType>; /** * Submission was too early. **/ PreDispatchEarlySubmission: AugmentedError<ApiType>; /** * Submission was too weak, score-wise. **/ PreDispatchWeakSubmission: AugmentedError<ApiType>; /** * Wrong number of winners presented. **/ PreDispatchWrongWinnerCount: AugmentedError<ApiType>; /** * The origin failed to pay the deposit. **/ SignedCannotPayDeposit: AugmentedError<ApiType>; /** * Witness data to dispatchable is invalid. **/ SignedInvalidWitness: AugmentedError<ApiType>; /** * The queue was full, and the solution was not better than any of the existing ones. **/ SignedQueueFull: AugmentedError<ApiType>; /** * The signed submission consumes too much weight **/ SignedTooMuchWeight: AugmentedError<ApiType>; /** * Submitted solution has too many winners **/ TooManyWinners: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; fastUnstake: { /** * The provided un-staker is already in Head, and cannot deregister. **/ AlreadyHead: AugmentedError<ApiType>; /** * The bonded account has already been queued. **/ AlreadyQueued: AugmentedError<ApiType>; /** * The call is not allowed at this point because the pallet is not active. **/ CallNotAllowed: AugmentedError<ApiType>; /** * The provided Controller account was not found. * * This means that the given account is not bonded. **/ NotController: AugmentedError<ApiType>; /** * The bonded account has active unlocking chunks. **/ NotFullyBonded: AugmentedError<ApiType>; /** * The provided un-staker is not in the `Queue`. **/ NotQueued: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; fellowshipCollective: { /** * Account is already a member. **/ AlreadyMember: AugmentedError<ApiType>; /** * Unexpected error in state. **/ Corruption: AugmentedError<ApiType>; /** * The information provided is incorrect. **/ InvalidWitness: AugmentedError<ApiType>; /** * There are no further records to be removed. **/ NoneRemaining: AugmentedError<ApiType>; /** * The origin is not sufficiently privileged to do the operation. **/ NoPermission: AugmentedError<ApiType>; /** * Account is not a member. **/ NotMember: AugmentedError<ApiType>; /** * The given poll index is unknown or has closed. **/ NotPolling: AugmentedError<ApiType>; /** * The given poll is still ongoing. **/ Ongoing: AugmentedError<ApiType>; /** * The member's rank is too low to vote. **/ RankTooLow: AugmentedError<ApiType>; /** * The new member to exchange is the same as the old member **/ SameMember: AugmentedError<ApiType>; /** * The max member count for the rank has been reached. **/ TooManyMembers: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; fellowshipReferenda: { /** * The referendum index provided is invalid in this context. **/ BadReferendum: AugmentedError<ApiType>; /** * The referendum status is invalid for this operation. **/ BadStatus: AugmentedError<ApiType>; /** * The track identifier given was invalid. **/ BadTrack: AugmentedError<ApiType>; /** * There are already a full complement of referenda in progress for this track. **/ Full: AugmentedError<ApiType>; /** * Referendum's decision deposit is already paid. **/ HasDeposit: AugmentedError<ApiType>; /** * The deposit cannot be refunded since none was made. **/ NoDeposit: AugmentedError<ApiType>; /** * The deposit refunder is not the depositor. **/ NoPermission: AugmentedError<ApiType>; /** * There was nothing to do in the advancement. **/ NothingToDo: AugmentedError<ApiType>; /** * Referendum is not ongoing. **/ NotOngoing: AugmentedError<ApiType>; /** * No track exists for the proposal origin. **/ NoTrack: AugmentedError<ApiType>; /** * The preimage does not exist. **/ PreimageNotExist: AugmentedError<ApiType>; /** * The preimage is stored with a different length than the one provided. **/ PreimageStoredWithDifferentLength: AugmentedError<ApiType>; /** * The queue of the track is empty. **/ QueueEmpty: AugmentedError<ApiType>; /** * Any deposit cannot be refunded until after the decision is over. **/ Unfinished: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; grandpa: { /** * Attempt to signal GRANDPA change with one already pending. **/ ChangePending: AugmentedError<ApiType>; /** * A given equivocation report is valid but already previously reported. **/ DuplicateOffenceReport: AugmentedError<ApiType>; /** * An equivocation proof provided as part of an equivocation report is invalid. **/ InvalidEquivocationProof: AugmentedError<ApiType>; /** * A key ownership proof provided as part of an equivocation report is invalid. **/ InvalidKeyOwnershipProof: AugmentedError<ApiType>; /** * Attempt to signal GRANDPA pause when the authority set isn't live * (either paused or already pending pause). **/ PauseFailed: AugmentedError<ApiType>; /** * Attempt to signal GRANDPA resume when the authority set isn't paused * (either live or already pending resume). **/ ResumeFailed: AugmentedError<ApiType>; /** * Cannot signal forced change so soon after last. **/ TooSoon: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; hrmp: { /** * The channel is already confirmed. **/ AcceptHrmpChannelAlreadyConfirmed: AugmentedError<ApiType>; /** * The channel from the sender to the origin doesn't exist. **/ AcceptHrmpChannelDoesntExist: AugmentedError<ApiType>; /** * The recipient already has the maximum number of allowed inbound channels. **/ AcceptHrmpChannelLimitExceeded: AugmentedError<ApiType>; /** * Canceling is requested by neither the sender nor recipient of the open channel request. **/ CancelHrmpOpenChannelUnauthorized: AugmentedError<ApiType>; /** * The channel between these two chains cannot be authorized. **/ ChannelCreationNotAuthorized: AugmentedError<ApiType>; /** * The channel close request is already requested. **/ CloseHrmpChannelAlreadyUnderway: AugmentedError<ApiType>; /** * The channel to be closed doesn't exist. **/ CloseHrmpChannelDoesntExist: AugmentedError<ApiType>; /** * The origin tries to close a channel where it is neither the sender nor the recipient. **/ CloseHrmpChannelUnauthorized: AugmentedError<ApiType>; /** * Cannot cancel an HRMP open channel request because it is already confirmed. **/ OpenHrmpChannelAlreadyConfirmed: AugmentedError<ApiType>; /** * The channel already exists **/ OpenHrmpChannelAlreadyExists: AugmentedError<ApiType>; /** * There is already a request to open the same channel. **/ OpenHrmpChannelAlreadyRequested: AugmentedError<ApiType>; /** * The requested capacity exceeds the global limit. **/ OpenHrmpChannelCapacityExceedsLimit: AugmentedError<ApiType>; /** * The open request doesn't exist. **/ OpenHrmpChannelDoesntExist: AugmentedError<ApiType>; /** * The recipient is not a valid para. **/ OpenHrmpChannelInvalidRecipient: AugmentedError<ApiType>; /** * The sender already has the maximum number of allowed outbound channels. **/ OpenHrmpChannelLimitExceeded: AugmentedError<ApiType>; /** * The open request requested the message size that exceeds the global limit. **/ OpenHrmpChannelMessageSizeExceedsLimit: AugmentedError<ApiType>; /** * The sender tried to open a channel to themselves. **/ OpenHrmpChannelToSelf: AugmentedError<ApiType>; /** * The requested capacity is zero. **/ OpenHrmpChannelZeroCapacity: AugmentedError<ApiType>; /** * The requested maximum message size is 0. **/ OpenHrmpChannelZeroMessageSize: AugmentedError<ApiType>; /** * The provided witness data is wrong. **/ WrongWitness: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; indices: { /** * The index was not available. **/ InUse: AugmentedError<ApiType>; /** * The index was not already assigned. **/ NotAssigned: AugmentedError<ApiType>; /** * The index is assigned to another account. **/ NotOwner: AugmentedError<ApiType>; /** * The source and destination accounts are identical. **/ NotTransfer: AugmentedError<ApiType>; /** * The index is permanent and may not be freed/changed. **/ Permanent: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; messageQueue: { /** * The message was already processed and cannot be processed again. **/ AlreadyProcessed: AugmentedError<ApiType>; /** * There is temporarily not enough weight to continue servicing messages. **/ InsufficientWeight: AugmentedError<ApiType>; /** * The referenced message could not be found. **/ NoMessage: AugmentedError<ApiType>; /** * Page to be reaped does not exist. **/ NoPage: AugmentedError<ApiType>; /** * Page is not reapable because it has items remaining to be processed and is not old * enough. **/ NotReapable: AugmentedError<ApiType>; /** * The message is queued for future execution. **/ Queued: AugmentedError<ApiType>; /** * The queue is paused and no message can be executed from it. * * This can change at any time and may resolve in the future by re-trying. **/ QueuePaused: AugmentedError<ApiType>; /** * Another call is in progress and needs to finish before this call can happen. **/ RecursiveDisallowed: AugmentedError<ApiType>; /** * This message is temporarily unprocessable. * * Such errors are expected, but not guaranteed, to resolve themselves eventually through * retrying. **/ TemporarilyUnprocessable: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; multisig: { /** * Call is already approved by this signatory. **/ AlreadyApproved: AugmentedError<ApiType>; /** * The data to be stored is already stored. **/ AlreadyStored: AugmentedError<ApiType>; /** * The maximum weight information provided was too low. **/ MaxWeightTooLow: AugmentedError<ApiType>; /** * Threshold must be 2 or greater. **/ MinimumThreshold: AugmentedError<ApiType>; /** * Call doesn't need any (more) approvals. **/ NoApprovalsNeeded: AugmentedError<ApiType>; /** * Multisig operation not found when attempting to cancel. **/ NotFound: AugmentedError<ApiType>; /** * No timepoint was given, yet the multisig operation is already underway. **/ NoTimepoint: AugmentedError<ApiType>; /** * Only the account that originally created the multisig is able to cancel it. **/ NotOwner: AugmentedError<ApiType>; /** * The sender was contained in the other signatories; it shouldn't be. **/ SenderInSignatories: AugmentedError<ApiType>; /** * The signatories were provided out of order; they should be ordered. **/ SignatoriesOutOfOrder: AugmentedError<ApiType>; /** * There are too few signatories in the list. **/ TooFewSignatories: AugmentedError<ApiType>; /** * There are too many signatories in the list. **/ TooManySignatories: AugmentedError<ApiType>; /** * A timepoint was given, yet no multisig operation is underway. **/ UnexpectedTimepoint: AugmentedError<ApiType>; /** * A different timepoint was given to the multisig operation that is underway. **/ WrongTimepoint: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; nis: { /** * The receipt is already communal. **/ AlreadyCommunal: AugmentedError<ApiType>; /** * There are enough funds for what is required. **/ AlreadyFunded: AugmentedError<ApiType>; /** * The receipt is already private. **/ AlreadyPrivate: AugmentedError<ApiType>; /** * The amount of the bid is less than the minimum allowed. **/ AmountTooSmall: AugmentedError<ApiType>; /** * The queue for the bid's duration is full and the amount bid is too low to get in * through replacing an existing bid. **/ BidTooLow: AugmentedError<ApiType>; /** * The duration is the bid is greater than the number of queues. **/ DurationTooBig: AugmentedError<ApiType>; /** * The duration of the bid is less than one. **/ DurationTooSmall: AugmentedError<ApiType>; /** * The operation would result in a receipt worth an insignificant value. **/ MakesDust: AugmentedError<ApiType>; /** * Bond not yet at expiry date. **/ NotExpired: AugmentedError<ApiType>; /** * Not the owner of the receipt. **/ NotOwner: AugmentedError<ApiType>; /** * The portion supplied is beyond the value of the receipt. **/ PortionTooBig: AugmentedError<ApiType>; /** * The thaw throttle has been reached for this period. **/ Throttled: AugmentedError<ApiType>; /** * Not enough funds are held to pay out. **/ Unfunded: AugmentedError<ApiType>; /** * The given bid for retraction is not found. **/ UnknownBid: AugmentedError<ApiType>; /** * Receipt index is unknown. **/ UnknownReceipt: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; nisCounterpartBalances: { /** * Beneficiary account must pre-exist. **/ DeadAccount: AugmentedError<ApiType>; /** * The delta cannot be zero. **/ DeltaZero: AugmentedError<ApiType>; /** * Value too low to create account due to existential deposit. **/ ExistentialDeposit: AugmentedError<ApiType>; /** * A vesting schedule already exists for this account. **/ ExistingVestingSchedule: AugmentedError<ApiType>; /** * Transfer/payment would kill account. **/ Expendability: AugmentedError<ApiType>; /** * Balance too low to send value. **/ InsufficientBalance: AugmentedError<ApiType>; /** * The issuance cannot be modified since it is already deactivated. **/ IssuanceDeactivated: AugmentedError<ApiType>; /** * Account liquidity restrictions prevent withdrawal. **/ LiquidityRestrictions: AugmentedError<ApiType>; /** * Number of freezes exceed `MaxFreezes`. **/ TooManyFreezes: AugmentedError<ApiType>; /** * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`. **/ TooManyHolds: AugmentedError<ApiType>; /** * Number of named reserves exceed `MaxReserves`. **/ TooManyReserves: AugmentedError<ApiType>; /** * Vesting balance too high to send value. **/ VestingBalance: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; nominationPools: { /** * An account is already delegating in another pool. An account may only belong to one * pool at a time. **/ AccountBelongsToOtherPool: AugmentedError<ApiType>; /** * The pool or member delegation has already migrated to delegate stake. **/ AlreadyMigrated: AugmentedError<ApiType>; /** * Bonding extra is restricted to the exact pending reward amount. **/ BondExtraRestricted: AugmentedError<ApiType>; /** * The pools state cannot be changed. **/ CanNotChangeState: AugmentedError<ApiType>; /** * None of the funds can be withdrawn yet because the bonding duration has not passed. **/ CannotWithdrawAny: AugmentedError<ApiType>; /** * The submitted changes to commission change rate are not allowed. **/ CommissionChangeRateNotAllowed: AugmentedError<ApiType>; /** * Not enough blocks have surpassed since the last commission update. **/ CommissionChangeThrottled: AugmentedError<ApiType>; /** * The supplied commission exceeds global maximum commission. **/ CommissionExceedsGlobalMaximum: AugmentedError<ApiType>; /** * The supplied commission exceeds the max allowed commission. **/ CommissionExceedsMaximum: AugmentedError<ApiType>; /** * Some error occurred that should never happen. This should be reported to the * maintainers. **/ Defensive: AugmentedError<ApiType>; /** * The caller does not have adequate permissions. **/ DoesNotHavePermission: AugmentedError<ApiType>; /** * The member is fully unbonded (and thus cannot access the bonded and reward pool * anymore to, for example, collect rewards). **/ FullyUnbonding: AugmentedError<ApiType>; /** * Pool id provided is not correct/usable. **/ InvalidPoolId: AugmentedError<ApiType>; /** * The pool's max commission cannot be set higher than the existing value. **/ MaxCommissionRestricted: AugmentedError<ApiType>; /** * Too many members in the pool or system. **/ MaxPoolMembers: AugmentedError<ApiType>; /** * The system is maxed out on pools. **/ MaxPools: AugmentedError<ApiType>; /** * The member cannot unbond further chunks due to reaching the limit. **/ MaxUnbondingLimit: AugmentedError<ApiType>; /** * Metadata exceeds [`Config::MaxMetadataLen`] **/ MetadataExceedsMaxLen: AugmentedError<ApiType>; /** * The amount does not meet the minimum bond to either join or create a pool. * * The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The * caller does not have nominating permissions for the pool. Members can never unbond to a * value below `MinJoinBond`. **/ MinimumBondNotMet: AugmentedError<ApiType>; /** * No commission current has been set. **/ NoCommissionCurrentSet: AugmentedError<ApiType>; /** * There is no pending commission to claim. **/ NoPendingCommission: AugmentedError<ApiType>; /** * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for * other members to be permissionlessly unbonded. **/ NotDestroying: AugmentedError<ApiType>; /** * No imbalance in the ED deposit for the pool. **/ NothingToAdjust: AugmentedError<ApiType>; /** * No slash pending that can be applied to the member. **/ NothingToSlash: AugmentedError<ApiType>; /** * Either a) the caller cannot make a valid kick or b) the pool is not destroying. **/ NotKickerOrDestroying: AugmentedError<ApiType>; /** * The pool or member delegation has not migrated yet to delegate stake. **/ NotMigrated: AugmentedError<ApiType>; /** * The caller does not have nominating permissions for the pool. **/ NotNominator: AugmentedError<ApiType>; /** * The pool is not open to join **/ NotOpen: AugmentedError<ApiType>; /** * This call is not allowed in the current state of the pallet. **/ NotSupported: AugmentedError<ApiType>; /** * The transaction could not be executed due to overflow risk for the pool. **/ OverflowRisk: AugmentedError<ApiType>; /** * Partial unbonding now allowed permissionlessly. **/ PartialUnbondNotAllowedPermissionlessly: AugmentedError<ApiType>; /** * Pool id currently in use. **/ PoolIdInUse: AugmentedError<ApiType>; /** * An account is not a member. **/ PoolMemberNotFound: AugmentedError<ApiType>; /** * A (bonded) pool id does not exist. **/ PoolNotFound: AugmentedError<ApiType>; /** * A reward pool does not exist. In all cases this is a system logic error. **/ RewardPoolNotFound: AugmentedError<ApiType>; /** * A sub pool does not exist. **/ SubPoolsNotFound: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; onDemandAssignmentProvider: { /** * The order queue is full, `place_order` will not continue. **/ QueueFull: AugmentedError<ApiType>; /** * The current spot price is higher than the max amount specified in the `place_order` * call, making it invalid. **/ SpotPriceHigherThanMaxAmount: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; paraInclusion: { /** * The candidate's relay-parent was not allowed. Either it was * not recent enough or it didn't advance based on the last parachain block. **/ DisallowedRelayParent: AugmentedError<ApiType>; /** * Head data exceeds the configured maximum. **/ HeadDataTooLarge: AugmentedError<ApiType>; /** * The candidate didn't follow the rules of HRMP watermark advancement. **/ HrmpWatermarkMishandling: AugmentedError<ApiType>; /** * The downward message queue is not processed correctly. **/ IncorrectDownwardMessageHandling: AugmentedError<ApiType>; /** * Insufficient (non-majority) backing. **/ InsufficientBacking: AugmentedError<ApiType>; /** * Failed to compute group index for the core: either it's out of bounds * or the relay parent doesn't belong to the current session. **/ InvalidAssignment: AugmentedError<ApiType>; /** * Invalid (bad signature, unknown validator, etc.) backing. **/ InvalidBacking: AugmentedError<ApiType>; /** * Invalid group index in core assignment. **/ InvalidGroupIndex: AugmentedError<ApiType>; /** * The HRMP messages sent by the candidate is not valid. **/ InvalidOutboundHrmp: AugmentedError<ApiType>; /** * At least one upward message sent does not pass the acceptance criteria. **/ InvalidUpwardMessages: AugmentedError<ApiType>; /** * The validation code hash of the candidate is not valid. **/ InvalidValidationCodeHash: AugmentedError<ApiType>; /** * Output code is too large **/ NewCodeTooLarge: AugmentedError<ApiType>; /** * The `para_head` hash in the candidate descriptor doesn't match the hash of the actual * para head in the commitments. **/ ParaHeadMismatch: AugmentedError<ApiType>; /** * Code upgrade prematurely. **/ PrematureCodeUpgrade: AugmentedError<ApiType>; /**