git.delta.rocks / unique-network / refs/commits / c86685c62008

difftreelog

source

tests/src/interfaces/augment-api-errors.ts30.2 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 value.59       **/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       * This address is not set as sponsor, use setCollectionSponsor first.149       **/150      ConfirmSponsorshipFail: AugmentedError<ApiType>;151      /**152       * Empty property keys are forbidden153       **/154      EmptyPropertyKey: AugmentedError<ApiType>;155      /**156       * Only ASCII letters, digits, and symbols `_`, `-`, and `.` are allowed157       **/158      InvalidCharacterInPropertyKey: AugmentedError<ApiType>;159      /**160       * Metadata flag frozen161       **/162      MetadataFlagFrozen: AugmentedError<ApiType>;163      /**164       * Sender parameter and item owner must be equal.165       **/166      MustBeTokenOwner: AugmentedError<ApiType>;167      /**168       * No permission to perform action169       **/170      NoPermission: AugmentedError<ApiType>;171      /**172       * Tried to store more property data than allowed173       **/174      NoSpaceForProperty: AugmentedError<ApiType>;175      /**176       * Insufficient funds to perform an action177       **/178      NotSufficientFounds: AugmentedError<ApiType>;179      /**180       * Tried to enable permissions which are only permitted to be disabled181       **/182      OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;183      /**184       * Property key is too long185       **/186      PropertyKeyIsTooLong: AugmentedError<ApiType>;187      /**188       * Tried to store more property keys than allowed189       **/190      PropertyLimitReached: AugmentedError<ApiType>;191      /**192       * Collection is not in mint mode.193       **/194      PublicMintingNotAllowed: AugmentedError<ApiType>;195      /**196       * Only tokens from specific collections may nest tokens under this one197       **/198      SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;199      /**200       * Item does not exist201       **/202      TokenNotFound: AugmentedError<ApiType>;203      /**204       * Item is balance not enough205       **/206      TokenValueTooLow: AugmentedError<ApiType>;207      /**208       * Total collections bound exceeded.209       **/210      TotalCollectionsLimitExceeded: AugmentedError<ApiType>;211      /**212       * Collection settings not allowing items transferring213       **/214      TransferNotAllowed: AugmentedError<ApiType>;215      /**216       * The operation is not supported217       **/218      UnsupportedOperation: AugmentedError<ApiType>;219      /**220       * User does not satisfy the nesting rule221       **/222      UserIsNotAllowedToNest: AugmentedError<ApiType>;223      /**224       * The user is not an administrator.225       **/226      UserIsNotCollectionAdmin: AugmentedError<ApiType>;227      /**228       * Generic error229       **/230      [key: string]: AugmentedError<ApiType>;231    };232    cumulusXcm: {233      /**234       * Generic error235       **/236      [key: string]: AugmentedError<ApiType>;237    };238    dmpQueue: {239      /**240       * The amount of weight given is possibly not enough for executing the message.241       **/242      OverLimit: AugmentedError<ApiType>;243      /**244       * The message index given is unknown.245       **/246      Unknown: AugmentedError<ApiType>;247      /**248       * Generic error249       **/250      [key: string]: AugmentedError<ApiType>;251    };252    ethereum: {253      /**254       * Signature is invalid.255       **/256      InvalidSignature: AugmentedError<ApiType>;257      /**258       * Pre-log is present, therefore transact is not allowed.259       **/260      PreLogExists: AugmentedError<ApiType>;261      /**262       * Generic error263       **/264      [key: string]: AugmentedError<ApiType>;265    };266    evm: {267      /**268       * Not enough balance to perform action269       **/270      BalanceLow: AugmentedError<ApiType>;271      /**272       * Calculating total fee overflowed273       **/274      FeeOverflow: AugmentedError<ApiType>;275      /**276       * Gas limit is too high.277       **/278      GasLimitTooHigh: AugmentedError<ApiType>;279      /**280       * Gas limit is too low.281       **/282      GasLimitTooLow: AugmentedError<ApiType>;283      /**284       * Gas price is too low.285       **/286      GasPriceTooLow: AugmentedError<ApiType>;287      /**288       * Nonce is invalid289       **/290      InvalidNonce: AugmentedError<ApiType>;291      /**292       * Calculating total payment overflowed293       **/294      PaymentOverflow: AugmentedError<ApiType>;295      /**296       * EVM reentrancy297       **/298      Reentrancy: AugmentedError<ApiType>;299      /**300       * Undefined error.301       **/302      Undefined: AugmentedError<ApiType>;303      /**304       * Withdraw fee failed305       **/306      WithdrawFailed: AugmentedError<ApiType>;307      /**308       * Generic error309       **/310      [key: string]: AugmentedError<ApiType>;311    };312    evmCoderSubstrate: {313      OutOfFund: AugmentedError<ApiType>;314      OutOfGas: AugmentedError<ApiType>;315      /**316       * Generic error317       **/318      [key: string]: AugmentedError<ApiType>;319    };320    evmContractHelpers: {321      /**322       * No pending sponsor for contract.323       **/324      NoPendingSponsor: AugmentedError<ApiType>;325      /**326       * This method is only executable by contract owner327       **/328      NoPermission: AugmentedError<ApiType>;329      /**330       * Number of methods that sponsored limit is defined for exceeds maximum.331       **/332      TooManyMethodsHaveSponsoredLimit: AugmentedError<ApiType>;333      /**334       * Generic error335       **/336      [key: string]: AugmentedError<ApiType>;337    };338    evmMigration: {339      /**340       * Migration of this account is not yet started, or already finished.341       **/342      AccountIsNotMigrating: AugmentedError<ApiType>;343      /**344       * Can only migrate to empty address.345       **/346      AccountNotEmpty: AugmentedError<ApiType>;347      /**348       * Failed to decode event bytes349       **/350      BadEvent: AugmentedError<ApiType>;351      /**352       * Generic error353       **/354      [key: string]: AugmentedError<ApiType>;355    };356    foreignAssets: {357      /**358       * AssetId exists359       **/360      AssetIdExisted: AugmentedError<ApiType>;361      /**362       * AssetId not exists363       **/364      AssetIdNotExists: AugmentedError<ApiType>;365      /**366       * The given location could not be used (e.g. because it cannot be expressed in the367       * desired version of XCM).368       **/369      BadLocation: AugmentedError<ApiType>;370      /**371       * MultiLocation existed372       **/373      MultiLocationExisted: AugmentedError<ApiType>;374      /**375       * Generic error376       **/377      [key: string]: AugmentedError<ApiType>;378    };379    fungible: {380      /**381       * Fungible token does not support nesting.382       **/383      FungibleDisallowsNesting: AugmentedError<ApiType>;384      /**385       * Tried to set data for fungible item.386       **/387      FungibleItemsDontHaveData: AugmentedError<ApiType>;388      /**389       * Fungible tokens hold no ID, and the default value of TokenId for Fungible collection is 0.390       **/391      FungibleItemsHaveNoId: AugmentedError<ApiType>;392      /**393       * Not Fungible item data used to mint in Fungible collection.394       **/395      NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;396      /**397       * Setting allowance for all is not allowed.398       **/399      SettingAllowanceForAllNotAllowed: AugmentedError<ApiType>;400      /**401       * Setting item properties is not allowed.402       **/403      SettingPropertiesNotAllowed: AugmentedError<ApiType>;404      /**405       * Generic error406       **/407      [key: string]: AugmentedError<ApiType>;408    };409    maintenance: {410      /**411       * Generic error412       **/413      [key: string]: AugmentedError<ApiType>;414    };415    nonfungible: {416      /**417       * Unable to burn NFT with children418       **/419      CantBurnNftWithChildren: AugmentedError<ApiType>;420      /**421       * Used amount > 1 with NFT422       **/423      NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;424      /**425       * Not Nonfungible item data used to mint in Nonfungible collection.426       **/427      NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;428      /**429       * Generic error430       **/431      [key: string]: AugmentedError<ApiType>;432    };433    parachainSystem: {434      /**435       * The inherent which supplies the host configuration did not run this block436       **/437      HostConfigurationNotAvailable: AugmentedError<ApiType>;438      /**439       * No code upgrade has been authorized.440       **/441      NothingAuthorized: AugmentedError<ApiType>;442      /**443       * No validation function upgrade is currently scheduled.444       **/445      NotScheduled: AugmentedError<ApiType>;446      /**447       * Attempt to upgrade validation function while existing upgrade pending448       **/449      OverlappingUpgrades: AugmentedError<ApiType>;450      /**451       * Polkadot currently prohibits this parachain from upgrading its validation function452       **/453      ProhibitedByPolkadot: AugmentedError<ApiType>;454      /**455       * The supplied validation function has compiled into a blob larger than Polkadot is456       * willing to run457       **/458      TooBig: AugmentedError<ApiType>;459      /**460       * The given code upgrade has not been authorized.461       **/462      Unauthorized: AugmentedError<ApiType>;463      /**464       * The inherent which supplies the validation data did not run this block465       **/466      ValidationDataNotAvailable: AugmentedError<ApiType>;467      /**468       * Generic error469       **/470      [key: string]: AugmentedError<ApiType>;471    };472    polkadotXcm: {473      /**474       * The location is invalid since it already has a subscription from us.475       **/476      AlreadySubscribed: AugmentedError<ApiType>;477      /**478       * The given location could not be used (e.g. because it cannot be expressed in the479       * desired version of XCM).480       **/481      BadLocation: AugmentedError<ApiType>;482      /**483       * The version of the `Versioned` value used is not able to be interpreted.484       **/485      BadVersion: AugmentedError<ApiType>;486      /**487       * Could not re-anchor the assets to declare the fees for the destination chain.488       **/489      CannotReanchor: AugmentedError<ApiType>;490      /**491       * The destination `MultiLocation` provided cannot be inverted.492       **/493      DestinationNotInvertible: AugmentedError<ApiType>;494      /**495       * The assets to be sent are empty.496       **/497      Empty: AugmentedError<ApiType>;498      /**499       * The message execution fails the filter.500       **/501      Filtered: AugmentedError<ApiType>;502      /**503       * Origin is invalid for sending.504       **/505      InvalidOrigin: AugmentedError<ApiType>;506      /**507       * The referenced subscription could not be found.508       **/509      NoSubscription: AugmentedError<ApiType>;510      /**511       * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps512       * a lack of space for buffering the message.513       **/514      SendFailure: AugmentedError<ApiType>;515      /**516       * Too many assets have been attempted for transfer.517       **/518      TooManyAssets: AugmentedError<ApiType>;519      /**520       * The desired destination was unreachable, generally because there is a no way of routing521       * to it.522       **/523      Unreachable: AugmentedError<ApiType>;524      /**525       * The message's weight could not be determined.526       **/527      UnweighableMessage: AugmentedError<ApiType>;528      /**529       * Generic error530       **/531      [key: string]: AugmentedError<ApiType>;532    };533    refungible: {534      /**535       * Not Refungible item data used to mint in Refungible collection.536       **/537      NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;538      /**539       * Refungible token can't nest other tokens.540       **/541      RefungibleDisallowsNesting: AugmentedError<ApiType>;542      /**543       * Refungible token can't be repartitioned by user who isn't owns all pieces.544       **/545      RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;546      /**547       * Setting item properties is not allowed.548       **/549      SettingPropertiesNotAllowed: AugmentedError<ApiType>;550      /**551       * Maximum refungibility exceeded.552       **/553      WrongRefungiblePieces: AugmentedError<ApiType>;554      /**555       * Generic error556       **/557      [key: string]: AugmentedError<ApiType>;558    };559    rmrkCore: {560      /**561       * Not the target owner of the sent NFT.562       **/563      CannotAcceptNonOwnedNft: AugmentedError<ApiType>;564      /**565       * Not the target owner of the sent NFT.566       **/567      CannotRejectNonOwnedNft: AugmentedError<ApiType>;568      /**569       * NFT was not sent and is not pending.570       **/571      CannotRejectNonPendingNft: AugmentedError<ApiType>;572      /**573       * If an NFT is sent to a descendant, that would form a nesting loop, an ouroboros.574       * Sending to self is redundant.575       **/576      CannotSendToDescendentOrSelf: AugmentedError<ApiType>;577      /**578       * Too many tokens created in the collection, no new ones are allowed.579       **/580      CollectionFullOrLocked: AugmentedError<ApiType>;581      /**582       * Only destroying collections without tokens is allowed.583       **/584      CollectionNotEmpty: AugmentedError<ApiType>;585      /**586       * Collection does not exist, has a wrong type, or does not map to a Unique ID.587       **/588      CollectionUnknown: AugmentedError<ApiType>;589      /**590       * Property of the type of RMRK collection could not be read successfully.591       **/592      CorruptedCollectionType: AugmentedError<ApiType>;593      /**594       * Could not find an ID for a collection. It is likely there were too many collections created on the chain, causing an overflow.595       **/596      NoAvailableCollectionId: AugmentedError<ApiType>;597      /**598       * Token does not exist, or there is no suitable ID for it, likely too many tokens were created in a collection, causing an overflow.599       **/600      NoAvailableNftId: AugmentedError<ApiType>;601      /**602       * Could not find an ID for the resource. It is likely there were too many resources created on an NFT, causing an overflow.603       **/604      NoAvailableResourceId: AugmentedError<ApiType>;605      /**606       * Token is marked as non-transferable, and thus cannot be transferred.607       **/608      NonTransferable: AugmentedError<ApiType>;609      /**610       * No permission to perform action.611       **/612      NoPermission: AugmentedError<ApiType>;613      /**614       * No such resource found.615       **/616      ResourceDoesntExist: AugmentedError<ApiType>;617      /**618       * Resource is not pending for the operation.619       **/620      ResourceNotPending: AugmentedError<ApiType>;621      /**622       * Could not find a property by the supplied key.623       **/624      RmrkPropertyIsNotFound: AugmentedError<ApiType>;625      /**626       * Too many symbols supplied as the property key. The maximum is [256](up_data_structs::MAX_PROPERTY_KEY_LENGTH).627       **/628      RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;629      /**630       * Too many bytes supplied as the property value. The maximum is [32768](up_data_structs::MAX_PROPERTY_VALUE_LENGTH).631       **/632      RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;633      /**634       * Something went wrong when decoding encoded data from the storage.635       * Perhaps, there was a wrong key supplied for the type, or the data was improperly stored.636       **/637      UnableToDecodeRmrkData: AugmentedError<ApiType>;638      /**639       * Generic error640       **/641      [key: string]: AugmentedError<ApiType>;642    };643    rmrkEquip: {644      /**645       * Base collection linked to this ID does not exist.646       **/647      BaseDoesntExist: AugmentedError<ApiType>;648      /**649       * No Theme named "default" is associated with the Base.650       **/651      NeedsDefaultThemeFirst: AugmentedError<ApiType>;652      /**653       * Could not find an ID for a Base collection. It is likely there were too many collections created on the chain, causing an overflow.654       **/655      NoAvailableBaseId: AugmentedError<ApiType>;656      /**657       * Could not find a suitable ID for a Part, likely too many Part tokens were created in the Base, causing an overflow658       **/659      NoAvailablePartId: AugmentedError<ApiType>;660      /**661       * Cannot assign equippables to a fixed Part.662       **/663      NoEquippableOnFixedPart: AugmentedError<ApiType>;664      /**665       * Part linked to this ID does not exist.666       **/667      PartDoesntExist: AugmentedError<ApiType>;668      /**669       * No permission to perform action.670       **/671      PermissionError: AugmentedError<ApiType>;672      /**673       * Generic error674       **/675      [key: string]: AugmentedError<ApiType>;676    };677    scheduler: {678      /**679       * There is no place for a new task in the agenda680       **/681      AgendaIsExhausted: AugmentedError<ApiType>;682      /**683       * Failed to schedule a call684       **/685      FailedToSchedule: AugmentedError<ApiType>;686      /**687       * Attempt to use a non-named function on a named task.688       **/689      Named: AugmentedError<ApiType>;690      /**691       * Cannot find the scheduled call.692       **/693      NotFound: AugmentedError<ApiType>;694      /**695       * Scheduled call preimage is not found696       **/697      PreimageNotFound: AugmentedError<ApiType>;698      /**699       * Scheduled call is corrupted700       **/701      ScheduledCallCorrupted: AugmentedError<ApiType>;702      /**703       * Given target block number is in the past.704       **/705      TargetBlockNumberInPast: AugmentedError<ApiType>;706      /**707       * Scheduled call is too big708       **/709      TooBigScheduledCall: AugmentedError<ApiType>;710      /**711       * Generic error712       **/713      [key: string]: AugmentedError<ApiType>;714    };715    structure: {716      /**717       * While nesting, reached the breadth limit of nesting, exceeding the provided budget.718       **/719      BreadthLimit: AugmentedError<ApiType>;720      /**721       * While nesting, reached the depth limit of nesting, exceeding the provided budget.722       **/723      DepthLimit: AugmentedError<ApiType>;724      /**725       * While nesting, encountered an already checked account, detecting a loop.726       **/727      OuroborosDetected: AugmentedError<ApiType>;728      /**729       * Couldn't find the token owner that is itself a token.730       **/731      TokenNotFound: AugmentedError<ApiType>;732      /**733       * Generic error734       **/735      [key: string]: AugmentedError<ApiType>;736    };737    sudo: {738      /**739       * Sender must be the Sudo account740       **/741      RequireSudo: AugmentedError<ApiType>;742      /**743       * Generic error744       **/745      [key: string]: AugmentedError<ApiType>;746    };747    system: {748      /**749       * The origin filter prevent the call to be dispatched.750       **/751      CallFiltered: AugmentedError<ApiType>;752      /**753       * Failed to extract the runtime version from the new runtime.754       * 755       * Either calling `Core_version` or decoding `RuntimeVersion` failed.756       **/757      FailedToExtractRuntimeVersion: AugmentedError<ApiType>;758      /**759       * The name of specification does not match between the current runtime760       * and the new runtime.761       **/762      InvalidSpecName: AugmentedError<ApiType>;763      /**764       * Suicide called when the account has non-default composite data.765       **/766      NonDefaultComposite: AugmentedError<ApiType>;767      /**768       * There is a non-zero reference count preventing the account from being purged.769       **/770      NonZeroRefCount: AugmentedError<ApiType>;771      /**772       * The specification version is not allowed to decrease between the current runtime773       * and the new runtime.774       **/775      SpecVersionNeedsToIncrease: AugmentedError<ApiType>;776      /**777       * Generic error778       **/779      [key: string]: AugmentedError<ApiType>;780    };781    testUtils: {782      TestPalletDisabled: AugmentedError<ApiType>;783      TriggerRollback: AugmentedError<ApiType>;784      /**785       * Generic error786       **/787      [key: string]: AugmentedError<ApiType>;788    };789    tokens: {790      /**791       * Cannot convert Amount into Balance type792       **/793      AmountIntoBalanceFailed: AugmentedError<ApiType>;794      /**795       * The balance is too low796       **/797      BalanceTooLow: AugmentedError<ApiType>;798      /**799       * Beneficiary account must pre-exist800       **/801      DeadAccount: AugmentedError<ApiType>;802      /**803       * Value too low to create account due to existential deposit804       **/805      ExistentialDeposit: AugmentedError<ApiType>;806      /**807       * Transfer/payment would kill account808       **/809      KeepAlive: AugmentedError<ApiType>;810      /**811       * Failed because liquidity restrictions due to locking812       **/813      LiquidityRestrictions: AugmentedError<ApiType>;814      /**815       * Failed because the maximum locks was exceeded816       **/817      MaxLocksExceeded: AugmentedError<ApiType>;818      TooManyReserves: AugmentedError<ApiType>;819      /**820       * Generic error821       **/822      [key: string]: AugmentedError<ApiType>;823    };824    treasury: {825      /**826       * The spend origin is valid but the amount it is allowed to spend is lower than the827       * amount to be spent.828       **/829      InsufficientPermission: AugmentedError<ApiType>;830      /**831       * Proposer's balance is too low.832       **/833      InsufficientProposersBalance: AugmentedError<ApiType>;834      /**835       * No proposal or bounty at that index.836       **/837      InvalidIndex: AugmentedError<ApiType>;838      /**839       * Proposal has not been approved.840       **/841      ProposalNotApproved: AugmentedError<ApiType>;842      /**843       * Too many approvals in the queue.844       **/845      TooManyApprovals: AugmentedError<ApiType>;846      /**847       * Generic error848       **/849      [key: string]: AugmentedError<ApiType>;850    };851    unique: {852      /**853       * Decimal_points parameter must be lower than [`up_data_structs::MAX_DECIMAL_POINTS`].854       **/855      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;856      /**857       * Length of items properties must be greater than 0.858       **/859      EmptyArgument: AugmentedError<ApiType>;860      /**861       * Repertition is only supported by refungible collection.862       **/863      RepartitionCalledOnNonRefungibleCollection: AugmentedError<ApiType>;864      /**865       * Generic error866       **/867      [key: string]: AugmentedError<ApiType>;868    };869    vesting: {870      /**871       * The vested transfer amount is too low872       **/873      AmountLow: AugmentedError<ApiType>;874      /**875       * Insufficient amount of balance to lock876       **/877      InsufficientBalanceToLock: AugmentedError<ApiType>;878      /**879       * Failed because the maximum vesting schedules was exceeded880       **/881      MaxVestingSchedulesExceeded: AugmentedError<ApiType>;882      /**883       * This account have too many vesting schedules884       **/885      TooManyVestingSchedules: AugmentedError<ApiType>;886      /**887       * Vesting period is zero888       **/889      ZeroVestingPeriod: AugmentedError<ApiType>;890      /**891       * Number of vests is zero892       **/893      ZeroVestingPeriodCount: AugmentedError<ApiType>;894      /**895       * Generic error896       **/897      [key: string]: AugmentedError<ApiType>;898    };899    xcmpQueue: {900      /**901       * Bad overweight index.902       **/903      BadOverweightIndex: AugmentedError<ApiType>;904      /**905       * Bad XCM data.906       **/907      BadXcm: AugmentedError<ApiType>;908      /**909       * Bad XCM origin.910       **/911      BadXcmOrigin: AugmentedError<ApiType>;912      /**913       * Failed to send XCM message.914       **/915      FailedToSend: AugmentedError<ApiType>;916      /**917       * Provided weight is possibly not enough to execute the message.918       **/919      WeightOverLimit: AugmentedError<ApiType>;920      /**921       * Generic error922       **/923      [key: string]: AugmentedError<ApiType>;924    };925    xTokens: {926      /**927       * Asset has no reserve location.928       **/929      AssetHasNoReserve: AugmentedError<ApiType>;930      /**931       * The specified index does not exist in a MultiAssets struct.932       **/933      AssetIndexNonExistent: AugmentedError<ApiType>;934      /**935       * The version of the `Versioned` value used is not able to be936       * interpreted.937       **/938      BadVersion: AugmentedError<ApiType>;939      /**940       * Could not re-anchor the assets to declare the fees for the941       * destination chain.942       **/943      CannotReanchor: AugmentedError<ApiType>;944      /**945       * The destination `MultiLocation` provided cannot be inverted.946       **/947      DestinationNotInvertible: AugmentedError<ApiType>;948      /**949       * We tried sending distinct asset and fee but they have different950       * reserve chains.951       **/952      DistinctReserveForAssetAndFee: AugmentedError<ApiType>;953      /**954       * Fee is not enough.955       **/956      FeeNotEnough: AugmentedError<ApiType>;957      /**958       * Could not get ancestry of asset reserve location.959       **/960      InvalidAncestry: AugmentedError<ApiType>;961      /**962       * The MultiAsset is invalid.963       **/964      InvalidAsset: AugmentedError<ApiType>;965      /**966       * Invalid transfer destination.967       **/968      InvalidDest: AugmentedError<ApiType>;969      /**970       * MinXcmFee not registered for certain reserve location971       **/972      MinXcmFeeNotDefined: AugmentedError<ApiType>;973      /**974       * Not cross-chain transfer.975       **/976      NotCrossChainTransfer: AugmentedError<ApiType>;977      /**978       * Currency is not cross-chain transferable.979       **/980      NotCrossChainTransferableCurrency: AugmentedError<ApiType>;981      /**982       * Not supported MultiLocation983       **/984      NotSupportedMultiLocation: AugmentedError<ApiType>;985      /**986       * The number of assets to be sent is over the maximum.987       **/988      TooManyAssetsBeingSent: AugmentedError<ApiType>;989      /**990       * The message's weight could not be determined.991       **/992      UnweighableMessage: AugmentedError<ApiType>;993      /**994       * XCM execution failed.995       **/996      XcmExecutionFailed: AugmentedError<ApiType>;997      /**998       * The transfering asset amount is zero.999       **/1000      ZeroAmount: AugmentedError<ApiType>;1001      /**1002       * The fee is zero.1003       **/1004      ZeroFee: AugmentedError<ApiType>;1005      /**1006       * Generic error1007       **/1008      [key: string]: AugmentedError<ApiType>;1009    };1010  } // AugmentedErrors1011} // declare module