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

difftreelog

source

tests/src/interfaces/augment-api-errors.ts16.9 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       * Exceeded max admin count69       **/70      CollectionAdminCountExceeded: AugmentedError<ApiType>;71      /**72       * Collection description can not be longer than 255 char.73       **/74      CollectionDescriptionLimitExceeded: AugmentedError<ApiType>;75      /**76       * Tried to store more data than allowed in collection field77       **/78      CollectionFieldSizeExceeded: AugmentedError<ApiType>;79      /**80       * Collection limit bounds per collection exceeded81       **/82      CollectionLimitBoundsExceeded: AugmentedError<ApiType>;83      /**84       * Collection name can not be longer than 63 char.85       **/86      CollectionNameLimitExceeded: AugmentedError<ApiType>;87      /**88       * This collection does not exist.89       **/90      CollectionNotFound: AugmentedError<ApiType>;91      /**92       * Collection token limit exceeded93       **/94      CollectionTokenLimitExceeded: AugmentedError<ApiType>;95      /**96       * Token prefix can not be longer than 15 char.97       **/98      CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;99      /**100       * Empty property keys are forbidden101       **/102      EmptyPropertyKey: AugmentedError<ApiType>;103      /**104       * Only ASCII letters, digits, and '_', '-' are allowed105       **/106      InvalidCharacterInPropertyKey: AugmentedError<ApiType>;107      /**108       * Metadata flag frozen109       **/110      MetadataFlagFrozen: AugmentedError<ApiType>;111      /**112       * Sender parameter and item owner must be equal.113       **/114      MustBeTokenOwner: AugmentedError<ApiType>;115      /**116       * Collection has nesting disabled117       **/118      NestingIsDisabled: AugmentedError<ApiType>;119      /**120       * No permission to perform action121       **/122      NoPermission: AugmentedError<ApiType>;123      /**124       * Tried to store more property data than allowed125       **/126      NoSpaceForProperty: AugmentedError<ApiType>;127      /**128       * Not sufficient founds to perform action129       **/130      NotSufficientFounds: AugmentedError<ApiType>;131      /**132       * Only owner may nest tokens under this collection133       **/134      OnlyOwnerAllowedToNest: AugmentedError<ApiType>;135      /**136       * Tried to enable permissions which are only permitted to be disabled137       **/138      OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;139      /**140       * Property key is too long141       **/142      PropertyKeyIsTooLong: AugmentedError<ApiType>;143      /**144       * Tried to store more property keys than allowed145       **/146      PropertyLimitReached: AugmentedError<ApiType>;147      /**148       * Collection is not in mint mode.149       **/150      PublicMintingNotAllowed: AugmentedError<ApiType>;151      /**152       * Only tokens from specific collections may nest tokens under this153       **/154      SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;155      /**156       * Item not exists.157       **/158      TokenNotFound: AugmentedError<ApiType>;159      /**160       * Item balance not enough.161       **/162      TokenValueTooLow: AugmentedError<ApiType>;163      /**164       * Total collections bound exceeded.165       **/166      TotalCollectionsLimitExceeded: AugmentedError<ApiType>;167      /**168       * Collection settings not allowing items transferring169       **/170      TransferNotAllowed: AugmentedError<ApiType>;171      /**172       * Target collection doesn't supports this operation173       **/174      UnsupportedOperation: AugmentedError<ApiType>;175      /**176       * Generic error177       **/178      [key: string]: AugmentedError<ApiType>;179    };180    cumulusXcm: {181      /**182       * Generic error183       **/184      [key: string]: AugmentedError<ApiType>;185    };186    dmpQueue: {187      /**188       * The amount of weight given is possibly not enough for executing the message.189       **/190      OverLimit: AugmentedError<ApiType>;191      /**192       * The message index given is unknown.193       **/194      Unknown: AugmentedError<ApiType>;195      /**196       * Generic error197       **/198      [key: string]: AugmentedError<ApiType>;199    };200    ethereum: {201      /**202       * Signature is invalid.203       **/204      InvalidSignature: AugmentedError<ApiType>;205      /**206       * Pre-log is present, therefore transact is not allowed.207       **/208      PreLogExists: AugmentedError<ApiType>;209      /**210       * Generic error211       **/212      [key: string]: AugmentedError<ApiType>;213    };214    evm: {215      /**216       * Not enough balance to perform action217       **/218      BalanceLow: AugmentedError<ApiType>;219      /**220       * Calculating total fee overflowed221       **/222      FeeOverflow: AugmentedError<ApiType>;223      /**224       * Gas price is too low.225       **/226      GasPriceTooLow: AugmentedError<ApiType>;227      /**228       * Nonce is invalid229       **/230      InvalidNonce: AugmentedError<ApiType>;231      /**232       * Calculating total payment overflowed233       **/234      PaymentOverflow: AugmentedError<ApiType>;235      /**236       * Withdraw fee failed237       **/238      WithdrawFailed: AugmentedError<ApiType>;239      /**240       * Generic error241       **/242      [key: string]: AugmentedError<ApiType>;243    };244    evmCoderSubstrate: {245      OutOfFund: AugmentedError<ApiType>;246      OutOfGas: AugmentedError<ApiType>;247      /**248       * Generic error249       **/250      [key: string]: AugmentedError<ApiType>;251    };252    evmContractHelpers: {253      /**254       * This method is only executable by owner255       **/256      NoPermission: AugmentedError<ApiType>;257      /**258       * Generic error259       **/260      [key: string]: AugmentedError<ApiType>;261    };262    evmMigration: {263      AccountIsNotMigrating: AugmentedError<ApiType>;264      AccountNotEmpty: AugmentedError<ApiType>;265      /**266       * Generic error267       **/268      [key: string]: AugmentedError<ApiType>;269    };270    fungible: {271      /**272       * Fungible token does not support nested273       **/274      FungibleDisallowsNesting: AugmentedError<ApiType>;275      /**276       * Tried to set data for fungible item277       **/278      FungibleItemsDontHaveData: AugmentedError<ApiType>;279      /**280       * Not default id passed as TokenId argument281       **/282      FungibleItemsHaveNoId: AugmentedError<ApiType>;283      /**284       * Not Fungible item data used to mint in Fungible collection.285       **/286      NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;287      /**288       * Setting item properties is not allowed289       **/290      SettingPropertiesNotAllowed: AugmentedError<ApiType>;291      /**292       * Generic error293       **/294      [key: string]: AugmentedError<ApiType>;295    };296    nonfungible: {297      /**298       * Used amount > 1 with NFT299       **/300      NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;301      /**302       * Not Nonfungible item data used to mint in Nonfungible collection.303       **/304      NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;305      /**306       * Generic error307       **/308      [key: string]: AugmentedError<ApiType>;309    };310    parachainSystem: {311      /**312       * The inherent which supplies the host configuration did not run this block313       **/314      HostConfigurationNotAvailable: AugmentedError<ApiType>;315      /**316       * No code upgrade has been authorized.317       **/318      NothingAuthorized: AugmentedError<ApiType>;319      /**320       * No validation function upgrade is currently scheduled.321       **/322      NotScheduled: AugmentedError<ApiType>;323      /**324       * Attempt to upgrade validation function while existing upgrade pending325       **/326      OverlappingUpgrades: AugmentedError<ApiType>;327      /**328       * Polkadot currently prohibits this parachain from upgrading its validation function329       **/330      ProhibitedByPolkadot: AugmentedError<ApiType>;331      /**332       * The supplied validation function has compiled into a blob larger than Polkadot is333       * willing to run334       **/335      TooBig: AugmentedError<ApiType>;336      /**337       * The given code upgrade has not been authorized.338       **/339      Unauthorized: AugmentedError<ApiType>;340      /**341       * The inherent which supplies the validation data did not run this block342       **/343      ValidationDataNotAvailable: AugmentedError<ApiType>;344      /**345       * Generic error346       **/347      [key: string]: AugmentedError<ApiType>;348    };349    polkadotXcm: {350      /**351       * The location is invalid since it already has a subscription from us.352       **/353      AlreadySubscribed: AugmentedError<ApiType>;354      /**355       * The given location could not be used (e.g. because it cannot be expressed in the356       * desired version of XCM).357       **/358      BadLocation: AugmentedError<ApiType>;359      /**360       * The version of the `Versioned` value used is not able to be interpreted.361       **/362      BadVersion: AugmentedError<ApiType>;363      /**364       * Could not re-anchor the assets to declare the fees for the destination chain.365       **/366      CannotReanchor: AugmentedError<ApiType>;367      /**368       * The destination `MultiLocation` provided cannot be inverted.369       **/370      DestinationNotInvertible: AugmentedError<ApiType>;371      /**372       * The assets to be sent are empty.373       **/374      Empty: AugmentedError<ApiType>;375      /**376       * The message execution fails the filter.377       **/378      Filtered: AugmentedError<ApiType>;379      /**380       * Origin is invalid for sending.381       **/382      InvalidOrigin: AugmentedError<ApiType>;383      /**384       * The referenced subscription could not be found.385       **/386      NoSubscription: AugmentedError<ApiType>;387      /**388       * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps389       * a lack of space for buffering the message.390       **/391      SendFailure: AugmentedError<ApiType>;392      /**393       * Too many assets have been attempted for transfer.394       **/395      TooManyAssets: AugmentedError<ApiType>;396      /**397       * The desired destination was unreachable, generally because there is a no way of routing398       * to it.399       **/400      Unreachable: AugmentedError<ApiType>;401      /**402       * The message's weight could not be determined.403       **/404      UnweighableMessage: AugmentedError<ApiType>;405      /**406       * Generic error407       **/408      [key: string]: AugmentedError<ApiType>;409    };410    refungible: {411      /**412       * Not Refungible item data used to mint in Refungible collection.413       **/414      NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;415      /**416       * Refungible token can't nest other tokens417       **/418      RefungibleDisallowsNesting: AugmentedError<ApiType>;419      /**420       * Setting item properties is not allowed421       **/422      SettingPropertiesNotAllowed: AugmentedError<ApiType>;423      /**424       * Maximum refungibility exceeded425       **/426      WrongRefungiblePieces: AugmentedError<ApiType>;427      /**428       * Generic error429       **/430      [key: string]: AugmentedError<ApiType>;431    };432    structure: {433      /**434       * While searched for owner, encountered depth limit435       **/436      DepthLimit: AugmentedError<ApiType>;437      /**438       * While searched for owner, got already checked account439       **/440      OuroborosDetected: AugmentedError<ApiType>;441      /**442       * While searched for owner, found token owner by not-yet-existing token443       **/444      TokenNotFound: AugmentedError<ApiType>;445      /**446       * Generic error447       **/448      [key: string]: AugmentedError<ApiType>;449    };450    sudo: {451      /**452       * Sender must be the Sudo account453       **/454      RequireSudo: AugmentedError<ApiType>;455      /**456       * Generic error457       **/458      [key: string]: AugmentedError<ApiType>;459    };460    system: {461      /**462       * The origin filter prevent the call to be dispatched.463       **/464      CallFiltered: AugmentedError<ApiType>;465      /**466       * Failed to extract the runtime version from the new runtime.467       * 468       * Either calling `Core_version` or decoding `RuntimeVersion` failed.469       **/470      FailedToExtractRuntimeVersion: AugmentedError<ApiType>;471      /**472       * The name of specification does not match between the current runtime473       * and the new runtime.474       **/475      InvalidSpecName: AugmentedError<ApiType>;476      /**477       * Suicide called when the account has non-default composite data.478       **/479      NonDefaultComposite: AugmentedError<ApiType>;480      /**481       * There is a non-zero reference count preventing the account from being purged.482       **/483      NonZeroRefCount: AugmentedError<ApiType>;484      /**485       * The specification version is not allowed to decrease between the current runtime486       * and the new runtime.487       **/488      SpecVersionNeedsToIncrease: AugmentedError<ApiType>;489      /**490       * Generic error491       **/492      [key: string]: AugmentedError<ApiType>;493    };494    treasury: {495      /**496       * Proposer's balance is too low.497       **/498      InsufficientProposersBalance: AugmentedError<ApiType>;499      /**500       * No proposal or bounty at that index.501       **/502      InvalidIndex: AugmentedError<ApiType>;503      /**504       * Too many approvals in the queue.505       **/506      TooManyApprovals: AugmentedError<ApiType>;507      /**508       * Generic error509       **/510      [key: string]: AugmentedError<ApiType>;511    };512    unique: {513      /**514       * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.515       **/516      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;517      /**518       * This address is not set as sponsor, use setCollectionSponsor first.519       **/520      ConfirmUnsetSponsorFail: AugmentedError<ApiType>;521      /**522       * Length of items properties must be greater than 0.523       **/524      EmptyArgument: AugmentedError<ApiType>;525      /**526       * Generic error527       **/528      [key: string]: AugmentedError<ApiType>;529    };530    vesting: {531      /**532       * The vested transfer amount is too low533       **/534      AmountLow: AugmentedError<ApiType>;535      /**536       * Insufficient amount of balance to lock537       **/538      InsufficientBalanceToLock: AugmentedError<ApiType>;539      /**540       * Failed because the maximum vesting schedules was exceeded541       **/542      MaxVestingSchedulesExceeded: AugmentedError<ApiType>;543      /**544       * This account have too many vesting schedules545       **/546      TooManyVestingSchedules: AugmentedError<ApiType>;547      /**548       * Vesting period is zero549       **/550      ZeroVestingPeriod: AugmentedError<ApiType>;551      /**552       * Number of vests is zero553       **/554      ZeroVestingPeriodCount: AugmentedError<ApiType>;555      /**556       * Generic error557       **/558      [key: string]: AugmentedError<ApiType>;559    };560    xcmpQueue: {561      /**562       * Bad overweight index.563       **/564      BadOverweightIndex: AugmentedError<ApiType>;565      /**566       * Bad XCM data.567       **/568      BadXcm: AugmentedError<ApiType>;569      /**570       * Bad XCM origin.571       **/572      BadXcmOrigin: AugmentedError<ApiType>;573      /**574       * Failed to send XCM message.575       **/576      FailedToSend: AugmentedError<ApiType>;577      /**578       * Provided weight is possibly not enough to execute the message.579       **/580      WeightOverLimit: AugmentedError<ApiType>;581      /**582       * Generic error583       **/584      [key: string]: AugmentedError<ApiType>;585    };586  } // AugmentedErrors587} // declare module