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

difftreelog

source

tests/src/interfaces/augment-api-errors.ts30.4 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    configuration: {233      InconsistentConfiguration: AugmentedError<ApiType>;234      /**235       * Generic error236       **/237      [key: string]: AugmentedError<ApiType>;238    };239    cumulusXcm: {240      /**241       * Generic error242       **/243      [key: string]: AugmentedError<ApiType>;244    };245    dmpQueue: {246      /**247       * The amount of weight given is possibly not enough for executing the message.248       **/249      OverLimit: AugmentedError<ApiType>;250      /**251       * The message index given is unknown.252       **/253      Unknown: AugmentedError<ApiType>;254      /**255       * Generic error256       **/257      [key: string]: AugmentedError<ApiType>;258    };259    ethereum: {260      /**261       * Signature is invalid.262       **/263      InvalidSignature: AugmentedError<ApiType>;264      /**265       * Pre-log is present, therefore transact is not allowed.266       **/267      PreLogExists: AugmentedError<ApiType>;268      /**269       * Generic error270       **/271      [key: string]: AugmentedError<ApiType>;272    };273    evm: {274      /**275       * Not enough balance to perform action276       **/277      BalanceLow: AugmentedError<ApiType>;278      /**279       * Calculating total fee overflowed280       **/281      FeeOverflow: AugmentedError<ApiType>;282      /**283       * Gas limit is too high.284       **/285      GasLimitTooHigh: AugmentedError<ApiType>;286      /**287       * Gas limit is too low.288       **/289      GasLimitTooLow: AugmentedError<ApiType>;290      /**291       * Gas price is too low.292       **/293      GasPriceTooLow: AugmentedError<ApiType>;294      /**295       * Nonce is invalid296       **/297      InvalidNonce: AugmentedError<ApiType>;298      /**299       * Calculating total payment overflowed300       **/301      PaymentOverflow: AugmentedError<ApiType>;302      /**303       * EVM reentrancy304       **/305      Reentrancy: AugmentedError<ApiType>;306      /**307       * Undefined error.308       **/309      Undefined: AugmentedError<ApiType>;310      /**311       * Withdraw fee failed312       **/313      WithdrawFailed: AugmentedError<ApiType>;314      /**315       * Generic error316       **/317      [key: string]: AugmentedError<ApiType>;318    };319    evmCoderSubstrate: {320      OutOfFund: AugmentedError<ApiType>;321      OutOfGas: AugmentedError<ApiType>;322      /**323       * Generic error324       **/325      [key: string]: AugmentedError<ApiType>;326    };327    evmContractHelpers: {328      /**329       * No pending sponsor for contract.330       **/331      NoPendingSponsor: AugmentedError<ApiType>;332      /**333       * This method is only executable by contract owner334       **/335      NoPermission: AugmentedError<ApiType>;336      /**337       * Number of methods that sponsored limit is defined for exceeds maximum.338       **/339      TooManyMethodsHaveSponsoredLimit: AugmentedError<ApiType>;340      /**341       * Generic error342       **/343      [key: string]: AugmentedError<ApiType>;344    };345    evmMigration: {346      /**347       * Migration of this account is not yet started, or already finished.348       **/349      AccountIsNotMigrating: AugmentedError<ApiType>;350      /**351       * Can only migrate to empty address.352       **/353      AccountNotEmpty: AugmentedError<ApiType>;354      /**355       * Failed to decode event bytes356       **/357      BadEvent: AugmentedError<ApiType>;358      /**359       * Generic error360       **/361      [key: string]: AugmentedError<ApiType>;362    };363    foreignAssets: {364      /**365       * AssetId exists366       **/367      AssetIdExisted: AugmentedError<ApiType>;368      /**369       * AssetId not exists370       **/371      AssetIdNotExists: AugmentedError<ApiType>;372      /**373       * The given location could not be used (e.g. because it cannot be expressed in the374       * desired version of XCM).375       **/376      BadLocation: AugmentedError<ApiType>;377      /**378       * MultiLocation existed379       **/380      MultiLocationExisted: AugmentedError<ApiType>;381      /**382       * Generic error383       **/384      [key: string]: AugmentedError<ApiType>;385    };386    fungible: {387      /**388       * Fungible token does not support nesting.389       **/390      FungibleDisallowsNesting: AugmentedError<ApiType>;391      /**392       * Tried to set data for fungible item.393       **/394      FungibleItemsDontHaveData: AugmentedError<ApiType>;395      /**396       * Fungible tokens hold no ID, and the default value of TokenId for Fungible collection is 0.397       **/398      FungibleItemsHaveNoId: AugmentedError<ApiType>;399      /**400       * Not Fungible item data used to mint in Fungible collection.401       **/402      NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;403      /**404       * Setting allowance for all is not allowed.405       **/406      SettingAllowanceForAllNotAllowed: AugmentedError<ApiType>;407      /**408       * Setting item properties is not allowed.409       **/410      SettingPropertiesNotAllowed: AugmentedError<ApiType>;411      /**412       * Generic error413       **/414      [key: string]: AugmentedError<ApiType>;415    };416    maintenance: {417      /**418       * Generic error419       **/420      [key: string]: AugmentedError<ApiType>;421    };422    nonfungible: {423      /**424       * Unable to burn NFT with children425       **/426      CantBurnNftWithChildren: AugmentedError<ApiType>;427      /**428       * Used amount > 1 with NFT429       **/430      NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;431      /**432       * Not Nonfungible item data used to mint in Nonfungible collection.433       **/434      NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;435      /**436       * Generic error437       **/438      [key: string]: AugmentedError<ApiType>;439    };440    parachainSystem: {441      /**442       * The inherent which supplies the host configuration did not run this block443       **/444      HostConfigurationNotAvailable: AugmentedError<ApiType>;445      /**446       * No code upgrade has been authorized.447       **/448      NothingAuthorized: AugmentedError<ApiType>;449      /**450       * No validation function upgrade is currently scheduled.451       **/452      NotScheduled: AugmentedError<ApiType>;453      /**454       * Attempt to upgrade validation function while existing upgrade pending455       **/456      OverlappingUpgrades: AugmentedError<ApiType>;457      /**458       * Polkadot currently prohibits this parachain from upgrading its validation function459       **/460      ProhibitedByPolkadot: AugmentedError<ApiType>;461      /**462       * The supplied validation function has compiled into a blob larger than Polkadot is463       * willing to run464       **/465      TooBig: AugmentedError<ApiType>;466      /**467       * The given code upgrade has not been authorized.468       **/469      Unauthorized: AugmentedError<ApiType>;470      /**471       * The inherent which supplies the validation data did not run this block472       **/473      ValidationDataNotAvailable: AugmentedError<ApiType>;474      /**475       * Generic error476       **/477      [key: string]: AugmentedError<ApiType>;478    };479    polkadotXcm: {480      /**481       * The location is invalid since it already has a subscription from us.482       **/483      AlreadySubscribed: AugmentedError<ApiType>;484      /**485       * The given location could not be used (e.g. because it cannot be expressed in the486       * desired version of XCM).487       **/488      BadLocation: AugmentedError<ApiType>;489      /**490       * The version of the `Versioned` value used is not able to be interpreted.491       **/492      BadVersion: AugmentedError<ApiType>;493      /**494       * Could not re-anchor the assets to declare the fees for the destination chain.495       **/496      CannotReanchor: AugmentedError<ApiType>;497      /**498       * The destination `MultiLocation` provided cannot be inverted.499       **/500      DestinationNotInvertible: AugmentedError<ApiType>;501      /**502       * The assets to be sent are empty.503       **/504      Empty: AugmentedError<ApiType>;505      /**506       * The message execution fails the filter.507       **/508      Filtered: AugmentedError<ApiType>;509      /**510       * Origin is invalid for sending.511       **/512      InvalidOrigin: AugmentedError<ApiType>;513      /**514       * The referenced subscription could not be found.515       **/516      NoSubscription: AugmentedError<ApiType>;517      /**518       * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps519       * a lack of space for buffering the message.520       **/521      SendFailure: AugmentedError<ApiType>;522      /**523       * Too many assets have been attempted for transfer.524       **/525      TooManyAssets: AugmentedError<ApiType>;526      /**527       * The desired destination was unreachable, generally because there is a no way of routing528       * to it.529       **/530      Unreachable: AugmentedError<ApiType>;531      /**532       * The message's weight could not be determined.533       **/534      UnweighableMessage: AugmentedError<ApiType>;535      /**536       * Generic error537       **/538      [key: string]: AugmentedError<ApiType>;539    };540    refungible: {541      /**542       * Not Refungible item data used to mint in Refungible collection.543       **/544      NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;545      /**546       * Refungible token can't nest other tokens.547       **/548      RefungibleDisallowsNesting: AugmentedError<ApiType>;549      /**550       * Refungible token can't be repartitioned by user who isn't owns all pieces.551       **/552      RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;553      /**554       * Setting item properties is not allowed.555       **/556      SettingPropertiesNotAllowed: AugmentedError<ApiType>;557      /**558       * Maximum refungibility exceeded.559       **/560      WrongRefungiblePieces: AugmentedError<ApiType>;561      /**562       * Generic error563       **/564      [key: string]: AugmentedError<ApiType>;565    };566    rmrkCore: {567      /**568       * Not the target owner of the sent NFT.569       **/570      CannotAcceptNonOwnedNft: AugmentedError<ApiType>;571      /**572       * Not the target owner of the sent NFT.573       **/574      CannotRejectNonOwnedNft: AugmentedError<ApiType>;575      /**576       * NFT was not sent and is not pending.577       **/578      CannotRejectNonPendingNft: AugmentedError<ApiType>;579      /**580       * If an NFT is sent to a descendant, that would form a nesting loop, an ouroboros.581       * Sending to self is redundant.582       **/583      CannotSendToDescendentOrSelf: AugmentedError<ApiType>;584      /**585       * Too many tokens created in the collection, no new ones are allowed.586       **/587      CollectionFullOrLocked: AugmentedError<ApiType>;588      /**589       * Only destroying collections without tokens is allowed.590       **/591      CollectionNotEmpty: AugmentedError<ApiType>;592      /**593       * Collection does not exist, has a wrong type, or does not map to a Unique ID.594       **/595      CollectionUnknown: AugmentedError<ApiType>;596      /**597       * Property of the type of RMRK collection could not be read successfully.598       **/599      CorruptedCollectionType: AugmentedError<ApiType>;600      /**601       * Could not find an ID for a collection. It is likely there were too many collections created on the chain, causing an overflow.602       **/603      NoAvailableCollectionId: AugmentedError<ApiType>;604      /**605       * Token does not exist, or there is no suitable ID for it, likely too many tokens were created in a collection, causing an overflow.606       **/607      NoAvailableNftId: AugmentedError<ApiType>;608      /**609       * Could not find an ID for the resource. It is likely there were too many resources created on an NFT, causing an overflow.610       **/611      NoAvailableResourceId: AugmentedError<ApiType>;612      /**613       * Token is marked as non-transferable, and thus cannot be transferred.614       **/615      NonTransferable: AugmentedError<ApiType>;616      /**617       * No permission to perform action.618       **/619      NoPermission: AugmentedError<ApiType>;620      /**621       * No such resource found.622       **/623      ResourceDoesntExist: AugmentedError<ApiType>;624      /**625       * Resource is not pending for the operation.626       **/627      ResourceNotPending: AugmentedError<ApiType>;628      /**629       * Could not find a property by the supplied key.630       **/631      RmrkPropertyIsNotFound: AugmentedError<ApiType>;632      /**633       * Too many symbols supplied as the property key. The maximum is [256](up_data_structs::MAX_PROPERTY_KEY_LENGTH).634       **/635      RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;636      /**637       * Too many bytes supplied as the property value. The maximum is [32768](up_data_structs::MAX_PROPERTY_VALUE_LENGTH).638       **/639      RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;640      /**641       * Something went wrong when decoding encoded data from the storage.642       * Perhaps, there was a wrong key supplied for the type, or the data was improperly stored.643       **/644      UnableToDecodeRmrkData: AugmentedError<ApiType>;645      /**646       * Generic error647       **/648      [key: string]: AugmentedError<ApiType>;649    };650    rmrkEquip: {651      /**652       * Base collection linked to this ID does not exist.653       **/654      BaseDoesntExist: AugmentedError<ApiType>;655      /**656       * No Theme named "default" is associated with the Base.657       **/658      NeedsDefaultThemeFirst: AugmentedError<ApiType>;659      /**660       * Could not find an ID for a Base collection. It is likely there were too many collections created on the chain, causing an overflow.661       **/662      NoAvailableBaseId: AugmentedError<ApiType>;663      /**664       * Could not find a suitable ID for a Part, likely too many Part tokens were created in the Base, causing an overflow665       **/666      NoAvailablePartId: AugmentedError<ApiType>;667      /**668       * Cannot assign equippables to a fixed Part.669       **/670      NoEquippableOnFixedPart: AugmentedError<ApiType>;671      /**672       * Part linked to this ID does not exist.673       **/674      PartDoesntExist: AugmentedError<ApiType>;675      /**676       * No permission to perform action.677       **/678      PermissionError: AugmentedError<ApiType>;679      /**680       * Generic error681       **/682      [key: string]: AugmentedError<ApiType>;683    };684    scheduler: {685      /**686       * There is no place for a new task in the agenda687       **/688      AgendaIsExhausted: AugmentedError<ApiType>;689      /**690       * Failed to schedule a call691       **/692      FailedToSchedule: AugmentedError<ApiType>;693      /**694       * Attempt to use a non-named function on a named task.695       **/696      Named: AugmentedError<ApiType>;697      /**698       * Cannot find the scheduled call.699       **/700      NotFound: AugmentedError<ApiType>;701      /**702       * Scheduled call preimage is not found703       **/704      PreimageNotFound: AugmentedError<ApiType>;705      /**706       * Scheduled call is corrupted707       **/708      ScheduledCallCorrupted: AugmentedError<ApiType>;709      /**710       * Given target block number is in the past.711       **/712      TargetBlockNumberInPast: AugmentedError<ApiType>;713      /**714       * Scheduled call is too big715       **/716      TooBigScheduledCall: AugmentedError<ApiType>;717      /**718       * Generic error719       **/720      [key: string]: AugmentedError<ApiType>;721    };722    structure: {723      /**724       * While nesting, reached the breadth limit of nesting, exceeding the provided budget.725       **/726      BreadthLimit: AugmentedError<ApiType>;727      /**728       * While nesting, reached the depth limit of nesting, exceeding the provided budget.729       **/730      DepthLimit: AugmentedError<ApiType>;731      /**732       * While nesting, encountered an already checked account, detecting a loop.733       **/734      OuroborosDetected: AugmentedError<ApiType>;735      /**736       * Couldn't find the token owner that is itself a token.737       **/738      TokenNotFound: AugmentedError<ApiType>;739      /**740       * Generic error741       **/742      [key: string]: AugmentedError<ApiType>;743    };744    sudo: {745      /**746       * Sender must be the Sudo account747       **/748      RequireSudo: AugmentedError<ApiType>;749      /**750       * Generic error751       **/752      [key: string]: AugmentedError<ApiType>;753    };754    system: {755      /**756       * The origin filter prevent the call to be dispatched.757       **/758      CallFiltered: AugmentedError<ApiType>;759      /**760       * Failed to extract the runtime version from the new runtime.761       * 762       * Either calling `Core_version` or decoding `RuntimeVersion` failed.763       **/764      FailedToExtractRuntimeVersion: AugmentedError<ApiType>;765      /**766       * The name of specification does not match between the current runtime767       * and the new runtime.768       **/769      InvalidSpecName: AugmentedError<ApiType>;770      /**771       * Suicide called when the account has non-default composite data.772       **/773      NonDefaultComposite: AugmentedError<ApiType>;774      /**775       * There is a non-zero reference count preventing the account from being purged.776       **/777      NonZeroRefCount: AugmentedError<ApiType>;778      /**779       * The specification version is not allowed to decrease between the current runtime780       * and the new runtime.781       **/782      SpecVersionNeedsToIncrease: AugmentedError<ApiType>;783      /**784       * Generic error785       **/786      [key: string]: AugmentedError<ApiType>;787    };788    testUtils: {789      TestPalletDisabled: AugmentedError<ApiType>;790      TriggerRollback: AugmentedError<ApiType>;791      /**792       * Generic error793       **/794      [key: string]: AugmentedError<ApiType>;795    };796    tokens: {797      /**798       * Cannot convert Amount into Balance type799       **/800      AmountIntoBalanceFailed: AugmentedError<ApiType>;801      /**802       * The balance is too low803       **/804      BalanceTooLow: AugmentedError<ApiType>;805      /**806       * Beneficiary account must pre-exist807       **/808      DeadAccount: AugmentedError<ApiType>;809      /**810       * Value too low to create account due to existential deposit811       **/812      ExistentialDeposit: AugmentedError<ApiType>;813      /**814       * Transfer/payment would kill account815       **/816      KeepAlive: AugmentedError<ApiType>;817      /**818       * Failed because liquidity restrictions due to locking819       **/820      LiquidityRestrictions: AugmentedError<ApiType>;821      /**822       * Failed because the maximum locks was exceeded823       **/824      MaxLocksExceeded: AugmentedError<ApiType>;825      TooManyReserves: AugmentedError<ApiType>;826      /**827       * Generic error828       **/829      [key: string]: AugmentedError<ApiType>;830    };831    treasury: {832      /**833       * The spend origin is valid but the amount it is allowed to spend is lower than the834       * amount to be spent.835       **/836      InsufficientPermission: AugmentedError<ApiType>;837      /**838       * Proposer's balance is too low.839       **/840      InsufficientProposersBalance: AugmentedError<ApiType>;841      /**842       * No proposal or bounty at that index.843       **/844      InvalidIndex: AugmentedError<ApiType>;845      /**846       * Proposal has not been approved.847       **/848      ProposalNotApproved: AugmentedError<ApiType>;849      /**850       * Too many approvals in the queue.851       **/852      TooManyApprovals: AugmentedError<ApiType>;853      /**854       * Generic error855       **/856      [key: string]: AugmentedError<ApiType>;857    };858    unique: {859      /**860       * Decimal_points parameter must be lower than [`up_data_structs::MAX_DECIMAL_POINTS`].861       **/862      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;863      /**864       * Length of items properties must be greater than 0.865       **/866      EmptyArgument: AugmentedError<ApiType>;867      /**868       * Repertition is only supported by refungible collection.869       **/870      RepartitionCalledOnNonRefungibleCollection: AugmentedError<ApiType>;871      /**872       * Generic error873       **/874      [key: string]: AugmentedError<ApiType>;875    };876    vesting: {877      /**878       * The vested transfer amount is too low879       **/880      AmountLow: AugmentedError<ApiType>;881      /**882       * Insufficient amount of balance to lock883       **/884      InsufficientBalanceToLock: AugmentedError<ApiType>;885      /**886       * Failed because the maximum vesting schedules was exceeded887       **/888      MaxVestingSchedulesExceeded: AugmentedError<ApiType>;889      /**890       * This account have too many vesting schedules891       **/892      TooManyVestingSchedules: AugmentedError<ApiType>;893      /**894       * Vesting period is zero895       **/896      ZeroVestingPeriod: AugmentedError<ApiType>;897      /**898       * Number of vests is zero899       **/900      ZeroVestingPeriodCount: AugmentedError<ApiType>;901      /**902       * Generic error903       **/904      [key: string]: AugmentedError<ApiType>;905    };906    xcmpQueue: {907      /**908       * Bad overweight index.909       **/910      BadOverweightIndex: AugmentedError<ApiType>;911      /**912       * Bad XCM data.913       **/914      BadXcm: AugmentedError<ApiType>;915      /**916       * Bad XCM origin.917       **/918      BadXcmOrigin: AugmentedError<ApiType>;919      /**920       * Failed to send XCM message.921       **/922      FailedToSend: AugmentedError<ApiType>;923      /**924       * Provided weight is possibly not enough to execute the message.925       **/926      WeightOverLimit: AugmentedError<ApiType>;927      /**928       * Generic error929       **/930      [key: string]: AugmentedError<ApiType>;931    };932    xTokens: {933      /**934       * Asset has no reserve location.935       **/936      AssetHasNoReserve: AugmentedError<ApiType>;937      /**938       * The specified index does not exist in a MultiAssets struct.939       **/940      AssetIndexNonExistent: AugmentedError<ApiType>;941      /**942       * The version of the `Versioned` value used is not able to be943       * interpreted.944       **/945      BadVersion: AugmentedError<ApiType>;946      /**947       * Could not re-anchor the assets to declare the fees for the948       * destination chain.949       **/950      CannotReanchor: AugmentedError<ApiType>;951      /**952       * The destination `MultiLocation` provided cannot be inverted.953       **/954      DestinationNotInvertible: AugmentedError<ApiType>;955      /**956       * We tried sending distinct asset and fee but they have different957       * reserve chains.958       **/959      DistinctReserveForAssetAndFee: AugmentedError<ApiType>;960      /**961       * Fee is not enough.962       **/963      FeeNotEnough: AugmentedError<ApiType>;964      /**965       * Could not get ancestry of asset reserve location.966       **/967      InvalidAncestry: AugmentedError<ApiType>;968      /**969       * The MultiAsset is invalid.970       **/971      InvalidAsset: AugmentedError<ApiType>;972      /**973       * Invalid transfer destination.974       **/975      InvalidDest: AugmentedError<ApiType>;976      /**977       * MinXcmFee not registered for certain reserve location978       **/979      MinXcmFeeNotDefined: AugmentedError<ApiType>;980      /**981       * Not cross-chain transfer.982       **/983      NotCrossChainTransfer: AugmentedError<ApiType>;984      /**985       * Currency is not cross-chain transferable.986       **/987      NotCrossChainTransferableCurrency: AugmentedError<ApiType>;988      /**989       * Not supported MultiLocation990       **/991      NotSupportedMultiLocation: AugmentedError<ApiType>;992      /**993       * The number of assets to be sent is over the maximum.994       **/995      TooManyAssetsBeingSent: AugmentedError<ApiType>;996      /**997       * The message's weight could not be determined.998       **/999      UnweighableMessage: AugmentedError<ApiType>;1000      /**1001       * XCM execution failed.1002       **/1003      XcmExecutionFailed: AugmentedError<ApiType>;1004      /**1005       * The transfering asset amount is zero.1006       **/1007      ZeroAmount: AugmentedError<ApiType>;1008      /**1009       * The fee is zero.1010       **/1011      ZeroFee: AugmentedError<ApiType>;1012      /**1013       * Generic error1014       **/1015      [key: string]: AugmentedError<ApiType>;1016    };1017  } // AugmentedErrors1018} // declare module