1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/api-base/types/errors';78import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';910export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;1112declare module '@polkadot/api-base/types/errors' {13 interface AugmentedErrors<ApiType extends ApiTypes> {14 appPromotion: {15 /**16 * Error due to action requiring admin to be set.17 **/18 AdminNotSet: AugmentedError<ApiType>;19 /**20 * Errors caused by incorrect actions with a locked balance.21 **/22 IncorrectLockedBalanceOperation: AugmentedError<ApiType>;23 /**24 * Errors caused by insufficient staked balance.25 **/26 InsufficientStakedBalance: AugmentedError<ApiType>;27 /**28 * No permission to perform an action.29 **/30 NoPermission: AugmentedError<ApiType>;31 /**32 * Insufficient funds to perform an action.33 **/34 NotSufficientFunds: AugmentedError<ApiType>;35 /**36 * Occurs when a pending unstake cannot be added in this block. PENDING_LIMIT_PER_BLOCK` limits exceeded.37 **/38 PendingForBlockOverflow: AugmentedError<ApiType>;39 /**40 * The error is due to the fact that the collection/contract must already be sponsored in order to perform the action.41 **/42 SponsorNotSet: AugmentedError<ApiType>;43 /**44 * Generic error45 **/46 [key: string]: AugmentedError<ApiType>;47 };48 authorship: {49 /**50 * The uncle is genesis.51 **/52 GenesisUncle: AugmentedError<ApiType>;53 /**54 * The uncle parent not in the chain.55 **/56 InvalidUncleParent: AugmentedError<ApiType>;57 /**58 * The uncle isn't recent enough to be included.59 **/60 OldUncle: AugmentedError<ApiType>;61 /**62 * The uncle is too high in chain.63 **/64 TooHighUncle: AugmentedError<ApiType>;65 /**66 * Too many uncles.67 **/68 TooManyUncles: AugmentedError<ApiType>;69 /**70 * The uncle is already included.71 **/72 UncleAlreadyIncluded: AugmentedError<ApiType>;73 /**74 * Uncles already set in the block.75 **/76 UnclesAlreadySet: AugmentedError<ApiType>;77 /**78 * Generic error79 **/80 [key: string]: AugmentedError<ApiType>;81 };82 balances: {83 /**84 * Beneficiary account must pre-exist85 **/86 DeadAccount: AugmentedError<ApiType>;87 /**88 * Value too low to create account due to existential deposit89 **/90 ExistentialDeposit: AugmentedError<ApiType>;91 /**92 * A vesting schedule already exists for this account93 **/94 ExistingVestingSchedule: AugmentedError<ApiType>;95 /**96 * Balance too low to send value.97 **/98 InsufficientBalance: AugmentedError<ApiType>;99 /**100 * Transfer/payment would kill account101 **/102 KeepAlive: AugmentedError<ApiType>;103 /**104 * Account liquidity restrictions prevent withdrawal105 **/106 LiquidityRestrictions: AugmentedError<ApiType>;107 /**108 * Number of named reserves exceed MaxReserves109 **/110 TooManyReserves: AugmentedError<ApiType>;111 /**112 * Vesting balance too high to send value113 **/114 VestingBalance: AugmentedError<ApiType>;115 /**116 * Generic error117 **/118 [key: string]: AugmentedError<ApiType>;119 };120 collatorSelection: {121 /**122 * User is already a candidate123 **/124 AlreadyCandidate: AugmentedError<ApiType>;125 /**126 * User already holds license to collate127 **/128 AlreadyHoldingLicense: AugmentedError<ApiType>;129 /**130 * User is already an Invulnerable131 **/132 AlreadyInvulnerable: AugmentedError<ApiType>;133 /**134 * Account has no associated validator ID135 **/136 NoAssociatedValidatorId: AugmentedError<ApiType>;137 /**138 * User does not hold a license to collate139 **/140 NoLicense: AugmentedError<ApiType>;141 /**142 * User is not a candidate143 **/144 NotCandidate: AugmentedError<ApiType>;145 /**146 * User is not an Invulnerable147 **/148 NotInvulnerable: AugmentedError<ApiType>;149 /**150 * Permission issue151 **/152 Permission: AugmentedError<ApiType>;153 /**154 * Too few invulnerables155 **/156 TooFewInvulnerables: AugmentedError<ApiType>;157 /**158 * Too many candidates159 **/160 TooManyCandidates: AugmentedError<ApiType>;161 /**162 * Too many invulnerables163 **/164 TooManyInvulnerables: AugmentedError<ApiType>;165 /**166 * Unknown error167 **/168 Unknown: AugmentedError<ApiType>;169 /**170 * Validator ID is not yet registered171 **/172 ValidatorNotRegistered: AugmentedError<ApiType>;173 /**174 * Generic error175 **/176 [key: string]: AugmentedError<ApiType>;177 };178 common: {179 /**180 * Account token limit exceeded per collection181 **/182 AccountTokenLimitExceeded: AugmentedError<ApiType>;183 /**184 * Only spending from eth mirror could be approved185 **/186 AddressIsNotEthMirror: AugmentedError<ApiType>;187 /**188 * Can't transfer tokens to ethereum zero address189 **/190 AddressIsZero: AugmentedError<ApiType>;191 /**192 * Address is not in allow list.193 **/194 AddressNotInAllowlist: AugmentedError<ApiType>;195 /**196 * Requested value is more than the approved197 **/198 ApprovedValueTooLow: AugmentedError<ApiType>;199 /**200 * Tried to approve more than owned201 **/202 CantApproveMoreThanOwned: AugmentedError<ApiType>;203 /**204 * Destroying only empty collections is allowed205 **/206 CantDestroyNotEmptyCollection: AugmentedError<ApiType>;207 /**208 * Exceeded max admin count209 **/210 CollectionAdminCountExceeded: AugmentedError<ApiType>;211 /**212 * Collection description can not be longer than 255 char.213 **/214 CollectionDescriptionLimitExceeded: AugmentedError<ApiType>;215 /**216 * Tried to store more data than allowed in collection field217 **/218 CollectionFieldSizeExceeded: AugmentedError<ApiType>;219 /**220 * Tried to access an external collection with an internal API221 **/222 CollectionIsExternal: AugmentedError<ApiType>;223 /**224 * Tried to access an internal collection with an external API225 **/226 CollectionIsInternal: AugmentedError<ApiType>;227 /**228 * Collection limit bounds per collection exceeded229 **/230 CollectionLimitBoundsExceeded: AugmentedError<ApiType>;231 /**232 * Collection name can not be longer than 63 char.233 **/234 CollectionNameLimitExceeded: AugmentedError<ApiType>;235 /**236 * This collection does not exist.237 **/238 CollectionNotFound: AugmentedError<ApiType>;239 /**240 * Collection token limit exceeded241 **/242 CollectionTokenLimitExceeded: AugmentedError<ApiType>;243 /**244 * Token prefix can not be longer than 15 char.245 **/246 CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;247 /**248 * This address is not set as sponsor, use setCollectionSponsor first.249 **/250 ConfirmSponsorshipFail: AugmentedError<ApiType>;251 /**252 * Empty property keys are forbidden253 **/254 EmptyPropertyKey: AugmentedError<ApiType>;255 /**256 * Only ASCII letters, digits, and symbols `_`, `-`, and `.` are allowed257 **/258 InvalidCharacterInPropertyKey: AugmentedError<ApiType>;259 /**260 * Metadata flag frozen261 **/262 MetadataFlagFrozen: AugmentedError<ApiType>;263 /**264 * Sender parameter and item owner must be equal.265 **/266 MustBeTokenOwner: AugmentedError<ApiType>;267 /**268 * No permission to perform action269 **/270 NoPermission: AugmentedError<ApiType>;271 /**272 * Tried to store more property data than allowed273 **/274 NoSpaceForProperty: AugmentedError<ApiType>;275 /**276 * Insufficient funds to perform an action277 **/278 NotSufficientFounds: AugmentedError<ApiType>;279 /**280 * Tried to enable permissions which are only permitted to be disabled281 **/282 OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;283 /**284 * Property key is too long285 **/286 PropertyKeyIsTooLong: AugmentedError<ApiType>;287 /**288 * Tried to store more property keys than allowed289 **/290 PropertyLimitReached: AugmentedError<ApiType>;291 /**292 * Collection is not in mint mode.293 **/294 PublicMintingNotAllowed: AugmentedError<ApiType>;295 /**296 * Only tokens from specific collections may nest tokens under this one297 **/298 SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;299 /**300 * Item does not exist301 **/302 TokenNotFound: AugmentedError<ApiType>;303 /**304 * Item is balance not enough305 **/306 TokenValueTooLow: AugmentedError<ApiType>;307 /**308 * Total collections bound exceeded.309 **/310 TotalCollectionsLimitExceeded: AugmentedError<ApiType>;311 /**312 * Collection settings not allowing items transferring313 **/314 TransferNotAllowed: AugmentedError<ApiType>;315 /**316 * The operation is not supported317 **/318 UnsupportedOperation: AugmentedError<ApiType>;319 /**320 * User does not satisfy the nesting rule321 **/322 UserIsNotAllowedToNest: AugmentedError<ApiType>;323 /**324 * The user is not an administrator.325 **/326 UserIsNotCollectionAdmin: AugmentedError<ApiType>;327 /**328 * Generic error329 **/330 [key: string]: AugmentedError<ApiType>;331 };332 configuration: {333 InconsistentConfiguration: AugmentedError<ApiType>;334 /**335 * Generic error336 **/337 [key: string]: AugmentedError<ApiType>;338 };339 cumulusXcm: {340 /**341 * Generic error342 **/343 [key: string]: AugmentedError<ApiType>;344 };345 dmpQueue: {346 /**347 * The amount of weight given is possibly not enough for executing the message.348 **/349 OverLimit: AugmentedError<ApiType>;350 /**351 * The message index given is unknown.352 **/353 Unknown: AugmentedError<ApiType>;354 /**355 * Generic error356 **/357 [key: string]: AugmentedError<ApiType>;358 };359 ethereum: {360 /**361 * Signature is invalid.362 **/363 InvalidSignature: AugmentedError<ApiType>;364 /**365 * Pre-log is present, therefore transact is not allowed.366 **/367 PreLogExists: AugmentedError<ApiType>;368 /**369 * Generic error370 **/371 [key: string]: AugmentedError<ApiType>;372 };373 evm: {374 /**375 * Not enough balance to perform action376 **/377 BalanceLow: AugmentedError<ApiType>;378 /**379 * Calculating total fee overflowed380 **/381 FeeOverflow: AugmentedError<ApiType>;382 /**383 * Gas limit is too high.384 **/385 GasLimitTooHigh: AugmentedError<ApiType>;386 /**387 * Gas limit is too low.388 **/389 GasLimitTooLow: AugmentedError<ApiType>;390 /**391 * Gas price is too low.392 **/393 GasPriceTooLow: AugmentedError<ApiType>;394 /**395 * Nonce is invalid396 **/397 InvalidNonce: AugmentedError<ApiType>;398 /**399 * Calculating total payment overflowed400 **/401 PaymentOverflow: AugmentedError<ApiType>;402 /**403 * EVM reentrancy404 **/405 Reentrancy: AugmentedError<ApiType>;406 /**407 * EIP-3607,408 **/409 TransactionMustComeFromEOA: AugmentedError<ApiType>;410 /**411 * Undefined error.412 **/413 Undefined: AugmentedError<ApiType>;414 /**415 * Withdraw fee failed416 **/417 WithdrawFailed: AugmentedError<ApiType>;418 /**419 * Generic error420 **/421 [key: string]: AugmentedError<ApiType>;422 };423 evmCoderSubstrate: {424 OutOfFund: AugmentedError<ApiType>;425 OutOfGas: AugmentedError<ApiType>;426 /**427 * Generic error428 **/429 [key: string]: AugmentedError<ApiType>;430 };431 evmContractHelpers: {432 /**433 * No pending sponsor for contract.434 **/435 NoPendingSponsor: AugmentedError<ApiType>;436 /**437 * This method is only executable by contract owner438 **/439 NoPermission: AugmentedError<ApiType>;440 /**441 * Number of methods that sponsored limit is defined for exceeds maximum.442 **/443 TooManyMethodsHaveSponsoredLimit: AugmentedError<ApiType>;444 /**445 * Generic error446 **/447 [key: string]: AugmentedError<ApiType>;448 };449 evmMigration: {450 /**451 * Migration of this account is not yet started, or already finished.452 **/453 AccountIsNotMigrating: AugmentedError<ApiType>;454 /**455 * Can only migrate to empty address.456 **/457 AccountNotEmpty: AugmentedError<ApiType>;458 /**459 * Failed to decode event bytes460 **/461 BadEvent: AugmentedError<ApiType>;462 /**463 * Generic error464 **/465 [key: string]: AugmentedError<ApiType>;466 };467 foreignAssets: {468 /**469 * AssetId exists470 **/471 AssetIdExisted: AugmentedError<ApiType>;472 /**473 * AssetId not exists474 **/475 AssetIdNotExists: AugmentedError<ApiType>;476 /**477 * The given location could not be used (e.g. because it cannot be expressed in the478 * desired version of XCM).479 **/480 BadLocation: AugmentedError<ApiType>;481 /**482 * MultiLocation existed483 **/484 MultiLocationExisted: AugmentedError<ApiType>;485 /**486 * Generic error487 **/488 [key: string]: AugmentedError<ApiType>;489 };490 fungible: {491 /**492 * Fungible token does not support nesting.493 **/494 FungibleDisallowsNesting: AugmentedError<ApiType>;495 /**496 * Tried to set data for fungible item.497 **/498 FungibleItemsDontHaveData: AugmentedError<ApiType>;499 /**500 * Fungible tokens hold no ID, and the default value of TokenId for Fungible collection is 0.501 **/502 FungibleItemsHaveNoId: AugmentedError<ApiType>;503 /**504 * Only a fungible collection could be possibly broken; any fungible token is valid.505 **/506 FungibleTokensAreAlwaysValid: AugmentedError<ApiType>;507 /**508 * Not Fungible item data used to mint in Fungible collection.509 **/510 NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;511 /**512 * Setting allowance for all is not allowed.513 **/514 SettingAllowanceForAllNotAllowed: AugmentedError<ApiType>;515 /**516 * Setting item properties is not allowed.517 **/518 SettingPropertiesNotAllowed: AugmentedError<ApiType>;519 /**520 * Generic error521 **/522 [key: string]: AugmentedError<ApiType>;523 };524 identity: {525 /**526 * Account ID is already named.527 **/528 AlreadyClaimed: AugmentedError<ApiType>;529 /**530 * Empty index.531 **/532 EmptyIndex: AugmentedError<ApiType>;533 /**534 * Fee is changed.535 **/536 FeeChanged: AugmentedError<ApiType>;537 /**538 * The index is invalid.539 **/540 InvalidIndex: AugmentedError<ApiType>;541 /**542 * Invalid judgement.543 **/544 InvalidJudgement: AugmentedError<ApiType>;545 /**546 * The target is invalid.547 **/548 InvalidTarget: AugmentedError<ApiType>;549 /**550 * The provided judgement was for a different identity.551 **/552 JudgementForDifferentIdentity: AugmentedError<ApiType>;553 /**554 * Judgement given.555 **/556 JudgementGiven: AugmentedError<ApiType>;557 /**558 * Error that occurs when there is an issue paying for judgement.559 **/560 JudgementPaymentFailed: AugmentedError<ApiType>;561 /**562 * No identity found.563 **/564 NoIdentity: AugmentedError<ApiType>;565 /**566 * Account isn't found.567 **/568 NotFound: AugmentedError<ApiType>;569 /**570 * Account isn't named.571 **/572 NotNamed: AugmentedError<ApiType>;573 /**574 * Sub-account isn't owned by sender.575 **/576 NotOwned: AugmentedError<ApiType>;577 /**578 * Sender is not a sub-account.579 **/580 NotSub: AugmentedError<ApiType>;581 /**582 * Sticky judgement.583 **/584 StickyJudgement: AugmentedError<ApiType>;585 /**586 * Too many additional fields.587 **/588 TooManyFields: AugmentedError<ApiType>;589 /**590 * Maximum amount of registrars reached. Cannot add any more.591 **/592 TooManyRegistrars: AugmentedError<ApiType>;593 /**594 * Too many subs-accounts.595 **/596 TooManySubAccounts: AugmentedError<ApiType>;597 /**598 * Generic error599 **/600 [key: string]: AugmentedError<ApiType>;601 };602 maintenance: {603 /**604 * Generic error605 **/606 [key: string]: AugmentedError<ApiType>;607 };608 nonfungible: {609 /**610 * Unable to burn NFT with children611 **/612 CantBurnNftWithChildren: AugmentedError<ApiType>;613 /**614 * Used amount > 1 with NFT615 **/616 NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;617 /**618 * Not Nonfungible item data used to mint in Nonfungible collection.619 **/620 NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;621 /**622 * Generic error623 **/624 [key: string]: AugmentedError<ApiType>;625 };626 parachainSystem: {627 /**628 * The inherent which supplies the host configuration did not run this block629 **/630 HostConfigurationNotAvailable: AugmentedError<ApiType>;631 /**632 * No code upgrade has been authorized.633 **/634 NothingAuthorized: AugmentedError<ApiType>;635 /**636 * No validation function upgrade is currently scheduled.637 **/638 NotScheduled: AugmentedError<ApiType>;639 /**640 * Attempt to upgrade validation function while existing upgrade pending641 **/642 OverlappingUpgrades: AugmentedError<ApiType>;643 /**644 * Polkadot currently prohibits this parachain from upgrading its validation function645 **/646 ProhibitedByPolkadot: AugmentedError<ApiType>;647 /**648 * The supplied validation function has compiled into a blob larger than Polkadot is649 * willing to run650 **/651 TooBig: AugmentedError<ApiType>;652 /**653 * The given code upgrade has not been authorized.654 **/655 Unauthorized: AugmentedError<ApiType>;656 /**657 * The inherent which supplies the validation data did not run this block658 **/659 ValidationDataNotAvailable: AugmentedError<ApiType>;660 /**661 * Generic error662 **/663 [key: string]: AugmentedError<ApiType>;664 };665 polkadotXcm: {666 /**667 * The location is invalid since it already has a subscription from us.668 **/669 AlreadySubscribed: AugmentedError<ApiType>;670 /**671 * The given location could not be used (e.g. because it cannot be expressed in the672 * desired version of XCM).673 **/674 BadLocation: AugmentedError<ApiType>;675 /**676 * The version of the `Versioned` value used is not able to be interpreted.677 **/678 BadVersion: AugmentedError<ApiType>;679 /**680 * Could not re-anchor the assets to declare the fees for the destination chain.681 **/682 CannotReanchor: AugmentedError<ApiType>;683 /**684 * The destination `MultiLocation` provided cannot be inverted.685 **/686 DestinationNotInvertible: AugmentedError<ApiType>;687 /**688 * The assets to be sent are empty.689 **/690 Empty: AugmentedError<ApiType>;691 /**692 * The message execution fails the filter.693 **/694 Filtered: AugmentedError<ApiType>;695 /**696 * Origin is invalid for sending.697 **/698 InvalidOrigin: AugmentedError<ApiType>;699 /**700 * The referenced subscription could not be found.701 **/702 NoSubscription: AugmentedError<ApiType>;703 /**704 * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps705 * a lack of space for buffering the message.706 **/707 SendFailure: AugmentedError<ApiType>;708 /**709 * Too many assets have been attempted for transfer.710 **/711 TooManyAssets: AugmentedError<ApiType>;712 /**713 * The desired destination was unreachable, generally because there is a no way of routing714 * to it.715 **/716 Unreachable: AugmentedError<ApiType>;717 /**718 * The message's weight could not be determined.719 **/720 UnweighableMessage: AugmentedError<ApiType>;721 /**722 * Generic error723 **/724 [key: string]: AugmentedError<ApiType>;725 };726 preimage: {727 /**728 * Preimage has already been noted on-chain.729 **/730 AlreadyNoted: AugmentedError<ApiType>;731 /**732 * The user is not authorized to perform this action.733 **/734 NotAuthorized: AugmentedError<ApiType>;735 /**736 * The preimage cannot be removed since it has not yet been noted.737 **/738 NotNoted: AugmentedError<ApiType>;739 /**740 * The preimage request cannot be removed since no outstanding requests exist.741 **/742 NotRequested: AugmentedError<ApiType>;743 /**744 * A preimage may not be removed when there are outstanding requests.745 **/746 Requested: AugmentedError<ApiType>;747 /**748 * Preimage is too large to store on-chain.749 **/750 TooBig: AugmentedError<ApiType>;751 /**752 * Generic error753 **/754 [key: string]: AugmentedError<ApiType>;755 };756 refungible: {757 /**758 * Not Refungible item data used to mint in Refungible collection.759 **/760 NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;761 /**762 * Refungible token can't nest other tokens.763 **/764 RefungibleDisallowsNesting: AugmentedError<ApiType>;765 /**766 * Refungible token can't be repartitioned by user who isn't owns all pieces.767 **/768 RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;769 /**770 * Setting item properties is not allowed.771 **/772 SettingPropertiesNotAllowed: AugmentedError<ApiType>;773 /**774 * Maximum refungibility exceeded.775 **/776 WrongRefungiblePieces: AugmentedError<ApiType>;777 /**778 * Generic error779 **/780 [key: string]: AugmentedError<ApiType>;781 };782 session: {783 /**784 * Registered duplicate key.785 **/786 DuplicatedKey: AugmentedError<ApiType>;787 /**788 * Invalid ownership proof.789 **/790 InvalidProof: AugmentedError<ApiType>;791 /**792 * Key setting account is not live, so it's impossible to associate keys.793 **/794 NoAccount: AugmentedError<ApiType>;795 /**796 * No associated validator ID for account.797 **/798 NoAssociatedValidatorId: AugmentedError<ApiType>;799 /**800 * No keys are associated with this account.801 **/802 NoKeys: AugmentedError<ApiType>;803 /**804 * Generic error805 **/806 [key: string]: AugmentedError<ApiType>;807 };808 structure: {809 /**810 * While nesting, reached the breadth limit of nesting, exceeding the provided budget.811 **/812 BreadthLimit: AugmentedError<ApiType>;813 /**814 * Tried to nest token under collection contract address, instead of token address815 **/816 CantNestTokenUnderCollection: AugmentedError<ApiType>;817 /**818 * While nesting, reached the depth limit of nesting, exceeding the provided budget.819 **/820 DepthLimit: AugmentedError<ApiType>;821 /**822 * While nesting, encountered an already checked account, detecting a loop.823 **/824 OuroborosDetected: AugmentedError<ApiType>;825 /**826 * Couldn't find the token owner that is itself a token.827 **/828 TokenNotFound: AugmentedError<ApiType>;829 /**830 * Generic error831 **/832 [key: string]: AugmentedError<ApiType>;833 };834 sudo: {835 /**836 * Sender must be the Sudo account837 **/838 RequireSudo: AugmentedError<ApiType>;839 /**840 * Generic error841 **/842 [key: string]: AugmentedError<ApiType>;843 };844 system: {845 /**846 * The origin filter prevent the call to be dispatched.847 **/848 CallFiltered: AugmentedError<ApiType>;849 /**850 * Failed to extract the runtime version from the new runtime.851 * 852 * Either calling `Core_version` or decoding `RuntimeVersion` failed.853 **/854 FailedToExtractRuntimeVersion: AugmentedError<ApiType>;855 /**856 * The name of specification does not match between the current runtime857 * and the new runtime.858 **/859 InvalidSpecName: AugmentedError<ApiType>;860 /**861 * Suicide called when the account has non-default composite data.862 **/863 NonDefaultComposite: AugmentedError<ApiType>;864 /**865 * There is a non-zero reference count preventing the account from being purged.866 **/867 NonZeroRefCount: AugmentedError<ApiType>;868 /**869 * The specification version is not allowed to decrease between the current runtime870 * and the new runtime.871 **/872 SpecVersionNeedsToIncrease: AugmentedError<ApiType>;873 /**874 * Generic error875 **/876 [key: string]: AugmentedError<ApiType>;877 };878 testUtils: {879 TestPalletDisabled: AugmentedError<ApiType>;880 TriggerRollback: AugmentedError<ApiType>;881 /**882 * Generic error883 **/884 [key: string]: AugmentedError<ApiType>;885 };886 tokens: {887 /**888 * Cannot convert Amount into Balance type889 **/890 AmountIntoBalanceFailed: AugmentedError<ApiType>;891 /**892 * The balance is too low893 **/894 BalanceTooLow: AugmentedError<ApiType>;895 /**896 * Beneficiary account must pre-exist897 **/898 DeadAccount: AugmentedError<ApiType>;899 /**900 * Value too low to create account due to existential deposit901 **/902 ExistentialDeposit: AugmentedError<ApiType>;903 /**904 * Transfer/payment would kill account905 **/906 KeepAlive: AugmentedError<ApiType>;907 /**908 * Failed because liquidity restrictions due to locking909 **/910 LiquidityRestrictions: AugmentedError<ApiType>;911 /**912 * Failed because the maximum locks was exceeded913 **/914 MaxLocksExceeded: AugmentedError<ApiType>;915 TooManyReserves: AugmentedError<ApiType>;916 /**917 * Generic error918 **/919 [key: string]: AugmentedError<ApiType>;920 };921 treasury: {922 /**923 * The spend origin is valid but the amount it is allowed to spend is lower than the924 * amount to be spent.925 **/926 InsufficientPermission: AugmentedError<ApiType>;927 /**928 * Proposer's balance is too low.929 **/930 InsufficientProposersBalance: AugmentedError<ApiType>;931 /**932 * No proposal or bounty at that index.933 **/934 InvalidIndex: AugmentedError<ApiType>;935 /**936 * Proposal has not been approved.937 **/938 ProposalNotApproved: AugmentedError<ApiType>;939 /**940 * Too many approvals in the queue.941 **/942 TooManyApprovals: AugmentedError<ApiType>;943 /**944 * Generic error945 **/946 [key: string]: AugmentedError<ApiType>;947 };948 unique: {949 /**950 * Decimal_points parameter must be lower than [`up_data_structs::MAX_DECIMAL_POINTS`].951 **/952 CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;953 /**954 * Length of items properties must be greater than 0.955 **/956 EmptyArgument: AugmentedError<ApiType>;957 /**958 * Repertition is only supported by refungible collection.959 **/960 RepartitionCalledOnNonRefungibleCollection: AugmentedError<ApiType>;961 /**962 * Generic error963 **/964 [key: string]: AugmentedError<ApiType>;965 };966 vesting: {967 /**968 * The vested transfer amount is too low969 **/970 AmountLow: AugmentedError<ApiType>;971 /**972 * Insufficient amount of balance to lock973 **/974 InsufficientBalanceToLock: AugmentedError<ApiType>;975 /**976 * Failed because the maximum vesting schedules was exceeded977 **/978 MaxVestingSchedulesExceeded: AugmentedError<ApiType>;979 /**980 * This account have too many vesting schedules981 **/982 TooManyVestingSchedules: AugmentedError<ApiType>;983 /**984 * Vesting period is zero985 **/986 ZeroVestingPeriod: AugmentedError<ApiType>;987 /**988 * Number of vests is zero989 **/990 ZeroVestingPeriodCount: AugmentedError<ApiType>;991 /**992 * Generic error993 **/994 [key: string]: AugmentedError<ApiType>;995 };996 xcmpQueue: {997 /**998 * Bad overweight index.999 **/1000 BadOverweightIndex: AugmentedError<ApiType>;1001 /**1002 * Bad XCM data.1003 **/1004 BadXcm: AugmentedError<ApiType>;1005 /**1006 * Bad XCM origin.1007 **/1008 BadXcmOrigin: AugmentedError<ApiType>;1009 /**1010 * Failed to send XCM message.1011 **/1012 FailedToSend: AugmentedError<ApiType>;1013 /**1014 * Provided weight is possibly not enough to execute the message.1015 **/1016 WeightOverLimit: AugmentedError<ApiType>;1017 /**1018 * Generic error1019 **/1020 [key: string]: AugmentedError<ApiType>;1021 };1022 xTokens: {1023 /**1024 * Asset has no reserve location.1025 **/1026 AssetHasNoReserve: AugmentedError<ApiType>;1027 /**1028 * The specified index does not exist in a MultiAssets struct.1029 **/1030 AssetIndexNonExistent: AugmentedError<ApiType>;1031 /**1032 * The version of the `Versioned` value used is not able to be1033 * interpreted.1034 **/1035 BadVersion: AugmentedError<ApiType>;1036 /**1037 * Could not re-anchor the assets to declare the fees for the1038 * destination chain.1039 **/1040 CannotReanchor: AugmentedError<ApiType>;1041 /**1042 * The destination `MultiLocation` provided cannot be inverted.1043 **/1044 DestinationNotInvertible: AugmentedError<ApiType>;1045 /**1046 * We tried sending distinct asset and fee but they have different1047 * reserve chains.1048 **/1049 DistinctReserveForAssetAndFee: AugmentedError<ApiType>;1050 /**1051 * Fee is not enough.1052 **/1053 FeeNotEnough: AugmentedError<ApiType>;1054 /**1055 * Could not get ancestry of asset reserve location.1056 **/1057 InvalidAncestry: AugmentedError<ApiType>;1058 /**1059 * The MultiAsset is invalid.1060 **/1061 InvalidAsset: AugmentedError<ApiType>;1062 /**1063 * Invalid transfer destination.1064 **/1065 InvalidDest: AugmentedError<ApiType>;1066 /**1067 * MinXcmFee not registered for certain reserve location1068 **/1069 MinXcmFeeNotDefined: AugmentedError<ApiType>;1070 /**1071 * Not cross-chain transfer.1072 **/1073 NotCrossChainTransfer: AugmentedError<ApiType>;1074 /**1075 * Currency is not cross-chain transferable.1076 **/1077 NotCrossChainTransferableCurrency: AugmentedError<ApiType>;1078 /**1079 * Not supported MultiLocation1080 **/1081 NotSupportedMultiLocation: AugmentedError<ApiType>;1082 /**1083 * The number of assets to be sent is over the maximum.1084 **/1085 TooManyAssetsBeingSent: AugmentedError<ApiType>;1086 /**1087 * The message's weight could not be determined.1088 **/1089 UnweighableMessage: AugmentedError<ApiType>;1090 /**1091 * XCM execution failed.1092 **/1093 XcmExecutionFailed: AugmentedError<ApiType>;1094 /**1095 * The transfering asset amount is zero.1096 **/1097 ZeroAmount: AugmentedError<ApiType>;1098 /**1099 * The fee is zero.1100 **/1101 ZeroFee: AugmentedError<ApiType>;1102 /**1103 * Generic error1104 **/1105 [key: string]: AugmentedError<ApiType>;1106 };1107 } // AugmentedErrors1108} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-errors.ts31.6 KiBsourcehistory