git.delta.rocks / unique-network / refs/commits / 2dd914e7de8d

difftreelog

source

tests/src/interfaces/augment-api-errors.ts17.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       * Collection limit bounds per collection exceeded85       **/86      CollectionLimitBoundsExceeded: AugmentedError<ApiType>;87      /**88       * Collection name can not be longer than 63 char.89       **/90      CollectionNameLimitExceeded: AugmentedError<ApiType>;91      /**92       * This collection does not exist.93       **/94      CollectionNotFound: AugmentedError<ApiType>;95      /**96       * Collection token limit exceeded97       **/98      CollectionTokenLimitExceeded: AugmentedError<ApiType>;99      /**100       * Token prefix can not be longer than 15 char.101       **/102      CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;103      /**104       * Empty property keys are forbidden105       **/106      EmptyPropertyKey: AugmentedError<ApiType>;107      /**108       * Only ASCII letters, digits, and '_', '-' are allowed109       **/110      InvalidCharacterInPropertyKey: AugmentedError<ApiType>;111      /**112       * Metadata flag frozen113       **/114      MetadataFlagFrozen: AugmentedError<ApiType>;115      /**116       * Sender parameter and item owner must be equal.117       **/118      MustBeTokenOwner: AugmentedError<ApiType>;119      /**120       * Collection has nesting disabled121       **/122      NestingIsDisabled: AugmentedError<ApiType>;123      /**124       * No permission to perform action125       **/126      NoPermission: AugmentedError<ApiType>;127      /**128       * Tried to store more property data than allowed129       **/130      NoSpaceForProperty: AugmentedError<ApiType>;131      /**132       * Not sufficient founds to perform action133       **/134      NotSufficientFounds: AugmentedError<ApiType>;135      /**136       * Only owner may nest tokens under this collection137       **/138      OnlyOwnerAllowedToNest: 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       * 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       * Unable to burn NFT with children303       **/304      CantBurnNftWithChildren: AugmentedError<ApiType>;305      /**306       * Used amount > 1 with NFT307       **/308      NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;309      /**310       * Not Nonfungible item data used to mint in Nonfungible collection.311       **/312      NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;313      /**314       * Generic error315       **/316      [key: string]: AugmentedError<ApiType>;317    };318    parachainSystem: {319      /**320       * The inherent which supplies the host configuration did not run this block321       **/322      HostConfigurationNotAvailable: AugmentedError<ApiType>;323      /**324       * No code upgrade has been authorized.325       **/326      NothingAuthorized: AugmentedError<ApiType>;327      /**328       * No validation function upgrade is currently scheduled.329       **/330      NotScheduled: AugmentedError<ApiType>;331      /**332       * Attempt to upgrade validation function while existing upgrade pending333       **/334      OverlappingUpgrades: AugmentedError<ApiType>;335      /**336       * Polkadot currently prohibits this parachain from upgrading its validation function337       **/338      ProhibitedByPolkadot: AugmentedError<ApiType>;339      /**340       * The supplied validation function has compiled into a blob larger than Polkadot is341       * willing to run342       **/343      TooBig: AugmentedError<ApiType>;344      /**345       * The given code upgrade has not been authorized.346       **/347      Unauthorized: AugmentedError<ApiType>;348      /**349       * The inherent which supplies the validation data did not run this block350       **/351      ValidationDataNotAvailable: AugmentedError<ApiType>;352      /**353       * Generic error354       **/355      [key: string]: AugmentedError<ApiType>;356    };357    polkadotXcm: {358      /**359       * The location is invalid since it already has a subscription from us.360       **/361      AlreadySubscribed: AugmentedError<ApiType>;362      /**363       * The given location could not be used (e.g. because it cannot be expressed in the364       * desired version of XCM).365       **/366      BadLocation: AugmentedError<ApiType>;367      /**368       * The version of the `Versioned` value used is not able to be interpreted.369       **/370      BadVersion: AugmentedError<ApiType>;371      /**372       * Could not re-anchor the assets to declare the fees for the destination chain.373       **/374      CannotReanchor: AugmentedError<ApiType>;375      /**376       * The destination `MultiLocation` provided cannot be inverted.377       **/378      DestinationNotInvertible: AugmentedError<ApiType>;379      /**380       * The assets to be sent are empty.381       **/382      Empty: AugmentedError<ApiType>;383      /**384       * The message execution fails the filter.385       **/386      Filtered: AugmentedError<ApiType>;387      /**388       * Origin is invalid for sending.389       **/390      InvalidOrigin: AugmentedError<ApiType>;391      /**392       * The referenced subscription could not be found.393       **/394      NoSubscription: AugmentedError<ApiType>;395      /**396       * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps397       * a lack of space for buffering the message.398       **/399      SendFailure: AugmentedError<ApiType>;400      /**401       * Too many assets have been attempted for transfer.402       **/403      TooManyAssets: AugmentedError<ApiType>;404      /**405       * The desired destination was unreachable, generally because there is a no way of routing406       * to it.407       **/408      Unreachable: AugmentedError<ApiType>;409      /**410       * The message's weight could not be determined.411       **/412      UnweighableMessage: AugmentedError<ApiType>;413      /**414       * Generic error415       **/416      [key: string]: AugmentedError<ApiType>;417    };418    refungible: {419      /**420       * Not Refungible item data used to mint in Refungible collection.421       **/422      NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;423      /**424       * Refungible token can't nest other tokens425       **/426      RefungibleDisallowsNesting: AugmentedError<ApiType>;427      /**428       * Setting item properties is not allowed429       **/430      SettingPropertiesNotAllowed: AugmentedError<ApiType>;431      /**432       * Maximum refungibility exceeded433       **/434      WrongRefungiblePieces: AugmentedError<ApiType>;435      /**436       * Generic error437       **/438      [key: string]: AugmentedError<ApiType>;439    };440    structure: {441      /**442       * While searched for owner, encountered depth limit443       **/444      DepthLimit: AugmentedError<ApiType>;445      /**446       * While searched for owner, got already checked account447       **/448      OuroborosDetected: AugmentedError<ApiType>;449      /**450       * While searched for owner, found token owner by not-yet-existing token451       **/452      TokenNotFound: AugmentedError<ApiType>;453      /**454       * Generic error455       **/456      [key: string]: AugmentedError<ApiType>;457    };458    sudo: {459      /**460       * Sender must be the Sudo account461       **/462      RequireSudo: AugmentedError<ApiType>;463      /**464       * Generic error465       **/466      [key: string]: AugmentedError<ApiType>;467    };468    system: {469      /**470       * The origin filter prevent the call to be dispatched.471       **/472      CallFiltered: AugmentedError<ApiType>;473      /**474       * Failed to extract the runtime version from the new runtime.475       * 476       * Either calling `Core_version` or decoding `RuntimeVersion` failed.477       **/478      FailedToExtractRuntimeVersion: AugmentedError<ApiType>;479      /**480       * The name of specification does not match between the current runtime481       * and the new runtime.482       **/483      InvalidSpecName: AugmentedError<ApiType>;484      /**485       * Suicide called when the account has non-default composite data.486       **/487      NonDefaultComposite: AugmentedError<ApiType>;488      /**489       * There is a non-zero reference count preventing the account from being purged.490       **/491      NonZeroRefCount: AugmentedError<ApiType>;492      /**493       * The specification version is not allowed to decrease between the current runtime494       * and the new runtime.495       **/496      SpecVersionNeedsToIncrease: AugmentedError<ApiType>;497      /**498       * Generic error499       **/500      [key: string]: AugmentedError<ApiType>;501    };502    treasury: {503      /**504       * Proposer's balance is too low.505       **/506      InsufficientProposersBalance: AugmentedError<ApiType>;507      /**508       * No proposal or bounty at that index.509       **/510      InvalidIndex: AugmentedError<ApiType>;511      /**512       * Too many approvals in the queue.513       **/514      TooManyApprovals: AugmentedError<ApiType>;515      /**516       * Generic error517       **/518      [key: string]: AugmentedError<ApiType>;519    };520    unique: {521      /**522       * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.523       **/524      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;525      /**526       * This address is not set as sponsor, use setCollectionSponsor first.527       **/528      ConfirmUnsetSponsorFail: AugmentedError<ApiType>;529      /**530       * Length of items properties must be greater than 0.531       **/532      EmptyArgument: AugmentedError<ApiType>;533      /**534       * Generic error535       **/536      [key: string]: AugmentedError<ApiType>;537    };538    vesting: {539      /**540       * The vested transfer amount is too low541       **/542      AmountLow: AugmentedError<ApiType>;543      /**544       * Insufficient amount of balance to lock545       **/546      InsufficientBalanceToLock: AugmentedError<ApiType>;547      /**548       * Failed because the maximum vesting schedules was exceeded549       **/550      MaxVestingSchedulesExceeded: AugmentedError<ApiType>;551      /**552       * This account have too many vesting schedules553       **/554      TooManyVestingSchedules: AugmentedError<ApiType>;555      /**556       * Vesting period is zero557       **/558      ZeroVestingPeriod: AugmentedError<ApiType>;559      /**560       * Number of vests is zero561       **/562      ZeroVestingPeriodCount: AugmentedError<ApiType>;563      /**564       * Generic error565       **/566      [key: string]: AugmentedError<ApiType>;567    };568    xcmpQueue: {569      /**570       * Bad overweight index.571       **/572      BadOverweightIndex: AugmentedError<ApiType>;573      /**574       * Bad XCM data.575       **/576      BadXcm: AugmentedError<ApiType>;577      /**578       * Bad XCM origin.579       **/580      BadXcmOrigin: AugmentedError<ApiType>;581      /**582       * Failed to send XCM message.583       **/584      FailedToSend: AugmentedError<ApiType>;585      /**586       * Provided weight is possibly not enough to execute the message.587       **/588      WeightOverLimit: AugmentedError<ApiType>;589      /**590       * Generic error591       **/592      [key: string]: AugmentedError<ApiType>;593    };594  } // AugmentedErrors595} // declare module