git.delta.rocks / unique-network / refs/commits / 5aafe0c25b7b

difftreelog

source

tests/src/interfaces/augment-api-errors.ts29.9 KiBsourcehistory
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       * No permission to perform an action.25       **/26      NoPermission: AugmentedError<ApiType>;27      /**28       * Insufficient funds to perform an action.29       **/30      NotSufficientFunds: AugmentedError<ApiType>;31      /**32       * Occurs when a pending unstake cannot be added in this block. PENDING_LIMIT_PER_BLOCK` limits exceeded.33       **/34      PendingForBlockOverflow: AugmentedError<ApiType>;35      /**36       * The error is due to the fact that the collection/contract must already be sponsored in order to perform the action.37       **/38      SponsorNotSet: AugmentedError<ApiType>;39      /**40       * Generic error41       **/42      [key: string]: AugmentedError<ApiType>;43    };44    balances: {45      /**46       * Beneficiary account must pre-exist47       **/48      DeadAccount: AugmentedError<ApiType>;49      /**50       * Value too low to create account due to existential deposit51       **/52      ExistentialDeposit: AugmentedError<ApiType>;53      /**54       * A vesting schedule already exists for this account55       **/56      ExistingVestingSchedule: AugmentedError<ApiType>;57      /**58       * Balance too low to send value59       **/60      InsufficientBalance: AugmentedError<ApiType>;61      /**62       * Transfer/payment would kill account63       **/64      KeepAlive: AugmentedError<ApiType>;65      /**66       * Account liquidity restrictions prevent withdrawal67       **/68      LiquidityRestrictions: AugmentedError<ApiType>;69      /**70       * Number of named reserves exceed MaxReserves71       **/72      TooManyReserves: AugmentedError<ApiType>;73      /**74       * Vesting balance too high to send value75       **/76      VestingBalance: AugmentedError<ApiType>;77      /**78       * Generic error79       **/80      [key: string]: AugmentedError<ApiType>;81    };82    common: {83      /**84       * Account token limit exceeded per collection85       **/86      AccountTokenLimitExceeded: AugmentedError<ApiType>;87      /**88       * Can't transfer tokens to ethereum zero address89       **/90      AddressIsZero: AugmentedError<ApiType>;91      /**92       * Address is not in allow list.93       **/94      AddressNotInAllowlist: AugmentedError<ApiType>;95      /**96       * Requested value is more than the approved97       **/98      ApprovedValueTooLow: AugmentedError<ApiType>;99      /**100       * Tried to approve more than owned101       **/102      CantApproveMoreThanOwned: AugmentedError<ApiType>;103      /**104       * Destroying only empty collections is allowed105       **/106      CantDestroyNotEmptyCollection: AugmentedError<ApiType>;107      /**108       * Exceeded max admin count109       **/110      CollectionAdminCountExceeded: AugmentedError<ApiType>;111      /**112       * Collection description can not be longer than 255 char.113       **/114      CollectionDescriptionLimitExceeded: AugmentedError<ApiType>;115      /**116       * Tried to store more data than allowed in collection field117       **/118      CollectionFieldSizeExceeded: AugmentedError<ApiType>;119      /**120       * Tried to access an external collection with an internal API121       **/122      CollectionIsExternal: AugmentedError<ApiType>;123      /**124       * Tried to access an internal collection with an external API125       **/126      CollectionIsInternal: AugmentedError<ApiType>;127      /**128       * Collection limit bounds per collection exceeded129       **/130      CollectionLimitBoundsExceeded: AugmentedError<ApiType>;131      /**132       * Collection name can not be longer than 63 char.133       **/134      CollectionNameLimitExceeded: AugmentedError<ApiType>;135      /**136       * This collection does not exist.137       **/138      CollectionNotFound: AugmentedError<ApiType>;139      /**140       * Collection token limit exceeded141       **/142      CollectionTokenLimitExceeded: AugmentedError<ApiType>;143      /**144       * Token prefix can not be longer than 15 char.145       **/146      CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;147      /**148       * Empty property keys are forbidden149       **/150      EmptyPropertyKey: AugmentedError<ApiType>;151      /**152       * Only ASCII letters, digits, and symbols `_`, `-`, and `.` are allowed153       **/154      InvalidCharacterInPropertyKey: AugmentedError<ApiType>;155      /**156       * Metadata flag frozen157       **/158      MetadataFlagFrozen: AugmentedError<ApiType>;159      /**160       * Sender parameter and item owner must be equal.161       **/162      MustBeTokenOwner: AugmentedError<ApiType>;163      /**164       * No permission to perform action165       **/166      NoPermission: AugmentedError<ApiType>;167      /**168       * Tried to store more property data than allowed169       **/170      NoSpaceForProperty: AugmentedError<ApiType>;171      /**172       * Insufficient funds to perform an action173       **/174      NotSufficientFounds: AugmentedError<ApiType>;175      /**176       * Tried to enable permissions which are only permitted to be disabled177       **/178      OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;179      /**180       * Property key is too long181       **/182      PropertyKeyIsTooLong: AugmentedError<ApiType>;183      /**184       * Tried to store more property keys than allowed185       **/186      PropertyLimitReached: AugmentedError<ApiType>;187      /**188       * Collection is not in mint mode.189       **/190      PublicMintingNotAllowed: AugmentedError<ApiType>;191      /**192       * Only tokens from specific collections may nest tokens under this one193       **/194      SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;195      /**196       * Item does not exist197       **/198      TokenNotFound: AugmentedError<ApiType>;199      /**200       * Item is balance not enough201       **/202      TokenValueTooLow: AugmentedError<ApiType>;203      /**204       * Total collections bound exceeded.205       **/206      TotalCollectionsLimitExceeded: AugmentedError<ApiType>;207      /**208       * Collection settings not allowing items transferring209       **/210      TransferNotAllowed: AugmentedError<ApiType>;211      /**212       * The operation is not supported213       **/214      UnsupportedOperation: AugmentedError<ApiType>;215      /**216       * User does not satisfy the nesting rule217       **/218      UserIsNotAllowedToNest: AugmentedError<ApiType>;219      /**220       * Generic error221       **/222      [key: string]: AugmentedError<ApiType>;223    };224    cumulusXcm: {225      /**226       * Generic error227       **/228      [key: string]: AugmentedError<ApiType>;229    };230    dmpQueue: {231      /**232       * The amount of weight given is possibly not enough for executing the message.233       **/234      OverLimit: AugmentedError<ApiType>;235      /**236       * The message index given is unknown.237       **/238      Unknown: AugmentedError<ApiType>;239      /**240       * Generic error241       **/242      [key: string]: AugmentedError<ApiType>;243    };244    ethereum: {245      /**246       * Signature is invalid.247       **/248      InvalidSignature: AugmentedError<ApiType>;249      /**250       * Pre-log is present, therefore transact is not allowed.251       **/252      PreLogExists: AugmentedError<ApiType>;253      /**254       * Generic error255       **/256      [key: string]: AugmentedError<ApiType>;257    };258    evm: {259      /**260       * Not enough balance to perform action261       **/262      BalanceLow: AugmentedError<ApiType>;263      /**264       * Calculating total fee overflowed265       **/266      FeeOverflow: AugmentedError<ApiType>;267      /**268       * Gas limit is too high.269       **/270      GasLimitTooHigh: AugmentedError<ApiType>;271      /**272       * Gas limit is too low.273       **/274      GasLimitTooLow: AugmentedError<ApiType>;275      /**276       * Gas price is too low.277       **/278      GasPriceTooLow: AugmentedError<ApiType>;279      /**280       * Nonce is invalid281       **/282      InvalidNonce: AugmentedError<ApiType>;283      /**284       * Calculating total payment overflowed285       **/286      PaymentOverflow: AugmentedError<ApiType>;287      /**288       * EVM reentrancy289       **/290      Reentrancy: AugmentedError<ApiType>;291      /**292       * Undefined error.293       **/294      Undefined: AugmentedError<ApiType>;295      /**296       * Withdraw fee failed297       **/298      WithdrawFailed: AugmentedError<ApiType>;299      /**300       * Generic error301       **/302      [key: string]: AugmentedError<ApiType>;303    };304    evmCoderSubstrate: {305      OutOfFund: AugmentedError<ApiType>;306      OutOfGas: AugmentedError<ApiType>;307      /**308       * Generic error309       **/310      [key: string]: AugmentedError<ApiType>;311    };312    evmContractHelpers: {313      /**314       * No pending sponsor for contract.315       **/316      NoPendingSponsor: AugmentedError<ApiType>;317      /**318       * This method is only executable by contract owner319       **/320      NoPermission: AugmentedError<ApiType>;321      /**322       * Number of methods that sponsored limit is defined for exceeds maximum.323       **/324      TooManyMethodsHaveSponsoredLimit: AugmentedError<ApiType>;325      /**326       * Generic error327       **/328      [key: string]: AugmentedError<ApiType>;329    };330    evmMigration: {331      /**332       * Migration of this account is not yet started, or already finished.333       **/334      AccountIsNotMigrating: AugmentedError<ApiType>;335      /**336       * Can only migrate to empty address.337       **/338      AccountNotEmpty: AugmentedError<ApiType>;339      /**340       * Failed to decode event bytes341       **/342      BadEvent: AugmentedError<ApiType>;343      /**344       * Generic error345       **/346      [key: string]: AugmentedError<ApiType>;347    };348    foreignAssets: {349      /**350       * AssetId exists351       **/352      AssetIdExisted: AugmentedError<ApiType>;353      /**354       * AssetId not exists355       **/356      AssetIdNotExists: AugmentedError<ApiType>;357      /**358       * The given location could not be used (e.g. because it cannot be expressed in the359       * desired version of XCM).360       **/361      BadLocation: AugmentedError<ApiType>;362      /**363       * MultiLocation existed364       **/365      MultiLocationExisted: AugmentedError<ApiType>;366      /**367       * Generic error368       **/369      [key: string]: AugmentedError<ApiType>;370    };371    fungible: {372      /**373       * Fungible token does not support nesting.374       **/375      FungibleDisallowsNesting: AugmentedError<ApiType>;376      /**377       * Tried to set data for fungible item.378       **/379      FungibleItemsDontHaveData: AugmentedError<ApiType>;380      /**381       * Fungible tokens hold no ID, and the default value of TokenId for Fungible collection is 0.382       **/383      FungibleItemsHaveNoId: AugmentedError<ApiType>;384      /**385       * Not Fungible item data used to mint in Fungible collection.386       **/387      NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;388      /**389       * Setting item properties is not allowed.390       **/391      SettingPropertiesNotAllowed: AugmentedError<ApiType>;392      /**393       * Generic error394       **/395      [key: string]: AugmentedError<ApiType>;396    };397    maintenance: {398      /**399       * Generic error400       **/401      [key: string]: AugmentedError<ApiType>;402    };403    nonfungible: {404      /**405       * Unable to burn NFT with children406       **/407      CantBurnNftWithChildren: AugmentedError<ApiType>;408      /**409       * Used amount > 1 with NFT410       **/411      NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;412      /**413       * Not Nonfungible item data used to mint in Nonfungible collection.414       **/415      NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;416      /**417       * Generic error418       **/419      [key: string]: AugmentedError<ApiType>;420    };421    parachainSystem: {422      /**423       * The inherent which supplies the host configuration did not run this block424       **/425      HostConfigurationNotAvailable: AugmentedError<ApiType>;426      /**427       * No code upgrade has been authorized.428       **/429      NothingAuthorized: AugmentedError<ApiType>;430      /**431       * No validation function upgrade is currently scheduled.432       **/433      NotScheduled: AugmentedError<ApiType>;434      /**435       * Attempt to upgrade validation function while existing upgrade pending436       **/437      OverlappingUpgrades: AugmentedError<ApiType>;438      /**439       * Polkadot currently prohibits this parachain from upgrading its validation function440       **/441      ProhibitedByPolkadot: AugmentedError<ApiType>;442      /**443       * The supplied validation function has compiled into a blob larger than Polkadot is444       * willing to run445       **/446      TooBig: AugmentedError<ApiType>;447      /**448       * The given code upgrade has not been authorized.449       **/450      Unauthorized: AugmentedError<ApiType>;451      /**452       * The inherent which supplies the validation data did not run this block453       **/454      ValidationDataNotAvailable: AugmentedError<ApiType>;455      /**456       * Generic error457       **/458      [key: string]: AugmentedError<ApiType>;459    };460    polkadotXcm: {461      /**462       * The location is invalid since it already has a subscription from us.463       **/464      AlreadySubscribed: AugmentedError<ApiType>;465      /**466       * The given location could not be used (e.g. because it cannot be expressed in the467       * desired version of XCM).468       **/469      BadLocation: AugmentedError<ApiType>;470      /**471       * The version of the `Versioned` value used is not able to be interpreted.472       **/473      BadVersion: AugmentedError<ApiType>;474      /**475       * Could not re-anchor the assets to declare the fees for the destination chain.476       **/477      CannotReanchor: AugmentedError<ApiType>;478      /**479       * The destination `MultiLocation` provided cannot be inverted.480       **/481      DestinationNotInvertible: AugmentedError<ApiType>;482      /**483       * The assets to be sent are empty.484       **/485      Empty: AugmentedError<ApiType>;486      /**487       * The message execution fails the filter.488       **/489      Filtered: AugmentedError<ApiType>;490      /**491       * Origin is invalid for sending.492       **/493      InvalidOrigin: AugmentedError<ApiType>;494      /**495       * The referenced subscription could not be found.496       **/497      NoSubscription: AugmentedError<ApiType>;498      /**499       * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps500       * a lack of space for buffering the message.501       **/502      SendFailure: AugmentedError<ApiType>;503      /**504       * Too many assets have been attempted for transfer.505       **/506      TooManyAssets: AugmentedError<ApiType>;507      /**508       * The desired destination was unreachable, generally because there is a no way of routing509       * to it.510       **/511      Unreachable: AugmentedError<ApiType>;512      /**513       * The message's weight could not be determined.514       **/515      UnweighableMessage: AugmentedError<ApiType>;516      /**517       * Generic error518       **/519      [key: string]: AugmentedError<ApiType>;520    };521    refungible: {522      /**523       * Not Refungible item data used to mint in Refungible collection.524       **/525      NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;526      /**527       * Refungible token can't nest other tokens.528       **/529      RefungibleDisallowsNesting: AugmentedError<ApiType>;530      /**531       * Refungible token can't be repartitioned by user who isn't owns all pieces.532       **/533      RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;534      /**535       * Setting item properties is not allowed.536       **/537      SettingPropertiesNotAllowed: AugmentedError<ApiType>;538      /**539       * Maximum refungibility exceeded.540       **/541      WrongRefungiblePieces: AugmentedError<ApiType>;542      /**543       * Generic error544       **/545      [key: string]: AugmentedError<ApiType>;546    };547    rmrkCore: {548      /**549       * Not the target owner of the sent NFT.550       **/551      CannotAcceptNonOwnedNft: AugmentedError<ApiType>;552      /**553       * Not the target owner of the sent NFT.554       **/555      CannotRejectNonOwnedNft: AugmentedError<ApiType>;556      /**557       * NFT was not sent and is not pending.558       **/559      CannotRejectNonPendingNft: AugmentedError<ApiType>;560      /**561       * If an NFT is sent to a descendant, that would form a nesting loop, an ouroboros.562       * Sending to self is redundant.563       **/564      CannotSendToDescendentOrSelf: AugmentedError<ApiType>;565      /**566       * Too many tokens created in the collection, no new ones are allowed.567       **/568      CollectionFullOrLocked: AugmentedError<ApiType>;569      /**570       * Only destroying collections without tokens is allowed.571       **/572      CollectionNotEmpty: AugmentedError<ApiType>;573      /**574       * Collection does not exist, has a wrong type, or does not map to a Unique ID.575       **/576      CollectionUnknown: AugmentedError<ApiType>;577      /**578       * Property of the type of RMRK collection could not be read successfully.579       **/580      CorruptedCollectionType: AugmentedError<ApiType>;581      /**582       * Could not find an ID for a collection. It is likely there were too many collections created on the chain, causing an overflow.583       **/584      NoAvailableCollectionId: AugmentedError<ApiType>;585      /**586       * Token does not exist, or there is no suitable ID for it, likely too many tokens were created in a collection, causing an overflow.587       **/588      NoAvailableNftId: AugmentedError<ApiType>;589      /**590       * Could not find an ID for the resource. It is likely there were too many resources created on an NFT, causing an overflow.591       **/592      NoAvailableResourceId: AugmentedError<ApiType>;593      /**594       * Token is marked as non-transferable, and thus cannot be transferred.595       **/596      NonTransferable: AugmentedError<ApiType>;597      /**598       * No permission to perform action.599       **/600      NoPermission: AugmentedError<ApiType>;601      /**602       * No such resource found.603       **/604      ResourceDoesntExist: AugmentedError<ApiType>;605      /**606       * Resource is not pending for the operation.607       **/608      ResourceNotPending: AugmentedError<ApiType>;609      /**610       * Could not find a property by the supplied key.611       **/612      RmrkPropertyIsNotFound: AugmentedError<ApiType>;613      /**614       * Too many symbols supplied as the property key. The maximum is [256](up_data_structs::MAX_PROPERTY_KEY_LENGTH).615       **/616      RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;617      /**618       * Too many bytes supplied as the property value. The maximum is [32768](up_data_structs::MAX_PROPERTY_VALUE_LENGTH).619       **/620      RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;621      /**622       * Something went wrong when decoding encoded data from the storage.623       * Perhaps, there was a wrong key supplied for the type, or the data was improperly stored.624       **/625      UnableToDecodeRmrkData: AugmentedError<ApiType>;626      /**627       * Generic error628       **/629      [key: string]: AugmentedError<ApiType>;630    };631    rmrkEquip: {632      /**633       * Base collection linked to this ID does not exist.634       **/635      BaseDoesntExist: AugmentedError<ApiType>;636      /**637       * No Theme named "default" is associated with the Base.638       **/639      NeedsDefaultThemeFirst: AugmentedError<ApiType>;640      /**641       * Could not find an ID for a Base collection. It is likely there were too many collections created on the chain, causing an overflow.642       **/643      NoAvailableBaseId: AugmentedError<ApiType>;644      /**645       * Could not find a suitable ID for a Part, likely too many Part tokens were created in the Base, causing an overflow646       **/647      NoAvailablePartId: AugmentedError<ApiType>;648      /**649       * Cannot assign equippables to a fixed Part.650       **/651      NoEquippableOnFixedPart: AugmentedError<ApiType>;652      /**653       * Part linked to this ID does not exist.654       **/655      PartDoesntExist: AugmentedError<ApiType>;656      /**657       * No permission to perform action.658       **/659      PermissionError: AugmentedError<ApiType>;660      /**661       * Generic error662       **/663      [key: string]: AugmentedError<ApiType>;664    };665    scheduler: {666      /**667       * There is no place for a new task in the agenda668       **/669      AgendaIsExhausted: AugmentedError<ApiType>;670      /**671       * Failed to schedule a call672       **/673      FailedToSchedule: AugmentedError<ApiType>;674      /**675       * Attempt to use a non-named function on a named task.676       **/677      Named: AugmentedError<ApiType>;678      /**679       * Cannot find the scheduled call.680       **/681      NotFound: AugmentedError<ApiType>;682      /**683       * Scheduled call preimage is not found684       **/685      PreimageNotFound: AugmentedError<ApiType>;686      /**687       * Scheduled call is corrupted688       **/689      ScheduledCallCorrupted: AugmentedError<ApiType>;690      /**691       * Given target block number is in the past.692       **/693      TargetBlockNumberInPast: AugmentedError<ApiType>;694      /**695       * Scheduled call is too big696       **/697      TooBigScheduledCall: AugmentedError<ApiType>;698      /**699       * Generic error700       **/701      [key: string]: AugmentedError<ApiType>;702    };703    structure: {704      /**705       * While nesting, reached the breadth limit of nesting, exceeding the provided budget.706       **/707      BreadthLimit: AugmentedError<ApiType>;708      /**709       * While nesting, reached the depth limit of nesting, exceeding the provided budget.710       **/711      DepthLimit: AugmentedError<ApiType>;712      /**713       * While nesting, encountered an already checked account, detecting a loop.714       **/715      OuroborosDetected: AugmentedError<ApiType>;716      /**717       * Couldn't find the token owner that is itself a token.718       **/719      TokenNotFound: AugmentedError<ApiType>;720      /**721       * Generic error722       **/723      [key: string]: AugmentedError<ApiType>;724    };725    sudo: {726      /**727       * Sender must be the Sudo account728       **/729      RequireSudo: AugmentedError<ApiType>;730      /**731       * Generic error732       **/733      [key: string]: AugmentedError<ApiType>;734    };735    system: {736      /**737       * The origin filter prevent the call to be dispatched.738       **/739      CallFiltered: AugmentedError<ApiType>;740      /**741       * Failed to extract the runtime version from the new runtime.742       * 743       * Either calling `Core_version` or decoding `RuntimeVersion` failed.744       **/745      FailedToExtractRuntimeVersion: AugmentedError<ApiType>;746      /**747       * The name of specification does not match between the current runtime748       * and the new runtime.749       **/750      InvalidSpecName: AugmentedError<ApiType>;751      /**752       * Suicide called when the account has non-default composite data.753       **/754      NonDefaultComposite: AugmentedError<ApiType>;755      /**756       * There is a non-zero reference count preventing the account from being purged.757       **/758      NonZeroRefCount: AugmentedError<ApiType>;759      /**760       * The specification version is not allowed to decrease between the current runtime761       * and the new runtime.762       **/763      SpecVersionNeedsToIncrease: AugmentedError<ApiType>;764      /**765       * Generic error766       **/767      [key: string]: AugmentedError<ApiType>;768    };769    testUtils: {770      TestPalletDisabled: AugmentedError<ApiType>;771      TriggerRollback: AugmentedError<ApiType>;772      /**773       * Generic error774       **/775      [key: string]: AugmentedError<ApiType>;776    };777    tokens: {778      /**779       * Cannot convert Amount into Balance type780       **/781      AmountIntoBalanceFailed: AugmentedError<ApiType>;782      /**783       * The balance is too low784       **/785      BalanceTooLow: AugmentedError<ApiType>;786      /**787       * Beneficiary account must pre-exist788       **/789      DeadAccount: AugmentedError<ApiType>;790      /**791       * Value too low to create account due to existential deposit792       **/793      ExistentialDeposit: AugmentedError<ApiType>;794      /**795       * Transfer/payment would kill account796       **/797      KeepAlive: AugmentedError<ApiType>;798      /**799       * Failed because liquidity restrictions due to locking800       **/801      LiquidityRestrictions: AugmentedError<ApiType>;802      /**803       * Failed because the maximum locks was exceeded804       **/805      MaxLocksExceeded: AugmentedError<ApiType>;806      TooManyReserves: AugmentedError<ApiType>;807      /**808       * Generic error809       **/810      [key: string]: AugmentedError<ApiType>;811    };812    treasury: {813      /**814       * The spend origin is valid but the amount it is allowed to spend is lower than the815       * amount to be spent.816       **/817      InsufficientPermission: AugmentedError<ApiType>;818      /**819       * Proposer's balance is too low.820       **/821      InsufficientProposersBalance: AugmentedError<ApiType>;822      /**823       * No proposal or bounty at that index.824       **/825      InvalidIndex: AugmentedError<ApiType>;826      /**827       * Proposal has not been approved.828       **/829      ProposalNotApproved: AugmentedError<ApiType>;830      /**831       * Too many approvals in the queue.832       **/833      TooManyApprovals: AugmentedError<ApiType>;834      /**835       * Generic error836       **/837      [key: string]: AugmentedError<ApiType>;838    };839    unique: {840      /**841       * Decimal_points parameter must be lower than [`up_data_structs::MAX_DECIMAL_POINTS`].842       **/843      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;844      /**845       * This address is not set as sponsor, use setCollectionSponsor first.846       **/847      ConfirmUnsetSponsorFail: AugmentedError<ApiType>;848      /**849       * Length of items properties must be greater than 0.850       **/851      EmptyArgument: AugmentedError<ApiType>;852      /**853       * Repertition is only supported by refungible collection.854       **/855      RepartitionCalledOnNonRefungibleCollection: AugmentedError<ApiType>;856      /**857       * Generic error858       **/859      [key: string]: AugmentedError<ApiType>;860    };861    vesting: {862      /**863       * The vested transfer amount is too low864       **/865      AmountLow: AugmentedError<ApiType>;866      /**867       * Insufficient amount of balance to lock868       **/869      InsufficientBalanceToLock: AugmentedError<ApiType>;870      /**871       * Failed because the maximum vesting schedules was exceeded872       **/873      MaxVestingSchedulesExceeded: AugmentedError<ApiType>;874      /**875       * This account have too many vesting schedules876       **/877      TooManyVestingSchedules: AugmentedError<ApiType>;878      /**879       * Vesting period is zero880       **/881      ZeroVestingPeriod: AugmentedError<ApiType>;882      /**883       * Number of vests is zero884       **/885      ZeroVestingPeriodCount: AugmentedError<ApiType>;886      /**887       * Generic error888       **/889      [key: string]: AugmentedError<ApiType>;890    };891    xcmpQueue: {892      /**893       * Bad overweight index.894       **/895      BadOverweightIndex: AugmentedError<ApiType>;896      /**897       * Bad XCM data.898       **/899      BadXcm: AugmentedError<ApiType>;900      /**901       * Bad XCM origin.902       **/903      BadXcmOrigin: AugmentedError<ApiType>;904      /**905       * Failed to send XCM message.906       **/907      FailedToSend: AugmentedError<ApiType>;908      /**909       * Provided weight is possibly not enough to execute the message.910       **/911      WeightOverLimit: AugmentedError<ApiType>;912      /**913       * Generic error914       **/915      [key: string]: AugmentedError<ApiType>;916    };917    xTokens: {918      /**919       * Asset has no reserve location.920       **/921      AssetHasNoReserve: AugmentedError<ApiType>;922      /**923       * The specified index does not exist in a MultiAssets struct.924       **/925      AssetIndexNonExistent: AugmentedError<ApiType>;926      /**927       * The version of the `Versioned` value used is not able to be928       * interpreted.929       **/930      BadVersion: AugmentedError<ApiType>;931      /**932       * Could not re-anchor the assets to declare the fees for the933       * destination chain.934       **/935      CannotReanchor: AugmentedError<ApiType>;936      /**937       * The destination `MultiLocation` provided cannot be inverted.938       **/939      DestinationNotInvertible: AugmentedError<ApiType>;940      /**941       * We tried sending distinct asset and fee but they have different942       * reserve chains.943       **/944      DistinctReserveForAssetAndFee: AugmentedError<ApiType>;945      /**946       * Fee is not enough.947       **/948      FeeNotEnough: AugmentedError<ApiType>;949      /**950       * Could not get ancestry of asset reserve location.951       **/952      InvalidAncestry: AugmentedError<ApiType>;953      /**954       * The MultiAsset is invalid.955       **/956      InvalidAsset: AugmentedError<ApiType>;957      /**958       * Invalid transfer destination.959       **/960      InvalidDest: AugmentedError<ApiType>;961      /**962       * MinXcmFee not registered for certain reserve location963       **/964      MinXcmFeeNotDefined: AugmentedError<ApiType>;965      /**966       * Not cross-chain transfer.967       **/968      NotCrossChainTransfer: AugmentedError<ApiType>;969      /**970       * Currency is not cross-chain transferable.971       **/972      NotCrossChainTransferableCurrency: AugmentedError<ApiType>;973      /**974       * Not supported MultiLocation975       **/976      NotSupportedMultiLocation: AugmentedError<ApiType>;977      /**978       * The number of assets to be sent is over the maximum.979       **/980      TooManyAssetsBeingSent: AugmentedError<ApiType>;981      /**982       * The message's weight could not be determined.983       **/984      UnweighableMessage: AugmentedError<ApiType>;985      /**986       * XCM execution failed.987       **/988      XcmExecutionFailed: AugmentedError<ApiType>;989      /**990       * The transfering asset amount is zero.991       **/992      ZeroAmount: AugmentedError<ApiType>;993      /**994       * The fee is zero.995       **/996      ZeroFee: AugmentedError<ApiType>;997      /**998       * Generic error999       **/1000      [key: string]: AugmentedError<ApiType>;1001    };1002  } // AugmentedErrors1003} // declare module