@paraspell/descriptors 14.2.2 → 14.3.3
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/dist/ahp.d.ts +42 -18
- package/dist/ahp_metadata-zM1M2eiK.js +3 -0
- package/dist/bridgeHub.d.ts +29 -5
- package/dist/{bridgeHub_metadata-Li64-Pg1.js → bridgeHub_metadata-DyoXb_6R.js} +1 -1
- package/dist/common-types.d.ts +684 -2841
- package/dist/{descriptors-C7Rb0-iv.js → descriptors-BMv8Bnq1.js} +2 -3
- package/dist/descriptors.d.ts +0 -1
- package/dist/hydration.d.ts +40 -16
- package/dist/hydration_metadata-rFt-tc1Z.js +3 -0
- package/dist/index.d.ts +2 -6
- package/dist/index.js +23 -35
- package/dist/metadataTypes-BmVg3p7_.js +3 -0
- package/dist/metadataTypes.d.ts +1 -1
- package/package.json +3 -3
- package/dist/ahp_metadata-CN_MTTeF.js +0 -3
- package/dist/hydration_metadata-0UTkhPaM.js +0 -3
- package/dist/metadataTypes-uOlhw_Gc.js +0 -3
- package/dist/moonbeam.d.ts +0 -305
- package/dist/moonbeam_metadata-BYLNx4wH.js +0 -3
- package/dist/moonbeam_metadata.d.ts +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
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":{}}
|
|
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":{}}},[{}],["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"]]`);
|
|
2
2
|
const replaceTokens = (obj) => Object.fromEntries(
|
|
3
3
|
Object.entries(obj).map(([key, value]) => {
|
|
4
4
|
const unwrappedValue = typeof value === "object" ? replaceTokens(value) : value;
|
|
@@ -23,6 +23,5 @@ const getChainDescriptors = (key) => unwrap(replaceTokens(minified[key]), 2);
|
|
|
23
23
|
const Ahp = getChainDescriptors("ahp");
|
|
24
24
|
const BridgeHub = getChainDescriptors("bridgeHub");
|
|
25
25
|
const Hydration = getChainDescriptors("hydration");
|
|
26
|
-
const Moonbeam = getChainDescriptors("moonbeam");
|
|
27
26
|
|
|
28
|
-
export { Ahp, BridgeHub, Hydration
|
|
27
|
+
export { Ahp, BridgeHub, Hydration };
|
package/dist/descriptors.d.ts
CHANGED
package/dist/hydration.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { StorageDescriptor, PlainDescriptor, Enum, ApisFromDef, QueryFromPalletsDef, TxFromPalletsDef, EventsFromPalletsDef, ErrorsFromPalletsDef, ConstFromPalletsDef, ViewFnsFromPalletsDef, SS58String, FixedSizeArray } from "polkadot-api";
|
|
2
|
-
import type {
|
|
1
|
+
import { StorageDescriptor, PlainDescriptor, Enum, ApisFromDef, QueryFromPalletsDef, TxFromPalletsDef, EventsFromPalletsDef, ErrorsFromPalletsDef, ConstFromPalletsDef, ViewFnsFromPalletsDef, SS58String, SizedHex, FixedSizeArray } from "polkadot-api";
|
|
2
|
+
import type { Ic034j4hb28uuk, ExtensionsCheckMortality, I87rnrnks7g0hm, I4s6vifaf8k998 } from "./common-types";
|
|
3
3
|
type AnonymousEnum<T extends {}> = T & {
|
|
4
4
|
__anonymous: true;
|
|
5
5
|
};
|
|
@@ -25,8 +25,32 @@ type IConstants = {};
|
|
|
25
25
|
type IViewFns = {};
|
|
26
26
|
type IRuntimeCalls = {};
|
|
27
27
|
export type HydrationDispatchError = unknown;
|
|
28
|
-
type
|
|
29
|
-
|
|
28
|
+
export type HydrationExtensions = {
|
|
29
|
+
"CheckSpecVersion": {
|
|
30
|
+
additionalSigned: number;
|
|
31
|
+
};
|
|
32
|
+
"CheckTxVersion": {
|
|
33
|
+
additionalSigned: number;
|
|
34
|
+
};
|
|
35
|
+
"CheckGenesis": {
|
|
36
|
+
additionalSigned: SizedHex<32>;
|
|
37
|
+
};
|
|
38
|
+
"CheckMortality": {
|
|
39
|
+
value: ExtensionsCheckMortality;
|
|
40
|
+
additionalSigned: SizedHex<32>;
|
|
41
|
+
};
|
|
42
|
+
"CheckNonce": {
|
|
43
|
+
value: number;
|
|
44
|
+
};
|
|
45
|
+
"ChargeTransactionPayment": {
|
|
46
|
+
value: bigint;
|
|
47
|
+
};
|
|
48
|
+
"CheckMetadataHash": {
|
|
49
|
+
value: Anonymize<I87rnrnks7g0hm>;
|
|
50
|
+
additionalSigned: Anonymize<I4s6vifaf8k998>;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
type IRequiredExtensions = PlainDescriptor<"CheckSpecVersion" | "CheckTxVersion" | "CheckGenesis" | "CheckMortality" | "CheckNonce" | "ChargeTransactionPayment" | "CheckMetadataHash">;
|
|
30
54
|
type PalletsTypedef = {
|
|
31
55
|
__storage: IStorage;
|
|
32
56
|
__tx: ICalls;
|
|
@@ -41,8 +65,8 @@ export type Hydration = {
|
|
|
41
65
|
apis: IRuntimeCalls;
|
|
42
66
|
} & Promise<any>;
|
|
43
67
|
metadataTypes: Promise<Uint8Array>;
|
|
44
|
-
asset: IAsset;
|
|
45
68
|
extensions: HydrationExtensions;
|
|
69
|
+
requiredExtensions: IRequiredExtensions;
|
|
46
70
|
getMetadata: () => Promise<Uint8Array>;
|
|
47
71
|
genesis: string | undefined;
|
|
48
72
|
};
|
|
@@ -55,7 +79,7 @@ export type HydrationEvents = EventsFromPalletsDef<PalletsTypedef>;
|
|
|
55
79
|
export type HydrationErrors = ErrorsFromPalletsDef<PalletsTypedef>;
|
|
56
80
|
export type HydrationConstants = ConstFromPalletsDef<PalletsTypedef>;
|
|
57
81
|
export type HydrationViewFns = ViewFnsFromPalletsDef<PalletsTypedef>;
|
|
58
|
-
export type HydrationCallData = Anonymize<
|
|
82
|
+
export type HydrationCallData = Anonymize<Ic034j4hb28uuk> & {
|
|
59
83
|
value: {
|
|
60
84
|
type: string;
|
|
61
85
|
};
|
|
@@ -94,14 +118,14 @@ type AllInteractions = {
|
|
|
94
118
|
Router: ['Routes'];
|
|
95
119
|
DynamicFees: ['AssetFee', 'AssetFeeConfiguration'];
|
|
96
120
|
Staking: ['Staking', 'Positions', 'NextPositionId', 'Votes', 'VotesRewarded', 'PositionVotes', 'ProcessedVotes', 'SixSecBlocksSince'];
|
|
97
|
-
Stableswap: ['Pools', 'PoolPegs', 'AssetTradability', 'PoolSnapshots', 'BlockFee'];
|
|
121
|
+
Stableswap: ['Pools', 'PoolPegs', 'AssetTradability', 'PoolSnapshots', 'BlockFee', 'ShareIssuance'];
|
|
98
122
|
Bonds: ['BondIds', 'Bonds'];
|
|
99
123
|
LBP: ['PoolData', 'FeeCollectorWithAsset'];
|
|
100
124
|
XYK: ['ShareToken', 'TotalLiquidity', 'PoolAssets'];
|
|
101
125
|
Referrals: ['ReferralCodes', 'ReferralAccounts', 'LinkedAccounts', 'ReferrerShares', 'TraderShares', 'TotalShares', 'Referrer', 'AssetRewards', 'PendingConversions', 'CounterForPendingConversions'];
|
|
102
126
|
Liquidation: ['BorrowingContract'];
|
|
103
127
|
HSM: ['Collaterals', 'HollarAmountReceived', 'FlashMinter'];
|
|
104
|
-
Parameters: ['IsTestnet', 'RelayParentOffsetOverride'];
|
|
128
|
+
Parameters: ['IsTestnet', 'RelayParentOffsetOverride', 'TwoSecBlocksSince'];
|
|
105
129
|
Signet: ['SignetConfig'];
|
|
106
130
|
EthDispenser: ['DispenserConfig', 'UsedRequestIds'];
|
|
107
131
|
GigaHdx: ['Stakes', 'TotalLocked', 'GigaHdxPoolContract', 'PendingUnstakes'];
|
|
@@ -111,7 +135,7 @@ type AllInteractions = {
|
|
|
111
135
|
EVM: ['AccountCodes', 'AccountCodesMetadata', 'AccountStorages'];
|
|
112
136
|
EVMChainId: ['ChainId'];
|
|
113
137
|
Ethereum: ['Pending', 'CounterForPending', 'CurrentBlock', 'CurrentReceipts', 'CurrentTransactionStatuses', 'BlockHash'];
|
|
114
|
-
EVMAccounts: ['AccountExtension', 'ContractDeployer', 'ApprovedContract', 'MarkedEvmAccounts', 'Allowances'];
|
|
138
|
+
EVMAccounts: ['AccountExtension', 'ContractDeployer', 'ApprovedContract', 'MarkedEvmAccounts', 'Allowances', 'NttMinters'];
|
|
115
139
|
DynamicEvmFee: ['BaseFeePerGas'];
|
|
116
140
|
XYKWarehouseLM: ['FarmSequencer', 'DepositSequencer', 'GlobalFarm', 'YieldFarm', 'Deposit', 'ActiveYieldFarm'];
|
|
117
141
|
DCA: ['ScheduleIdSequencer', 'Schedules', 'ScheduleOwnership', 'RemainingAmounts', 'RetriesOnError', 'ScheduleExecutionBlock', 'ScheduleIdsPerBlock', 'ScheduleExtraGas'];
|
|
@@ -168,7 +192,7 @@ type AllInteractions = {
|
|
|
168
192
|
LBP: ['create_pool', 'update_pool_data', 'add_liquidity', 'remove_liquidity', 'sell', 'buy'];
|
|
169
193
|
XYK: ['create_pool', 'add_liquidity', 'add_liquidity_with_limits', 'remove_liquidity', 'remove_liquidity_with_limits', 'sell', 'buy'];
|
|
170
194
|
Referrals: ['register_code', 'link_code', 'convert', 'claim_rewards', 'set_reward_percentage'];
|
|
171
|
-
Liquidation: ['liquidate', 'set_borrowing_contract'];
|
|
195
|
+
Liquidation: ['liquidate', 'set_borrowing_contract', 'liquidate_with_pool'];
|
|
172
196
|
HSM: ['add_collateral_asset', 'remove_collateral_asset', 'update_collateral_asset', 'sell', 'buy', 'execute_arbitrage', 'set_flash_minter'];
|
|
173
197
|
Signet: ['set_config', 'withdraw_funds', 'sign', 'sign_bidirectional', 'respond', 'respond_error', 'respond_bidirectional', 'pause', 'unpause'];
|
|
174
198
|
EthDispenser: ['request_fund', 'set_config', 'pause', 'unpause'];
|
|
@@ -179,7 +203,7 @@ type AllInteractions = {
|
|
|
179
203
|
Vesting: ['claim', 'vested_transfer', 'update_vesting_schedules', 'claim_for'];
|
|
180
204
|
EVM: ['withdraw', 'call', 'create', 'create2'];
|
|
181
205
|
Ethereum: ['transact'];
|
|
182
|
-
EVMAccounts: ['bind_evm_address', 'add_contract_deployer', 'remove_contract_deployer', 'renounce_contract_deployer', 'approve_contract', 'disapprove_contract', 'claim_account'];
|
|
206
|
+
EVMAccounts: ['bind_evm_address', 'add_contract_deployer', 'remove_contract_deployer', 'renounce_contract_deployer', 'approve_contract', 'disapprove_contract', 'claim_account', 'set_ntt_minter', 'clear_ntt_minter'];
|
|
183
207
|
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
208
|
DCA: ['schedule', 'terminate', 'unlock_reserves'];
|
|
185
209
|
Scheduler: ['schedule', 'cancel', 'schedule_named', 'cancel_named', 'schedule_after', 'schedule_named_after', 'set_retry', 'set_retry_named', 'cancel_retry', 'cancel_retry_named'];
|
|
@@ -244,7 +268,7 @@ type AllInteractions = {
|
|
|
244
268
|
Vesting: ['VestingScheduleAdded', 'Claimed', 'VestingSchedulesUpdated'];
|
|
245
269
|
EVM: ['Log', 'Created', 'CreatedFailed', 'Executed', 'ExecutedFailed'];
|
|
246
270
|
Ethereum: ['Executed'];
|
|
247
|
-
EVMAccounts: ['Bound', 'DeployerAdded', 'DeployerRemoved', 'ContractApproved', 'ContractDisapproved', 'AccountClaimed'];
|
|
271
|
+
EVMAccounts: ['Bound', 'DeployerAdded', 'DeployerRemoved', 'ContractApproved', 'ContractDisapproved', 'AccountClaimed', 'NttMinterSet', 'NttMinterCleared'];
|
|
248
272
|
XYKLiquidityMining: ['GlobalFarmCreated', 'GlobalFarmUpdated', 'YieldFarmCreated', 'GlobalFarmTerminated', 'SharesDeposited', 'SharesRedeposited', 'RewardClaimed', 'SharesWithdrawn', 'YieldFarmStopped', 'YieldFarmResumed', 'YieldFarmTerminated', 'YieldFarmUpdated', 'DepositDestroyed'];
|
|
249
273
|
XYKWarehouseLM: ['GlobalFarmAccRPZUpdated', 'YieldFarmAccRPVSUpdated', 'AllRewardsDistributed'];
|
|
250
274
|
RelayChainInfo: ['CurrentBlockNumbers'];
|
|
@@ -295,13 +319,13 @@ type AllInteractions = {
|
|
|
295
319
|
Router: ['TradingLimitReached', 'MaxTradesExceeded', 'PoolNotSupported', 'InsufficientBalance', 'RouteCalculationFailed', 'InvalidRoute', 'RouteUpdateIsNotSuccessful', 'RouteHasNoOracle', 'InvalidRouteExecution', 'NotAllowed'];
|
|
296
320
|
DynamicFees: ['InvalidFeeParameters'];
|
|
297
321
|
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'];
|
|
322
|
+
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', 'InsufficientShareIssuance', 'UnaccountedShareIssuance'];
|
|
299
323
|
Bonds: ['NotRegistered', 'NotMature', 'InvalidMaturity', 'DisallowedAsset', 'AssetNotFound', 'InvalidBondName', 'FailToParseName'];
|
|
300
324
|
OtcSettlements: ['OrderNotFound', 'NotPartiallyFillable', 'InvalidRoute', 'BalanceInconsistency', 'TradeAmountTooHigh', 'TradeAmountTooLow', 'PriceNotAvailable'];
|
|
301
325
|
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
326
|
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
327
|
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'];
|
|
328
|
+
Liquidation: ['AssetConversionFailed', 'LiquidationCallFailed', 'InvalidRoute', 'NotProfitable', 'FlashMinterNotSet', 'InvalidLiquidationData', 'UnsupportedDebtAsset', 'NoGigaHdxPosition', 'RealizeYieldFailed', 'LiquidationAccountNotBound', 'ClearVotingLocksFailed', 'BorrowFailed', 'SeizeFailed', 'GigaHdxPoolNotSet', 'NoPoolDebt', 'RepayFailed', 'PoolAddressMismatch'];
|
|
305
329
|
HSM: ['AssetNotApproved', 'AssetAlreadyApproved', 'PoolAlreadyHasCollateral', 'InvalidAssetPair', 'MaxBuyPriceExceeded', 'MaxBuyBackExceeded', 'MaxHoldingExceeded', 'SlippageLimitExceeded', 'InvalidEVMInteraction', 'DecimalRetrievalFailed', 'NoArbitrageOpportunity', 'AssetNotFound', 'InvalidPoolState', 'CollateralNotEmpty', 'AssetNotInPool', 'HollarNotInPool', 'InsufficientCollateralBalance', 'HollarContractAddressNotFound', 'MaxNumberOfCollateralsReached', 'FlashMinterNotSet', 'InvalidArbitrageData'];
|
|
306
330
|
Signet: ['NotConfigured', 'Paused', 'InsufficientFunds', 'InvalidTransaction', 'InvalidInputLength', 'DataTooLong', 'InvalidAddress', 'InvalidGasPrice'];
|
|
307
331
|
EthDispenser: ['NotConfigured', 'DuplicateRequest', 'Serialization', 'InvalidOutput', 'InvalidRequestId', 'Paused', 'AmountTooSmall', 'AmountTooLarge', 'InvalidAddress', 'FaucetBalanceBelowThreshold', 'NotEnoughFeeFunds', 'NotEnoughFaucetFunds', 'InvalidConfig'];
|
|
@@ -312,10 +336,10 @@ type AllInteractions = {
|
|
|
312
336
|
Vesting: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded'];
|
|
313
337
|
EVM: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitExceedsBlockLimit', 'InvalidChainId', 'InvalidSignature', 'Reentrancy', 'TransactionMustComeFromEOA', 'Undefined', 'CreateOriginNotAllowed', 'TransactionGasLimitExceedsCap'];
|
|
314
338
|
Ethereum: ['InvalidSignature', 'PreLogExists'];
|
|
315
|
-
EVMAccounts: ['TruncatedAccountAlreadyUsed', 'AddressAlreadyBound', 'BoundAddressCannotBeUsed', 'AddressNotWhitelisted', 'InvalidSignature', 'AccountAlreadyExists', 'InsufficientAssetBalance'];
|
|
339
|
+
EVMAccounts: ['TruncatedAccountAlreadyUsed', 'AddressAlreadyBound', 'BoundAddressCannotBeUsed', 'AddressNotWhitelisted', 'InvalidSignature', 'AccountAlreadyExists', 'InsufficientAssetBalance', 'InvalidMinterAddress'];
|
|
316
340
|
XYKLiquidityMining: ['CantFindDepositOwner', 'InsufficientXykSharesBalance', 'XykPoolDoesntExist', 'NotDepositOwner', 'CantGetXykAssets', 'DepositDataNotFound', 'ZeroClaimedRewards', 'AssetNotInAssetPair', 'InvalidAssetPair', 'AssetNotRegistered', 'FailToGetPotId', 'NoFarmsSpecified', 'FailedToValueShares'];
|
|
317
341
|
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'];
|
|
342
|
+
DCA: ['ScheduleNotFound', 'MinTradeAmountNotReached', 'Forbidden', 'BlockNumberIsNotInFuture', 'PriceUnstable', 'Bumped', 'CalculatingPriceError', 'TotalAmountIsSmallerThanMinBudget', 'BudgetTooLow', 'NoFreeBlockFound', 'ManuallyTerminated', 'MaxRetryReached', 'TradeLimitReached', 'SlippageLimitReached', 'NoParentHashFound', 'InvalidState', 'PeriodTooShort', 'StabilityThresholdTooHigh', 'HasActiveSchedules', 'NoReservesLocked', 'NoLongerSupported'];
|
|
319
343
|
Scheduler: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange', 'Named'];
|
|
320
344
|
ParachainSystem: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled'];
|
|
321
345
|
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'];
|