git.delta.rocks / unique-network / refs/commits / 504df77ef385

difftreelog

source

tests/src/interfaces/augment-api-errors.ts19.4 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       * Tried to access an external collection with an internal API85       **/86      CollectionIsExternal: AugmentedError<ApiType>;87      /**88       * Tried to access an internal collection with an external API89       **/90      CollectionIsInternal: AugmentedError<ApiType>;91      /**92       * Collection limit bounds per collection exceeded93       **/94      CollectionLimitBoundsExceeded: AugmentedError<ApiType>;95      /**96       * Collection name can not be longer than 63 char.97       **/98      CollectionNameLimitExceeded: AugmentedError<ApiType>;99      /**100       * This collection does not exist.101       **/102      CollectionNotFound: AugmentedError<ApiType>;103      /**104       * Collection token limit exceeded105       **/106      CollectionTokenLimitExceeded: AugmentedError<ApiType>;107      /**108       * Token prefix can not be longer than 15 char.109       **/110      CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;111      /**112       * Empty property keys are forbidden113       **/114      EmptyPropertyKey: AugmentedError<ApiType>;115      /**116       * Only ASCII letters, digits, and '_', '-' are allowed117       **/118      InvalidCharacterInPropertyKey: AugmentedError<ApiType>;119      /**120       * Metadata flag frozen121       **/122      MetadataFlagFrozen: AugmentedError<ApiType>;123      /**124       * Sender parameter and item owner must be equal.125       **/126      MustBeTokenOwner: AugmentedError<ApiType>;127      /**128       * No permission to perform action129       **/130      NoPermission: AugmentedError<ApiType>;131      /**132       * Tried to store more property data than allowed133       **/134      NoSpaceForProperty: AugmentedError<ApiType>;135      /**136       * Not sufficient funds to perform action137       **/138      NotSufficientFounds: 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       * User not passed nesting rule181       **/182      UserIsNotAllowedToNest: AugmentedError<ApiType>;183      /**184       * Generic error185       **/186      [key: string]: AugmentedError<ApiType>;187    };188    cumulusXcm: {189      /**190       * Generic error191       **/192      [key: string]: AugmentedError<ApiType>;193    };194    dmpQueue: {195      /**196       * The amount of weight given is possibly not enough for executing the message.197       **/198      OverLimit: AugmentedError<ApiType>;199      /**200       * The message index given is unknown.201       **/202      Unknown: AugmentedError<ApiType>;203      /**204       * Generic error205       **/206      [key: string]: AugmentedError<ApiType>;207    };208    ethereum: {209      /**210       * Signature is invalid.211       **/212      InvalidSignature: AugmentedError<ApiType>;213      /**214       * Pre-log is present, therefore transact is not allowed.215       **/216      PreLogExists: AugmentedError<ApiType>;217      /**218       * Generic error219       **/220      [key: string]: AugmentedError<ApiType>;221    };222    evm: {223      /**224       * Not enough balance to perform action225       **/226      BalanceLow: AugmentedError<ApiType>;227      /**228       * Calculating total fee overflowed229       **/230      FeeOverflow: AugmentedError<ApiType>;231      /**232       * Gas price is too low.233       **/234      GasPriceTooLow: AugmentedError<ApiType>;235      /**236       * Nonce is invalid237       **/238      InvalidNonce: AugmentedError<ApiType>;239      /**240       * Calculating total payment overflowed241       **/242      PaymentOverflow: AugmentedError<ApiType>;243      /**244       * Withdraw fee failed245       **/246      WithdrawFailed: AugmentedError<ApiType>;247      /**248       * Generic error249       **/250      [key: string]: AugmentedError<ApiType>;251    };252    evmCoderSubstrate: {253      OutOfFund: AugmentedError<ApiType>;254      OutOfGas: AugmentedError<ApiType>;255      /**256       * Generic error257       **/258      [key: string]: AugmentedError<ApiType>;259    };260    evmContractHelpers: {261      /**262       * This method is only executable by owner263       **/264      NoPermission: AugmentedError<ApiType>;265      /**266       * Generic error267       **/268      [key: string]: AugmentedError<ApiType>;269    };270    evmMigration: {271      AccountIsNotMigrating: AugmentedError<ApiType>;272      AccountNotEmpty: AugmentedError<ApiType>;273      /**274       * Generic error275       **/276      [key: string]: AugmentedError<ApiType>;277    };278    fungible: {279      /**280       * Fungible token does not support nested281       **/282      FungibleDisallowsNesting: AugmentedError<ApiType>;283      /**284       * Tried to set data for fungible item285       **/286      FungibleItemsDontHaveData: AugmentedError<ApiType>;287      /**288       * Not default id passed as TokenId argument289       **/290      FungibleItemsHaveNoId: AugmentedError<ApiType>;291      /**292       * Not Fungible item data used to mint in Fungible collection.293       **/294      NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;295      /**296       * Setting item properties is not allowed297       **/298      SettingPropertiesNotAllowed: AugmentedError<ApiType>;299      /**300       * Generic error301       **/302      [key: string]: AugmentedError<ApiType>;303    };304    nonfungible: {305      /**306       * Unable to burn NFT with children307       **/308      CantBurnNftWithChildren: AugmentedError<ApiType>;309      /**310       * Used amount > 1 with NFT311       **/312      NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;313      /**314       * Not Nonfungible item data used to mint in Nonfungible collection.315       **/316      NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;317      /**318       * Generic error319       **/320      [key: string]: AugmentedError<ApiType>;321    };322    parachainSystem: {323      /**324       * The inherent which supplies the host configuration did not run this block325       **/326      HostConfigurationNotAvailable: AugmentedError<ApiType>;327      /**328       * No code upgrade has been authorized.329       **/330      NothingAuthorized: AugmentedError<ApiType>;331      /**332       * No validation function upgrade is currently scheduled.333       **/334      NotScheduled: AugmentedError<ApiType>;335      /**336       * Attempt to upgrade validation function while existing upgrade pending337       **/338      OverlappingUpgrades: AugmentedError<ApiType>;339      /**340       * Polkadot currently prohibits this parachain from upgrading its validation function341       **/342      ProhibitedByPolkadot: AugmentedError<ApiType>;343      /**344       * The supplied validation function has compiled into a blob larger than Polkadot is345       * willing to run346       **/347      TooBig: AugmentedError<ApiType>;348      /**349       * The given code upgrade has not been authorized.350       **/351      Unauthorized: AugmentedError<ApiType>;352      /**353       * The inherent which supplies the validation data did not run this block354       **/355      ValidationDataNotAvailable: AugmentedError<ApiType>;356      /**357       * Generic error358       **/359      [key: string]: AugmentedError<ApiType>;360    };361    polkadotXcm: {362      /**363       * The location is invalid since it already has a subscription from us.364       **/365      AlreadySubscribed: AugmentedError<ApiType>;366      /**367       * The given location could not be used (e.g. because it cannot be expressed in the368       * desired version of XCM).369       **/370      BadLocation: AugmentedError<ApiType>;371      /**372       * The version of the `Versioned` value used is not able to be interpreted.373       **/374      BadVersion: AugmentedError<ApiType>;375      /**376       * Could not re-anchor the assets to declare the fees for the destination chain.377       **/378      CannotReanchor: AugmentedError<ApiType>;379      /**380       * The destination `MultiLocation` provided cannot be inverted.381       **/382      DestinationNotInvertible: AugmentedError<ApiType>;383      /**384       * The assets to be sent are empty.385       **/386      Empty: AugmentedError<ApiType>;387      /**388       * The message execution fails the filter.389       **/390      Filtered: AugmentedError<ApiType>;391      /**392       * Origin is invalid for sending.393       **/394      InvalidOrigin: AugmentedError<ApiType>;395      /**396       * The referenced subscription could not be found.397       **/398      NoSubscription: AugmentedError<ApiType>;399      /**400       * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps401       * a lack of space for buffering the message.402       **/403      SendFailure: AugmentedError<ApiType>;404      /**405       * Too many assets have been attempted for transfer.406       **/407      TooManyAssets: AugmentedError<ApiType>;408      /**409       * The desired destination was unreachable, generally because there is a no way of routing410       * to it.411       **/412      Unreachable: AugmentedError<ApiType>;413      /**414       * The message's weight could not be determined.415       **/416      UnweighableMessage: AugmentedError<ApiType>;417      /**418       * Generic error419       **/420      [key: string]: AugmentedError<ApiType>;421    };422    refungible: {423      /**424       * Not Refungible item data used to mint in Refungible collection.425       **/426      NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;427      /**428       * Refungible token can't nest other tokens429       **/430      RefungibleDisallowsNesting: AugmentedError<ApiType>;431      /**432       * Setting item properties is not allowed433       **/434      SettingPropertiesNotAllowed: AugmentedError<ApiType>;435      /**436       * Maximum refungibility exceeded437       **/438      WrongRefungiblePieces: AugmentedError<ApiType>;439      /**440       * Generic error441       **/442      [key: string]: AugmentedError<ApiType>;443    };444    rmrkCore: {445      CannotAcceptNonOwnedNft: AugmentedError<ApiType>;446      CannotRejectNonOwnedNft: AugmentedError<ApiType>;447      CannotSendToDescendentOrSelf: AugmentedError<ApiType>;448      CollectionFullOrLocked: AugmentedError<ApiType>;449      CollectionNotEmpty: AugmentedError<ApiType>;450      CollectionUnknown: AugmentedError<ApiType>;451      CorruptedCollectionType: AugmentedError<ApiType>;452      NftTypeEncodeError: AugmentedError<ApiType>;453      NoAvailableCollectionId: AugmentedError<ApiType>;454      NoAvailableNftId: AugmentedError<ApiType>;455      NonTransferable: AugmentedError<ApiType>;456      NoPermission: AugmentedError<ApiType>;457      ResourceDoesntExist: AugmentedError<ApiType>;458      ResourceNotPending: AugmentedError<ApiType>;459      RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;460      RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;461      /**462       * Generic error463       **/464      [key: string]: AugmentedError<ApiType>;465    };466    rmrkEquip: {467      BaseDoesntExist: AugmentedError<ApiType>;468      NeedsDefaultThemeFirst: AugmentedError<ApiType>;469      NoAvailableBaseId: AugmentedError<ApiType>;470      NoAvailablePartId: AugmentedError<ApiType>;471      PermissionError: AugmentedError<ApiType>;472      /**473       * Generic error474       **/475      [key: string]: AugmentedError<ApiType>;476    };477    scheduler: {478      /**479       * Failed to schedule a call480       **/481      FailedToSchedule: AugmentedError<ApiType>;482      /**483       * Cannot find the scheduled call.484       **/485      NotFound: AugmentedError<ApiType>;486      /**487       * Reschedule failed because it does not change scheduled time.488       **/489      RescheduleNoChange: AugmentedError<ApiType>;490      /**491       * Given target block number is in the past.492       **/493      TargetBlockNumberInPast: AugmentedError<ApiType>;494      /**495       * Generic error496       **/497      [key: string]: AugmentedError<ApiType>;498    };499    structure: {500      /**501       * While iterating over children, encountered breadth limit502       **/503      BreadthLimit: AugmentedError<ApiType>;504      /**505       * While searched for owner, encountered depth limit506       **/507      DepthLimit: AugmentedError<ApiType>;508      /**509       * While searched for owner, got already checked account510       **/511      OuroborosDetected: AugmentedError<ApiType>;512      /**513       * While searched for owner, found token owner by not-yet-existing token514       **/515      TokenNotFound: AugmentedError<ApiType>;516      /**517       * Generic error518       **/519      [key: string]: AugmentedError<ApiType>;520    };521    sudo: {522      /**523       * Sender must be the Sudo account524       **/525      RequireSudo: AugmentedError<ApiType>;526      /**527       * Generic error528       **/529      [key: string]: AugmentedError<ApiType>;530    };531    system: {532      /**533       * The origin filter prevent the call to be dispatched.534       **/535      CallFiltered: AugmentedError<ApiType>;536      /**537       * Failed to extract the runtime version from the new runtime.538       * 539       * Either calling `Core_version` or decoding `RuntimeVersion` failed.540       **/541      FailedToExtractRuntimeVersion: AugmentedError<ApiType>;542      /**543       * The name of specification does not match between the current runtime544       * and the new runtime.545       **/546      InvalidSpecName: AugmentedError<ApiType>;547      /**548       * Suicide called when the account has non-default composite data.549       **/550      NonDefaultComposite: AugmentedError<ApiType>;551      /**552       * There is a non-zero reference count preventing the account from being purged.553       **/554      NonZeroRefCount: AugmentedError<ApiType>;555      /**556       * The specification version is not allowed to decrease between the current runtime557       * and the new runtime.558       **/559      SpecVersionNeedsToIncrease: AugmentedError<ApiType>;560      /**561       * Generic error562       **/563      [key: string]: AugmentedError<ApiType>;564    };565    treasury: {566      /**567       * Proposer's balance is too low.568       **/569      InsufficientProposersBalance: AugmentedError<ApiType>;570      /**571       * No proposal or bounty at that index.572       **/573      InvalidIndex: AugmentedError<ApiType>;574      /**575       * Proposal has not been approved.576       **/577      ProposalNotApproved: AugmentedError<ApiType>;578      /**579       * Too many approvals in the queue.580       **/581      TooManyApprovals: AugmentedError<ApiType>;582      /**583       * Generic error584       **/585      [key: string]: AugmentedError<ApiType>;586    };587    unique: {588      /**589       * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.590       **/591      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;592      /**593       * This address is not set as sponsor, use setCollectionSponsor first.594       **/595      ConfirmUnsetSponsorFail: AugmentedError<ApiType>;596      /**597       * Length of items properties must be greater than 0.598       **/599      EmptyArgument: AugmentedError<ApiType>;600      /**601       * Generic error602       **/603      [key: string]: AugmentedError<ApiType>;604    };605    vesting: {606      /**607       * The vested transfer amount is too low608       **/609      AmountLow: AugmentedError<ApiType>;610      /**611       * Insufficient amount of balance to lock612       **/613      InsufficientBalanceToLock: AugmentedError<ApiType>;614      /**615       * Failed because the maximum vesting schedules was exceeded616       **/617      MaxVestingSchedulesExceeded: AugmentedError<ApiType>;618      /**619       * This account have too many vesting schedules620       **/621      TooManyVestingSchedules: AugmentedError<ApiType>;622      /**623       * Vesting period is zero624       **/625      ZeroVestingPeriod: AugmentedError<ApiType>;626      /**627       * Number of vests is zero628       **/629      ZeroVestingPeriodCount: AugmentedError<ApiType>;630      /**631       * Generic error632       **/633      [key: string]: AugmentedError<ApiType>;634    };635    xcmpQueue: {636      /**637       * Bad overweight index.638       **/639      BadOverweightIndex: AugmentedError<ApiType>;640      /**641       * Bad XCM data.642       **/643      BadXcm: AugmentedError<ApiType>;644      /**645       * Bad XCM origin.646       **/647      BadXcmOrigin: AugmentedError<ApiType>;648      /**649       * Failed to send XCM message.650       **/651      FailedToSend: AugmentedError<ApiType>;652      /**653       * Provided weight is possibly not enough to execute the message.654       **/655      WeightOverLimit: AugmentedError<ApiType>;656      /**657       * Generic error658       **/659      [key: string]: AugmentedError<ApiType>;660    };661  } // AugmentedErrors662} // declare module