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

difftreelog

source

tests/src/interfaces/augment-api-errors.ts20.2 KiBsourcehistory
1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { ApiTypes } from '@polkadot/api-base/types';56declare module '@polkadot/api-base/types/errors' {7  export interface AugmentedErrors<ApiType extends ApiTypes> {8    balances: {9      /**10       * Beneficiary account must pre-exist11       **/12      DeadAccount: AugmentedError<ApiType>;13      /**14       * Value too low to create account due to existential deposit15       **/16      ExistentialDeposit: AugmentedError<ApiType>;17      /**18       * A vesting schedule already exists for this account19       **/20      ExistingVestingSchedule: AugmentedError<ApiType>;21      /**22       * Balance too low to send value23       **/24      InsufficientBalance: AugmentedError<ApiType>;25      /**26       * Transfer/payment would kill account27       **/28      KeepAlive: AugmentedError<ApiType>;29      /**30       * Account liquidity restrictions prevent withdrawal31       **/32      LiquidityRestrictions: AugmentedError<ApiType>;33      /**34       * Number of named reserves exceed MaxReserves35       **/36      TooManyReserves: AugmentedError<ApiType>;37      /**38       * Vesting balance too high to send value39       **/40      VestingBalance: AugmentedError<ApiType>;41      /**42       * Generic error43       **/44      [key: string]: AugmentedError<ApiType>;45    };46    common: {47      /**48       * Account token limit exceeded per collection49       **/50      AccountTokenLimitExceeded: AugmentedError<ApiType>;51      /**52       * Can't transfer tokens to ethereum zero address53       **/54      AddressIsZero: AugmentedError<ApiType>;55      /**56       * Address is not in allow list.57       **/58      AddressNotInAllowlist: AugmentedError<ApiType>;59      /**60       * Requested value more than approved.61       **/62      ApprovedValueTooLow: AugmentedError<ApiType>;63      /**64       * Tried to approve more than owned65       **/66      CantApproveMoreThanOwned: AugmentedError<ApiType>;67      /**68       * Destroying only empty collections is allowed69       **/70      CantDestroyNotEmptyCollection: AugmentedError<ApiType>;71      /**72       * Exceeded max admin count73       **/74      CollectionAdminCountExceeded: AugmentedError<ApiType>;75      /**76       * Collection description can not be longer than 255 char.77       **/78      CollectionDescriptionLimitExceeded: AugmentedError<ApiType>;79      /**80       * Tried to store more data than allowed in collection field81       **/82      CollectionFieldSizeExceeded: AugmentedError<ApiType>;83      /**84       * Tried to access an external collection with an internal API85       **/86      CollectionIsExternal: AugmentedError<ApiType>;87      /**88       * Tried to access an internal collection with an external API89       **/90      CollectionIsInternal: AugmentedError<ApiType>;91      /**92       * Collection limit bounds per collection exceeded93       **/94      CollectionLimitBoundsExceeded: AugmentedError<ApiType>;95      /**96       * Collection name can not be longer than 63 char.97       **/98      CollectionNameLimitExceeded: AugmentedError<ApiType>;99      /**100       * This collection does not exist.101       **/102      CollectionNotFound: AugmentedError<ApiType>;103      /**104       * Collection token limit exceeded105       **/106      CollectionTokenLimitExceeded: AugmentedError<ApiType>;107      /**108       * Token prefix can not be longer than 15 char.109       **/110      CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;111      /**112       * Empty property keys are forbidden113       **/114      EmptyPropertyKey: AugmentedError<ApiType>;115      /**116       * Only ASCII letters, digits, and '_', '-' are allowed117       **/118      InvalidCharacterInPropertyKey: AugmentedError<ApiType>;119      /**120       * Metadata flag frozen121       **/122      MetadataFlagFrozen: AugmentedError<ApiType>;123      /**124       * Sender parameter and item owner must be equal.125       **/126      MustBeTokenOwner: AugmentedError<ApiType>;127      /**128       * No permission to perform action129       **/130      NoPermission: AugmentedError<ApiType>;131      /**132       * Tried to store more property data than allowed133       **/134      NoSpaceForProperty: AugmentedError<ApiType>;135      /**136       * Not sufficient funds to perform action137       **/138      NotSufficientFounds: AugmentedError<ApiType>;139      /**140       * Tried to enable permissions which are only permitted to be disabled141       **/142      OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;143      /**144       * Property key is too long145       **/146      PropertyKeyIsTooLong: AugmentedError<ApiType>;147      /**148       * Tried to store more property keys than allowed149       **/150      PropertyLimitReached: AugmentedError<ApiType>;151      /**152       * Collection is not in mint mode.153       **/154      PublicMintingNotAllowed: AugmentedError<ApiType>;155      /**156       * Only tokens from specific collections may nest tokens under this157       **/158      SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;159      /**160       * Item not exists.161       **/162      TokenNotFound: AugmentedError<ApiType>;163      /**164       * Item balance not enough.165       **/166      TokenValueTooLow: AugmentedError<ApiType>;167      /**168       * Total collections bound exceeded.169       **/170      TotalCollectionsLimitExceeded: AugmentedError<ApiType>;171      /**172       * Collection settings not allowing items transferring173       **/174      TransferNotAllowed: AugmentedError<ApiType>;175      /**176       * Target collection doesn't supports this operation177       **/178      UnsupportedOperation: AugmentedError<ApiType>;179      /**180       * User not passed nesting rule181       **/182      UserIsNotAllowedToNest: AugmentedError<ApiType>;183      /**184       * Generic error185       **/186      [key: string]: AugmentedError<ApiType>;187    };188    cumulusXcm: {189      /**190       * Generic error191       **/192      [key: string]: AugmentedError<ApiType>;193    };194    dmpQueue: {195      /**196       * The amount of weight given is possibly not enough for executing the message.197       **/198      OverLimit: AugmentedError<ApiType>;199      /**200       * The message index given is unknown.201       **/202      Unknown: AugmentedError<ApiType>;203      /**204       * Generic error205       **/206      [key: string]: AugmentedError<ApiType>;207    };208    ethereum: {209      /**210       * Signature is invalid.211       **/212      InvalidSignature: AugmentedError<ApiType>;213      /**214       * Pre-log is present, therefore transact is not allowed.215       **/216      PreLogExists: AugmentedError<ApiType>;217      /**218       * Generic error219       **/220      [key: string]: AugmentedError<ApiType>;221    };222    evm: {223      /**224       * Not enough balance to perform action225       **/226      BalanceLow: AugmentedError<ApiType>;227      /**228       * Calculating total fee overflowed229       **/230      FeeOverflow: AugmentedError<ApiType>;231      /**232       * Gas price is too low.233       **/234      GasPriceTooLow: AugmentedError<ApiType>;235      /**236       * Nonce is invalid237       **/238      InvalidNonce: AugmentedError<ApiType>;239      /**240       * Calculating total payment overflowed241       **/242      PaymentOverflow: AugmentedError<ApiType>;243      /**244       * Withdraw fee failed245       **/246      WithdrawFailed: AugmentedError<ApiType>;247      /**248       * Generic error249       **/250      [key: string]: AugmentedError<ApiType>;251    };252    evmCoderSubstrate: {253      OutOfFund: AugmentedError<ApiType>;254      OutOfGas: AugmentedError<ApiType>;255      /**256       * Generic error257       **/258      [key: string]: AugmentedError<ApiType>;259    };260    evmContractHelpers: {261      /**262       * This method is only executable by owner263       **/264      NoPermission: AugmentedError<ApiType>;265      /**266       * Generic error267       **/268      [key: string]: AugmentedError<ApiType>;269    };270    evmMigration: {271      AccountIsNotMigrating: AugmentedError<ApiType>;272      AccountNotEmpty: AugmentedError<ApiType>;273      /**274       * Generic error275       **/276      [key: string]: AugmentedError<ApiType>;277    };278    fungible: {279      /**280       * Fungible token does not support nesting.281       **/282      FungibleDisallowsNesting: AugmentedError<ApiType>;283      /**284       * Tried to set data for fungible item.285       **/286      FungibleItemsDontHaveData: AugmentedError<ApiType>;287      /**288       * Not default id passed as TokenId argument.289       * The default value of TokenId for Fungible collection is 0.290       **/291      FungibleItemsHaveNoId: AugmentedError<ApiType>;292      /**293       * Not Fungible item data used to mint in Fungible collection.294       **/295      NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;296      /**297       * Setting item properties is not allowed.298       **/299      SettingPropertiesNotAllowed: AugmentedError<ApiType>;300      /**301       * Generic error302       **/303      [key: string]: AugmentedError<ApiType>;304    };305    nonfungible: {306      /**307       * Unable to burn NFT with children308       **/309      CantBurnNftWithChildren: AugmentedError<ApiType>;310      /**311       * Used amount > 1 with NFT312       **/313      NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;314      /**315       * Not Nonfungible item data used to mint in Nonfungible collection.316       **/317      NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;318      /**319       * Generic error320       **/321      [key: string]: AugmentedError<ApiType>;322    };323    parachainSystem: {324      /**325       * The inherent which supplies the host configuration did not run this block326       **/327      HostConfigurationNotAvailable: AugmentedError<ApiType>;328      /**329       * No code upgrade has been authorized.330       **/331      NothingAuthorized: AugmentedError<ApiType>;332      /**333       * No validation function upgrade is currently scheduled.334       **/335      NotScheduled: AugmentedError<ApiType>;336      /**337       * Attempt to upgrade validation function while existing upgrade pending338       **/339      OverlappingUpgrades: AugmentedError<ApiType>;340      /**341       * Polkadot currently prohibits this parachain from upgrading its validation function342       **/343      ProhibitedByPolkadot: AugmentedError<ApiType>;344      /**345       * The supplied validation function has compiled into a blob larger than Polkadot is346       * willing to run347       **/348      TooBig: AugmentedError<ApiType>;349      /**350       * The given code upgrade has not been authorized.351       **/352      Unauthorized: AugmentedError<ApiType>;353      /**354       * The inherent which supplies the validation data did not run this block355       **/356      ValidationDataNotAvailable: AugmentedError<ApiType>;357      /**358       * Generic error359       **/360      [key: string]: AugmentedError<ApiType>;361    };362    polkadotXcm: {363      /**364       * The location is invalid since it already has a subscription from us.365       **/366      AlreadySubscribed: AugmentedError<ApiType>;367      /**368       * The given location could not be used (e.g. because it cannot be expressed in the369       * desired version of XCM).370       **/371      BadLocation: AugmentedError<ApiType>;372      /**373       * The version of the `Versioned` value used is not able to be interpreted.374       **/375      BadVersion: AugmentedError<ApiType>;376      /**377       * Could not re-anchor the assets to declare the fees for the destination chain.378       **/379      CannotReanchor: AugmentedError<ApiType>;380      /**381       * The destination `MultiLocation` provided cannot be inverted.382       **/383      DestinationNotInvertible: AugmentedError<ApiType>;384      /**385       * The assets to be sent are empty.386       **/387      Empty: AugmentedError<ApiType>;388      /**389       * The message execution fails the filter.390       **/391      Filtered: AugmentedError<ApiType>;392      /**393       * Origin is invalid for sending.394       **/395      InvalidOrigin: AugmentedError<ApiType>;396      /**397       * The referenced subscription could not be found.398       **/399      NoSubscription: AugmentedError<ApiType>;400      /**401       * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps402       * a lack of space for buffering the message.403       **/404      SendFailure: AugmentedError<ApiType>;405      /**406       * Too many assets have been attempted for transfer.407       **/408      TooManyAssets: AugmentedError<ApiType>;409      /**410       * The desired destination was unreachable, generally because there is a no way of routing411       * to it.412       **/413      Unreachable: AugmentedError<ApiType>;414      /**415       * The message's weight could not be determined.416       **/417      UnweighableMessage: AugmentedError<ApiType>;418      /**419       * Generic error420       **/421      [key: string]: AugmentedError<ApiType>;422    };423    refungible: {424      /**425       * Not Refungible item data used to mint in Refungible collection.426       **/427      NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;428      /**429       * Refungible token can't nest other tokens430       **/431      RefungibleDisallowsNesting: AugmentedError<ApiType>;432      /**433       * Refungible token can't be repartitioned by user who isn't owns all pieces434       **/435      RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;436      /**437       * Setting item properties is not allowed438       **/439      SettingPropertiesNotAllowed: AugmentedError<ApiType>;440      /**441       * Maximum refungibility exceeded442       **/443      WrongRefungiblePieces: AugmentedError<ApiType>;444      /**445       * Generic error446       **/447      [key: string]: AugmentedError<ApiType>;448    };449    rmrkCore: {450      CannotAcceptNonOwnedNft: AugmentedError<ApiType>;451      CannotRejectNonOwnedNft: AugmentedError<ApiType>;452      CannotRejectNonPendingNft: AugmentedError<ApiType>;453      CannotSendToDescendentOrSelf: AugmentedError<ApiType>;454      CollectionFullOrLocked: AugmentedError<ApiType>;455      CollectionNotEmpty: AugmentedError<ApiType>;456      CollectionUnknown: AugmentedError<ApiType>;457      CorruptedCollectionType: AugmentedError<ApiType>;458      NftTypeEncodeError: AugmentedError<ApiType>;459      NoAvailableCollectionId: AugmentedError<ApiType>;460      NoAvailableNftId: AugmentedError<ApiType>;461      NoAvailableResourceId: AugmentedError<ApiType>;462      NonTransferable: AugmentedError<ApiType>;463      NoPermission: AugmentedError<ApiType>;464      ResourceDoesntExist: AugmentedError<ApiType>;465      ResourceNotPending: AugmentedError<ApiType>;466      RmrkPropertyIsNotFound: AugmentedError<ApiType>;467      RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;468      RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;469      UnableToDecodeRmrkData: AugmentedError<ApiType>;470      /**471       * Generic error472       **/473      [key: string]: AugmentedError<ApiType>;474    };475    rmrkEquip: {476      BaseDoesntExist: AugmentedError<ApiType>;477      NeedsDefaultThemeFirst: AugmentedError<ApiType>;478      NoAvailableBaseId: AugmentedError<ApiType>;479      NoAvailablePartId: AugmentedError<ApiType>;480      NoEquippableOnFixedPart: AugmentedError<ApiType>;481      PartDoesntExist: AugmentedError<ApiType>;482      PermissionError: AugmentedError<ApiType>;483      /**484       * Generic error485       **/486      [key: string]: AugmentedError<ApiType>;487    };488    scheduler: {489      /**490       * Failed to schedule a call491       **/492      FailedToSchedule: AugmentedError<ApiType>;493      /**494       * Cannot find the scheduled call.495       **/496      NotFound: AugmentedError<ApiType>;497      /**498       * Reschedule failed because it does not change scheduled time.499       **/500      RescheduleNoChange: AugmentedError<ApiType>;501      /**502       * Given target block number is in the past.503       **/504      TargetBlockNumberInPast: AugmentedError<ApiType>;505      /**506       * Generic error507       **/508      [key: string]: AugmentedError<ApiType>;509    };510    structure: {511      /**512       * While iterating over children, encountered breadth limit513       **/514      BreadthLimit: AugmentedError<ApiType>;515      /**516       * While searched for owner, encountered depth limit517       **/518      DepthLimit: AugmentedError<ApiType>;519      /**520       * While searched for owner, got already checked account521       **/522      OuroborosDetected: AugmentedError<ApiType>;523      /**524       * While searched for owner, found token owner by not-yet-existing token525       **/526      TokenNotFound: AugmentedError<ApiType>;527      /**528       * Generic error529       **/530      [key: string]: AugmentedError<ApiType>;531    };532    sudo: {533      /**534       * Sender must be the Sudo account535       **/536      RequireSudo: AugmentedError<ApiType>;537      /**538       * Generic error539       **/540      [key: string]: AugmentedError<ApiType>;541    };542    system: {543      /**544       * The origin filter prevent the call to be dispatched.545       **/546      CallFiltered: AugmentedError<ApiType>;547      /**548       * Failed to extract the runtime version from the new runtime.549       * 550       * Either calling `Core_version` or decoding `RuntimeVersion` failed.551       **/552      FailedToExtractRuntimeVersion: AugmentedError<ApiType>;553      /**554       * The name of specification does not match between the current runtime555       * and the new runtime.556       **/557      InvalidSpecName: AugmentedError<ApiType>;558      /**559       * Suicide called when the account has non-default composite data.560       **/561      NonDefaultComposite: AugmentedError<ApiType>;562      /**563       * There is a non-zero reference count preventing the account from being purged.564       **/565      NonZeroRefCount: AugmentedError<ApiType>;566      /**567       * The specification version is not allowed to decrease between the current runtime568       * and the new runtime.569       **/570      SpecVersionNeedsToIncrease: AugmentedError<ApiType>;571      /**572       * Generic error573       **/574      [key: string]: AugmentedError<ApiType>;575    };576    treasury: {577      /**578       * Proposer's balance is too low.579       **/580      InsufficientProposersBalance: AugmentedError<ApiType>;581      /**582       * No proposal or bounty at that index.583       **/584      InvalidIndex: AugmentedError<ApiType>;585      /**586       * Proposal has not been approved.587       **/588      ProposalNotApproved: AugmentedError<ApiType>;589      /**590       * Too many approvals in the queue.591       **/592      TooManyApprovals: AugmentedError<ApiType>;593      /**594       * Generic error595       **/596      [key: string]: AugmentedError<ApiType>;597    };598    unique: {599      /**600       * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.601       **/602      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;603      /**604       * This address is not set as sponsor, use setCollectionSponsor first.605       **/606      ConfirmUnsetSponsorFail: AugmentedError<ApiType>;607      /**608       * Length of items properties must be greater than 0.609       **/610      EmptyArgument: AugmentedError<ApiType>;611      /**612       * Repertition is only supported by refungible collection613       **/614      RepartitionCalledOnNonRefungibleCollection: AugmentedError<ApiType>;615      /**616       * Generic error617       **/618      [key: string]: AugmentedError<ApiType>;619    };620    vesting: {621      /**622       * The vested transfer amount is too low623       **/624      AmountLow: AugmentedError<ApiType>;625      /**626       * Insufficient amount of balance to lock627       **/628      InsufficientBalanceToLock: AugmentedError<ApiType>;629      /**630       * Failed because the maximum vesting schedules was exceeded631       **/632      MaxVestingSchedulesExceeded: AugmentedError<ApiType>;633      /**634       * This account have too many vesting schedules635       **/636      TooManyVestingSchedules: AugmentedError<ApiType>;637      /**638       * Vesting period is zero639       **/640      ZeroVestingPeriod: AugmentedError<ApiType>;641      /**642       * Number of vests is zero643       **/644      ZeroVestingPeriodCount: AugmentedError<ApiType>;645      /**646       * Generic error647       **/648      [key: string]: AugmentedError<ApiType>;649    };650    xcmpQueue: {651      /**652       * Bad overweight index.653       **/654      BadOverweightIndex: AugmentedError<ApiType>;655      /**656       * Bad XCM data.657       **/658      BadXcm: AugmentedError<ApiType>;659      /**660       * Bad XCM origin.661       **/662      BadXcmOrigin: AugmentedError<ApiType>;663      /**664       * Failed to send XCM message.665       **/666      FailedToSend: AugmentedError<ApiType>;667      /**668       * Provided weight is possibly not enough to execute the message.669       **/670      WeightOverLimit: AugmentedError<ApiType>;671      /**672       * Generic error673       **/674      [key: string]: AugmentedError<ApiType>;675    };676  } // AugmentedErrors677} // declare module