import type { ApiTypes } from '@polkadot/api/types'; declare module '@polkadot/api/types/errors' { interface AugmentedErrors { assets: { /** * Invalid metadata given. **/ BadMetadata: AugmentedError; /** * Invalid witness data given. **/ BadWitness: AugmentedError; /** * Account balance must be greater than or equal to the transfer amount. **/ BalanceLow: AugmentedError; /** * Balance should be non-zero. **/ BalanceZero: AugmentedError; /** * The origin account is frozen. **/ Frozen: AugmentedError; /** * The asset ID is already taken. **/ InUse: AugmentedError; /** * Minimum balance should be non-zero. **/ MinBalanceZero: AugmentedError; /** * The signing account has no permission to do the operation. **/ NoPermission: AugmentedError; /** * No provider reference exists to allow a non-zero balance of a non-self-sufficient asset. **/ NoProvider: AugmentedError; /** * No approval exists that would allow the transfer. **/ Unapproved: AugmentedError; /** * The given asset ID is unknown. **/ Unknown: AugmentedError; /** * The source account would not survive the transfer and it needs to stay alive. **/ WouldDie: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; authorship: { /** * The uncle is genesis. **/ GenesisUncle: AugmentedError; /** * The uncle parent not in the chain. **/ InvalidUncleParent: AugmentedError; /** * The uncle isn't recent enough to be included. **/ OldUncle: AugmentedError; /** * The uncle is too high in chain. **/ TooHighUncle: AugmentedError; /** * Too many uncles. **/ TooManyUncles: AugmentedError; /** * The uncle is already included. **/ UncleAlreadyIncluded: AugmentedError; /** * Uncles already set in the block. **/ UnclesAlreadySet: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; balances: { /** * Beneficiary account must pre-exist **/ DeadAccount: AugmentedError; /** * Value too low to create account due to existential deposit **/ ExistentialDeposit: AugmentedError; /** * A vesting schedule already exists for this account **/ ExistingVestingSchedule: AugmentedError; /** * Balance too low to send value **/ InsufficientBalance: AugmentedError; /** * Transfer/payment would kill account **/ KeepAlive: AugmentedError; /** * Account liquidity restrictions prevent withdrawal **/ LiquidityRestrictions: AugmentedError; /** * Vesting balance too high to send value **/ VestingBalance: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; bounties: { /** * Proposer's balance is too low. **/ InsufficientProposersBalance: AugmentedError; /** * Invalid bounty fee. **/ InvalidFee: AugmentedError; /** * No proposal or bounty at that index. **/ InvalidIndex: AugmentedError; /** * Invalid bounty value. **/ InvalidValue: AugmentedError; /** * A bounty payout is pending. * To cancel the bounty, you must unassign and slash the curator. **/ PendingPayout: AugmentedError; /** * The bounties cannot be claimed/closed because it's still in the countdown period. **/ Premature: AugmentedError; /** * The reason given is just too big. **/ ReasonTooBig: AugmentedError; /** * Require bounty curator. **/ RequireCurator: AugmentedError; /** * The bounty status is unexpected. **/ UnexpectedStatus: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; contracts: { /** * Performing the requested transfer would have brought the contract below * the subsistence threshold. No transfer is allowed to do this in order to allow * for a tombstone to be created. Use `seal_terminate` to remove a contract without * leaving a tombstone behind. **/ BelowSubsistenceThreshold: AugmentedError; /** * No code could be found at the supplied code hash. **/ CodeNotFound: AugmentedError; /** * The code supplied to `instantiate_with_code` exceeds the limit specified in the * current schedule. **/ CodeTooLarge: AugmentedError; /** * A contract could not be evicted because it has enough balance to pay rent. * * This can be returned from [`Pallet::claim_surcharge`] because the target * contract has enough balance to pay for its rent. **/ ContractNotEvictable: AugmentedError; /** * Contract trapped during execution. **/ ContractTrapped: AugmentedError; /** * The debug message specified to `seal_debug_message` does contain invalid UTF-8. **/ DebugMessageInvalidUTF8: AugmentedError; /** * Input passed to a contract API function failed to decode as expected type. **/ DecodingFailed: AugmentedError; /** * Removal of a contract failed because the deletion queue is full. * * This can happen when either calling [`Pallet::claim_surcharge`] or `seal_terminate`. * The queue is filled by deleting contracts and emptied by a fixed amount each block. * Trying again during another block is the only way to resolve this issue. **/ DeletionQueueFull: AugmentedError; /** * A contract with the same AccountId already exists. **/ DuplicateContract: AugmentedError; /** * The topics passed to `seal_deposit_events` contains at least one duplicate. **/ DuplicateTopics: AugmentedError; /** * `seal_input` was called twice from the same contract execution context. **/ InputAlreadyRead: AugmentedError; /** * An origin TrieId written in the current block. **/ InvalidContractOrigin: AugmentedError; /** * Cannot restore to nonexisting or alive contract. **/ InvalidDestinationContract: AugmentedError; /** * A new schedule must have a greater version than the current one. **/ InvalidScheduleVersion: AugmentedError; /** * Cannot restore from nonexisting or tombstone contract. **/ InvalidSourceContract: AugmentedError; /** * An origin must be signed or inherent and auxiliary sender only provided on inherent. **/ InvalidSurchargeClaim: AugmentedError; /** * Tombstones don't match. **/ InvalidTombstone: AugmentedError; /** * Performing a call was denied because the calling depth reached the limit * of what is specified in the schedule. **/ MaxCallDepthReached: AugmentedError; /** * The newly created contract is below the subsistence threshold after executing * its contructor. No contracts are allowed to exist below that threshold. **/ NewContractNotFunded: AugmentedError; /** * The chain does not provide a chain extension. Calling the chain extension results * in this error. Note that this usually shouldn't happen as deploying such contracts * is rejected. **/ NoChainExtension: AugmentedError; /** * The contract that was called is either no contract at all (a plain account) * or is a tombstone. **/ NotCallable: AugmentedError; /** * A buffer outside of sandbox memory was passed to a contract API function. **/ OutOfBounds: AugmentedError; /** * The executed contract exhausted its gas limit. **/ OutOfGas: AugmentedError; /** * The output buffer supplied to a contract API call was too small. **/ OutputBufferTooSmall: AugmentedError; /** * The subject passed to `seal_random` exceeds the limit. **/ RandomSubjectTooLong: AugmentedError; /** * The action performed is not allowed while the contract performing it is already * on the call stack. Those actions are contract self destruction and restoration * of a tombstone. **/ ReentranceDenied: AugmentedError; /** * A storage modification exhausted the 32bit type that holds the storage size. * * This can either happen when the accumulated storage in bytes is too large or * when number of storage items is too large. **/ StorageExhausted: AugmentedError; /** * A contract self destructed in its constructor. * * This can be triggered by a call to `seal_terminate` or `seal_restore_to`. **/ TerminatedInConstructor: AugmentedError; /** * The amount of topics passed to `seal_deposit_events` exceeds the limit. **/ TooManyTopics: AugmentedError; /** * Performing the requested transfer failed for a reason originating in the * chosen currency implementation of the runtime. Most probably the balance is * too low or locks are placed on it. **/ TransferFailed: AugmentedError; /** * The size defined in `T::MaxValueSize` was exceeded. **/ ValueTooLarge: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; council: { /** * Members are already initialized! **/ AlreadyInitialized: AugmentedError; /** * Duplicate proposals not allowed **/ DuplicateProposal: AugmentedError; /** * Duplicate vote ignored **/ DuplicateVote: AugmentedError; /** * Account is not a member **/ NotMember: AugmentedError; /** * Proposal must exist **/ ProposalMissing: AugmentedError; /** * The close call was made too early, before the end of the voting. **/ TooEarly: 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; }; currencies: { /** * Unable to convert the Amount type into Balance. **/ AmountIntoBalanceFailed: AugmentedError; /** * Balance is too low. **/ BalanceTooLow: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; democracy: { /** * Cannot cancel the same proposal twice **/ AlreadyCanceled: AugmentedError; /** * The account is already delegating. **/ AlreadyDelegating: AugmentedError; /** * Identity may not veto a proposal twice **/ AlreadyVetoed: AugmentedError; /** * Unknown index **/ BadIndex: AugmentedError; /** * Preimage already noted **/ DuplicatePreimage: AugmentedError; /** * Proposal already made **/ DuplicateProposal: AugmentedError; /** * Imminent **/ Imminent: AugmentedError; /** * The instant referendum origin is currently disallowed. **/ InstantNotAllowed: AugmentedError; /** * Too high a balance was provided that the account cannot afford. **/ InsufficientFunds: AugmentedError; /** * Invalid hash **/ InvalidHash: AugmentedError; /** * The provided witness data is wrong. **/ InvalidWitness: AugmentedError; /** * Maximum number of votes reached. **/ MaxVotesReached: AugmentedError; /** * No proposals waiting **/ NoneWaiting: AugmentedError; /** * Delegation to oneself makes no sense. **/ Nonsense: AugmentedError; /** * The actor has no permission to conduct the action. **/ NoPermission: AugmentedError; /** * No external proposal **/ NoProposal: AugmentedError; /** * Not delegated **/ NotDelegated: AugmentedError; /** * The account is not currently delegating. **/ NotDelegating: AugmentedError; /** * The lock on the account to be unlocked has not yet expired. **/ NotExpired: AugmentedError; /** * Not imminent **/ NotImminent: AugmentedError; /** * The target account does not have a lock. **/ NotLocked: AugmentedError; /** * Next external proposal not simple majority **/ NotSimpleMajority: AugmentedError; /** * The given account did not vote on the referendum. **/ NotVoter: AugmentedError; /** * Invalid preimage **/ PreimageInvalid: AugmentedError; /** * Preimage not found **/ PreimageMissing: AugmentedError; /** * Proposal still blacklisted **/ ProposalBlacklisted: AugmentedError; /** * Proposal does not exist **/ ProposalMissing: AugmentedError; /** * Vote given for invalid referendum **/ ReferendumInvalid: AugmentedError; /** * Too early **/ TooEarly: AugmentedError; /** * Maximum number of proposals reached. **/ TooManyProposals: AugmentedError; /** * Value too low **/ ValueLow: AugmentedError; /** * The account currently has votes attached to it and the operation cannot succeed until * these are removed, either through `unvote` or `reap_vote`. **/ VotesExist: AugmentedError; /** * Invalid upper bound. **/ WrongUpperBound: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; electionProviderMultiPhase: { /** * OCW submitted solution for wrong round **/ OcwCallWrongEra: AugmentedError; /** * Submission was too early. **/ PreDispatchEarlySubmission: AugmentedError; /** * Submission was too weak, score-wise. **/ PreDispatchWeakSubmission: AugmentedError; /** * Wrong number of winners presented. **/ PreDispatchWrongWinnerCount: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; evm: { /** * Not enough balance to perform action **/ BalanceLow: AugmentedError; /** * Calculating total fee overflowed **/ FeeOverflow: AugmentedError; /** * Gas price is too low. **/ GasPriceTooLow: AugmentedError; /** * Nonce is invalid **/ InvalidNonce: AugmentedError; /** * Calculating total payment overflowed **/ PaymentOverflow: AugmentedError; /** * Withdraw fee failed **/ WithdrawFailed: 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; /** * Judgement given. **/ JudgementGiven: 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; }; imOnline: { /** * Duplicated heartbeat. **/ DuplicatedHeartbeat: AugmentedError; /** * Non existent public key. **/ InvalidKey: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; indices: { /** * The index was not available. **/ InUse: AugmentedError; /** * The index was not already assigned. **/ NotAssigned: AugmentedError; /** * The index is assigned to another account. **/ NotOwner: AugmentedError; /** * The source and destination accounts are identical. **/ NotTransfer: AugmentedError; /** * The index is permanent and may not be freed/changed. **/ Permanent: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; merkle: { /** * Nullifier is already used **/ AlreadyUsedNullifier: AugmentedError; /** * Tree is full **/ ExceedsMaxLeaves: AugmentedError; /** * Invalid membership proof **/ InvalidMembershipProof: AugmentedError; /** * Invalid merkle root hash **/ InvalidMerkleRoot: AugmentedError; /** * Invalid merkle path length **/ InvalidPathLength: AugmentedError; /** * Invalid commitments specified for the zk proof **/ InvalidPrivateInputs: AugmentedError; /** * Invalid depth of the tree specified **/ InvalidTreeDepth: AugmentedError; /** * Invalid zero-knowladge data **/ InvalidZkProof: AugmentedError; /** * Manager not found for specific tree **/ ManagerDoesntExist: AugmentedError; /** * Manager is required for specific action **/ ManagerIsRequired: AugmentedError; /** * Value was None **/ NoneValue: AugmentedError; /** * Tree doesnt exist **/ TreeDoesntExist: AugmentedError; /** * Failed to verify zero-knowladge proof **/ ZkVericationFailed: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; mixer: { /** * Mixer is already initialized **/ AlreadyInitialised: AugmentedError; /** * User doesn't have enough balance for the deposit **/ InsufficientBalance: AugmentedError; /** * Mixer is stopped **/ MixerStopped: AugmentedError; /** * Mixer not found for specified id **/ NoMixerForId: AugmentedError; /** * Value was None **/ NoneValue: AugmentedError; /** * Mixer is not initialized **/ NotInitialised: AugmentedError; /** * Caller doesn't have permission to make a call **/ UnauthorizedCall: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; multisig: { /** * Call is already approved by this signatory. **/ AlreadyApproved: AugmentedError; /** * The data to be stored is already stored. **/ AlreadyStored: AugmentedError; /** * The maximum weight information provided was too low. **/ MaxWeightTooLow: AugmentedError; /** * Threshold must be 2 or greater. **/ MinimumThreshold: AugmentedError; /** * Call doesn't need any (more) approvals. **/ NoApprovalsNeeded: AugmentedError; /** * Multisig operation not found when attempting to cancel. **/ NotFound: AugmentedError; /** * No timepoint was given, yet the multisig operation is already underway. **/ NoTimepoint: AugmentedError; /** * Only the account that originally created the multisig is able to cancel it. **/ NotOwner: AugmentedError; /** * The sender was contained in the other signatories; it shouldn't be. **/ SenderInSignatories: AugmentedError; /** * The signatories were provided out of order; they should be ordered. **/ SignatoriesOutOfOrder: AugmentedError; /** * There are too few signatories in the list. **/ TooFewSignatories: AugmentedError; /** * There are too many signatories in the list. **/ TooManySignatories: AugmentedError; /** * A timepoint was given, yet no multisig operation is underway. **/ UnexpectedTimepoint: AugmentedError; /** * A different timepoint was given to the multisig operation that is underway. **/ WrongTimepoint: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; nft: { /** * Can not destroy class * Total issuance is not 0 **/ CannotDestroyClass: AugmentedError; /** * ClassId not found **/ ClassIdNotFound: AugmentedError; /** * Quantity is invalid. need >= 1 **/ InvalidQuantity: AugmentedError; /** * Property of class don't support burn **/ NonBurnable: AugmentedError; /** * Property of class don't support transfer **/ NonTransferable: AugmentedError; /** * The operator is not the owner of the token and has no permission **/ NoPermission: AugmentedError; /** * TokenId not found **/ TokenIdNotFound: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; nonFungibleTokenModule: { /** * Can not destroy class * Total issuance is not 0 **/ CannotDestroyClass: AugmentedError; /** * Class not found **/ ClassNotFound: AugmentedError; /** * No available class ID **/ NoAvailableClassId: AugmentedError; /** * No available token ID **/ NoAvailableTokenId: AugmentedError; /** * The operator is not the owner of the token and has no permission **/ NoPermission: AugmentedError; /** * Arithmetic calculation overflow **/ NumOverflow: AugmentedError; /** * Token(ClassId, TokenId) not found **/ TokenNotFound: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; phragmenElection: { /** * Duplicated candidate submission. **/ DuplicatedCandidate: AugmentedError; /** * Candidate does not have enough funds. **/ InsufficientCandidateFunds: AugmentedError; /** * The renouncing origin presented a wrong `Renouncing` parameter. **/ InvalidRenouncing: AugmentedError; /** * Prediction regarding replacement after member removal is wrong. **/ InvalidReplacement: AugmentedError; /** * The provided count of number of votes is incorrect. **/ InvalidVoteCount: AugmentedError; /** * The provided count of number of candidates is incorrect. **/ InvalidWitnessData: AugmentedError; /** * Cannot vote with stake less than minimum balance. **/ LowBalance: AugmentedError; /** * Cannot vote more than maximum allowed. **/ MaximumVotesExceeded: AugmentedError; /** * Member cannot re-submit candidacy. **/ MemberSubmit: AugmentedError; /** * Must be a voter. **/ MustBeVoter: AugmentedError; /** * Not a member. **/ NotMember: AugmentedError; /** * Must vote for at least one candidate. **/ NoVotes: AugmentedError; /** * Cannot report self. **/ ReportSelf: AugmentedError; /** * Runner cannot re-submit candidacy. **/ RunnerUpSubmit: AugmentedError; /** * Cannot vote more than candidates. **/ TooManyVotes: AugmentedError; /** * Voter can not pay voting bond. **/ UnableToPayBond: AugmentedError; /** * Cannot vote when no candidates or members exist. **/ UnableToVote: 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; }; recovery: { /** * This account is already set up for recovery **/ AlreadyProxy: AugmentedError; /** * This account is already set up for recovery **/ AlreadyRecoverable: AugmentedError; /** * A recovery process has already started for this account **/ AlreadyStarted: AugmentedError; /** * This user has already vouched for this recovery **/ AlreadyVouched: AugmentedError; /** * Some internal state is broken. **/ BadState: AugmentedError; /** * The friend must wait until the delay period to vouch for this recovery **/ DelayPeriod: AugmentedError; /** * Friends list must be less than max friends **/ MaxFriends: AugmentedError; /** * User is not allowed to make a call on behalf of this account **/ NotAllowed: AugmentedError; /** * Friends list must be greater than zero and threshold **/ NotEnoughFriends: AugmentedError; /** * This account is not a friend who can vouch **/ NotFriend: AugmentedError; /** * This account is not set up for recovery **/ NotRecoverable: AugmentedError; /** * Friends list must be sorted and free of duplicates **/ NotSorted: AugmentedError; /** * A recovery process has not started for this rescuer **/ NotStarted: AugmentedError; /** * There are still active recovery attempts that need to be closed **/ StillActive: AugmentedError; /** * The threshold for recovering this account has not been met **/ Threshold: AugmentedError; /** * Threshold must be greater than zero **/ ZeroThreshold: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; scheduler: { /** * Failed to schedule a call **/ FailedToSchedule: AugmentedError; /** * Cannot find the scheduled call. **/ NotFound: AugmentedError; /** * Reschedule failed because it does not change scheduled time. **/ RescheduleNoChange: AugmentedError; /** * Given target block number is in the past. **/ TargetBlockNumberInPast: 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; }; staking: { /** * Stash is already bonded. **/ AlreadyBonded: AugmentedError; /** * Rewards for this era have already been claimed for this validator. **/ AlreadyClaimed: AugmentedError; /** * Controller is already paired. **/ AlreadyPaired: AugmentedError; /** * Internal state has become somehow corrupted and the operation cannot continue. **/ BadState: AugmentedError; /** * A nomination target was supplied that was blocked or otherwise not a validator. **/ BadTarget: AugmentedError; /** * Duplicate index. **/ DuplicateIndex: AugmentedError; /** * Targets cannot be empty. **/ EmptyTargets: AugmentedError; /** * Attempting to target a stash that still has funds. **/ FundedTarget: AugmentedError; /** * Incorrect previous history depth input provided. **/ IncorrectHistoryDepth: AugmentedError; /** * Incorrect number of slashing spans provided. **/ IncorrectSlashingSpans: AugmentedError; /** * Can not bond with value less than minimum balance. **/ InsufficientValue: AugmentedError; /** * Invalid era to reward. **/ InvalidEraToReward: AugmentedError; /** * Invalid number of nominations. **/ InvalidNumberOfNominations: AugmentedError; /** * Slash record index out of bounds. **/ InvalidSlashIndex: AugmentedError; /** * Can not schedule more unlock chunks. **/ NoMoreChunks: AugmentedError; /** * Not a controller account. **/ NotController: AugmentedError; /** * Items are not sorted and unique. **/ NotSortedAndUnique: AugmentedError; /** * Not a stash account. **/ NotStash: AugmentedError; /** * Can not rebond without unlocking chunks. **/ NoUnlockChunk: AugmentedError; /** * Too many nomination targets supplied. **/ TooManyTargets: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; sudo: { /** * Sender must be the Sudo account **/ RequireSudo: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; system: { /** * 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; /** * Generic error **/ [key: string]: AugmentedError; }; tips: { /** * The tip was already found/started. **/ AlreadyKnown: AugmentedError; /** * The account attempting to retract the tip is not the finder of the tip. **/ NotFinder: AugmentedError; /** * The tip cannot be claimed/closed because it's still in the countdown period. **/ Premature: AugmentedError; /** * The reason given is just too big. **/ ReasonTooBig: AugmentedError; /** * The tip cannot be claimed/closed because there are not enough tippers yet. **/ StillOpen: AugmentedError; /** * The tip hash is unknown. **/ UnknownTip: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; tokens: { /** * Cannot convert Amount into Balance type **/ AmountIntoBalanceFailed: AugmentedError; /** * Invalid metadata given. **/ BadMetadata: AugmentedError; /** * Invalid witness data given. **/ BadWitness: AugmentedError; /** * Account balance must be greater than or equal to the transfer * amount. **/ BalanceLow: AugmentedError; /** * This operation will cause balance to overflow **/ BalanceOverflow: AugmentedError; /** * Balance should be non-zero. **/ BalanceZero: AugmentedError; /** * Amount to be transferred is below minimum existential deposit **/ BelowMinimum: AugmentedError; /** * The origin account is frozen. **/ Frozen: AugmentedError; /** * The currency ID is already taken. **/ InUse: AugmentedError; /** * Invalid amount, **/ InvalidAmount: AugmentedError; /** * Failed because liquidity restrictions due to locking **/ LiquidityRestrictions: AugmentedError; /** * Minimum balance should be non-zero. **/ MinBalanceZero: AugmentedError; /** * The signing account has no permission to do the operation. **/ NoPermission: AugmentedError; /** * No provider reference exists to allow a non-zero balance of a * non-self-sufficient currency. **/ NoProvider: AugmentedError; /** * A mint operation lead to an overflow. **/ Overflow: AugmentedError; /** * Account still has active reserved **/ StillHasActiveReserved: AugmentedError; /** * The token doesn't exist **/ TokenDoesntExist: AugmentedError; /** * The token is frozen **/ TokenIsFrozen: AugmentedError; /** * This operation will cause total issuance to overflow **/ TotalIssuanceOverflow: AugmentedError; /** * No approval exists that would allow the transfer. **/ Unapproved: AugmentedError; /** * The given currency ID is unknown. **/ Unknown: AugmentedError; /** * The source account would not survive the transfer and it needs to * stay alive. **/ WouldDie: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; treasury: { /** * Proposer's balance is too low. **/ InsufficientProposersBalance: AugmentedError; /** * No proposal or bounty at that index. **/ InvalidIndex: AugmentedError; /** * Too many approvals in the queue. **/ TooManyApprovals: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; vesting: { /** * Amount being transferred is too low to create a vesting schedule. **/ AmountLow: AugmentedError; /** * An existing vesting schedule already exists for this account that cannot be clobbered. **/ ExistingVestingSchedule: AugmentedError; /** * The account given is not vesting. **/ NotVesting: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; } interface DecoratedErrors extends AugmentedErrors { [key: string]: ModuleErrors; } }