UNPKG

@bifrost-finance/types

Version:
1,361 lines (1,360 loc) 80.8 kB
import '@polkadot/api-base/types/errors'; import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types'; export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>; declare module '@polkadot/api-base/types/errors' { interface AugmentedErrors<ApiType extends ApiTypes> { assetRegistry: { /** * AssetId exists **/ AssetIdExisted: AugmentedError<ApiType>; /** * AssetId not exists **/ AssetIdNotExists: AugmentedError<ApiType>; /** * The given location could not be used (e.g. because it cannot be expressed in the * desired version of XCM). **/ BadLocation: AugmentedError<ApiType>; /** * CurrencyId exists **/ CurrencyIdExisted: AugmentedError<ApiType>; /** * CurrencyId not exists **/ CurrencyIdNotExists: AugmentedError<ApiType>; /** * MultiLocation existed **/ MultiLocationExisted: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; balances: { /** * Beneficiary account must pre-exist **/ DeadAccount: AugmentedError<ApiType>; /** * Value too low to create account due to existential deposit **/ ExistentialDeposit: AugmentedError<ApiType>; /** * A vesting schedule already exists for this account **/ ExistingVestingSchedule: AugmentedError<ApiType>; /** * Balance too low to send value. **/ InsufficientBalance: AugmentedError<ApiType>; /** * Transfer/payment would kill account **/ KeepAlive: AugmentedError<ApiType>; /** * Account liquidity restrictions prevent withdrawal **/ LiquidityRestrictions: AugmentedError<ApiType>; /** * Number of named reserves exceed MaxReserves **/ TooManyReserves: AugmentedError<ApiType>; /** * Vesting balance too high to send value **/ VestingBalance: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; bounties: { /** * The bounty cannot be closed because it has active child bounties. **/ HasActiveChildBounty: AugmentedError<ApiType>; /** * Proposer's balance is too low. **/ InsufficientProposersBalance: AugmentedError<ApiType>; /** * Invalid bounty fee. **/ InvalidFee: AugmentedError<ApiType>; /** * No proposal or bounty at that index. **/ InvalidIndex: AugmentedError<ApiType>; /** * Invalid bounty value. **/ InvalidValue: AugmentedError<ApiType>; /** * A bounty payout is pending. * To cancel the bounty, you must unassign and slash the curator. **/ PendingPayout: AugmentedError<ApiType>; /** * The bounties cannot be claimed/closed because it's still in the countdown period. **/ Premature: AugmentedError<ApiType>; /** * The reason given is just too big. **/ ReasonTooBig: AugmentedError<ApiType>; /** * Require bounty curator. **/ RequireCurator: AugmentedError<ApiType>; /** * Too many approvals are already queued. **/ TooManyQueued: AugmentedError<ApiType>; /** * The bounty status is unexpected. **/ UnexpectedStatus: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; callSwitchgear: { /** * can not switch off **/ CannotSwitchOff: AugmentedError<ApiType>; /** * Invalid character **/ InvalidCharacter: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; council: { /** * Members are already initialized! **/ AlreadyInitialized: AugmentedError<ApiType>; /** * Duplicate proposals not allowed **/ DuplicateProposal: AugmentedError<ApiType>; /** * Duplicate vote ignored **/ DuplicateVote: AugmentedError<ApiType>; /** * Account is not a member **/ NotMember: AugmentedError<ApiType>; /** * Proposal must exist **/ ProposalMissing: AugmentedError<ApiType>; /** * The close call was made too early, before the end of the voting. **/ TooEarly: AugmentedError<ApiType>; /** * There can only be a maximum of `MaxProposals` active proposals. **/ TooManyProposals: AugmentedError<ApiType>; /** * Mismatched index **/ WrongIndex: AugmentedError<ApiType>; /** * The given length bound for the proposal was too low. **/ WrongProposalLength: AugmentedError<ApiType>; /** * The given weight bound for the proposal was too low. **/ WrongProposalWeight: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; councilMembership: { /** * Already a member. **/ AlreadyMember: AugmentedError<ApiType>; /** * Not a member. **/ NotMember: AugmentedError<ApiType>; /** * Too many members. **/ TooManyMembers: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; crossInOut: { AlreadyExist: AugmentedError<ApiType>; AmountLowerThanMinimum: AugmentedError<ApiType>; CurrencyNotSupportCrossInAndOut: AugmentedError<ApiType>; NoAccountIdMapping: AugmentedError<ApiType>; NoCrossingMinimumSet: AugmentedError<ApiType>; NoMultilocationMapping: AugmentedError<ApiType>; NotAllowed: AugmentedError<ApiType>; NotEnoughBalance: AugmentedError<ApiType>; NotExist: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; cumulusXcm: { /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; currencies: { /** * Unable to convert the Amount type into Balance. **/ AmountIntoBalanceFailed: AugmentedError<ApiType>; /** * Balance is too low. **/ BalanceTooLow: AugmentedError<ApiType>; /** * Deposit result is not expected **/ DepositFailed: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; democracy: { /** * Cannot cancel the same proposal twice **/ AlreadyCanceled: AugmentedError<ApiType>; /** * The account is already delegating. **/ AlreadyDelegating: AugmentedError<ApiType>; /** * Identity may not veto a proposal twice **/ AlreadyVetoed: AugmentedError<ApiType>; /** * Proposal already made **/ DuplicateProposal: AugmentedError<ApiType>; /** * The instant referendum origin is currently disallowed. **/ InstantNotAllowed: AugmentedError<ApiType>; /** * Too high a balance was provided that the account cannot afford. **/ InsufficientFunds: AugmentedError<ApiType>; /** * Invalid hash **/ InvalidHash: AugmentedError<ApiType>; /** * Maximum number of votes reached. **/ MaxVotesReached: AugmentedError<ApiType>; /** * No proposals waiting **/ NoneWaiting: AugmentedError<ApiType>; /** * Delegation to oneself makes no sense. **/ Nonsense: AugmentedError<ApiType>; /** * The actor has no permission to conduct the action. **/ NoPermission: AugmentedError<ApiType>; /** * No external proposal **/ NoProposal: AugmentedError<ApiType>; /** * The account is not currently delegating. **/ NotDelegating: AugmentedError<ApiType>; /** * Next external proposal not simple majority **/ NotSimpleMajority: AugmentedError<ApiType>; /** * The given account did not vote on the referendum. **/ NotVoter: AugmentedError<ApiType>; /** * Proposal still blacklisted **/ ProposalBlacklisted: AugmentedError<ApiType>; /** * Proposal does not exist **/ ProposalMissing: AugmentedError<ApiType>; /** * Vote given for invalid referendum **/ ReferendumInvalid: AugmentedError<ApiType>; /** * Maximum number of items reached. **/ TooMany: AugmentedError<ApiType>; /** * Value too low **/ ValueLow: AugmentedError<ApiType>; /** * 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<ApiType>; /** * Voting period too low **/ VotingPeriodLow: AugmentedError<ApiType>; /** * Invalid upper bound. **/ WrongUpperBound: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; dmpQueue: { /** * The amount of weight given is possibly not enough for executing the message. **/ OverLimit: AugmentedError<ApiType>; /** * The message index given is unknown. **/ Unknown: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; farming: { CalculationOverflow: AugmentedError<ApiType>; /** * claim_limit_time exceeded **/ CanNotClaim: AugmentedError<ApiType>; CanNotDeposit: AugmentedError<ApiType>; GaugeInfoNotExist: AugmentedError<ApiType>; /** * gauge pool max_block exceeded **/ GaugeMaxBlockOverflow: AugmentedError<ApiType>; GaugePoolNotExist: AugmentedError<ApiType>; InvalidPoolState: AugmentedError<ApiType>; LastGaugeNotClaim: AugmentedError<ApiType>; NobodyVoting: AugmentedError<ApiType>; NotInWhitelist: AugmentedError<ApiType>; PercentOverflow: AugmentedError<ApiType>; PoolDoesNotExist: AugmentedError<ApiType>; RoundLengthNotSet: AugmentedError<ApiType>; RoundNotOver: AugmentedError<ApiType>; ShareInfoNotExists: AugmentedError<ApiType>; WhitelistEmpty: AugmentedError<ApiType>; WhitelistLimitExceeded: AugmentedError<ApiType>; /** * withdraw_limit_time exceeded **/ WithdrawLimitCountExceeded: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; feeShare: { CalculationOverflow: AugmentedError<ApiType>; DistributionNotExist: AugmentedError<ApiType>; ExistentialDeposit: AugmentedError<ApiType>; NotEnoughBalance: AugmentedError<ApiType>; NotSupportProportion: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; flexibleFee: { ConversionError: AugmentedError<ApiType>; NotEnoughBalance: AugmentedError<ApiType>; Overflow: AugmentedError<ApiType>; WrongListLength: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; identity: { /** * Account ID is already named. **/ AlreadyClaimed: AugmentedError<ApiType>; /** * Empty index. **/ EmptyIndex: AugmentedError<ApiType>; /** * Fee is changed. **/ FeeChanged: AugmentedError<ApiType>; /** * The index is invalid. **/ InvalidIndex: AugmentedError<ApiType>; /** * Invalid judgement. **/ InvalidJudgement: AugmentedError<ApiType>; /** * The target is invalid. **/ InvalidTarget: AugmentedError<ApiType>; /** * The provided judgement was for a different identity. **/ JudgementForDifferentIdentity: AugmentedError<ApiType>; /** * Judgement given. **/ JudgementGiven: AugmentedError<ApiType>; /** * Error that occurs when there is an issue paying for judgement. **/ JudgementPaymentFailed: AugmentedError<ApiType>; /** * No identity found. **/ NoIdentity: AugmentedError<ApiType>; /** * Account isn't found. **/ NotFound: AugmentedError<ApiType>; /** * Account isn't named. **/ NotNamed: AugmentedError<ApiType>; /** * Sub-account isn't owned by sender. **/ NotOwned: AugmentedError<ApiType>; /** * Sender is not a sub-account. **/ NotSub: AugmentedError<ApiType>; /** * Sticky judgement. **/ StickyJudgement: AugmentedError<ApiType>; /** * Too many additional fields. **/ TooManyFields: AugmentedError<ApiType>; /** * Maximum amount of registrars reached. Cannot add any more. **/ TooManyRegistrars: AugmentedError<ApiType>; /** * Too many subs-accounts. **/ TooManySubAccounts: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; indices: { /** * The index was not available. **/ InUse: AugmentedError<ApiType>; /** * The index was not already assigned. **/ NotAssigned: AugmentedError<ApiType>; /** * The index is assigned to another account. **/ NotOwner: AugmentedError<ApiType>; /** * The source and destination accounts are identical. **/ NotTransfer: AugmentedError<ApiType>; /** * The index is permanent and may not be freed/changed. **/ Permanent: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; lighteningRedeem: { DenominatorZero: AugmentedError<ApiType>; ExceedPoolAmount: AugmentedError<ApiType>; InvalidReleaseInterval: AugmentedError<ApiType>; NotEnoughBalance: AugmentedError<ApiType>; NotGreaterThanZero: AugmentedError<ApiType>; NotKSM: AugmentedError<ApiType>; Overflow: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; liquidityMining: { /** * Find duplicate rewards when creating the liquidity-pool **/ DuplicateReward: AugmentedError<ApiType>; /** * The number of pool which be charged exceeded the `MaximumCharged` **/ ExceedMaximumCharged: AugmentedError<ApiType>; /** * The deposit of a liquidity-pool exceeded the `MaximumDepositInPool` **/ ExceedMaximumDeposit: AugmentedError<ApiType>; /** * The number of pending-unlocks reaches the limit; **/ ExceedMaximumUnlock: AugmentedError<ApiType>; InvalidDepositLimit: AugmentedError<ApiType>; InvalidDuration: AugmentedError<ApiType>; InvalidPoolId: AugmentedError<ApiType>; InvalidPoolState: AugmentedError<ApiType>; InvalidPoolType: AugmentedError<ApiType>; InvalidRewardPerBlock: AugmentedError<ApiType>; InvalidTradingPair: AugmentedError<ApiType>; /** * User has nothing be deposited to the pool **/ NoDepositOfUser: AugmentedError<ApiType>; NoMigration: AugmentedError<ApiType>; /** * Not have pending-unlocks; **/ NoPendingUnlocks: AugmentedError<ApiType>; /** * User doesn't have enough balance of which be deposited to pool **/ NotEnoughToDeposit: AugmentedError<ApiType>; /** * Keeper doesn't have enough balance to be redeemed by the user(VERY SCARY ERR) **/ NotEnoughToRedeem: AugmentedError<ApiType>; /** * Keeper doesn't have enough balance to be unlocked by the user(VERY SCARY ERR) **/ NotEnoughToUnlock: AugmentedError<ApiType>; /** * On lazy-migration **/ OnMigration: AugmentedError<ApiType>; /** * The pool has been charged already **/ PoolChargedAlready: AugmentedError<ApiType>; /** * The balance which was tried to deposit to the pool less than `MinimumDepositOfUser` **/ TooLowToDeposit: AugmentedError<ApiType>; /** * User doesn't have such amount deposit can be redeemed from the pool **/ TooLowToRedeem: AugmentedError<ApiType>; /** * Duplicate claim actions were at same block height **/ TooShortBetweenTwoClaim: AugmentedError<ApiType>; /** * __NOTE__: ERROR HAPPEN **/ Unexpected: AugmentedError<ApiType>; /** * Input wrong index to `cancel_unlock`; **/ WrongIndex: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; liquidityMiningDOT: { /** * Find duplicate rewards when creating the liquidity-pool **/ DuplicateReward: AugmentedError<ApiType>; /** * The number of pool which be charged exceeded the `MaximumCharged` **/ ExceedMaximumCharged: AugmentedError<ApiType>; /** * The deposit of a liquidity-pool exceeded the `MaximumDepositInPool` **/ ExceedMaximumDeposit: AugmentedError<ApiType>; /** * The number of pending-unlocks reaches the limit; **/ ExceedMaximumUnlock: AugmentedError<ApiType>; InvalidDepositLimit: AugmentedError<ApiType>; InvalidDuration: AugmentedError<ApiType>; InvalidPoolId: AugmentedError<ApiType>; InvalidPoolState: AugmentedError<ApiType>; InvalidPoolType: AugmentedError<ApiType>; InvalidRewardPerBlock: AugmentedError<ApiType>; InvalidTradingPair: AugmentedError<ApiType>; /** * User has nothing be deposited to the pool **/ NoDepositOfUser: AugmentedError<ApiType>; NoMigration: AugmentedError<ApiType>; /** * Not have pending-unlocks; **/ NoPendingUnlocks: AugmentedError<ApiType>; /** * User doesn't have enough balance of which be deposited to pool **/ NotEnoughToDeposit: AugmentedError<ApiType>; /** * Keeper doesn't have enough balance to be redeemed by the user(VERY SCARY ERR) **/ NotEnoughToRedeem: AugmentedError<ApiType>; /** * Keeper doesn't have enough balance to be unlocked by the user(VERY SCARY ERR) **/ NotEnoughToUnlock: AugmentedError<ApiType>; /** * On lazy-migration **/ OnMigration: AugmentedError<ApiType>; /** * The pool has been charged already **/ PoolChargedAlready: AugmentedError<ApiType>; /** * The balance which was tried to deposit to the pool less than `MinimumDepositOfUser` **/ TooLowToDeposit: AugmentedError<ApiType>; /** * User doesn't have such amount deposit can be redeemed from the pool **/ TooLowToRedeem: AugmentedError<ApiType>; /** * Duplicate claim actions were at same block height **/ TooShortBetweenTwoClaim: AugmentedError<ApiType>; /** * __NOTE__: ERROR HAPPEN **/ Unexpected: AugmentedError<ApiType>; /** * Input wrong index to `cancel_unlock`; **/ WrongIndex: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; merkleDistributor: { /** * Account has already in the set who can create merkle distributor **/ AlreadyInWhiteList: AugmentedError<ApiType>; /** * **/ BadChargeAccount: AugmentedError<ApiType>; /** * Invalid metadata given. **/ BadDescription: AugmentedError<ApiType>; /** * The reward is already charged. **/ Charged: AugmentedError<ApiType>; /** * The reward is already distributed. **/ Claimed: AugmentedError<ApiType>; /** * The id is not exist. **/ InvalidMerkleDistributorId: AugmentedError<ApiType>; /** * The proof is invalid **/ MerkleVerifyFailed: AugmentedError<ApiType>; /** * Account is no in the set who can create merkle distributor **/ NotInWhiteList: AugmentedError<ApiType>; /** * Withdraw amount exceed charge amount. **/ WithdrawAmountExceed: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; multisig: { /** * Call is already approved by this signatory. **/ AlreadyApproved: AugmentedError<ApiType>; /** * The data to be stored is already stored. **/ AlreadyStored: AugmentedError<ApiType>; /** * The maximum weight information provided was too low. **/ MaxWeightTooLow: AugmentedError<ApiType>; /** * Threshold must be 2 or greater. **/ MinimumThreshold: AugmentedError<ApiType>; /** * Call doesn't need any (more) approvals. **/ NoApprovalsNeeded: AugmentedError<ApiType>; /** * Multisig operation not found when attempting to cancel. **/ NotFound: AugmentedError<ApiType>; /** * No timepoint was given, yet the multisig operation is already underway. **/ NoTimepoint: AugmentedError<ApiType>; /** * Only the account that originally created the multisig is able to cancel it. **/ NotOwner: AugmentedError<ApiType>; /** * The sender was contained in the other signatories; it shouldn't be. **/ SenderInSignatories: AugmentedError<ApiType>; /** * The signatories were provided out of order; they should be ordered. **/ SignatoriesOutOfOrder: AugmentedError<ApiType>; /** * There are too few signatories in the list. **/ TooFewSignatories: AugmentedError<ApiType>; /** * There are too many signatories in the list. **/ TooManySignatories: AugmentedError<ApiType>; /** * A timepoint was given, yet no multisig operation is underway. **/ UnexpectedTimepoint: AugmentedError<ApiType>; /** * A different timepoint was given to the multisig operation that is underway. **/ WrongTimepoint: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; ormlXcm: { /** * The version of the `Versioned` value used is not able to be * interpreted. **/ BadVersion: AugmentedError<ApiType>; /** * The message and destination was recognized as being reachable but * the operation could not be completed. **/ SendFailure: AugmentedError<ApiType>; /** * The message and destination combination was not recognized as being * reachable. **/ Unreachable: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; parachainStaking: { AlreadyActive: AugmentedError<ApiType>; AlreadyDelegatedCandidate: AugmentedError<ApiType>; AlreadyOffline: AugmentedError<ApiType>; CandidateAlreadyLeaving: AugmentedError<ApiType>; CandidateBondBelowMin: AugmentedError<ApiType>; CandidateCannotLeaveYet: AugmentedError<ApiType>; CandidateDNE: AugmentedError<ApiType>; CandidateExists: AugmentedError<ApiType>; CandidateNotLeaving: AugmentedError<ApiType>; CannotDelegateIfLeaving: AugmentedError<ApiType>; CannotDelegateLessThanOrEqualToLowestBottomWhenFull: AugmentedError<ApiType>; CannotGoOnlineIfLeaving: AugmentedError<ApiType>; CannotSetBelowMin: AugmentedError<ApiType>; DelegationBelowMin: AugmentedError<ApiType>; DelegationDNE: AugmentedError<ApiType>; DelegatorAlreadyLeaving: AugmentedError<ApiType>; DelegatorBondBelowMin: AugmentedError<ApiType>; DelegatorCannotLeaveYet: AugmentedError<ApiType>; DelegatorDNE: AugmentedError<ApiType>; DelegatorDNEInDelegatorSet: AugmentedError<ApiType>; DelegatorDNEinTopNorBottom: AugmentedError<ApiType>; DelegatorExists: AugmentedError<ApiType>; DelegatorNotLeaving: AugmentedError<ApiType>; ExceedMaxDelegationsPerDelegator: AugmentedError<ApiType>; InsufficientBalance: AugmentedError<ApiType>; InvalidSchedule: AugmentedError<ApiType>; NoWritingSameValue: AugmentedError<ApiType>; PendingCandidateRequestAlreadyExists: AugmentedError<ApiType>; PendingCandidateRequestNotDueYet: AugmentedError<ApiType>; PendingCandidateRequestsDNE: AugmentedError<ApiType>; PendingDelegationRequestAlreadyExists: AugmentedError<ApiType>; PendingDelegationRequestDNE: AugmentedError<ApiType>; PendingDelegationRequestNotDueYet: AugmentedError<ApiType>; PendingDelegationRevoke: AugmentedError<ApiType>; RoundLengthMustBeAtLeastTotalSelectedCollators: AugmentedError<ApiType>; TooLowCandidateCountToLeaveCandidates: AugmentedError<ApiType>; TooLowCandidateCountWeightHintCancelLeaveCandidates: AugmentedError<ApiType>; TooLowCandidateCountWeightHintJoinCandidates: AugmentedError<ApiType>; TooLowCandidateDelegationCountToDelegate: AugmentedError<ApiType>; TooLowCandidateDelegationCountToLeaveCandidates: AugmentedError<ApiType>; TooLowDelegationCountToDelegate: AugmentedError<ApiType>; TooLowDelegationCountToLeaveDelegators: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; parachainSystem: { /** * The inherent which supplies the host configuration did not run this block **/ HostConfigurationNotAvailable: AugmentedError<ApiType>; /** * No code upgrade has been authorized. **/ NothingAuthorized: AugmentedError<ApiType>; /** * No validation function upgrade is currently scheduled. **/ NotScheduled: AugmentedError<ApiType>; /** * Attempt to upgrade validation function while existing upgrade pending **/ OverlappingUpgrades: AugmentedError<ApiType>; /** * Polkadot currently prohibits this parachain from upgrading its validation function **/ ProhibitedByPolkadot: AugmentedError<ApiType>; /** * The supplied validation function has compiled into a blob larger than Polkadot is * willing to run **/ TooBig: AugmentedError<ApiType>; /** * The given code upgrade has not been authorized. **/ Unauthorized: AugmentedError<ApiType>; /** * The inherent which supplies the validation data did not run this block **/ ValidationDataNotAvailable: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; phragmenElection: { /** * Duplicated candidate submission. **/ DuplicatedCandidate: AugmentedError<ApiType>; /** * Candidate does not have enough funds. **/ InsufficientCandidateFunds: AugmentedError<ApiType>; /** * The renouncing origin presented a wrong `Renouncing` parameter. **/ InvalidRenouncing: AugmentedError<ApiType>; /** * Prediction regarding replacement after member removal is wrong. **/ InvalidReplacement: AugmentedError<ApiType>; /** * The provided count of number of votes is incorrect. **/ InvalidVoteCount: AugmentedError<ApiType>; /** * The provided count of number of candidates is incorrect. **/ InvalidWitnessData: AugmentedError<ApiType>; /** * Cannot vote with stake less than minimum balance. **/ LowBalance: AugmentedError<ApiType>; /** * Cannot vote more than maximum allowed. **/ MaximumVotesExceeded: AugmentedError<ApiType>; /** * Member cannot re-submit candidacy. **/ MemberSubmit: AugmentedError<ApiType>; /** * Must be a voter. **/ MustBeVoter: AugmentedError<ApiType>; /** * Not a member. **/ NotMember: AugmentedError<ApiType>; /** * Must vote for at least one candidate. **/ NoVotes: AugmentedError<ApiType>; /** * Runner cannot re-submit candidacy. **/ RunnerUpSubmit: AugmentedError<ApiType>; /** * Too many candidates have been created. **/ TooManyCandidates: AugmentedError<ApiType>; /** * Cannot vote more than candidates. **/ TooManyVotes: AugmentedError<ApiType>; /** * Voter can not pay voting bond. **/ UnableToPayBond: AugmentedError<ApiType>; /** * Cannot vote when no candidates or members exist. **/ UnableToVote: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; polkadotXcm: { /** * The given account is not an identifiable sovereign account for any location. **/ AccountNotSovereign: AugmentedError<ApiType>; /** * The location is invalid since it already has a subscription from us. **/ AlreadySubscribed: AugmentedError<ApiType>; /** * The given location could not be used (e.g. because it cannot be expressed in the * desired version of XCM). **/ BadLocation: AugmentedError<ApiType>; /** * The version of the `Versioned` value used is not able to be interpreted. **/ BadVersion: AugmentedError<ApiType>; /** * Could not re-anchor the assets to declare the fees for the destination chain. **/ CannotReanchor: AugmentedError<ApiType>; /** * The destination `MultiLocation` provided cannot be inverted. **/ DestinationNotInvertible: AugmentedError<ApiType>; /** * The assets to be sent are empty. **/ Empty: AugmentedError<ApiType>; /** * The operation required fees to be paid which the initiator could not meet. **/ FeesNotMet: AugmentedError<ApiType>; /** * The message execution fails the filter. **/ Filtered: AugmentedError<ApiType>; /** * The unlock operation cannot succeed because there are still users of the lock. **/ InUse: AugmentedError<ApiType>; /** * Invalid asset for the operation. **/ InvalidAsset: AugmentedError<ApiType>; /** * Origin is invalid for sending. **/ InvalidOrigin: AugmentedError<ApiType>; /** * A remote lock with the corresponding data could not be found. **/ LockNotFound: AugmentedError<ApiType>; /** * The owner does not own (all) of the asset that they wish to do the operation on. **/ LowBalance: AugmentedError<ApiType>; /** * The referenced subscription could not be found. **/ NoSubscription: AugmentedError<ApiType>; /** * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps * a lack of space for buffering the message. **/ SendFailure: AugmentedError<ApiType>; /** * Too many assets have been attempted for transfer. **/ TooManyAssets: AugmentedError<ApiType>; /** * The asset owner has too many locks on the asset. **/ TooManyLocks: AugmentedError<ApiType>; /** * The desired destination was unreachable, generally because there is a no way of routing * to it. **/ Unreachable: AugmentedError<ApiType>; /** * The message's weight could not be determined. **/ UnweighableMessage: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; preimage: { /** * Preimage has already been noted on-chain. **/ AlreadyNoted: AugmentedError<ApiType>; /** * The user is not authorized to perform this action. **/ NotAuthorized: AugmentedError<ApiType>; /** * The preimage cannot be removed since it has not yet been noted. **/ NotNoted: AugmentedError<ApiType>; /** * The preimage request cannot be removed since no outstanding requests exist. **/ NotRequested: AugmentedError<ApiType>; /** * A preimage may not be removed when there are outstanding requests. **/ Requested: AugmentedError<ApiType>; /** * Preimage is too large to store on-chain. **/ TooBig: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; proxy: { /** * Account is already a proxy. **/ Duplicate: AugmentedError<ApiType>; /** * Call may not be made by proxy because it may escalate its privileges. **/ NoPermission: AugmentedError<ApiType>; /** * Cannot add self as proxy. **/ NoSelfProxy: AugmentedError<ApiType>; /** * Proxy registration not found. **/ NotFound: AugmentedError<ApiType>; /** * Sender is not a proxy of the account to be proxied. **/ NotProxy: AugmentedError<ApiType>; /** * There are too many proxies registered or too many announcements pending. **/ TooMany: AugmentedError<ApiType>; /** * Announcement, if made at all, was made too recently. **/ Unannounced: AugmentedError<ApiType>; /** * A call which is incompatible with the proxy type's filter was attempted. **/ Unproxyable: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; salp: { /** * Contributions exceed maximum amount. **/ CapExceeded: AugmentedError<ApiType>; /** * The contribution was below the minimum, `MinContribution`. **/ ContributionTooSmall: AugmentedError<ApiType>; /** * The first slot needs to at least be less than 3 `max_value`. **/ FirstSlotTooFarInFuture: AugmentedError<ApiType>; /** * The fund has been registered. **/ FundAlreadyCreated: AugmentedError<ApiType>; /** * Invalid contribution status. **/ InvalidContributionStatus: AugmentedError<ApiType>; InvalidFundNotExist: AugmentedError<ApiType>; InvalidFundSameSlot: AugmentedError<ApiType>; /** * Invalid fund status. **/ InvalidFundStatus: AugmentedError<ApiType>; /** * Invalid fund index. **/ InvalidParaId: AugmentedError<ApiType>; InvalidRefund: AugmentedError<ApiType>; /** * Last slot must be greater than first slot. **/ LastSlotBeforeFirstSlot: AugmentedError<ApiType>; /** * The last slot cannot be more then 3 slots after the first slot. **/ LastSlotTooFarInFuture: AugmentedError<ApiType>; NotEnoughBalanceInFund: AugmentedError<ApiType>; /** * Don't have enough token to redeem by users **/ NotEnoughBalanceInRedeemPool: AugmentedError<ApiType>; /** * Don't have enough token to refund by users **/ NotEnoughBalanceInRefundPool: AugmentedError<ApiType>; NotEnoughBalanceToContribute: AugmentedError<ApiType>; /** * Don't have enough vsToken/vsBond to unlock **/ NotEnoughBalanceToUnlock: AugmentedError<ApiType>; /** * Dont have enough vsToken/vsBond to redeem **/ NotEnoughFreeAssetsToRedeem: AugmentedError<ApiType>; /** * Don't have enough vsToken/vsBond to refund **/ NotEnoughReservedAssetsToRefund: AugmentedError<ApiType>; /** * No contribution record found **/ NotFindContributionValue: AugmentedError<ApiType>; NotSupportTokenType: AugmentedError<ApiType>; /** * There was an overflow. **/ Overflow: AugmentedError<ApiType>; /** * Responder is not a relay chain **/ ResponderNotRelayChain: AugmentedError<ApiType>; /** * The vsBond cannot be redeemed by now **/ UnRedeemableNow: AugmentedError<ApiType>; /** * The vsBond is expired now **/ VSBondExpired: AugmentedError<ApiType>; /** * Crosschain xcm failed **/ XcmFailed: AugmentedError<ApiType>; /** * The account doesn't have any contribution to the fund. **/ ZeroContribution: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; salpLite: { /** * Contributions exceed maximum amount. **/ CapExceeded: AugmentedError<ApiType>; /** * The contribution was below the minimum, `MinContribution`. **/ ContributionTooSmall: AugmentedError<ApiType>; /** * The first slot needs to at least be less than 3 `max_value`. **/ FirstSlotTooFarInFuture: AugmentedError<ApiType>; /** * The fund has been registered. **/ FundAlreadyCreated: AugmentedError<ApiType>; /** * Invalid contribution status. **/ InvalidContributionStatus: AugmentedError<ApiType>; InvalidFundNotExist: AugmentedError<ApiType>; InvalidFundSameSlot: AugmentedError<ApiType>; /** * Invalid fund status. **/ InvalidFundStatus: AugmentedError<ApiType>; /** * Invalid fund index. **/ InvalidParaId: AugmentedError<ApiType>; InvalidRefund: AugmentedError<ApiType>; /** * Last slot must be greater than first slot. **/ LastSlotBeforeFirstSlot: AugmentedError<ApiType>; /** * The last slot cannot be more then 3 slots after the first slot. **/ LastSlotTooFarInFuture: AugmentedError<ApiType>; /** * Migrate slot must be greater than first slot **/ MigrateSlotBeforeFirstSlot: AugmentedError<ApiType>; /** * Invalid Fund when refund/redeem **/ NotEnoughBalanceInFund: AugmentedError<ApiType>; /** * Don't have enough token to redeem by users **/ NotEnoughBalanceInRedeemPool: AugmentedError<ApiType>; /** * Don't have enough token to refund by users **/ NotEnoughBalanceInRefundPool: AugmentedError<ApiType>; /** * Don't have enough vsToken/vsBond to unlock **/ NotEnoughBalanceToUnlock: AugmentedError<ApiType>; /** * Dont have enough vsToken/vsBond to redeem **/ NotEnoughFreeAssetsToRedeem: AugmentedError<ApiType>; /** * Don't have enough vsToken/vsBond to refund **/ NotEnoughReservedAssetsToRefund: AugmentedError<ApiType>; /** * There was an overflow. **/ Overflow: AugmentedError<ApiType>; /** * The account doesn't have any contribution to the fund. **/ ZeroContribution: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; scheduler: { /** * Failed to schedule a call **/ FailedToSchedule: AugmentedError<ApiType>; /** * Attempt to use a non-named function on a named task. **/ Named: AugmentedError<ApiType>; /** * Cannot find the scheduled call. **/ NotFound: AugmentedError<ApiType>; /** * Reschedule failed because it does not change scheduled time. **/ RescheduleNoChange: AugmentedError<ApiType>; /** * Given target block number is in the past. **/ TargetBlockNumberInPast: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; session: { /** * Registered duplicate key. **/ DuplicatedKey: AugmentedError<ApiType>; /** * Invalid ownership proof. **/ InvalidProof: AugmentedError<ApiType>; /** * Key setting account is not live, so it's impossible to associate keys. **/ NoAccount: AugmentedError<ApiType>; /** * No associated validator ID for account. **/ NoAssociatedValidatorId: AugmentedError<ApiType>; /** * No keys are associated with this account. **/ NoKeys: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; slp: { AccountNotExist: AugmentedError<ApiType>; AlreadyBonded: AugmentedError<ApiType>; AlreadyExist: AugmentedError<ApiType>; AlreadyLeaving: AugmentedError<ApiType>; AlreadyRequested: AugmentedError<ApiType>;