@galacticcouncil/descriptors
Version:
Hydration papi (polkadot-api) descriptors
1,737 lines • 1.11 MB
TypeScript
import { Enum, GetEnum, SizedHex, SS58String, ResultPayload, FixedSizeArray, TxCallData } from "polkadot-api";
type AnonymousEnum<T extends {}> = T & {
__anonymous: true;
};
type MyTuple<T> = [T, ...T[]];
type SeparateUndefined<T> = undefined extends T ? undefined | Exclude<T, undefined> : T;
type Anonymize<T> = SeparateUndefined<T extends string | number | bigint | boolean | void | undefined | null | symbol | Uint8Array | Enum<any> ? T : T extends AnonymousEnum<infer V> ? Enum<V> : T extends MyTuple<any> ? {
[K in keyof T]: T[K];
} : T extends [] ? [] : T extends FixedSizeArray<infer L, infer T> ? number extends L ? Array<T> : FixedSizeArray<L, T> : {
[K in keyof T & string]: T[K];
}>;
export type I5sesotjlssv2d = {
"nonce": number;
"consumers": number;
"providers": number;
"sufficients": number;
"data": Anonymize<I1q8tnt1cluu5j>;
};
export type I1q8tnt1cluu5j = {
"free": bigint;
"reserved": bigint;
"frozen": bigint;
"flags": bigint;
};
export type Iffmde3ekjedi9 = {
"normal": Anonymize<I4q39t5hn830vp>;
"operational": Anonymize<I4q39t5hn830vp>;
"mandatory": Anonymize<I4q39t5hn830vp>;
};
export type I4q39t5hn830vp = {
"ref_time": bigint;
"proof_size": bigint;
};
export type I4mddgoa69c0a2 = Array<DigestItem>;
export type DigestItem = Enum<{
"PreRuntime": [SizedHex<4>, Uint8Array];
"Consensus": [SizedHex<4>, Uint8Array];
"Seal": [SizedHex<4>, Uint8Array];
"Other": Uint8Array;
"RuntimeEnvironmentUpdated": undefined;
}>;
export declare const DigestItem: GetEnum<DigestItem>;
export type I3gicjuq7v22fo = Array<{
"phase": Phase;
"event": Anonymize<I3n4e62r1msrnh>;
"topics": Anonymize<Ic5m5lp1oioo8r>;
}>;
export type Phase = Enum<{
"ApplyExtrinsic": number;
"Finalization": undefined;
"Initialization": undefined;
}>;
export declare const Phase: GetEnum<Phase>;
export type I3n4e62r1msrnh = AnonymousEnum<{
"System": Enum<{
/**
* An extrinsic completed successfully.
*/
"ExtrinsicSuccess": Anonymize<Ia82mnkmeo2rhc>;
/**
* An extrinsic failed.
*/
"ExtrinsicFailed": {
"dispatch_error": Anonymize<Icslglicucmk4>;
"dispatch_info": Anonymize<Ic9s8f85vjtncc>;
};
/**
* `:code` was updated.
*/
"CodeUpdated": undefined;
/**
* A new account was created.
*/
"NewAccount": Anonymize<Icbccs0ug47ilf>;
/**
* An account was reaped.
*/
"KilledAccount": Anonymize<Icbccs0ug47ilf>;
/**
* On on-chain remark happened.
*/
"Remarked": Anonymize<I855j4i3kr8ko1>;
/**
* An upgrade was authorized.
*/
"UpgradeAuthorized": Anonymize<Ibgl04rn6nbfm6>;
/**
* An invalid authorized upgrade was rejected while trying to apply it.
*/
"RejectedInvalidAuthorizedUpgrade": {
"code_hash": SizedHex<32>;
"error": Anonymize<Icslglicucmk4>;
};
}>;
"Balances": Anonymize<Iao8h4hv7atnq3>;
"TransactionPayment": TransactionPaymentEvent;
"MultiTransactionPayment": Anonymize<I8rr9o6g84pu5j>;
"Treasury": Anonymize<I3kfo09eqm1214>;
"Utility": Enum<{
/**
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
* well as the error.
*/
"BatchInterrupted": {
"index": number;
"error": Anonymize<Icslglicucmk4>;
};
/**
* Batch of dispatches completed fully with no error.
*/
"BatchCompleted": undefined;
/**
* Batch of dispatches completed but has errors.
*/
"BatchCompletedWithErrors": undefined;
/**
* A single item within a Batch of dispatches has completed with no error.
*/
"ItemCompleted": undefined;
/**
* A single item within a Batch of dispatches has completed with error.
*/
"ItemFailed": {
"error": Anonymize<Icslglicucmk4>;
};
/**
* A call was dispatched.
*/
"DispatchedAs": Anonymize<Ie3oo46l795bvi>;
/**
* Main call was dispatched.
*/
"IfElseMainSuccess": undefined;
/**
* The fallback call was dispatched.
*/
"IfElseFallbackCalled": {
"main_error": Anonymize<Icslglicucmk4>;
};
}>;
"Preimage": PreimageEvent;
"Identity": Anonymize<I2au2or9cskfoi>;
"Democracy": Anonymize<Icfq8ap3e5p73t>;
"TechnicalCommittee": Enum<{
/**
* A motion (given hash) has been proposed (by given account) with a threshold (given
* `MemberCount`).
*/
"Proposed": Anonymize<Ift6f10887nk72>;
/**
* A motion (given hash) has been voted on by given account, leaving
* a tally (yes votes and no votes given respectively as `MemberCount`).
*/
"Voted": Anonymize<I7qc53b1tvqjg2>;
/**
* A motion was approved by the required threshold.
*/
"Approved": Anonymize<I2ev73t79f46tb>;
/**
* A motion was not approved by the required threshold.
*/
"Disapproved": Anonymize<I2ev73t79f46tb>;
/**
* A motion was executed; result will be `Ok` if it returned without error.
*/
"Executed": {
"proposal_hash": SizedHex<32>;
"result": Anonymize<Ifet2n3rb6j1p5>;
};
/**
* A single member did some action; result will be `Ok` if it returned without error.
*/
"MemberExecuted": {
"proposal_hash": SizedHex<32>;
"result": Anonymize<Ifet2n3rb6j1p5>;
};
/**
* A proposal was closed because its threshold was reached or after its duration was up.
*/
"Closed": Anonymize<Iak7fhrgb9jnnq>;
/**
* A proposal was killed.
*/
"Killed": Anonymize<I2ev73t79f46tb>;
/**
* Some cost for storing a proposal was burned.
*/
"ProposalCostBurned": Anonymize<I9ad1o9mv4cm3>;
/**
* Some cost for storing a proposal was released.
*/
"ProposalCostReleased": Anonymize<I9ad1o9mv4cm3>;
}>;
"Proxy": Enum<{
/**
* A proxy was executed correctly, with the given.
*/
"ProxyExecuted": Anonymize<Ie3oo46l795bvi>;
/**
* A pure account has been created by new proxy with given
* disambiguation index and proxy type.
*/
"PureCreated": Anonymize<Ic3vmcebni2jj7>;
/**
* A pure proxy was killed by its spawner.
*/
"PureKilled": Anonymize<I6jvi0uvuu0bin>;
/**
* An announcement was placed to make a call in the future.
*/
"Announced": Anonymize<I2ur0oeqg495j8>;
/**
* A proxy was added.
*/
"ProxyAdded": Anonymize<I3opji3hcv2fmd>;
/**
* A proxy was removed.
*/
"ProxyRemoved": Anonymize<I3opji3hcv2fmd>;
/**
* A deposit stored for proxies or announcements was poked / updated.
*/
"DepositPoked": Anonymize<I1bhd210c3phjj>;
}>;
"Multisig": Enum<{
/**
* A new multisig operation has begun.
*/
"NewMultisig": Anonymize<Iep27ialq4a7o7>;
/**
* A multisig operation has been approved by someone.
*/
"MultisigApproval": Anonymize<Iasu5jvoqr43mv>;
/**
* A multisig operation has been executed.
*/
"MultisigExecuted": {
"approving": SS58String;
"timepoint": Anonymize<Itvprrpb0nm3o>;
"multisig": SS58String;
"call_hash": SizedHex<32>;
"result": Anonymize<Ifet2n3rb6j1p5>;
};
/**
* A multisig operation has been cancelled.
*/
"MultisigCancelled": Anonymize<I5qolde99acmd1>;
/**
* The deposit for a multisig operation has been updated/poked.
*/
"DepositPoked": Anonymize<I8gtde5abn1g9a>;
}>;
"Uniques": Anonymize<I27c883vr18l6d>;
"StateTrieMigration": Anonymize<I61dksvl51aujo>;
"ConvictionVoting": Anonymize<I7tvgbf73o5td4>;
"Referenda": Anonymize<Idfraa3b4eu018>;
"Whitelist": Enum<{
"CallWhitelisted": Anonymize<I1adbcfi5uc62r>;
"WhitelistedCallRemoved": Anonymize<I1adbcfi5uc62r>;
"WhitelistedCallDispatched": Anonymize<Icant70ahgndp1>;
}>;
"Dispatcher": Enum<{
"TreasuryManagerCallDispatched": Anonymize<Icant70ahgndp1>;
"AaveManagerCallDispatched": Anonymize<Icant70ahgndp1>;
"EmergencyAdminCallDispatched": Anonymize<Icant70ahgndp1>;
}>;
"AssetRegistry": Anonymize<If3falbb1ung7u>;
"Claims": Anonymize<I8cen1qssvc0qs>;
"CollatorRewards": Anonymize<I3ktde60bb7807>;
"Omnipool": Anonymize<I664h1adohnf3>;
"TransactionPause": Anonymize<I1e1tlbqeorb14>;
"Duster": Anonymize<Ick156bqlvrfqh>;
"OmnipoolWarehouseLM": Anonymize<Ibc0cs73olrilv>;
"OmnipoolLiquidityMining": Anonymize<Ibd5re511t83ta>;
"OTC": Anonymize<I4e560fvgcsh15>;
"CircuitBreaker": Anonymize<Ide4f5v8rj6qj1>;
"Router": Anonymize<I29ur4pnf751bn>;
"DynamicFees": Anonymize<I1c5pfuotbjcgt>;
"Staking": Anonymize<I578f2b006bplq>;
"Stableswap": Anonymize<Icnr5b8h6gcdkg>;
"Bonds": Anonymize<I3ans31bk1md2j>;
"OtcSettlements": Anonymize<I7t4kltkut18qv>;
"LBP": Anonymize<Iafgde8gm8mhvt>;
"XYK": Anonymize<Ii9d7rb1uqb69>;
"Referrals": Anonymize<Idpbcufjvb4ib7>;
"Liquidation": Anonymize<I312semdevh20l>;
"HSM": Anonymize<Iaadqf48tba550>;
"Signet": Anonymize<I4sfp1m01chee2>;
"EthDispenser": Anonymize<I1koed7o2trsh1>;
"Tokens": Anonymize<I6h8581jnodhqc>;
"Currencies": Anonymize<I6qgq0m7o225jg>;
"Vesting": Anonymize<I3jgv45gfqgi7c>;
"EVM": Anonymize<I9k071kk4cn1u8>;
"Ethereum": Anonymize<I510u4q1qqh897>;
"EVMAccounts": Anonymize<Ibh9fj6c5g5isi>;
"XYKLiquidityMining": Anonymize<I479nm08b6ujjd>;
"XYKWarehouseLM": Anonymize<Ibc0cs73olrilv>;
"RelayChainInfo": Anonymize<I3cdbmcrrt95qk>;
"DCA": Enum<{
/**
* The DCA execution is started
*/
"ExecutionStarted": Anonymize<I4rrqp6atse8pe>;
/**
* The DCA is scheduled for next execution
*/
"Scheduled": Anonymize<I4t1p53ss00k9n>;
/**
* The DCA is planned for blocknumber
*/
"ExecutionPlanned": Anonymize<I140nraqvlukpk>;
/**
* The DCA trade is successfully executed
*/
"TradeExecuted": Anonymize<Irs8utdvl0ftp>;
/**
* The DCA trade execution is failed
*/
"TradeFailed": {
"id": number;
"who": SS58String;
"error": Anonymize<Icslglicucmk4>;
};
/**
* The DCA is terminated and completely removed from the chain
*/
"Terminated": {
"id": number;
"who": SS58String;
"error": Anonymize<Icslglicucmk4>;
};
/**
* The DCA is completed and completely removed from the chain
*/
"Completed": Anonymize<Iumh462jqskl8>;
/**
* Randomness generation failed possibly coming from missing data about relay chain
*/
"RandomnessGenerationFailed": {
"block": number;
"error": Anonymize<Icslglicucmk4>;
};
/**
* DCA reserve for the given asset have been unlocked for a user
*/
"ReserveUnlocked": Anonymize<If4ebvclj2ugvi>;
}>;
"Scheduler": Enum<{
/**
* Scheduled some task.
*/
"Scheduled": Anonymize<I5n4sebgkfr760>;
/**
* Canceled some task.
*/
"Canceled": Anonymize<I5n4sebgkfr760>;
/**
* Dispatched some task.
*/
"Dispatched": {
"task": Anonymize<I9jd27rnpm8ttv>;
"id"?: Anonymize<I4s6vifaf8k998>;
"result": Anonymize<Ifet2n3rb6j1p5>;
};
/**
* Set a retry configuration for some task.
*/
"RetrySet": Anonymize<Ia3c82eadg79bj>;
/**
* Cancel a retry configuration for some task.
*/
"RetryCancelled": Anonymize<Ienusoeb625ftq>;
/**
* The call for the provided hash was not found so the task has been aborted.
*/
"CallUnavailable": Anonymize<Ienusoeb625ftq>;
/**
* The given task was unable to be renewed since the agenda is full at that block.
*/
"PeriodicFailed": Anonymize<Ienusoeb625ftq>;
/**
* The given task was unable to be retried since the agenda is full at that block or there
* was not enough weight to reschedule it.
*/
"RetryFailed": Anonymize<Ienusoeb625ftq>;
/**
* The given task can never be executed since it is overweight.
*/
"PermanentlyOverweight": Anonymize<Ienusoeb625ftq>;
/**
* Agenda is incomplete from `when`.
*/
"AgendaIncomplete": Anonymize<Ibtsa3docbr9el>;
}>;
"ParachainSystem": Anonymize<Icbsekf57miplo>;
"PolkadotXcm": Anonymize<If95hivmqmkiku>;
"CumulusXcm": Anonymize<I5uv57c3fffoi9>;
"XcmpQueue": Anonymize<Idsqc7mhp6nnle>;
"MessageQueue": Anonymize<I2kosejppk3jon>;
"MultiBlockMigrations": Anonymize<I94co7vj7h6bo>;
"OrmlXcm": Anonymize<Iclksjsco5l5ll>;
"XTokens": Anonymize<I1kj6lnq7rdnrl>;
"UnknownTokens": Anonymize<Iacevcg18ig1av>;
"CollatorSelection": Anonymize<I4srakrmf0fspo>;
"Session": Anonymize<I6ue0ck5fc3u44>;
"EmaOracle": Anonymize<I89atorvpon2q5>;
"Broadcast": Anonymize<I6ns8af0gujj3o>;
}>;
export type Ia82mnkmeo2rhc = {
"dispatch_info": Anonymize<Ic9s8f85vjtncc>;
};
export type Ic9s8f85vjtncc = {
"weight": Anonymize<I4q39t5hn830vp>;
"class": DispatchClass;
"pays_fee": Anonymize<Iehg04bj71rkd>;
};
export type DispatchClass = Enum<{
"Normal": undefined;
"Operational": undefined;
"Mandatory": undefined;
}>;
export declare const DispatchClass: GetEnum<DispatchClass>;
export type Iehg04bj71rkd = AnonymousEnum<{
"Yes": undefined;
"No": undefined;
}>;
export type Icslglicucmk4 = AnonymousEnum<{
"Other": undefined;
"CannotLookup": undefined;
"BadOrigin": undefined;
"Module": Enum<{
"System": Anonymize<I5o0s7c8q1cc9b>;
"Timestamp": undefined;
"Balances": Anonymize<Idj13i7adlomht>;
"MultiTransactionPayment": Anonymize<Ie1j3ic3ikdair>;
"Treasury": Anonymize<I36uss0m9fpcsf>;
"Utility": Anonymize<I8dt2g2hcrgh36>;
"Preimage": Anonymize<I4cfhml1prt4lu>;
"Identity": Anonymize<Ib8gja1crqq8kd>;
"Democracy": Anonymize<I67neb7i10udig>;
"TechnicalCommittee": Anonymize<I7n7mcmnnfjfl2>;
"Proxy": Anonymize<Iuvt54ei4cehc>;
"Multisig": Anonymize<Ia76qmhhg4jvb9>;
"Uniques": Anonymize<Ie9ou99obd2hgv>;
"StateTrieMigration": Anonymize<I96objte63brjr>;
"ConvictionVoting": Anonymize<Idfa8k8ikssbsf>;
"Referenda": Anonymize<I84u4ul208g742>;
"Whitelist": Anonymize<I15nctscutpbeh>;
"Dispatcher": Anonymize<I46ek0njrbi1ic>;
"AssetRegistry": Anonymize<Iimgfr2idjdm4>;
"Claims": Anonymize<Ieesotejglstun>;
"Omnipool": Anonymize<I9em41t708470c>;
"TransactionPause": Anonymize<Ia4jj5ajguk6ba>;
"Duster": Anonymize<I6jdbk5nr4bpjf>;
"OmnipoolWarehouseLM": Anonymize<I17r8t2a8gf9b7>;
"OmnipoolLiquidityMining": Anonymize<Id6n9g26d9892s>;
"OTC": Anonymize<I1kp1c5al384as>;
"CircuitBreaker": Anonymize<Iaq4kh9h7k1dgk>;
"Router": Anonymize<Ifntb1290uuatm>;
"DynamicFees": Anonymize<Ieg2grdsf1uomi>;
"Staking": Anonymize<Idhbjtd7at0b1k>;
"Stableswap": Anonymize<I8eoaovjr7q1cc>;
"Bonds": Anonymize<Ibj08k850p0j34>;
"OtcSettlements": Anonymize<I1jtj4pc4jltpf>;
"LBP": Anonymize<Ic99uoklag6hh0>;
"XYK": Anonymize<I8kpvqbmec15ck>;
"Referrals": Anonymize<Iaqb0qr3l7g0ub>;
"Liquidation": Anonymize<I48021h4n524pp>;
"HSM": Anonymize<I52mmlvfoqvje5>;
"Signet": Anonymize<I1sckf4ae8hj4k>;
"EthDispenser": Anonymize<Ib9qhk06h0gmnc>;
"Tokens": Anonymize<Icc7o7ep6n36h2>;
"Currencies": Anonymize<Iejalhtid1s0pt>;
"Vesting": Anonymize<Ifkcmnj410r9fh>;
"EVM": Anonymize<I698do45i1f8v4>;
"Ethereum": Anonymize<I1mp6vnoh32l4q>;
"EVMAccounts": Anonymize<Id5703eij0t0r9>;
"XYKLiquidityMining": Anonymize<Ictnue6n7jdr4j>;
"XYKWarehouseLM": Anonymize<I17r8t2a8gf9b7>;
"DCA": Anonymize<I685hla4ddmacn>;
"Scheduler": Anonymize<If7oa8fprnilo5>;
"ParachainSystem": Anonymize<Icjkr35j4tmg7k>;
"PolkadotXcm": Anonymize<I4vcvo9od6afmt>;
"XcmpQueue": Anonymize<Idnnbndsjjeqqs>;
"MessageQueue": Anonymize<I5iupade5ag2dp>;
"MultiBlockMigrations": Anonymize<Iaaqq5jevtahm8>;
"OrmlXcm": Anonymize<Ifv4efjta13rhe>;
"XTokens": Anonymize<I8g8tbk0anjali>;
"UnknownTokens": Anonymize<I5llpdov40t5vu>;
"CollatorSelection": Anonymize<I36bcffk2387dv>;
"Session": Anonymize<I1e07dgbaqd1sq>;
"Aura": undefined;
"EmaOracle": Anonymize<I7rp5ecu8mpg3e>;
"Broadcast": Anonymize<I67a3g81377tev>;
}>;
"ConsumerRemaining": undefined;
"NoProviders": undefined;
"TooManyConsumers": undefined;
"Token": TokenError;
"Arithmetic": ArithmeticError;
"Transactional": TransactionalError;
"Exhausted": undefined;
"Corruption": undefined;
"Unavailable": undefined;
"RootNotAllowed": undefined;
"Trie": Anonymize<Idh4cj79bvroj8>;
}>;
export type I5o0s7c8q1cc9b = AnonymousEnum<{
/**
* The name of specification does not match between the current runtime
* and the new runtime.
*/
"InvalidSpecName": undefined;
/**
* The specification version is not allowed to decrease between the current runtime
* and the new runtime.
*/
"SpecVersionNeedsToIncrease": undefined;
/**
* Failed to extract the runtime version from the new runtime.
*
* Either calling `Core_version` or decoding `RuntimeVersion` failed.
*/
"FailedToExtractRuntimeVersion": undefined;
/**
* Suicide called when the account has non-default composite data.
*/
"NonDefaultComposite": undefined;
/**
* There is a non-zero reference count preventing the account from being purged.
*/
"NonZeroRefCount": undefined;
/**
* The origin filter prevent the call to be dispatched.
*/
"CallFiltered": undefined;
/**
* A multi-block migration is ongoing and prevents the current code from being replaced.
*/
"MultiBlockMigrationsOngoing": undefined;
/**
* No upgrade authorized.
*/
"NothingAuthorized": undefined;
/**
* The submitted code is not authorized.
*/
"Unauthorized": undefined;
}>;
export type Idj13i7adlomht = AnonymousEnum<{
/**
* Vesting balance too high to send value.
*/
"VestingBalance": undefined;
/**
* Account liquidity restrictions prevent withdrawal.
*/
"LiquidityRestrictions": undefined;
/**
* Balance too low to send value.
*/
"InsufficientBalance": undefined;
/**
* Value too low to create account due to existential deposit.
*/
"ExistentialDeposit": undefined;
/**
* Transfer/payment would kill account.
*/
"Expendability": undefined;
/**
* A vesting schedule already exists for this account.
*/
"ExistingVestingSchedule": undefined;
/**
* Beneficiary account must pre-exist.
*/
"DeadAccount": undefined;
/**
* Number of named reserves exceed `MaxReserves`.
*/
"TooManyReserves": undefined;
/**
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
*/
"TooManyHolds": undefined;
/**
* Number of freezes exceed `MaxFreezes`.
*/
"TooManyFreezes": undefined;
/**
* The issuance cannot be modified since it is already deactivated.
*/
"IssuanceDeactivated": undefined;
/**
* The delta cannot be zero.
*/
"DeltaZero": undefined;
}>;
export type Ie1j3ic3ikdair = AnonymousEnum<{
/**
* Selected currency is not supported.
*/
"UnsupportedCurrency": undefined;
/**
* Account balance should be non-zero.
*/
"ZeroBalance": undefined;
/**
* Currency is already in the list of accepted currencies.
*/
"AlreadyAccepted": undefined;
/**
* It is not allowed to add Core Asset as accepted currency. Core asset is accepted by design.
*/
"CoreAssetNotAllowed": undefined;
/**
* Fallback price cannot be zero.
*/
"ZeroPrice": undefined;
/**
* Fallback price was not found.
*/
"FallbackPriceNotFound": undefined;
/**
* Math overflow
*/
"Overflow": undefined;
/**
* It is not allowed to change payment currency of an EVM account.
*/
"EvmAccountNotAllowed": undefined;
/**
* EVM permit expired.
*/
"EvmPermitExpired": undefined;
/**
* EVM permit is invalid.
*/
"EvmPermitInvalid": undefined;
/**
* EVM permit call failed.
*/
"EvmPermitCallExecutionError": undefined;
/**
* EVM permit call failed.
*/
"EvmPermitRunnerError": undefined;
/**
* EVM permit must not affect account nonce.
*/
"EvmPermitNonceInvariantViolated": undefined;
}>;
export type I36uss0m9fpcsf = AnonymousEnum<{
/**
* No proposal, bounty or spend at that index.
*/
"InvalidIndex": undefined;
/**
* Too many approvals in the queue.
*/
"TooManyApprovals": undefined;
/**
* The spend origin is valid but the amount it is allowed to spend is lower than the
* amount to be spent.
*/
"InsufficientPermission": undefined;
/**
* Proposal has not been approved.
*/
"ProposalNotApproved": undefined;
/**
* The balance of the asset kind is not convertible to the balance of the native asset.
*/
"FailedToConvertBalance": undefined;
/**
* The spend has expired and cannot be claimed.
*/
"SpendExpired": undefined;
/**
* The spend is not yet eligible for payout.
*/
"EarlyPayout": undefined;
/**
* The payment has already been attempted.
*/
"AlreadyAttempted": undefined;
/**
* There was some issue with the mechanism of payment.
*/
"PayoutError": undefined;
/**
* The payout was not yet attempted/claimed.
*/
"NotAttempted": undefined;
/**
* The payment has neither failed nor succeeded yet.
*/
"Inconclusive": undefined;
}>;
export type I8dt2g2hcrgh36 = AnonymousEnum<{
/**
* Too many calls batched.
*/
"TooManyCalls": undefined;
}>;
export type I4cfhml1prt4lu = AnonymousEnum<{
/**
* Preimage is too large to store on-chain.
*/
"TooBig": undefined;
/**
* Preimage has already been noted on-chain.
*/
"AlreadyNoted": undefined;
/**
* The user is not authorized to perform this action.
*/
"NotAuthorized": undefined;
/**
* The preimage cannot be removed since it has not yet been noted.
*/
"NotNoted": undefined;
/**
* A preimage may not be removed when there are outstanding requests.
*/
"Requested": undefined;
/**
* The preimage request cannot be removed since no outstanding requests exist.
*/
"NotRequested": undefined;
/**
* More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
*/
"TooMany": undefined;
/**
* Too few hashes were requested to be upgraded (i.e. zero).
*/
"TooFew": undefined;
}>;
export type Ib8gja1crqq8kd = AnonymousEnum<{
/**
* Too many subs-accounts.
*/
"TooManySubAccounts": undefined;
/**
* Account isn't found.
*/
"NotFound": undefined;
/**
* Account isn't named.
*/
"NotNamed": undefined;
/**
* Empty index.
*/
"EmptyIndex": undefined;
/**
* Fee is changed.
*/
"FeeChanged": undefined;
/**
* No identity found.
*/
"NoIdentity": undefined;
/**
* Sticky judgement.
*/
"StickyJudgement": undefined;
/**
* Judgement given.
*/
"JudgementGiven": undefined;
/**
* Invalid judgement.
*/
"InvalidJudgement": undefined;
/**
* The index is invalid.
*/
"InvalidIndex": undefined;
/**
* The target is invalid.
*/
"InvalidTarget": undefined;
/**
* Maximum amount of registrars reached. Cannot add any more.
*/
"TooManyRegistrars": undefined;
/**
* Account ID is already named.
*/
"AlreadyClaimed": undefined;
/**
* Sender is not a sub-account.
*/
"NotSub": undefined;
/**
* Sub-account isn't owned by sender.
*/
"NotOwned": undefined;
/**
* The provided judgement was for a different identity.
*/
"JudgementForDifferentIdentity": undefined;
/**
* Error that occurs when there is an issue paying for judgement.
*/
"JudgementPaymentFailed": undefined;
/**
* The provided suffix is too long.
*/
"InvalidSuffix": undefined;
/**
* The sender does not have permission to issue a username.
*/
"NotUsernameAuthority": undefined;
/**
* The authority cannot allocate any more usernames.
*/
"NoAllocation": undefined;
/**
* The signature on a username was not valid.
*/
"InvalidSignature": undefined;
/**
* Setting this username requires a signature, but none was provided.
*/
"RequiresSignature": undefined;
/**
* The username does not meet the requirements.
*/
"InvalidUsername": undefined;
/**
* The username is already taken.
*/
"UsernameTaken": undefined;
/**
* The requested username does not exist.
*/
"NoUsername": undefined;
/**
* The username cannot be forcefully removed because it can still be accepted.
*/
"NotExpired": undefined;
/**
* The username cannot be removed because it's still in the grace period.
*/
"TooEarly": undefined;
/**
* The username cannot be removed because it is not unbinding.
*/
"NotUnbinding": undefined;
/**
* The username cannot be unbound because it is already unbinding.
*/
"AlreadyUnbinding": undefined;
/**
* The action cannot be performed because of insufficient privileges (e.g. authority
* trying to unbind a username provided by the system).
*/
"InsufficientPrivileges": undefined;
}>;
export type I67neb7i10udig = AnonymousEnum<{
/**
* Value too low
*/
"ValueLow": undefined;
/**
* Proposal does not exist
*/
"ProposalMissing": undefined;
/**
* Cannot cancel the same proposal twice
*/
"AlreadyCanceled": undefined;
/**
* Proposal already made
*/
"DuplicateProposal": undefined;
/**
* Proposal still blacklisted
*/
"ProposalBlacklisted": undefined;
/**
* Next external proposal not simple majority
*/
"NotSimpleMajority": undefined;
/**
* Invalid hash
*/
"InvalidHash": undefined;
/**
* No external proposal
*/
"NoProposal": undefined;
/**
* Identity may not veto a proposal twice
*/
"AlreadyVetoed": undefined;
/**
* Vote given for invalid referendum
*/
"ReferendumInvalid": undefined;
/**
* No proposals waiting
*/
"NoneWaiting": undefined;
/**
* The given account did not vote on the referendum.
*/
"NotVoter": undefined;
/**
* The actor has no permission to conduct the action.
*/
"NoPermission": undefined;
/**
* The account is already delegating.
*/
"AlreadyDelegating": undefined;
/**
* Too high a balance was provided that the account cannot afford.
*/
"InsufficientFunds": undefined;
/**
* The account is not currently delegating.
*/
"NotDelegating": undefined;
/**
* The account currently has votes attached to it and the operation cannot succeed until
* these are removed, either through `unvote` or `reap_vote`.
*/
"VotesExist": undefined;
/**
* The instant referendum origin is currently disallowed.
*/
"InstantNotAllowed": undefined;
/**
* Delegation to oneself makes no sense.
*/
"Nonsense": undefined;
/**
* Invalid upper bound.
*/
"WrongUpperBound": undefined;
/**
* Maximum number of votes reached.
*/
"MaxVotesReached": undefined;
/**
* Maximum number of items reached.
*/
"TooMany": undefined;
/**
* Voting period too low
*/
"VotingPeriodLow": undefined;
/**
* The preimage does not exist.
*/
"PreimageNotExist": undefined;
}>;
export type I7n7mcmnnfjfl2 = AnonymousEnum<{
/**
* Account is not a member
*/
"NotMember": undefined;
/**
* Duplicate proposals not allowed
*/
"DuplicateProposal": undefined;
/**
* Proposal must exist
*/
"ProposalMissing": undefined;
/**
* Mismatched index
*/
"WrongIndex": undefined;
/**
* Duplicate vote ignored
*/
"DuplicateVote": undefined;
/**
* Members are already initialized!
*/
"AlreadyInitialized": undefined;
/**
* The close call was made too early, before the end of the voting.
*/
"TooEarly": undefined;
/**
* There can only be a maximum of `MaxProposals` active proposals.
*/
"TooManyProposals": undefined;
/**
* The given weight bound for the proposal was too low.
*/
"WrongProposalWeight": undefined;
/**
* The given length bound for the proposal was too low.
*/
"WrongProposalLength": undefined;
/**
* Prime account is not a member
*/
"PrimeAccountNotMember": undefined;
/**
* Proposal is still active.
*/
"ProposalActive": undefined;
}>;
export type Iuvt54ei4cehc = AnonymousEnum<{
/**
* There are too many proxies registered or too many announcements pending.
*/
"TooMany": undefined;
/**
* Proxy registration not found.
*/
"NotFound": undefined;
/**
* Sender is not a proxy of the account to be proxied.
*/
"NotProxy": undefined;
/**
* A call which is incompatible with the proxy type's filter was attempted.
*/
"Unproxyable": undefined;
/**
* Account is already a proxy.
*/
"Duplicate": undefined;
/**
* Call may not be made by proxy because it may escalate its privileges.
*/
"NoPermission": undefined;
/**
* Announcement, if made at all, was made too recently.
*/
"Unannounced": undefined;
/**
* Cannot add self as proxy.
*/
"NoSelfProxy": undefined;
}>;
export type Ia76qmhhg4jvb9 = AnonymousEnum<{
/**
* Threshold must be 2 or greater.
*/
"MinimumThreshold": undefined;
/**
* Call is already approved by this signatory.
*/
"AlreadyApproved": undefined;
/**
* Call doesn't need any (more) approvals.
*/
"NoApprovalsNeeded": undefined;
/**
* There are too few signatories in the list.
*/
"TooFewSignatories": undefined;
/**
* There are too many signatories in the list.
*/
"TooManySignatories": undefined;
/**
* The signatories were provided out of order; they should be ordered.
*/
"SignatoriesOutOfOrder": undefined;
/**
* The sender was contained in the other signatories; it shouldn't be.
*/
"SenderInSignatories": undefined;
/**
* Multisig operation not found in storage.
*/
"NotFound": undefined;
/**
* Only the account that originally created the multisig is able to cancel it or update
* its deposits.
*/
"NotOwner": undefined;
/**
* No timepoint was given, yet the multisig operation is already underway.
*/
"NoTimepoint": undefined;
/**
* A different timepoint was given to the multisig operation that is underway.
*/
"WrongTimepoint": undefined;
/**
* A timepoint was given, yet no multisig operation is underway.
*/
"UnexpectedTimepoint": undefined;
/**
* The maximum weight information provided was too low.
*/
"MaxWeightTooLow": undefined;
/**
* The data to be stored is already stored.
*/
"AlreadyStored": undefined;
}>;
export type Ie9ou99obd2hgv = AnonymousEnum<{
/**
* The signing account has no permission to do the operation.
*/
"NoPermission": undefined;
/**
* The given item ID is unknown.
*/
"UnknownCollection": undefined;
/**
* The item ID has already been used for an item.
*/
"AlreadyExists": undefined;
/**
* The owner turned out to be different to what was expected.
*/
"WrongOwner": undefined;
/**
* Invalid witness data given.
*/
"BadWitness": undefined;
/**
* The item ID is already taken.
*/
"InUse": undefined;
/**
* The item or collection is frozen.
*/
"Frozen": undefined;
/**
* The delegate turned out to be different to what was expected.
*/
"WrongDelegate": undefined;
/**
* There is no delegate approved.
*/
"NoDelegate": undefined;
/**
* No approval exists that would allow the transfer.
*/
"Unapproved": undefined;
/**
* The named owner has not signed ownership of the collection is acceptable.
*/
"Unaccepted": undefined;
/**
* The item is locked.
*/
"Locked": undefined;
/**
* All items have been minted.
*/
"MaxSupplyReached": undefined;
/**
* The max supply has already been set.
*/
"MaxSupplyAlreadySet": undefined;
/**
* The provided max supply is less to the amount of items a collection already has.
*/
"MaxSupplyTooSmall": undefined;
/**
* The given item ID is unknown.
*/
"UnknownItem": undefined;
/**
* Item is not for sale.
*/
"NotForSale": undefined;
/**
* The provided bid is too low.
*/
"BidTooLow": undefined;
/**
* No metadata is found.
*/
"NoMetadata": undefined;
/**
* Wrong metadata key/value bytes supplied.
*/
"WrongMetadata": undefined;
/**
* An attribute is not found.
*/
"AttributeNotFound": undefined;
/**
* Wrong attribute key/value bytes supplied.
*/
"WrongAttribute": undefined;
}>;
export type I96objte63brjr = AnonymousEnum<{
/**
* Max signed limits not respected.
*/
"MaxSignedLimits": undefined;
/**
* A key was longer than the configured maximum.
*
* This means that the migration halted at the current [`Progress`] and
* can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
* Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
* The value should only be increased to avoid a storage migration for the currently
* stored [`crate::Progress::LastKey`].
*/
"KeyTooLong": undefined;
/**
* submitter does not have enough funds.
*/
"NotEnoughFunds": undefined;
/**
* Bad witness data provided.
*/
"BadWitness": undefined;
/**
* Signed migration is not allowed because the maximum limit is not set yet.
*/
"SignedMigrationNotAllowed": undefined;
/**
* Bad child root provided.
*/
"BadChildRoot": undefined;
}>;
export type Idfa8k8ikssbsf = AnonymousEnum<{
/**
* Poll is not ongoing.
*/
"NotOngoing": undefined;
/**
* The given account did not vote on the poll.
*/
"NotVoter": undefined;
/**
* The actor has no permission to conduct the action.
*/
"NoPermission": undefined;
/**
* The actor has no permission to conduct the action right now but will do in the future.
*/
"NoPermissionYet": undefined;
/**
* The account is already delegating.
*/
"AlreadyDelegating": undefined;
/**
* The account currently has votes attached to it and the operation cannot succeed until
* these are removed through `remove_vote`.
*/
"AlreadyVoting": undefined;
/**
* Too high a balance was provided that the account cannot afford.
*/
"InsufficientFunds": undefined;
/**
* The account is not currently delegating.
*/
"NotDelegating": undefined;
/**
* Delegation to oneself makes no sense.
*/
"Nonsense": undefined;
/**
* Maximum number of votes reached.
*/
"MaxVotesReached": undefined;
/**
* The class must be supplied since it is not easily determinable from the state.
*/
"ClassNeeded": undefined;
/**
* The class ID supplied is invalid.
*/
"BadClass": undefined;
}>;
export type I84u4ul208g742 = AnonymousEnum<{
/**
* Referendum is not ongoing.
*/
"NotOngoing": undefined;
/**
* Referendum's decision deposit is already paid.
*/
"HasDeposit": undefined;
/**
* The track identifier given was invalid.
*/
"BadTrack": undefined;
/**
* There are already a full complement of referenda in progress for this track.
*/
"Full": undefined;
/**
* The queue of the track is empty.
*/
"QueueEmpty": undefined;
/**
* The referendum index provided is invalid in this context.
*/
"BadReferendum": undefined;
/**
* There was nothing to do in the advancement.
*/
"NothingToDo": undefined;
/**
* No track exists for the proposal origin.
*/
"NoTrack": undefined;
/**
* Any deposit cannot be refunded until after the decision is over.
*/
"Unfinished": undefined;
/**
* The deposit refunder is not the depositor.
*/
"NoPermission": undefined;
/**
* The deposit cannot be refunded since none was made.
*/
"NoDeposit": undefined;
/**
* The referendum status is invalid for this operation.
*/
"BadStatus": undefined;
/**
* The preimage does not exist.
*/
"PreimageNotExist": undefined;
/**
* The preimage is stored with a different length than the one provided.
*/
"PreimageStoredWithDifferentLength": undefined;
}>;
export type I15nctscutpbeh = AnonymousEnum<{
/**
* The preimage of the call hash could not be loaded.
*/
"UnavailablePreImage": undefined;
/**
* The call could not be decoded.
*/
"UndecodableCall": undefined;
/**
* The weight of the decoded call was higher than the witness.
*/
"InvalidCallWeightWitness": undefined;
/**
* The call was not whitelisted.
*/
"CallIsNotWhitelisted": undefined;
/**
* The call was already whitelisted; No-Op.
*/
"CallAlreadyWhitelisted": undefined;
}>;
export type I46ek0njrbi1ic = AnonymousEnum<{
/**
* The EVM call execution failed. This happens when the EVM returns an exit reason
* other than `ExitSucceed(Returned)` or `ExitSucceed(Stopped)`.
*/
"EvmCallFailed": undefined;
/**
* The provided call is not an EVM call. This extrinsic only accepts `pallet_evm::Call::call`.
*/
"NotEvmCall": undefined;
/**
* The EVM call ran out of gas.
*/
"EvmOutOfGas": undefined;
/**
* The EVM call resulted in an arithmetic overflow or underflow.
*/
"EvmArithmeticOverflowOrUnderflow": undefined;
/**
* Aave - supply cap has been exceeded.
*/
"AaveSupplyCapExceeded": undefined;
/**
* Aave - borrow cap has been exceeded.
*/
"AaveBorrowCapExceeded": undefined;
/**
* Aave - health factor is not below the threshold.
*/
"AaveHealthFactorNotBelowThreshold": undefined;
/**
* Aave - health factor is lesser than the liquidation threshold
*/
"AaveHealthFactorLowerThanLiquidationThreshold": undefined;
/**
* Aave - there is not enough collateral to cover a new borrow
*/
"CollateralCannotCoverNewBorrow": undefined;
/**
* Aave - the reserve is paused and no operations are allowed
*/
"AaveReservePaused": undefined;
}>;
export type Iimgfr2idjdm4 = AnonymousEnum<{
/**
* Asset ID is not available. This only happens when it reaches the MAX value of given id type.
*/
"NoIdAvailable": undefined;
/**
* Invalid asset name or symbol.
*/
"AssetNotFound": undefined;
/**
* Length of name or symbol is less than min. length.
*/
"TooShort": undefined;
/**
* Asset's symbol can't contain whitespace characters .
*/
"InvalidSymbol": undefined;
/**
* Asset ID is not registered in the asset-registry.
*/
"AssetNotRegistered": undefined;
/**
* Asset is already registered.
*/
"AssetAlreadyRegistered": undefined;
/**
* Incorrect number of assets provided to create shared asset.
*/
"InvalidSharedAssetLen": undefined;
/**
* Cannot update asset location.
*/
"CannotUpdateLocation": undefined;
/**
* Selected asset id is out of reserved range.
*/
"NotInReservedRange": undefined;
/**
* Location already registered with different asset.
*/
"LocationAlreadyRegistered": undefined;
/**
* Origin is forbidden to set/update value.
*/
"Forbidden": undefined;
/**
* Balance too low.
*/
"InsufficientBalance": undefined;
/**
* Sufficient assets can't be changed to insufficient.
*/
"ForbiddenSufficiencyChange": undefined;
/**
* Asset is already banned.
*/
"AssetAlreadyBanned": undefined;
/**
* Asset is not banned.
*/
"AssetNotBanned": undefined;
}>;
export type Ieesotejglstun = AnonymousEnum<{
/**
* Ethereum signature is not valid
*/
"InvalidEthereumSignature": undefined;
/**
* Claim is not valid
*/
"NoClaimOrAlreadyClaimed": undefined;
/**
* Value reached maximum and cannot be incremented further
*/
"BalanceOverflow": undefined;
}>;
export type I9em41t708470c = AnonymousEnum<{
/**
* Balance too low
*/
"InsufficientBalance": undefined;
/**
* Asset is already in omnipool
*/
"AssetAlreadyAdded": undefined;
/**
* Asset is not in omnipool
*/
"AssetNotFound": undefined;
/**
* Failed to add token to Omnipool due to insufficient initial liquidity.
*/
"MissingBalance": undefined;
/**
* Invalid initial asset price.
*/
"InvalidInitialAssetPrice": undefined;
/**
* Slippage protection - minimum limit has not been reached.
*/
"BuyLimitNotReached": undefined;
/**
* Slippage protection - maximum limit has been exceeded.
*/
"SellLimitExceeded": undefined;
/**
* Position has not been found.
*/
"PositionNotFound": undefined;
/**
* Insufficient shares in position
*/
"InsufficientShares": undefined;
/**
* Asset is not allowed to be traded.
*/
"NotAllowed": undefined;
/**
* Signed account is not owner of position instance.
*/
"Forbidden": undefined;
/**
* Asset weight cap has been exceeded.
*/
"AssetWeightCapExceeded": undefined;
/**
* Asset is not registered in asset registry
*/
"AssetNotRegistered": undefined;
/**
* Provided liquidity is below minimum allowed limit
*/
"InsufficientLiquidity": undefined;
/**
* Traded amount is below minimum allowed limit
*/
"InsufficientTradingAmount": undefined;
/**
* Sell or buy with same asset ids is not allowed.
*/
"SameAssetTradeNotAllowed": undefined;
/**
* Hub asset reserve update after trade resulted in unexpected Decrease.
*/
"HubAssetUpdateError": undefined;
/**
* Amount of shares provided cannot be 0.
*/
"InvalidSharesAmount": undefined;
/**
* Hub asset is only allowed to be sold.
*/
"InvalidHubAssetTradableState": undefined;
/**
* Asset is not allowed to be refunded.
*/
"AssetRefundNotAllowed": undefined;
/**
* Max fraction of asset to buy has been exceeded.
*/
"MaxOutRatioExceeded": undefined;
/**
* Max fraction of asset to sell has been exceeded.
*/
"MaxInRatioExceeded": undefined;
/**
* Max allowed price difference has been exceeded.
*/
"PriceDifferenceTooHigh": undefined;
/**
* Invalid oracle price - division by zero.
*/
"InvalidOraclePrice": undefined;
/**
* Failed to calculate withdrawal fee.
*/
"InvalidWithdrawalFee": undefined;
/**
* More than allowed amount of fee has been transferred.
*/
"FeeOverdraft": undefined;
/**
* Token cannot be removed from Omnipool due to shares still owned by other users.
*/
"SharesRemaining": undefined;
/**
* Token cannot be removed from Omnipool because asset is not frozen.
*/
"AssetNotFrozen": undefined;
/**
* Calculated amount out from sell trade is zero.
*/
"ZeroAmountOut": undefined;
/**
* Existential deposit of asset is not available.
*/
"ExistentialDepositNotAvailable": undefined;
/**
* Slippage protection
*/
"SlippageLimit": undefined;
/**
* Extra protocol fee has not been consumed.
*/
"ProtocolFeeNotConsumed": undefined;
/**
* Slip fee configuration exceeds the allowed maximum (50%).
*/
"MaxSlipFeeTooHigh": undefined;
}>;
export type Ia4jj5ajguk6ba = AnonymousEnum<{
/**
* can not pause
*/
"CannotPause": undefined;
/**
* invalid character encoding
*/
"InvalidCharacter": undefined;
/**
* pallet name or function name is too long
*/
"NameTooLong": undefined;
}>;
export type I6jdbk5nr4bpjf = AnonymousEnum<{
/**
* Account is excluded from dusting.
*/
"AccountWhitelisted": undefined;
/**
* Account is not present in the non-dustable list.
*/
"AccountNotWhitelisted": undefined;
/**
* The balance is zero.
*/
"ZeroBalance": undefined;
/**
* The balance was not fully dusted, there is some leftover on the account. Normally, it should never happen.
*/
"NonZeroBalance": undefined;
/**
* The balance is sufficient to keep account open.
*/
"BalanceSufficient": undefined;
/**
* Reserve account is not set.
*/
"ReserveAccountNotSet": undefined;
}>;
export type I17r8t2a8gf9b7 = AnonymousEnum<{
/**
* Global farm does not exist.
*/
"GlobalFarmNotFound": undefined;
/**
* Yield farm does not exist.
*/
"YieldFarmNotFound": undefined;
/**
* Multiple claims in the same period is not allowed.
*/
"DoubleClaimInPeriod": undefined;
/**
* Liquidity mining is canceled.
*/
"LiquidityMiningCanceled": undefined;
/**
* Liquidity mining is not canceled.
*/
"LiquidityMiningIsActive": undefined;
/**
* Liquidity mining is in `active` or `terminated` state and action cannot be completed.
*/
"LiquidityMiningIsNotStopped": undefined;
/**
* Account is not allowed to perform action.
*/
"Forbidden": undefined;
/**
* Yield farm multiplier can't be 0.
*/
"InvalidMultiplier": undefined;
/**
* Yield farm with given `amm_pool_id` already exists in global farm.
*/
"YieldFarmAlreadyExists": undefined;
/**
* Loyalty curve's initial reward percentage is not valid. Valid range is: [0, 1).
*/
"InvalidInitialRewardPercentage": undefined;
/**
* One or more yield farms exist in global farm.
*/
"GlobalFarmIsNotEmpty": undefined;
/**
* Farm's `incentivized_asset` is missing in provided asset pair.
*/
"MissingIncentivizedAsset": undefined;
/**
* Reward currency balance is not sufficient.
*/
"InsufficientRewardCurrencyBalance": undefined;
/**
* Blocks per period can't be 0.
*/
"InvalidBlocksPerPeriod": undefined;
/**
* Yield per period can't be 0.
*/
"InvalidYieldPerPeriod": undefined;
/**
* Total rewards is less than `MinTotalFarmRewards`.
*/
"InvalidTotalRewards": undefined;
/**
* Planned yielding periods is less than `MinPlannedYieldingPeriods`.
*/
"InvalidPlannedYieldingPeriods": undefined;
/**
* Maximum number of locks reached for deposit.
*/
"MaxEntriesPerDeposit": undefined;
/**
* Trying to lock LP shares into already locked yield farm.
*/
"DoubleLock": undefined;
/**
* Yield farm entry doesn't exist for given deposit.
*/
"YieldFarmEntryNotFound": undefined;
/**
* Max number of yield farms in global farm was reached. Global farm can't accept new
* yield farms until some yield farm is not removed from storage.
*/
"GlobalFar