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

difftreelog

source

tests/src/interfaces/augment-api-errors.ts14.8 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       * Collection limit bounds per collection exceeded77       **/78      CollectionLimitBoundsExceeded: AugmentedError<ApiType>;79      /**80       * Collection name can not be longer than 63 char.81       **/82      CollectionNameLimitExceeded: AugmentedError<ApiType>;83      /**84       * This collection does not exist.85       **/86      CollectionNotFound: AugmentedError<ApiType>;87      /**88       * Collection token limit exceeded89       **/90      CollectionTokenLimitExceeded: AugmentedError<ApiType>;91      /**92       * Token prefix can not be longer than 15 char.93       **/94      CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;95      /**96       * Metadata flag frozen97       **/98      MetadataFlagFrozen: AugmentedError<ApiType>;99      /**100       * Sender parameter and item owner must be equal.101       **/102      MustBeTokenOwner: AugmentedError<ApiType>;103      /**104       * No permission to perform action105       **/106      NoPermission: AugmentedError<ApiType>;107      /**108       * Tried to enable permissions which are only permitted to be disabled109       **/110      OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;111      /**112       * Collection is not in mint mode.113       **/114      PublicMintingNotAllowed: AugmentedError<ApiType>;115      /**116       * Item not exists.117       **/118      TokenNotFound: AugmentedError<ApiType>;119      /**120       * Item balance not enough.121       **/122      TokenValueTooLow: AugmentedError<ApiType>;123      /**124       * variable_data exceeded data limit.125       **/126      TokenVariableDataLimitExceeded: AugmentedError<ApiType>;127      /**128       * Total collections bound exceeded.129       **/130      TotalCollectionsLimitExceeded: AugmentedError<ApiType>;131      /**132       * Collection settings not allowing items transferring133       **/134      TransferNotAllowed: AugmentedError<ApiType>;135      /**136       * Target collection doesn't supports this operation137       **/138      UnsupportedOperation: AugmentedError<ApiType>;139      /**140       * Generic error141       **/142      [key: string]: AugmentedError<ApiType>;143    };144    cumulusXcm: {145      /**146       * Generic error147       **/148      [key: string]: AugmentedError<ApiType>;149    };150    dmpQueue: {151      /**152       * The amount of weight given is possibly not enough for executing the message.153       **/154      OverLimit: AugmentedError<ApiType>;155      /**156       * The message index given is unknown.157       **/158      Unknown: AugmentedError<ApiType>;159      /**160       * Generic error161       **/162      [key: string]: AugmentedError<ApiType>;163    };164    ethereum: {165      /**166       * Signature is invalid.167       **/168      InvalidSignature: AugmentedError<ApiType>;169      /**170       * Pre-log is present, therefore transact is not allowed.171       **/172      PreLogExists: AugmentedError<ApiType>;173      /**174       * Generic error175       **/176      [key: string]: AugmentedError<ApiType>;177    };178    evm: {179      /**180       * Not enough balance to perform action181       **/182      BalanceLow: AugmentedError<ApiType>;183      /**184       * Calculating total fee overflowed185       **/186      FeeOverflow: AugmentedError<ApiType>;187      /**188       * Gas price is too low.189       **/190      GasPriceTooLow: AugmentedError<ApiType>;191      /**192       * Nonce is invalid193       **/194      InvalidNonce: AugmentedError<ApiType>;195      /**196       * Calculating total payment overflowed197       **/198      PaymentOverflow: AugmentedError<ApiType>;199      /**200       * Withdraw fee failed201       **/202      WithdrawFailed: AugmentedError<ApiType>;203      /**204       * Generic error205       **/206      [key: string]: AugmentedError<ApiType>;207    };208    evmCoderSubstrate: {209      OutOfFund: AugmentedError<ApiType>;210      OutOfGas: AugmentedError<ApiType>;211      /**212       * Generic error213       **/214      [key: string]: AugmentedError<ApiType>;215    };216    evmContractHelpers: {217      /**218       * This method is only executable by owner219       **/220      NoPermission: AugmentedError<ApiType>;221      /**222       * Generic error223       **/224      [key: string]: AugmentedError<ApiType>;225    };226    evmMigration: {227      AccountIsNotMigrating: AugmentedError<ApiType>;228      AccountNotEmpty: AugmentedError<ApiType>;229      /**230       * Generic error231       **/232      [key: string]: AugmentedError<ApiType>;233    };234    fungible: {235      /**236       * Tried to set data for fungible item237       **/238      FungibleItemsDontHaveData: AugmentedError<ApiType>;239      /**240       * Not default id passed as TokenId argument241       **/242      FungibleItemsHaveNoId: AugmentedError<ApiType>;243      /**244       * Not Fungible item data used to mint in Fungible collection.245       **/246      NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;247      /**248       * Generic error249       **/250      [key: string]: AugmentedError<ApiType>;251    };252    nonfungible: {253      /**254       * Used amount > 1 with NFT255       **/256      NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;257      /**258       * Not Nonfungible item data used to mint in Nonfungible collection.259       **/260      NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;261      /**262       * Generic error263       **/264      [key: string]: AugmentedError<ApiType>;265    };266    parachainSystem: {267      /**268       * The inherent which supplies the host configuration did not run this block269       **/270      HostConfigurationNotAvailable: AugmentedError<ApiType>;271      /**272       * No code upgrade has been authorized.273       **/274      NothingAuthorized: AugmentedError<ApiType>;275      /**276       * No validation function upgrade is currently scheduled.277       **/278      NotScheduled: AugmentedError<ApiType>;279      /**280       * Attempt to upgrade validation function while existing upgrade pending281       **/282      OverlappingUpgrades: AugmentedError<ApiType>;283      /**284       * Polkadot currently prohibits this parachain from upgrading its validation function285       **/286      ProhibitedByPolkadot: AugmentedError<ApiType>;287      /**288       * The supplied validation function has compiled into a blob larger than Polkadot is289       * willing to run290       **/291      TooBig: AugmentedError<ApiType>;292      /**293       * The given code upgrade has not been authorized.294       **/295      Unauthorized: AugmentedError<ApiType>;296      /**297       * The inherent which supplies the validation data did not run this block298       **/299      ValidationDataNotAvailable: AugmentedError<ApiType>;300      /**301       * Generic error302       **/303      [key: string]: AugmentedError<ApiType>;304    };305    polkadotXcm: {306      /**307       * The location is invalid since it already has a subscription from us.308       **/309      AlreadySubscribed: AugmentedError<ApiType>;310      /**311       * The given location could not be used (e.g. because it cannot be expressed in the312       * desired version of XCM).313       **/314      BadLocation: AugmentedError<ApiType>;315      /**316       * The version of the `Versioned` value used is not able to be interpreted.317       **/318      BadVersion: AugmentedError<ApiType>;319      /**320       * Could not re-anchor the assets to declare the fees for the destination chain.321       **/322      CannotReanchor: AugmentedError<ApiType>;323      /**324       * The destination `MultiLocation` provided cannot be inverted.325       **/326      DestinationNotInvertible: AugmentedError<ApiType>;327      /**328       * The assets to be sent are empty.329       **/330      Empty: AugmentedError<ApiType>;331      /**332       * The message execution fails the filter.333       **/334      Filtered: AugmentedError<ApiType>;335      /**336       * Origin is invalid for sending.337       **/338      InvalidOrigin: AugmentedError<ApiType>;339      /**340       * The referenced subscription could not be found.341       **/342      NoSubscription: AugmentedError<ApiType>;343      /**344       * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps345       * a lack of space for buffering the message.346       **/347      SendFailure: AugmentedError<ApiType>;348      /**349       * Too many assets have been attempted for transfer.350       **/351      TooManyAssets: AugmentedError<ApiType>;352      /**353       * The desired destination was unreachable, generally because there is a no way of routing354       * to it.355       **/356      Unreachable: AugmentedError<ApiType>;357      /**358       * The message's weight could not be determined.359       **/360      UnweighableMessage: AugmentedError<ApiType>;361      /**362       * Generic error363       **/364      [key: string]: AugmentedError<ApiType>;365    };366    refungible: {367      /**368       * Not Refungible item data used to mint in Refungible collection.369       **/370      NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;371      /**372       * Maximum refungibility exceeded373       **/374      WrongRefungiblePieces: AugmentedError<ApiType>;375      /**376       * Generic error377       **/378      [key: string]: AugmentedError<ApiType>;379    };380    sudo: {381      /**382       * Sender must be the Sudo account383       **/384      RequireSudo: AugmentedError<ApiType>;385      /**386       * Generic error387       **/388      [key: string]: AugmentedError<ApiType>;389    };390    system: {391      /**392       * The origin filter prevent the call to be dispatched.393       **/394      CallFiltered: AugmentedError<ApiType>;395      /**396       * Failed to extract the runtime version from the new runtime.397       * 398       * Either calling `Core_version` or decoding `RuntimeVersion` failed.399       **/400      FailedToExtractRuntimeVersion: AugmentedError<ApiType>;401      /**402       * The name of specification does not match between the current runtime403       * and the new runtime.404       **/405      InvalidSpecName: AugmentedError<ApiType>;406      /**407       * Suicide called when the account has non-default composite data.408       **/409      NonDefaultComposite: AugmentedError<ApiType>;410      /**411       * There is a non-zero reference count preventing the account from being purged.412       **/413      NonZeroRefCount: AugmentedError<ApiType>;414      /**415       * The specification version is not allowed to decrease between the current runtime416       * and the new runtime.417       **/418      SpecVersionNeedsToIncrease: AugmentedError<ApiType>;419      /**420       * Generic error421       **/422      [key: string]: AugmentedError<ApiType>;423    };424    treasury: {425      /**426       * Proposer's balance is too low.427       **/428      InsufficientProposersBalance: AugmentedError<ApiType>;429      /**430       * No proposal or bounty at that index.431       **/432      InvalidIndex: AugmentedError<ApiType>;433      /**434       * Too many approvals in the queue.435       **/436      TooManyApprovals: AugmentedError<ApiType>;437      /**438       * Generic error439       **/440      [key: string]: AugmentedError<ApiType>;441    };442    unique: {443      /**444       * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.445       **/446      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;447      /**448       * This address is not set as sponsor, use setCollectionSponsor first.449       **/450      ConfirmUnsetSponsorFail: AugmentedError<ApiType>;451      /**452       * Length of items properties must be greater than 0.453       **/454      EmptyArgument: AugmentedError<ApiType>;455      /**456       * Generic error457       **/458      [key: string]: AugmentedError<ApiType>;459    };460    vesting: {461      /**462       * The vested transfer amount is too low463       **/464      AmountLow: AugmentedError<ApiType>;465      /**466       * Insufficient amount of balance to lock467       **/468      InsufficientBalanceToLock: AugmentedError<ApiType>;469      /**470       * Failed because the maximum vesting schedules was exceeded471       **/472      MaxVestingSchedulesExceeded: AugmentedError<ApiType>;473      /**474       * This account have too many vesting schedules475       **/476      TooManyVestingSchedules: AugmentedError<ApiType>;477      /**478       * Vesting period is zero479       **/480      ZeroVestingPeriod: AugmentedError<ApiType>;481      /**482       * Number of vests is zero483       **/484      ZeroVestingPeriodCount: AugmentedError<ApiType>;485      /**486       * Generic error487       **/488      [key: string]: AugmentedError<ApiType>;489    };490    xcmpQueue: {491      /**492       * Bad overweight index.493       **/494      BadOverweightIndex: AugmentedError<ApiType>;495      /**496       * Bad XCM data.497       **/498      BadXcm: AugmentedError<ApiType>;499      /**500       * Bad XCM origin.501       **/502      BadXcmOrigin: AugmentedError<ApiType>;503      /**504       * Failed to send XCM message.505       **/506      FailedToSend: AugmentedError<ApiType>;507      /**508       * Provided weight is possibly not enough to execute the message.509       **/510      WeightOverLimit: AugmentedError<ApiType>;511      /**512       * Generic error513       **/514      [key: string]: AugmentedError<ApiType>;515    };516  } // AugmentedErrors517} // declare module