@paraspell/descriptors 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +54 -0
- package/dist/ahp.d.ts +3428 -0
- package/dist/ahp_metadata-CN_MTTeF.js +3 -0
- package/dist/ahp_metadata.d.ts +2 -0
- package/dist/bridgeHub.d.ts +239 -0
- package/dist/bridgeHub_metadata-Li64-Pg1.js +3 -0
- package/dist/bridgeHub_metadata.d.ts +2 -0
- package/dist/common-types.d.ts +25850 -0
- package/dist/common.d.ts +1 -0
- package/dist/descriptors-C7Rb0-iv.js +28 -0
- package/dist/descriptors.d.ts +4 -0
- package/dist/hydration.d.ts +431 -0
- package/dist/hydration_metadata-0UTkhPaM.js +3 -0
- package/dist/hydration_metadata.d.ts +2 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +144 -0
- package/dist/metadataTypes-uOlhw_Gc.js +3 -0
- package/dist/metadataTypes.d.ts +2 -0
- package/dist/moonbeam.d.ts +305 -0
- package/dist/moonbeam_metadata-BYLNx4wH.js +3 -0
- package/dist/moonbeam_metadata.d.ts +2 -0
- package/package.json +47 -0
package/dist/common.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const toBinary: (base64: string) => Uint8Array<ArrayBuffer>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const [minified, commonTrees, tokens] = JSON.parse(`[{"ahp":{"44":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0},"45":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":{"send":1,"teleport_assets":2,"reserve_transfer_assets":2,"execute":3,"force_xcm_version":4,"force_default_xcm_version":5,"force_subscribe_version_notify":6,"force_unsubscribe_version_notify":6,"limited_reserve_transfer_assets":7,"limited_teleport_assets":7,"force_suspension":8,"transfer_assets":7,"claim_assets":9,"transfer_assets_using_type_and_then":10,"add_authorized_alias":11,"remove_authorized_alias":12,"remove_all_authorized_aliases":13},"13":0,"14":0,"15":{"batch":15,"as_derivative":16,"batch_all":15,"dispatch_as":17,"force_batch":15,"with_weight":18,"if_else":19,"dispatch_as_fallible":17},"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0},"46":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0},"47":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0},"48":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0},"49":{"XcmPaymentApi":{"query_acceptable_payment_assets":22,"query_xcm_weight":23,"query_weight_to_asset_fee":24,"query_delivery_fees":25},"DryRunApi":{"dry_run_call":26,"dry_run_xcm":27},"AssetConversionApi":{"quote_price_tokens_for_exact_tokens":28,"quote_price_exact_tokens_for_tokens":28,"get_reserves":29}}},"bridgeHub":{"44":{"50":{"OperatingMode":30}},"45":{"50":0},"46":{"50":0},"47":{"50":0},"48":{"50":0},"49":{}},"hydration":{"44":{"51":{"AccountCurrencyMap":31}},"45":{"51":0},"46":{"51":0},"47":{"51":0},"48":{"51":0},"49":{}},"moonbeam":{"44":{"52":{"AccountStorages":32}},"45":{"52":0},"46":{"52":0},"47":{"52":0},"48":{"52":0},"49":{}}},[{}],["System","ParachainSystem","Preimage","Scheduler","MultiBlockMigrations","Balances","Vesting","Claims","Dap","CollatorSelection","Session","XcmpQueue","PolkadotXcm","MessageQueue","SnowbridgeSystemFrontend","Utility","Multisig","Proxy","Indices","Assets","Uniques","Nfts","ForeignAssets","PoolAssets","AssetConversion","Treasury","ConvictionVoting","Referenda","Whitelist","Bounties","ChildBounties","AssetRate","MultiAssetBounties","StateTrieMigration","NominationPools","VoterList","DelegatedStaking","StakingRcClient","MultiBlockElection","MultiBlockElectionSigned","Staking","Revive","AssetsPrecompilesPermit","AhOps","storage","tx","events","constants","viewFns","apis","EthereumOutboundQueue","MultiTransactionPayment","EVM"]]`);
|
|
2
|
+
const replaceTokens = (obj) => Object.fromEntries(
|
|
3
|
+
Object.entries(obj).map(([key, value]) => {
|
|
4
|
+
const unwrappedValue = typeof value === "object" ? replaceTokens(value) : value;
|
|
5
|
+
const numericKey = Number(key);
|
|
6
|
+
if (Number.isNaN(numericKey)) {
|
|
7
|
+
return [key, unwrappedValue];
|
|
8
|
+
}
|
|
9
|
+
return [tokens[numericKey], unwrappedValue];
|
|
10
|
+
})
|
|
11
|
+
);
|
|
12
|
+
const tokenizedCommonTrees = commonTrees.map(replaceTokens);
|
|
13
|
+
const unwrap = (obj, depth) => depth === 0 ? obj : Object.fromEntries(
|
|
14
|
+
Object.entries(obj).map(([key, value]) => [
|
|
15
|
+
key,
|
|
16
|
+
unwrap(
|
|
17
|
+
typeof value === "object" ? value : tokenizedCommonTrees[value],
|
|
18
|
+
depth - 1
|
|
19
|
+
)
|
|
20
|
+
])
|
|
21
|
+
);
|
|
22
|
+
const getChainDescriptors = (key) => unwrap(replaceTokens(minified[key]), 2);
|
|
23
|
+
const Ahp = getChainDescriptors("ahp");
|
|
24
|
+
const BridgeHub = getChainDescriptors("bridgeHub");
|
|
25
|
+
const Hydration = getChainDescriptors("hydration");
|
|
26
|
+
const Moonbeam = getChainDescriptors("moonbeam");
|
|
27
|
+
|
|
28
|
+
export { Ahp, BridgeHub, Hydration, Moonbeam };
|
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
import { StorageDescriptor, PlainDescriptor, Enum, ApisFromDef, QueryFromPalletsDef, TxFromPalletsDef, EventsFromPalletsDef, ErrorsFromPalletsDef, ConstFromPalletsDef, ViewFnsFromPalletsDef, SS58String, FixedSizeArray } from "polkadot-api";
|
|
2
|
+
import type { I6aupevm31ir9a } from "./common-types";
|
|
3
|
+
type AnonymousEnum<T extends {}> = T & {
|
|
4
|
+
__anonymous: true;
|
|
5
|
+
};
|
|
6
|
+
type MyTuple<T> = [T, ...T[]];
|
|
7
|
+
type SeparateUndefined<T> = undefined extends T ? undefined | Exclude<T, undefined> : T;
|
|
8
|
+
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> ? {
|
|
9
|
+
[K in keyof T]: T[K];
|
|
10
|
+
} : T extends [] ? [] : T extends FixedSizeArray<infer L, infer T> ? number extends L ? Array<T> : FixedSizeArray<L, T> : {
|
|
11
|
+
[K in keyof T & string]: T[K];
|
|
12
|
+
}>;
|
|
13
|
+
type IStorage = {
|
|
14
|
+
MultiTransactionPayment: {
|
|
15
|
+
/**
|
|
16
|
+
* Account currency map
|
|
17
|
+
*/
|
|
18
|
+
AccountCurrencyMap: StorageDescriptor<[Key: SS58String], number, true, never>;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
type ICalls = {};
|
|
22
|
+
type IEvent = {};
|
|
23
|
+
type IError = {};
|
|
24
|
+
type IConstants = {};
|
|
25
|
+
type IViewFns = {};
|
|
26
|
+
type IRuntimeCalls = {};
|
|
27
|
+
export type HydrationDispatchError = unknown;
|
|
28
|
+
type IAsset = PlainDescriptor<void>;
|
|
29
|
+
export type HydrationExtensions = {};
|
|
30
|
+
type PalletsTypedef = {
|
|
31
|
+
__storage: IStorage;
|
|
32
|
+
__tx: ICalls;
|
|
33
|
+
__event: IEvent;
|
|
34
|
+
__error: IError;
|
|
35
|
+
__const: IConstants;
|
|
36
|
+
__view: IViewFns;
|
|
37
|
+
};
|
|
38
|
+
export type Hydration = {
|
|
39
|
+
descriptors: {
|
|
40
|
+
pallets: PalletsTypedef;
|
|
41
|
+
apis: IRuntimeCalls;
|
|
42
|
+
} & Promise<any>;
|
|
43
|
+
metadataTypes: Promise<Uint8Array>;
|
|
44
|
+
asset: IAsset;
|
|
45
|
+
extensions: HydrationExtensions;
|
|
46
|
+
getMetadata: () => Promise<Uint8Array>;
|
|
47
|
+
genesis: string | undefined;
|
|
48
|
+
};
|
|
49
|
+
declare const _allDescriptors: Hydration;
|
|
50
|
+
export default _allDescriptors;
|
|
51
|
+
export type HydrationApis = ApisFromDef<IRuntimeCalls>;
|
|
52
|
+
export type HydrationQueries = QueryFromPalletsDef<PalletsTypedef>;
|
|
53
|
+
export type HydrationCalls = TxFromPalletsDef<PalletsTypedef>;
|
|
54
|
+
export type HydrationEvents = EventsFromPalletsDef<PalletsTypedef>;
|
|
55
|
+
export type HydrationErrors = ErrorsFromPalletsDef<PalletsTypedef>;
|
|
56
|
+
export type HydrationConstants = ConstFromPalletsDef<PalletsTypedef>;
|
|
57
|
+
export type HydrationViewFns = ViewFnsFromPalletsDef<PalletsTypedef>;
|
|
58
|
+
export type HydrationCallData = Anonymize<I6aupevm31ir9a> & {
|
|
59
|
+
value: {
|
|
60
|
+
type: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
type AllInteractions = {
|
|
64
|
+
storage: {
|
|
65
|
+
System: ['Account', 'ExtrinsicCount', 'InherentsApplied', 'BlockWeight', 'AllExtrinsicsLen', 'BlockHash', 'ExtrinsicData', 'Number', 'ParentHash', 'Digest', 'Events', 'EventCount', 'EventTopics', 'LastRuntimeUpgrade', 'UpgradedToU32RefCount', 'UpgradedToTripleRefCount', 'ExecutionPhase', 'AuthorizedUpgrade', 'ExtrinsicWeightReclaimed'];
|
|
66
|
+
Timestamp: ['Now', 'DidUpdate'];
|
|
67
|
+
Balances: ['TotalIssuance', 'InactiveIssuance', 'Account', 'Locks', 'Reserves', 'Holds', 'Freezes'];
|
|
68
|
+
TransactionPayment: ['NextFeeMultiplier', 'StorageVersion'];
|
|
69
|
+
MultiTransactionPayment: ['AccountCurrencyMap', 'AcceptedCurrencies', 'AcceptedCurrencyPrice', 'TransactionCurrencyOverride'];
|
|
70
|
+
Treasury: ['ProposalCount', 'Proposals', 'Deactivated', 'Approvals', 'SpendCount', 'Spends', 'LastSpendPeriod'];
|
|
71
|
+
Preimage: ['StatusFor', 'RequestStatusFor', 'PreimageFor'];
|
|
72
|
+
Identity: ['IdentityOf', 'UsernameOf', 'SuperOf', 'SubsOf', 'Registrars', 'AuthorityOf', 'UsernameInfoOf', 'PendingUsernames', 'UnbindingUsernames'];
|
|
73
|
+
Democracy: ['PublicPropCount', 'PublicProps', 'DepositOf', 'ReferendumCount', 'LowestUnbaked', 'ReferendumInfoOf', 'VotingOf', 'LastTabledWasExternal', 'NextExternal', 'Blacklist', 'Cancellations', 'MetadataOf'];
|
|
74
|
+
TechnicalCommittee: ['Proposals', 'ProposalOf', 'CostOf', 'Voting', 'ProposalCount', 'Members', 'Prime'];
|
|
75
|
+
Proxy: ['Proxies', 'Announcements'];
|
|
76
|
+
Multisig: ['Multisigs'];
|
|
77
|
+
Uniques: ['Class', 'OwnershipAcceptance', 'Account', 'ClassAccount', 'Asset', 'ClassMetadataOf', 'InstanceMetadataOf', 'Attribute', 'ItemPriceOf', 'CollectionMaxSupply'];
|
|
78
|
+
StateTrieMigration: ['MigrationProcess', 'AutoLimits', 'SignedMigrationMaxLimits'];
|
|
79
|
+
ConvictionVoting: ['VotingFor', 'ClassLocksFor'];
|
|
80
|
+
Referenda: ['ReferendumCount', 'ReferendumInfoFor', 'TrackQueue', 'DecidingCount', 'MetadataOf'];
|
|
81
|
+
Whitelist: ['WhitelistedCall'];
|
|
82
|
+
Dispatcher: ['AaveManagerAccount', 'ExtraGas', 'LastEvmCallExitReason'];
|
|
83
|
+
AssetRegistry: ['Assets', 'NextAssetId', 'AssetIds', 'AssetLocations', 'BannedAssets', 'LocationAssets', 'ExistentialDepositCounter'];
|
|
84
|
+
Claims: ['Claims'];
|
|
85
|
+
GenesisHistory: ['PreviousChain'];
|
|
86
|
+
CollatorRewards: ['Collators'];
|
|
87
|
+
Omnipool: ['Assets', 'HubAssetTradability', 'Positions', 'NextPositionId', 'SlipFee', 'SlipFeeHubReserveAtBlockStart', 'SlipFeeDelta'];
|
|
88
|
+
TransactionPause: ['PausedTransactions'];
|
|
89
|
+
Duster: ['AccountWhitelist'];
|
|
90
|
+
OmnipoolWarehouseLM: ['FarmSequencer', 'DepositSequencer', 'GlobalFarm', 'YieldFarm', 'Deposit', 'ActiveYieldFarm'];
|
|
91
|
+
OmnipoolLiquidityMining: ['OmniPositionId'];
|
|
92
|
+
OTC: ['NextOrderId', 'Orders'];
|
|
93
|
+
CircuitBreaker: ['TradeVolumeLimitPerAsset', 'AllowedTradeVolumeLimitPerAsset', 'LiquidityAddLimitPerAsset', 'AllowedAddLiquidityAmountPerAsset', 'AssetLockdownState', 'LiquidityRemoveLimitPerAsset', 'AllowedRemoveLiquidityAmountPerAsset', 'GlobalWithdrawLimitConfig', 'WithdrawLimitAccumulator', 'WithdrawLockdownUntil', 'EgressAccounts', 'IgnoreWithdrawLimit', 'GlobalAssetOverrides', 'XcmEgressBuffer'];
|
|
94
|
+
Router: ['Routes'];
|
|
95
|
+
DynamicFees: ['AssetFee', 'AssetFeeConfiguration'];
|
|
96
|
+
Staking: ['Staking', 'Positions', 'NextPositionId', 'Votes', 'VotesRewarded', 'PositionVotes', 'ProcessedVotes', 'SixSecBlocksSince'];
|
|
97
|
+
Stableswap: ['Pools', 'PoolPegs', 'AssetTradability', 'PoolSnapshots', 'BlockFee'];
|
|
98
|
+
Bonds: ['BondIds', 'Bonds'];
|
|
99
|
+
LBP: ['PoolData', 'FeeCollectorWithAsset'];
|
|
100
|
+
XYK: ['ShareToken', 'TotalLiquidity', 'PoolAssets'];
|
|
101
|
+
Referrals: ['ReferralCodes', 'ReferralAccounts', 'LinkedAccounts', 'ReferrerShares', 'TraderShares', 'TotalShares', 'Referrer', 'AssetRewards', 'PendingConversions', 'CounterForPendingConversions'];
|
|
102
|
+
Liquidation: ['BorrowingContract'];
|
|
103
|
+
HSM: ['Collaterals', 'HollarAmountReceived', 'FlashMinter'];
|
|
104
|
+
Parameters: ['IsTestnet', 'RelayParentOffsetOverride'];
|
|
105
|
+
Signet: ['SignetConfig'];
|
|
106
|
+
EthDispenser: ['DispenserConfig', 'UsedRequestIds'];
|
|
107
|
+
GigaHdx: ['Stakes', 'TotalLocked', 'GigaHdxPoolContract', 'PendingUnstakes'];
|
|
108
|
+
GigaHdxRewards: ['ReferendaTotalWeightedVotes', 'ReferendumTracks', 'ReferendaRewardPool', 'UserVoteRecords', 'UserVoteCount', 'PendingRewards'];
|
|
109
|
+
Tokens: ['TotalIssuance', 'Locks', 'Accounts', 'Reserves'];
|
|
110
|
+
Vesting: ['VestingSchedules'];
|
|
111
|
+
EVM: ['AccountCodes', 'AccountCodesMetadata', 'AccountStorages'];
|
|
112
|
+
EVMChainId: ['ChainId'];
|
|
113
|
+
Ethereum: ['Pending', 'CounterForPending', 'CurrentBlock', 'CurrentReceipts', 'CurrentTransactionStatuses', 'BlockHash'];
|
|
114
|
+
EVMAccounts: ['AccountExtension', 'ContractDeployer', 'ApprovedContract', 'MarkedEvmAccounts', 'Allowances'];
|
|
115
|
+
DynamicEvmFee: ['BaseFeePerGas'];
|
|
116
|
+
XYKWarehouseLM: ['FarmSequencer', 'DepositSequencer', 'GlobalFarm', 'YieldFarm', 'Deposit', 'ActiveYieldFarm'];
|
|
117
|
+
DCA: ['ScheduleIdSequencer', 'Schedules', 'ScheduleOwnership', 'RemainingAmounts', 'RetriesOnError', 'ScheduleExecutionBlock', 'ScheduleIdsPerBlock', 'ScheduleExtraGas'];
|
|
118
|
+
Scheduler: ['IncompleteSince', 'Agenda', 'Retries', 'Lookup'];
|
|
119
|
+
ParachainSystem: ['UnincludedSegment', 'AggregatedUnincludedSegment', 'PendingValidationCode', 'NewValidationCode', 'ValidationData', 'DidSetValidationCode', 'LastRelayChainBlockNumber', 'UpgradeRestrictionSignal', 'UpgradeGoAhead', 'RelayStateProof', 'RelevantMessagingState', 'HostConfiguration', 'LastDmqMqcHead', 'LastHrmpMqcHeads', 'ProcessedDownwardMessages', 'HrmpWatermark', 'HrmpOutboundMessages', 'UpwardMessages', 'PendingUpwardMessages', 'UpwardDeliveryFeeFactor', 'AnnouncedHrmpMessagesPerCandidate', 'ReservedXcmpWeightOverride', 'ReservedDmpWeightOverride', 'CustomValidationHeadData'];
|
|
120
|
+
ParachainInfo: ['ParachainId'];
|
|
121
|
+
PolkadotXcm: ['QueryCounter', 'Queries', 'AssetTraps', 'SafeXcmVersion', 'SupportedVersion', 'VersionNotifiers', 'VersionNotifyTargets', 'VersionDiscoveryQueue', 'CurrentMigration', 'RemoteLockedFungibles', 'LockedFungibles', 'XcmExecutionSuspended', 'ShouldRecordXcm', 'RecordedXcm', 'AuthorizedAliases'];
|
|
122
|
+
XcmpQueue: ['InboundXcmpSuspended', 'OutboundXcmpStatus', 'OutboundXcmpMessages', 'SignalMessages', 'QueueConfig', 'QueueSuspended', 'DeliveryFeeFactor'];
|
|
123
|
+
MessageQueue: ['BookStateFor', 'ServiceHead', 'Pages'];
|
|
124
|
+
MultiBlockMigrations: ['Cursor', 'Historic'];
|
|
125
|
+
UnknownTokens: ['ConcreteFungibleBalances', 'AbstractFungibleBalances'];
|
|
126
|
+
Authorship: ['Author'];
|
|
127
|
+
CollatorSelection: ['Invulnerables', 'CandidateList', 'LastAuthoredBlock', 'DesiredCandidates', 'CandidacyBond'];
|
|
128
|
+
Session: ['Validators', 'CurrentIndex', 'QueuedChanged', 'QueuedKeys', 'DisabledValidators', 'NextKeys', 'KeyOwner'];
|
|
129
|
+
Aura: ['Authorities', 'CurrentSlot'];
|
|
130
|
+
AuraExt: ['Authorities', 'RelaySlotInfo'];
|
|
131
|
+
EmaOracle: ['Accumulator', 'Oracles', 'WhitelistedAssets', 'ExternalSources', 'AuthorizedAccounts'];
|
|
132
|
+
Broadcast: ['IncrementalId', 'ExecutionContext', 'Swapper'];
|
|
133
|
+
FeeProcessor: ['PendingConversions', 'CounterForPendingConversions', 'HeldFees'];
|
|
134
|
+
};
|
|
135
|
+
tx: {
|
|
136
|
+
System: ['remark', 'set_heap_pages', 'set_code', 'set_code_without_checks', 'set_storage', 'kill_storage', 'kill_prefix', 'remark_with_event', 'authorize_upgrade', 'authorize_upgrade_without_checks', 'apply_authorized_upgrade'];
|
|
137
|
+
Timestamp: ['set'];
|
|
138
|
+
Balances: ['transfer_allow_death', 'force_transfer', 'transfer_keep_alive', 'transfer_all', 'force_unreserve', 'upgrade_accounts', 'force_set_balance', 'force_adjust_total_issuance', 'burn'];
|
|
139
|
+
MultiTransactionPayment: ['set_currency', 'add_currency', 'remove_currency', 'reset_payment_currency', 'dispatch_permit'];
|
|
140
|
+
Treasury: ['spend_local', 'remove_approval', 'spend', 'payout', 'check_status', 'void_spend'];
|
|
141
|
+
Utility: ['batch', 'as_derivative', 'batch_all', 'dispatch_as', 'force_batch', 'with_weight', 'if_else', 'dispatch_as_fallible'];
|
|
142
|
+
Preimage: ['note_preimage', 'unnote_preimage', 'request_preimage', 'unrequest_preimage', 'ensure_updated'];
|
|
143
|
+
Identity: ['add_registrar', 'set_identity', 'set_subs', 'clear_identity', 'request_judgement', 'cancel_request', 'set_fee', 'set_account_id', 'set_fields', 'provide_judgement', 'kill_identity', 'add_sub', 'rename_sub', 'remove_sub', 'quit_sub', 'add_username_authority', 'remove_username_authority', 'set_username_for', 'accept_username', 'remove_expired_approval', 'set_primary_username', 'unbind_username', 'remove_username', 'kill_username'];
|
|
144
|
+
Democracy: ['propose', 'second', 'vote', 'emergency_cancel', 'external_propose', 'external_propose_majority', 'external_propose_default', 'fast_track', 'veto_external', 'cancel_referendum', 'delegate', 'undelegate', 'clear_public_proposals', 'unlock', 'remove_vote', 'remove_other_vote', 'blacklist', 'cancel_proposal', 'set_metadata', 'force_remove_vote'];
|
|
145
|
+
TechnicalCommittee: ['set_members', 'execute', 'propose', 'vote', 'disapprove_proposal', 'close', 'kill', 'release_proposal_cost'];
|
|
146
|
+
Proxy: ['proxy', 'add_proxy', 'remove_proxy', 'remove_proxies', 'create_pure', 'kill_pure', 'announce', 'remove_announcement', 'reject_announcement', 'proxy_announced', 'poke_deposit'];
|
|
147
|
+
Multisig: ['as_multi_threshold_1', 'as_multi', 'approve_as_multi', 'cancel_as_multi', 'poke_deposit'];
|
|
148
|
+
Uniques: ['create', 'force_create', 'destroy', 'mint', 'burn', 'transfer', 'redeposit', 'freeze', 'thaw', 'freeze_collection', 'thaw_collection', 'transfer_ownership', 'set_team', 'approve_transfer', 'cancel_approval', 'force_item_status', 'set_attribute', 'clear_attribute', 'set_metadata', 'clear_metadata', 'set_collection_metadata', 'clear_collection_metadata', 'set_accept_ownership', 'set_collection_max_supply', 'set_price', 'buy_item'];
|
|
149
|
+
StateTrieMigration: ['control_auto_migration', 'continue_migrate', 'migrate_custom_top', 'migrate_custom_child', 'set_signed_max_limits', 'force_set_progress'];
|
|
150
|
+
ConvictionVoting: ['vote', 'delegate', 'undelegate', 'unlock', 'remove_vote', 'remove_other_vote', 'force_remove_vote'];
|
|
151
|
+
Referenda: ['submit', 'place_decision_deposit', 'refund_decision_deposit', 'cancel', 'kill', 'nudge_referendum', 'one_fewer_deciding', 'refund_submission_deposit', 'set_metadata'];
|
|
152
|
+
Whitelist: ['whitelist_call', 'remove_whitelisted_call', 'dispatch_whitelisted_call', 'dispatch_whitelisted_call_with_preimage'];
|
|
153
|
+
Dispatcher: ['dispatch_as_treasury', 'dispatch_as_aave_manager', 'note_aave_manager', 'dispatch_with_extra_gas', 'dispatch_evm_call', 'dispatch_as_emergency_admin', 'dispatch_with_fee_payer'];
|
|
154
|
+
AssetRegistry: ['register', 'update', 'register_external', 'ban_asset', 'unban_asset'];
|
|
155
|
+
Claims: ['claim'];
|
|
156
|
+
Omnipool: ['add_token', 'add_liquidity', 'add_liquidity_with_limit', 'add_all_liquidity', 'remove_liquidity', 'remove_liquidity_with_limit', 'remove_all_liquidity', 'sacrifice_position', 'sell', 'buy', 'set_asset_tradable_state', 'refund_refused_asset', 'set_asset_weight_cap', 'withdraw_protocol_liquidity', 'remove_token', 'set_slip_fee'];
|
|
157
|
+
TransactionPause: ['pause_transaction', 'unpause_transaction'];
|
|
158
|
+
Duster: ['dust_account', 'whitelist_account', 'remove_from_whitelist'];
|
|
159
|
+
OmnipoolLiquidityMining: ['create_global_farm', 'terminate_global_farm', 'create_yield_farm', 'update_yield_farm', 'stop_yield_farm', 'resume_yield_farm', 'terminate_yield_farm', 'deposit_shares', 'redeposit_shares', 'claim_rewards', 'withdraw_shares', 'update_global_farm', 'join_farms', 'add_liquidity_and_join_farms', 'exit_farms', 'add_liquidity_stableswap_omnipool_and_join_farms', 'remove_liquidity_stableswap_omnipool_and_exit_farms'];
|
|
160
|
+
OTC: ['place_order', 'partial_fill_order', 'fill_order', 'cancel_order'];
|
|
161
|
+
CircuitBreaker: ['set_trade_volume_limit', 'set_add_liquidity_limit', 'set_remove_liquidity_limit', 'lockdown_asset', 'force_lift_lockdown', 'release_deposit', 'set_global_withdraw_limit_params', 'reset_withdraw_lockdown', 'add_egress_accounts', 'remove_egress_accounts', 'set_global_withdraw_lockdown', 'set_asset_category'];
|
|
162
|
+
Router: ['sell', 'buy', 'set_route', 'force_insert_route', 'sell_all'];
|
|
163
|
+
DynamicFees: ['set_asset_fee', 'remove_asset_fee'];
|
|
164
|
+
Staking: ['initialize_staking', 'stake', 'increase_stake', 'claim', 'unstake'];
|
|
165
|
+
Stableswap: ['create_pool', 'update_pool_fee', 'update_amplification', 'add_liquidity_shares', 'remove_liquidity_one_asset', 'withdraw_asset_amount', 'sell', 'buy', 'set_asset_tradable_state', 'remove_liquidity', 'create_pool_with_pegs', 'add_assets_liquidity', 'update_asset_peg_source', 'update_pool_max_peg_update'];
|
|
166
|
+
Bonds: ['issue', 'redeem'];
|
|
167
|
+
OtcSettlements: ['settle_otc_order'];
|
|
168
|
+
LBP: ['create_pool', 'update_pool_data', 'add_liquidity', 'remove_liquidity', 'sell', 'buy'];
|
|
169
|
+
XYK: ['create_pool', 'add_liquidity', 'add_liquidity_with_limits', 'remove_liquidity', 'remove_liquidity_with_limits', 'sell', 'buy'];
|
|
170
|
+
Referrals: ['register_code', 'link_code', 'convert', 'claim_rewards', 'set_reward_percentage'];
|
|
171
|
+
Liquidation: ['liquidate', 'set_borrowing_contract'];
|
|
172
|
+
HSM: ['add_collateral_asset', 'remove_collateral_asset', 'update_collateral_asset', 'sell', 'buy', 'execute_arbitrage', 'set_flash_minter'];
|
|
173
|
+
Signet: ['set_config', 'withdraw_funds', 'sign', 'sign_bidirectional', 'respond', 'respond_error', 'respond_bidirectional', 'pause', 'unpause'];
|
|
174
|
+
EthDispenser: ['request_fund', 'set_config', 'pause', 'unpause'];
|
|
175
|
+
GigaHdx: ['giga_stake', 'giga_unstake', 'set_pool_contract', 'unlock', 'cancel_unstake', 'migrate', 'realize_yield'];
|
|
176
|
+
GigaHdxRewards: ['claim_rewards'];
|
|
177
|
+
Tokens: ['transfer', 'transfer_all', 'transfer_keep_alive', 'force_transfer', 'set_balance'];
|
|
178
|
+
Currencies: ['transfer', 'transfer_native_currency', 'update_balance'];
|
|
179
|
+
Vesting: ['claim', 'vested_transfer', 'update_vesting_schedules', 'claim_for'];
|
|
180
|
+
EVM: ['withdraw', 'call', 'create', 'create2'];
|
|
181
|
+
Ethereum: ['transact'];
|
|
182
|
+
EVMAccounts: ['bind_evm_address', 'add_contract_deployer', 'remove_contract_deployer', 'renounce_contract_deployer', 'approve_contract', 'disapprove_contract', 'claim_account'];
|
|
183
|
+
XYKLiquidityMining: ['create_global_farm', 'update_global_farm', 'terminate_global_farm', 'create_yield_farm', 'update_yield_farm', 'stop_yield_farm', 'resume_yield_farm', 'terminate_yield_farm', 'deposit_shares', 'join_farms', 'add_liquidity_and_join_farms', 'redeposit_shares', 'claim_rewards', 'withdraw_shares', 'exit_farms'];
|
|
184
|
+
DCA: ['schedule', 'terminate', 'unlock_reserves'];
|
|
185
|
+
Scheduler: ['schedule', 'cancel', 'schedule_named', 'cancel_named', 'schedule_after', 'schedule_named_after', 'set_retry', 'set_retry_named', 'cancel_retry', 'cancel_retry_named'];
|
|
186
|
+
ParachainSystem: ['set_validation_data', 'sudo_send_upward_message'];
|
|
187
|
+
PolkadotXcm: ['send', 'teleport_assets', 'reserve_transfer_assets', 'execute', 'force_xcm_version', 'force_default_xcm_version', 'force_subscribe_version_notify', 'force_unsubscribe_version_notify', 'limited_reserve_transfer_assets', 'limited_teleport_assets', 'force_suspension', 'transfer_assets', 'claim_assets', 'transfer_assets_using_type_and_then', 'add_authorized_alias', 'remove_authorized_alias', 'remove_all_authorized_aliases'];
|
|
188
|
+
MessageQueue: ['reap_page', 'execute_overweight'];
|
|
189
|
+
MultiBlockMigrations: ['force_set_cursor', 'force_set_active_cursor', 'force_onboard_mbms', 'clear_historic'];
|
|
190
|
+
OrmlXcm: ['send_as_sovereign'];
|
|
191
|
+
XTokens: ['transfer', 'transfer_multiasset', 'transfer_with_fee', 'transfer_multiasset_with_fee', 'transfer_multicurrencies', 'transfer_multiassets'];
|
|
192
|
+
CollatorSelection: ['set_invulnerables', 'set_desired_candidates', 'set_candidacy_bond', 'register_as_candidate', 'leave_intent', 'add_invulnerable', 'remove_invulnerable', 'update_bond', 'take_candidate_slot'];
|
|
193
|
+
Session: ['set_keys', 'purge_keys'];
|
|
194
|
+
EmaOracle: ['add_oracle', 'remove_oracle', 'update_bifrost_oracle', 'set_external_oracle', 'set_external_oracle_by_ids', 'register_external_source', 'remove_external_source', 'add_authorized_account', 'remove_authorized_account'];
|
|
195
|
+
FeeProcessor: ['convert'];
|
|
196
|
+
};
|
|
197
|
+
events: {
|
|
198
|
+
System: ['ExtrinsicSuccess', 'ExtrinsicFailed', 'CodeUpdated', 'NewAccount', 'KilledAccount', 'Remarked', 'UpgradeAuthorized', 'RejectedInvalidAuthorizedUpgrade'];
|
|
199
|
+
Balances: ['Endowed', 'DustLost', 'Transfer', 'BalanceSet', 'Reserved', 'Unreserved', 'ReserveRepatriated', 'Deposit', 'Withdraw', 'Slashed', 'Minted', 'Burned', 'Suspended', 'Restored', 'Upgraded', 'Issued', 'Rescinded', 'Locked', 'Unlocked', 'Frozen', 'Thawed', 'TotalIssuanceForced'];
|
|
200
|
+
TransactionPayment: ['TransactionFeePaid'];
|
|
201
|
+
MultiTransactionPayment: ['CurrencySet', 'CurrencyAdded', 'CurrencyRemoved', 'FeeWithdrawn', 'FeeSponsored'];
|
|
202
|
+
Treasury: ['Spending', 'Awarded', 'Burnt', 'Rollover', 'Deposit', 'SpendApproved', 'UpdatedInactive', 'AssetSpendApproved', 'AssetSpendVoided', 'Paid', 'PaymentFailed', 'SpendProcessed'];
|
|
203
|
+
Utility: ['BatchInterrupted', 'BatchCompleted', 'BatchCompletedWithErrors', 'ItemCompleted', 'ItemFailed', 'DispatchedAs', 'IfElseMainSuccess', 'IfElseFallbackCalled'];
|
|
204
|
+
Preimage: ['Noted', 'Requested', 'Cleared'];
|
|
205
|
+
Identity: ['IdentitySet', 'IdentityCleared', 'IdentityKilled', 'JudgementRequested', 'JudgementUnrequested', 'JudgementGiven', 'RegistrarAdded', 'SubIdentityAdded', 'SubIdentitiesSet', 'SubIdentityRenamed', 'SubIdentityRemoved', 'SubIdentityRevoked', 'AuthorityAdded', 'AuthorityRemoved', 'UsernameSet', 'UsernameQueued', 'PreapprovalExpired', 'PrimaryUsernameSet', 'DanglingUsernameRemoved', 'UsernameUnbound', 'UsernameRemoved', 'UsernameKilled'];
|
|
206
|
+
Democracy: ['Proposed', 'Tabled', 'ExternalTabled', 'Started', 'Passed', 'NotPassed', 'Cancelled', 'Delegated', 'Undelegated', 'Vetoed', 'Blacklisted', 'Voted', 'Seconded', 'ProposalCanceled', 'MetadataSet', 'MetadataCleared', 'MetadataTransferred'];
|
|
207
|
+
TechnicalCommittee: ['Proposed', 'Voted', 'Approved', 'Disapproved', 'Executed', 'MemberExecuted', 'Closed', 'Killed', 'ProposalCostBurned', 'ProposalCostReleased'];
|
|
208
|
+
Proxy: ['ProxyExecuted', 'PureCreated', 'PureKilled', 'Announced', 'ProxyAdded', 'ProxyRemoved', 'DepositPoked'];
|
|
209
|
+
Multisig: ['NewMultisig', 'MultisigApproval', 'MultisigExecuted', 'MultisigCancelled', 'DepositPoked'];
|
|
210
|
+
Uniques: ['Created', 'ForceCreated', 'Destroyed', 'Issued', 'Transferred', 'Burned', 'Frozen', 'Thawed', 'CollectionFrozen', 'CollectionThawed', 'OwnerChanged', 'TeamChanged', 'ApprovedTransfer', 'ApprovalCancelled', 'ItemStatusChanged', 'CollectionMetadataSet', 'CollectionMetadataCleared', 'MetadataSet', 'MetadataCleared', 'Redeposited', 'AttributeSet', 'AttributeCleared', 'OwnershipAcceptanceChanged', 'CollectionMaxSupplySet', 'ItemPriceSet', 'ItemPriceRemoved', 'ItemBought'];
|
|
211
|
+
StateTrieMigration: ['Migrated', 'Slashed', 'AutoMigrationFinished', 'Halted'];
|
|
212
|
+
ConvictionVoting: ['Delegated', 'Undelegated', 'Voted', 'VoteRemoved', 'VoteUnlocked'];
|
|
213
|
+
Referenda: ['Submitted', 'DecisionDepositPlaced', 'DecisionDepositRefunded', 'DepositSlashed', 'DecisionStarted', 'ConfirmStarted', 'ConfirmAborted', 'Confirmed', 'Approved', 'Rejected', 'TimedOut', 'Cancelled', 'Killed', 'SubmissionDepositRefunded', 'MetadataSet', 'MetadataCleared'];
|
|
214
|
+
Whitelist: ['CallWhitelisted', 'WhitelistedCallRemoved', 'WhitelistedCallDispatched'];
|
|
215
|
+
Dispatcher: ['TreasuryManagerCallDispatched', 'AaveManagerCallDispatched', 'EmergencyAdminCallDispatched'];
|
|
216
|
+
AssetRegistry: ['ExistentialDepositPaid', 'Registered', 'Updated', 'LocationSet', 'AssetBanned', 'AssetUnbanned'];
|
|
217
|
+
Claims: ['Claim'];
|
|
218
|
+
CollatorRewards: ['CollatorRewarded'];
|
|
219
|
+
CollatorRotation: ['CollatorBenched'];
|
|
220
|
+
Omnipool: ['TokenAdded', 'TokenRemoved', 'LiquidityAdded', 'LiquidityRemoved', 'ProtocolLiquidityRemoved', 'SellExecuted', 'BuyExecuted', 'PositionCreated', 'PositionDestroyed', 'PositionUpdated', 'TradableStateUpdated', 'AssetRefunded', 'AssetWeightCapUpdated', 'SlipFeeSet'];
|
|
221
|
+
TransactionPause: ['TransactionPaused', 'TransactionUnpaused'];
|
|
222
|
+
Duster: ['Dusted', 'Added', 'Removed'];
|
|
223
|
+
OmnipoolWarehouseLM: ['GlobalFarmAccRPZUpdated', 'YieldFarmAccRPVSUpdated', 'AllRewardsDistributed'];
|
|
224
|
+
OmnipoolLiquidityMining: ['GlobalFarmCreated', 'GlobalFarmUpdated', 'GlobalFarmTerminated', 'YieldFarmCreated', 'YieldFarmUpdated', 'YieldFarmStopped', 'YieldFarmResumed', 'YieldFarmTerminated', 'SharesDeposited', 'SharesRedeposited', 'RewardClaimed', 'SharesWithdrawn', 'DepositDestroyed'];
|
|
225
|
+
OTC: ['Cancelled', 'Filled', 'PartiallyFilled', 'Placed'];
|
|
226
|
+
CircuitBreaker: ['TradeVolumeLimitChanged', 'AddLiquidityLimitChanged', 'RemoveLiquidityLimitChanged', 'AssetLockdown', 'AssetLockdownRemoved', 'DepositReleased', 'WithdrawLockdownLifted', 'WithdrawLockdownReset', 'WithdrawLimitConfigUpdated', 'WithdrawLockdownTriggered', 'EgressAccountsAdded', 'EgressAccountsRemoved', 'AssetCategoryUpdated'];
|
|
227
|
+
Router: ['Executed', 'RouteUpdated'];
|
|
228
|
+
DynamicFees: ['AssetFeeConfigSet', 'AssetFeeConfigRemoved'];
|
|
229
|
+
Staking: ['PositionCreated', 'StakeAdded', 'RewardsClaimed', 'Unstaked', 'StakingInitialized', 'AccumulatedRpsUpdated', 'ForceUnstaked'];
|
|
230
|
+
Stableswap: ['PoolCreated', 'FeeUpdated', 'LiquidityAdded', 'LiquidityRemoved', 'SellExecuted', 'BuyExecuted', 'TradableStateUpdated', 'AmplificationChanging', 'PoolDestroyed', 'PoolPegSourceUpdated', 'PoolMaxPegUpdateUpdated'];
|
|
231
|
+
Bonds: ['TokenCreated', 'Issued', 'Redeemed'];
|
|
232
|
+
OtcSettlements: ['Executed'];
|
|
233
|
+
LBP: ['PoolCreated', 'PoolUpdated', 'LiquidityAdded', 'LiquidityRemoved', 'SellExecuted', 'BuyExecuted'];
|
|
234
|
+
XYK: ['LiquidityAdded', 'LiquidityRemoved', 'PoolCreated', 'PoolDestroyed', 'SellExecuted', 'BuyExecuted'];
|
|
235
|
+
Referrals: ['CodeRegistered', 'CodeLinked', 'Converted', 'ConversionFailed', 'Claimed', 'AssetRewardsUpdated', 'LevelUp'];
|
|
236
|
+
Liquidation: ['Liquidated', 'GigaHdxLiquidated'];
|
|
237
|
+
HSM: ['CollateralAdded', 'CollateralRemoved', 'CollateralUpdated', 'ArbitrageExecuted', 'FlashMinterSet'];
|
|
238
|
+
Signet: ['ConfigUpdated', 'Paused', 'Unpaused', 'FundsWithdrawn', 'SignatureRequested', 'SignBidirectionalRequested', 'SignatureResponded', 'SignatureError', 'RespondBidirectionalEvent'];
|
|
239
|
+
EthDispenser: ['ConfigUpdated', 'Paused', 'Unpaused', 'FundRequested'];
|
|
240
|
+
GigaHdx: ['Staked', 'Unstaked', 'Unlocked', 'UnstakeCancelled', 'PoolContractUpdated', 'MigratedFromLegacy', 'YieldRealized'];
|
|
241
|
+
GigaHdxRewards: ['RewardPoolAllocated', 'UserRewardRecorded', 'RewardsClaimed'];
|
|
242
|
+
Tokens: ['Endowed', 'DustLost', 'Transfer', 'Reserved', 'Unreserved', 'ReserveRepatriated', 'BalanceSet', 'TotalIssuanceSet', 'Withdrawn', 'Slashed', 'Deposited', 'LockSet', 'LockRemoved', 'Locked', 'Unlocked', 'Issued', 'Rescinded'];
|
|
243
|
+
Currencies: ['Transferred', 'BalanceUpdated', 'Deposited', 'Withdrawn'];
|
|
244
|
+
Vesting: ['VestingScheduleAdded', 'Claimed', 'VestingSchedulesUpdated'];
|
|
245
|
+
EVM: ['Log', 'Created', 'CreatedFailed', 'Executed', 'ExecutedFailed'];
|
|
246
|
+
Ethereum: ['Executed'];
|
|
247
|
+
EVMAccounts: ['Bound', 'DeployerAdded', 'DeployerRemoved', 'ContractApproved', 'ContractDisapproved', 'AccountClaimed'];
|
|
248
|
+
XYKLiquidityMining: ['GlobalFarmCreated', 'GlobalFarmUpdated', 'YieldFarmCreated', 'GlobalFarmTerminated', 'SharesDeposited', 'SharesRedeposited', 'RewardClaimed', 'SharesWithdrawn', 'YieldFarmStopped', 'YieldFarmResumed', 'YieldFarmTerminated', 'YieldFarmUpdated', 'DepositDestroyed'];
|
|
249
|
+
XYKWarehouseLM: ['GlobalFarmAccRPZUpdated', 'YieldFarmAccRPVSUpdated', 'AllRewardsDistributed'];
|
|
250
|
+
RelayChainInfo: ['CurrentBlockNumbers'];
|
|
251
|
+
DCA: ['ExecutionStarted', 'Scheduled', 'ExecutionPlanned', 'TradeExecuted', 'TradeFailed', 'Terminated', 'Completed', 'RandomnessGenerationFailed', 'ReserveUnlocked'];
|
|
252
|
+
Scheduler: ['Scheduled', 'Canceled', 'Dispatched', 'RetrySet', 'RetryCancelled', 'CallUnavailable', 'PeriodicFailed', 'RetryFailed', 'PermanentlyOverweight', 'AgendaIncomplete'];
|
|
253
|
+
ParachainSystem: ['ValidationFunctionStored', 'ValidationFunctionApplied', 'ValidationFunctionDiscarded', 'DownwardMessagesReceived', 'DownwardMessagesProcessed', 'UpwardMessageSent'];
|
|
254
|
+
PolkadotXcm: ['Attempted', 'Sent', 'SendFailed', 'ProcessXcmError', 'UnexpectedResponse', 'ResponseReady', 'Notified', 'NotifyOverweight', 'NotifyDispatchError', 'NotifyDecodeFailed', 'InvalidResponder', 'InvalidResponderVersion', 'ResponseTaken', 'AssetsTrapped', 'VersionChangeNotified', 'SupportedVersionChanged', 'NotifyTargetSendFail', 'NotifyTargetMigrationFail', 'InvalidQuerierVersion', 'InvalidQuerier', 'VersionNotifyStarted', 'VersionNotifyRequested', 'VersionNotifyUnrequested', 'FeesPaid', 'AssetsClaimed', 'VersionMigrationFinished', 'AliasAuthorized', 'AliasAuthorizationRemoved', 'AliasesAuthorizationsRemoved'];
|
|
255
|
+
CumulusXcm: ['InvalidFormat', 'UnsupportedVersion', 'ExecutedDownward'];
|
|
256
|
+
XcmpQueue: ['XcmpMessageSent'];
|
|
257
|
+
MessageQueue: ['ProcessingFailed', 'Processed', 'OverweightEnqueued', 'PageReaped'];
|
|
258
|
+
MultiBlockMigrations: ['UpgradeStarted', 'UpgradeCompleted', 'UpgradeFailed', 'MigrationSkipped', 'MigrationAdvanced', 'MigrationCompleted', 'MigrationFailed', 'HistoricCleared'];
|
|
259
|
+
OrmlXcm: ['Sent'];
|
|
260
|
+
XTokens: ['TransferredAssets'];
|
|
261
|
+
UnknownTokens: ['Deposited', 'Withdrawn'];
|
|
262
|
+
CollatorSelection: ['NewInvulnerables', 'InvulnerableAdded', 'InvulnerableRemoved', 'NewDesiredCandidates', 'NewCandidacyBond', 'CandidateAdded', 'CandidateBondUpdated', 'CandidateRemoved', 'CandidateReplaced', 'InvalidInvulnerableSkipped'];
|
|
263
|
+
Session: ['NewSession', 'NewQueued', 'ValidatorDisabled', 'ValidatorReenabled'];
|
|
264
|
+
EmaOracle: ['AddedToWhitelist', 'RemovedFromWhitelist', 'OracleUpdated', 'ExternalSourceRegistered', 'ExternalSourceRemoved', 'AuthorizedAccountAdded', 'AuthorizedAccountRemoved'];
|
|
265
|
+
Broadcast: ['Swapped3'];
|
|
266
|
+
FeeProcessor: ['FeeReceived', 'Converted', 'ConversionFailed'];
|
|
267
|
+
};
|
|
268
|
+
errors: {
|
|
269
|
+
System: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered', 'MultiBlockMigrationsOngoing', 'NothingAuthorized', 'Unauthorized'];
|
|
270
|
+
Balances: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'Expendability', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves', 'TooManyHolds', 'TooManyFreezes', 'IssuanceDeactivated', 'DeltaZero'];
|
|
271
|
+
MultiTransactionPayment: ['UnsupportedCurrency', 'ZeroBalance', 'AlreadyAccepted', 'CoreAssetNotAllowed', 'ZeroPrice', 'FallbackPriceNotFound', 'Overflow', 'EvmAccountNotAllowed', 'EvmPermitExpired', 'EvmPermitInvalid', 'EvmPermitCallExecutionError', 'EvmPermitRunnerError', 'EvmPermitNonceInvariantViolated'];
|
|
272
|
+
Treasury: ['InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved', 'FailedToConvertBalance', 'SpendExpired', 'EarlyPayout', 'AlreadyAttempted', 'PayoutError', 'NotAttempted', 'Inconclusive'];
|
|
273
|
+
Utility: ['TooManyCalls'];
|
|
274
|
+
Preimage: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested', 'TooMany', 'TooFew'];
|
|
275
|
+
Identity: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed', 'InvalidSuffix', 'NotUsernameAuthority', 'NoAllocation', 'InvalidSignature', 'RequiresSignature', 'InvalidUsername', 'UsernameTaken', 'NoUsername', 'NotExpired', 'TooEarly', 'NotUnbinding', 'AlreadyUnbinding', 'InsufficientPrivileges'];
|
|
276
|
+
Democracy: ['ValueLow', 'ProposalMissing', 'AlreadyCanceled', 'DuplicateProposal', 'ProposalBlacklisted', 'NotSimpleMajority', 'InvalidHash', 'NoProposal', 'AlreadyVetoed', 'ReferendumInvalid', 'NoneWaiting', 'NotVoter', 'NoPermission', 'AlreadyDelegating', 'InsufficientFunds', 'NotDelegating', 'VotesExist', 'InstantNotAllowed', 'Nonsense', 'WrongUpperBound', 'MaxVotesReached', 'TooMany', 'VotingPeriodLow', 'PreimageNotExist'];
|
|
277
|
+
TechnicalCommittee: ['NotMember', 'DuplicateProposal', 'ProposalMissing', 'WrongIndex', 'DuplicateVote', 'AlreadyInitialized', 'TooEarly', 'TooManyProposals', 'WrongProposalWeight', 'WrongProposalLength', 'PrimeAccountNotMember', 'ProposalActive'];
|
|
278
|
+
Proxy: ['TooMany', 'NotFound', 'NotProxy', 'Unproxyable', 'Duplicate', 'NoPermission', 'Unannounced', 'NoSelfProxy'];
|
|
279
|
+
Multisig: ['MinimumThreshold', 'AlreadyApproved', 'NoApprovalsNeeded', 'TooFewSignatories', 'TooManySignatories', 'SignatoriesOutOfOrder', 'SenderInSignatories', 'NotFound', 'NotOwner', 'NoTimepoint', 'WrongTimepoint', 'UnexpectedTimepoint', 'MaxWeightTooLow', 'AlreadyStored'];
|
|
280
|
+
Uniques: ['NoPermission', 'UnknownCollection', 'AlreadyExists', 'WrongOwner', 'BadWitness', 'InUse', 'Frozen', 'WrongDelegate', 'NoDelegate', 'Unapproved', 'Unaccepted', 'Locked', 'MaxSupplyReached', 'MaxSupplyAlreadySet', 'MaxSupplyTooSmall', 'UnknownItem', 'NotForSale', 'BidTooLow', 'NoMetadata', 'WrongMetadata', 'AttributeNotFound', 'WrongAttribute'];
|
|
281
|
+
StateTrieMigration: ['MaxSignedLimits', 'KeyTooLong', 'NotEnoughFunds', 'BadWitness', 'SignedMigrationNotAllowed', 'BadChildRoot'];
|
|
282
|
+
ConvictionVoting: ['NotOngoing', 'NotVoter', 'NoPermission', 'NoPermissionYet', 'AlreadyDelegating', 'AlreadyVoting', 'InsufficientFunds', 'NotDelegating', 'Nonsense', 'MaxVotesReached', 'ClassNeeded', 'BadClass'];
|
|
283
|
+
Referenda: ['NotOngoing', 'HasDeposit', 'BadTrack', 'Full', 'QueueEmpty', 'BadReferendum', 'NothingToDo', 'NoTrack', 'Unfinished', 'NoPermission', 'NoDeposit', 'BadStatus', 'PreimageNotExist', 'PreimageStoredWithDifferentLength'];
|
|
284
|
+
Whitelist: ['UnavailablePreImage', 'UndecodableCall', 'InvalidCallWeightWitness', 'CallIsNotWhitelisted', 'CallAlreadyWhitelisted'];
|
|
285
|
+
Dispatcher: ['EvmCallFailed', 'NotEvmCall', 'EvmOutOfGas', 'EvmArithmeticOverflowOrUnderflow', 'AaveSupplyCapExceeded', 'AaveBorrowCapExceeded', 'AaveHealthFactorNotBelowThreshold', 'AaveHealthFactorLowerThanLiquidationThreshold', 'CollateralCannotCoverNewBorrow', 'AaveReservePaused'];
|
|
286
|
+
AssetRegistry: ['NoIdAvailable', 'AssetNotFound', 'TooShort', 'InvalidSymbol', 'AssetNotRegistered', 'AssetAlreadyRegistered', 'InvalidSharedAssetLen', 'CannotUpdateLocation', 'NotInReservedRange', 'LocationAlreadyRegistered', 'Forbidden', 'InsufficientBalance', 'ForbiddenSufficiencyChange', 'AssetAlreadyBanned', 'AssetNotBanned'];
|
|
287
|
+
Claims: ['InvalidEthereumSignature', 'NoClaimOrAlreadyClaimed', 'BalanceOverflow'];
|
|
288
|
+
Omnipool: ['InsufficientBalance', 'AssetAlreadyAdded', 'AssetNotFound', 'MissingBalance', 'InvalidInitialAssetPrice', 'BuyLimitNotReached', 'SellLimitExceeded', 'PositionNotFound', 'InsufficientShares', 'NotAllowed', 'Forbidden', 'AssetWeightCapExceeded', 'AssetNotRegistered', 'InsufficientLiquidity', 'InsufficientTradingAmount', 'SameAssetTradeNotAllowed', 'HubAssetUpdateError', 'InvalidSharesAmount', 'InvalidHubAssetTradableState', 'AssetRefundNotAllowed', 'MaxOutRatioExceeded', 'MaxInRatioExceeded', 'PriceDifferenceTooHigh', 'InvalidOraclePrice', 'InvalidWithdrawalFee', 'FeeOverdraft', 'SharesRemaining', 'AssetNotFrozen', 'ZeroAmountOut', 'ExistentialDepositNotAvailable', 'SlippageLimit', 'ProtocolFeeNotConsumed', 'MaxSlipFeeTooHigh', 'InvariantError', 'InvalidOmnipoolHubReserve'];
|
|
289
|
+
TransactionPause: ['CannotPause', 'InvalidCharacter', 'NameTooLong'];
|
|
290
|
+
Duster: ['AccountWhitelisted', 'AccountNotWhitelisted', 'ZeroBalance', 'NonZeroBalance', 'BalanceSufficient', 'ReserveAccountNotSet'];
|
|
291
|
+
OmnipoolWarehouseLM: ['GlobalFarmNotFound', 'YieldFarmNotFound', 'DoubleClaimInPeriod', 'LiquidityMiningCanceled', 'LiquidityMiningIsActive', 'LiquidityMiningIsNotStopped', 'Forbidden', 'InvalidMultiplier', 'YieldFarmAlreadyExists', 'InvalidInitialRewardPercentage', 'GlobalFarmIsNotEmpty', 'MissingIncentivizedAsset', 'InsufficientRewardCurrencyBalance', 'InvalidBlocksPerPeriod', 'InvalidYieldPerPeriod', 'InvalidTotalRewards', 'InvalidPlannedYieldingPeriods', 'MaxEntriesPerDeposit', 'DoubleLock', 'YieldFarmEntryNotFound', 'GlobalFarmIsFull', 'InvalidMinDeposit', 'InvalidPriceAdjustment', 'ErrorGetAccountId', 'IncorrectValuedShares', 'RewardCurrencyNotRegistered', 'IncentivizedAssetNotRegistered', 'AmmPoolIdMismatch', 'InconsistentState'];
|
|
292
|
+
OmnipoolLiquidityMining: ['AssetNotFound', 'Forbidden', 'ZeroClaimedRewards', 'InconsistentState', 'OracleNotAvailable', 'PriceAdjustmentNotAvailable', 'NoFarmEntriesSpecified', 'NoAssetsSpecified', 'PositionIdMismatch'];
|
|
293
|
+
OTC: ['AssetNotRegistered', 'OrderNotFound', 'OrderIdOutOfBound', 'OrderNotPartiallyFillable', 'OrderAmountTooSmall', 'MathError', 'Forbidden', 'InsufficientReservedAmount'];
|
|
294
|
+
CircuitBreaker: ['InvalidLimitValue', 'LiquidityLimitNotStoredForAsset', 'TokenOutflowLimitReached', 'TokenInfluxLimitReached', 'MaxLiquidityLimitPerBlockReached', 'NotAllowed', 'AssetInLockdown', 'AssetNotInLockdown', 'InvalidAmount', 'DepositLimitExceededForWhitelistedAccount', 'WithdrawLockdownActive', 'GlobalWithdrawLimitExceeded', 'FailedToConvertAsset'];
|
|
295
|
+
Router: ['TradingLimitReached', 'MaxTradesExceeded', 'PoolNotSupported', 'InsufficientBalance', 'RouteCalculationFailed', 'InvalidRoute', 'RouteUpdateIsNotSuccessful', 'RouteHasNoOracle', 'InvalidRouteExecution', 'NotAllowed'];
|
|
296
|
+
DynamicFees: ['InvalidFeeParameters'];
|
|
297
|
+
Staking: ['InsufficientBalance', 'InsufficientStake', 'PositionNotFound', 'MaxVotesReached', 'NotInitialized', 'AlreadyInitialized', 'Arithmetic', 'MissingPotBalance', 'PositionAlreadyExists', 'Forbidden', 'ExistingVotes', 'ExistingProcessedVotes', 'ActiveVotesOngoing', 'BlockedByExternalLock', 'InconsistentState'];
|
|
298
|
+
Stableswap: ['IncorrectAssets', 'MaxAssetsExceeded', 'PoolNotFound', 'PoolExists', 'AssetNotInPool', 'ShareAssetNotRegistered', 'ShareAssetInPoolAssets', 'AssetNotRegistered', 'InvalidAssetAmount', 'InsufficientBalance', 'InsufficientShares', 'InsufficientLiquidity', 'InsufficientLiquidityRemaining', 'InsufficientTradingAmount', 'BuyLimitNotReached', 'SellLimitExceeded', 'InvalidInitialLiquidity', 'InvalidAmplification', 'InsufficientShareBalance', 'NotAllowed', 'PastBlock', 'SameAmplification', 'SlippageLimit', 'UnknownDecimals', 'IncorrectInitialPegs', 'MissingTargetPegOracle', 'IncorrectAssetDecimals', 'NoPegSource', 'ZeroAmountOut', 'ZeroAmountIn', 'InvariantError'];
|
|
299
|
+
Bonds: ['NotRegistered', 'NotMature', 'InvalidMaturity', 'DisallowedAsset', 'AssetNotFound', 'InvalidBondName', 'FailToParseName'];
|
|
300
|
+
OtcSettlements: ['OrderNotFound', 'NotPartiallyFillable', 'InvalidRoute', 'BalanceInconsistency', 'TradeAmountTooHigh', 'TradeAmountTooLow', 'PriceNotAvailable'];
|
|
301
|
+
LBP: ['CannotCreatePoolWithSameAssets', 'NotOwner', 'SaleStarted', 'SaleNotEnded', 'SaleIsNotRunning', 'MaxSaleDurationExceeded', 'CannotAddZeroLiquidity', 'InsufficientAssetBalance', 'PoolNotFound', 'PoolAlreadyExists', 'InvalidBlockRange', 'WeightCalculationError', 'InvalidWeight', 'ZeroAmount', 'MaxInRatioExceeded', 'MaxOutRatioExceeded', 'FeeAmountInvalid', 'TradingLimitReached', 'Overflow', 'NothingToUpdate', 'InsufficientLiquidity', 'InsufficientTradingAmount', 'FeeCollectorWithAssetAlreadyUsed'];
|
|
302
|
+
XYK: ['CannotCreatePoolWithSameAssets', 'InsufficientLiquidity', 'InsufficientTradingAmount', 'ZeroLiquidity', 'InvalidMintedLiquidity', 'InvalidLiquidityAmount', 'AssetAmountExceededLimit', 'AssetAmountNotReachedLimit', 'InsufficientAssetBalance', 'InsufficientPoolAssetBalance', 'InsufficientNativeCurrencyBalance', 'TokenPoolNotFound', 'TokenPoolAlreadyExists', 'AddAssetAmountInvalid', 'RemoveAssetAmountInvalid', 'SellAssetAmountInvalid', 'BuyAssetAmountInvalid', 'FeeAmountInvalid', 'MaxOutRatioExceeded', 'MaxInRatioExceeded', 'Overflow', 'CannotCreatePool', 'SlippageLimit'];
|
|
303
|
+
Referrals: ['TooLong', 'TooShort', 'InvalidCharacter', 'AlreadyExists', 'InvalidCode', 'AlreadyLinked', 'ZeroAmount', 'LinkNotAllowed', 'IncorrectRewardCalculation', 'IncorrectRewardPercentage', 'AlreadyRegistered', 'PriceNotFound', 'ConversionMinTradingAmountNotReached', 'ConversionZeroAmountReceived'];
|
|
304
|
+
Liquidation: ['AssetConversionFailed', 'LiquidationCallFailed', 'InvalidRoute', 'NotProfitable', 'FlashMinterNotSet', 'InvalidLiquidationData', 'UnsupportedDebtAsset', 'NoGigaHdxPosition', 'RealizeYieldFailed', 'LiquidationAccountNotBound', 'ClearVotingLocksFailed', 'BorrowFailed', 'SeizeFailed', 'GigaHdxPoolNotSet', 'NoPoolDebt', 'RepayFailed'];
|
|
305
|
+
HSM: ['AssetNotApproved', 'AssetAlreadyApproved', 'PoolAlreadyHasCollateral', 'InvalidAssetPair', 'MaxBuyPriceExceeded', 'MaxBuyBackExceeded', 'MaxHoldingExceeded', 'SlippageLimitExceeded', 'InvalidEVMInteraction', 'DecimalRetrievalFailed', 'NoArbitrageOpportunity', 'AssetNotFound', 'InvalidPoolState', 'CollateralNotEmpty', 'AssetNotInPool', 'HollarNotInPool', 'InsufficientCollateralBalance', 'HollarContractAddressNotFound', 'MaxNumberOfCollateralsReached', 'FlashMinterNotSet', 'InvalidArbitrageData'];
|
|
306
|
+
Signet: ['NotConfigured', 'Paused', 'InsufficientFunds', 'InvalidTransaction', 'InvalidInputLength', 'DataTooLong', 'InvalidAddress', 'InvalidGasPrice'];
|
|
307
|
+
EthDispenser: ['NotConfigured', 'DuplicateRequest', 'Serialization', 'InvalidOutput', 'InvalidRequestId', 'Paused', 'AmountTooSmall', 'AmountTooLarge', 'InvalidAddress', 'FaucetBalanceBelowThreshold', 'NotEnoughFeeFunds', 'NotEnoughFaucetFunds', 'InvalidConfig'];
|
|
308
|
+
GigaHdx: ['BelowMinStake', 'InsufficientFreeBalance', 'BlockedByExternalLock', 'InsufficientStake', 'NoStake', 'ZeroAmount', 'StHdxMintFailed', 'MoneyMarketSupplyFailed', 'MoneyMarketWithdrawFailed', 'Overflow', 'CooldownNotElapsed', 'PendingUnstakeNotFound', 'TooManyPendingUnstakes', 'OutstandingStake', 'StakeFrozen', 'SeizeFailed', 'GigapotInsufficient'];
|
|
309
|
+
GigaHdxRewards: ['NoPendingRewards', 'PotInsufficient', 'Overflow'];
|
|
310
|
+
Tokens: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves'];
|
|
311
|
+
Currencies: ['AmountIntoBalanceFailed', 'BalanceTooLow', 'DepositFailed', 'NotSupported'];
|
|
312
|
+
Vesting: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded'];
|
|
313
|
+
EVM: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitExceedsBlockLimit', 'InvalidChainId', 'InvalidSignature', 'Reentrancy', 'TransactionMustComeFromEOA', 'Undefined', 'CreateOriginNotAllowed', 'TransactionGasLimitExceedsCap'];
|
|
314
|
+
Ethereum: ['InvalidSignature', 'PreLogExists'];
|
|
315
|
+
EVMAccounts: ['TruncatedAccountAlreadyUsed', 'AddressAlreadyBound', 'BoundAddressCannotBeUsed', 'AddressNotWhitelisted', 'InvalidSignature', 'AccountAlreadyExists', 'InsufficientAssetBalance'];
|
|
316
|
+
XYKLiquidityMining: ['CantFindDepositOwner', 'InsufficientXykSharesBalance', 'XykPoolDoesntExist', 'NotDepositOwner', 'CantGetXykAssets', 'DepositDataNotFound', 'ZeroClaimedRewards', 'AssetNotInAssetPair', 'InvalidAssetPair', 'AssetNotRegistered', 'FailToGetPotId', 'NoFarmsSpecified', 'FailedToValueShares'];
|
|
317
|
+
XYKWarehouseLM: ['GlobalFarmNotFound', 'YieldFarmNotFound', 'DoubleClaimInPeriod', 'LiquidityMiningCanceled', 'LiquidityMiningIsActive', 'LiquidityMiningIsNotStopped', 'Forbidden', 'InvalidMultiplier', 'YieldFarmAlreadyExists', 'InvalidInitialRewardPercentage', 'GlobalFarmIsNotEmpty', 'MissingIncentivizedAsset', 'InsufficientRewardCurrencyBalance', 'InvalidBlocksPerPeriod', 'InvalidYieldPerPeriod', 'InvalidTotalRewards', 'InvalidPlannedYieldingPeriods', 'MaxEntriesPerDeposit', 'DoubleLock', 'YieldFarmEntryNotFound', 'GlobalFarmIsFull', 'InvalidMinDeposit', 'InvalidPriceAdjustment', 'ErrorGetAccountId', 'IncorrectValuedShares', 'RewardCurrencyNotRegistered', 'IncentivizedAssetNotRegistered', 'AmmPoolIdMismatch', 'InconsistentState'];
|
|
318
|
+
DCA: ['ScheduleNotFound', 'MinTradeAmountNotReached', 'Forbidden', 'BlockNumberIsNotInFuture', 'PriceUnstable', 'Bumped', 'CalculatingPriceError', 'TotalAmountIsSmallerThanMinBudget', 'BudgetTooLow', 'NoFreeBlockFound', 'ManuallyTerminated', 'MaxRetryReached', 'TradeLimitReached', 'SlippageLimitReached', 'NoParentHashFound', 'InvalidState', 'PeriodTooShort', 'StabilityThresholdTooHigh', 'HasActiveSchedules', 'NoReservesLocked'];
|
|
319
|
+
Scheduler: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange', 'Named'];
|
|
320
|
+
ParachainSystem: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled'];
|
|
321
|
+
PolkadotXcm: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed', 'CannotCheckOutTeleport', 'LowBalance', 'TooManyLocks', 'AccountNotSovereign', 'FeesNotMet', 'LockNotFound', 'InUse', 'InvalidAssetUnknownReserve', 'InvalidAssetUnsupportedReserve', 'TooManyReserves', 'LocalExecutionIncomplete', 'TooManyAuthorizedAliases', 'ExpiresInPast', 'AliasNotFound', 'LocalExecutionIncompleteWithError'];
|
|
322
|
+
XcmpQueue: ['BadQueueConfig', 'AlreadySuspended', 'AlreadyResumed', 'TooManyActiveOutboundChannels', 'TooBig'];
|
|
323
|
+
MessageQueue: ['NotReapable', 'NoPage', 'NoMessage', 'AlreadyProcessed', 'Queued', 'InsufficientWeight', 'TemporarilyUnprocessable', 'QueuePaused', 'RecursiveDisallowed'];
|
|
324
|
+
MultiBlockMigrations: ['Ongoing'];
|
|
325
|
+
OrmlXcm: ['Unreachable', 'SendFailure', 'BadVersion'];
|
|
326
|
+
XTokens: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedLocation', 'MinXcmFeeNotDefined', 'RateLimited'];
|
|
327
|
+
UnknownTokens: ['BalanceTooLow', 'BalanceOverflow', 'UnhandledAsset'];
|
|
328
|
+
CollatorSelection: ['TooManyCandidates', 'TooFewEligibleCollators', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered', 'InsertToCandidateListFailed', 'RemoveFromCandidateListFailed', 'DepositTooLow', 'UpdateCandidateListFailed', 'InsufficientBond', 'TargetIsNotCandidate', 'IdenticalDeposit', 'InvalidUnreserve'];
|
|
329
|
+
Session: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'];
|
|
330
|
+
EmaOracle: ['TooManyUniqueEntries', 'OnTradeValueZero', 'OracleNotFound', 'AssetNotFound', 'SourceAlreadyRegistered', 'SourceNotFound', 'NotAuthorized', 'PriceIsZero'];
|
|
331
|
+
Broadcast: ['ExecutionCallStackOverflow', 'ExecutionCallStackUnderflow'];
|
|
332
|
+
FeeProcessor: ['AlreadyHdx', 'ConversionFailed', 'TransferFailed', 'PriceNotAvailable', 'Arithmetic'];
|
|
333
|
+
};
|
|
334
|
+
constants: {
|
|
335
|
+
System: ['BlockWeights', 'BlockLength', 'BlockHashCount', 'DbWeight', 'Version', 'SS58Prefix'];
|
|
336
|
+
Timestamp: ['MinimumPeriod'];
|
|
337
|
+
Balances: ['ExistentialDeposit', 'MaxLocks', 'MaxReserves', 'MaxFreezes'];
|
|
338
|
+
TransactionPayment: ['OperationalFeeMultiplier'];
|
|
339
|
+
MultiTransactionPayment: ['NativeAssetId', 'PolkadotNativeAssetId', 'EvmAssetId'];
|
|
340
|
+
Treasury: ['SpendPeriod', 'Burn', 'PalletId', 'MaxApprovals', 'PayoutPeriod', 'pot_account'];
|
|
341
|
+
Utility: ['batched_calls_limit'];
|
|
342
|
+
Identity: ['BasicDeposit', 'ByteDeposit', 'UsernameDeposit', 'SubAccountDeposit', 'MaxSubAccounts', 'MaxRegistrars', 'PendingUsernameExpiration', 'UsernameGracePeriod', 'MaxSuffixLength', 'MaxUsernameLength'];
|
|
343
|
+
Democracy: ['EnactmentPeriod', 'LaunchPeriod', 'VotingPeriod', 'VoteLockingPeriod', 'MinimumDeposit', 'InstantAllowed', 'FastTrackVotingPeriod', 'CooloffPeriod', 'MaxVotes', 'MaxProposals', 'MaxDeposits', 'MaxBlacklisted'];
|
|
344
|
+
TechnicalCommittee: ['MaxProposalWeight'];
|
|
345
|
+
Proxy: ['ProxyDepositBase', 'ProxyDepositFactor', 'MaxProxies', 'MaxPending', 'AnnouncementDepositBase', 'AnnouncementDepositFactor'];
|
|
346
|
+
Multisig: ['DepositBase', 'DepositFactor', 'MaxSignatories'];
|
|
347
|
+
Uniques: ['CollectionDeposit', 'ItemDeposit', 'MetadataDepositBase', 'AttributeDepositBase', 'DepositPerByte', 'StringLimit', 'KeyLimit', 'ValueLimit'];
|
|
348
|
+
StateTrieMigration: ['MaxKeyLen'];
|
|
349
|
+
ConvictionVoting: ['MaxVotes', 'VoteLockingPeriod'];
|
|
350
|
+
Referenda: ['SubmissionDeposit', 'MaxQueued', 'UndecidingTimeout', 'AlarmInterval', 'Tracks'];
|
|
351
|
+
AssetRegistry: ['SequentialIdStartAt', 'StringLimit', 'MinStringLimit', 'RegExternalWeightMultiplier'];
|
|
352
|
+
CollatorRewards: ['RewardPerCollator', 'RewardCurrencyId', 'RewardsBag'];
|
|
353
|
+
Omnipool: ['HdxAssetId', 'HubAssetId', 'MinWithdrawalFee', 'MinimumTradingLimit', 'MinimumPoolLiquidity', 'MaxInRatio', 'MaxOutRatio', 'NFTCollectionId', 'BurnProtocolFee'];
|
|
354
|
+
Duster: ['TreasuryAccountId'];
|
|
355
|
+
OmnipoolWarehouseLM: ['PalletId', 'TreasuryAccountId', 'MinTotalFarmRewards', 'MinPlannedYieldingPeriods', 'MaxFarmEntriesPerDeposit', 'MaxYieldFarmsPerGlobalFarm'];
|
|
356
|
+
OmnipoolLiquidityMining: ['NFTCollectionId', 'OracleSource', 'OraclePeriod'];
|
|
357
|
+
OTC: ['ExistentialDepositMultiplier', 'Fee', 'FeeReceiver'];
|
|
358
|
+
CircuitBreaker: ['DefaultMaxNetTradeVolumeLimitPerBlock', 'DefaultMaxAddLiquidityLimitPerBlock', 'DefaultMaxRemoveLiquidityLimitPerBlock'];
|
|
359
|
+
Router: ['NativeAssetId', 'OraclePeriod'];
|
|
360
|
+
DynamicFees: ['AssetFeeParameters', 'ProtocolFeeParameters'];
|
|
361
|
+
Staking: ['PeriodLength', 'PalletId', 'NativeAssetId', 'MinStake', 'TimePointsWeight', 'ActionPointsWeight', 'TimePointsPerPeriod', 'UnclaimablePeriods', 'CurrentStakeWeight', 'MaxVotes', 'NFTCollectionId'];
|
|
362
|
+
Stableswap: ['MinPoolLiquidity', 'MinTradingLimit', 'AmplificationRange'];
|
|
363
|
+
Bonds: ['PalletId', 'IssuerAccount'];
|
|
364
|
+
OtcSettlements: ['ProfitReceiver', 'MinProfitPercentage', 'PricePrecision', 'MinTradingLimit', 'MaxIterations'];
|
|
365
|
+
LBP: ['MinTradingLimit', 'MinPoolLiquidity', 'MaxInRatio', 'MaxOutRatio', 'repay_fee'];
|
|
366
|
+
XYK: ['NativeAssetId', 'GetExchangeFee', 'MinTradingLimit', 'MinPoolLiquidity', 'MaxInRatio', 'MaxOutRatio', 'OracleSource'];
|
|
367
|
+
Referrals: ['RewardAsset', 'PalletId', 'RegistrationFee', 'CodeLength', 'MinCodeLength', 'SeedNativeAmount'];
|
|
368
|
+
Liquidation: ['GasLimit', 'ProfitReceiver', 'HollarId'];
|
|
369
|
+
HSM: ['HollarId', 'PalletId', 'MinArbitrageAmount', 'FlashLoanReceiver', 'GasLimit'];
|
|
370
|
+
Signet: ['PalletId'];
|
|
371
|
+
EthDispenser: ['FeeAsset', 'FaucetAsset', 'FeeDestination', 'PalletId'];
|
|
372
|
+
GigaHdx: ['StHdxAssetId', 'PalletId', 'LockId', 'MinStake', 'CooldownPeriod', 'MaxPendingUnstakes'];
|
|
373
|
+
GigaHdxRewards: ['RewardPotPalletId'];
|
|
374
|
+
Tokens: ['MaxLocks', 'MaxReserves'];
|
|
375
|
+
Currencies: ['ReserveAccount', 'GetNativeCurrencyId'];
|
|
376
|
+
Vesting: ['MinVestedTransfer'];
|
|
377
|
+
EVMAccounts: ['FeeMultiplier'];
|
|
378
|
+
DynamicEvmFee: ['WethAssetId'];
|
|
379
|
+
XYKLiquidityMining: ['NFTCollectionId', 'OracleSource', 'OraclePeriod'];
|
|
380
|
+
XYKWarehouseLM: ['PalletId', 'TreasuryAccountId', 'MinTotalFarmRewards', 'MinPlannedYieldingPeriods', 'MaxFarmEntriesPerDeposit', 'MaxYieldFarmsPerGlobalFarm'];
|
|
381
|
+
DCA: ['MaxPriceDifferenceBetweenBlocks', 'MaxConfigurablePriceDifferenceBetweenBlocks', 'MaxSchedulePerBlock', 'MaxNumberOfRetriesOnError', 'MinimalPeriod', 'BumpChance', 'MinimumTradingLimit', 'NativeAssetId', 'PolkadotNativeAssetId', 'MinBudgetInNativeCurrency', 'FeeReceiver', 'NamedReserveId'];
|
|
382
|
+
Scheduler: ['MaximumWeight', 'MaxScheduledPerBlock'];
|
|
383
|
+
ParachainSystem: ['SelfParaId'];
|
|
384
|
+
PolkadotXcm: ['UniversalLocation', 'AdvertisedXcmVersion', 'MaxLockers', 'MaxRemoteLockConsumers'];
|
|
385
|
+
XcmpQueue: ['MaxInboundSuspended', 'MaxActiveOutboundChannels', 'MaxPageSize'];
|
|
386
|
+
MessageQueue: ['HeapSize', 'MaxStale', 'ServiceWeight', 'IdleMaxServiceWeight'];
|
|
387
|
+
MultiBlockMigrations: ['CursorMaxLen', 'IdentifierMaxLen'];
|
|
388
|
+
XTokens: ['SelfLocation', 'BaseXcmWeight', 'RateLimiterId'];
|
|
389
|
+
CollatorSelection: ['PotId', 'MaxCandidates', 'MinEligibleCollators', 'MaxInvulnerables', 'KickThreshold', 'pot_account'];
|
|
390
|
+
Aura: ['SlotDuration'];
|
|
391
|
+
EmaOracle: ['MaxUniqueEntries'];
|
|
392
|
+
FeeProcessor: ['PalletId', 'HdxAssetId', 'LrnaAssetId', 'MaxConversionsPerBlock'];
|
|
393
|
+
};
|
|
394
|
+
viewFns: {
|
|
395
|
+
Proxy: ['check_permissions', 'is_superset'];
|
|
396
|
+
};
|
|
397
|
+
apis: {
|
|
398
|
+
Core: ['version', 'execute_block', 'initialize_block'];
|
|
399
|
+
Metadata: ['metadata', 'metadata_at_version', 'metadata_versions'];
|
|
400
|
+
BlockBuilder: ['apply_extrinsic', 'finalize_block', 'inherent_extrinsics', 'check_inherents'];
|
|
401
|
+
TaggedTransactionQueue: ['validate_transaction'];
|
|
402
|
+
OffchainWorkerApi: ['offchain_worker'];
|
|
403
|
+
SessionKeys: ['generate_session_keys', 'decode_session_keys'];
|
|
404
|
+
AuraApi: ['slot_duration', 'authorities'];
|
|
405
|
+
CollectCollationInfo: ['collect_collation_info'];
|
|
406
|
+
GetCoreSelectorApi: ['core_selector'];
|
|
407
|
+
CurrenciesApi: ['account', 'accounts', 'free_balance', 'minimum_balance'];
|
|
408
|
+
AccountNonceApi: ['account_nonce'];
|
|
409
|
+
TransactionPaymentApi: ['query_info', 'query_fee_details', 'query_weight_to_fee', 'query_length_to_fee'];
|
|
410
|
+
EthereumRuntimeRPCApi: ['chain_id', 'account_basic', 'gas_price', 'account_code_at', 'author', 'storage_at', 'call', 'create', 'current_block', 'current_receipts', 'current_transaction_statuses', 'current_all', 'extrinsic_filter', 'elasticity', 'gas_limit_multiplier_support', 'pending_block', 'initialize_pending_block'];
|
|
411
|
+
ConvertTransactionRuntimeApi: ['convert_transaction'];
|
|
412
|
+
EvmAccountsApi: ['evm_address', 'bound_account_id', 'account_id'];
|
|
413
|
+
DusterApi: ['is_whitelisted'];
|
|
414
|
+
Erc20MappingApi: ['asset_address', 'address_to_asset'];
|
|
415
|
+
XcmPaymentApi: ['query_acceptable_payment_assets', 'query_xcm_weight', 'query_weight_to_asset_fee', 'query_delivery_fees'];
|
|
416
|
+
AuraUnincludedSegmentApi: ['can_build_upon'];
|
|
417
|
+
RelayParentOffsetApi: ['relay_parent_offset'];
|
|
418
|
+
DryRunApi: ['dry_run_call', 'dry_run_xcm'];
|
|
419
|
+
LocationToAccountApi: ['convert_location'];
|
|
420
|
+
ChainlinkAdapterApi: ['encode_oracle_address', 'decode_oracle_address'];
|
|
421
|
+
AaveTradeExecutor: ['pairs', 'liquidity_depth', 'pool', 'pools'];
|
|
422
|
+
GenesisBuilder: ['build_state', 'get_preset', 'preset_names'];
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
export type HydrationWhitelistEntry = PalletKey | `query.${NestedKey<AllInteractions['storage']>}` | `tx.${NestedKey<AllInteractions['tx']>}` | `event.${NestedKey<AllInteractions['events']>}` | `error.${NestedKey<AllInteractions['errors']>}` | `const.${NestedKey<AllInteractions['constants']>}` | `view.${NestedKey<AllInteractions['viewFns']>}` | `api.${NestedKey<AllInteractions['apis']>}`;
|
|
426
|
+
type PalletKey = `*.${({
|
|
427
|
+
[K in keyof AllInteractions]: K extends 'apis' ? never : keyof AllInteractions[K];
|
|
428
|
+
})[keyof AllInteractions]}`;
|
|
429
|
+
type NestedKey<D extends Record<string, string[]>> = "*" | {
|
|
430
|
+
[P in keyof D & string]: `${P}.*` | `${P}.${D[P][number]}`;
|
|
431
|
+
}[keyof D & string];
|