import '@polkadot/api-base/types/errors'; import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types'; export type __AugmentedError = AugmentedError; declare module '@polkadot/api-base/types/errors' { interface AugmentedErrors { assetRegistry: { /** * Asset was not found. **/ AssetNotFound: AugmentedError; /** * The version of the `VersionedMultiLocation` value used is not able * to be interpreted. **/ BadVersion: AugmentedError; /** * Another asset was already register with this asset id. **/ ConflictingAssetId: AugmentedError; ConflictingL1Asset: AugmentedError; /** * Another asset was already register with this location. **/ ConflictingLocation: AugmentedError; /** * The asset id is invalid. **/ InvalidAssetId: AugmentedError; /** * Name or symbol is too long. **/ InvalidAssetString: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; bootstrap: { /** * Bootstrate event already started **/ AlreadyStarted: AugmentedError; /** * Bootstrap already Finished **/ BootstrapFinished: AugmentedError; /** * Bootstrap must be pre finalized before it can be finalized **/ BootstrapMustBePreFinalized: AugmentedError; /** * no rewards to claim **/ BootstrapNotReadyToBeFinished: AugmentedError; /** * Bootstrap not scheduled **/ BootstrapNotSchduled: AugmentedError; /** * Bootstrap cant be scheduled in past **/ BootstrapStartInThePast: AugmentedError; /** * First provision must be in non restricted token **/ FirstProvisionInSecondTokenId: AugmentedError; /** * Math problem **/ MathOverflow: AugmentedError; /** * Not enough funds for provision **/ NotEnoughAssets: AugmentedError; /** * Not enough funds for provision (vested) **/ NotEnoughVestedAssets: AugmentedError; /** * Cannot claim rewards before bootstrap finish **/ NotFinishedYet: AugmentedError; /** * no rewards to claim **/ NothingToClaim: AugmentedError; /** * Bootstarap phases cannot lasts 0 blocks **/ PhaseLengthCannotBeZero: AugmentedError; /** * Bootstraped pool already exists **/ PoolAlreadyExists: AugmentedError; /** * Bootstrap provisioning blocked by maintenance mode **/ ProvisioningBlockedByMaintenanceMode: AugmentedError; /** * Tokens used in bootstrap cannot be the same **/ SameToken: AugmentedError; /** * Token does not exists **/ TokenIdDoesNotExists: AugmentedError; /** * Token activations failed **/ TokensActivationFailed: AugmentedError; /** * Bootstrap can only be updated or cancelled * BootstrapUpdateBuffer blocks or more before bootstrap start **/ TooLateToUpdateBootstrap: AugmentedError; /** * User cannot participate at this moment **/ Unauthorized: AugmentedError; /** * Only scheduled token pair can be used for provisions **/ UnsupportedTokenId: AugmentedError; /** * Valuation ratio exceeded **/ ValuationRatio: AugmentedError; /** * wrong ratio **/ WrongRatio: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; council: { /** * Members are already initialized! **/ AlreadyInitialized: AugmentedError; /** * Duplicate proposals not allowed **/ DuplicateProposal: AugmentedError; /** * Duplicate vote ignored **/ DuplicateVote: AugmentedError; /** * Requires foundation account or root **/ NotFoundationAccountOrRoot: AugmentedError; /** * Account is not a member **/ NotMember: AugmentedError; /** * Prime account is not a member **/ PrimeAccountNotMember: AugmentedError; /** * Proposal must exist **/ ProposalMissing: AugmentedError; /** * The close call was made too early, before the end of the voting. **/ TooEarly: AugmentedError; /** * To early to close the proposal, can only close ProposalCloseDelay blocks after proposal * was proposed unless by a foundation account **/ TooEarlyToCloseByNonFoundationAccount: AugmentedError; /** * There can only be a maximum of `MaxProposals` active proposals. **/ TooManyProposals: AugmentedError; /** * Mismatched index **/ WrongIndex: AugmentedError; /** * The given length bound for the proposal was too low. **/ WrongProposalLength: AugmentedError; /** * The given weight bound for the proposal was too low. **/ WrongProposalWeight: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; crowdloan: { /** * Trying to introduce a batch that goes beyond the limits of the funds **/ AllocationDoesNotMatch: AugmentedError; /** * User trying to associate a native identity with a relay chain identity for posterior * reward claiming provided an already associated relay chain identity **/ AlreadyAssociated: AugmentedError; /** * Trying to introduce a batch that goes beyond the limits of the funds **/ BatchBeyondFundPot: AugmentedError; /** * The mint operation during claim has resulted in err. * This is expected when claiming less than existential desposit on a non-existent account * Please consider waiting until the EndVestingBlock to attempt this **/ ClaimingLessThanED: AugmentedError; /** * First claim already done **/ FirstClaimAlreadyDone: AugmentedError; /** * User submitted an unsifficient number of proofs to change the reward address **/ InsufficientNumberOfValidProofs: AugmentedError; /** * User trying to associate a native identity with a relay chain identity for posterior * reward claiming provided a wrong signature **/ InvalidClaimSignature: AugmentedError; /** * User trying to claim the first free reward provided the wrong signature **/ InvalidFreeClaimSignature: AugmentedError; /** * Math overflow **/ MathOverflow: AugmentedError; /** * User trying to claim an award did not have an claim associated with it. This may mean * they did not contribute to the crowdloan, or they have not yet associated a native id * with their contribution **/ NoAssociatedClaim: AugmentedError; /** * User provided a signature from a non-contributor relay account **/ NonContributedAddressProvided: AugmentedError; /** * Period not set **/ PeriodNotSet: AugmentedError; /** * The contribution is not high enough to be eligible for rewards **/ RewardNotHighEnough: AugmentedError; /** * User trying to claim rewards has already claimed all rewards associated with its * identity and contribution **/ RewardsAlreadyClaimed: AugmentedError; /** * Rewards should match funds of the pallet **/ RewardsDoNotMatchFund: AugmentedError; /** * Reward vec has already been initialized **/ RewardVecAlreadyInitialized: AugmentedError; /** * Reward vec has not yet been fully initialized **/ RewardVecNotFullyInitializedYet: AugmentedError; /** * Initialize_reward_vec received too many contributors **/ TooManyContributors: AugmentedError; /** * Provided vesting period is not valid **/ VestingPeriodNonValid: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; feeLock: { /** * The lock cannot be unlocked yet **/ CantUnlockFeeYet: AugmentedError; /** * Locks were incorrectly initialized **/ FeeLocksIncorrectlyInitialzed: AugmentedError; /** * Locks have not been initialzed **/ FeeLocksNotInitialized: AugmentedError; /** * Lock metadata is invalid **/ InvalidFeeLockMetadata: AugmentedError; /** * The limit on the maximum curated tokens for which there is a swap threshold is exceeded **/ MaxCuratedTokensLimitExceeded: AugmentedError; /** * No tokens of the user are fee-locked **/ NotFeeLocked: AugmentedError; /** * An unexpected failure has occured **/ UnexpectedFailure: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; grandpa: { /** * Attempt to signal GRANDPA change with one already pending. **/ ChangePending: AugmentedError; /** * A given equivocation report is valid but already previously reported. **/ DuplicateOffenceReport: AugmentedError; /** * An equivocation proof provided as part of an equivocation report is invalid. **/ InvalidEquivocationProof: AugmentedError; /** * A key ownership proof provided as part of an equivocation report is invalid. **/ InvalidKeyOwnershipProof: AugmentedError; /** * Attempt to signal GRANDPA pause when the authority set isn't live * (either paused or already pending pause). **/ PauseFailed: AugmentedError; /** * Attempt to signal GRANDPA resume when the authority set isn't paused * (either live or already pending resume). **/ ResumeFailed: AugmentedError; /** * Cannot signal forced change so soon after last. **/ TooSoon: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; identity: { /** * Account ID is already named. **/ AlreadyClaimed: AugmentedError; /** * Empty index. **/ EmptyIndex: AugmentedError; /** * Fee is changed. **/ FeeChanged: AugmentedError; /** * The index is invalid. **/ InvalidIndex: AugmentedError; /** * Invalid judgement. **/ InvalidJudgement: AugmentedError; /** * The target is invalid. **/ InvalidTarget: AugmentedError; /** * The provided judgement was for a different identity. **/ JudgementForDifferentIdentity: AugmentedError; /** * Judgement given. **/ JudgementGiven: AugmentedError; /** * Error that occurs when there is an issue paying for judgement. **/ JudgementPaymentFailed: AugmentedError; /** * No identity found. **/ NoIdentity: AugmentedError; /** * Account isn't found. **/ NotFound: AugmentedError; /** * Account isn't named. **/ NotNamed: AugmentedError; /** * Sub-account isn't owned by sender. **/ NotOwned: AugmentedError; /** * Sender is not a sub-account. **/ NotSub: AugmentedError; /** * Sticky judgement. **/ StickyJudgement: AugmentedError; /** * Too many additional fields. **/ TooManyFields: AugmentedError; /** * Maximum amount of registrars reached. Cannot add any more. **/ TooManyRegistrars: AugmentedError; /** * Too many subs-accounts. **/ TooManySubAccounts: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; issuance: { /** * The issuance config has already been initialized **/ IssuanceConfigAlreadyInitialized: AugmentedError; /** * The issuance config is invalid **/ IssuanceConfigInvalid: AugmentedError; /** * The issuance config has not been initialized **/ IssuanceConfigNotInitialized: AugmentedError; /** * An underflow or an overflow has occured **/ MathError: AugmentedError; /** * The TGE is already finalized **/ TGEIsAlreadyFinalized: AugmentedError; /** * TGE must be finalized before issuance config is inti **/ TGENotFinalized: AugmentedError; /** * unknown pool **/ UnknownPool: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; maintenance: { /** * Already in maintenance mode **/ AlreadyInMaintenanceMode: AugmentedError; /** * Already not upgradable in maintenance mode **/ AlreadyNotUpgradableInMaintenanceMode: AugmentedError; /** * Already upgradable in maintenance mode **/ AlreadyUpgradableInMaintenanceMode: AugmentedError; /** * Timeouts were incorrectly initialized **/ NotFoundationAccount: AugmentedError; /** * Not in maintenance mode **/ NotInMaintenanceMode: AugmentedError; /** * Upgrade blocked by Maintenance **/ UpgradeBlockedByMaintenance: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; metamask: { /** * there should be some updates **/ NothingToUpdate: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; multiPurposeLiquidity: { /** * Math error **/ MathError: AugmentedError; /** * The token is not a liquidity token **/ NotALiquidityToken: AugmentedError; /** * Not enough tokens **/ NotEnoughTokens: AugmentedError; /** * Not enough unspend reserves **/ NotEnoughUnspentReserves: AugmentedError; /** * The limit on the maximum number of relocks was exceeded **/ RelockCountLimitExceeded: AugmentedError; /** * Provided index for relock is out of bounds **/ RelockInstanceIndexOOB: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; parachainStaking: { AggregatorDNE: AugmentedError; AggregatorExists: AugmentedError; AggregatorLiquidityTokenTaken: AugmentedError; AlreadyActive: AugmentedError; AlreadyDelegatedCandidate: AugmentedError; AlreadyOffline: AugmentedError; CandidateAlreadyApprovedByAggregator: AugmentedError; CandidateAlreadyLeaving: AugmentedError; CandidateBondBelowMin: AugmentedError; CandidateCannotLeaveYet: AugmentedError; CandidateDNE: AugmentedError; CandidateExists: AugmentedError; CandidateNotAggregating: AugmentedError; CandidateNotAggregatingUnderAggregator: AugmentedError; CandidateNotApprovedByAggregator: AugmentedError; CandidateNotLeaving: AugmentedError; CannotDelegateIfLeaving: AugmentedError; CannotGoOnlineIfLeaving: AugmentedError; CannotSetBelowMin: AugmentedError; CollatorRoundRewardsDNE: AugmentedError; DelegationBelowMin: AugmentedError; DelegationDNE: AugmentedError; DelegatorAlreadyLeaving: AugmentedError; DelegatorCannotLeaveYet: AugmentedError; DelegatorDNE: AugmentedError; DelegatorDNEInDelegatorSet: AugmentedError; DelegatorDNEinTopNorBottom: AugmentedError; DelegatorExists: AugmentedError; DelegatorNotLeaving: AugmentedError; DelegatorRewardsDNE: AugmentedError; ExceedMaxCollatorCandidates: AugmentedError; ExceedMaxDelegationsPerDelegator: AugmentedError; ExceedMaxTotalDelegatorsPerCandidate: AugmentedError; IncorrectRewardDelegatorCount: AugmentedError; InsufficientBalance: AugmentedError; InvalidSchedule: AugmentedError; MathError: AugmentedError; NoWritingSameValue: AugmentedError; PendingCandidateRequestAlreadyExists: AugmentedError; PendingCandidateRequestNotDueYet: AugmentedError; PendingCandidateRequestsDNE: AugmentedError; PendingDelegationRequestAlreadyExists: AugmentedError; PendingDelegationRequestDNE: AugmentedError; PendingDelegationRequestNotDueYet: AugmentedError; StakingLiquidityTokenAlreadyListed: AugmentedError; StakingLiquidityTokenNotListed: AugmentedError; TargettedAggregatorSameAsCurrent: AugmentedError; TooLowCandidateCountToLeaveCandidates: AugmentedError; TooLowCandidateCountWeightHintCancelLeaveCandidates: AugmentedError; TooLowCandidateCountWeightHintJoinCandidates: AugmentedError; TooLowCandidateDelegationCountToDelegate: AugmentedError; TooLowCurrentStakingLiquidityTokensCount: AugmentedError; TooLowDelegationCountToDelegate: AugmentedError; TooLowDelegationCountToLeaveDelegators: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; proofOfStake: { CalculateRewardsAllMathError: AugmentedError; CalculateRewardsMathError: AugmentedError; /** * Cannot schedule rewards in past **/ CannotScheduleRewardsInPast: AugmentedError; DeprecatedExtrinsic: AugmentedError; LiquidityCheckpointMathError: AugmentedError; LiquidityLockedIn3rdpartyRewards: AugmentedError; MathError: AugmentedError; /** * Math overflow **/ MathOverflow: AugmentedError; MissingRewardsInfoError: AugmentedError; /** * Not a promoted pool **/ NotAPromotedPool: AugmentedError; /** * Not enought assets **/ NotEnoughAssets: AugmentedError; /** * Not enough rewards earned **/ NotEnoughRewardsEarned: AugmentedError; NoThirdPartyPartyRewardsToClaim: AugmentedError; /** * Past time calculation **/ PastTimeCalculation: AugmentedError; /** * Pool does not exist **/ PoolDoesNotExist: AugmentedError; SoloTokenPromotionForbiddenError: AugmentedError; /** * Too little rewards per session **/ TooLittleRewards: AugmentedError; /** * Too many schedules **/ TooManySchedules: AugmentedError; /** * Too small volume of the pool **/ TooSmallVolume: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; proxy: { /** * Account is already a proxy. **/ Duplicate: AugmentedError; /** * Call may not be made by proxy because it may escalate its privileges. **/ NoPermission: AugmentedError; /** * Cannot add self as proxy. **/ NoSelfProxy: AugmentedError; /** * Proxy registration not found. **/ NotFound: AugmentedError; /** * Sender is not a proxy of the account to be proxied. **/ NotProxy: AugmentedError; /** * There are too many proxies registered or too many announcements pending. **/ TooMany: AugmentedError; /** * Announcement, if made at all, was made too recently. **/ Unannounced: AugmentedError; /** * A call which is incompatible with the proxy type's filter was attempted. **/ Unproxyable: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; rolldown: { AddressDeserializationFailure: AugmentedError; BalanceOverflow: AugmentedError; BlockedByMaintenanceMode: AugmentedError; CancelRightsExhausted: AugmentedError; EmptyUpdate: AugmentedError; InvalidUpdate: AugmentedError; L1AssetCreationFailed: AugmentedError; L1AssetNotFound: AugmentedError; MathOverflow: AugmentedError; MultipleUpdatesInSingleBlock: AugmentedError; NotEnoughAssets: AugmentedError; OnlySelectedSequencerisAllowedToUpdate: AugmentedError; OperationFailed: AugmentedError; ReadRightsExhausted: AugmentedError; RequestDoesNotExist: AugmentedError; SequencerAwaitingCancelResolution: AugmentedError; SequencerLastUpdateStillInDisputePeriod: AugmentedError; TooManyRequests: AugmentedError; UnsupportedAsset: AugmentedError; WrongRequestId: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; sequencerStaking: { CantUnstakeWhileInActiveSet: AugmentedError; MathOverflow: AugmentedError; MaxSequencersLimitReached: AugmentedError; NotEligibleToBeSequencer: AugmentedError; NotEnoughSequencerStake: AugmentedError; OperationFailed: AugmentedError; SequencerAlreadyInActiveSet: AugmentedError; SequencerIsNotInActiveSet: AugmentedError; TestUnstakingError: AugmentedError; UnknownChainId: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; session: { /** * Registered duplicate key. **/ DuplicatedKey: AugmentedError; /** * Invalid ownership proof. **/ InvalidProof: AugmentedError; /** * Key setting account is not live, so it's impossible to associate keys. **/ NoAccount: AugmentedError; /** * No associated validator ID for account. **/ NoAssociatedValidatorId: AugmentedError; /** * No keys are associated with this account. **/ NoKeys: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; sudo: { /** * Sender must be the Sudo account **/ RequireSudo: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; sudoOrigin: { /** * Generic error **/ [key: string]: AugmentedError; }; system: { /** * The origin filter prevent the call to be dispatched. **/ CallFiltered: AugmentedError; /** * Failed to extract the runtime version from the new runtime. * * Either calling `Core_version` or decoding `RuntimeVersion` failed. **/ FailedToExtractRuntimeVersion: AugmentedError; /** * The name of specification does not match between the current runtime * and the new runtime. **/ InvalidSpecName: AugmentedError; /** * Suicide called when the account has non-default composite data. **/ NonDefaultComposite: AugmentedError; /** * There is a non-zero reference count preventing the account from being purged. **/ NonZeroRefCount: AugmentedError; /** * The specification version is not allowed to decrease between the current runtime * and the new runtime. **/ SpecVersionNeedsToIncrease: AugmentedError; /** * the storage queue is empty and cannot accept any new txs **/ StorageQueueFull: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; tokens: { /** * Cannot convert Amount into Balance type **/ AmountIntoBalanceFailed: AugmentedError; /** * The balance is too low **/ BalanceTooLow: AugmentedError; /** * Beneficiary account must pre-exist **/ DeadAccount: AugmentedError; /** * Value too low to create account due to existential deposit **/ ExistentialDeposit: AugmentedError; /** * Transfer/payment would kill account **/ KeepAlive: AugmentedError; /** * Failed because liquidity restrictions due to locking **/ LiquidityRestrictions: AugmentedError; /** * Failed because the maximum locks was exceeded **/ MaxLocksExceeded: AugmentedError; /** * Failed because token with given id does not exits **/ TokenIdNotExists: AugmentedError; TooManyReserves: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; treasury: { /** * The spend origin is valid but the amount it is allowed to spend is lower than the * amount to be spent. **/ InsufficientPermission: AugmentedError; /** * Proposer's balance is too low. **/ InsufficientProposersBalance: AugmentedError; /** * No proposal or bounty at that index. **/ InvalidIndex: AugmentedError; /** * Proposal has not been approved. **/ ProposalNotApproved: AugmentedError; /** * Too many approvals in the queue. **/ TooManyApprovals: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; utility: { /** * Too many calls batched. **/ TooManyCalls: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; vesting: { /** * Amount being transferred is too low to create a vesting schedule. **/ AmountLow: AugmentedError; /** * The account already has `MaxVestingSchedules` count of schedules and thus * cannot add another one. Consider merging existing schedules in order to add another. **/ AtMaxVestingSchedules: AugmentedError; /** * Failed to create a new schedule because some parameter was invalid. **/ InvalidScheduleParams: AugmentedError; /** * The provided vesting index exceeds the current number of vesting schedules **/ InvalidVestingIndex: AugmentedError; /** * An overflow or underflow has occured **/ MathError: AugmentedError; /** * No suitable schedule found * Perhaps the user could merge vesting schedules and try again **/ NoSuitableScheduleFound: AugmentedError; /** * The account given is not vesting. **/ NotVesting: AugmentedError; /** * An index was out of bounds of the vesting schedules. **/ ScheduleIndexOutOfBounds: AugmentedError; /** * Sudo is not allowed to unlock tokens **/ SudoUnlockIsDisallowed: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; xyk: { /** * Asset already exists **/ AssetAlreadyExists: AugmentedError; /** * Asset does not exists **/ AssetDoesNotExists: AugmentedError; CalculateCumulativeWorkMaxRatioMathError: AugmentedError; CalculateRewardsAllMathError: AugmentedError; CalculateRewardsMathError: AugmentedError; /** * Pool considting of passed tokens id is blacklisted **/ DisallowedPool: AugmentedError; /** * Division by zero **/ DivisionByZero: AugmentedError; /** * Asset id is blacklisted **/ FunctionNotAvailableForThisToken: AugmentedError; /** * Insufficient input amount **/ InsufficientInputAmount: AugmentedError; /** * Insufficient output amount **/ InsufficientOutputAmount: AugmentedError; LiquidityCheckpointMathError: AugmentedError; /** * Liquidity token creation failed **/ LiquidityTokenCreationFailed: AugmentedError; /** * Math overflow **/ MathOverflow: AugmentedError; MultiBuyAssetCantHaveSamePoolAtomicSwaps: AugmentedError; MultiSwapCantHaveSameTokenConsequetively: AugmentedError; MultiswapShouldBeAtleastTwoHops: AugmentedError; NoRights: AugmentedError; /** * No such liquidity asset exists **/ NoSuchLiquidityAsset: AugmentedError; /** * No such pool exists **/ NoSuchPool: AugmentedError; /** * Not a promoted pool **/ NotAPromotedPool: AugmentedError; /** * Not enought assets **/ NotEnoughAssets: AugmentedError; /** * Not enought reserve **/ NotEnoughReserve: AugmentedError; /** * Not enough rewards earned **/ NotEnoughRewardsEarned: AugmentedError; /** * Unexpected failure **/ NotMangataLiquidityAsset: AugmentedError; /** * Past time calculation **/ PastTimeCalculation: AugmentedError; /** * Pool already Exists **/ PoolAlreadyExists: AugmentedError; /** * Pool already promoted **/ PoolAlreadyPromoted: AugmentedError; PoolIsEmpty: AugmentedError; /** * Asset ids cannot be the same **/ SameAsset: AugmentedError; /** * Second asset amount exceeded expectations **/ SecondAssetAmountExceededExpectations: AugmentedError; /** * Sold Amount too low **/ SoldAmountTooLow: AugmentedError; /** * Trading blocked by maintenance mode **/ TradingBlockedByMaintenanceMode: AugmentedError; /** * Unexpected failure **/ UnexpectedFailure: AugmentedError; /** * Zero amount is not supported **/ ZeroAmount: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; } }