git.delta.rocks / unique-network / refs/commits / 3db00dc56ee4

difftreelog

source

tests/src/interfaces/augment-api-errors.ts17.1 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       * Tried to store more property keys than allowed141       **/142      PropertyLimitReached: AugmentedError<ApiType>;143      /**144       * Collection is not in mint mode.145       **/146      PublicMintingNotAllowed: AugmentedError<ApiType>;147      /**148       * Only tokens from specific collections may nest tokens under this149       **/150      SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;151      /**152       * Item not exists.153       **/154      TokenNotFound: AugmentedError<ApiType>;155      /**156       * Item balance not enough.157       **/158      TokenValueTooLow: AugmentedError<ApiType>;159      /**160       * variable_data exceeded data limit.161       **/162      TokenVariableDataLimitExceeded: 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       * Unable to read array of unbounded keys173       **/174      UnableToReadUnboundedKeys: AugmentedError<ApiType>;175      /**176       * Target collection doesn't supports this operation177       **/178      UnsupportedOperation: AugmentedError<ApiType>;179      /**180       * Generic error181       **/182      [key: string]: AugmentedError<ApiType>;183    };184    cumulusXcm: {185      /**186       * Generic error187       **/188      [key: string]: AugmentedError<ApiType>;189    };190    dmpQueue: {191      /**192       * The amount of weight given is possibly not enough for executing the message.193       **/194      OverLimit: AugmentedError<ApiType>;195      /**196       * The message index given is unknown.197       **/198      Unknown: AugmentedError<ApiType>;199      /**200       * Generic error201       **/202      [key: string]: AugmentedError<ApiType>;203    };204    ethereum: {205      /**206       * Signature is invalid.207       **/208      InvalidSignature: AugmentedError<ApiType>;209      /**210       * Pre-log is present, therefore transact is not allowed.211       **/212      PreLogExists: AugmentedError<ApiType>;213      /**214       * Generic error215       **/216      [key: string]: AugmentedError<ApiType>;217    };218    evm: {219      /**220       * Not enough balance to perform action221       **/222      BalanceLow: AugmentedError<ApiType>;223      /**224       * Calculating total fee overflowed225       **/226      FeeOverflow: AugmentedError<ApiType>;227      /**228       * Gas price is too low.229       **/230      GasPriceTooLow: AugmentedError<ApiType>;231      /**232       * Nonce is invalid233       **/234      InvalidNonce: AugmentedError<ApiType>;235      /**236       * Calculating total payment overflowed237       **/238      PaymentOverflow: AugmentedError<ApiType>;239      /**240       * Withdraw fee failed241       **/242      WithdrawFailed: AugmentedError<ApiType>;243      /**244       * Generic error245       **/246      [key: string]: AugmentedError<ApiType>;247    };248    evmCoderSubstrate: {249      OutOfFund: AugmentedError<ApiType>;250      OutOfGas: AugmentedError<ApiType>;251      /**252       * Generic error253       **/254      [key: string]: AugmentedError<ApiType>;255    };256    evmContractHelpers: {257      /**258       * This method is only executable by owner259       **/260      NoPermission: AugmentedError<ApiType>;261      /**262       * Generic error263       **/264      [key: string]: AugmentedError<ApiType>;265    };266    evmMigration: {267      AccountIsNotMigrating: AugmentedError<ApiType>;268      AccountNotEmpty: AugmentedError<ApiType>;269      /**270       * Generic error271       **/272      [key: string]: AugmentedError<ApiType>;273    };274    fungible: {275      /**276       * Fungible token does not support nested277       **/278      FungibleDisallowsNesting: AugmentedError<ApiType>;279      /**280       * Tried to set data for fungible item281       **/282      FungibleItemsDontHaveData: AugmentedError<ApiType>;283      /**284       * Not default id passed as TokenId argument285       **/286      FungibleItemsHaveNoId: AugmentedError<ApiType>;287      /**288       * Not Fungible item data used to mint in Fungible collection.289       **/290      NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;291      /**292       * Setting item properties is not allowed293       **/294      SettingPropertiesNotAllowed: AugmentedError<ApiType>;295      /**296       * Generic error297       **/298      [key: string]: AugmentedError<ApiType>;299    };300    nonfungible: {301      /**302       * Used amount > 1 with NFT303       **/304      NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;305      /**306       * Not Nonfungible item data used to mint in Nonfungible collection.307       **/308      NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;309      /**310       * Generic error311       **/312      [key: string]: AugmentedError<ApiType>;313    };314    parachainSystem: {315      /**316       * The inherent which supplies the host configuration did not run this block317       **/318      HostConfigurationNotAvailable: AugmentedError<ApiType>;319      /**320       * No code upgrade has been authorized.321       **/322      NothingAuthorized: AugmentedError<ApiType>;323      /**324       * No validation function upgrade is currently scheduled.325       **/326      NotScheduled: AugmentedError<ApiType>;327      /**328       * Attempt to upgrade validation function while existing upgrade pending329       **/330      OverlappingUpgrades: AugmentedError<ApiType>;331      /**332       * Polkadot currently prohibits this parachain from upgrading its validation function333       **/334      ProhibitedByPolkadot: AugmentedError<ApiType>;335      /**336       * The supplied validation function has compiled into a blob larger than Polkadot is337       * willing to run338       **/339      TooBig: AugmentedError<ApiType>;340      /**341       * The given code upgrade has not been authorized.342       **/343      Unauthorized: AugmentedError<ApiType>;344      /**345       * The inherent which supplies the validation data did not run this block346       **/347      ValidationDataNotAvailable: AugmentedError<ApiType>;348      /**349       * Generic error350       **/351      [key: string]: AugmentedError<ApiType>;352    };353    polkadotXcm: {354      /**355       * The location is invalid since it already has a subscription from us.356       **/357      AlreadySubscribed: AugmentedError<ApiType>;358      /**359       * The given location could not be used (e.g. because it cannot be expressed in the360       * desired version of XCM).361       **/362      BadLocation: AugmentedError<ApiType>;363      /**364       * The version of the `Versioned` value used is not able to be interpreted.365       **/366      BadVersion: AugmentedError<ApiType>;367      /**368       * Could not re-anchor the assets to declare the fees for the destination chain.369       **/370      CannotReanchor: AugmentedError<ApiType>;371      /**372       * The destination `MultiLocation` provided cannot be inverted.373       **/374      DestinationNotInvertible: AugmentedError<ApiType>;375      /**376       * The assets to be sent are empty.377       **/378      Empty: AugmentedError<ApiType>;379      /**380       * The message execution fails the filter.381       **/382      Filtered: AugmentedError<ApiType>;383      /**384       * Origin is invalid for sending.385       **/386      InvalidOrigin: AugmentedError<ApiType>;387      /**388       * The referenced subscription could not be found.389       **/390      NoSubscription: AugmentedError<ApiType>;391      /**392       * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps393       * a lack of space for buffering the message.394       **/395      SendFailure: AugmentedError<ApiType>;396      /**397       * Too many assets have been attempted for transfer.398       **/399      TooManyAssets: AugmentedError<ApiType>;400      /**401       * The desired destination was unreachable, generally because there is a no way of routing402       * to it.403       **/404      Unreachable: AugmentedError<ApiType>;405      /**406       * The message's weight could not be determined.407       **/408      UnweighableMessage: AugmentedError<ApiType>;409      /**410       * Generic error411       **/412      [key: string]: AugmentedError<ApiType>;413    };414    refungible: {415      /**416       * Not Refungible item data used to mint in Refungible collection.417       **/418      NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;419      /**420       * Refungible token can't nest other tokens421       **/422      RefungibleDisallowsNesting: AugmentedError<ApiType>;423      /**424       * Setting item properties is not allowed425       **/426      SettingPropertiesNotAllowed: AugmentedError<ApiType>;427      /**428       * Maximum refungibility exceeded429       **/430      WrongRefungiblePieces: AugmentedError<ApiType>;431      /**432       * Generic error433       **/434      [key: string]: AugmentedError<ApiType>;435    };436    structure: {437      /**438       * While searched for owner, encountered depth limit439       **/440      DepthLimit: AugmentedError<ApiType>;441      /**442       * While searched for owner, got already checked account443       **/444      OuroborosDetected: AugmentedError<ApiType>;445      /**446       * While searched for owner, found token owner by not-yet-existing token447       **/448      TokenNotFound: AugmentedError<ApiType>;449      /**450       * Generic error451       **/452      [key: string]: AugmentedError<ApiType>;453    };454    sudo: {455      /**456       * Sender must be the Sudo account457       **/458      RequireSudo: AugmentedError<ApiType>;459      /**460       * Generic error461       **/462      [key: string]: AugmentedError<ApiType>;463    };464    system: {465      /**466       * The origin filter prevent the call to be dispatched.467       **/468      CallFiltered: AugmentedError<ApiType>;469      /**470       * Failed to extract the runtime version from the new runtime.471       * 472       * Either calling `Core_version` or decoding `RuntimeVersion` failed.473       **/474      FailedToExtractRuntimeVersion: AugmentedError<ApiType>;475      /**476       * The name of specification does not match between the current runtime477       * and the new runtime.478       **/479      InvalidSpecName: AugmentedError<ApiType>;480      /**481       * Suicide called when the account has non-default composite data.482       **/483      NonDefaultComposite: AugmentedError<ApiType>;484      /**485       * There is a non-zero reference count preventing the account from being purged.486       **/487      NonZeroRefCount: AugmentedError<ApiType>;488      /**489       * The specification version is not allowed to decrease between the current runtime490       * and the new runtime.491       **/492      SpecVersionNeedsToIncrease: AugmentedError<ApiType>;493      /**494       * Generic error495       **/496      [key: string]: AugmentedError<ApiType>;497    };498    treasury: {499      /**500       * Proposer's balance is too low.501       **/502      InsufficientProposersBalance: AugmentedError<ApiType>;503      /**504       * No proposal or bounty at that index.505       **/506      InvalidIndex: AugmentedError<ApiType>;507      /**508       * Too many approvals in the queue.509       **/510      TooManyApprovals: AugmentedError<ApiType>;511      /**512       * Generic error513       **/514      [key: string]: AugmentedError<ApiType>;515    };516    unique: {517      /**518       * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.519       **/520      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;521      /**522       * This address is not set as sponsor, use setCollectionSponsor first.523       **/524      ConfirmUnsetSponsorFail: AugmentedError<ApiType>;525      /**526       * Length of items properties must be greater than 0.527       **/528      EmptyArgument: AugmentedError<ApiType>;529      /**530       * Generic error531       **/532      [key: string]: AugmentedError<ApiType>;533    };534    vesting: {535      /**536       * The vested transfer amount is too low537       **/538      AmountLow: AugmentedError<ApiType>;539      /**540       * Insufficient amount of balance to lock541       **/542      InsufficientBalanceToLock: AugmentedError<ApiType>;543      /**544       * Failed because the maximum vesting schedules was exceeded545       **/546      MaxVestingSchedulesExceeded: AugmentedError<ApiType>;547      /**548       * This account have too many vesting schedules549       **/550      TooManyVestingSchedules: AugmentedError<ApiType>;551      /**552       * Vesting period is zero553       **/554      ZeroVestingPeriod: AugmentedError<ApiType>;555      /**556       * Number of vests is zero557       **/558      ZeroVestingPeriodCount: AugmentedError<ApiType>;559      /**560       * Generic error561       **/562      [key: string]: AugmentedError<ApiType>;563    };564    xcmpQueue: {565      /**566       * Bad overweight index.567       **/568      BadOverweightIndex: AugmentedError<ApiType>;569      /**570       * Bad XCM data.571       **/572      BadXcm: AugmentedError<ApiType>;573      /**574       * Bad XCM origin.575       **/576      BadXcmOrigin: AugmentedError<ApiType>;577      /**578       * Failed to send XCM message.579       **/580      FailedToSend: AugmentedError<ApiType>;581      /**582       * Provided weight is possibly not enough to execute the message.583       **/584      WeightOverLimit: AugmentedError<ApiType>;585      /**586       * Generic error587       **/588      [key: string]: AugmentedError<ApiType>;589    };590  } // AugmentedErrors591} // declare module