1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { ApiTypes } from '@polkadot/api-base/types';56declare module '@polkadot/api-base/types/errors' {7 export interface AugmentedErrors<ApiType extends ApiTypes> {8 balances: {9 /**10 * Beneficiary account must pre-exist11 **/12 DeadAccount: AugmentedError<ApiType>;13 /**14 * Value too low to create account due to existential deposit15 **/16 ExistentialDeposit: AugmentedError<ApiType>;17 /**18 * A vesting schedule already exists for this account19 **/20 ExistingVestingSchedule: AugmentedError<ApiType>;21 /**22 * Balance too low to send value23 **/24 InsufficientBalance: AugmentedError<ApiType>;25 /**26 * Transfer/payment would kill account27 **/28 KeepAlive: AugmentedError<ApiType>;29 /**30 * Account liquidity restrictions prevent withdrawal31 **/32 LiquidityRestrictions: AugmentedError<ApiType>;33 /**34 * Number of named reserves exceed MaxReserves35 **/36 TooManyReserves: AugmentedError<ApiType>;37 /**38 * Vesting balance too high to send value39 **/40 VestingBalance: AugmentedError<ApiType>;41 /**42 * Generic error43 **/44 [key: string]: AugmentedError<ApiType>;45 };46 common: {47 /**48 * Account token limit exceeded per collection49 **/50 AccountTokenLimitExceeded: AugmentedError<ApiType>;51 /**52 * Can't transfer tokens to ethereum zero address53 **/54 AddressIsZero: AugmentedError<ApiType>;55 /**56 * Address is not in allow list.57 **/58 AddressNotInAllowlist: AugmentedError<ApiType>;59 /**60 * Requested value more than approved.61 **/62 ApprovedValueTooLow: AugmentedError<ApiType>;63 /**64 * Tried to approve more than owned65 **/66 CantApproveMoreThanOwned: AugmentedError<ApiType>;67 /**68 * Destroying only empty collections is allowed69 **/70 CantDestroyNotEmptyCollection: AugmentedError<ApiType>;71 /**72 * Exceeded max admin count73 **/74 CollectionAdminCountExceeded: AugmentedError<ApiType>;75 /**76 * Collection description can not be longer than 255 char.77 **/78 CollectionDescriptionLimitExceeded: AugmentedError<ApiType>;79 /**80 * Tried to store more data than allowed in collection field81 **/82 CollectionFieldSizeExceeded: AugmentedError<ApiType>;83 /**84 * Tried to access an external collection with an internal API85 **/86 CollectionIsExternal: AugmentedError<ApiType>;87 /**88 * Tried to access an internal collection with an external API89 **/90 CollectionIsInternal: AugmentedError<ApiType>;91 /**92 * Collection limit bounds per collection exceeded93 **/94 CollectionLimitBoundsExceeded: AugmentedError<ApiType>;95 /**96 * Collection name can not be longer than 63 char.97 **/98 CollectionNameLimitExceeded: AugmentedError<ApiType>;99 /**100 * This collection does not exist.101 **/102 CollectionNotFound: AugmentedError<ApiType>;103 /**104 * Collection token limit exceeded105 **/106 CollectionTokenLimitExceeded: AugmentedError<ApiType>;107 /**108 * Token prefix can not be longer than 15 char.109 **/110 CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;111 /**112 * Empty property keys are forbidden113 **/114 EmptyPropertyKey: AugmentedError<ApiType>;115 /**116 * Only ASCII letters, digits, and '_', '-' are allowed117 **/118 InvalidCharacterInPropertyKey: AugmentedError<ApiType>;119 /**120 * Metadata flag frozen121 **/122 MetadataFlagFrozen: AugmentedError<ApiType>;123 /**124 * Sender parameter and item owner must be equal.125 **/126 MustBeTokenOwner: AugmentedError<ApiType>;127 /**128 * Collection has nesting disabled129 **/130 NestingIsDisabled: AugmentedError<ApiType>;131 /**132 * No permission to perform action133 **/134 NoPermission: AugmentedError<ApiType>;135 /**136 * Tried to store more property data than allowed137 **/138 NoSpaceForProperty: AugmentedError<ApiType>;139 /**140 * Not sufficient founds to perform action141 **/142 NotSufficientFounds: AugmentedError<ApiType>;143 /**144 * Only owner may nest tokens under this collection145 **/146 OnlyOwnerAllowedToNest: AugmentedError<ApiType>;147 /**148 * Tried to enable permissions which are only permitted to be disabled149 **/150 OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;151 /**152 * Property key is too long153 **/154 PropertyKeyIsTooLong: AugmentedError<ApiType>;155 /**156 * Tried to store more property keys than allowed157 **/158 PropertyLimitReached: AugmentedError<ApiType>;159 /**160 * Collection is not in mint mode.161 **/162 PublicMintingNotAllowed: AugmentedError<ApiType>;163 /**164 * Only tokens from specific collections may nest tokens under this165 **/166 SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;167 /**168 * Item not exists.169 **/170 TokenNotFound: AugmentedError<ApiType>;171 /**172 * Item balance not enough.173 **/174 TokenValueTooLow: AugmentedError<ApiType>;175 /**176 * Total collections bound exceeded.177 **/178 TotalCollectionsLimitExceeded: AugmentedError<ApiType>;179 /**180 * Collection settings not allowing items transferring181 **/182 TransferNotAllowed: AugmentedError<ApiType>;183 /**184 * Target collection doesn't supports this operation185 **/186 UnsupportedOperation: AugmentedError<ApiType>;187 /**188 * Generic error189 **/190 [key: string]: AugmentedError<ApiType>;191 };192 cumulusXcm: {193 /**194 * Generic error195 **/196 [key: string]: AugmentedError<ApiType>;197 };198 dmpQueue: {199 /**200 * The amount of weight given is possibly not enough for executing the message.201 **/202 OverLimit: AugmentedError<ApiType>;203 /**204 * The message index given is unknown.205 **/206 Unknown: AugmentedError<ApiType>;207 /**208 * Generic error209 **/210 [key: string]: AugmentedError<ApiType>;211 };212 ethereum: {213 /**214 * Signature is invalid.215 **/216 InvalidSignature: AugmentedError<ApiType>;217 /**218 * Pre-log is present, therefore transact is not allowed.219 **/220 PreLogExists: AugmentedError<ApiType>;221 /**222 * Generic error223 **/224 [key: string]: AugmentedError<ApiType>;225 };226 evm: {227 /**228 * Not enough balance to perform action229 **/230 BalanceLow: AugmentedError<ApiType>;231 /**232 * Calculating total fee overflowed233 **/234 FeeOverflow: AugmentedError<ApiType>;235 /**236 * Gas price is too low.237 **/238 GasPriceTooLow: AugmentedError<ApiType>;239 /**240 * Nonce is invalid241 **/242 InvalidNonce: AugmentedError<ApiType>;243 /**244 * Calculating total payment overflowed245 **/246 PaymentOverflow: AugmentedError<ApiType>;247 /**248 * Withdraw fee failed249 **/250 WithdrawFailed: AugmentedError<ApiType>;251 /**252 * Generic error253 **/254 [key: string]: AugmentedError<ApiType>;255 };256 evmCoderSubstrate: {257 OutOfFund: AugmentedError<ApiType>;258 OutOfGas: AugmentedError<ApiType>;259 /**260 * Generic error261 **/262 [key: string]: AugmentedError<ApiType>;263 };264 evmContractHelpers: {265 /**266 * This method is only executable by owner267 **/268 NoPermission: AugmentedError<ApiType>;269 /**270 * Generic error271 **/272 [key: string]: AugmentedError<ApiType>;273 };274 evmMigration: {275 AccountIsNotMigrating: AugmentedError<ApiType>;276 AccountNotEmpty: AugmentedError<ApiType>;277 /**278 * Generic error279 **/280 [key: string]: AugmentedError<ApiType>;281 };282 fungible: {283 /**284 * Fungible token does not support nested285 **/286 FungibleDisallowsNesting: AugmentedError<ApiType>;287 /**288 * Tried to set data for fungible item289 **/290 FungibleItemsDontHaveData: AugmentedError<ApiType>;291 /**292 * Not default id passed as TokenId argument293 **/294 FungibleItemsHaveNoId: AugmentedError<ApiType>;295 /**296 * Not Fungible item data used to mint in Fungible collection.297 **/298 NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;299 /**300 * Setting item properties is not allowed301 **/302 SettingPropertiesNotAllowed: AugmentedError<ApiType>;303 /**304 * Generic error305 **/306 [key: string]: AugmentedError<ApiType>;307 };308 nonfungible: {309 /**310 * Unable to burn NFT with children311 **/312 CantBurnNftWithChildren: AugmentedError<ApiType>;313 /**314 * Used amount > 1 with NFT315 **/316 NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;317 /**318 * Not Nonfungible item data used to mint in Nonfungible collection.319 **/320 NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;321 /**322 * Generic error323 **/324 [key: string]: AugmentedError<ApiType>;325 };326 parachainSystem: {327 /**328 * The inherent which supplies the host configuration did not run this block329 **/330 HostConfigurationNotAvailable: AugmentedError<ApiType>;331 /**332 * No code upgrade has been authorized.333 **/334 NothingAuthorized: AugmentedError<ApiType>;335 /**336 * No validation function upgrade is currently scheduled.337 **/338 NotScheduled: AugmentedError<ApiType>;339 /**340 * Attempt to upgrade validation function while existing upgrade pending341 **/342 OverlappingUpgrades: AugmentedError<ApiType>;343 /**344 * Polkadot currently prohibits this parachain from upgrading its validation function345 **/346 ProhibitedByPolkadot: AugmentedError<ApiType>;347 /**348 * The supplied validation function has compiled into a blob larger than Polkadot is349 * willing to run350 **/351 TooBig: AugmentedError<ApiType>;352 /**353 * The given code upgrade has not been authorized.354 **/355 Unauthorized: AugmentedError<ApiType>;356 /**357 * The inherent which supplies the validation data did not run this block358 **/359 ValidationDataNotAvailable: AugmentedError<ApiType>;360 /**361 * Generic error362 **/363 [key: string]: AugmentedError<ApiType>;364 };365 polkadotXcm: {366 /**367 * The location is invalid since it already has a subscription from us.368 **/369 AlreadySubscribed: AugmentedError<ApiType>;370 /**371 * The given location could not be used (e.g. because it cannot be expressed in the372 * desired version of XCM).373 **/374 BadLocation: AugmentedError<ApiType>;375 /**376 * The version of the `Versioned` value used is not able to be interpreted.377 **/378 BadVersion: AugmentedError<ApiType>;379 /**380 * Could not re-anchor the assets to declare the fees for the destination chain.381 **/382 CannotReanchor: AugmentedError<ApiType>;383 /**384 * The destination `MultiLocation` provided cannot be inverted.385 **/386 DestinationNotInvertible: AugmentedError<ApiType>;387 /**388 * The assets to be sent are empty.389 **/390 Empty: AugmentedError<ApiType>;391 /**392 * The message execution fails the filter.393 **/394 Filtered: AugmentedError<ApiType>;395 /**396 * Origin is invalid for sending.397 **/398 InvalidOrigin: AugmentedError<ApiType>;399 /**400 * The referenced subscription could not be found.401 **/402 NoSubscription: AugmentedError<ApiType>;403 /**404 * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps405 * a lack of space for buffering the message.406 **/407 SendFailure: AugmentedError<ApiType>;408 /**409 * Too many assets have been attempted for transfer.410 **/411 TooManyAssets: AugmentedError<ApiType>;412 /**413 * The desired destination was unreachable, generally because there is a no way of routing414 * to it.415 **/416 Unreachable: AugmentedError<ApiType>;417 /**418 * The message's weight could not be determined.419 **/420 UnweighableMessage: AugmentedError<ApiType>;421 /**422 * Generic error423 **/424 [key: string]: AugmentedError<ApiType>;425 };426 refungible: {427 /**428 * Not Refungible item data used to mint in Refungible collection.429 **/430 NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;431 /**432 * Refungible token can't nest other tokens433 **/434 RefungibleDisallowsNesting: AugmentedError<ApiType>;435 /**436 * Setting item properties is not allowed437 **/438 SettingPropertiesNotAllowed: AugmentedError<ApiType>;439 /**440 * Maximum refungibility exceeded441 **/442 WrongRefungiblePieces: AugmentedError<ApiType>;443 /**444 * Generic error445 **/446 [key: string]: AugmentedError<ApiType>;447 };448 rmrkCore: {449 CannotAcceptNonOwnedNft: AugmentedError<ApiType>;450 CannotRejectNonOwnedNft: AugmentedError<ApiType>;451 CannotSendToDescendentOrSelf: AugmentedError<ApiType>;452 CollectionFullOrLocked: AugmentedError<ApiType>;453 CollectionNotEmpty: AugmentedError<ApiType>;454 CollectionUnknown: AugmentedError<ApiType>;455 CorruptedCollectionType: AugmentedError<ApiType>;456 NftTypeEncodeError: AugmentedError<ApiType>;457 NoAvailableCollectionId: AugmentedError<ApiType>;458 NoAvailableNftId: AugmentedError<ApiType>;459 NonTransferable: AugmentedError<ApiType>;460 NoPermission: AugmentedError<ApiType>;461 ResourceDoesntExist: AugmentedError<ApiType>;462 ResourceNotPending: AugmentedError<ApiType>;463 RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;464 RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;465 /**466 * Generic error467 **/468 [key: string]: AugmentedError<ApiType>;469 };470 rmrkEquip: {471 BaseDoesntExist: AugmentedError<ApiType>;472 NeedsDefaultThemeFirst: AugmentedError<ApiType>;473 NoAvailableBaseId: AugmentedError<ApiType>;474 NoAvailablePartId: AugmentedError<ApiType>;475 PermissionError: AugmentedError<ApiType>;476 /**477 * Generic error478 **/479 [key: string]: AugmentedError<ApiType>;480 };481 scheduler: {482 /**483 * Failed to schedule a call484 **/485 FailedToSchedule: AugmentedError<ApiType>;486 /**487 * Cannot find the scheduled call.488 **/489 NotFound: AugmentedError<ApiType>;490 /**491 * Reschedule failed because it does not change scheduled time.492 **/493 RescheduleNoChange: AugmentedError<ApiType>;494 /**495 * Given target block number is in the past.496 **/497 TargetBlockNumberInPast: AugmentedError<ApiType>;498 /**499 * Generic error500 **/501 [key: string]: AugmentedError<ApiType>;502 };503 structure: {504 /**505 * While searched for owner, encountered depth limit506 **/507 DepthLimit: AugmentedError<ApiType>;508 /**509 * While searched for owner, got already checked account510 **/511 OuroborosDetected: AugmentedError<ApiType>;512 /**513 * While searched for owner, found token owner by not-yet-existing token514 **/515 TokenNotFound: AugmentedError<ApiType>;516 /**517 * Generic error518 **/519 [key: string]: AugmentedError<ApiType>;520 };521 sudo: {522 /**523 * Sender must be the Sudo account524 **/525 RequireSudo: AugmentedError<ApiType>;526 /**527 * Generic error528 **/529 [key: string]: AugmentedError<ApiType>;530 };531 system: {532 /**533 * The origin filter prevent the call to be dispatched.534 **/535 CallFiltered: AugmentedError<ApiType>;536 /**537 * Failed to extract the runtime version from the new runtime.538 * 539 * Either calling `Core_version` or decoding `RuntimeVersion` failed.540 **/541 FailedToExtractRuntimeVersion: AugmentedError<ApiType>;542 /**543 * The name of specification does not match between the current runtime544 * and the new runtime.545 **/546 InvalidSpecName: AugmentedError<ApiType>;547 /**548 * Suicide called when the account has non-default composite data.549 **/550 NonDefaultComposite: AugmentedError<ApiType>;551 /**552 * There is a non-zero reference count preventing the account from being purged.553 **/554 NonZeroRefCount: AugmentedError<ApiType>;555 /**556 * The specification version is not allowed to decrease between the current runtime557 * and the new runtime.558 **/559 SpecVersionNeedsToIncrease: AugmentedError<ApiType>;560 /**561 * Generic error562 **/563 [key: string]: AugmentedError<ApiType>;564 };565 treasury: {566 /**567 * Proposer's balance is too low.568 **/569 InsufficientProposersBalance: AugmentedError<ApiType>;570 /**571 * No proposal or bounty at that index.572 **/573 InvalidIndex: AugmentedError<ApiType>;574 /**575 * Proposal has not been approved.576 **/577 ProposalNotApproved: AugmentedError<ApiType>;578 /**579 * Too many approvals in the queue.580 **/581 TooManyApprovals: AugmentedError<ApiType>;582 /**583 * Generic error584 **/585 [key: string]: AugmentedError<ApiType>;586 };587 unique: {588 /**589 * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.590 **/591 CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;592 /**593 * This address is not set as sponsor, use setCollectionSponsor first.594 **/595 ConfirmUnsetSponsorFail: AugmentedError<ApiType>;596 /**597 * Length of items properties must be greater than 0.598 **/599 EmptyArgument: AugmentedError<ApiType>;600 /**601 * Generic error602 **/603 [key: string]: AugmentedError<ApiType>;604 };605 vesting: {606 /**607 * The vested transfer amount is too low608 **/609 AmountLow: AugmentedError<ApiType>;610 /**611 * Insufficient amount of balance to lock612 **/613 InsufficientBalanceToLock: AugmentedError<ApiType>;614 /**615 * Failed because the maximum vesting schedules was exceeded616 **/617 MaxVestingSchedulesExceeded: AugmentedError<ApiType>;618 /**619 * This account have too many vesting schedules620 **/621 TooManyVestingSchedules: AugmentedError<ApiType>;622 /**623 * Vesting period is zero624 **/625 ZeroVestingPeriod: AugmentedError<ApiType>;626 /**627 * Number of vests is zero628 **/629 ZeroVestingPeriodCount: AugmentedError<ApiType>;630 /**631 * Generic error632 **/633 [key: string]: AugmentedError<ApiType>;634 };635 xcmpQueue: {636 /**637 * Bad overweight index.638 **/639 BadOverweightIndex: AugmentedError<ApiType>;640 /**641 * Bad XCM data.642 **/643 BadXcm: AugmentedError<ApiType>;644 /**645 * Bad XCM origin.646 **/647 BadXcmOrigin: AugmentedError<ApiType>;648 /**649 * Failed to send XCM message.650 **/651 FailedToSend: AugmentedError<ApiType>;652 /**653 * Provided weight is possibly not enough to execute the message.654 **/655 WeightOverLimit: AugmentedError<ApiType>;656 /**657 * Generic error658 **/659 [key: string]: AugmentedError<ApiType>;660 };661 } // AugmentedErrors662} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-errors.ts19.4 KiBsourcehistory