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

difftreelog

source

tests/src/interfaces/augment-api-errors.ts16.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       * 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       * Metadata flag frozen101       **/102      MetadataFlagFrozen: AugmentedError<ApiType>;103      /**104       * Sender parameter and item owner must be equal.105       **/106      MustBeTokenOwner: AugmentedError<ApiType>;107      /**108       * Collection has nesting disabled109       **/110      NestingIsDisabled: AugmentedError<ApiType>;111      /**112       * No permission to perform action113       **/114      NoPermission: AugmentedError<ApiType>;115      /**116       * Not sufficient founds to perform action117       **/118      NotSufficientFounds: AugmentedError<ApiType>;119      /**120       * Only owner may nest tokens under this collection121       **/122      OnlyOwnerAllowedToNest: AugmentedError<ApiType>;123      /**124       * Tried to enable permissions which are only permitted to be disabled125       **/126      OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;127      /**128       * Collection is not in mint mode.129       **/130      PublicMintingNotAllowed: AugmentedError<ApiType>;131      /**132       * Only tokens from specific collections may nest tokens under this133       **/134      SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;135      /**136       * Item not exists.137       **/138      TokenNotFound: AugmentedError<ApiType>;139      /**140       * Item balance not enough.141       **/142      TokenValueTooLow: AugmentedError<ApiType>;143      /**144       * variable_data exceeded data limit.145       **/146      TokenVariableDataLimitExceeded: AugmentedError<ApiType>;147      /**148       * Total collections bound exceeded.149       **/150      TotalCollectionsLimitExceeded: AugmentedError<ApiType>;151      /**152       * Collection settings not allowing items transferring153       **/154      TransferNotAllowed: AugmentedError<ApiType>;155      /**156       * Target collection doesn't supports this operation157       **/158      UnsupportedOperation: AugmentedError<ApiType>;159      /**160       * Generic error161       **/162      [key: string]: AugmentedError<ApiType>;163    };164    cumulusXcm: {165      /**166       * Generic error167       **/168      [key: string]: AugmentedError<ApiType>;169    };170    dmpQueue: {171      /**172       * The amount of weight given is possibly not enough for executing the message.173       **/174      OverLimit: AugmentedError<ApiType>;175      /**176       * The message index given is unknown.177       **/178      Unknown: AugmentedError<ApiType>;179      /**180       * Generic error181       **/182      [key: string]: AugmentedError<ApiType>;183    };184    ethereum: {185      /**186       * Signature is invalid.187       **/188      InvalidSignature: AugmentedError<ApiType>;189      /**190       * Pre-log is present, therefore transact is not allowed.191       **/192      PreLogExists: AugmentedError<ApiType>;193      /**194       * Generic error195       **/196      [key: string]: AugmentedError<ApiType>;197    };198    evm: {199      /**200       * Not enough balance to perform action201       **/202      BalanceLow: AugmentedError<ApiType>;203      /**204       * Calculating total fee overflowed205       **/206      FeeOverflow: AugmentedError<ApiType>;207      /**208       * Gas price is too low.209       **/210      GasPriceTooLow: AugmentedError<ApiType>;211      /**212       * Nonce is invalid213       **/214      InvalidNonce: AugmentedError<ApiType>;215      /**216       * Calculating total payment overflowed217       **/218      PaymentOverflow: AugmentedError<ApiType>;219      /**220       * Withdraw fee failed221       **/222      WithdrawFailed: AugmentedError<ApiType>;223      /**224       * Generic error225       **/226      [key: string]: AugmentedError<ApiType>;227    };228    evmCoderSubstrate: {229      OutOfFund: AugmentedError<ApiType>;230      OutOfGas: AugmentedError<ApiType>;231      /**232       * Generic error233       **/234      [key: string]: AugmentedError<ApiType>;235    };236    evmContractHelpers: {237      /**238       * This method is only executable by owner239       **/240      NoPermission: AugmentedError<ApiType>;241      /**242       * Generic error243       **/244      [key: string]: AugmentedError<ApiType>;245    };246    evmMigration: {247      AccountIsNotMigrating: AugmentedError<ApiType>;248      AccountNotEmpty: AugmentedError<ApiType>;249      /**250       * Generic error251       **/252      [key: string]: AugmentedError<ApiType>;253    };254    fungible: {255      /**256       * Fungible token does not support nested257       **/258      FungibleDisallowsNesting: AugmentedError<ApiType>;259      /**260       * Tried to set data for fungible item261       **/262      FungibleItemsDontHaveData: AugmentedError<ApiType>;263      /**264       * Not default id passed as TokenId argument265       **/266      FungibleItemsHaveNoId: AugmentedError<ApiType>;267      /**268       * Not Fungible item data used to mint in Fungible collection.269       **/270      NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;271      /**272       * Generic error273       **/274      [key: string]: AugmentedError<ApiType>;275    };276    nonfungible: {277      /**278       * Used amount > 1 with NFT279       **/280      NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;281      /**282       * Not Nonfungible item data used to mint in Nonfungible collection.283       **/284      NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;285      /**286       * Generic error287       **/288      [key: string]: AugmentedError<ApiType>;289    };290    parachainSystem: {291      /**292       * The inherent which supplies the host configuration did not run this block293       **/294      HostConfigurationNotAvailable: AugmentedError<ApiType>;295      /**296       * No code upgrade has been authorized.297       **/298      NothingAuthorized: AugmentedError<ApiType>;299      /**300       * No validation function upgrade is currently scheduled.301       **/302      NotScheduled: AugmentedError<ApiType>;303      /**304       * Attempt to upgrade validation function while existing upgrade pending305       **/306      OverlappingUpgrades: AugmentedError<ApiType>;307      /**308       * Polkadot currently prohibits this parachain from upgrading its validation function309       **/310      ProhibitedByPolkadot: AugmentedError<ApiType>;311      /**312       * The supplied validation function has compiled into a blob larger than Polkadot is313       * willing to run314       **/315      TooBig: AugmentedError<ApiType>;316      /**317       * The given code upgrade has not been authorized.318       **/319      Unauthorized: AugmentedError<ApiType>;320      /**321       * The inherent which supplies the validation data did not run this block322       **/323      ValidationDataNotAvailable: AugmentedError<ApiType>;324      /**325       * Generic error326       **/327      [key: string]: AugmentedError<ApiType>;328    };329    polkadotXcm: {330      /**331       * The location is invalid since it already has a subscription from us.332       **/333      AlreadySubscribed: AugmentedError<ApiType>;334      /**335       * The given location could not be used (e.g. because it cannot be expressed in the336       * desired version of XCM).337       **/338      BadLocation: AugmentedError<ApiType>;339      /**340       * The version of the `Versioned` value used is not able to be interpreted.341       **/342      BadVersion: AugmentedError<ApiType>;343      /**344       * Could not re-anchor the assets to declare the fees for the destination chain.345       **/346      CannotReanchor: AugmentedError<ApiType>;347      /**348       * The destination `MultiLocation` provided cannot be inverted.349       **/350      DestinationNotInvertible: AugmentedError<ApiType>;351      /**352       * The assets to be sent are empty.353       **/354      Empty: AugmentedError<ApiType>;355      /**356       * The message execution fails the filter.357       **/358      Filtered: AugmentedError<ApiType>;359      /**360       * Origin is invalid for sending.361       **/362      InvalidOrigin: AugmentedError<ApiType>;363      /**364       * The referenced subscription could not be found.365       **/366      NoSubscription: AugmentedError<ApiType>;367      /**368       * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps369       * a lack of space for buffering the message.370       **/371      SendFailure: AugmentedError<ApiType>;372      /**373       * Too many assets have been attempted for transfer.374       **/375      TooManyAssets: AugmentedError<ApiType>;376      /**377       * The desired destination was unreachable, generally because there is a no way of routing378       * to it.379       **/380      Unreachable: AugmentedError<ApiType>;381      /**382       * The message's weight could not be determined.383       **/384      UnweighableMessage: AugmentedError<ApiType>;385      /**386       * Generic error387       **/388      [key: string]: AugmentedError<ApiType>;389    };390    refungible: {391      /**392       * Not Refungible item data used to mint in Refungible collection.393       **/394      NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;395      /**396       * Refungible token can't nest other tokens397       **/398      RefungibleDisallowsNesting: AugmentedError<ApiType>;399      /**400       * Maximum refungibility exceeded401       **/402      WrongRefungiblePieces: AugmentedError<ApiType>;403      /**404       * Generic error405       **/406      [key: string]: AugmentedError<ApiType>;407    };408    structure: {409      /**410       * While searched for owner, encountered depth limit411       **/412      DepthLimit: AugmentedError<ApiType>;413      /**414       * While searched for owner, got already checked account415       **/416      OuroborosDetected: AugmentedError<ApiType>;417      /**418       * While searched for owner, found token owner by not-yet-existing token419       **/420      TokenNotFound: AugmentedError<ApiType>;421      /**422       * Generic error423       **/424      [key: string]: AugmentedError<ApiType>;425    };426    sudo: {427      /**428       * Sender must be the Sudo account429       **/430      RequireSudo: AugmentedError<ApiType>;431      /**432       * Generic error433       **/434      [key: string]: AugmentedError<ApiType>;435    };436    system: {437      /**438       * The origin filter prevent the call to be dispatched.439       **/440      CallFiltered: AugmentedError<ApiType>;441      /**442       * Failed to extract the runtime version from the new runtime.443       * 444       * Either calling `Core_version` or decoding `RuntimeVersion` failed.445       **/446      FailedToExtractRuntimeVersion: AugmentedError<ApiType>;447      /**448       * The name of specification does not match between the current runtime449       * and the new runtime.450       **/451      InvalidSpecName: AugmentedError<ApiType>;452      /**453       * Suicide called when the account has non-default composite data.454       **/455      NonDefaultComposite: AugmentedError<ApiType>;456      /**457       * There is a non-zero reference count preventing the account from being purged.458       **/459      NonZeroRefCount: AugmentedError<ApiType>;460      /**461       * The specification version is not allowed to decrease between the current runtime462       * and the new runtime.463       **/464      SpecVersionNeedsToIncrease: AugmentedError<ApiType>;465      /**466       * Generic error467       **/468      [key: string]: AugmentedError<ApiType>;469    };470    treasury: {471      /**472       * Proposer's balance is too low.473       **/474      InsufficientProposersBalance: AugmentedError<ApiType>;475      /**476       * No proposal or bounty at that index.477       **/478      InvalidIndex: AugmentedError<ApiType>;479      /**480       * Too many approvals in the queue.481       **/482      TooManyApprovals: AugmentedError<ApiType>;483      /**484       * Generic error485       **/486      [key: string]: AugmentedError<ApiType>;487    };488    unique: {489      /**490       * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.491       **/492      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;493      /**494       * This address is not set as sponsor, use setCollectionSponsor first.495       **/496      ConfirmUnsetSponsorFail: AugmentedError<ApiType>;497      /**498       * Length of items properties must be greater than 0.499       **/500      EmptyArgument: AugmentedError<ApiType>;501      /**502       * Generic error503       **/504      [key: string]: AugmentedError<ApiType>;505    };506    vesting: {507      /**508       * The vested transfer amount is too low509       **/510      AmountLow: AugmentedError<ApiType>;511      /**512       * Insufficient amount of balance to lock513       **/514      InsufficientBalanceToLock: AugmentedError<ApiType>;515      /**516       * Failed because the maximum vesting schedules was exceeded517       **/518      MaxVestingSchedulesExceeded: AugmentedError<ApiType>;519      /**520       * This account have too many vesting schedules521       **/522      TooManyVestingSchedules: AugmentedError<ApiType>;523      /**524       * Vesting period is zero525       **/526      ZeroVestingPeriod: AugmentedError<ApiType>;527      /**528       * Number of vests is zero529       **/530      ZeroVestingPeriodCount: AugmentedError<ApiType>;531      /**532       * Generic error533       **/534      [key: string]: AugmentedError<ApiType>;535    };536    xcmpQueue: {537      /**538       * Bad overweight index.539       **/540      BadOverweightIndex: AugmentedError<ApiType>;541      /**542       * Bad XCM data.543       **/544      BadXcm: AugmentedError<ApiType>;545      /**546       * Bad XCM origin.547       **/548      BadXcmOrigin: AugmentedError<ApiType>;549      /**550       * Failed to send XCM message.551       **/552      FailedToSend: AugmentedError<ApiType>;553      /**554       * Provided weight is possibly not enough to execute the message.555       **/556      WeightOverLimit: AugmentedError<ApiType>;557      /**558       * Generic error559       **/560      [key: string]: AugmentedError<ApiType>;561    };562  } // AugmentedErrors563} // declare module