import '@polkadot/api-base/types/errors'; import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types'; export type __AugmentedError = AugmentedError; declare module '@polkadot/api-base/types/errors' { interface AugmentedErrors { balances: { /** * Beneficiary account must pre-exist. **/ DeadAccount: AugmentedError; /** * The delta cannot be zero. **/ DeltaZero: AugmentedError; /** * Value too low to create account due to existential deposit. **/ ExistentialDeposit: AugmentedError; /** * A vesting schedule already exists for this account. **/ ExistingVestingSchedule: AugmentedError; /** * Transfer/payment would kill account. **/ Expendability: AugmentedError; /** * Balance too low to send value. **/ InsufficientBalance: AugmentedError; /** * The issuance cannot be modified since it is already deactivated. **/ IssuanceDeactivated: AugmentedError; /** * Account liquidity restrictions prevent withdrawal. **/ LiquidityRestrictions: AugmentedError; /** * Number of freezes exceed `MaxFreezes`. **/ TooManyFreezes: AugmentedError; /** * Number of holds exceed `VariantCountOf`. **/ TooManyHolds: AugmentedError; /** * Number of named reserves exceed `MaxReserves`. **/ TooManyReserves: AugmentedError; /** * Vesting balance too high to send value. **/ VestingBalance: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; collatorSelection: { /** * Account is already a candidate. **/ AlreadyCandidate: AugmentedError; /** * Account is already an Invulnerable. **/ AlreadyInvulnerable: AugmentedError; /** * New deposit amount would be below the minimum candidacy bond. **/ DepositTooLow: AugmentedError; /** * The updated deposit amount is equal to the amount already reserved. **/ IdenticalDeposit: AugmentedError; /** * Could not insert in the candidate list. **/ InsertToCandidateListFailed: AugmentedError; /** * Deposit amount is too low to take the target's slot in the candidate list. **/ InsufficientBond: AugmentedError; /** * Cannot lower candidacy bond while occupying a future collator slot in the list. **/ InvalidUnreserve: AugmentedError; /** * Account has no associated validator ID. **/ NoAssociatedValidatorId: AugmentedError; /** * Account is not a candidate. **/ NotCandidate: AugmentedError; /** * Account is not an Invulnerable. **/ NotInvulnerable: AugmentedError; /** * Could not remove from the candidate list. **/ RemoveFromCandidateListFailed: AugmentedError; /** * The target account to be replaced in the candidate list is not a candidate. **/ TargetIsNotCandidate: AugmentedError; /** * Leaving would result in too few candidates. **/ TooFewEligibleCollators: AugmentedError; /** * The pallet has too many candidates. **/ TooManyCandidates: AugmentedError; /** * There are too many Invulnerables. **/ TooManyInvulnerables: AugmentedError; /** * Could not update the candidate list. **/ UpdateCandidateListFailed: AugmentedError; /** * Validator ID is not yet registered. **/ ValidatorNotRegistered: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; communityTreasury: { /** * The payment has already been attempted. **/ AlreadyAttempted: AugmentedError; /** * The spend is not yet eligible for payout. **/ EarlyPayout: AugmentedError; /** * The balance of the asset kind is not convertible to the balance of the native asset. **/ FailedToConvertBalance: AugmentedError; /** * The payment has neither failed nor succeeded yet. **/ Inconclusive: AugmentedError; /** * The spend origin is valid but the amount it is allowed to spend is lower than the * amount to be spent. **/ InsufficientPermission: AugmentedError; /** * Proposer's balance is too low. **/ InsufficientProposersBalance: AugmentedError; /** * No proposal, bounty or spend at that index. **/ InvalidIndex: AugmentedError; /** * The payout was not yet attempted/claimed. **/ NotAttempted: AugmentedError; /** * There was some issue with the mechanism of payment. **/ PayoutError: AugmentedError; /** * Proposal has not been approved. **/ ProposalNotApproved: AugmentedError; /** * The spend has expired and cannot be claimed. **/ SpendExpired: AugmentedError; /** * Too many approvals in the queue. **/ TooManyApprovals: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; loAuthorityList: { /** * The LO is already in the list. **/ AlreadyExists: AugmentedError; /** * The base url is too long **/ BaseUrlTooLong: AugmentedError; /** * LO cannot change region **/ CannotChangeRegion: AugmentedError; /** * Guest cannot update **/ GuestCannotUpdate: AugmentedError; /** * Trying to add a guest with another guest as host **/ GuestOfGuest: AugmentedError; /** * Host cannot convert itself into a guest **/ HostCannotConvert: AugmentedError; /** * The host has at least one guest and cannot become a guest or be removed **/ HostHasGuest: AugmentedError; /** * Trying to add a guest with unknown host **/ HostNotFound: AugmentedError; /** * The LO is not in the list. **/ NotFound: AugmentedError; /** * The Peer ID is already assigned to another LO. **/ PeerIdAlreadyInUse: AugmentedError; /** * The PeerId is too long **/ PeerIdTooLong: AugmentedError; /** * There are too much nodes **/ TooManyNodes: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; logionLoc: { /** * There are too much LOCs linked to account **/ AccountLocsTooMuchData: AugmentedError; /** * The provided Polkadot account has no closed, non-void identity LOC **/ AccountNotIdentified: AugmentedError; /** * Occurs when trying to close an already closed LOC **/ AlreadyClosed: AugmentedError; /** * The LOC ID has already been used. **/ AlreadyExists: AugmentedError; /** * Issuer has already been nominated by the owner **/ AlreadyNominated: AugmentedError; /** * The sponsorship to be withdrawn has already been used **/ AlreadyUsed: AugmentedError; /** * Occurs when trying to void a LOC already void **/ AlreadyVoid: AugmentedError; /** * Invalid token issuance **/ BadTokenIssuance: AugmentedError; /** * The token record cannot be added because either the collection is in a wrong state * or the submitter is not an issuer or the requester **/ CannotAddRecord: AugmentedError; /** * There is still at least one Item (Metadata, Link or File) unacknowledged by LOC owner **/ CannotCloseUnacknowledgedByOwner: AugmentedError; /** * There is still at least one Item (Metadata, Link or File) unacknowledged by verified issuer **/ CannotCloseUnacknowledgedByVerifiedIssuer: AugmentedError; /** * The sponsorship cannot be used for creating the new LOC **/ CannotLinkToSponsorship: AugmentedError; /** * Occurs when trying to mutate a closed LOC **/ CannotMutate: AugmentedError; /** * Occurs when trying to mutate a void LOC **/ CannotMutateVoid: AugmentedError; /** * The submitter of added item cannot contribute to this LOC **/ CannotSubmit: AugmentedError; /** * Cannot attach files to this item because the Collection LOC does not allow it **/ CannotUpload: AugmentedError; /** * A collection LOC must be limited in time and/or quantity of items **/ CollectionHasNoLimit: AugmentedError; /** * An item with same identifier already exists in the collection **/ CollectionItemAlreadyExists: AugmentedError; /** * There are too much files in the Collection Item **/ CollectionItemFilesTooMuchData: AugmentedError; /** * There are too much terms and conditions in the Collection Item **/ CollectionItemTCsTooMuchData: AugmentedError; /** * Collection Item cannot be added to given collection because some fields contain too many bytes **/ CollectionItemTooMuchData: AugmentedError; /** * The collection limits have been reached **/ CollectionLimitsReached: AugmentedError; /** * Cannot attach same file multiple times **/ DuplicateFile: AugmentedError; /** * Cannot add several files with same hash to LOC **/ DuplicateLocFile: AugmentedError; /** * Cannot add several links with same target to LOC **/ DuplicateLocLink: AugmentedError; /** * Cannot add several metadata items with same name to LOC **/ DuplicateLocMetadata: AugmentedError; /** * File cannot be added to given LOC because submitted data are invalid **/ FileInvalid: AugmentedError; /** * The requester has not enough funds to import file **/ InsufficientFunds: AugmentedError; /** * Given identity LOC does not exist or is invalid **/ InvalidIdentityLoc: AugmentedError; /** * Submitter is not consistent with caller **/ InvalidSubmitter: AugmentedError; /** * Target Item (Metadata or File) is already acknowledged **/ ItemAlreadyAcknowledged: AugmentedError; /** * Target Item (Metadata or File) could not be found in LOC **/ ItemNotFound: AugmentedError; /** * Occurs when trying to link to a non-existent LOC **/ LinkedLocNotFound: AugmentedError; /** * There are too much files in the LOC **/ LocFilesTooMuchData: AugmentedError; /** * Link cannot be added to given LOC because submitted data are invalid **/ LocLinkInvalid: AugmentedError; /** * There are too much links in the LOC **/ LocLinksTooMuchData: AugmentedError; /** * There are too much metadata in the LOC **/ LocMetadataTooMuchData: AugmentedError; /** * Metadata Item cannot be added to given LOC because submitted data are invalid **/ MetadataItemInvalid: AugmentedError; /** * Collection items with restricted delivery require at least one associated file **/ MissingFiles: AugmentedError; /** * Collection items with restricted delivery require an underlying token to be defined **/ MissingToken: AugmentedError; /** * Must attach at least one file **/ MustUpload: AugmentedError; /** * Target LOC does not exist **/ NotFound: AugmentedError; /** * Issuer is not nominated by the owner **/ NotNominated: AugmentedError; /** * Occurs when trying to void a LOC by replacing it with a LOC already replacing another LOC **/ ReplacerLocAlreadyReplacing: AugmentedError; /** * Occurs when trying to void a LOC by replacing it with an already void LOC **/ ReplacerLocAlreadyVoid: AugmentedError; /** * Occurs when trying to replace void LOC with a non-existent LOC **/ ReplacerLocNotFound: AugmentedError; /** * Occurs when trying to void a LOC by replacing it with a LOC of a different type **/ ReplacerLocWrongType: AugmentedError; /** * TermsAndConditions LOC not closed **/ TermsAndConditionsLocNotClosed: AugmentedError; /** * TermsAndConditions LOC does not exist **/ TermsAndConditionsLocNotFound: AugmentedError; /** * TermsAndConditions LOC is void **/ TermsAndConditionsLocVoid: AugmentedError; /** * A token record with the same identifier already exists **/ TokensRecordAlreadyExists: AugmentedError; /** * Token Record cannot be added because some fields contain too many bytes **/ TokensRecordTooMuchData: AugmentedError; /** * Unauthorized LOC operation **/ Unauthorized: AugmentedError; /** * Unexpected requester given LOC type **/ UnexpectedRequester: AugmentedError; /** * Item cannot be added to given collection, it may be missing or limits are reached **/ WrongCollectionLoc: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; logionTreasury: { /** * The payment has already been attempted. **/ AlreadyAttempted: AugmentedError; /** * The spend is not yet eligible for payout. **/ EarlyPayout: AugmentedError; /** * The balance of the asset kind is not convertible to the balance of the native asset. **/ FailedToConvertBalance: AugmentedError; /** * The payment has neither failed nor succeeded yet. **/ Inconclusive: AugmentedError; /** * The spend origin is valid but the amount it is allowed to spend is lower than the * amount to be spent. **/ InsufficientPermission: AugmentedError; /** * Proposer's balance is too low. **/ InsufficientProposersBalance: AugmentedError; /** * No proposal, bounty or spend at that index. **/ InvalidIndex: AugmentedError; /** * The payout was not yet attempted/claimed. **/ NotAttempted: AugmentedError; /** * There was some issue with the mechanism of payment. **/ PayoutError: AugmentedError; /** * Proposal has not been approved. **/ ProposalNotApproved: AugmentedError; /** * The spend has expired and cannot be claimed. **/ SpendExpired: AugmentedError; /** * Too many approvals in the queue. **/ TooManyApprovals: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; messageQueue: { /** * The message was already processed and cannot be processed again. **/ AlreadyProcessed: AugmentedError; /** * There is temporarily not enough weight to continue servicing messages. **/ InsufficientWeight: AugmentedError; /** * The referenced message could not be found. **/ NoMessage: AugmentedError; /** * Page to be reaped does not exist. **/ NoPage: AugmentedError; /** * Page is not reapable because it has items remaining to be processed and is not old * enough. **/ NotReapable: AugmentedError; /** * The message is queued for future execution. **/ Queued: AugmentedError; /** * 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; /** * Another call is in progress and needs to finish before this call can happen. **/ RecursiveDisallowed: AugmentedError; /** * This message is temporarily unprocessable. * * Such errors are expected, but not guaranteed, to resolve themselves eventually through * retrying. **/ TemporarilyUnprocessable: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; multisig: { /** * Call is already approved by this signatory. **/ AlreadyApproved: AugmentedError; /** * The data to be stored is already stored. **/ AlreadyStored: AugmentedError; /** * The maximum weight information provided was too low. **/ MaxWeightTooLow: AugmentedError; /** * Threshold must be 2 or greater. **/ MinimumThreshold: AugmentedError; /** * Call doesn't need any (more) approvals. **/ NoApprovalsNeeded: AugmentedError; /** * Multisig operation not found when attempting to cancel. **/ NotFound: AugmentedError; /** * No timepoint was given, yet the multisig operation is already underway. **/ NoTimepoint: AugmentedError; /** * Only the account that originally created the multisig is able to cancel it. **/ NotOwner: AugmentedError; /** * The sender was contained in the other signatories; it shouldn't be. **/ SenderInSignatories: AugmentedError; /** * The signatories were provided out of order; they should be ordered. **/ SignatoriesOutOfOrder: AugmentedError; /** * There are too few signatories in the list. **/ TooFewSignatories: AugmentedError; /** * There are too many signatories in the list. **/ TooManySignatories: AugmentedError; /** * A timepoint was given, yet no multisig operation is underway. **/ UnexpectedTimepoint: AugmentedError; /** * A different timepoint was given to the multisig operation that is underway. **/ WrongTimepoint: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; parachainSystem: { /** * The inherent which supplies the host configuration did not run this block. **/ HostConfigurationNotAvailable: AugmentedError; /** * No code upgrade has been authorized. **/ NothingAuthorized: AugmentedError; /** * No validation function upgrade is currently scheduled. **/ NotScheduled: AugmentedError; /** * Attempt to upgrade validation function while existing upgrade pending. **/ OverlappingUpgrades: AugmentedError; /** * Polkadot currently prohibits this parachain from upgrading its validation function. **/ ProhibitedByPolkadot: AugmentedError; /** * The supplied validation function has compiled into a blob larger than Polkadot is * willing to run. **/ TooBig: AugmentedError; /** * The given code upgrade has not been authorized. **/ Unauthorized: AugmentedError; /** * The inherent which supplies the validation data did not run this block. **/ ValidationDataNotAvailable: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; polkadotXcm: { /** * The given account is not an identifiable sovereign account for any location. **/ AccountNotSovereign: AugmentedError; /** * The location is invalid since it already has a subscription from us. **/ AlreadySubscribed: AugmentedError; /** * The given location could not be used (e.g. because it cannot be expressed in the * desired version of XCM). **/ BadLocation: AugmentedError; /** * The version of the `Versioned` value used is not able to be interpreted. **/ BadVersion: AugmentedError; /** * Could not check-out the assets for teleportation to the destination chain. **/ CannotCheckOutTeleport: AugmentedError; /** * Could not re-anchor the assets to declare the fees for the destination chain. **/ CannotReanchor: AugmentedError; /** * The destination `Location` provided cannot be inverted. **/ DestinationNotInvertible: AugmentedError; /** * The assets to be sent are empty. **/ Empty: AugmentedError; /** * The operation required fees to be paid which the initiator could not meet. **/ FeesNotMet: AugmentedError; /** * The message execution fails the filter. **/ Filtered: AugmentedError; /** * The unlock operation cannot succeed because there are still consumers of the lock. **/ InUse: AugmentedError; /** * Invalid non-concrete asset. **/ InvalidAssetNotConcrete: AugmentedError; /** * Invalid asset, reserve chain could not be determined for it. **/ InvalidAssetUnknownReserve: AugmentedError; /** * Invalid asset, do not support remote asset reserves with different fees reserves. **/ InvalidAssetUnsupportedReserve: AugmentedError; /** * Origin is invalid for sending. **/ InvalidOrigin: AugmentedError; /** * Local XCM execution incomplete. **/ LocalExecutionIncomplete: AugmentedError; /** * A remote lock with the corresponding data could not be found. **/ LockNotFound: AugmentedError; /** * The owner does not own (all) of the asset that they wish to do the operation on. **/ LowBalance: AugmentedError; /** * The referenced subscription could not be found. **/ NoSubscription: AugmentedError; /** * There was some other issue (i.e. not to do with routing) in sending the message. * Perhaps a lack of space for buffering the message. **/ SendFailure: AugmentedError; /** * Too many assets have been attempted for transfer. **/ TooManyAssets: AugmentedError; /** * The asset owner has too many locks on the asset. **/ TooManyLocks: AugmentedError; /** * Too many assets with different reserve locations have been attempted for transfer. **/ TooManyReserves: AugmentedError; /** * Could not decode XCM. **/ UnableToDecode: AugmentedError; /** * The desired destination was unreachable, generally because there is a no way of routing * to it. **/ Unreachable: AugmentedError; /** * The message's weight could not be determined. **/ UnweighableMessage: AugmentedError; /** * XCM encoded length is too large. * Returned when an XCM encoded length is larger than `MaxXcmEncodedSize`. **/ XcmTooLarge: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; recovery: { /** * This account is already set up for recovery **/ AlreadyProxy: AugmentedError; /** * This account is already set up for recovery **/ AlreadyRecoverable: AugmentedError; /** * A recovery process has already started for this account **/ AlreadyStarted: AugmentedError; /** * This user has already vouched for this recovery **/ AlreadyVouched: AugmentedError; /** * Some internal state is broken. **/ BadState: AugmentedError; /** * The friend must wait until the delay period to vouch for this recovery **/ DelayPeriod: AugmentedError; /** * Friends list must be less than max friends **/ MaxFriends: AugmentedError; /** * User is not allowed to make a call on behalf of this account **/ NotAllowed: AugmentedError; /** * Friends list must be greater than zero and threshold **/ NotEnoughFriends: AugmentedError; /** * This account is not a friend who can vouch **/ NotFriend: AugmentedError; /** * This account is not set up for recovery **/ NotRecoverable: AugmentedError; /** * Friends list must be sorted and free of duplicates **/ NotSorted: AugmentedError; /** * A recovery process has not started for this rescuer **/ NotStarted: AugmentedError; /** * There are still active recovery attempts that need to be closed **/ StillActive: AugmentedError; /** * The threshold for recovering this account has not been met **/ Threshold: AugmentedError; /** * Threshold must be greater than zero **/ ZeroThreshold: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; session: { /** * Registered duplicate key. **/ DuplicatedKey: AugmentedError; /** * Invalid ownership proof. **/ InvalidProof: AugmentedError; /** * Key setting account is not live, so it's impossible to associate keys. **/ NoAccount: AugmentedError; /** * No associated validator ID for account. **/ NoAssociatedValidatorId: AugmentedError; /** * No keys are associated with this account. **/ NoKeys: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; sudo: { /** * Sender must be the Sudo account. **/ RequireSudo: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; system: { /** * The origin filter prevent the call to be dispatched. **/ CallFiltered: AugmentedError; /** * Failed to extract the runtime version from the new runtime. * * Either calling `Core_version` or decoding `RuntimeVersion` failed. **/ FailedToExtractRuntimeVersion: AugmentedError; /** * The name of specification does not match between the current runtime * and the new runtime. **/ InvalidSpecName: AugmentedError; /** * A multi-block migration is ongoing and prevents the current code from being replaced. **/ MultiBlockMigrationsOngoing: AugmentedError; /** * Suicide called when the account has non-default composite data. **/ NonDefaultComposite: AugmentedError; /** * There is a non-zero reference count preventing the account from being purged. **/ NonZeroRefCount: AugmentedError; /** * No upgrade authorized. **/ NothingAuthorized: AugmentedError; /** * The specification version is not allowed to decrease between the current runtime * and the new runtime. **/ SpecVersionNeedsToIncrease: AugmentedError; /** * The submitted code is not authorized. **/ Unauthorized: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; utility: { /** * Too many calls batched. **/ TooManyCalls: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; vault: { /** * The set of signatories is invalid (size <> from 2 or does not contain only legal officers on transfer creation). **/ InvalidSignatories: AugmentedError; /** * The transfer initiator is a legal officer. **/ WrongInitiator: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; verifiedRecovery: { /** * The set of legal officers is invalid (size <> from 2). **/ InvalidLegalOfficers: AugmentedError; /** * One or both legal officers in the friends list did not yet close an Identity LOC for the account. **/ MissingIdentityLoc: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; vesting: { /** * Amount being transferred is too low to create a vesting schedule. **/ AmountLow: AugmentedError; /** * The account already has `MaxVestingSchedules` count of schedules and thus * cannot add another one. Consider merging existing schedules in order to add another. **/ AtMaxVestingSchedules: AugmentedError; /** * Failed to create a new schedule because some parameter was invalid. **/ InvalidScheduleParams: AugmentedError; /** * The account given is not vesting. **/ NotVesting: AugmentedError; /** * An index was out of bounds of the vesting schedules. **/ ScheduleIndexOutOfBounds: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; vote: { /** * User has already voted on given vote. **/ AlreadyVoted: AugmentedError; /** * Given LOC is not valid (not found, or not closed or void) or does not belong to vote requester. **/ InvalidLoc: AugmentedError; /** * User is not allowed to vote on given vote. **/ NotAllowed: AugmentedError; /** * There are too much ballots in the vote **/ TooMuchBallots: AugmentedError; /** * Given vote does not exist. **/ VoteNotFound: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; xcmpQueue: { /** * The execution is already resumed. **/ AlreadyResumed: AugmentedError; /** * The execution is already suspended. **/ AlreadySuspended: AugmentedError; /** * Setting the queue config failed since one of its values was invalid. **/ BadQueueConfig: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; } }