import { PlainDescriptor, TxDescriptor, RuntimeDescriptor, Enum, ApisFromDef, QueryFromPalletsDef, TxFromPalletsDef, EventsFromPalletsDef, ErrorsFromPalletsDef, ConstFromPalletsDef, ViewFnsFromPalletsDef, SizedHex, FixedSizeArray } from "polkadot-api"; import type { Ia5cotcvi888ln, I21jsa919m88fd, Iegif7m3upfe1k, I9kt8c221c83ln, Ic76kfh5ebqkpl, Icscpmubum33bq, I21d2olof7eb60, Ibgm4rnf22lal1, Ie68np0vpihith, I9bnv6lu0crf1q, Iauhjqifrdklq7, Ie1uso9m8rt5cf, Idrv9sn94spntn, I66celthih5oio, I6h467t3h9mu0r, Iaoqe81db6mqng, Ie9o86shcq0ome, I5r8t4iaend96p, Ie2db4l6126rkt, Ictkqqlhdjt761, Iftvbctbo05fu4, XcmVersionedXcm, Ic0c3req3mlc1l, I4q39t5hn830vp, XcmVersionedAssetId, I7ocn4njqde3v5, XcmVersionedLocation, Iek7ha36da9mf5, I7qpv90droestd, I2nhpa757v7jk9, I7d04odr0ekssi, I2timq2cfgd8gf, If9iqq7i64mur8, I35p85j063s0il, I5vv5n03oo8gas, ExtensionsCheckMortality, I182pt4kr56mhn, I87rnrnks7g0hm, I4s6vifaf8k998 } from "./common-types"; type AnonymousEnum = T & { __anonymous: true; }; type MyTuple = [T, ...T[]]; type SeparateUndefined = undefined extends T ? undefined | Exclude : T; type Anonymize = SeparateUndefined ? T : T extends AnonymousEnum ? Enum : T extends MyTuple ? { [K in keyof T]: T[K]; } : T extends [] ? [] : T extends FixedSizeArray ? number extends L ? Array : FixedSizeArray : { [K in keyof T & string]: T[K]; }>; type IStorage = {}; type ICalls = { PolkadotXcm: { /** */ send: TxDescriptor>; /** * Teleport some assets from the local chain to some destination chain. * * **This function is deprecated: Use `limited_teleport_assets` instead.** * * Fee payment on the destination side is made from the asset in the `assets` vector of * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, * with all fees taken as needed from the asset. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `dest`: Destination context for the assets. Will typically be `[Parent, * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will * generally be an `AccountId32` value. * - `assets`: The assets to be withdrawn. This should include the assets used to pay the * fee on the `dest` chain. * - `fee_asset_item`: The index into `assets` of the item which should be used to pay * fees. */ teleport_assets: TxDescriptor>; /** * Transfer some assets from the local chain to the destination chain through their local, * destination or remote reserve. * * `assets` must have same reserve location and may not be teleportable to `dest`. * - `assets` have local reserve: transfer assets to sovereign account of destination * chain and forward a notification XCM to `dest` to mint and deposit reserve-based * assets to `beneficiary`. * - `assets` have destination reserve: burn local assets and forward a notification to * `dest` chain to withdraw the reserve assets from this chain's sovereign account and * deposit them to `beneficiary`. * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` * to mint and deposit reserve-based assets to `beneficiary`. * * **This function is deprecated: Use `limited_reserve_transfer_assets` instead.** * * Fee payment on the destination side is made from the asset in the `assets` vector of * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, * with all fees taken as needed from the asset. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `dest`: Destination context for the assets. Will typically be `[Parent, * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will * generally be an `AccountId32` value. * - `assets`: The assets to be withdrawn. This should include the assets used to pay the * fee on the `dest` (and possibly reserve) chains. * - `fee_asset_item`: The index into `assets` of the item which should be used to pay * fees. */ reserve_transfer_assets: TxDescriptor>; /** * Execute an XCM message from a local, signed, origin. * * An event is deposited indicating whether `msg` could be executed completely or only * partially. * * No more than `max_weight` will be used in its attempted execution. If this is less than * the maximum amount of weight that the message could take to be executed, then no * execution attempt will be made. */ execute: TxDescriptor>; /** * Extoll that a particular destination can be communicated with through a particular * version of XCM. * * - `origin`: Must be an origin specified by AdminOrigin. * - `location`: The destination that is being described. * - `xcm_version`: The latest version of XCM that `location` supports. */ force_xcm_version: TxDescriptor>; /** * Set a safe XCM version (the version that XCM should be encoded with if the most recent * version a destination can accept is unknown). * * - `origin`: Must be an origin specified by AdminOrigin. * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. */ force_default_xcm_version: TxDescriptor>; /** * Ask a location to notify us regarding their XCM version and any changes to it. * * - `origin`: Must be an origin specified by AdminOrigin. * - `location`: The location to which we should subscribe for XCM version notifications. */ force_subscribe_version_notify: TxDescriptor>; /** * Require that a particular destination should no longer notify us regarding any XCM * version changes. * * - `origin`: Must be an origin specified by AdminOrigin. * - `location`: The location to which we are currently subscribed for XCM version * notifications which we no longer desire. */ force_unsubscribe_version_notify: TxDescriptor>; /** * Transfer some assets from the local chain to the destination chain through their local, * destination or remote reserve. * * `assets` must have same reserve location and may not be teleportable to `dest`. * - `assets` have local reserve: transfer assets to sovereign account of destination * chain and forward a notification XCM to `dest` to mint and deposit reserve-based * assets to `beneficiary`. * - `assets` have destination reserve: burn local assets and forward a notification to * `dest` chain to withdraw the reserve assets from this chain's sovereign account and * deposit them to `beneficiary`. * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` * to mint and deposit reserve-based assets to `beneficiary`. * * Fee payment on the destination side is made from the asset in the `assets` vector of * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight * is needed than `weight_limit`, then the operation will fail and the sent assets may be * at risk. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `dest`: Destination context for the assets. Will typically be `[Parent, * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will * generally be an `AccountId32` value. * - `assets`: The assets to be withdrawn. This should include the assets used to pay the * fee on the `dest` (and possibly reserve) chains. * - `fee_asset_item`: The index into `assets` of the item which should be used to pay * fees. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. */ limited_reserve_transfer_assets: TxDescriptor>; /** * Teleport some assets from the local chain to some destination chain. * * Fee payment on the destination side is made from the asset in the `assets` vector of * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight * is needed than `weight_limit`, then the operation will fail and the sent assets may be * at risk. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `dest`: Destination context for the assets. Will typically be `[Parent, * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will * generally be an `AccountId32` value. * - `assets`: The assets to be withdrawn. This should include the assets used to pay the * fee on the `dest` chain. * - `fee_asset_item`: The index into `assets` of the item which should be used to pay * fees. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. */ limited_teleport_assets: TxDescriptor>; /** * Set or unset the global suspension state of the XCM executor. * * - `origin`: Must be an origin specified by AdminOrigin. * - `suspended`: `true` to suspend, `false` to resume. */ force_suspension: TxDescriptor>; /** * Transfer some assets from the local chain to the destination chain through their local, * destination or remote reserve, or through teleports. * * Fee payment on the destination side is made from the asset in the `assets` vector of * index `fee_asset_item` (hence referred to as `fees`), up to enough to pay for * `weight_limit` of weight. If more weight is needed than `weight_limit`, then the * operation will fail and the sent assets may be at risk. * * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable * to `dest`, no limitations imposed on `fees`. * - for local reserve: transfer assets to sovereign account of destination chain and * forward a notification XCM to `dest` to mint and deposit reserve-based assets to * `beneficiary`. * - for destination reserve: burn local assets and forward a notification to `dest` chain * to withdraw the reserve assets from this chain's sovereign account and deposit them * to `beneficiary`. * - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves * from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint * and deposit reserve-based assets to `beneficiary`. * - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport * assets and deposit them to `beneficiary`. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `dest`: Destination context for the assets. Will typically be `X2(Parent, * Parachain(..))` to send from parachain to parachain, or `X1(Parachain(..))` to send * from relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will * generally be an `AccountId32` value. * - `assets`: The assets to be withdrawn. This should include the assets used to pay the * fee on the `dest` (and possibly reserve) chains. * - `fee_asset_item`: The index into `assets` of the item which should be used to pay * fees. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. */ transfer_assets: TxDescriptor>; /** * Claims assets trapped on this pallet because of leftover assets during XCM execution. * * - `origin`: Anyone can call this extrinsic. * - `assets`: The exact assets that were trapped. Use the version to specify what version * was the latest when they were trapped. * - `beneficiary`: The location/account where the claimed assets will be deposited. */ claim_assets: TxDescriptor>; /** * Transfer assets from the local chain to the destination chain using explicit transfer * types for assets and fees. * * `assets` must have same reserve location or may be teleportable to `dest`. Caller must * provide the `assets_transfer_type` to be used for `assets`: * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination * chain and forward a notification XCM to `dest` to mint and deposit reserve-based * assets to `beneficiary`. * - `TransferType::DestinationReserve`: burn local assets and forward a notification to * `dest` chain to withdraw the reserve assets from this chain's sovereign account and * deposit them to `beneficiary`. * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` * chain to move reserves from this chain's SA to `dest` chain's SA, and forward another * XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically * the remote `reserve` is Asset Hub. * - `TransferType::Teleport`: burn local assets and forward XCM to `dest` chain to * mint/teleport assets and deposit them to `beneficiary`. * * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to * buy execution using transferred `assets` identified by `remote_fees_id`. * Make sure enough of the specified `remote_fees_id` asset is included in the given list * of `assets`. `remote_fees_id` should be enough to pay for `weight_limit`. If more weight * is needed than `weight_limit`, then the operation will fail and the sent assets may be * at risk. * * `remote_fees_id` may use different transfer type than rest of `assets` and can be * specified through `fees_transfer_type`. * * The caller needs to specify what should happen to the transferred assets once they reach * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which * contains the instructions to execute on `dest` as a final step. * This is usually as simple as: * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`, * but could be something more exotic like sending the `assets` even further. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `dest`: Destination context for the assets. Will typically be `[Parent, * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from * relay to parachain, or `(parents: 2, (GlobalConsensus(..), ..))` to send from * parachain across a bridge to another ecosystem destination. * - `assets`: The assets to be withdrawn. This should include the assets used to pay the * fee on the `dest` (and possibly reserve) chains. * - `assets_transfer_type`: The XCM `TransferType` used to transfer the `assets`. * - `remote_fees_id`: One of the included `assets` to be used to pay fees. * - `fees_transfer_type`: The XCM `TransferType` used to transfer the `fees` assets. * - `custom_xcm_on_dest`: The XCM to be executed on `dest` chain as the last step of the * transfer, which also determines what happens to the assets on the destination chain. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. */ transfer_assets_using_type_and_then: TxDescriptor>; /** * Authorize another `aliaser` location to alias into the local `origin` making this call. * The `aliaser` is only authorized until the provided `expiry` block number. * The call can also be used for a previously authorized alias in order to update its * `expiry` block number. * * Usually useful to allow your local account to be aliased into from a remote location * also under your control (like your account on another chain). * * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in * their/your name. Once authorized using this call, the `aliaser` can freely impersonate * `origin` in XCM programs executed on the local chain. */ add_authorized_alias: TxDescriptor>; /** * Remove a previously authorized `aliaser` from the list of locations that can alias into * the local `origin` making this call. */ remove_authorized_alias: TxDescriptor>; /** * Remove all previously authorized `aliaser`s that can alias into the local `origin` * making this call. */ remove_all_authorized_aliases: TxDescriptor; }; Utility: { /** * Send a batch of dispatch calls. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatched without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity * - O(C) where C is the number of calls to be batched. * * This will return `Ok` in all circumstances. To determine the success of the batch, an * event is deposited. If a call failed and the batch was interrupted, then the * `BatchInterrupted` event is deposited, along with the number of successful calls made * and the error of the failed call. If all were successful, then the `BatchCompleted` * event is deposited. */ batch: TxDescriptor>; /** * Send a call through an indexed pseudonym of the sender. * * Filter from origin are passed along. The call will be dispatched with an origin which * use the same filter as the origin of this call. * * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. * because you expect `proxy` to have been used prior in the call stack and you do not want * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` * in the Multisig pallet instead. * * NOTE: Prior to version *12, this was called `as_limited_sub`. * * The dispatch origin for this call must be _Signed_. */ as_derivative: TxDescriptor>; /** * Send a batch of dispatch calls and atomically execute them. * The whole transaction will rollback and fail if any of the calls failed. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatched without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity * - O(C) where C is the number of calls to be batched. */ batch_all: TxDescriptor>; /** * Dispatches a function call with a provided origin. * * The dispatch origin for this call must be _Root_. * * ## Complexity * - O(1). */ dispatch_as: TxDescriptor>; /** * Send a batch of dispatch calls. * Unlike `batch`, it allows errors and won't interrupt. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatch without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity * - O(C) where C is the number of calls to be batched. */ force_batch: TxDescriptor>; /** * Dispatch a function call with a specified weight. * * This function does not check the weight of the call, and instead allows the * Root origin to specify the weight of the call. * * The dispatch origin for this call must be _Root_. */ with_weight: TxDescriptor>; /** * Dispatch a fallback call in the event the main call fails to execute. * May be called from any origin except `None`. * * This function first attempts to dispatch the `main` call. * If the `main` call fails, the `fallback` is attemted. * if the fallback is successfully dispatched, the weights of both calls * are accumulated and an event containing the main call error is deposited. * * In the event of a fallback failure the whole call fails * with the weights returned. * * - `main`: The main call to be dispatched. This is the primary action to execute. * - `fallback`: The fallback call to be dispatched in case the `main` call fails. * * ## Dispatch Logic * - If the origin is `root`, both the main and fallback calls are executed without * applying any origin filters. * - If the origin is not `root`, the origin filter is applied to both the `main` and * `fallback` calls. * * ## Use Case * - Some use cases might involve submitting a `batch` type call in either main, fallback * or both. */ if_else: TxDescriptor>; /** * Dispatches a function call with a provided origin. * * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call. * * The dispatch origin for this call must be _Root_. */ dispatch_as_fallible: TxDescriptor>; }; }; type IEvent = {}; type IError = { System: { /** * The name of specification does not match between the current runtime * and the new runtime. */ InvalidSpecName: PlainDescriptor; /** * The specification version is not allowed to decrease between the current runtime * and the new runtime. */ SpecVersionNeedsToIncrease: PlainDescriptor; /** * Failed to extract the runtime version from the new runtime. * * Either calling `Core_version` or decoding `RuntimeVersion` failed. */ FailedToExtractRuntimeVersion: PlainDescriptor; /** * Suicide called when the account has non-default composite data. */ NonDefaultComposite: PlainDescriptor; /** * There is a non-zero reference count preventing the account from being purged. */ NonZeroRefCount: PlainDescriptor; /** * The origin filter prevent the call to be dispatched. */ CallFiltered: PlainDescriptor; /** * A multi-block migration is ongoing and prevents the current code from being replaced. */ MultiBlockMigrationsOngoing: PlainDescriptor; /** * The specified [`Task`] is not valid. */ InvalidTask: PlainDescriptor; /** * The specified [`Task`] failed during execution. */ FailedTask: PlainDescriptor; /** * No upgrade authorized. */ NothingAuthorized: PlainDescriptor; /** * The submitted code is not authorized. */ Unauthorized: PlainDescriptor; }; ParachainSystem: { /** * Attempt to upgrade validation function while existing upgrade pending. */ OverlappingUpgrades: PlainDescriptor; /** * Polkadot currently prohibits this parachain from upgrading its validation function. */ ProhibitedByPolkadot: PlainDescriptor; /** * The supplied validation function has compiled into a blob larger than Polkadot is * willing to run. */ TooBig: PlainDescriptor; /** * The inherent which supplies the validation data did not run this block. */ ValidationDataNotAvailable: PlainDescriptor; /** * The inherent which supplies the host configuration did not run this block. */ HostConfigurationNotAvailable: PlainDescriptor; /** * No validation function upgrade is currently scheduled. */ NotScheduled: PlainDescriptor; }; Preimage: { /** * Preimage is too large to store on-chain. */ TooBig: PlainDescriptor; /** * Preimage has already been noted on-chain. */ AlreadyNoted: PlainDescriptor; /** * The user is not authorized to perform this action. */ NotAuthorized: PlainDescriptor; /** * The preimage cannot be removed since it has not yet been noted. */ NotNoted: PlainDescriptor; /** * A preimage may not be removed when there are outstanding requests. */ Requested: PlainDescriptor; /** * The preimage request cannot be removed since no outstanding requests exist. */ NotRequested: PlainDescriptor; /** * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. */ TooMany: PlainDescriptor; /** * Too few hashes were requested to be upgraded (i.e. zero). */ TooFew: PlainDescriptor; }; Scheduler: { /** * Failed to schedule a call */ FailedToSchedule: PlainDescriptor; /** * Cannot find the scheduled call. */ NotFound: PlainDescriptor; /** * Given target block number is in the past. */ TargetBlockNumberInPast: PlainDescriptor; /** * Reschedule failed because it does not change scheduled time. */ RescheduleNoChange: PlainDescriptor; /** * Attempt to use a non-named function on a named task. */ Named: PlainDescriptor; }; MultiBlockMigrations: { /** * The operation cannot complete since some MBMs are ongoing. */ Ongoing: PlainDescriptor; }; Balances: { /** * Vesting balance too high to send value. */ VestingBalance: PlainDescriptor; /** * Account liquidity restrictions prevent withdrawal. */ LiquidityRestrictions: PlainDescriptor; /** * Balance too low to send value. */ InsufficientBalance: PlainDescriptor; /** * Value too low to create account due to existential deposit. */ ExistentialDeposit: PlainDescriptor; /** * Transfer/payment would kill account. */ Expendability: PlainDescriptor; /** * A vesting schedule already exists for this account. */ ExistingVestingSchedule: PlainDescriptor; /** * Beneficiary account must pre-exist. */ DeadAccount: PlainDescriptor; /** * Number of named reserves exceed `MaxReserves`. */ TooManyReserves: PlainDescriptor; /** * Number of holds exceed `VariantCountOf`. */ TooManyHolds: PlainDescriptor; /** * Number of freezes exceed `MaxFreezes`. */ TooManyFreezes: PlainDescriptor; /** * The issuance cannot be modified since it is already deactivated. */ IssuanceDeactivated: PlainDescriptor; /** * The delta cannot be zero. */ DeltaZero: PlainDescriptor; }; Vesting: { /** * The account given is not vesting. */ NotVesting: PlainDescriptor; /** * The account already has `MaxVestingSchedules` count of schedules and thus * cannot add another one. Consider merging existing schedules in order to add another. */ AtMaxVestingSchedules: PlainDescriptor; /** * Amount being transferred is too low to create a vesting schedule. */ AmountLow: PlainDescriptor; /** * An index was out of bounds of the vesting schedules. */ ScheduleIndexOutOfBounds: PlainDescriptor; /** * Failed to create a new schedule because some parameter was invalid. */ InvalidScheduleParams: PlainDescriptor; }; Claims: { /** * Invalid Ethereum signature. */ InvalidEthereumSignature: PlainDescriptor; /** * Ethereum address has no claim. */ SignerHasNoClaim: PlainDescriptor; /** * Account ID sending transaction has no claim. */ SenderHasNoClaim: PlainDescriptor; /** * There's not enough in the pot to pay out some unvested amount. Generally implies a * logic error. */ PotUnderflow: PlainDescriptor; /** * A needed statement was not included. */ InvalidStatement: PlainDescriptor; /** * The account already has a vested balance. */ VestedBalanceExists: PlainDescriptor; }; Dap: { /** * A key in the budget allocation does not match any registered recipient. */ UnknownBudgetKey: PlainDescriptor; /** * Budget allocation percentages do not sum to exactly 100%. */ BudgetNotExact: PlainDescriptor; }; CollatorSelection: { /** * The pallet has too many candidates. */ TooManyCandidates: PlainDescriptor; /** * Leaving would result in too few candidates. */ TooFewEligibleCollators: PlainDescriptor; /** * Account is already a candidate. */ AlreadyCandidate: PlainDescriptor; /** * Account is not a candidate. */ NotCandidate: PlainDescriptor; /** * There are too many Invulnerables. */ TooManyInvulnerables: PlainDescriptor; /** * Account is already an Invulnerable. */ AlreadyInvulnerable: PlainDescriptor; /** * Account is not an Invulnerable. */ NotInvulnerable: PlainDescriptor; /** * Account has no associated validator ID. */ NoAssociatedValidatorId: PlainDescriptor; /** * Validator ID is not yet registered. */ ValidatorNotRegistered: PlainDescriptor; /** * Could not insert in the candidate list. */ InsertToCandidateListFailed: PlainDescriptor; /** * Could not remove from the candidate list. */ RemoveFromCandidateListFailed: PlainDescriptor; /** * New deposit amount would be below the minimum candidacy bond. */ DepositTooLow: PlainDescriptor; /** * Could not update the candidate list. */ UpdateCandidateListFailed: PlainDescriptor; /** * Deposit amount is too low to take the target's slot in the candidate list. */ InsufficientBond: PlainDescriptor; /** * The target account to be replaced in the candidate list is not a candidate. */ TargetIsNotCandidate: PlainDescriptor; /** * The updated deposit amount is equal to the amount already reserved. */ IdenticalDeposit: PlainDescriptor; /** * Cannot lower candidacy bond while occupying a future collator slot in the list. */ InvalidUnreserve: PlainDescriptor; }; Session: { /** * Invalid ownership proof. */ InvalidProof: PlainDescriptor; /** * No associated validator ID for account. */ NoAssociatedValidatorId: PlainDescriptor; /** * Registered duplicate key. */ DuplicatedKey: PlainDescriptor; /** * No keys are associated with this account. */ NoKeys: PlainDescriptor; /** * Key setting account is not live, so it's impossible to associate keys. */ NoAccount: PlainDescriptor; }; XcmpQueue: { /** * Setting the queue config failed since one of its values was invalid. */ BadQueueConfig: PlainDescriptor; /** * The execution is already suspended. */ AlreadySuspended: PlainDescriptor; /** * The execution is already resumed. */ AlreadyResumed: PlainDescriptor; /** * There are too many active outbound channels. */ TooManyActiveOutboundChannels: PlainDescriptor; /** * The message is too big. */ TooBig: PlainDescriptor; }; PolkadotXcm: { /** * The desired destination was unreachable, generally because there is a no way of routing * to it. */ Unreachable: PlainDescriptor; /** * There was some other issue (i.e. not to do with routing) in sending the message. * Perhaps a lack of space for buffering the message. */ SendFailure: PlainDescriptor; /** * The message execution fails the filter. */ Filtered: PlainDescriptor; /** * The message's weight could not be determined. */ UnweighableMessage: PlainDescriptor; /** * The destination `Location` provided cannot be inverted. */ DestinationNotInvertible: PlainDescriptor; /** * The assets to be sent are empty. */ Empty: PlainDescriptor; /** * Could not re-anchor the assets to declare the fees for the destination chain. */ CannotReanchor: PlainDescriptor; /** * Too many assets have been attempted for transfer. */ TooManyAssets: PlainDescriptor; /** * Origin is invalid for sending. */ InvalidOrigin: PlainDescriptor; /** * The version of the `Versioned` value used is not able to be interpreted. */ BadVersion: PlainDescriptor; /** * The given location could not be used (e.g. because it cannot be expressed in the * desired version of XCM). */ BadLocation: PlainDescriptor; /** * The referenced subscription could not be found. */ NoSubscription: PlainDescriptor; /** * The location is invalid since it already has a subscription from us. */ AlreadySubscribed: PlainDescriptor; /** * Could not check-out the assets for teleportation to the destination chain. */ CannotCheckOutTeleport: PlainDescriptor; /** * The owner does not own (all) of the asset that they wish to do the operation on. */ LowBalance: PlainDescriptor; /** * The asset owner has too many locks on the asset. */ TooManyLocks: PlainDescriptor; /** * The given account is not an identifiable sovereign account for any location. */ AccountNotSovereign: PlainDescriptor; /** * The operation required fees to be paid which the initiator could not meet. */ FeesNotMet: PlainDescriptor; /** * A remote lock with the corresponding data could not be found. */ LockNotFound: PlainDescriptor; /** * The unlock operation cannot succeed because there are still consumers of the lock. */ InUse: PlainDescriptor; /** * Invalid asset, reserve chain could not be determined for it. */ InvalidAssetUnknownReserve: PlainDescriptor; /** * Invalid asset, do not support remote asset reserves with different fees reserves. */ InvalidAssetUnsupportedReserve: PlainDescriptor; /** * Too many assets with different reserve locations have been attempted for transfer. */ TooManyReserves: PlainDescriptor; /** * Local XCM execution incomplete. */ LocalExecutionIncomplete: PlainDescriptor; /** * Too many locations authorized to alias origin. */ TooManyAuthorizedAliases: PlainDescriptor; /** * Expiry block number is in the past. */ ExpiresInPast: PlainDescriptor; /** * The alias to remove authorization for was not found. */ AliasNotFound: PlainDescriptor; /** * Local XCM execution incomplete with the actual XCM error and the index of the * instruction that caused the error. */ LocalExecutionIncompleteWithError: PlainDescriptor>; }; MessageQueue: { /** * Page is not reapable because it has items remaining to be processed and is not old * enough. */ NotReapable: PlainDescriptor; /** * Page to be reaped does not exist. */ NoPage: PlainDescriptor; /** * The referenced message could not be found. */ NoMessage: PlainDescriptor; /** * The message was already processed and cannot be processed again. */ AlreadyProcessed: PlainDescriptor; /** * The message is queued for future execution. */ Queued: PlainDescriptor; /** * There is temporarily not enough weight to continue servicing messages. */ InsufficientWeight: PlainDescriptor; /** * This message is temporarily unprocessable. * * Such errors are expected, but not guaranteed, to resolve themselves eventually through * retrying. */ TemporarilyUnprocessable: PlainDescriptor; /** * The queue is paused and no message can be executed from it. * * This can change at any time and may resolve in the future by re-trying. */ QueuePaused: PlainDescriptor; /** * Another call is in progress and needs to finish before this call can happen. */ RecursiveDisallowed: PlainDescriptor; }; SnowbridgeSystemFrontend: { /** * Convert versioned location failure */ UnsupportedLocationVersion: PlainDescriptor; /** * Check location failure, should start from the dispatch origin as owner */ InvalidAssetOwner: PlainDescriptor; /** * Send xcm message failure */ SendFailure: PlainDescriptor; /** * Withdraw fee asset failure */ FeesNotMet: PlainDescriptor; /** * Convert to reanchored location failure */ LocationConversionFailed: PlainDescriptor; /** * Message export is halted */ Halted: PlainDescriptor; /** * The desired destination was unreachable, generally because there is a no way of routing * to it. */ Unreachable: PlainDescriptor; /** * The asset provided for the tip is unsupported. */ UnsupportedAsset: PlainDescriptor; /** * Unable to withdraw asset. */ WithdrawError: PlainDescriptor; /** * Account could not be converted to a location. */ InvalidAccount: PlainDescriptor; /** * Provided tip asset could not be swapped for ether. */ SwapError: PlainDescriptor; /** * Ether could not be burned. */ BurnError: PlainDescriptor; /** * The tip provided is zero. */ TipAmountZero: PlainDescriptor; }; Utility: { /** * Too many calls batched. */ TooManyCalls: PlainDescriptor; }; Multisig: { /** * Threshold must be 2 or greater. */ MinimumThreshold: PlainDescriptor; /** * Call is already approved by this signatory. */ AlreadyApproved: PlainDescriptor; /** * Call doesn't need any (more) approvals. */ NoApprovalsNeeded: PlainDescriptor; /** * There are too few signatories in the list. */ TooFewSignatories: PlainDescriptor; /** * There are too many signatories in the list. */ TooManySignatories: PlainDescriptor; /** * The signatories were provided out of order; they should be ordered. */ SignatoriesOutOfOrder: PlainDescriptor; /** * The sender was contained in the other signatories; it shouldn't be. */ SenderInSignatories: PlainDescriptor; /** * Multisig operation not found in storage. */ NotFound: PlainDescriptor; /** * Only the account that originally created the multisig is able to cancel it or update * its deposits. */ NotOwner: PlainDescriptor; /** * No timepoint was given, yet the multisig operation is already underway. */ NoTimepoint: PlainDescriptor; /** * A different timepoint was given to the multisig operation that is underway. */ WrongTimepoint: PlainDescriptor; /** * A timepoint was given, yet no multisig operation is underway. */ UnexpectedTimepoint: PlainDescriptor; /** * The maximum weight information provided was too low. */ MaxWeightTooLow: PlainDescriptor; /** * The data to be stored is already stored. */ AlreadyStored: PlainDescriptor; }; Proxy: { /** * There are too many proxies registered or too many announcements pending. */ TooMany: PlainDescriptor; /** * Proxy registration not found. */ NotFound: PlainDescriptor; /** * Sender is not a proxy of the account to be proxied. */ NotProxy: PlainDescriptor; /** * A call which is incompatible with the proxy type's filter was attempted. */ Unproxyable: PlainDescriptor; /** * Account is already a proxy. */ Duplicate: PlainDescriptor; /** * Call may not be made by proxy because it may escalate its privileges. */ NoPermission: PlainDescriptor; /** * Announcement, if made at all, was made too recently. */ Unannounced: PlainDescriptor; /** * Cannot add self as proxy. */ NoSelfProxy: PlainDescriptor; }; Indices: { /** * The index was not already assigned. */ NotAssigned: PlainDescriptor; /** * The index is assigned to another account. */ NotOwner: PlainDescriptor; /** * The index was not available. */ InUse: PlainDescriptor; /** * The source and destination accounts are identical. */ NotTransfer: PlainDescriptor; /** * The index is permanent and may not be freed/changed. */ Permanent: PlainDescriptor; }; Assets: { /** * Account balance must be greater than or equal to the transfer amount. */ BalanceLow: PlainDescriptor; /** * The account to alter does not exist. */ NoAccount: PlainDescriptor; /** * The signing account has no permission to do the operation. */ NoPermission: PlainDescriptor; /** * The given asset ID is unknown. */ Unknown: PlainDescriptor; /** * The origin account is frozen. */ Frozen: PlainDescriptor; /** * The asset ID is already taken. */ InUse: PlainDescriptor; /** * Invalid witness data given. */ BadWitness: PlainDescriptor; /** * Minimum balance should be non-zero. */ MinBalanceZero: PlainDescriptor; /** * Unable to increment the consumer reference counters on the account. Either no provider * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one * fewer then the maximum number of consumers has been reached. */ UnavailableConsumer: PlainDescriptor; /** * Invalid metadata given. */ BadMetadata: PlainDescriptor; /** * No approval exists that would allow the transfer. */ Unapproved: PlainDescriptor; /** * The source account would not survive the transfer and it needs to stay alive. */ WouldDie: PlainDescriptor; /** * The asset-account already exists. */ AlreadyExists: PlainDescriptor; /** * The asset-account doesn't have an associated deposit. */ NoDeposit: PlainDescriptor; /** * The operation would result in funds being burned. */ WouldBurn: PlainDescriptor; /** * The asset is a live asset and is actively being used. Usually emit for operations such * as `start_destroy` which require the asset to be in a destroying state. */ LiveAsset: PlainDescriptor; /** * The asset is not live, and likely being destroyed. */ AssetNotLive: PlainDescriptor; /** * The asset status is not the expected status. */ IncorrectStatus: PlainDescriptor; /** * The asset should be frozen before the given operation. */ NotFrozen: PlainDescriptor; /** * Callback action resulted in error */ CallbackFailed: PlainDescriptor; /** * The asset ID must be equal to the [`NextAssetId`]. */ BadAssetId: PlainDescriptor; /** * The asset cannot be destroyed because some accounts for this asset contain freezes. */ ContainsFreezes: PlainDescriptor; /** * The asset cannot be destroyed because some accounts for this asset contain holds. */ ContainsHolds: PlainDescriptor; /** * Tried setting too many reserves. */ TooManyReserves: PlainDescriptor; }; Uniques: { /** * The signing account has no permission to do the operation. */ NoPermission: PlainDescriptor; /** * The given item ID is unknown. */ UnknownCollection: PlainDescriptor; /** * The item ID has already been used for an item. */ AlreadyExists: PlainDescriptor; /** * The owner turned out to be different to what was expected. */ WrongOwner: PlainDescriptor; /** * Invalid witness data given. */ BadWitness: PlainDescriptor; /** * The item ID is already taken. */ InUse: PlainDescriptor; /** * The item or collection is frozen. */ Frozen: PlainDescriptor; /** * The delegate turned out to be different to what was expected. */ WrongDelegate: PlainDescriptor; /** * There is no delegate approved. */ NoDelegate: PlainDescriptor; /** * No approval exists that would allow the transfer. */ Unapproved: PlainDescriptor; /** * The named owner has not signed ownership of the collection is acceptable. */ Unaccepted: PlainDescriptor; /** * The item is locked. */ Locked: PlainDescriptor; /** * All items have been minted. */ MaxSupplyReached: PlainDescriptor; /** * The max supply has already been set. */ MaxSupplyAlreadySet: PlainDescriptor; /** * The provided max supply is less to the amount of items a collection already has. */ MaxSupplyTooSmall: PlainDescriptor; /** * The given item ID is unknown. */ UnknownItem: PlainDescriptor; /** * Item is not for sale. */ NotForSale: PlainDescriptor; /** * The provided bid is too low. */ BidTooLow: PlainDescriptor; /** * No metadata is found. */ NoMetadata: PlainDescriptor; /** * Wrong metadata key/value bytes supplied. */ WrongMetadata: PlainDescriptor; /** * An attribute is not found. */ AttributeNotFound: PlainDescriptor; /** * Wrong attribute key/value bytes supplied. */ WrongAttribute: PlainDescriptor; }; Nfts: { /** * The signing account has no permission to do the operation. */ NoPermission: PlainDescriptor; /** * The given item ID is unknown. */ UnknownCollection: PlainDescriptor; /** * The item ID has already been used for an item. */ AlreadyExists: PlainDescriptor; /** * The approval had a deadline that expired, so the approval isn't valid anymore. */ ApprovalExpired: PlainDescriptor; /** * The owner turned out to be different to what was expected. */ WrongOwner: PlainDescriptor; /** * The witness data given does not match the current state of the chain. */ BadWitness: PlainDescriptor; /** * Collection ID is already taken. */ CollectionIdInUse: PlainDescriptor; /** * Items within that collection are non-transferable. */ ItemsNonTransferable: PlainDescriptor; /** * The provided account is not a delegate. */ NotDelegate: PlainDescriptor; /** * The delegate turned out to be different to what was expected. */ WrongDelegate: PlainDescriptor; /** * No approval exists that would allow the transfer. */ Unapproved: PlainDescriptor; /** * The named owner has not signed ownership acceptance of the collection. */ Unaccepted: PlainDescriptor; /** * The item is locked (non-transferable). */ ItemLocked: PlainDescriptor; /** * Item's attributes are locked. */ LockedItemAttributes: PlainDescriptor; /** * Collection's attributes are locked. */ LockedCollectionAttributes: PlainDescriptor; /** * Item's metadata is locked. */ LockedItemMetadata: PlainDescriptor; /** * Collection's metadata is locked. */ LockedCollectionMetadata: PlainDescriptor; /** * All items have been minted. */ MaxSupplyReached: PlainDescriptor; /** * The max supply is locked and can't be changed. */ MaxSupplyLocked: PlainDescriptor; /** * The provided max supply is less than the number of items a collection already has. */ MaxSupplyTooSmall: PlainDescriptor; /** * The given item ID is unknown. */ UnknownItem: PlainDescriptor; /** * Swap doesn't exist. */ UnknownSwap: PlainDescriptor; /** * The given item has no metadata set. */ MetadataNotFound: PlainDescriptor; /** * The provided attribute can't be found. */ AttributeNotFound: PlainDescriptor; /** * Item is not for sale. */ NotForSale: PlainDescriptor; /** * The provided bid is too low. */ BidTooLow: PlainDescriptor; /** * The item has reached its approval limit. */ ReachedApprovalLimit: PlainDescriptor; /** * The deadline has already expired. */ DeadlineExpired: PlainDescriptor; /** * The duration provided should be less than or equal to `MaxDeadlineDuration`. */ WrongDuration: PlainDescriptor; /** * The method is disabled by system settings. */ MethodDisabled: PlainDescriptor; /** * The provided setting can't be set. */ WrongSetting: PlainDescriptor; /** * Item's config already exists and should be equal to the provided one. */ InconsistentItemConfig: PlainDescriptor; /** * Config for a collection or an item can't be found. */ NoConfig: PlainDescriptor; /** * Some roles were not cleared. */ RolesNotCleared: PlainDescriptor; /** * Mint has not started yet. */ MintNotStarted: PlainDescriptor; /** * Mint has already ended. */ MintEnded: PlainDescriptor; /** * The provided Item was already used for claiming. */ AlreadyClaimed: PlainDescriptor; /** * The provided data is incorrect. */ IncorrectData: PlainDescriptor; /** * The extrinsic was sent by the wrong origin. */ WrongOrigin: PlainDescriptor; /** * The provided signature is incorrect. */ WrongSignature: PlainDescriptor; /** * The provided metadata might be too long. */ IncorrectMetadata: PlainDescriptor; /** * Can't set more attributes per one call. */ MaxAttributesLimitReached: PlainDescriptor; /** * The provided namespace isn't supported in this call. */ WrongNamespace: PlainDescriptor; /** * Can't delete non-empty collections. */ CollectionNotEmpty: PlainDescriptor; /** * The witness data should be provided. */ WitnessRequired: PlainDescriptor; }; ForeignAssets: { /** * Account balance must be greater than or equal to the transfer amount. */ BalanceLow: PlainDescriptor; /** * The account to alter does not exist. */ NoAccount: PlainDescriptor; /** * The signing account has no permission to do the operation. */ NoPermission: PlainDescriptor; /** * The given asset ID is unknown. */ Unknown: PlainDescriptor; /** * The origin account is frozen. */ Frozen: PlainDescriptor; /** * The asset ID is already taken. */ InUse: PlainDescriptor; /** * Invalid witness data given. */ BadWitness: PlainDescriptor; /** * Minimum balance should be non-zero. */ MinBalanceZero: PlainDescriptor; /** * Unable to increment the consumer reference counters on the account. Either no provider * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one * fewer then the maximum number of consumers has been reached. */ UnavailableConsumer: PlainDescriptor; /** * Invalid metadata given. */ BadMetadata: PlainDescriptor; /** * No approval exists that would allow the transfer. */ Unapproved: PlainDescriptor; /** * The source account would not survive the transfer and it needs to stay alive. */ WouldDie: PlainDescriptor; /** * The asset-account already exists. */ AlreadyExists: PlainDescriptor; /** * The asset-account doesn't have an associated deposit. */ NoDeposit: PlainDescriptor; /** * The operation would result in funds being burned. */ WouldBurn: PlainDescriptor; /** * The asset is a live asset and is actively being used. Usually emit for operations such * as `start_destroy` which require the asset to be in a destroying state. */ LiveAsset: PlainDescriptor; /** * The asset is not live, and likely being destroyed. */ AssetNotLive: PlainDescriptor; /** * The asset status is not the expected status. */ IncorrectStatus: PlainDescriptor; /** * The asset should be frozen before the given operation. */ NotFrozen: PlainDescriptor; /** * Callback action resulted in error */ CallbackFailed: PlainDescriptor; /** * The asset ID must be equal to the [`NextAssetId`]. */ BadAssetId: PlainDescriptor; /** * The asset cannot be destroyed because some accounts for this asset contain freezes. */ ContainsFreezes: PlainDescriptor; /** * The asset cannot be destroyed because some accounts for this asset contain holds. */ ContainsHolds: PlainDescriptor; /** * Tried setting too many reserves. */ TooManyReserves: PlainDescriptor; }; PoolAssets: { /** * Account balance must be greater than or equal to the transfer amount. */ BalanceLow: PlainDescriptor; /** * The account to alter does not exist. */ NoAccount: PlainDescriptor; /** * The signing account has no permission to do the operation. */ NoPermission: PlainDescriptor; /** * The given asset ID is unknown. */ Unknown: PlainDescriptor; /** * The origin account is frozen. */ Frozen: PlainDescriptor; /** * The asset ID is already taken. */ InUse: PlainDescriptor; /** * Invalid witness data given. */ BadWitness: PlainDescriptor; /** * Minimum balance should be non-zero. */ MinBalanceZero: PlainDescriptor; /** * Unable to increment the consumer reference counters on the account. Either no provider * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one * fewer then the maximum number of consumers has been reached. */ UnavailableConsumer: PlainDescriptor; /** * Invalid metadata given. */ BadMetadata: PlainDescriptor; /** * No approval exists that would allow the transfer. */ Unapproved: PlainDescriptor; /** * The source account would not survive the transfer and it needs to stay alive. */ WouldDie: PlainDescriptor; /** * The asset-account already exists. */ AlreadyExists: PlainDescriptor; /** * The asset-account doesn't have an associated deposit. */ NoDeposit: PlainDescriptor; /** * The operation would result in funds being burned. */ WouldBurn: PlainDescriptor; /** * The asset is a live asset and is actively being used. Usually emit for operations such * as `start_destroy` which require the asset to be in a destroying state. */ LiveAsset: PlainDescriptor; /** * The asset is not live, and likely being destroyed. */ AssetNotLive: PlainDescriptor; /** * The asset status is not the expected status. */ IncorrectStatus: PlainDescriptor; /** * The asset should be frozen before the given operation. */ NotFrozen: PlainDescriptor; /** * Callback action resulted in error */ CallbackFailed: PlainDescriptor; /** * The asset ID must be equal to the [`NextAssetId`]. */ BadAssetId: PlainDescriptor; /** * The asset cannot be destroyed because some accounts for this asset contain freezes. */ ContainsFreezes: PlainDescriptor; /** * The asset cannot be destroyed because some accounts for this asset contain holds. */ ContainsHolds: PlainDescriptor; /** * Tried setting too many reserves. */ TooManyReserves: PlainDescriptor; }; AssetConversion: { /** * Provided asset pair is not supported for pool. */ InvalidAssetPair: PlainDescriptor; /** * Pool already exists. */ PoolExists: PlainDescriptor; /** * Desired amount can't be zero. */ WrongDesiredAmount: PlainDescriptor; /** * Provided amount should be greater than or equal to the existential deposit/asset's * minimal amount. */ AmountOneLessThanMinimal: PlainDescriptor; /** * Provided amount should be greater than or equal to the existential deposit/asset's * minimal amount. */ AmountTwoLessThanMinimal: PlainDescriptor; /** * Reserve needs to always be greater than or equal to the existential deposit/asset's * minimal amount. */ ReserveLeftLessThanMinimal: PlainDescriptor; /** * Desired amount can't be equal to the pool reserve. */ AmountOutTooHigh: PlainDescriptor; /** * The pool doesn't exist. */ PoolNotFound: PlainDescriptor; /** * An overflow happened. */ Overflow: PlainDescriptor; /** * The minimal amount requirement for the first token in the pair wasn't met. */ AssetOneDepositDidNotMeetMinimum: PlainDescriptor; /** * The minimal amount requirement for the second token in the pair wasn't met. */ AssetTwoDepositDidNotMeetMinimum: PlainDescriptor; /** * The minimal amount requirement for the first token in the pair wasn't met. */ AssetOneWithdrawalDidNotMeetMinimum: PlainDescriptor; /** * The minimal amount requirement for the second token in the pair wasn't met. */ AssetTwoWithdrawalDidNotMeetMinimum: PlainDescriptor; /** * Optimal calculated amount is less than desired. */ OptimalAmountLessThanDesired: PlainDescriptor; /** * Insufficient liquidity minted. */ InsufficientLiquidityMinted: PlainDescriptor; /** * Requested liquidity can't be zero. */ ZeroLiquidity: PlainDescriptor; /** * Amount can't be zero. */ ZeroAmount: PlainDescriptor; /** * Calculated amount out is less than provided minimum amount. */ ProvidedMinimumNotSufficientForSwap: PlainDescriptor; /** * Provided maximum amount is not sufficient for swap. */ ProvidedMaximumNotSufficientForSwap: PlainDescriptor; /** * The provided path must consists of 2 assets at least. */ InvalidPath: PlainDescriptor; /** * The provided path must consists of unique assets. */ NonUniquePath: PlainDescriptor; /** * It was not possible to get or increment the Id of the pool. */ IncorrectPoolAssetId: PlainDescriptor; /** * The destination account cannot exist with the swapped funds. */ BelowMinimum: PlainDescriptor; /** * The pool exists but has no liquidity (at least one of the reserves is zero). */ PoolEmpty: PlainDescriptor; }; Treasury: { /** * No proposal, bounty or spend at that index. */ InvalidIndex: PlainDescriptor; /** * Too many approvals in the queue. */ TooManyApprovals: PlainDescriptor; /** * The spend origin is valid but the amount it is allowed to spend is lower than the * amount to be spent. */ InsufficientPermission: PlainDescriptor; /** * Proposal has not been approved. */ ProposalNotApproved: PlainDescriptor; /** * The balance of the asset kind is not convertible to the balance of the native asset. */ FailedToConvertBalance: PlainDescriptor; /** * The spend has expired and cannot be claimed. */ SpendExpired: PlainDescriptor; /** * The spend is not yet eligible for payout. */ EarlyPayout: PlainDescriptor; /** * The payment has already been attempted. */ AlreadyAttempted: PlainDescriptor; /** * There was some issue with the mechanism of payment. */ PayoutError: PlainDescriptor; /** * The payout was not yet attempted/claimed. */ NotAttempted: PlainDescriptor; /** * The payment has neither failed nor succeeded yet. */ Inconclusive: PlainDescriptor; }; ConvictionVoting: { /** * Poll is not ongoing. */ NotOngoing: PlainDescriptor; /** * The given account did not vote on the poll. */ NotVoter: PlainDescriptor; /** * The actor has no permission to conduct the action. */ NoPermission: PlainDescriptor; /** * The actor has no permission to conduct the action right now but will do in the future. */ NoPermissionYet: PlainDescriptor; /** * The account is already delegating. */ AlreadyDelegating: PlainDescriptor; /** * The account currently has votes attached to it and the operation cannot succeed until * these are removed through `remove_vote`. */ AlreadyVoting: PlainDescriptor; /** * Too high a balance was provided that the account cannot afford. */ InsufficientFunds: PlainDescriptor; /** * The account is not currently delegating. */ NotDelegating: PlainDescriptor; /** * Delegation to oneself makes no sense. */ Nonsense: PlainDescriptor; /** * Maximum number of votes reached. */ MaxVotesReached: PlainDescriptor; /** * The class must be supplied since it is not easily determinable from the state. */ ClassNeeded: PlainDescriptor; /** * The class ID supplied is invalid. */ BadClass: PlainDescriptor; }; Referenda: { /** * Referendum is not ongoing. */ NotOngoing: PlainDescriptor; /** * Referendum's decision deposit is already paid. */ HasDeposit: PlainDescriptor; /** * The track identifier given was invalid. */ BadTrack: PlainDescriptor; /** * There are already a full complement of referenda in progress for this track. */ Full: PlainDescriptor; /** * The queue of the track is empty. */ QueueEmpty: PlainDescriptor; /** * The referendum index provided is invalid in this context. */ BadReferendum: PlainDescriptor; /** * There was nothing to do in the advancement. */ NothingToDo: PlainDescriptor; /** * No track exists for the proposal origin. */ NoTrack: PlainDescriptor; /** * Any deposit cannot be refunded until after the decision is over. */ Unfinished: PlainDescriptor; /** * The deposit refunder is not the depositor. */ NoPermission: PlainDescriptor; /** * The deposit cannot be refunded since none was made. */ NoDeposit: PlainDescriptor; /** * The referendum status is invalid for this operation. */ BadStatus: PlainDescriptor; /** * The preimage does not exist. */ PreimageNotExist: PlainDescriptor; /** * The preimage is stored with a different length than the one provided. */ PreimageStoredWithDifferentLength: PlainDescriptor; }; Whitelist: { /** * The preimage of the call hash could not be loaded. */ UnavailablePreImage: PlainDescriptor; /** * The call could not be decoded. */ UndecodableCall: PlainDescriptor; /** * The weight of the decoded call was higher than the witness. */ InvalidCallWeightWitness: PlainDescriptor; /** * The call was not whitelisted. */ CallIsNotWhitelisted: PlainDescriptor; /** * The call was already whitelisted; No-Op. */ CallAlreadyWhitelisted: PlainDescriptor; }; Bounties: { /** * Proposer's balance is too low. */ InsufficientProposersBalance: PlainDescriptor; /** * No proposal or bounty at that index. */ InvalidIndex: PlainDescriptor; /** * The reason given is just too big. */ ReasonTooBig: PlainDescriptor; /** * The bounty status is unexpected. */ UnexpectedStatus: PlainDescriptor; /** * Require bounty curator. */ RequireCurator: PlainDescriptor; /** * Invalid bounty value. */ InvalidValue: PlainDescriptor; /** * Invalid bounty fee. */ InvalidFee: PlainDescriptor; /** * A bounty payout is pending. * To cancel the bounty, you must unassign and slash the curator. */ PendingPayout: PlainDescriptor; /** * The bounties cannot be claimed/closed because it's still in the countdown period. */ Premature: PlainDescriptor; /** * The bounty cannot be closed because it has active child bounties. */ HasActiveChildBounty: PlainDescriptor; /** * Too many approvals are already queued. */ TooManyQueued: PlainDescriptor; /** * User is not the proposer of the bounty. */ NotProposer: PlainDescriptor; }; ChildBounties: { /** * The parent bounty is not in active state. */ ParentBountyNotActive: PlainDescriptor; /** * The bounty balance is not enough to add new child-bounty. */ InsufficientBountyBalance: PlainDescriptor; /** * Number of child bounties exceeds limit `MaxActiveChildBountyCount`. */ TooManyChildBounties: PlainDescriptor; }; AssetRate: { /** * The given asset ID is unknown. */ UnknownAssetKind: PlainDescriptor; /** * The given asset ID already has an assigned conversion rate and cannot be re-created. */ AlreadyExists: PlainDescriptor; /** * Overflow ocurred when calculating the inverse rate. */ Overflow: PlainDescriptor; }; MultiAssetBounties: { /** * No child-/bounty at that index. */ InvalidIndex: PlainDescriptor; /** * The reason given is just too big. */ ReasonTooBig: PlainDescriptor; /** * Invalid child-/bounty value. */ InvalidValue: PlainDescriptor; /** * The balance of the asset kind is not convertible to the balance of the native asset for * asserting the origin permissions. */ FailedToConvertBalance: PlainDescriptor; /** * The child-/bounty status is unexpected. */ UnexpectedStatus: PlainDescriptor; /** * Require child-/bounty curator. */ RequireCurator: PlainDescriptor; /** * The spend origin is valid but the amount it is allowed to spend is lower than the * requested amount. */ InsufficientPermission: PlainDescriptor; /** * There was issue with funding the child-/bounty. */ FundingError: PlainDescriptor; /** * There was issue with refunding the child-/bounty. */ RefundError: PlainDescriptor; /** */ PayoutError: PlainDescriptor; /** * Child-/bounty funding has not concluded yet. */ FundingInconclusive: PlainDescriptor; /** * Child-/bounty refund has not concluded yet. */ RefundInconclusive: PlainDescriptor; /** * Child-/bounty payout has not concluded yet. */ PayoutInconclusive: PlainDescriptor; /** * The child-/bounty or funding source account could not be derived from the indexes and * asset kind. */ FailedToConvertSource: PlainDescriptor; /** * The parent bounty cannot be closed because it has active child bounties. */ HasActiveChildBounty: PlainDescriptor; /** * Number of child bounties exceeds limit `MaxActiveChildBountyCount`. */ TooManyChildBounties: PlainDescriptor; /** * The parent bounty value is not enough to add new child-bounty. */ InsufficientBountyValue: PlainDescriptor; /** * The preimage does not exist. */ PreimageNotExist: PlainDescriptor; }; StateTrieMigration: { /** * Max signed limits not respected. */ MaxSignedLimits: PlainDescriptor; /** * A key was longer than the configured maximum. * * This means that the migration halted at the current [`Progress`] and * can be resumed with a larger [`crate::Config::MaxKeyLen`] value. * Retrying with the same [`crate::Config::MaxKeyLen`] value will not work. * The value should only be increased to avoid a storage migration for the currently * stored [`crate::Progress::LastKey`]. */ KeyTooLong: PlainDescriptor; /** * submitter does not have enough funds. */ NotEnoughFunds: PlainDescriptor; /** * Bad witness data provided. */ BadWitness: PlainDescriptor; /** * Signed migration is not allowed because the maximum limit is not set yet. */ SignedMigrationNotAllowed: PlainDescriptor; /** * Bad child root provided. */ BadChildRoot: PlainDescriptor; }; NominationPools: { /** * A (bonded) pool id does not exist. */ PoolNotFound: PlainDescriptor; /** * An account is not a member. */ PoolMemberNotFound: PlainDescriptor; /** * A reward pool does not exist. In all cases this is a system logic error. */ RewardPoolNotFound: PlainDescriptor; /** * A sub pool does not exist. */ SubPoolsNotFound: PlainDescriptor; /** * An account is already delegating in another pool. An account may only belong to one * pool at a time. */ AccountBelongsToOtherPool: PlainDescriptor; /** * The member is fully unbonded (and thus cannot access the bonded and reward pool * anymore to, for example, collect rewards). */ FullyUnbonding: PlainDescriptor; /** * The member cannot unbond further chunks due to reaching the limit. */ MaxUnbondingLimit: PlainDescriptor; /** * None of the funds can be withdrawn yet because the bonding duration has not passed. */ CannotWithdrawAny: PlainDescriptor; /** * The amount does not meet the minimum bond to either join or create a pool. * * The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The * caller does not have nominating permissions for the pool. Members can never unbond to a * value below `MinJoinBond`. */ MinimumBondNotMet: PlainDescriptor; /** * The transaction could not be executed due to overflow risk for the pool. */ OverflowRisk: PlainDescriptor; /** * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for * other members to be permissionlessly unbonded. */ NotDestroying: PlainDescriptor; /** * The caller does not have nominating permissions for the pool. */ NotNominator: PlainDescriptor; /** * Either a) the caller cannot make a valid kick or b) the pool is not destroying. */ NotKickerOrDestroying: PlainDescriptor; /** * The pool is not open to join */ NotOpen: PlainDescriptor; /** * The system is maxed out on pools. */ MaxPools: PlainDescriptor; /** * Too many members in the pool or system. */ MaxPoolMembers: PlainDescriptor; /** * The pools state cannot be changed. */ CanNotChangeState: PlainDescriptor; /** * The caller does not have adequate permissions. */ DoesNotHavePermission: PlainDescriptor; /** * Metadata exceeds [`Config::MaxMetadataLen`] */ MetadataExceedsMaxLen: PlainDescriptor; /** * Some error occurred that should never happen. This should be reported to the * maintainers. */ Defensive: PlainDescriptor>; /** * Partial unbonding now allowed permissionlessly. */ PartialUnbondNotAllowedPermissionlessly: PlainDescriptor; /** * The pool's max commission cannot be set higher than the existing value. */ MaxCommissionRestricted: PlainDescriptor; /** * The supplied commission exceeds the max allowed commission. */ CommissionExceedsMaximum: PlainDescriptor; /** * The supplied commission exceeds global maximum commission. */ CommissionExceedsGlobalMaximum: PlainDescriptor; /** * Not enough blocks have surpassed since the last commission update. */ CommissionChangeThrottled: PlainDescriptor; /** * The submitted changes to commission change rate are not allowed. */ CommissionChangeRateNotAllowed: PlainDescriptor; /** * There is no pending commission to claim. */ NoPendingCommission: PlainDescriptor; /** * No commission current has been set. */ NoCommissionCurrentSet: PlainDescriptor; /** * Pool id currently in use. */ PoolIdInUse: PlainDescriptor; /** * Pool id provided is not correct/usable. */ InvalidPoolId: PlainDescriptor; /** * Bonding extra is restricted to the exact pending reward amount. */ BondExtraRestricted: PlainDescriptor; /** * No imbalance in the ED deposit for the pool. */ NothingToAdjust: PlainDescriptor; /** * No slash pending that can be applied to the member. */ NothingToSlash: PlainDescriptor; /** * The slash amount is too low to be applied. */ SlashTooLow: PlainDescriptor; /** * The pool or member delegation has already migrated to delegate stake. */ AlreadyMigrated: PlainDescriptor; /** * The pool or member delegation has not migrated yet to delegate stake. */ NotMigrated: PlainDescriptor; /** * This call is not allowed in the current state of the pallet. */ NotSupported: PlainDescriptor; /** * Account is restricted from participation in pools. This may happen if the account is * staking in another way already. */ Restricted: PlainDescriptor; }; VoterList: { /** * A error in the list interface implementation. */ List: PlainDescriptor>; /** * Could not update a node, because the pallet is locked. */ Locked: PlainDescriptor; }; DelegatedStaking: { /** * The account cannot perform this operation. */ NotAllowed: PlainDescriptor; /** * An existing staker cannot perform this action. */ AlreadyStaking: PlainDescriptor; /** * Reward Destination cannot be same as `Agent` account. */ InvalidRewardDestination: PlainDescriptor; /** * Delegation conditions are not met. * * Possible issues are * 1) Cannot delegate to self, * 2) Cannot delegate to multiple delegates. */ InvalidDelegation: PlainDescriptor; /** * The account does not have enough funds to perform the operation. */ NotEnoughFunds: PlainDescriptor; /** * Not an existing `Agent` account. */ NotAgent: PlainDescriptor; /** * Not a Delegator account. */ NotDelegator: PlainDescriptor; /** * Some corruption in internal state. */ BadState: PlainDescriptor; /** * Unapplied pending slash restricts operation on `Agent`. */ UnappliedSlash: PlainDescriptor; /** * `Agent` has no pending slash to be applied. */ NothingToSlash: PlainDescriptor; /** * Failed to withdraw amount from Core Staking. */ WithdrawFailed: PlainDescriptor; /** * Operation not supported by this pallet. */ NotSupported: PlainDescriptor; }; StakingRcClient: { /** * Failed to send XCM message to the Relay Chain. */ XcmSendFailed: PlainDescriptor; /** * The origin account is not a registered validator. * * Only accounts that have called `validate()` can set or purge session keys. When called * via a staking proxy, the origin is the delegating account (stash), which must be a * registered validator. */ NotValidator: PlainDescriptor; /** * The session keys could not be decoded as the expected RelayChainSessionKeys type. */ InvalidKeys: PlainDescriptor; /** * Invalid ownership proof for the session keys. */ InvalidProof: PlainDescriptor; /** * Delivery fees exceeded the specified maximum. */ FeesExceededMax: PlainDescriptor; }; MultiBlockElection: { /** * Triggering the `Fallback` failed. */ Fallback: PlainDescriptor; /** * Unexpected phase */ UnexpectedPhase: PlainDescriptor; /** * Snapshot was unavailable. */ Snapshot: PlainDescriptor; }; MultiBlockElectionSigned: { /** * The phase is not signed. */ PhaseNotSigned: PlainDescriptor; /** * The submission is a duplicate. */ Duplicate: PlainDescriptor; /** * The queue is full. */ QueueFull: PlainDescriptor; /** * The page index is out of bounds. */ BadPageIndex: PlainDescriptor; /** * The account is not registered. */ NotRegistered: PlainDescriptor; /** * No submission found. */ NoSubmission: PlainDescriptor; /** * Round is not yet over. */ RoundNotOver: PlainDescriptor; /** * Bad witness data provided. */ BadWitnessData: PlainDescriptor; /** * Too many invulnerable accounts are provided, */ TooManyInvulnerables: PlainDescriptor; }; Staking: { /** * Not a controller account. */ NotController: PlainDescriptor; /** * Not a stash account. */ NotStash: PlainDescriptor; /** * Stash is already bonded. */ AlreadyBonded: PlainDescriptor; /** * Controller is already paired. */ AlreadyPaired: PlainDescriptor; /** * Targets cannot be empty. */ EmptyTargets: PlainDescriptor; /** * Duplicate index. */ DuplicateIndex: PlainDescriptor; /** * Slash record not found. */ InvalidSlashRecord: PlainDescriptor; /** * Cannot bond, nominate or validate with value less than the minimum defined by * governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the * intention, `chill` first to remove one's role as validator/nominator. */ InsufficientBond: PlainDescriptor; /** * Can not schedule more unlock chunks. */ NoMoreChunks: PlainDescriptor; /** * Can not rebond without unlocking chunks. */ NoUnlockChunk: PlainDescriptor; /** * Attempting to target a stash that still has funds. */ FundedTarget: PlainDescriptor; /** * Invalid era to reward. */ InvalidEraToReward: PlainDescriptor; /** * Invalid number of nominations. */ InvalidNumberOfNominations: PlainDescriptor; /** * Rewards for this era have already been claimed for this validator. */ AlreadyClaimed: PlainDescriptor; /** * No nominators exist on this page. */ InvalidPage: PlainDescriptor; /** * Incorrect previous history depth input provided. */ IncorrectHistoryDepth: PlainDescriptor; /** * Internal state has become somehow corrupted and the operation cannot continue. */ BadState: PlainDescriptor; /** * Too many nomination targets supplied. */ TooManyTargets: PlainDescriptor; /** * A nomination target was supplied that was blocked or otherwise not a validator. */ BadTarget: PlainDescriptor; /** * The user has enough bond and thus cannot be chilled forcefully by an external person. */ CannotChillOther: PlainDescriptor; /** * There are too many nominators in the system. Governance needs to adjust the staking * settings to keep things safe for the runtime. */ TooManyNominators: PlainDescriptor; /** * There are too many validator candidates in the system. Governance needs to adjust the * staking settings to keep things safe for the runtime. */ TooManyValidators: PlainDescriptor; /** * Commission is too low. Must be at least `MinCommission`. */ CommissionTooLow: PlainDescriptor; /** * Some bound is not met. */ BoundNotMet: PlainDescriptor; /** * Used when attempting to use deprecated controller account logic. */ ControllerDeprecated: PlainDescriptor; /** * Cannot reset a ledger. */ CannotRestoreLedger: PlainDescriptor; /** * Provided reward destination is not allowed. */ RewardDestinationRestricted: PlainDescriptor; /** * Not enough funds available to withdraw. */ NotEnoughFunds: PlainDescriptor; /** * Operation not allowed for virtual stakers. */ VirtualStakerNotAllowed: PlainDescriptor; /** * Stash could not be reaped as other pallet might depend on it. */ CannotReapStash: PlainDescriptor; /** * The stake of this account is already migrated to `Fungible` holds. */ AlreadyMigrated: PlainDescriptor; /** * Era not yet started. */ EraNotStarted: PlainDescriptor; /** * Account is restricted from participation in staking. This may happen if the account is * staking in another way already, such as via pool. */ Restricted: PlainDescriptor; /** * Unapplied slashes in the recently concluded era is blocking this operation. * See `Call::apply_slash` to apply them. */ UnappliedSlashesInPreviousEra: PlainDescriptor; /** * The era is not eligible for pruning. */ EraNotPrunable: PlainDescriptor; /** * The slash has been cancelled and cannot be applied. */ CancelledSlash: PlainDescriptor; /** * Commission is higher than the allowed maximum `MaxCommission`. */ CommissionTooHigh: PlainDescriptor; /** * Optimum self-stake cannot be greater than hard cap. */ OptimumGreaterThanCap: PlainDescriptor; }; Revive: { /** * Invalid schedule supplied, e.g. with zero weight of a basic operation. */ InvalidSchedule: PlainDescriptor; /** * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`. */ InvalidCallFlags: PlainDescriptor; /** * The executed contract exhausted its gas limit. */ OutOfGas: PlainDescriptor; /** * Performing the requested transfer failed. Probably because there isn't enough * free balance in the sender's account. */ TransferFailed: PlainDescriptor; /** * Performing a call was denied because the calling depth reached the limit * of what is specified in the schedule. */ MaxCallDepthReached: PlainDescriptor; /** * No contract was found at the specified address. */ ContractNotFound: PlainDescriptor; /** * No code could be found at the supplied code hash. */ CodeNotFound: PlainDescriptor; /** * No code info could be found at the supplied code hash. */ CodeInfoNotFound: PlainDescriptor; /** * A buffer outside of sandbox memory was passed to a contract API function. */ OutOfBounds: PlainDescriptor; /** * Input passed to a contract API function failed to decode as expected type. */ DecodingFailed: PlainDescriptor; /** * Contract trapped during execution. */ ContractTrapped: PlainDescriptor; /** * Event body or storage item exceeds [`limits::STORAGE_BYTES`]. */ ValueTooLarge: PlainDescriptor; /** * Termination of a contract is not allowed while the contract is already * on the call stack. Can be triggered by `seal_terminate`. */ TerminatedWhileReentrant: PlainDescriptor; /** * `seal_call` forwarded this contracts input. It therefore is no longer available. */ InputForwarded: PlainDescriptor; /** * The amount of topics passed to `seal_deposit_events` exceeds the limit. */ TooManyTopics: PlainDescriptor; /** * A contract with the same AccountId already exists. */ DuplicateContract: PlainDescriptor; /** * A contract self destructed in its constructor. * * This can be triggered by a call to `seal_terminate`. */ TerminatedInConstructor: PlainDescriptor; /** * A call tried to invoke a contract that is flagged as non-reentrant. */ ReentranceDenied: PlainDescriptor; /** * A contract called into the runtime which then called back into this pallet. */ ReenteredPallet: PlainDescriptor; /** * A contract attempted to invoke a state modifying API while being in read-only mode. */ StateChangeDenied: PlainDescriptor; /** * Origin doesn't have enough balance to pay the required storage deposits. */ StorageDepositNotEnoughFunds: PlainDescriptor; /** * More storage was created than allowed by the storage deposit limit. */ StorageDepositLimitExhausted: PlainDescriptor; /** * Code removal was denied because the code is still in use by at least one contract. */ CodeInUse: PlainDescriptor; /** * The contract ran to completion but decided to revert its storage changes. * Please note that this error is only returned from extrinsics. When called directly * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags * to determine whether a reversion has taken place. */ ContractReverted: PlainDescriptor; /** * The contract failed to compile or is missing the correct entry points. * * A more detailed error can be found on the node console if debug messages are enabled * by supplying `-lruntime::revive=debug`. */ CodeRejected: PlainDescriptor; /** * The code blob supplied is larger than [`limits::code::BLOB_BYTES`]. */ BlobTooLarge: PlainDescriptor; /** * The contract declares too much memory (ro + rw + stack). */ StaticMemoryTooLarge: PlainDescriptor; /** * The program contains a basic block that is larger than allowed. */ BasicBlockTooLarge: PlainDescriptor; /** * The program contains an invalid instruction. */ InvalidInstruction: PlainDescriptor; /** * The contract has reached its maximum number of delegate dependencies. */ MaxDelegateDependenciesReached: PlainDescriptor; /** * The dependency was not found in the contract's delegate dependencies. */ DelegateDependencyNotFound: PlainDescriptor; /** * The contract already depends on the given delegate dependency. */ DelegateDependencyAlreadyExists: PlainDescriptor; /** * Can not add a delegate dependency to the code hash of the contract itself. */ CannotAddSelfAsDelegateDependency: PlainDescriptor; /** * Can not add more data to transient storage. */ OutOfTransientStorage: PlainDescriptor; /** * The contract tried to call a syscall which does not exist (at its current api level). */ InvalidSyscall: PlainDescriptor; /** * Invalid storage flags were passed to one of the storage syscalls. */ InvalidStorageFlags: PlainDescriptor; /** * PolkaVM failed during code execution. Probably due to a malformed program. */ ExecutionFailed: PlainDescriptor; /** * Failed to convert a U256 to a Balance. */ BalanceConversionFailed: PlainDescriptor; /** * Immutable data can only be set during deploys and only be read during calls. * Additionally, it is only valid to set the data once and it must not be empty. */ InvalidImmutableAccess: PlainDescriptor; /** * An `AccountID32` account tried to interact with the pallet without having a mapping. * * Call [`Pallet::map_account`] in order to create a mapping for the account. */ AccountUnmapped: PlainDescriptor; /** * Tried to map an account that is already mapped. */ AccountAlreadyMapped: PlainDescriptor; /** * The transaction used to dry-run a contract is invalid. */ InvalidGenericTransaction: PlainDescriptor; /** * The refcount of a code either over or underflowed. */ RefcountOverOrUnderflow: PlainDescriptor; /** * Unsupported precompile address. */ UnsupportedPrecompileAddress: PlainDescriptor; /** * The calldata exceeds [`limits::CALLDATA_BYTES`]. */ CallDataTooLarge: PlainDescriptor; /** * The return data exceeds [`limits::CALLDATA_BYTES`]. */ ReturnDataTooLarge: PlainDescriptor; /** * Invalid jump destination. Dynamic jumps points to invalid not jumpdest opcode. */ InvalidJump: PlainDescriptor; /** * Attempting to pop a value from an empty stack. */ StackUnderflow: PlainDescriptor; /** * Attempting to push a value onto a full stack. */ StackOverflow: PlainDescriptor; /** * Too much deposit was drawn from the shared txfee and deposit credit. * * This happens if the passed `gas` inside the ethereum transaction is too low. */ TxFeeOverdraw: PlainDescriptor; /** * When calling an EVM constructor `data` has to be empty. * * EVM constructors do not accept data. Their input data is part of the code blob itself. */ EvmConstructorNonEmptyData: PlainDescriptor; /** * Tried to construct an EVM contract via code hash. * * EVM contracts can only be instantiated via code upload as no initcode is * stored on-chain. */ EvmConstructedFromHash: PlainDescriptor; /** * The contract does not have enough balance to refund the storage deposit. * * This is a bug and should never happen. It means the accounting got out of sync. */ StorageRefundNotEnoughFunds: PlainDescriptor; /** * This means there are locks on the contracts storage deposit that prevents refunding it. * * This would be the case if the contract used its storage deposits for governance * or other pallets that allow creating locks over held balance. */ StorageRefundLocked: PlainDescriptor; /** * Called a pre-compile that is not allowed to be delegate called. * * Some pre-compile functions will trap the caller context if being delegate * called or if their caller was being delegate called. */ PrecompileDelegateDenied: PlainDescriptor; /** * ECDSA public key recovery failed. Most probably wrong recovery id or signature. */ EcdsaRecoveryFailed: PlainDescriptor; /** * Manual mapping is disabled when auto-mapping is enabled. */ AutoMappingEnabled: PlainDescriptor; /** * A contract cannot be created at this address: it still has uncleared * [`NativeDepositOf`] entries from a previously terminated contract that the deletion * queue has not yet drained. */ PendingDepositCleanup: PlainDescriptor; }; AssetsPrecompilesPermit: { /** * The permit signature is invalid. */ InvalidSignature: PlainDescriptor; /** * The signer does not match the owner. */ SignerMismatch: PlainDescriptor; /** * The permit has expired (deadline passed). */ PermitExpired: PlainDescriptor; /** * The signature's `s` value is too high (malleability protection). */ SignatureSValueTooHigh: PlainDescriptor; /** * The signature's `v` value is invalid. */ InvalidVValue: PlainDescriptor; /** * Nonce overflow - account has used too many permits. */ NonceOverflow: PlainDescriptor; /** * The owner address is invalid (e.g., zero address). */ InvalidOwner: PlainDescriptor; /** * The spender address is invalid (e.g., zero address). */ InvalidSpender: PlainDescriptor; }; AhOps: { /** * Either no lease deposit or already unreserved. */ NoLeaseReserve: PlainDescriptor; /** * Either no crowdloan contribution or already withdrawn. */ NoCrowdloanContribution: PlainDescriptor; /** * Either no crowdloan reserve or already unreserved. */ NoCrowdloanReserve: PlainDescriptor; /** * Failed to withdraw crowdloan contribution. */ FailedToWithdrawCrowdloanContribution: PlainDescriptor; /** * Block number is not yet reached. */ NotYet: PlainDescriptor; /** * Not all contributions are withdrawn. */ ContributionsRemaining: PlainDescriptor; /** * The account is not a derived account. */ WrongDerivedTranslation: PlainDescriptor; /** * Account cannot be migrated since it is not a sovereign parachain account. */ NotSovereign: PlainDescriptor; /** * Internal error, please bug report. */ InternalError: PlainDescriptor; /** * The Asset Hub migration is not completed. */ MigrationNotCompleted: PlainDescriptor; /** * The balance is zero. */ ZeroBalance: PlainDescriptor; /** * Failed to transfer balance. */ FailedToTransfer: PlainDescriptor; /** * The account has already been translated. */ AlreadyTranslated: PlainDescriptor; /** * The derivation path is too long. */ TooLongDerivationPath: PlainDescriptor; /** * Failed to force unstake. */ FailedToForceUnstake: PlainDescriptor; }; }; type IConstants = {}; type IViewFns = {}; type IRuntimeCalls = { /** * A trait of XCM payment API. * * API provides functionality for obtaining: * * * the weight required to execute an XCM message, * * a list of acceptable `AssetId`s for message execution payment, * * the cost of the weight in the specified acceptable `AssetId`. * * the fees for an XCM message delivery. * * To determine the execution weight of the calls required for * [`xcm::latest::Instruction::Transact`] instruction, `TransactionPaymentCallApi` can be used. */ XcmPaymentApi: { /** * Returns a list of acceptable payment assets. * * # Arguments * * * `xcm_version`: Version. */ query_acceptable_payment_assets: RuntimeDescriptor<[xcm_version: number], Anonymize>; /** * Returns a weight needed to execute a XCM. * * # Arguments * * * `message`: `VersionedXcm`. */ query_xcm_weight: RuntimeDescriptor<[message: XcmVersionedXcm], Anonymize>; /** * Converts a weight into a fee for the specified `AssetId`. * * # Arguments * * * `weight`: convertible `Weight`. * * `asset`: `VersionedAssetId`. */ query_weight_to_asset_fee: RuntimeDescriptor<[weight: Anonymize, asset: XcmVersionedAssetId], Anonymize>; /** * Query delivery fees V2. * * Get delivery fees for sending a specific `message` to a `destination`. * These always come in a specific asset, defined by the chain. * * # Arguments * * `message`: The message that'll be sent, necessary because most delivery fees are based on the * size of the message. * * `destination`: The destination to send the message to. Different destinations may use * different senders that charge different fees. */ query_delivery_fees: RuntimeDescriptor<[destination: XcmVersionedLocation, message: XcmVersionedXcm, asset_id: XcmVersionedAssetId], Anonymize>; }; /** * API for dry-running extrinsics and XCM programs to get the programs that need to be passed to the fees API. * * All calls return a vector of tuples (location, xcm) where each "xcm" is executed in "location". * If there's local execution, the location will be "Here". * This vector can be used to calculate both execution and delivery fees. * * Calls or XCMs might fail when executed, this doesn't mean the result of these calls will be an `Err`. * In those cases, there might still be a valid result, with the execution error inside it. * The only reasons why these calls might return an error are listed in the [`Error`] enum. */ DryRunApi: { /** * Dry run call V2. */ dry_run_call: RuntimeDescriptor<[origin: Anonymize, call: Anonymize, result_xcms_version: number], Anonymize>; /** * Dry run XCM program */ dry_run_xcm: RuntimeDescriptor<[origin_location: XcmVersionedLocation, xcm: XcmVersionedXcm], Anonymize>; }; /** * This runtime api allows people to query the size of the liquidity pools * and quote prices for swaps. */ AssetConversionApi: { /** * Provides a quote for [`Pallet::swap_tokens_for_exact_tokens`]. * * Note that the price may have changed by the time the transaction is executed. * (Use `amount_in_max` to control slippage.) */ quote_price_tokens_for_exact_tokens: RuntimeDescriptor<[asset1: Anonymize, asset2: Anonymize, amount: bigint, include_fee: boolean], Anonymize>; /** * Provides a quote for [`Pallet::swap_exact_tokens_for_tokens`]. * * Note that the price may have changed by the time the transaction is executed. * (Use `amount_out_min` to control slippage.) */ quote_price_exact_tokens_for_tokens: RuntimeDescriptor<[asset1: Anonymize, asset2: Anonymize, amount: bigint, include_fee: boolean], Anonymize>; /** * Returns the size of the liquidity pool for the given asset pair. */ get_reserves: RuntimeDescriptor<[asset1: Anonymize, asset2: Anonymize], Anonymize>; }; }; export type AhpDispatchError = unknown; export type AhpExtensions = { "CheckSpecVersion": { additionalSigned: number; }; "CheckTxVersion": { additionalSigned: number; }; "CheckGenesis": { additionalSigned: SizedHex<32>; }; "CheckMortality": { value: ExtensionsCheckMortality; additionalSigned: SizedHex<32>; }; "CheckNonce": { value: number; }; "ChargeAssetTxPayment": { value: Anonymize; }; "CheckMetadataHash": { value: Anonymize; additionalSigned: Anonymize; }; }; type IRequiredExtensions = PlainDescriptor<"CheckSpecVersion" | "CheckTxVersion" | "CheckGenesis" | "CheckMortality" | "CheckNonce" | "ChargeAssetTxPayment" | "CheckMetadataHash">; type PalletsTypedef = { __storage: IStorage; __tx: ICalls; __event: IEvent; __error: IError; __const: IConstants; __view: IViewFns; }; export type Ahp = { descriptors: { pallets: PalletsTypedef; apis: IRuntimeCalls; } & Promise; metadataTypes: Promise; extensions: AhpExtensions; requiredExtensions: IRequiredExtensions; getMetadata: () => Promise; genesis: string | undefined; }; declare const _allDescriptors: Ahp; export default _allDescriptors; export type AhpApis = ApisFromDef; export type AhpQueries = QueryFromPalletsDef; export type AhpCalls = TxFromPalletsDef; export type AhpEvents = EventsFromPalletsDef; export type AhpErrors = ErrorsFromPalletsDef; export type AhpConstants = ConstFromPalletsDef; export type AhpViewFns = ViewFnsFromPalletsDef; export type AhpCallData = Anonymize & { value: { type: string; }; }; type AllInteractions = { storage: { System: ['Account', 'ExtrinsicCount', 'InherentsApplied', 'BlockWeight', 'BlockSize', 'BlockHash', 'ExtrinsicData', 'Number', 'ParentHash', 'Digest', 'Events', 'EventCount', 'EventTopics', 'LastRuntimeUpgrade', 'BlocksTillUpgrade', 'UpgradedToU32RefCount', 'UpgradedToTripleRefCount', 'ExecutionPhase', 'AuthorizedUpgrade', 'ExtrinsicWeightReclaimed']; ParachainSystem: ['BlockWeightMode', 'PreviousCoreCount', 'UnincludedSegment', 'AggregatedUnincludedSegment', 'PendingValidationCode', 'NewValidationCode', 'ValidationData', 'DidSetValidationCode', 'LastRelayChainBlockNumber', 'UpgradeRestrictionSignal', 'UpgradeGoAhead', 'RelayStateProof', 'RelevantMessagingState', 'HostConfiguration', 'LastDmqMqcHead', 'LastHrmpMqcHeads', 'ProcessedDownwardMessages', 'LastProcessedDownwardMessage', 'HrmpWatermark', 'LastProcessedHrmpMessage', 'HrmpOutboundMessages', 'UpwardMessages', 'PendingUpwardMessages', 'PendingUpwardSignals', 'PendingApprovedPeer', 'UpwardDeliveryFeeFactor', 'AnnouncedHrmpMessagesPerCandidate', 'ReservedXcmpWeightOverride', 'ReservedDmpWeightOverride', 'CustomValidationHeadData', 'PoVMessagesTracker']; Timestamp: ['Now', 'DidUpdate']; ParachainInfo: ['ParachainId']; Preimage: ['StatusFor', 'RequestStatusFor', 'PreimageFor']; Scheduler: ['IncompleteSince', 'Agenda', 'Retries', 'Lookup']; Parameters: ['Parameters']; MultiBlockMigrations: ['Cursor', 'Historic']; Balances: ['TotalIssuance', 'InactiveIssuance', 'Account', 'Locks', 'Reserves', 'Holds', 'Freezes']; TransactionPayment: ['NextFeeMultiplier', 'StorageVersion', 'TxPaymentCredit']; Vesting: ['Vesting', 'StorageVersion']; Claims: ['Claims', 'Total', 'Vesting', 'Signing', 'Preclaims']; Dap: ['BudgetAllocation', 'LastIssuanceTimestamp']; Authorship: ['Author']; CollatorSelection: ['Invulnerables', 'CandidateList', 'LastAuthoredBlock', 'DesiredCandidates', 'CandidacyBond']; Session: ['Validators', 'CurrentIndex', 'QueuedChanged', 'QueuedKeys', 'DisabledValidators', 'NextKeys', 'KeyOwner', 'ExternallySetKeys']; Aura: ['Authorities', 'CurrentSlot']; AuraExt: ['Authorities', 'RelaySlotInfo']; XcmpQueue: ['InboundXcmpSuspended', 'OutboundXcmpStatus', 'OutboundXcmpMessages', 'SignalMessages', 'QueueConfig', 'QueueSuspended', 'DeliveryFeeFactor']; PolkadotXcm: ['QueryCounter', 'Queries', 'AssetTraps', 'SafeXcmVersion', 'SupportedVersion', 'VersionNotifiers', 'VersionNotifyTargets', 'VersionDiscoveryQueue', 'CurrentMigration', 'RemoteLockedFungibles', 'LockedFungibles', 'XcmExecutionSuspended', 'ShouldRecordXcm', 'RecordedXcm', 'AuthorizedAliases']; ToKusamaXcmRouter: ['Bridge']; MessageQueue: ['BookStateFor', 'ServiceHead', 'Pages']; SnowbridgeSystemFrontend: ['ExportOperatingMode']; Multisig: ['Multisigs']; Proxy: ['Proxies', 'Announcements']; Indices: ['Accounts']; Assets: ['Asset', 'Account', 'Approvals', 'Metadata', 'Reserves', 'NextAssetId']; Uniques: ['Class', 'OwnershipAcceptance', 'Account', 'ClassAccount', 'Asset', 'ClassMetadataOf', 'InstanceMetadataOf', 'Attribute', 'ItemPriceOf', 'CollectionMaxSupply']; Nfts: ['Collection', 'OwnershipAcceptance', 'Account', 'CollectionAccount', 'CollectionRoleOf', 'Item', 'CollectionMetadataOf', 'ItemMetadataOf', 'Attribute', 'ItemPriceOf', 'ItemAttributesApprovalsOf', 'NextCollectionId', 'PendingSwapOf', 'CollectionConfigOf', 'ItemConfigOf']; ForeignAssets: ['Asset', 'Account', 'Approvals', 'Metadata', 'Reserves', 'NextAssetId']; PoolAssets: ['Asset', 'Account', 'Approvals', 'Metadata', 'Reserves', 'NextAssetId']; AssetConversion: ['Pools', 'NextPoolAssetId']; Treasury: ['ProposalCount', 'Proposals', 'Deactivated', 'Approvals', 'SpendCount', 'Spends', 'LastSpendPeriod']; ConvictionVoting: ['VotingFor', 'ClassLocksFor']; Referenda: ['ReferendumCount', 'ReferendumInfoFor', 'TrackQueue', 'DecidingCount', 'MetadataOf']; Whitelist: ['WhitelistedCall']; Bounties: ['BountyCount', 'Bounties', 'BountyDescriptions', 'BountyApprovals']; ChildBounties: ['ChildBountyCount', 'ParentChildBounties', 'ParentTotalChildBounties', 'ChildBounties', 'ChildBountyDescriptionsV1', 'V0ToV1ChildBountyIds', 'ChildrenCuratorFees']; AssetRate: ['ConversionRateToNative']; MultiAssetBounties: ['BountyCount', 'Bounties', 'ChildBounties', 'ChildBountiesPerParent', 'TotalChildBountiesPerParent', 'ChildBountiesValuePerParent', 'CuratorDeposit']; StateTrieMigration: ['MigrationProcess', 'AutoLimits', 'SignedMigrationMaxLimits']; NominationPools: ['TotalValueLocked', 'MinJoinBond', 'MinCreateBond', 'MaxPools', 'MaxPoolMembers', 'MaxPoolMembersPerPool', 'GlobalMaxCommission', 'PoolMembers', 'CounterForPoolMembers', 'BondedPools', 'CounterForBondedPools', 'RewardPools', 'CounterForRewardPools', 'SubPoolsStorage', 'CounterForSubPoolsStorage', 'Metadata', 'CounterForMetadata', 'LastPoolId', 'ReversePoolIdLookup', 'CounterForReversePoolIdLookup', 'ClaimPermissions']; VoterList: ['ListNodes', 'CounterForListNodes', 'ListBags', 'NextNodeAutoRebagged', 'Lock', 'PendingRebag', 'CounterForPendingRebag']; DelegatedStaking: ['Delegators', 'CounterForDelegators', 'Agents', 'CounterForAgents']; StakingRcClient: ['IncompleteSessionReport', 'LastSessionReportEndingIndex', 'OutgoingValidatorSet']; MultiBlockElection: ['Round', 'CurrentPhase', 'DesiredTargets', 'PagedVoterSnapshot', 'PagedVoterSnapshotHash', 'PagedTargetSnapshot', 'PagedTargetSnapshotHash']; MultiBlockElectionVerifier: ['QueuedSolutionX', 'QueuedSolutionY', 'QueuedValidVariant', 'QueuedSolutionBackings', 'QueuedSolutionScore', 'MinimumScore', 'StatusStorage']; MultiBlockElectionSigned: ['Invulnerables', 'SortedScores', 'SubmissionStorage', 'SubmissionMetadataStorage']; Staking: ['ValidatorCount', 'Bonded', 'MinNominatorBond', 'MinValidatorBond', 'MinimumActiveStake', 'MinCommission', 'MaxCommission', 'DisableMintingGuard', 'OptimumSelfStake', 'HardCapSelfStake', 'SelfStakeSlopeFactor', 'ErasValidatorIncentiveBudget', 'ErasSumValidatorIncentiveWeight', 'ErasValidatorIncentiveWeight', 'AreNominatorsSlashable', 'ErasNominatorsSlashable', 'Ledger', 'Payee', 'Validators', 'CounterForValidators', 'MaxValidatorsCount', 'LastValidatorEra', 'Nominators', 'CounterForNominators', 'VirtualStakers', 'CounterForVirtualStakers', 'MaxNominatorsCount', 'CurrentEra', 'ActiveEra', 'BondedEras', 'ErasStakersOverview', 'ErasStakersPaged', 'ClaimedRewards', 'ErasValidatorPrefs', 'ErasValidatorReward', 'ErasRewardPoints', 'ErasTotalStake', 'ForceEra', 'MaxStakedRewards', 'SlashRewardFraction', 'CanceledSlashPayout', 'OffenceQueue', 'OffenceQueueEras', 'ProcessingOffence', 'UnappliedSlashes', 'CancelledSlashes', 'ValidatorSlashInEra', 'ChillThreshold', 'VoterSnapshotStatus', 'NextElectionPage', 'ElectableStashes', 'EraPruningState']; Revive: ['PristineCode', 'CodeInfoOf', 'AccountInfoOf', 'NativeDepositOf', 'ImmutableDataOf', 'DeletionQueue', 'DeletionQueueCounter', 'OriginalAccount', 'EthereumBlock', 'BlockHash', 'ReceiptInfoData', 'EthBlockBuilderIR', 'EthBlockBuilderFirstValues', 'DebugSettingsOf']; AssetsPrecompiles: ['NextAssetIndex', 'AssetIndexToForeignAssetId', 'ForeignAssetIdToAssetIndex']; AssetsPrecompilesPermit: ['Nonces']; AhOps: ['RcLeaseReserve', 'RcCrowdloanContribution', 'RcCrowdloanReserve']; }; tx: { System: ['remark', 'set_heap_pages', 'set_code', 'set_code_without_checks', 'set_storage', 'kill_storage', 'kill_prefix', 'remark_with_event', 'do_task', 'authorize_upgrade', 'authorize_upgrade_without_checks', 'apply_authorized_upgrade']; ParachainSystem: ['set_validation_data', 'sudo_send_upward_message']; Timestamp: ['set']; Preimage: ['note_preimage', 'unnote_preimage', 'request_preimage', 'unrequest_preimage', 'ensure_updated']; Scheduler: ['schedule', 'cancel', 'schedule_named', 'cancel_named', 'schedule_after', 'schedule_named_after', 'set_retry', 'set_retry_named', 'cancel_retry', 'cancel_retry_named']; Parameters: ['set_parameter']; MultiBlockMigrations: ['force_set_cursor', 'force_set_active_cursor', 'force_onboard_mbms', 'clear_historic']; Balances: ['transfer_allow_death', 'force_transfer', 'transfer_keep_alive', 'transfer_all', 'force_unreserve', 'upgrade_accounts', 'force_set_balance', 'force_adjust_total_issuance', 'burn']; Vesting: ['vest', 'vest_other', 'vested_transfer', 'force_vested_transfer', 'merge_schedules', 'force_remove_vesting_schedule']; Claims: ['claim', 'mint_claim', 'claim_attest', 'attest', 'move_claim']; Dap: ['set_budget_allocation']; CollatorSelection: ['set_invulnerables', 'set_desired_candidates', 'set_candidacy_bond', 'register_as_candidate', 'leave_intent', 'add_invulnerable', 'remove_invulnerable', 'update_bond', 'take_candidate_slot']; Session: ['set_keys', 'purge_keys']; XcmpQueue: ['suspend_xcm_execution', 'resume_xcm_execution', 'update_suspend_threshold', 'update_drop_threshold', 'update_resume_threshold']; PolkadotXcm: ['send', 'teleport_assets', 'reserve_transfer_assets', 'execute', 'force_xcm_version', 'force_default_xcm_version', 'force_subscribe_version_notify', 'force_unsubscribe_version_notify', 'limited_reserve_transfer_assets', 'limited_teleport_assets', 'force_suspension', 'transfer_assets', 'claim_assets', 'transfer_assets_using_type_and_then', 'add_authorized_alias', 'remove_authorized_alias', 'remove_all_authorized_aliases']; ToKusamaXcmRouter: ['report_bridge_status']; MessageQueue: ['reap_page', 'execute_overweight']; SnowbridgeSystemFrontend: ['set_operating_mode', 'register_token', 'add_tip']; Utility: ['batch', 'as_derivative', 'batch_all', 'dispatch_as', 'force_batch', 'with_weight', 'if_else', 'dispatch_as_fallible']; Multisig: ['as_multi_threshold_1', 'as_multi', 'approve_as_multi', 'cancel_as_multi', 'poke_deposit']; Proxy: ['proxy', 'add_proxy', 'remove_proxy', 'remove_proxies', 'create_pure', 'kill_pure', 'announce', 'remove_announcement', 'reject_announcement', 'proxy_announced', 'poke_deposit']; Indices: ['claim', 'transfer', 'free', 'force_transfer', 'freeze', 'poke_deposit']; Assets: ['create', 'force_create', 'start_destroy', 'destroy_accounts', 'destroy_approvals', 'finish_destroy', 'mint', 'burn', 'transfer', 'transfer_keep_alive', 'force_transfer', 'freeze', 'thaw', 'freeze_asset', 'thaw_asset', 'transfer_ownership', 'set_team', 'set_metadata', 'clear_metadata', 'force_set_metadata', 'force_clear_metadata', 'force_asset_status', 'approve_transfer', 'cancel_approval', 'force_cancel_approval', 'transfer_approved', 'touch', 'refund', 'set_min_balance', 'touch_other', 'refund_other', 'block', 'transfer_all', 'set_reserves']; Uniques: ['create', 'force_create', 'destroy', 'mint', 'burn', 'transfer', 'redeposit', 'freeze', 'thaw', 'freeze_collection', 'thaw_collection', 'transfer_ownership', 'set_team', 'approve_transfer', 'cancel_approval', 'force_item_status', 'set_attribute', 'clear_attribute', 'set_metadata', 'clear_metadata', 'set_collection_metadata', 'clear_collection_metadata', 'set_accept_ownership', 'set_collection_max_supply', 'set_price', 'buy_item']; Nfts: ['create', 'force_create', 'destroy', 'mint', 'force_mint', 'burn', 'transfer', 'redeposit', 'lock_item_transfer', 'unlock_item_transfer', 'lock_collection', 'transfer_ownership', 'set_team', 'force_collection_owner', 'force_collection_config', 'approve_transfer', 'cancel_approval', 'clear_all_transfer_approvals', 'lock_item_properties', 'set_attribute', 'force_set_attribute', 'clear_attribute', 'approve_item_attributes', 'cancel_item_attributes_approval', 'set_metadata', 'clear_metadata', 'set_collection_metadata', 'clear_collection_metadata', 'set_accept_ownership', 'set_collection_max_supply', 'update_mint_settings', 'set_price', 'buy_item', 'pay_tips', 'create_swap', 'cancel_swap', 'claim_swap', 'mint_pre_signed', 'set_attributes_pre_signed']; ForeignAssets: ['create', 'force_create', 'start_destroy', 'destroy_accounts', 'destroy_approvals', 'finish_destroy', 'mint', 'burn', 'transfer', 'transfer_keep_alive', 'force_transfer', 'freeze', 'thaw', 'freeze_asset', 'thaw_asset', 'transfer_ownership', 'set_team', 'set_metadata', 'clear_metadata', 'force_set_metadata', 'force_clear_metadata', 'force_asset_status', 'approve_transfer', 'cancel_approval', 'force_cancel_approval', 'transfer_approved', 'touch', 'refund', 'set_min_balance', 'touch_other', 'refund_other', 'block', 'transfer_all', 'set_reserves']; PoolAssets: ['create', 'force_create', 'start_destroy', 'destroy_accounts', 'destroy_approvals', 'finish_destroy', 'mint', 'burn', 'transfer', 'transfer_keep_alive', 'force_transfer', 'freeze', 'thaw', 'freeze_asset', 'thaw_asset', 'transfer_ownership', 'set_team', 'set_metadata', 'clear_metadata', 'force_set_metadata', 'force_clear_metadata', 'force_asset_status', 'approve_transfer', 'cancel_approval', 'force_cancel_approval', 'transfer_approved', 'touch', 'refund', 'set_min_balance', 'touch_other', 'refund_other', 'block', 'transfer_all', 'set_reserves']; AssetConversion: ['create_pool', 'add_liquidity', 'remove_liquidity', 'swap_exact_tokens_for_tokens', 'swap_tokens_for_exact_tokens', 'touch']; Treasury: ['spend_local', 'remove_approval', 'spend', 'payout', 'check_status', 'void_spend']; ConvictionVoting: ['vote', 'delegate', 'undelegate', 'unlock', 'remove_vote', 'remove_other_vote']; Referenda: ['submit', 'place_decision_deposit', 'refund_decision_deposit', 'cancel', 'kill', 'nudge_referendum', 'one_fewer_deciding', 'refund_submission_deposit', 'set_metadata']; Whitelist: ['whitelist_call', 'remove_whitelisted_call', 'dispatch_whitelisted_call', 'dispatch_whitelisted_call_with_preimage']; Bounties: ['propose_bounty', 'approve_bounty', 'propose_curator', 'unassign_curator', 'accept_curator', 'award_bounty', 'claim_bounty', 'close_bounty', 'extend_bounty_expiry', 'approve_bounty_with_curator', 'poke_deposit']; ChildBounties: ['add_child_bounty', 'propose_curator', 'accept_curator', 'unassign_curator', 'award_child_bounty', 'claim_child_bounty', 'close_child_bounty']; AssetRate: ['create', 'update', 'remove']; MultiAssetBounties: ['fund_bounty', 'fund_child_bounty', 'propose_curator', 'accept_curator', 'unassign_curator', 'award_bounty', 'close_bounty', 'check_status', 'retry_payment', 'increase_value']; StateTrieMigration: ['control_auto_migration', 'continue_migrate', 'migrate_custom_top', 'migrate_custom_child', 'set_signed_max_limits', 'force_set_progress']; NominationPools: ['join', 'bond_extra', 'claim_payout', 'unbond', 'pool_withdraw_unbonded', 'withdraw_unbonded', 'create', 'create_with_pool_id', 'nominate', 'set_state', 'set_metadata', 'set_configs', 'update_roles', 'chill', 'bond_extra_other', 'set_claim_permission', 'claim_payout_other', 'set_commission', 'set_commission_max', 'set_commission_change_rate', 'claim_commission', 'adjust_pool_deposit', 'set_commission_claim_permission', 'apply_slash', 'migrate_delegation', 'migrate_pool_to_delegate_stake']; VoterList: ['rebag', 'put_in_front_of', 'put_in_front_of_other']; StakingRcClient: ['relay_session_report', 'relay_new_offence_paged', 'set_keys', 'purge_keys']; MultiBlockElection: ['manage', 'admin']; MultiBlockElectionUnsigned: ['submit_unsigned']; MultiBlockElectionSigned: ['register', 'submit_page', 'bail', 'clear_old_round_data', 'set_invulnerables']; Staking: ['bond', 'bond_extra', 'unbond', 'withdraw_unbonded', 'validate', 'nominate', 'chill', 'set_payee', 'set_controller', 'set_validator_count', 'increase_validator_count', 'scale_validator_count', 'force_no_eras', 'force_new_era', 'force_unstake', 'force_new_era_always', 'cancel_deferred_slash', 'payout_stakers', 'rebond', 'reap_stash', 'kick', 'set_staking_configs', 'chill_other', 'force_apply_min_commission', 'set_min_commission', 'payout_stakers_by_page', 'update_payee', 'deprecate_controller_batch', 'restore_ledger', 'migrate_currency', 'apply_slash', 'prune_era_step', 'set_max_commission', 'set_validator_self_stake_incentive_config']; Revive: ['eth_transact', 'call', 'instantiate', 'instantiate_with_code', 'eth_instantiate_with_code', 'eth_call', 'eth_substrate_call', 'upload_code', 'remove_code', 'set_code', 'map_account', 'batch_map_accounts', 'unmap_account', 'dispatch_as_fallback_account']; AhOps: ['unreserve_lease_deposit', 'withdraw_crowdloan_contribution', 'unreserve_crowdloan_reserve', 'transfer_to_post_migration_treasury', 'translate_para_sovereign_child_to_sibling_derived']; }; events: { System: ['ExtrinsicSuccess', 'ExtrinsicFailed', 'CodeUpdated', 'NewAccount', 'KilledAccount', 'Remarked', 'TaskStarted', 'TaskCompleted', 'TaskFailed', 'UpgradeAuthorized', 'RejectedInvalidAuthorizedUpgrade']; ParachainSystem: ['ValidationFunctionStored', 'ValidationFunctionApplied', 'ValidationFunctionDiscarded', 'DownwardMessagesReceived', 'DownwardMessagesProcessed', 'UpwardMessageSent']; Preimage: ['Noted', 'Requested', 'Cleared']; Scheduler: ['Scheduled', 'Canceled', 'Dispatched', 'RetrySet', 'RetryCancelled', 'CallUnavailable', 'PeriodicFailed', 'RetryFailed', 'PermanentlyOverweight', 'AgendaIncomplete']; Parameters: ['Updated']; MultiBlockMigrations: ['UpgradeStarted', 'UpgradeCompleted', 'UpgradeFailed', 'MigrationSkipped', 'MigrationAdvanced', 'MigrationCompleted', 'MigrationFailed', 'HistoricCleared']; Balances: ['Endowed', 'DustLost', 'Transfer', 'BalanceSet', 'Reserved', 'Unreserved', 'ReserveRepatriated', 'Deposit', 'Withdraw', 'Slashed', 'Minted', 'MintedCredit', 'Burned', 'BurnedDebt', 'Suspended', 'Restored', 'Upgraded', 'Issued', 'Rescinded', 'Locked', 'Unlocked', 'Frozen', 'Thawed', 'TotalIssuanceForced', 'Held', 'BurnedHeld', 'TransferOnHold', 'TransferAndHold', 'Released', 'Unexpected']; TransactionPayment: ['TransactionFeePaid']; AssetTxPayment: ['AssetTxFeePaid', 'AssetRefundFailed']; Vesting: ['VestingCreated', 'VestingUpdated', 'VestingCompleted']; Claims: ['Claimed']; Dap: ['IssuanceMinted', 'BudgetAllocationUpdated', 'StagingDrained', 'Unexpected']; CollatorSelection: ['NewInvulnerables', 'InvulnerableAdded', 'InvulnerableRemoved', 'NewDesiredCandidates', 'NewCandidacyBond', 'CandidateAdded', 'CandidateBondUpdated', 'CandidateRemoved', 'CandidateReplaced', 'InvalidInvulnerableSkipped']; Session: ['NewSession', 'NewQueued', 'ValidatorDisabled', 'ValidatorReenabled']; XcmpQueue: ['XcmpMessageSent']; PolkadotXcm: ['Attempted', 'Sent', 'SendFailed', 'ProcessXcmError', 'UnexpectedResponse', 'ResponseReady', 'Notified', 'NotifyOverweight', 'NotifyDispatchError', 'NotifyDecodeFailed', 'InvalidResponder', 'InvalidResponderVersion', 'ResponseTaken', 'AssetsTrapped', 'VersionChangeNotified', 'SupportedVersionChanged', 'NotifyTargetSendFail', 'NotifyTargetMigrationFail', 'InvalidQuerierVersion', 'InvalidQuerier', 'VersionNotifyStarted', 'VersionNotifyRequested', 'VersionNotifyUnrequested', 'FeesPaid', 'AssetsClaimed', 'VersionMigrationFinished', 'AliasAuthorized', 'AliasAuthorizationRemoved', 'AliasesAuthorizationsRemoved']; CumulusXcm: ['InvalidFormat', 'UnsupportedVersion', 'ExecutedDownward']; ToKusamaXcmRouter: ['DeliveryFeeFactorDecreased', 'DeliveryFeeFactorIncreased']; MessageQueue: ['ProcessingFailed', 'Processed', 'OverweightEnqueued', 'PageReaped']; SnowbridgeSystemFrontend: ['MessageSent', 'ExportOperatingModeChanged']; Utility: ['BatchInterrupted', 'BatchCompleted', 'BatchCompletedWithErrors', 'ItemCompleted', 'ItemFailed', 'DispatchedAs', 'IfElseMainSuccess', 'IfElseFallbackCalled']; Multisig: ['NewMultisig', 'MultisigApproval', 'MultisigExecuted', 'MultisigCancelled', 'DepositPoked']; Proxy: ['ProxyExecuted', 'PureCreated', 'PureKilled', 'Announced', 'ProxyAdded', 'ProxyRemoved', 'DepositPoked']; Indices: ['IndexAssigned', 'IndexFreed', 'IndexFrozen', 'DepositPoked']; Assets: ['Created', 'Issued', 'Transferred', 'Burned', 'TeamChanged', 'OwnerChanged', 'Frozen', 'Thawed', 'AssetFrozen', 'AssetThawed', 'AccountsDestroyed', 'ApprovalsDestroyed', 'DestructionStarted', 'Destroyed', 'ForceCreated', 'MetadataSet', 'MetadataCleared', 'ApprovedTransfer', 'ApprovalCancelled', 'TransferredApproved', 'AssetStatusChanged', 'AssetMinBalanceChanged', 'Touched', 'Blocked', 'Deposited', 'Withdrawn', 'ReservesUpdated', 'ReservesRemoved', 'IssuedCredit', 'BurnedCredit', 'IssuedDebt', 'BurnedDebt']; Uniques: ['Created', 'ForceCreated', 'Destroyed', 'Issued', 'Transferred', 'Burned', 'Frozen', 'Thawed', 'CollectionFrozen', 'CollectionThawed', 'OwnerChanged', 'TeamChanged', 'ApprovedTransfer', 'ApprovalCancelled', 'ItemStatusChanged', 'CollectionMetadataSet', 'CollectionMetadataCleared', 'MetadataSet', 'MetadataCleared', 'Redeposited', 'AttributeSet', 'AttributeCleared', 'OwnershipAcceptanceChanged', 'CollectionMaxSupplySet', 'ItemPriceSet', 'ItemPriceRemoved', 'ItemBought']; Nfts: ['Created', 'ForceCreated', 'Destroyed', 'Issued', 'Transferred', 'Burned', 'ItemTransferLocked', 'ItemTransferUnlocked', 'ItemPropertiesLocked', 'CollectionLocked', 'OwnerChanged', 'TeamChanged', 'TransferApproved', 'ApprovalCancelled', 'AllApprovalsCancelled', 'CollectionConfigChanged', 'CollectionMetadataSet', 'CollectionMetadataCleared', 'ItemMetadataSet', 'ItemMetadataCleared', 'Redeposited', 'AttributeSet', 'AttributeCleared', 'ItemAttributesApprovalAdded', 'ItemAttributesApprovalRemoved', 'OwnershipAcceptanceChanged', 'CollectionMaxSupplySet', 'CollectionMintSettingsUpdated', 'NextCollectionIdIncremented', 'ItemPriceSet', 'ItemPriceRemoved', 'ItemBought', 'TipSent', 'SwapCreated', 'SwapCancelled', 'SwapClaimed', 'PreSignedAttributesSet', 'PalletAttributeSet']; ForeignAssets: ['Created', 'Issued', 'Transferred', 'Burned', 'TeamChanged', 'OwnerChanged', 'Frozen', 'Thawed', 'AssetFrozen', 'AssetThawed', 'AccountsDestroyed', 'ApprovalsDestroyed', 'DestructionStarted', 'Destroyed', 'ForceCreated', 'MetadataSet', 'MetadataCleared', 'ApprovedTransfer', 'ApprovalCancelled', 'TransferredApproved', 'AssetStatusChanged', 'AssetMinBalanceChanged', 'Touched', 'Blocked', 'Deposited', 'Withdrawn', 'ReservesUpdated', 'ReservesRemoved', 'IssuedCredit', 'BurnedCredit', 'IssuedDebt', 'BurnedDebt']; PoolAssets: ['Created', 'Issued', 'Transferred', 'Burned', 'TeamChanged', 'OwnerChanged', 'Frozen', 'Thawed', 'AssetFrozen', 'AssetThawed', 'AccountsDestroyed', 'ApprovalsDestroyed', 'DestructionStarted', 'Destroyed', 'ForceCreated', 'MetadataSet', 'MetadataCleared', 'ApprovedTransfer', 'ApprovalCancelled', 'TransferredApproved', 'AssetStatusChanged', 'AssetMinBalanceChanged', 'Touched', 'Blocked', 'Deposited', 'Withdrawn', 'ReservesUpdated', 'ReservesRemoved', 'IssuedCredit', 'BurnedCredit', 'IssuedDebt', 'BurnedDebt']; AssetConversion: ['PoolCreated', 'LiquidityAdded', 'LiquidityRemoved', 'SwapExecuted', 'SwapCreditExecuted', 'Touched']; Treasury: ['Spending', 'Awarded', 'Burnt', 'Rollover', 'Deposit', 'SpendApproved', 'UpdatedInactive', 'AssetSpendApproved', 'AssetSpendVoided', 'Paid', 'PaymentFailed', 'SpendProcessed']; ConvictionVoting: ['Delegated', 'Undelegated', 'Voted', 'VoteRemoved', 'VoteUnlocked']; Referenda: ['Submitted', 'DecisionDepositPlaced', 'DecisionDepositRefunded', 'DepositSlashed', 'DecisionStarted', 'ConfirmStarted', 'ConfirmAborted', 'Confirmed', 'Approved', 'Rejected', 'TimedOut', 'Cancelled', 'Killed', 'SubmissionDepositRefunded', 'MetadataSet', 'MetadataCleared']; Whitelist: ['CallWhitelisted', 'WhitelistedCallRemoved', 'WhitelistedCallDispatched']; Bounties: ['BountyProposed', 'BountyRejected', 'BountyBecameActive', 'BountyAwarded', 'BountyClaimed', 'BountyCanceled', 'BountyExtended', 'BountyApproved', 'CuratorProposed', 'CuratorUnassigned', 'CuratorAccepted', 'DepositPoked']; ChildBounties: ['Added', 'Awarded', 'Claimed', 'Canceled']; AssetRate: ['AssetRateCreated', 'AssetRateRemoved', 'AssetRateUpdated']; MultiAssetBounties: ['BountyCreated', 'ChildBountyCreated', 'BountyBecameActive', 'BountyAwarded', 'BountyPayoutProcessed', 'BountyFundingProcessed', 'BountyRefundProcessed', 'BountyCanceled', 'CuratorUnassigned', 'CuratorProposed', 'PaymentFailed', 'Paid', 'BountyValueIncreased']; StateTrieMigration: ['Migrated', 'Slashed', 'AutoMigrationFinished', 'Halted']; NominationPools: ['Created', 'Bonded', 'PaidOut', 'Unbonded', 'Withdrawn', 'Destroyed', 'StateChanged', 'MemberRemoved', 'RolesUpdated', 'PoolSlashed', 'UnbondingPoolSlashed', 'PoolCommissionUpdated', 'PoolMaxCommissionUpdated', 'PoolCommissionChangeRateUpdated', 'PoolCommissionClaimPermissionUpdated', 'PoolCommissionClaimed', 'MinBalanceDeficitAdjusted', 'MinBalanceExcessAdjusted', 'MemberClaimPermissionUpdated', 'MetadataUpdated', 'PoolNominationMade', 'PoolNominatorChilled', 'GlobalParamsUpdated']; VoterList: ['Rebagged', 'ScoreUpdated']; DelegatedStaking: ['Delegated', 'Released', 'Slashed', 'MigratedDelegation']; StakingRcClient: ['SessionReportReceived', 'OffenceReceived', 'FeesPaid', 'Unexpected']; MultiBlockElection: ['PhaseTransitioned', 'UnexpectedTargetSnapshotFailed', 'UnexpectedVoterSnapshotFailed', 'UnexpectedPhaseTransitionOutOfWeight', 'UnexpectedPhaseTransitionHalt']; MultiBlockElectionVerifier: ['VerificationFailed', 'Verified', 'Queued']; MultiBlockElectionSigned: ['Registered', 'Stored', 'Rewarded', 'Slashed', 'Ejected', 'Discarded', 'Bailed']; Staking: ['EraPaid', 'Rewarded', 'Slashed', 'OldSlashingReportDiscarded', 'Bonded', 'Unbonded', 'Withdrawn', 'StakerRemoved', 'Kicked', 'Chilled', 'PayoutStarted', 'ValidatorPrefsSet', 'SnapshotVotersSizeExceeded', 'SnapshotTargetsSizeExceeded', 'ForceEra', 'ControllerBatchDeprecated', 'CurrencyMigrated', 'PagedElectionProceeded', 'OffenceReported', 'SlashComputed', 'SlashCancelled', 'SessionRotated', 'Unexpected', 'OffenceTooOld', 'EraPruned', 'ValidatorIncentivePaid', 'ValidatorIncentiveConfigSet']; Revive: ['ContractEmitted', 'Instantiated', 'EthExtrinsicRevert']; AhOps: ['LeaseUnreserveRemaining', 'CrowdloanUnreserveRemaining', 'SovereignMigrated', 'FailedToBond']; }; errors: { System: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered', 'MultiBlockMigrationsOngoing', 'InvalidTask', 'FailedTask', 'NothingAuthorized', 'Unauthorized']; ParachainSystem: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled']; Preimage: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested', 'TooMany', 'TooFew']; Scheduler: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange', 'Named']; MultiBlockMigrations: ['Ongoing']; Balances: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'Expendability', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves', 'TooManyHolds', 'TooManyFreezes', 'IssuanceDeactivated', 'DeltaZero']; Vesting: ['NotVesting', 'AtMaxVestingSchedules', 'AmountLow', 'ScheduleIndexOutOfBounds', 'InvalidScheduleParams']; Claims: ['InvalidEthereumSignature', 'SignerHasNoClaim', 'SenderHasNoClaim', 'PotUnderflow', 'InvalidStatement', 'VestedBalanceExists']; Dap: ['UnknownBudgetKey', 'BudgetNotExact']; CollatorSelection: ['TooManyCandidates', 'TooFewEligibleCollators', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered', 'InsertToCandidateListFailed', 'RemoveFromCandidateListFailed', 'DepositTooLow', 'UpdateCandidateListFailed', 'InsufficientBond', 'TargetIsNotCandidate', 'IdenticalDeposit', 'InvalidUnreserve']; Session: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount']; XcmpQueue: ['BadQueueConfig', 'AlreadySuspended', 'AlreadyResumed', 'TooManyActiveOutboundChannels', 'TooBig']; PolkadotXcm: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed', 'CannotCheckOutTeleport', 'LowBalance', 'TooManyLocks', 'AccountNotSovereign', 'FeesNotMet', 'LockNotFound', 'InUse', 'InvalidAssetUnknownReserve', 'InvalidAssetUnsupportedReserve', 'TooManyReserves', 'LocalExecutionIncomplete', 'TooManyAuthorizedAliases', 'ExpiresInPast', 'AliasNotFound', 'LocalExecutionIncompleteWithError']; MessageQueue: ['NotReapable', 'NoPage', 'NoMessage', 'AlreadyProcessed', 'Queued', 'InsufficientWeight', 'TemporarilyUnprocessable', 'QueuePaused', 'RecursiveDisallowed']; SnowbridgeSystemFrontend: ['UnsupportedLocationVersion', 'InvalidAssetOwner', 'SendFailure', 'FeesNotMet', 'LocationConversionFailed', 'Halted', 'Unreachable', 'UnsupportedAsset', 'WithdrawError', 'InvalidAccount', 'SwapError', 'BurnError', 'TipAmountZero']; Utility: ['TooManyCalls']; Multisig: ['MinimumThreshold', 'AlreadyApproved', 'NoApprovalsNeeded', 'TooFewSignatories', 'TooManySignatories', 'SignatoriesOutOfOrder', 'SenderInSignatories', 'NotFound', 'NotOwner', 'NoTimepoint', 'WrongTimepoint', 'UnexpectedTimepoint', 'MaxWeightTooLow', 'AlreadyStored']; Proxy: ['TooMany', 'NotFound', 'NotProxy', 'Unproxyable', 'Duplicate', 'NoPermission', 'Unannounced', 'NoSelfProxy']; Indices: ['NotAssigned', 'NotOwner', 'InUse', 'NotTransfer', 'Permanent']; Assets: ['BalanceLow', 'NoAccount', 'NoPermission', 'Unknown', 'Frozen', 'InUse', 'BadWitness', 'MinBalanceZero', 'UnavailableConsumer', 'BadMetadata', 'Unapproved', 'WouldDie', 'AlreadyExists', 'NoDeposit', 'WouldBurn', 'LiveAsset', 'AssetNotLive', 'IncorrectStatus', 'NotFrozen', 'CallbackFailed', 'BadAssetId', 'ContainsFreezes', 'ContainsHolds', 'TooManyReserves']; Uniques: ['NoPermission', 'UnknownCollection', 'AlreadyExists', 'WrongOwner', 'BadWitness', 'InUse', 'Frozen', 'WrongDelegate', 'NoDelegate', 'Unapproved', 'Unaccepted', 'Locked', 'MaxSupplyReached', 'MaxSupplyAlreadySet', 'MaxSupplyTooSmall', 'UnknownItem', 'NotForSale', 'BidTooLow', 'NoMetadata', 'WrongMetadata', 'AttributeNotFound', 'WrongAttribute']; Nfts: ['NoPermission', 'UnknownCollection', 'AlreadyExists', 'ApprovalExpired', 'WrongOwner', 'BadWitness', 'CollectionIdInUse', 'ItemsNonTransferable', 'NotDelegate', 'WrongDelegate', 'Unapproved', 'Unaccepted', 'ItemLocked', 'LockedItemAttributes', 'LockedCollectionAttributes', 'LockedItemMetadata', 'LockedCollectionMetadata', 'MaxSupplyReached', 'MaxSupplyLocked', 'MaxSupplyTooSmall', 'UnknownItem', 'UnknownSwap', 'MetadataNotFound', 'AttributeNotFound', 'NotForSale', 'BidTooLow', 'ReachedApprovalLimit', 'DeadlineExpired', 'WrongDuration', 'MethodDisabled', 'WrongSetting', 'InconsistentItemConfig', 'NoConfig', 'RolesNotCleared', 'MintNotStarted', 'MintEnded', 'AlreadyClaimed', 'IncorrectData', 'WrongOrigin', 'WrongSignature', 'IncorrectMetadata', 'MaxAttributesLimitReached', 'WrongNamespace', 'CollectionNotEmpty', 'WitnessRequired']; ForeignAssets: ['BalanceLow', 'NoAccount', 'NoPermission', 'Unknown', 'Frozen', 'InUse', 'BadWitness', 'MinBalanceZero', 'UnavailableConsumer', 'BadMetadata', 'Unapproved', 'WouldDie', 'AlreadyExists', 'NoDeposit', 'WouldBurn', 'LiveAsset', 'AssetNotLive', 'IncorrectStatus', 'NotFrozen', 'CallbackFailed', 'BadAssetId', 'ContainsFreezes', 'ContainsHolds', 'TooManyReserves']; PoolAssets: ['BalanceLow', 'NoAccount', 'NoPermission', 'Unknown', 'Frozen', 'InUse', 'BadWitness', 'MinBalanceZero', 'UnavailableConsumer', 'BadMetadata', 'Unapproved', 'WouldDie', 'AlreadyExists', 'NoDeposit', 'WouldBurn', 'LiveAsset', 'AssetNotLive', 'IncorrectStatus', 'NotFrozen', 'CallbackFailed', 'BadAssetId', 'ContainsFreezes', 'ContainsHolds', 'TooManyReserves']; AssetConversion: ['InvalidAssetPair', 'PoolExists', 'WrongDesiredAmount', 'AmountOneLessThanMinimal', 'AmountTwoLessThanMinimal', 'ReserveLeftLessThanMinimal', 'AmountOutTooHigh', 'PoolNotFound', 'Overflow', 'AssetOneDepositDidNotMeetMinimum', 'AssetTwoDepositDidNotMeetMinimum', 'AssetOneWithdrawalDidNotMeetMinimum', 'AssetTwoWithdrawalDidNotMeetMinimum', 'OptimalAmountLessThanDesired', 'InsufficientLiquidityMinted', 'ZeroLiquidity', 'ZeroAmount', 'ProvidedMinimumNotSufficientForSwap', 'ProvidedMaximumNotSufficientForSwap', 'InvalidPath', 'NonUniquePath', 'IncorrectPoolAssetId', 'BelowMinimum', 'PoolEmpty']; Treasury: ['InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved', 'FailedToConvertBalance', 'SpendExpired', 'EarlyPayout', 'AlreadyAttempted', 'PayoutError', 'NotAttempted', 'Inconclusive']; ConvictionVoting: ['NotOngoing', 'NotVoter', 'NoPermission', 'NoPermissionYet', 'AlreadyDelegating', 'AlreadyVoting', 'InsufficientFunds', 'NotDelegating', 'Nonsense', 'MaxVotesReached', 'ClassNeeded', 'BadClass']; Referenda: ['NotOngoing', 'HasDeposit', 'BadTrack', 'Full', 'QueueEmpty', 'BadReferendum', 'NothingToDo', 'NoTrack', 'Unfinished', 'NoPermission', 'NoDeposit', 'BadStatus', 'PreimageNotExist', 'PreimageStoredWithDifferentLength']; Whitelist: ['UnavailablePreImage', 'UndecodableCall', 'InvalidCallWeightWitness', 'CallIsNotWhitelisted', 'CallAlreadyWhitelisted']; Bounties: ['InsufficientProposersBalance', 'InvalidIndex', 'ReasonTooBig', 'UnexpectedStatus', 'RequireCurator', 'InvalidValue', 'InvalidFee', 'PendingPayout', 'Premature', 'HasActiveChildBounty', 'TooManyQueued', 'NotProposer']; ChildBounties: ['ParentBountyNotActive', 'InsufficientBountyBalance', 'TooManyChildBounties']; AssetRate: ['UnknownAssetKind', 'AlreadyExists', 'Overflow']; MultiAssetBounties: ['InvalidIndex', 'ReasonTooBig', 'InvalidValue', 'FailedToConvertBalance', 'UnexpectedStatus', 'RequireCurator', 'InsufficientPermission', 'FundingError', 'RefundError', 'PayoutError', 'FundingInconclusive', 'RefundInconclusive', 'PayoutInconclusive', 'FailedToConvertSource', 'HasActiveChildBounty', 'TooManyChildBounties', 'InsufficientBountyValue', 'PreimageNotExist']; StateTrieMigration: ['MaxSignedLimits', 'KeyTooLong', 'NotEnoughFunds', 'BadWitness', 'SignedMigrationNotAllowed', 'BadChildRoot']; NominationPools: ['PoolNotFound', 'PoolMemberNotFound', 'RewardPoolNotFound', 'SubPoolsNotFound', 'AccountBelongsToOtherPool', 'FullyUnbonding', 'MaxUnbondingLimit', 'CannotWithdrawAny', 'MinimumBondNotMet', 'OverflowRisk', 'NotDestroying', 'NotNominator', 'NotKickerOrDestroying', 'NotOpen', 'MaxPools', 'MaxPoolMembers', 'CanNotChangeState', 'DoesNotHavePermission', 'MetadataExceedsMaxLen', 'Defensive', 'PartialUnbondNotAllowedPermissionlessly', 'MaxCommissionRestricted', 'CommissionExceedsMaximum', 'CommissionExceedsGlobalMaximum', 'CommissionChangeThrottled', 'CommissionChangeRateNotAllowed', 'NoPendingCommission', 'NoCommissionCurrentSet', 'PoolIdInUse', 'InvalidPoolId', 'BondExtraRestricted', 'NothingToAdjust', 'NothingToSlash', 'SlashTooLow', 'AlreadyMigrated', 'NotMigrated', 'NotSupported', 'Restricted']; VoterList: ['List', 'Locked']; DelegatedStaking: ['NotAllowed', 'AlreadyStaking', 'InvalidRewardDestination', 'InvalidDelegation', 'NotEnoughFunds', 'NotAgent', 'NotDelegator', 'BadState', 'UnappliedSlash', 'NothingToSlash', 'WithdrawFailed', 'NotSupported']; StakingRcClient: ['XcmSendFailed', 'NotValidator', 'InvalidKeys', 'InvalidProof', 'FeesExceededMax']; MultiBlockElection: ['Fallback', 'UnexpectedPhase', 'Snapshot']; MultiBlockElectionSigned: ['PhaseNotSigned', 'Duplicate', 'QueueFull', 'BadPageIndex', 'NotRegistered', 'NoSubmission', 'RoundNotOver', 'BadWitnessData', 'TooManyInvulnerables']; Staking: ['NotController', 'NotStash', 'AlreadyBonded', 'AlreadyPaired', 'EmptyTargets', 'DuplicateIndex', 'InvalidSlashRecord', 'InsufficientBond', 'NoMoreChunks', 'NoUnlockChunk', 'FundedTarget', 'InvalidEraToReward', 'InvalidNumberOfNominations', 'AlreadyClaimed', 'InvalidPage', 'IncorrectHistoryDepth', 'BadState', 'TooManyTargets', 'BadTarget', 'CannotChillOther', 'TooManyNominators', 'TooManyValidators', 'CommissionTooLow', 'BoundNotMet', 'ControllerDeprecated', 'CannotRestoreLedger', 'RewardDestinationRestricted', 'NotEnoughFunds', 'VirtualStakerNotAllowed', 'CannotReapStash', 'AlreadyMigrated', 'EraNotStarted', 'Restricted', 'UnappliedSlashesInPreviousEra', 'EraNotPrunable', 'CancelledSlash', 'CommissionTooHigh', 'OptimumGreaterThanCap']; Revive: ['InvalidSchedule', 'InvalidCallFlags', 'OutOfGas', 'TransferFailed', 'MaxCallDepthReached', 'ContractNotFound', 'CodeNotFound', 'CodeInfoNotFound', 'OutOfBounds', 'DecodingFailed', 'ContractTrapped', 'ValueTooLarge', 'TerminatedWhileReentrant', 'InputForwarded', 'TooManyTopics', 'DuplicateContract', 'TerminatedInConstructor', 'ReentranceDenied', 'ReenteredPallet', 'StateChangeDenied', 'StorageDepositNotEnoughFunds', 'StorageDepositLimitExhausted', 'CodeInUse', 'ContractReverted', 'CodeRejected', 'BlobTooLarge', 'StaticMemoryTooLarge', 'BasicBlockTooLarge', 'InvalidInstruction', 'MaxDelegateDependenciesReached', 'DelegateDependencyNotFound', 'DelegateDependencyAlreadyExists', 'CannotAddSelfAsDelegateDependency', 'OutOfTransientStorage', 'InvalidSyscall', 'InvalidStorageFlags', 'ExecutionFailed', 'BalanceConversionFailed', 'InvalidImmutableAccess', 'AccountUnmapped', 'AccountAlreadyMapped', 'InvalidGenericTransaction', 'RefcountOverOrUnderflow', 'UnsupportedPrecompileAddress', 'CallDataTooLarge', 'ReturnDataTooLarge', 'InvalidJump', 'StackUnderflow', 'StackOverflow', 'TxFeeOverdraw', 'EvmConstructorNonEmptyData', 'EvmConstructedFromHash', 'StorageRefundNotEnoughFunds', 'StorageRefundLocked', 'PrecompileDelegateDenied', 'EcdsaRecoveryFailed', 'AutoMappingEnabled', 'PendingDepositCleanup']; AssetsPrecompilesPermit: ['InvalidSignature', 'SignerMismatch', 'PermitExpired', 'SignatureSValueTooHigh', 'InvalidVValue', 'NonceOverflow', 'InvalidOwner', 'InvalidSpender']; AhOps: ['NoLeaseReserve', 'NoCrowdloanContribution', 'NoCrowdloanReserve', 'FailedToWithdrawCrowdloanContribution', 'NotYet', 'ContributionsRemaining', 'WrongDerivedTranslation', 'NotSovereign', 'InternalError', 'MigrationNotCompleted', 'ZeroBalance', 'FailedToTransfer', 'AlreadyTranslated', 'TooLongDerivationPath', 'FailedToForceUnstake']; }; constants: { System: ['BlockWeights', 'BlockLength', 'BlockHashCount', 'DbWeight', 'Version', 'SS58Prefix']; ParachainSystem: ['SelfParaId']; Timestamp: ['MinimumPeriod']; Scheduler: ['MaximumWeight', 'MaxScheduledPerBlock']; MultiBlockMigrations: ['CursorMaxLen', 'IdentifierMaxLen']; Balances: ['ExistentialDeposit', 'MaxLocks', 'MaxReserves', 'MaxFreezes']; TransactionPayment: ['OperationalFeeMultiplier']; Vesting: ['MinVestedTransfer', 'MaxVestingSchedules']; Claims: ['Prefix']; Dap: ['PalletId', 'IssuanceCadence', 'MaxElapsedPerDrip']; CollatorSelection: ['PotId', 'MaxCandidates', 'MinEligibleCollators', 'MaxInvulnerables', 'KickThreshold', 'pot_account']; Session: ['KeyDeposit']; Aura: ['SlotDuration']; XcmpQueue: ['MaxInboundSuspended', 'MaxActiveOutboundChannels', 'MaxPageSize']; PolkadotXcm: ['UniversalLocation', 'AdvertisedXcmVersion', 'MaxLockers', 'MaxRemoteLockConsumers']; MessageQueue: ['HeapSize', 'MaxStale', 'ServiceWeight', 'IdleMaxServiceWeight']; Utility: ['batched_calls_limit']; Multisig: ['DepositBase', 'DepositFactor', 'MaxSignatories']; Proxy: ['ProxyDepositBase', 'ProxyDepositFactor', 'MaxProxies', 'MaxPending', 'AnnouncementDepositBase', 'AnnouncementDepositFactor']; Indices: ['Deposit']; Assets: ['RemoveItemsLimit', 'AssetDeposit', 'AssetAccountDeposit', 'MetadataDepositBase', 'MetadataDepositPerByte', 'ApprovalDeposit', 'StringLimit']; Uniques: ['CollectionDeposit', 'ItemDeposit', 'MetadataDepositBase', 'AttributeDepositBase', 'DepositPerByte', 'StringLimit', 'KeyLimit', 'ValueLimit']; Nfts: ['CollectionDeposit', 'ItemDeposit', 'MetadataDepositBase', 'AttributeDepositBase', 'DepositPerByte', 'StringLimit', 'KeyLimit', 'ValueLimit', 'ApprovalsLimit', 'ItemAttributesApprovalsLimit', 'MaxTips', 'MaxDeadlineDuration', 'MaxAttributesPerCall', 'Features']; ForeignAssets: ['RemoveItemsLimit', 'AssetDeposit', 'AssetAccountDeposit', 'MetadataDepositBase', 'MetadataDepositPerByte', 'ApprovalDeposit', 'StringLimit']; PoolAssets: ['RemoveItemsLimit', 'AssetDeposit', 'AssetAccountDeposit', 'MetadataDepositBase', 'MetadataDepositPerByte', 'ApprovalDeposit', 'StringLimit']; AssetConversion: ['LPFee', 'PoolSetupFee', 'PoolSetupFeeAsset', 'LiquidityWithdrawalFee', 'MintMinLiquidity', 'MaxSwapPathLength', 'PalletId']; Treasury: ['SpendPeriod', 'Burn', 'PalletId', 'MaxApprovals', 'PayoutPeriod', 'pot_account']; ConvictionVoting: ['MaxVotes', 'VoteLockingPeriod']; Referenda: ['SubmissionDeposit', 'MaxQueued', 'UndecidingTimeout', 'AlarmInterval', 'Tracks']; Bounties: ['BountyDepositBase', 'BountyDepositPayoutDelay', 'BountyUpdatePeriod', 'CuratorDepositMultiplier', 'CuratorDepositMax', 'CuratorDepositMin', 'BountyValueMinimum', 'DataDepositPerByte', 'MaximumReasonLength']; ChildBounties: ['MaxActiveChildBountyCount', 'ChildBountyValueMinimum']; MultiAssetBounties: ['BountyValueMinimum', 'ChildBountyValueMinimum', 'MaxActiveChildBountyCount']; StateTrieMigration: ['MaxKeyLen']; NominationPools: ['PalletId', 'MaxPointsToBalance', 'MaxUnbonding']; VoterList: ['BagThresholds', 'MaxAutoRebagPerBlock']; DelegatedStaking: ['PalletId', 'SlashRewardFraction']; StakingRcClient: ['KeyDeposit']; MultiBlockElection: ['UnsignedPhase', 'SignedPhase', 'SignedValidationPhase', 'VoterSnapshotPerBlock', 'TargetSnapshotPerBlock', 'Pages']; MultiBlockElectionVerifier: ['MaxBackersPerWinnerFinal', 'MaxBackersPerWinner', 'MaxWinnersPerPage']; Staking: ['HistoryDepth', 'SessionsPerEra', 'PlanningEraOffset', 'BondingDuration', 'NominatorFastUnbondDuration', 'SlashDeferDuration', 'DisableMinting', 'MaxExposurePageSize', 'MaxValidatorSet', 'MaxUnlockingChunks', 'MaxEraDuration', 'MaxPruningItems']; Revive: ['DepositPerByte', 'DepositPerItem', 'DepositPerChildTrieItem', 'CodeHashLockupDepositPercent', 'AllowEVMBytecode', 'ChainId', 'NativeToEthRatio', 'MaxEthExtrinsicWeight', 'DebugEnabled', 'AutoMap', 'GasScale']; AssetsPrecompilesPermit: ['ChainId']; }; viewFns: { MultiBlockMigrations: ['ongoing_status', 'progress', 'affected_prefixes', 'status']; Dap: ['budget_recipients', 'staging']; Proxy: ['check_permissions', 'is_superset']; Assets: ['asset_details', 'balance_of', 'get_metadata', 'get_reserves_data']; ForeignAssets: ['asset_details', 'balance_of', 'get_metadata', 'get_reserves_data']; PoolAssets: ['asset_details', 'balance_of', 'get_metadata', 'get_reserves_data']; AssetConversion: ['get_reserves', 'quote_price_exact_tokens_for_tokens', 'quote_price_tokens_for_exact_tokens']; VoterList: ['scores']; MultiBlockElectionSigned: ['deposit_for']; Staking: ['pot_account', 'pot_balance', 'era_reward_allocation']; }; apis: { AuraApi: ['slot_duration', 'authorities']; RelayParentOffsetApi: ['relay_parent_offset']; AuraUnincludedSegmentApi: ['can_build_upon']; Core: ['version', 'execute_block', 'initialize_block']; Metadata: ['metadata', 'metadata_at_version', 'metadata_versions']; BlockBuilder: ['apply_extrinsic', 'finalize_block', 'inherent_extrinsics', 'check_inherents']; TaggedTransactionQueue: ['validate_transaction']; OffchainWorkerApi: ['offchain_worker']; SessionKeys: ['generate_session_keys', 'decode_session_keys']; RuntimeViewFunction: ['execute_view_function']; AccountNonceApi: ['account_nonce']; TransactionPaymentApi: ['query_info', 'query_fee_details', 'query_weight_to_fee', 'query_length_to_fee']; TransactionPaymentCallApi: ['query_call_info', 'query_call_fee_details', 'query_weight_to_fee', 'query_length_to_fee']; XcmPaymentApi: ['query_acceptable_payment_assets', 'query_xcm_weight', 'query_weight_to_asset_fee', 'query_delivery_fees']; DryRunApi: ['dry_run_call', 'dry_run_xcm']; LocationToAccountApi: ['convert_location']; TrustedQueryApi: ['is_trusted_reserve', 'is_trusted_teleporter']; AuthorizedAliasersApi: ['authorized_aliasers', 'is_authorized_alias']; FungiblesApi: ['query_account_balances']; CollectCollationInfo: ['collect_collation_info']; GenesisBuilder: ['build_state', 'get_preset', 'preset_names']; AssetHubMigrationApi: ['migration_start_block', 'migration_end_block']; AssetConversionApi: ['quote_price_tokens_for_exact_tokens', 'quote_price_exact_tokens_for_tokens', 'get_reserves']; GetParachainInfo: ['parachain_id']; NominationPoolsApi: ['pending_rewards', 'points_to_balance', 'balance_to_points', 'pool_pending_slash', 'member_pending_slash', 'pool_needs_delegate_migration', 'member_needs_delegate_migration', 'member_total_balance', 'pool_balance', 'pool_accounts']; StakingApi: ['nominations_quota', 'eras_stakers_page_count', 'pending_rewards']; Inflation: ['experimental_issuance_prediction_info']; ReviveApi: ['eth_block', 'eth_block_hash', 'eth_receipt_data', 'block_gas_limit', 'max_extrinsic_weight_in_gas', 'balance', 'gas_price', 'nonce', 'call', 'instantiate', 'eth_transact', 'eth_transact_with_config', 'eth_estimate_gas', 'eth_pre_dispatch_weight', 'upload_code', 'get_storage', 'get_storage_var_key', 'trace_block', 'trace_tx', 'trace_call', 'trace_call_with_config', 'block_author', 'address', 'account_id', 'runtime_pallets_address', 'code', 'new_balance_with_dust']; }; }; export type AhpWhitelistEntry = PalletKey | `query.${NestedKey}` | `tx.${NestedKey}` | `event.${NestedKey}` | `error.${NestedKey}` | `const.${NestedKey}` | `view.${NestedKey}` | `api.${NestedKey}`; type PalletKey = `*.${({ [K in keyof AllInteractions]: K extends 'apis' ? never : keyof AllInteractions[K]; })[keyof AllInteractions]}`; type NestedKey> = "*" | { [P in keyof D & string]: `${P}.*` | `${P}.${D[P][number]}`; }[keyof D & string];