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

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 is more than the approved61       **/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 symbols `_`, `-`, 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       * Insufficient funds to perform an 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 this one157       **/158      SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;159      /**160       * Item does not exist161       **/162      TokenNotFound: AugmentedError<ApiType>;163      /**164       * Item is balance not enough165       **/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 support this operation177       **/178      UnsupportedOperation: AugmentedError<ApiType>;179      /**180       * User does not satisfy the 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       * Fungible tokens hold no ID, and the default value of TokenId for Fungible collection is 0.289       **/290      FungibleItemsHaveNoId: AugmentedError<ApiType>;291      /**292       * Not Fungible item data used to mint in Fungible collection.293       **/294      NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;295      /**296       * Setting item properties is not allowed.297       **/298      SettingPropertiesNotAllowed: AugmentedError<ApiType>;299      /**300       * Generic error301       **/302      [key: string]: AugmentedError<ApiType>;303    };304    nonfungible: {305      /**306       * Unable to burn NFT with children307       **/308      CantBurnNftWithChildren: AugmentedError<ApiType>;309      /**310       * Used amount > 1 with NFT311       **/312      NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;313      /**314       * Not Nonfungible item data used to mint in Nonfungible collection.315       **/316      NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;317      /**318       * Generic error319       **/320      [key: string]: AugmentedError<ApiType>;321    };322    parachainSystem: {323      /**324       * The inherent which supplies the host configuration did not run this block325       **/326      HostConfigurationNotAvailable: AugmentedError<ApiType>;327      /**328       * No code upgrade has been authorized.329       **/330      NothingAuthorized: AugmentedError<ApiType>;331      /**332       * No validation function upgrade is currently scheduled.333       **/334      NotScheduled: AugmentedError<ApiType>;335      /**336       * Attempt to upgrade validation function while existing upgrade pending337       **/338      OverlappingUpgrades: AugmentedError<ApiType>;339      /**340       * Polkadot currently prohibits this parachain from upgrading its validation function341       **/342      ProhibitedByPolkadot: AugmentedError<ApiType>;343      /**344       * The supplied validation function has compiled into a blob larger than Polkadot is345       * willing to run346       **/347      TooBig: AugmentedError<ApiType>;348      /**349       * The given code upgrade has not been authorized.350       **/351      Unauthorized: AugmentedError<ApiType>;352      /**353       * The inherent which supplies the validation data did not run this block354       **/355      ValidationDataNotAvailable: AugmentedError<ApiType>;356      /**357       * Generic error358       **/359      [key: string]: AugmentedError<ApiType>;360    };361    polkadotXcm: {362      /**363       * The location is invalid since it already has a subscription from us.364       **/365      AlreadySubscribed: AugmentedError<ApiType>;366      /**367       * The given location could not be used (e.g. because it cannot be expressed in the368       * desired version of XCM).369       **/370      BadLocation: AugmentedError<ApiType>;371      /**372       * The version of the `Versioned` value used is not able to be interpreted.373       **/374      BadVersion: AugmentedError<ApiType>;375      /**376       * Could not re-anchor the assets to declare the fees for the destination chain.377       **/378      CannotReanchor: AugmentedError<ApiType>;379      /**380       * The destination `MultiLocation` provided cannot be inverted.381       **/382      DestinationNotInvertible: AugmentedError<ApiType>;383      /**384       * The assets to be sent are empty.385       **/386      Empty: AugmentedError<ApiType>;387      /**388       * The message execution fails the filter.389       **/390      Filtered: AugmentedError<ApiType>;391      /**392       * Origin is invalid for sending.393       **/394      InvalidOrigin: AugmentedError<ApiType>;395      /**396       * The referenced subscription could not be found.397       **/398      NoSubscription: AugmentedError<ApiType>;399      /**400       * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps401       * a lack of space for buffering the message.402       **/403      SendFailure: AugmentedError<ApiType>;404      /**405       * Too many assets have been attempted for transfer.406       **/407      TooManyAssets: AugmentedError<ApiType>;408      /**409       * The desired destination was unreachable, generally because there is a no way of routing410       * to it.411       **/412      Unreachable: AugmentedError<ApiType>;413      /**414       * The message's weight could not be determined.415       **/416      UnweighableMessage: AugmentedError<ApiType>;417      /**418       * Generic error419       **/420      [key: string]: AugmentedError<ApiType>;421    };422    refungible: {423      /**424       * Not Refungible item data used to mint in Refungible collection.425       **/426      NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;427      /**428       * Refungible token can't nest other tokens.429       **/430      RefungibleDisallowsNesting: AugmentedError<ApiType>;431      /**432       * Refungible token can't be repartitioned by user who isn't owns all pieces.433       **/434      RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;435      /**436       * Setting item properties is not allowed.437       **/438      SettingPropertiesNotAllowed: AugmentedError<ApiType>;439      /**440       * Maximum refungibility exceeded.441       **/442      WrongRefungiblePieces: AugmentedError<ApiType>;443      /**444       * Generic error445       **/446      [key: string]: AugmentedError<ApiType>;447    };448    rmrkCore: {449      CannotAcceptNonOwnedNft: AugmentedError<ApiType>;450      CannotRejectNonOwnedNft: AugmentedError<ApiType>;451      CannotRejectNonPendingNft: AugmentedError<ApiType>;452      CannotSendToDescendentOrSelf: AugmentedError<ApiType>;453      CollectionFullOrLocked: AugmentedError<ApiType>;454      CollectionNotEmpty: AugmentedError<ApiType>;455      CollectionUnknown: AugmentedError<ApiType>;456      CorruptedCollectionType: AugmentedError<ApiType>;457      NftTypeEncodeError: AugmentedError<ApiType>;458      NoAvailableCollectionId: AugmentedError<ApiType>;459      NoAvailableNftId: AugmentedError<ApiType>;460      NoAvailableResourceId: AugmentedError<ApiType>;461      NonTransferable: AugmentedError<ApiType>;462      NoPermission: AugmentedError<ApiType>;463      ResourceDoesntExist: AugmentedError<ApiType>;464      ResourceNotPending: AugmentedError<ApiType>;465      RmrkPropertyIsNotFound: AugmentedError<ApiType>;466      RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;467      RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;468      UnableToDecodeRmrkData: AugmentedError<ApiType>;469      /**470       * Generic error471       **/472      [key: string]: AugmentedError<ApiType>;473    };474    rmrkEquip: {475      BaseDoesntExist: AugmentedError<ApiType>;476      NeedsDefaultThemeFirst: AugmentedError<ApiType>;477      NoAvailableBaseId: AugmentedError<ApiType>;478      NoAvailablePartId: AugmentedError<ApiType>;479      NoEquippableOnFixedPart: AugmentedError<ApiType>;480      PartDoesntExist: AugmentedError<ApiType>;481      PermissionError: AugmentedError<ApiType>;482      /**483       * Generic error484       **/485      [key: string]: AugmentedError<ApiType>;486    };487    scheduler: {488      /**489       * Failed to schedule a call490       **/491      FailedToSchedule: AugmentedError<ApiType>;492      /**493       * Cannot find the scheduled call.494       **/495      NotFound: AugmentedError<ApiType>;496      /**497       * Reschedule failed because it does not change scheduled time.498       **/499      RescheduleNoChange: AugmentedError<ApiType>;500      /**501       * Given target block number is in the past.502       **/503      TargetBlockNumberInPast: AugmentedError<ApiType>;504      /**505       * Generic error506       **/507      [key: string]: AugmentedError<ApiType>;508    };509    structure: {510      /**511       * While iterating over children, reached the breadth limit.512       **/513      BreadthLimit: AugmentedError<ApiType>;514      /**515       * While searching for the owner, reached the depth limit.516       **/517      DepthLimit: AugmentedError<ApiType>;518      /**519       * While searching for the owner, encountered an already checked account, detecting a loop.520       **/521      OuroborosDetected: AugmentedError<ApiType>;522      /**523       * Couldn't find the token owner that is itself a token.524       **/525      TokenNotFound: AugmentedError<ApiType>;526      /**527       * Generic error528       **/529      [key: string]: AugmentedError<ApiType>;530    };531    sudo: {532      /**533       * Sender must be the Sudo account534       **/535      RequireSudo: AugmentedError<ApiType>;536      /**537       * Generic error538       **/539      [key: string]: AugmentedError<ApiType>;540    };541    system: {542      /**543       * The origin filter prevent the call to be dispatched.544       **/545      CallFiltered: AugmentedError<ApiType>;546      /**547       * Failed to extract the runtime version from the new runtime.548       * 549       * Either calling `Core_version` or decoding `RuntimeVersion` failed.550       **/551      FailedToExtractRuntimeVersion: AugmentedError<ApiType>;552      /**553       * The name of specification does not match between the current runtime554       * and the new runtime.555       **/556      InvalidSpecName: AugmentedError<ApiType>;557      /**558       * Suicide called when the account has non-default composite data.559       **/560      NonDefaultComposite: AugmentedError<ApiType>;561      /**562       * There is a non-zero reference count preventing the account from being purged.563       **/564      NonZeroRefCount: AugmentedError<ApiType>;565      /**566       * The specification version is not allowed to decrease between the current runtime567       * and the new runtime.568       **/569      SpecVersionNeedsToIncrease: AugmentedError<ApiType>;570      /**571       * Generic error572       **/573      [key: string]: AugmentedError<ApiType>;574    };575    treasury: {576      /**577       * Proposer's balance is too low.578       **/579      InsufficientProposersBalance: AugmentedError<ApiType>;580      /**581       * No proposal or bounty at that index.582       **/583      InvalidIndex: AugmentedError<ApiType>;584      /**585       * Proposal has not been approved.586       **/587      ProposalNotApproved: AugmentedError<ApiType>;588      /**589       * Too many approvals in the queue.590       **/591      TooManyApprovals: AugmentedError<ApiType>;592      /**593       * Generic error594       **/595      [key: string]: AugmentedError<ApiType>;596    };597    unique: {598      /**599       * Decimal_points parameter must be lower than [`up_data_structs::MAX_DECIMAL_POINTS`].600       **/601      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;602      /**603       * This address is not set as sponsor, use setCollectionSponsor first.604       **/605      ConfirmUnsetSponsorFail: AugmentedError<ApiType>;606      /**607       * Length of items properties must be greater than 0.608       **/609      EmptyArgument: AugmentedError<ApiType>;610      /**611       * Repertition is only supported by refungible collection.612       **/613      RepartitionCalledOnNonRefungibleCollection: AugmentedError<ApiType>;614      /**615       * Generic error616       **/617      [key: string]: AugmentedError<ApiType>;618    };619    vesting: {620      /**621       * The vested transfer amount is too low622       **/623      AmountLow: AugmentedError<ApiType>;624      /**625       * Insufficient amount of balance to lock626       **/627      InsufficientBalanceToLock: AugmentedError<ApiType>;628      /**629       * Failed because the maximum vesting schedules was exceeded630       **/631      MaxVestingSchedulesExceeded: AugmentedError<ApiType>;632      /**633       * This account have too many vesting schedules634       **/635      TooManyVestingSchedules: AugmentedError<ApiType>;636      /**637       * Vesting period is zero638       **/639      ZeroVestingPeriod: AugmentedError<ApiType>;640      /**641       * Number of vests is zero642       **/643      ZeroVestingPeriodCount: AugmentedError<ApiType>;644      /**645       * Generic error646       **/647      [key: string]: AugmentedError<ApiType>;648    };649    xcmpQueue: {650      /**651       * Bad overweight index.652       **/653      BadOverweightIndex: AugmentedError<ApiType>;654      /**655       * Bad XCM data.656       **/657      BadXcm: AugmentedError<ApiType>;658      /**659       * Bad XCM origin.660       **/661      BadXcmOrigin: AugmentedError<ApiType>;662      /**663       * Failed to send XCM message.664       **/665      FailedToSend: AugmentedError<ApiType>;666      /**667       * Provided weight is possibly not enough to execute the message.668       **/669      WeightOverLimit: AugmentedError<ApiType>;670      /**671       * Generic error672       **/673      [key: string]: AugmentedError<ApiType>;674    };675  } // AugmentedErrors676} // declare module