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 { asset: { /** * The token is already frozen. **/ AlreadyFrozen: AugmentedError; /** * The token has already been created. **/ AssetAlreadyCreated: AugmentedError; /** * The token is already divisible. **/ AssetAlreadyDivisible: AugmentedError; /** * An unexpected error when generating a new asset ID. **/ AssetIdGenerationError: AugmentedError; /** * The given asset is already linked to a ticker. **/ AssetIsAlreadyLinkedToATicker: AugmentedError; /** * Asset Metadata Global type already exists. **/ AssetMetadataGlobalKeyAlreadyExists: AugmentedError; /** * Attempt to delete a key that is needed for an NFT collection. **/ AssetMetadataKeyBelongsToNFTCollection: AugmentedError; /** * Asset Metadata key is missing. **/ AssetMetadataKeyIsMissing: AugmentedError; /** * Asset Metadata Local type already exists for asset. **/ AssetMetadataLocalKeyAlreadyExists: AugmentedError; /** * Maximum length of the asset metadata type name has been exceeded. **/ AssetMetadataNameMaxLengthExceeded: AugmentedError; /** * Maximum length of the asset metadata type definition has been exceeded. **/ AssetMetadataTypeDefMaxLengthExceeded: AugmentedError; /** * Attempt to lock a metadata value that is empty. **/ AssetMetadataValueIsEmpty: AugmentedError; /** * Asset Metadata value is locked. **/ AssetMetadataValueIsLocked: AugmentedError; /** * Maximum length of the asset metadata value has been exceeded. **/ AssetMetadataValueMaxLengthExceeded: AugmentedError; /** * The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is. **/ BadAuthorizationType: AugmentedError; /** * An overflow while calculating the balance. **/ BalanceOverflow: AugmentedError; /** * Failed to freeze a partial amount of tokens that exceeds the holder's balance. **/ FreezePartialTokenMustNotExceedHoldersBalance: AugmentedError; /** * Maximum length of the funding round name has been exceeded. **/ FundingRoundNameMaxLengthExceeded: AugmentedError; /** * Attempt to update the type of a non fungible token to a fungible token or the other way around. **/ IncompatibleAssetTypeUpdate: AugmentedError; /** * The spender's allowance for this asset is insufficient for the requested transfer amount. **/ InsufficientAllowance: AugmentedError; /** * The sender balance is not sufficient. **/ InsufficientBalance: AugmentedError; /** * Attempt to unfreeze more tokens than are currently frozen for the asset holder. **/ InsufficientFrozenBalance: AugmentedError; /** * Insufficient tokens are locked. **/ InsufficientTokensLocked: AugmentedError; /** * Some `AssetIdentifier` was invalid. **/ InvalidAssetIdentifier: AugmentedError; /** * Invalid `CustomAssetTypeId`. **/ InvalidCustomAssetTypeId: AugmentedError; /** * An invalid Ethereum `EcdsaSignature`. **/ InvalidEthereumSignature: AugmentedError; /** * An invalid granularity. **/ InvalidGranularity: AugmentedError; /** * Invalid ticker character - valid set: A`..`Z` `0`..`9` `_` `-` `.` `/`. **/ InvalidTickerCharacter: AugmentedError; /** * Transfer validation check failed. **/ InvalidTransfer: AugmentedError; /** * Failed to transfer an NFT - compliance failed. **/ InvalidTransferComplianceFailure: AugmentedError; /** * Failed to transfer the asset - asset is frozen. **/ InvalidTransferFrozenAsset: AugmentedError; /** * Failed to transfer the asset - receiver DID is not active. **/ InvalidTransferInvalidReceiverDID: AugmentedError; /** * The sender is frozen and cannot transfer assets. **/ InvalidTransferSenderIsFrozen: AugmentedError; /** * Investor Uniqueness claims are not allowed for this asset. **/ InvestorUniquenessClaimNotAllowed: AugmentedError; /** * No key was found for the Identity **/ KeyNotFoundForDid: AugmentedError; /** * Maximum length of asset name has been exceeded. **/ MaxLengthOfAssetNameExceeded: AugmentedError; /** * No token associated to the given asset ID. **/ NoSuchAsset: AugmentedError; /** * The given Document does not exist. **/ NoSuchDoc: AugmentedError; /** * Not an owner of the token on Ethereum. **/ NotAnOwner: AugmentedError; /** * The asset must be frozen. **/ NotFrozen: AugmentedError; /** * Number of asset mediators would exceed the maximum allowed. **/ NumberOfAssetMediatorsExceeded: AugmentedError; /** * The destination requires receiver affirmation before assets can be moved into it. **/ ReceiverAffirmationRequired: AugmentedError; /** * Transfering ownership to the same owner is not allowed. **/ SelfOwnershipTransferNotAllowed: AugmentedError; /** * Transfers to self are not allowed **/ SenderSameAsReceiver: AugmentedError; /** * The ticker is already registered to someone else. **/ TickerAlreadyRegistered: AugmentedError; /** * Tickers should start with at least one valid byte. **/ TickerFirstByteNotValid: AugmentedError; /** * The given ticker is already linked to an asset. **/ TickerIsAlreadyLinkedToAnAsset: AugmentedError; /** * The given ticker is not linked to the given asset. **/ TickerIsNotLinkedToTheAsset: AugmentedError; /** * The ticker has non-alphanumeric parts. **/ TickerNotAlphanumeric: AugmentedError; /** * The ticker doesn't belong to the caller. **/ TickerNotRegisteredToCaller: AugmentedError; /** * Registration of ticker has expired. **/ TickerRegistrationExpired: AugmentedError; /** * The ticker registration associated to the ticker was not found. **/ TickerRegistrationNotFound: AugmentedError; /** * The ticker length is over the limit. **/ TickerTooLong: AugmentedError; /** * The total supply is above the limit. **/ TotalSupplyAboveLimit: AugmentedError; /** * An overflow while calculating the total supply. **/ TotalSupplyOverflow: AugmentedError; /** * The user is not authorized. **/ Unauthorized: AugmentedError; /** * The key does not have permission to access the account. **/ UnauthorizedHolderKey: AugmentedError; /** * Attempt to call an extrinsic that is only permitted for fungible tokens. **/ UnexpectedNonFungibleToken: AugmentedError; /** * The weight Limit for the extrinsic has been exceeded. **/ WeightLimitExceeded: AugmentedError; }; babe: { /** * A given equivocation report is valid but already previously reported. **/ DuplicateOffenceReport: AugmentedError; /** * Submitted configuration is invalid. **/ InvalidConfiguration: 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; }; balances: { /** * Beneficiary account must pre-exist. **/ DeadAccount: AugmentedError; /** * The delta cannot be zero. **/ DeltaZero: AugmentedError; /** * Value too low to create account due to existential deposit. **/ ExistentialDeposit: AugmentedError; /** * A vesting schedule already exists for this account. **/ ExistingVestingSchedule: AugmentedError; /** * Transfer/payment would kill account. **/ Expendability: AugmentedError; /** * Balance too low to send value. **/ InsufficientBalance: AugmentedError; /** * The issuance cannot be modified since it is already deactivated. **/ IssuanceDeactivated: AugmentedError; /** * Account liquidity restrictions prevent withdrawal. **/ LiquidityRestrictions: AugmentedError; /** * Lock Identifier not Found **/ LockIdentifierNotFound: AugmentedError; /** * Max Locks Exceeded **/ MaxLocksExceeded: AugmentedError; /** * Balance Overflow **/ Overflow: AugmentedError; /** * Number of freezes exceed `MaxFreezes`. **/ TooManyFreezes: AugmentedError; /** * Number of holds exceed `VariantCountOf`. **/ TooManyHolds: AugmentedError; /** * Number of named reserves exceed `MaxReserves`. **/ TooManyReserves: AugmentedError; /** * Vesting balance too high to send value. **/ VestingBalance: AugmentedError; }; base: { /** * The sequence counter for something overflowed. * * When this happens depends on e.g., the capacity of the identifier type. * For example, we might have `pub struct PipId(u32);`, with `u32::MAX` capacity. * In practice, these errors will never happen but no code path should result in a panic, * so these corner cases need to be covered with an error variant. **/ CounterOverflow: AugmentedError; /** * Invalid account ID. **/ InvalidAccountId: AugmentedError; /** * Exceeded a generic length limit. * The limit could be for any sort of lists of things, including a string. **/ TooLong: AugmentedError; }; beefy: { /** * A given equivocation report is valid but already previously reported. **/ DuplicateOffenceReport: AugmentedError; /** * Submitted configuration is invalid. **/ InvalidConfiguration: AugmentedError; /** * A double voting proof provided as part of an equivocation report is invalid. **/ InvalidDoubleVotingProof: AugmentedError; /** * The session of the equivocation proof is invalid **/ InvalidEquivocationProofSession: AugmentedError; /** * The session of the equivocation proof is not in the mapping (anymore) **/ InvalidEquivocationProofSessionMember: AugmentedError; /** * A fork voting proof provided as part of an equivocation report is invalid. **/ InvalidForkVotingProof: AugmentedError; /** * A future block voting proof provided as part of an equivocation report is invalid. **/ InvalidFutureBlockVotingProof: AugmentedError; /** * A key ownership proof provided as part of an equivocation report is invalid. **/ InvalidKeyOwnershipProof: AugmentedError; }; capitalDistribution: { /** * A distribution already exists for this CA. **/ AlreadyExists: AugmentedError; /** * DID who created the distribution already did reclaim. **/ AlreadyReclaimed: AugmentedError; /** * Multiplication of the balance with the per share payout amount overflowed. **/ BalancePerShareProductOverflowed: AugmentedError; /** * Distribution's expiry has passed. DID cannot claim anymore and has forfeited the benefits. **/ CannotClaimAfterExpiry: AugmentedError; /** * Distribution allotment cannot be claimed as the current time is before start-of-payment. **/ CannotClaimBeforeStart: AugmentedError; /** * A capital distribution was made for a non-benefit CA. **/ CANotBenefit: AugmentedError; /** * Distribution `amount` cannot be zero. **/ DistributionAmountIsZero: AugmentedError; /** * Distribution `per_share` cannot be zero. **/ DistributionPerShareIsZero: AugmentedError; /** * A distribution has been activated, as `payment_at <= now` holds. **/ DistributionStarted: AugmentedError; /** * A distributions provided expiry date was strictly before its payment date. * In other words, everything to distribute would immediately be forfeited. **/ ExpiryBeforePayment: AugmentedError; /** * The token holder has already been paid their benefit. **/ HolderAlreadyPaid: AugmentedError; /** * A distribution has insufficient remaining amount of currency to distribute. **/ InsufficientRemainingAmount: AugmentedError; /** * A capital distribution doesn't exist for this CA. **/ NoSuchDistribution: AugmentedError; /** * DID is not the one who created the distribution. **/ NotDistributionCreator: AugmentedError; /** * Distribution had not expired yet, or there's no expiry date. **/ NotExpired: AugmentedError; }; checkpoint: { /** * A checkpoint schedule does not exist for the asset. **/ NoSuchSchedule: AugmentedError; /** * The schedule has no more checkpoints. **/ ScheduleFinished: AugmentedError; /** * The schedule has expired checkpoints. **/ ScheduleHasExpiredCheckpoints: AugmentedError; /** * Can't create an empty schedule. **/ ScheduleIsEmpty: AugmentedError; /** * A checkpoint schedule is not removable as `ref_count(schedule_id) > 0`. **/ ScheduleNotRemovable: AugmentedError; /** * The new schedule would put the asset over the maximum complexity allowed. **/ SchedulesOverMaxComplexity: AugmentedError; }; committeeMembership: { /** * The limit for the number of concurrent active members for this group has been exceeded. **/ ActiveMembersLimitExceeded: AugmentedError; /** * Active member limit was greater than maximum committee members limit. **/ ActiveMembersLimitOverflow: AugmentedError; /** * Group member was added already. **/ DuplicateMember: AugmentedError; /** * Last member of the committee can not quit. **/ LastMemberCannotQuit: AugmentedError; /** * Can't remove a member that doesn't exist. **/ NoSuchMember: AugmentedError; /** * Only primary key of the identity is allowed. **/ OnlyPrimaryKeyAllowed: AugmentedError; }; complianceManager: { /** * The worst case scenario of the compliance requirement is too complex. **/ ComplianceRequirementTooComplex: AugmentedError; /** * Did not exist. **/ DidNotExist: AugmentedError; /** * There are duplicate compliance requirements. **/ DuplicateComplianceRequirements: AugmentedError; /** * `IsAnyOf` and `IsNoneOf` conditions must have at least one claim. **/ EmptyClaimsInCondition: AugmentedError; /** * Issuer exist but trying to add it again. **/ IncorrectOperationOnTrustedIssuer: AugmentedError; /** * Compliance requirement id doesn't exist. **/ InvalidComplianceRequirementId: AugmentedError; /** * The number of claim types of a trusted issuer exceeds `MaxTrustedIssuerClaimTypes`. **/ TooManyTrustedIssuerClaimTypes: AugmentedError; /** * The number of trusted issuers exceeds `MaximumNumberOfTrustedIssuers`. **/ TooManyTrustedIssuers: AugmentedError; /** * User is not authorized. **/ Unauthorized: AugmentedError; /** * The maximum weight limit for executing the function was exceeded. **/ WeightLimitExceeded: AugmentedError; }; confidentialAssets: { /** * Confidential account already exists. **/ AccountAlreadyCreated: AugmentedError; /** * Confidential account has already registered that asset. **/ AccountAssetAlreadyRegistered: AugmentedError; /** * Confidential account hasn't been registered yet. **/ AccountMissing: AugmentedError; /** * Already affirmed. **/ AlreadyAffirmed: AugmentedError; /** * Already finalized. **/ AlreadyFinalized: AugmentedError; /** * Already rejected. **/ AlreadyRejected: AugmentedError; /** * Amount overflow. **/ AmountOverflow: AugmentedError; /** * Only Root may change a Root freeze. **/ AssetFrozenByRoot: AugmentedError; /** * No more confidential asset IDs are available. **/ AssetIdOverflow: AugmentedError; /** * A frozen asset cannot be used in a new settlement. **/ AssetIsFrozen: AugmentedError; /** * Confidential asset hasn't been registered yet. **/ AssetMissing: AugmentedError; /** * Asset state is invalid. **/ AssetStateInvalid: AugmentedError; /** * Batched settlement has invalid leg references. **/ BatchedSettlementInvalidLegRefs: AugmentedError; /** * CurveTree error. **/ CurveTreeError: AugmentedError; /** * CurveTree parameters not set. **/ CurveTreeParametersNotSet: AugmentedError; /** * CurveTree root not found. **/ CurveTreeRootNotFound: AugmentedError; /** * Batch of proofs can't be empty. **/ EmptyBatchedProofs: AugmentedError; /** * Encryption key already registered. **/ EncryptionKeyAlreadyRegistered: AugmentedError; /** * Encryption key does not match the registered key for the account. **/ EncryptionKeyMismatch: AugmentedError; /** * Encryption key for the Confidential account is missing. **/ EncryptionKeyMissing: AugmentedError; /** * The shared encryption key hasn't been distributed to the mediator's encryption key. **/ EncryptionKeyNotShared: AugmentedError; /** * Confidential fee account already registered. **/ FeeAccountAlreadyRegistered: AugmentedError; /** * Confidential fee account hasn't been registered yet. **/ FeeAccountMissing: AugmentedError; /** * Invalid affirmation status transition. **/ InvalidAffirmationStatusTransition: AugmentedError; /** * Invalid asset name. **/ InvalidAssetName: AugmentedError; /** * Invalid fee asset id. **/ InvalidFeeAssetId: AugmentedError; /** * Invalid Fee Payment proof. **/ InvalidFeePaymentProof: AugmentedError; /** * Invalid proof provided. **/ InvalidProof: AugmentedError; /** * Leaf not found in the curve tree. **/ LeafNotFound: AugmentedError; /** * Leg not found in the settlement. **/ LegNotFound: AugmentedError; /** * The asset total supply cannot exceed the maximum total supply. **/ MaxTotalSupplyExceeded: AugmentedError; /** * Missing leg mediators. **/ MissingLegMediators: AugmentedError; /** * DID does not hold the required claim from a trusted issuer (or it expired). **/ MissingRequiredClaim: AugmentedError; /** * Name too long for the asset. **/ NameTooLong: AugmentedError; /** * Confidential assets require at least one mediator or auditor. **/ NoAuditorsOrMediators: AugmentedError; /** * No current worker session. **/ NoCurrentWorkerSession: AugmentedError; /** * Key distribution requires at least one recipient. **/ NoKeyRecipients: AugmentedError; /** * No pending affirmations for this settlement. **/ NoPendingAffirmations: AugmentedError; /** * The caller is not the owner of the Confidential account. **/ NotAccountOwner: AugmentedError; /** * The caller is not the owner of the Confidential asset. **/ NotAssetOwner: AugmentedError; /** * Not the last pending affirmation for the settlement. **/ NotLastPendingAffirmation: AugmentedError; /** * The nullifier for the account state commitment has already been used. **/ NullifierAlreadyUsed: AugmentedError; /** * Relayer proof submission is only permitted as the top-level call. **/ RelayerCallMustBeTopLevel: AugmentedError; /** * Settlement has executed, cannot be reverted. **/ SettlementAlreadyExecuted: AugmentedError; /** * Settlement already exists. **/ SettlementAlreadyExists: AugmentedError; /** * The leg count provided with a batched proof doesn't match the settlement. **/ SettlementLegCountMismatch: AugmentedError; /** * Settlement is missing legs. **/ SettlementMissingLegs: AugmentedError; /** * Settlement not executed. **/ SettlementNotExecuted: AugmentedError; /** * Settlement not found. **/ SettlementNotFound: AugmentedError; /** * Settlement not pending. **/ SettlementNotPending: AugmentedError; /** * Settlement has too many legs. **/ SettlementTooManyLegs: AugmentedError; /** * Symbol too long for the asset. **/ SymbolTooLong: AugmentedError; /** * Too many decimals for the asset. **/ TooManyDecimals: AugmentedError; /** * Too many mediators for this leg. **/ TooManyMediators: AugmentedError; /** * A registration or proof batch exceeds its runtime-configured limit. **/ TooManyProofs: AugmentedError; /** * Too many recipients for the shared encryption key. **/ TooManySharedKeyRecipients: AugmentedError; /** * Wrong mediator id for this leg. **/ WrongMediatorId: AugmentedError; }; corporateAction: { /** * A CA's declaration date was strictly after its record date. **/ DeclDateAfterRecordDate: AugmentedError; /** * A CA's declaration date occurs in the future. **/ DeclDateInFuture: AugmentedError; /** * The `details` of a CA exceeded the max allowed length. **/ DetailsTooLong: AugmentedError; /** * A withholding tax override for a given DID was specified more than once. * The chain refused to make a choice, and hence there was an error. **/ DuplicateDidTax: AugmentedError; /** * The CA did not have a record date. **/ NoRecordDate: AugmentedError; /** * A CA with the given `CAId` did not exist. **/ NoSuchCA: AugmentedError; /** * On CA creation, a checkpoint ID was provided which doesn't exist. **/ NoSuchCheckpointId: AugmentedError; /** * CA does not target the DID. **/ NotTargetedByCA: AugmentedError; /** * A CA's record date was strictly after the "start" time, * where "start" is context dependent. * For example, it could be the start of a ballot, or the start-of-payment in capital distribution. **/ RecordDateAfterStart: AugmentedError; /** * Too many withholding tax overrides were specified. **/ TooManyDidTaxes: AugmentedError; /** * Too many identities in `TargetIdentities` were specified. **/ TooManyTargetIds: AugmentedError; }; corporateBallot: { /** * A corporate ballot already exists for this CA. **/ AlreadyExists: AugmentedError; /** * A corporate ballot was made for a non `IssuerNotice` CA. **/ CANotNotice: AugmentedError; /** * Voting power used by a DID on a motion exceeds that which is available to them. **/ InsufficientVotes: AugmentedError; /** * A corporate ballot doesn't exist for this CA. **/ NoSuchBallot: AugmentedError; /** * The RCV fallback of some choice does not exist. **/ NoSuchRCVFallback: AugmentedError; /** * A corporate ballot's end time was strictly before the current time. **/ NowAfterEnd: AugmentedError; /** * If some motion in a corporate ballot has more choices than would fit in `u16`. **/ NumberOfChoicesOverflow: AugmentedError; /** * RCV is not allowed for this ballot. **/ RCVNotAllowed: AugmentedError; /** * The RCV fallback points to the origin choice. **/ RCVSelfCycle: AugmentedError; /** * A corporate ballot's start time was strictly after the ballot's end. **/ StartAfterEnd: AugmentedError; /** * Voting ended already. **/ VotingAlreadyEnded: AugmentedError; /** * Voting started already. Amending a ballot is no longer possible. **/ VotingAlreadyStarted: AugmentedError; /** * Voting hasn't started yet. **/ VotingNotStarted: AugmentedError; /** * Provided list of balances does not match the total number of choices. **/ WrongVoteCount: AugmentedError; }; didRegistrars: { /** * The limit for the number of concurrent active members for this group has been exceeded. **/ ActiveMembersLimitExceeded: AugmentedError; /** * Active member limit was greater than maximum committee members limit. **/ ActiveMembersLimitOverflow: AugmentedError; /** * Group member was added already. **/ DuplicateMember: AugmentedError; /** * Last member of the committee can not quit. **/ LastMemberCannotQuit: AugmentedError; /** * Can't remove a member that doesn't exist. **/ NoSuchMember: AugmentedError; /** * Only primary key of the identity is allowed. **/ OnlyPrimaryKeyAllowed: AugmentedError; }; electionProviderMultiPhase: { /** * Some bound not met **/ BoundNotMet: AugmentedError; /** * The call is not allowed at this point. **/ CallNotAllowed: AugmentedError; /** * The fallback failed **/ FallbackFailed: AugmentedError; /** * `Self::insert_submission` returned an invalid index. **/ InvalidSubmissionIndex: AugmentedError; /** * Snapshot metadata should exist but didn't. **/ MissingSnapshotMetadata: AugmentedError; /** * OCW submitted solution for wrong round **/ OcwCallWrongEra: AugmentedError; /** * Submission was prepared for a different round. **/ PreDispatchDifferentRound: AugmentedError; /** * Submission was too early. **/ PreDispatchEarlySubmission: AugmentedError; /** * Submission was too weak, score-wise. **/ PreDispatchWeakSubmission: AugmentedError; /** * Wrong number of winners presented. **/ PreDispatchWrongWinnerCount: AugmentedError; /** * The origin failed to pay the deposit. **/ SignedCannotPayDeposit: AugmentedError; /** * Witness data to dispatchable is invalid. **/ SignedInvalidWitness: AugmentedError; /** * The queue was full, and the solution was not better than any of the existing ones. **/ SignedQueueFull: AugmentedError; /** * The signed submission consumes too much weight **/ SignedTooMuchWeight: AugmentedError; /** * Submitted solution has too many winners **/ TooManyWinners: AugmentedError; }; externalAgents: { /** * The provided `agent` is already an agent for the `AssetId`. **/ AlreadyAnAgent: AugmentedError; /** * The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is. **/ BadAuthorizationType: AugmentedError; /** * Except `ExtrinsicPermissions` are not allowed for external agents. **/ ExceptPermissionsNotAllowed: AugmentedError; /** * An AG with the given `AGId` did not exist for the `AssetId`. **/ NoSuchAG: AugmentedError; /** * The provided `agent` is not an agent for the `AssetId`. **/ NotAnAgent: AugmentedError; /** * This agent is the last full one, and it's being removed, * making the asset orphaned. **/ RemovingLastFullAgent: AugmentedError; /** * The caller's secondary key does not have the required asset permission. **/ SecondaryKeyNotAuthorizedForAsset: AugmentedError; /** * The `BecomeAgent` authorization was issued before the target was last removed as an agent. **/ StaleAuthorization: AugmentedError; /** * The agent is not authorized to call the current extrinsic. **/ UnauthorizedAgent: 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; }; identity: { /** * The account key is being used, it can't be unlinked. **/ AccountKeyIsBeingUsed: AugmentedError; /** * One secondary or primary key can only belong to one DID **/ AlreadyLinked: AugmentedError; /** * The offchain authorization has expired. **/ AuthorizationExpired: AugmentedError; /** * Authorization has been explicitly revoked. **/ AuthorizationHasBeenRevoked: AugmentedError; /** * Authorizations are not for the same DID. **/ AuthorizationsNotForSameDids: AugmentedError; /** * The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is. **/ BadAuthorizationType: AugmentedError; /** * Cannot convert a `T::AccountId` to `AnySignature::Signer::AccountId`. **/ CannotDecodeSignerAccountId: AugmentedError; /** * Claim does not exist. **/ ClaimDoesNotExist: AugmentedError; /** * The custom claim type trying to be registered already exists. **/ CustomClaimTypeAlreadyExists: AugmentedError; /** * The custom claim type does not exist. **/ CustomClaimTypeDoesNotExist: AugmentedError; /** * A custom scope is too long. * It can at most be `32` characters long. **/ CustomScopeTooLong: AugmentedError; /** * The DID already exists. **/ DidAlreadyExists: AugmentedError; /** * The DID does not exist. **/ DidDoesNotExist: AugmentedError; /** * The DID must already exist. **/ DidMustAlreadyExist: AugmentedError; /** * The same key was included multiple times. **/ DuplicateKey: AugmentedError; /** * Maximum number of given authorizations was exceeded. **/ ExceededNumberOfGivenAuths: AugmentedError; /** * Cannot use Except when specifying extrinsic permissions. **/ ExceptNotAllowedForExtrinsics: AugmentedError; /** * Couldn't charge fee for the transaction. **/ FailedToChargeFee: AugmentedError; /** * No did was found for the account key. **/ IdentityNotFoundForAccountPortfolio: AugmentedError; /** * Account Id cannot be extracted from signer **/ InvalidAccountKey: AugmentedError; /** * Auth identified by an `auth_id` for a given `target` does not exist. * The `target` might be wrong or the `auth_id` was never created at all. **/ InvalidAuthorization: AugmentedError; /** * An invalid authorization from the DID registrar. **/ InvalidAuthorizationFromDidRegistrar: AugmentedError; /** * An invalid authorization from the owner. **/ InvalidAuthorizationFromOwner: AugmentedError; /** * An invalid authorization signature. **/ InvalidAuthorizationSignature: AugmentedError; /** * This key is not allowed to execute a given operation. **/ KeyNotAllowed: AugmentedError; /** * Caller is missing an identity. **/ MissingIdentity: AugmentedError; /** * Signer is not a secondary key of the provided identity **/ NotASigner: AugmentedError; /** * Attestation was not by a DID registrar. **/ NotDidRegistrarAttestation: AugmentedError; /** * Only the primary key is allowed to revoke an Identity Signatory off-chain authorization. **/ NotPrimaryKey: AugmentedError; /** * The secondary keys contain the primary key. **/ SecondaryKeysContainPrimaryKey: AugmentedError; /** * The target DID does not exist or is locked. **/ TargetDidInactive: AugmentedError; /** * Signatory is not pre authorized by the identity **/ Unauthorized: AugmentedError; /** * The DID does not exist or is locked. **/ UnauthorizedCallerDidInactive: AugmentedError; /** * Frozen secondary key. **/ UnauthorizedCallerFrozenDid: AugmentedError; /** * The key does not have permissions to execute the extrinsic. **/ UnauthorizedCallerMissingPermissions: AugmentedError; /** * Only DID registrars (formerly CDD service providers) are allowed. **/ UnAuthorizedDidRegistrar: AugmentedError; }; imOnline: { /** * Duplicated heartbeat. **/ DuplicatedHeartbeat: AugmentedError; /** * Non existent public key. **/ InvalidKey: 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; }; multiBlockMigrations: { /** * The operation cannot complete since some MBMs are ongoing. **/ Ongoing: AugmentedError; }; multiSig: { /** * Multisig has no admin. **/ AdminNotFound: AugmentedError; /** * Already a signer. **/ AlreadyASigner: AugmentedError; /** * Already voted. **/ AlreadyVoted: AugmentedError; /** * The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is. **/ BadAuthorizationType: AugmentedError; /** * Multisig address. **/ DecodingError: AugmentedError; /** * The list of signers contains the same account more than once. **/ DuplicateSigners: AugmentedError; /** * Identity provided is not the multisig's admin. **/ IdentityNotAdmin: AugmentedError; /** * Identity provided is not the multisig's payer. **/ IdentityNotPayer: AugmentedError; /** * The proposal has been invalidated after a multisg update. **/ InvalidatedProposal: AugmentedError; /** * Expiry must be in the future. **/ InvalidExpiryDate: AugmentedError; /** * Max weight not enough to execute proposal. **/ MaxWeightTooLow: AugmentedError; /** * Multisig is not attached to an identity **/ MultisigMissingIdentity: AugmentedError; /** * A multisig can't be a signer of another multisig. **/ NestingNotAllowed: AugmentedError; /** * A nonce overflow. **/ NonceOverflow: AugmentedError; /** * Multisig doesn't have a paying DID. **/ NoPayingDid: AugmentedError; /** * No such multisig. **/ NoSuchMultisig: AugmentedError; /** * Not a signer. **/ NotASigner: AugmentedError; /** * Not enough signers. The number of signers has to be greater then or equal to * the required number of signers to approve proposals. **/ NotEnoughSigners: AugmentedError; /** * Proposal was executed earlier **/ ProposalAlreadyExecuted: AugmentedError; /** * Proposal was rejected earlier **/ ProposalAlreadyRejected: AugmentedError; /** * Proposal has expired **/ ProposalExpired: AugmentedError; /** * The proposal does not exist. **/ ProposalMissing: AugmentedError; /** * Required number of signers must be greater then zero. **/ RequiredSignersIsZero: AugmentedError; /** * Signer is an account key that is already associated with an identity. **/ SignerAlreadyLinkedToIdentity: AugmentedError; /** * Signer is an account key that is already associated with a multisig. **/ SignerAlreadyLinkedToMultisig: AugmentedError; /** * Tried to add/remove too many signers. **/ TooManySigners: AugmentedError; }; nft: { /** * An overflow while calculating the balance. **/ BalanceOverflow: AugmentedError; /** * An underflow while calculating the balance. **/ BalanceUnderflow: AugmentedError; /** * The asset_id is already associated to an NFT collection. **/ CollectionAlredyRegistered: AugmentedError; /** * The NFT collection does not exist. **/ CollectionNotFound: AugmentedError; /** * Duplicate ids are not allowed. **/ DuplicatedNFTId: AugmentedError; /** * A duplicate metadata key has been passed as parameter. **/ DuplicateMetadataKey: AugmentedError; /** * The spender has no approval to transfer this NFT. **/ InsufficientNFTApproval: AugmentedError; /** * There's no asset associated to the given asset_id. **/ InvalidAssetId: AugmentedError; /** * The asset must be of type non-fungible. **/ InvalidAssetType: AugmentedError; /** * Either the number of keys or the key identifier does not match the keys defined for the collection. **/ InvalidMetadataAttribute: AugmentedError; /** * Failed to transfer an NFT - NFT collection not found. **/ InvalidNFTTransferCollectionNotFound: AugmentedError; /** * Failed to transfer an NFT - compliance failed. **/ InvalidNFTTransferComplianceFailure: AugmentedError; /** * Failed to transfer an NFT - identity count would overflow. **/ InvalidNFTTransferCountOverflow: AugmentedError; /** * Failed to transfer an NFT - asset is frozen. **/ InvalidNFTTransferFrozenAsset: AugmentedError; /** * Failed to transfer an NFT - the number of nfts in the identity is insufficient. **/ InvalidNFTTransferInsufficientCount: AugmentedError; /** * The receiver has an invalid DID. **/ InvalidNFTTransferInvalidReceiverDID: AugmentedError; /** * Failed to transfer an NFT - the NFT is frozen for the sender. **/ InvalidNFTTransferNFTIsFrozen: AugmentedError; /** * Failed to transfer an NFT - nft is locked. **/ InvalidNFTTransferNFTIsLocked: AugmentedError; /** * Failed to transfer an NFT - NFT not found in portfolio. **/ InvalidNFTTransferNFTNotOwned: AugmentedError; /** * Failed to transfer an NFT - attempt to move to the same portfolio. **/ InvalidNFTTransferSamePortfolio: AugmentedError; /** * The sender identity can't be the same as the receiver identity. **/ InvalidNFTTransferSenderDidMatchesReceiverDid: AugmentedError; /** * The maximum number of metadata keys was exceeded. **/ MaxNumberOfKeysExceeded: AugmentedError; /** * The maximum number of nfts being transferred in one leg was exceeded. **/ MaxNumberOfNFTsPerLegExceeded: AugmentedError; /** * The caller is not allowed to approve a spender for this NFT. * * Only the account key that currently holds the NFT, or an approved operator for the * collection, may set a per-token approval. **/ NFTApprovalNotAuthorized: AugmentedError; /** * The NFT is frozen. **/ NFTIsFrozen: AugmentedError; /** * The NFT is locked. **/ NFTIsLocked: AugmentedError; /** * The NFT is not locked. **/ NFTIsNotLocked: AugmentedError; /** * The NFT does not exist. **/ NFTNotFound: AugmentedError; /** * The number of keys in the collection is greater than the input. **/ NumberOfKeysIsLessThanExpected: AugmentedError; /** * The destination requires receiver affirmation before assets can be moved into it. **/ ReceiverAffirmationRequired: AugmentedError; /** * An overflow while calculating the updated supply. **/ SupplyOverflow: AugmentedError; /** * An underflow while calculating the updated supply. **/ SupplyUnderflow: AugmentedError; /** * At least one of the metadata keys has not been registered. **/ UnregisteredMetadataKey: AugmentedError; /** * It is not possible to transferr zero nft. **/ ZeroCount: AugmentedError; }; permissions: { /** * The caller is not authorized to call the current extrinsic. **/ UnauthorizedCaller: AugmentedError; }; pips: { /** * When enacting snapshot results, an unskippable PIP was skipped. **/ CannotSkipPip: AugmentedError; /** * Proposer specifies an incorrect deposit amount. **/ IncorrectDeposit: AugmentedError; /** * The proposal is not in the correct state for the requested operation. **/ IncorrectProposalState: AugmentedError; /** * Proposer cannot afford to lock the minimum deposit. **/ InsufficientDeposit: AugmentedError; /** * The specified block number is less than the current block number. **/ InvalidFutureBlockNumber: AugmentedError; /** * Invalid PIP ID. Pip id was not expected to be in the live queue. **/ InvalidPipId: AugmentedError; /** * The current DID is missing. **/ MissingCurrentIdentity: AugmentedError; /** * The proposal does not exist. **/ NoSuchProposal: AugmentedError; /** * The caller is not a member of the governance committee. **/ NotACommitteeMember: AugmentedError; /** * The given dispatchable call is not valid for this proposal. * The proposal must be from a committee, but isn't. **/ NotByCommittee: AugmentedError; /** * The given dispatchable call is not valid for this proposal. * The proposal must be from the community, but isn't. **/ NotFromCommunity: AugmentedError; /** * The number of votes exceeds the allowed limit. **/ NumberOfVotesExceeded: AugmentedError; /** * A proposal that is not in a scheduled state cannot be executed. **/ ProposalNotInScheduledState: AugmentedError; /** * Only the GC release coordinator is allowed to reschedule proposal execution. **/ RescheduleNotByReleaseCoordinator: AugmentedError; /** * Execution of a scheduled proposal failed because it is missing. **/ ScheduledProposalDoesntExist: AugmentedError; /** * Tried to enact result for PIP with an ID different from that at the position in the queue. **/ SnapshotIdMismatch: AugmentedError; /** * The provided `limit` is less than the actual queue length. **/ SnapshotLimitTooSmall: AugmentedError; /** * Tried to enact results for the snapshot queue overflowing its length. **/ SnapshotResultTooLarge: AugmentedError; /** * The stake amount of a vote exceeds the allowed limit. **/ StakeAmountOfVotesExceeded: AugmentedError; /** * The current number of active (pending or scheduled) PIPs exceeds the maximum * and the proposal is not by a committee. **/ TooManyActivePips: AugmentedError; }; polymeshCommittee: { /** * Duplicate proposal. **/ DuplicateProposal: AugmentedError; /** * Duplicate votes are not allowed. **/ DuplicateVote: AugmentedError; /** * First vote on a proposal creates it, so it must be an approval. * All proposals are motions to execute something as "GC majority". * To reject e.g., a PIP, a motion to reject should be *approved*. **/ FirstVoteReject: AugmentedError; /** * Proportion must be a rational number. **/ InvalidProportion: AugmentedError; /** * Mismatched voting index. **/ MismatchedVotingIndex: AugmentedError; /** * No such proposal. **/ NoSuchProposal: AugmentedError; /** * A DID isn't part of the committee. * The DID may either be a caller or some other context. **/ NotAMember: AugmentedError; /** * Proposal exists, but it has expired. **/ ProposalExpired: AugmentedError; /** * Maximum number of proposals has been reached. **/ ProposalsLimitReached: AugmentedError; }; portfolio: { /** * The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is. **/ BadAuthorizationType: AugmentedError; /** * Default portfolios cannot have custodians. **/ DefaultPortfoliosCannotHaveCustodians: AugmentedError; /** * The source and destination portfolios should be different. **/ DestinationIsSamePortfolio: AugmentedError; /** * The portfolios belong to different identities **/ DifferentIdentityPortfolios: AugmentedError; /** * Trying to move an amount of zero assets. **/ EmptyTransfer: AugmentedError; /** * Insufficient balance (tokens might not exist or are locked). **/ InsufficientBalance: AugmentedError; /** * Insufficient balance for a transaction. **/ InsufficientPortfolioBalance: AugmentedError; /** * Can not unlock more tokens than what are locked **/ InsufficientTokensLocked: AugmentedError; /** * Frozen NFTs can not be moved between portfolios. **/ InvalidTransferNFTIsFrozen: AugmentedError; /** * Locked NFTs can not be moved between portfolios. **/ InvalidTransferNFTIsLocked: AugmentedError; /** * Only owned NFTs can be moved between portfolios. **/ InvalidTransferNFTNotOwned: AugmentedError; /** * Key not found for caller. **/ KeyNotFoundForCaller: AugmentedError; /** * The caller doesn't have permission to create portfolios on the owner's behalf. **/ MissingOwnersPermission: AugmentedError; /** * The NFT is already locked. **/ NFTAlreadyLocked: AugmentedError; /** * The NFT does not exist in the portfolio. **/ NFTNotFoundInPortfolio: AugmentedError; /** * The NFT has never been locked. **/ NFTNotLocked: AugmentedError; /** * Duplicate asset among the items. **/ NoDuplicateAssetsAllowed: AugmentedError; /** * The portfolio doesn't exist. **/ PortfolioDoesNotExist: AugmentedError; /** * The portfolio is frozen for the given asset. **/ PortfolioIsFrozen: AugmentedError; /** * The portfolio couldn't be renamed because the chosen name is already in use. **/ PortfolioNameAlreadyInUse: AugmentedError; /** * The portfolio still has some asset balance left **/ PortfolioNotEmpty: AugmentedError; /** * The secondary key is not authorized to access the portfolio(s). **/ SecondaryKeyNotAuthorizedForPortfolio: AugmentedError; /** * Adding itself as an AllowedCustodian is not permitted. **/ SelfAdditionNotAllowed: AugmentedError; /** * The porfolio's custody is with someone other than the caller. **/ UnauthorizedCustodian: AugmentedError; /** * The key does not have permission to access the portfolio. **/ UnauthorizedPortfolioKey: AugmentedError; }; preimage: { /** * Preimage has already been noted on-chain. **/ AlreadyNoted: AugmentedError; /** * The user is not authorized to perform this action. **/ NotAuthorized: AugmentedError; /** * The preimage cannot be removed since it has not yet been noted. **/ NotNoted: AugmentedError; /** * The preimage request cannot be removed since no outstanding requests exist. **/ NotRequested: AugmentedError; /** * A preimage may not be removed when there are outstanding requests. **/ Requested: AugmentedError; /** * Preimage is too large to store on-chain. **/ TooBig: AugmentedError; /** * Too few hashes were requested to be upgraded (i.e. zero). **/ TooFew: AugmentedError; /** * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. **/ TooMany: AugmentedError; }; protocolFee: { /** * Insufficient account balance to pay the fee. **/ InsufficientAccountBalance: AugmentedError; /** * Insufficient subsidy balance to pay the fee. **/ InsufficientSubsidyBalance: AugmentedError; /** * Not able to handled the imbalances **/ UnHandledImbalances: AugmentedError; }; relayer: { /** * The relay transaction has expired. **/ ExpiredRelayTx: AugmentedError; /** * Offchain signature is invalid **/ InvalidSignature: AugmentedError; /** * Nested `relay_tx` calls are not allowed. **/ NestingNotAllowed: AugmentedError; /** * The `user_key` doesn't have a `paying_key`. **/ NoPayingKey: AugmentedError; /** * There is no pending subsidy from the `paying_key` for the `user_key`. **/ NoPendingSubsidy: AugmentedError; /** * The signer is not the `paying_key` or the `user_key`. **/ NotAuthorized: AugmentedError; /** * The `user_key` has a different `paying_key`. **/ NotPayingKey: AugmentedError; /** * The remaining POLYX for `user_key` overflowed. **/ Overflow: AugmentedError; }; revive: { /** * Tried to map an account that is already mapped. **/ AccountAlreadyMapped: AugmentedError; /** * 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: AugmentedError; /** * Failed to convert a U256 to a Balance. **/ BalanceConversionFailed: AugmentedError; /** * The program contains a basic block that is larger than allowed. **/ BasicBlockTooLarge: AugmentedError; /** * The code blob supplied is larger than [`limits::code::BLOB_BYTES`]. **/ BlobTooLarge: AugmentedError; /** * The calldata exceeds [`limits::CALLDATA_BYTES`]. **/ CallDataTooLarge: AugmentedError; /** * Can not add a delegate dependency to the code hash of the contract itself. **/ CannotAddSelfAsDelegateDependency: AugmentedError; /** * No code info could be found at the supplied code hash. **/ CodeInfoNotFound: AugmentedError; /** * Code removal was denied because the code is still in use by at least one contract. **/ CodeInUse: AugmentedError; /** * No code could be found at the supplied code hash. **/ CodeNotFound: AugmentedError; /** * 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: AugmentedError; /** * No contract was found at the specified address. **/ ContractNotFound: AugmentedError; /** * 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: AugmentedError; /** * Contract trapped during execution. **/ ContractTrapped: AugmentedError; /** * Input passed to a contract API function failed to decode as expected type. **/ DecodingFailed: AugmentedError; /** * The contract already depends on the given delegate dependency. **/ DelegateDependencyAlreadyExists: AugmentedError; /** * The dependency was not found in the contract's delegate dependencies. **/ DelegateDependencyNotFound: AugmentedError; /** * A contract with the same AccountId already exists, or the address is occupied by a * pre-compile. **/ DuplicateContract: AugmentedError; /** * ECDSA public key recovery failed. Most probably wrong recovery id or signature. **/ EcdsaRecoveryFailed: AugmentedError; /** * 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: AugmentedError; /** * 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: AugmentedError; /** * PolkaVM failed during code execution. Probably due to a malformed program. **/ ExecutionFailed: AugmentedError; /** * `seal_call` forwarded this contracts input. It therefore is no longer available. **/ InputForwarded: AugmentedError; /** * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`. **/ InvalidCallFlags: AugmentedError; /** * The transaction used to dry-run a contract is invalid. **/ InvalidGenericTransaction: AugmentedError; /** * 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: AugmentedError; /** * The program contains an invalid instruction. **/ InvalidInstruction: AugmentedError; /** * Invalid jump destination. Dynamic jumps points to invalid not jumpdest opcode. **/ InvalidJump: AugmentedError; /** * Invalid schedule supplied, e.g. with zero weight of a basic operation. **/ InvalidSchedule: AugmentedError; /** * Invalid storage flags were passed to one of the storage syscalls. **/ InvalidStorageFlags: AugmentedError; /** * The contract tried to call a syscall which does not exist (at its current api level). **/ InvalidSyscall: AugmentedError; /** * Performing a call was denied because the calling depth reached the limit * of what is specified in the schedule. **/ MaxCallDepthReached: AugmentedError; /** * The contract has reached its maximum number of delegate dependencies. **/ MaxDelegateDependenciesReached: 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; /** * Can not add more data to transient storage. **/ OutOfTransientStorage: AugmentedError; /** * 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: AugmentedError; /** * A contract called into the runtime which then called back into this pallet. **/ ReenteredPallet: AugmentedError; /** * A call tried to invoke a contract that is flagged as non-reentrant. **/ ReentranceDenied: AugmentedError; /** * The refcount of a code either over or underflowed. **/ RefcountOverOrUnderflow: AugmentedError; /** * The return data exceeds [`limits::CALLDATA_BYTES`]. **/ ReturnDataTooLarge: AugmentedError; /** * Attempting to push a value onto a full stack. **/ StackOverflow: AugmentedError; /** * Attempting to pop a value from an empty stack. **/ StackUnderflow: AugmentedError; /** * A contract attempted to invoke a state modifying API while being in read-only mode. **/ StateChangeDenied: AugmentedError; /** * The contract declares too much memory (ro + rw + stack). **/ StaticMemoryTooLarge: AugmentedError; /** * More storage was created than allowed by the storage deposit limit. **/ StorageDepositLimitExhausted: AugmentedError; /** * Origin doesn't have enough balance to pay the required storage deposits. **/ StorageDepositNotEnoughFunds: AugmentedError; /** * 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: AugmentedError; /** * 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: AugmentedError; /** * A contract self destructed in its constructor. * * This can be triggered by a call to `seal_terminate`. **/ TerminatedInConstructor: AugmentedError; /** * Termination of a contract is not allowed while the contract is already * on the call stack. Can be triggered by `seal_terminate`. **/ TerminatedWhileReentrant: AugmentedError; /** * The amount of topics passed to `seal_deposit_events` exceeds the limit. **/ TooManyTopics: AugmentedError; /** * Performing the requested transfer failed. Probably because there isn't enough * free balance in the sender's account. **/ TransferFailed: AugmentedError; /** * 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: AugmentedError; /** * Attempting to unmap an account when this operation is disabled. **/ UnmapAccountDisabled: AugmentedError; /** * Unsupported precompile address. **/ UnsupportedPrecompileAddress: AugmentedError; /** * Event body or storage item exceeds [`limits::STORAGE_BYTES`]. **/ ValueTooLarge: AugmentedError; }; scheduler: { /** * Failed to schedule a call **/ FailedToSchedule: AugmentedError; /** * Attempt to use a non-named function on a named task. **/ Named: 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; }; 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; }; settlement: { /** * The caller is not a mediator in the instruction. **/ CallerIsNotAMediator: AugmentedError; /** * The caller is not a party of this instruction. **/ CallerIsNotAParty: AugmentedError; /** * Deprecated placeholder kept to preserve error indices after removing * `AllowancesNotSupportedForNFTs` (NFT spender transfers now use approvals). **/ DeprecatedAllowancesNotSupportedForNFTs: AugmentedError; /** * No duplicate uid are allowed for different receipts. **/ DuplicateReceiptUid: AugmentedError; /** * The affirmation must include at least one asset holder or receipt. **/ EmptyAffirmation: AugmentedError; /** * The instruction has been locked for too much time. **/ ExceededMaximumLockingPeriod: AugmentedError; /** * Not all conditions for transferring the asset have been met. **/ FailedAssetTransferringConditions: AugmentedError; /** * The instruction failed to release asset locks or transfer the assets. **/ FailedToReleaseLockOrTransferAssets: AugmentedError; /** * Scheduling of an instruction fails. **/ FailedToSchedule: AugmentedError; /** * The input weight is less than the minimum required. **/ InputWeightIsLessThanMinimum: AugmentedError; /** * The instruction is already locked. It must be unlocked before relocking. **/ InstructionAlreadyLocked: AugmentedError; /** * Instruction has invalid dates **/ InstructionDatesInvalid: AugmentedError; /** * An instruction must have at least one leg. **/ InstructionHasNoLegs: AugmentedError; /** * Instruction has not been affirmed. **/ InstructionNotAffirmed: AugmentedError; /** * The instruction is not in `LockedForExecution` status and cannot be unlocked. **/ InstructionNotLocked: AugmentedError; /** * Instruction settlement block has not yet been reached. **/ InstructionSettleBlockNotReached: AugmentedError; /** * Instruction's target settle block reached. **/ InstructionSettleBlockPassed: AugmentedError; /** * Invalid account id. **/ InvalidAccountId: AugmentedError; /** * The mediator's expiry date must be in the future. **/ InvalidExpiryDate: AugmentedError; /** * Only [`InstructionStatus::Pending`] or [`InstructionStatus::Failed`] instructions can be executed. **/ InvalidInstructionStatusForExecution: AugmentedError; /** * [`InstructionStatus::Unknow`] can't be rejected. **/ InvalidInstructionStatusForRejection: AugmentedError; /** * Locked instructions can't have affirmations withdrawn. **/ InvalidInstructionStatusForWithdrawal: AugmentedError; /** * Offchain signature is invalid. **/ InvalidSignature: AugmentedError; /** * Venue does not exist. **/ InvalidVenue: AugmentedError; /** * No leg with the given id was found **/ LegNotFound: AugmentedError; /** * All locked instructions must register a lock timestamp. **/ LockTimestampNotFound: AugmentedError; /** * The maximum number of fungible assets was exceeded. **/ MaxNumberOfFungibleAssetsExceeded: AugmentedError; /** * The number of nfts being transferred in the instruction was exceeded. **/ MaxNumberOfNFTsExceeded: AugmentedError; /** * The maximum number of off-chain assets was exceeded. **/ MaxNumberOfOffChainAssetsExceeded: AugmentedError; /** * The maximum number of receipts was exceeded. **/ MaxNumberOfReceiptsExceeded: AugmentedError; /** * The maximum number of relocks for this instruction has been exceeded. **/ MaxRelockCountExceeded: AugmentedError; /** * The expiry date for the mediator's affirmation has passed. **/ MediatorAffirmationExpired: AugmentedError; /** * At least one mediator is required for this instruction. **/ MissingInstructionMediators: AugmentedError; /** * Multiple receipts for the same leg are not allowed. **/ MultipleReceiptsForOneLeg: AugmentedError; /** * There are parties who have not affirmed the instruction. **/ NotAllAffirmationsHaveBeenReceived: AugmentedError; /** * The given number of fungible transfers was underestimated. **/ NumberOfFungibleTransfersUnderestimated: AugmentedError; /** * The given number of off-chain transfers was underestimated. **/ NumberOfOffChainTransfersUnderestimated: AugmentedError; /** * The given number of nfts being transferred was underestimated. **/ NumberOfTransferredNFTsUnderestimated: AugmentedError; /** * The maximum number of venue signers was exceeded. **/ NumberOfVenueSignersExceeded: AugmentedError; /** * Off-Chain assets cannot be locked. **/ OffChainAssetCantBeLocked: AugmentedError; /** * Offchain assets must have a venue. **/ OffChainAssetsMustHaveAVenue: AugmentedError; /** * Receipt already used. **/ ReceiptAlreadyClaimed: AugmentedError; /** * The receipt has expired and can no longer be claimed. **/ ReceiptExpired: AugmentedError; /** * Off-chain receipts can only be used for off-chain leg type. **/ ReceiptForInvalidLegType: AugmentedError; /** * The instruction id in all receipts must match the extrinsic parameter. **/ ReceiptInstructionIdMissmatch: AugmentedError; /** * Receiver identity not found. **/ ReceiverIdentityNotFound: AugmentedError; /** * The relock cooldown period has not expired since the last unlock. **/ RelockCooldownNotExpired: AugmentedError; /** * Sender and receiver are the same. **/ SameSenderReceiver: AugmentedError; /** * Source and destination are the exact same AssetHolder. **/ SenderSameAsReceiver: AugmentedError; /** * The provided settlement block number is in the past and cannot be used by the scheduler. **/ SettleOnPastBlock: AugmentedError; /** * Signer is already added to venue. **/ SignerAlreadyExists: AugmentedError; /** * Signer is not added to venue. **/ SignerDoesNotExist: AugmentedError; /** * Sender does not have required permissions. **/ Unauthorized: AugmentedError; /** * Signer is not authorized by the venue. **/ UnauthorizedSigner: AugmentedError; /** * Venue does not have required permissions. **/ UnauthorizedVenue: AugmentedError; /** * The current instruction affirmation status does not support the requested action. **/ UnexpectedAffirmationStatus: AugmentedError; /** * An invalid has been reached. **/ UnexpectedLegStatus: AugmentedError; /** * AssetId could not be found on chain. **/ UnexpectedOFFChainAsset: AugmentedError; /** * Unexpected settlement type. **/ UnexpectedSettlementType: AugmentedError; /** * Instruction status is unknown **/ UnknownInstruction: AugmentedError; /** * The maximum weight limit for executing the function was exceeded. **/ WeightLimitExceeded: AugmentedError; /** * Instruction leg amount can't be zero. **/ ZeroAmount: AugmentedError; }; staking: { /** * Stash is already bonded. **/ AlreadyBonded: AugmentedError; /** * Rewards for this era have already been claimed for this validator. **/ AlreadyClaimed: AugmentedError; /** * The stake of this account is already migrated to `Fungible` holds. **/ AlreadyMigrated: 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; /** * Some bound is not met. **/ BoundNotMet: AugmentedError; /** * The user has enough bond and thus cannot be chilled forcefully by an external person. **/ CannotChillOther: AugmentedError; /** * Stash could not be reaped as other pallet might depend on it. **/ CannotReapStash: AugmentedError; /** * Cannot reset a ledger. **/ CannotRestoreLedger: AugmentedError; /** * Commission is too low. Must be at least `MinCommission`. **/ CommissionTooLow: AugmentedError; /** * Used when attempting to use deprecated controller account logic. **/ ControllerDeprecated: 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; /** * Cannot have a validator or nominator role, 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: AugmentedError; /** * Invalid era to reward. **/ InvalidEraToReward: AugmentedError; /** * Invalid number of nominations. **/ InvalidNumberOfNominations: AugmentedError; /** * No nominators exist on this page. **/ InvalidPage: AugmentedError; /** * Slash record index out of bounds. **/ InvalidSlashIndex: AugmentedError; /** * Can not schedule more unlock chunks. **/ NoMoreChunks: AugmentedError; /** * Not a controller account. **/ NotController: AugmentedError; /** * Not enough funds available to withdraw. **/ NotEnoughFunds: AugmentedError; /** * Items are not sorted and unique. **/ NotSortedAndUnique: AugmentedError; /** * Not a stash account. **/ NotStash: AugmentedError; /** * Can not rebond without unlocking chunks. **/ NoUnlockChunk: AugmentedError; /** * Account is restricted from participation in staking. This may happen if the account is * staking in another way already, such as via pool. **/ Restricted: AugmentedError; /** * Provided reward destination is not allowed. **/ RewardDestinationRestricted: AugmentedError; /** * There are too many nominators in the system. Governance needs to adjust the staking * settings to keep things safe for the runtime. **/ TooManyNominators: AugmentedError; /** * Too many nomination targets supplied. **/ TooManyTargets: AugmentedError; /** * There are too many validator candidates in the system. Governance needs to adjust the * staking settings to keep things safe for the runtime. **/ TooManyValidators: AugmentedError; /** * Operation not allowed for virtual stakers. **/ VirtualStakerNotAllowed: AugmentedError; }; statistics: { /** * A Stattype is in use and can't be removed. **/ CannotRemoveStatTypeInUse: AugmentedError; /** * Invalid transfer [`TransferCondition`] not respected. **/ InvalidTransferStatisticsFailure: AugmentedError; /** * The limit of StatTypes allowed for an asset has been reached. **/ StatTypeLimitReached: AugmentedError; /** * StatType is not enabled. **/ StatTypeMissing: AugmentedError; /** * StatType is needed by TransferCondition. **/ StatTypeNeededByTransferCondition: AugmentedError; /** * The limit of TransferConditions allowed for an asset has been reached. **/ TransferConditionLimitReached: AugmentedError; /** * The maximum weight limit for executing the function was exceeded. **/ WeightLimitExceeded: AugmentedError; }; sto: { /** * The fundraiser has been permanently closed or stopped. **/ FundraiserClosed: AugmentedError; /** * Attempting to interact with a fundraiser after its end time has passed. **/ FundraiserExpired: AugmentedError; /** * The specified fundraiser does not exist for the given asset. **/ FundraiserNotFound: AugmentedError; /** * The fundraiser is not in a live state (either frozen or stopped). **/ FundraiserNotLive: AugmentedError; /** * The settlement instruction was not settled successfully. **/ InstructionNotSettled: AugmentedError; /** * The fundraiser does not have enough tokens remaining to fulfil the investment. **/ InsufficientTokensRemaining: AugmentedError; /** * The fundraiser time window has invalid parameters (start time after end time). **/ InvalidOfferingWindow: AugmentedError; /** * One or more price tiers have invalid parameters (zero total, too many tiers, etc.). **/ InvalidPriceTiers: AugmentedError; /** * The off-chain receipt signature is invalid or could not be verified. **/ InvalidSignature: AugmentedError; /** * The provided venue is invalid (does not exist, wrong type, or wrong creator). **/ InvalidVenue: AugmentedError; /** * The investment amount is below the minimum investment threshold for this fundraiser. **/ InvestmentAmountTooLow: AugmentedError; /** * The calculated price per token exceeds the maximum price specified by the investor. **/ MaxPriceExceeded: AugmentedError; /** * Off-chain funding has not been enabled for this fundraiser. **/ OffchainFundingNotAllowed: AugmentedError; /** * An arithmetic operation resulted in overflow or underflow. **/ Overflow: AugmentedError; /** * The off-chain receipt has expired and can no longer be used for investment. **/ ReceiptExpired: AugmentedError; /** * Sender does not have required permissions for the requested operation. **/ Unauthorized: AugmentedError; }; sudo: { /** * Sender must be the Sudo account. **/ RequireSudo: 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; /** * A multi-block migration is ongoing and prevents the current code from being replaced. **/ MultiBlockMigrationsOngoing: 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; /** * No upgrade authorized. **/ NothingAuthorized: AugmentedError; /** * The specification version is not allowed to decrease between the current runtime * and the new runtime. **/ SpecVersionNeedsToIncrease: AugmentedError; /** * The submitted code is not authorized. **/ Unauthorized: AugmentedError; }; technicalCommittee: { /** * Duplicate proposal. **/ DuplicateProposal: AugmentedError; /** * Duplicate votes are not allowed. **/ DuplicateVote: AugmentedError; /** * First vote on a proposal creates it, so it must be an approval. * All proposals are motions to execute something as "GC majority". * To reject e.g., a PIP, a motion to reject should be *approved*. **/ FirstVoteReject: AugmentedError; /** * Proportion must be a rational number. **/ InvalidProportion: AugmentedError; /** * Mismatched voting index. **/ MismatchedVotingIndex: AugmentedError; /** * No such proposal. **/ NoSuchProposal: AugmentedError; /** * A DID isn't part of the committee. * The DID may either be a caller or some other context. **/ NotAMember: AugmentedError; /** * Proposal exists, but it has expired. **/ ProposalExpired: AugmentedError; /** * Maximum number of proposals has been reached. **/ ProposalsLimitReached: AugmentedError; }; technicalCommitteeMembership: { /** * The limit for the number of concurrent active members for this group has been exceeded. **/ ActiveMembersLimitExceeded: AugmentedError; /** * Active member limit was greater than maximum committee members limit. **/ ActiveMembersLimitOverflow: AugmentedError; /** * Group member was added already. **/ DuplicateMember: AugmentedError; /** * Last member of the committee can not quit. **/ LastMemberCannotQuit: AugmentedError; /** * Can't remove a member that doesn't exist. **/ NoSuchMember: AugmentedError; /** * Only primary key of the identity is allowed. **/ OnlyPrimaryKeyAllowed: AugmentedError; }; treasury: { /** * Proposer's balance is too low. **/ InsufficientBalance: AugmentedError; /** * Invalid identity for disbursement. **/ InvalidIdentity: AugmentedError; }; upgradeCommittee: { /** * Duplicate proposal. **/ DuplicateProposal: AugmentedError; /** * Duplicate votes are not allowed. **/ DuplicateVote: AugmentedError; /** * First vote on a proposal creates it, so it must be an approval. * All proposals are motions to execute something as "GC majority". * To reject e.g., a PIP, a motion to reject should be *approved*. **/ FirstVoteReject: AugmentedError; /** * Proportion must be a rational number. **/ InvalidProportion: AugmentedError; /** * Mismatched voting index. **/ MismatchedVotingIndex: AugmentedError; /** * No such proposal. **/ NoSuchProposal: AugmentedError; /** * A DID isn't part of the committee. * The DID may either be a caller or some other context. **/ NotAMember: AugmentedError; /** * Proposal exists, but it has expired. **/ ProposalExpired: AugmentedError; /** * Maximum number of proposals has been reached. **/ ProposalsLimitReached: AugmentedError; }; upgradeCommitteeMembership: { /** * The limit for the number of concurrent active members for this group has been exceeded. **/ ActiveMembersLimitExceeded: AugmentedError; /** * Active member limit was greater than maximum committee members limit. **/ ActiveMembersLimitOverflow: AugmentedError; /** * Group member was added already. **/ DuplicateMember: AugmentedError; /** * Last member of the committee can not quit. **/ LastMemberCannotQuit: AugmentedError; /** * Can't remove a member that doesn't exist. **/ NoSuchMember: AugmentedError; /** * Only primary key of the identity is allowed. **/ OnlyPrimaryKeyAllowed: AugmentedError; }; utility: { /** * Too many calls batched. **/ TooManyCalls: AugmentedError; /** * Decoding derivative account Id failed. **/ UnableToDeriveAccountId: AugmentedError; }; validators: { /** * Validator commiission is above maximum. **/ CommissionTooHigh: AugmentedError; /** * New commission must be different from previous commission. **/ CommissionUnchanged: AugmentedError; /** * Permissioned validator already exists. **/ IdentityIsAlreadyPermissioned: AugmentedError; /** * Identity does not exist or is locked. **/ IdentityIsInactive: AugmentedError; /** * Identity was not found in the permissioned identity pool. **/ IdentityNotFound: AugmentedError; /** * When the intended number of validators to run is >= 2/3 of `validator_count`. **/ IntendedCountIsExceedingConsensusLimit: AugmentedError; /** * Validator or nominator stash identity does not exist. **/ StashIdentityDoesNotExist: AugmentedError; /** * Validator's stash identity is not permissioned. **/ StashIdentityNotPermissioned: AugmentedError; /** * Too many validators are awaiting payout for a given era. **/ TooManyValidatorsForEra: AugmentedError; /** * No validator was found for the given key. **/ ValidatorNotFound: AugmentedError; }; workerModules: { /** * The protocol metadata is invalid. **/ InvalidProtocolMetadata: AugmentedError; /** * Module code missing for the given code hash. **/ ModuleCodeMissing: AugmentedError; /** * Module context missing for the given context hash. **/ ModuleContextMissing: AugmentedError; /** * The protocol is already registered. **/ ProtocolAlreadyRegistered: AugmentedError; /** * The protocol module code already exists. **/ ProtocolModuleCodeAlreadyExists: AugmentedError; /** * The protocol module config already exists. **/ ProtocolModuleConfigAlreadyExists: AugmentedError; /** * The protocol module context already exists. **/ ProtocolModuleContextAlreadyExists: AugmentedError; /** * The protocol is not registered. **/ ProtocolNotRegistered: AugmentedError; }; workerTesting: { /** * The worker session is not initialized. **/ NoSession: AugmentedError; }; } } //# sourceMappingURL=augment-api-errors.d.ts.map