@paraspell/descriptors 14.1.0-rc → 14.1.0-rc.1
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 +14 -14
- package/dist/ahp_metadata-zM1M2eiK.js +3 -0
- package/dist/{bridgeHub_metadata-Li64-Pg1.js → bridgeHub_metadata-DyoXb_6R.js} +1 -1
- package/dist/common-types.d.ts +140 -32
- package/dist/hydration.d.ts +10 -10
- package/dist/hydration_metadata-DYhdNf0W.js +3 -0
- package/dist/index.js +10 -10
- package/dist/metadataTypes-CUg9Gk37.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/ahp.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PlainDescriptor, TxDescriptor, RuntimeDescriptor, Enum, ApisFromDef, QueryFromPalletsDef, TxFromPalletsDef, EventsFromPalletsDef, ErrorsFromPalletsDef, ConstFromPalletsDef, ViewFnsFromPalletsDef, SizedHex, FixedSizeArray } from "polkadot-api";
|
|
2
|
-
import type { Ia5cotcvi888ln, I21jsa919m88fd, Iegif7m3upfe1k, I9kt8c221c83ln, Ic76kfh5ebqkpl, Icscpmubum33bq, I21d2olof7eb60, Ibgm4rnf22lal1, Ie68np0vpihith, I9bnv6lu0crf1q, Iauhjqifrdklq7, Ie1uso9m8rt5cf,
|
|
2
|
+
import type { Ia5cotcvi888ln, I21jsa919m88fd, Iegif7m3upfe1k, I9kt8c221c83ln, Ic76kfh5ebqkpl, Icscpmubum33bq, I21d2olof7eb60, Ibgm4rnf22lal1, Ie68np0vpihith, I9bnv6lu0crf1q, Iauhjqifrdklq7, Ie1uso9m8rt5cf, Idrv9sn94spntn, I66celthih5oio, I6h467t3h9mu0r, Iaoqe81db6mqng, Ie9o86shcq0ome, I5r8t4iaend96p, Ie2db4l6126rkt, Ictkqqlhdjt761, Iftvbctbo05fu4, XcmVersionedXcm, Ic0c3req3mlc1l, I4q39t5hn830vp, XcmVersionedAssetId, I7ocn4njqde3v5, XcmVersionedLocation, Iek7ha36da9mf5, I7qpv90droestd, I2nhpa757v7jk9, I7d04odr0ekssi, I2timq2cfgd8gf, If9iqq7i64mur8, I35p85j063s0il, I5vv5n03oo8gas, ExtensionsCheckMortality, I182pt4kr56mhn, I87rnrnks7g0hm, I4s6vifaf8k998 } from "./common-types";
|
|
3
3
|
type AnonymousEnum<T extends {}> = T & {
|
|
4
4
|
__anonymous: true;
|
|
5
5
|
};
|
|
@@ -318,7 +318,7 @@ type ICalls = {
|
|
|
318
318
|
* and the error of the failed call. If all were successful, then the `BatchCompleted`
|
|
319
319
|
* event is deposited.
|
|
320
320
|
*/
|
|
321
|
-
batch: TxDescriptor<Anonymize<
|
|
321
|
+
batch: TxDescriptor<Anonymize<Idrv9sn94spntn>>;
|
|
322
322
|
/**
|
|
323
323
|
* Send a call through an indexed pseudonym of the sender.
|
|
324
324
|
*
|
|
@@ -334,7 +334,7 @@ type ICalls = {
|
|
|
334
334
|
*
|
|
335
335
|
* The dispatch origin for this call must be _Signed_.
|
|
336
336
|
*/
|
|
337
|
-
as_derivative: TxDescriptor<Anonymize<
|
|
337
|
+
as_derivative: TxDescriptor<Anonymize<I66celthih5oio>>;
|
|
338
338
|
/**
|
|
339
339
|
* Send a batch of dispatch calls and atomically execute them.
|
|
340
340
|
* The whole transaction will rollback and fail if any of the calls failed.
|
|
@@ -350,7 +350,7 @@ type ICalls = {
|
|
|
350
350
|
* ## Complexity
|
|
351
351
|
* - O(C) where C is the number of calls to be batched.
|
|
352
352
|
*/
|
|
353
|
-
batch_all: TxDescriptor<Anonymize<
|
|
353
|
+
batch_all: TxDescriptor<Anonymize<Idrv9sn94spntn>>;
|
|
354
354
|
/**
|
|
355
355
|
* Dispatches a function call with a provided origin.
|
|
356
356
|
*
|
|
@@ -359,7 +359,7 @@ type ICalls = {
|
|
|
359
359
|
* ## Complexity
|
|
360
360
|
* - O(1).
|
|
361
361
|
*/
|
|
362
|
-
dispatch_as: TxDescriptor<Anonymize<
|
|
362
|
+
dispatch_as: TxDescriptor<Anonymize<I6h467t3h9mu0r>>;
|
|
363
363
|
/**
|
|
364
364
|
* Send a batch of dispatch calls.
|
|
365
365
|
* Unlike `batch`, it allows errors and won't interrupt.
|
|
@@ -375,7 +375,7 @@ type ICalls = {
|
|
|
375
375
|
* ## Complexity
|
|
376
376
|
* - O(C) where C is the number of calls to be batched.
|
|
377
377
|
*/
|
|
378
|
-
force_batch: TxDescriptor<Anonymize<
|
|
378
|
+
force_batch: TxDescriptor<Anonymize<Idrv9sn94spntn>>;
|
|
379
379
|
/**
|
|
380
380
|
* Dispatch a function call with a specified weight.
|
|
381
381
|
*
|
|
@@ -384,7 +384,7 @@ type ICalls = {
|
|
|
384
384
|
*
|
|
385
385
|
* The dispatch origin for this call must be _Root_.
|
|
386
386
|
*/
|
|
387
|
-
with_weight: TxDescriptor<Anonymize<
|
|
387
|
+
with_weight: TxDescriptor<Anonymize<Iaoqe81db6mqng>>;
|
|
388
388
|
/**
|
|
389
389
|
* Dispatch a fallback call in the event the main call fails to execute.
|
|
390
390
|
* May be called from any origin except `None`.
|
|
@@ -410,7 +410,7 @@ type ICalls = {
|
|
|
410
410
|
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
411
411
|
* or both.
|
|
412
412
|
*/
|
|
413
|
-
if_else: TxDescriptor<Anonymize<
|
|
413
|
+
if_else: TxDescriptor<Anonymize<Ie9o86shcq0ome>>;
|
|
414
414
|
/**
|
|
415
415
|
* Dispatches a function call with a provided origin.
|
|
416
416
|
*
|
|
@@ -418,7 +418,7 @@ type ICalls = {
|
|
|
418
418
|
*
|
|
419
419
|
* The dispatch origin for this call must be _Root_.
|
|
420
420
|
*/
|
|
421
|
-
dispatch_as_fallible: TxDescriptor<Anonymize<
|
|
421
|
+
dispatch_as_fallible: TxDescriptor<Anonymize<I6h467t3h9mu0r>>;
|
|
422
422
|
};
|
|
423
423
|
};
|
|
424
424
|
type IEvent = {};
|
|
@@ -3064,11 +3064,11 @@ type IRuntimeCalls = {
|
|
|
3064
3064
|
/**
|
|
3065
3065
|
* Dry run call V2.
|
|
3066
3066
|
*/
|
|
3067
|
-
dry_run_call: RuntimeDescriptor<[origin: Anonymize<I7qpv90droestd>, call: Anonymize<
|
|
3067
|
+
dry_run_call: RuntimeDescriptor<[origin: Anonymize<I7qpv90droestd>, call: Anonymize<I2nhpa757v7jk9>, result_xcms_version: number], Anonymize<I7d04odr0ekssi>>;
|
|
3068
3068
|
/**
|
|
3069
3069
|
* Dry run XCM program
|
|
3070
3070
|
*/
|
|
3071
|
-
dry_run_xcm: RuntimeDescriptor<[origin_location: XcmVersionedLocation, xcm: XcmVersionedXcm], Anonymize<
|
|
3071
|
+
dry_run_xcm: RuntimeDescriptor<[origin_location: XcmVersionedLocation, xcm: XcmVersionedXcm], Anonymize<I2timq2cfgd8gf>>;
|
|
3072
3072
|
};
|
|
3073
3073
|
/**
|
|
3074
3074
|
* This runtime api allows people to query the size of the liquidity pools
|
|
@@ -3150,7 +3150,7 @@ export type AhpEvents = EventsFromPalletsDef<PalletsTypedef>;
|
|
|
3150
3150
|
export type AhpErrors = ErrorsFromPalletsDef<PalletsTypedef>;
|
|
3151
3151
|
export type AhpConstants = ConstFromPalletsDef<PalletsTypedef>;
|
|
3152
3152
|
export type AhpViewFns = ViewFnsFromPalletsDef<PalletsTypedef>;
|
|
3153
|
-
export type AhpCallData = Anonymize<
|
|
3153
|
+
export type AhpCallData = Anonymize<I2nhpa757v7jk9> & {
|
|
3154
3154
|
value: {
|
|
3155
3155
|
type: string;
|
|
3156
3156
|
};
|
|
@@ -3247,7 +3247,7 @@ type AllInteractions = {
|
|
|
3247
3247
|
Bounties: ['propose_bounty', 'approve_bounty', 'propose_curator', 'unassign_curator', 'accept_curator', 'award_bounty', 'claim_bounty', 'close_bounty', 'extend_bounty_expiry', 'approve_bounty_with_curator', 'poke_deposit'];
|
|
3248
3248
|
ChildBounties: ['add_child_bounty', 'propose_curator', 'accept_curator', 'unassign_curator', 'award_child_bounty', 'claim_child_bounty', 'close_child_bounty'];
|
|
3249
3249
|
AssetRate: ['create', 'update', 'remove'];
|
|
3250
|
-
MultiAssetBounties: ['fund_bounty', 'fund_child_bounty', 'propose_curator', 'accept_curator', 'unassign_curator', 'award_bounty', 'close_bounty', 'check_status', 'retry_payment'];
|
|
3250
|
+
MultiAssetBounties: ['fund_bounty', 'fund_child_bounty', 'propose_curator', 'accept_curator', 'unassign_curator', 'award_bounty', 'close_bounty', 'check_status', 'retry_payment', 'increase_value'];
|
|
3251
3251
|
StateTrieMigration: ['control_auto_migration', 'continue_migrate', 'migrate_custom_top', 'migrate_custom_child', 'set_signed_max_limits', 'force_set_progress'];
|
|
3252
3252
|
NominationPools: ['join', 'bond_extra', 'claim_payout', 'unbond', 'pool_withdraw_unbonded', 'withdraw_unbonded', 'create', 'create_with_pool_id', 'nominate', 'set_state', 'set_metadata', 'set_configs', 'update_roles', 'chill', 'bond_extra_other', 'set_claim_permission', 'claim_payout_other', 'set_commission', 'set_commission_max', 'set_commission_change_rate', 'claim_commission', 'adjust_pool_deposit', 'set_commission_claim_permission', 'apply_slash', 'migrate_delegation', 'migrate_pool_to_delegate_stake'];
|
|
3253
3253
|
VoterList: ['rebag', 'put_in_front_of', 'put_in_front_of_other'];
|
|
@@ -3297,7 +3297,7 @@ type AllInteractions = {
|
|
|
3297
3297
|
Bounties: ['BountyProposed', 'BountyRejected', 'BountyBecameActive', 'BountyAwarded', 'BountyClaimed', 'BountyCanceled', 'BountyExtended', 'BountyApproved', 'CuratorProposed', 'CuratorUnassigned', 'CuratorAccepted', 'DepositPoked'];
|
|
3298
3298
|
ChildBounties: ['Added', 'Awarded', 'Claimed', 'Canceled'];
|
|
3299
3299
|
AssetRate: ['AssetRateCreated', 'AssetRateRemoved', 'AssetRateUpdated'];
|
|
3300
|
-
MultiAssetBounties: ['BountyCreated', 'ChildBountyCreated', 'BountyBecameActive', 'BountyAwarded', 'BountyPayoutProcessed', 'BountyFundingProcessed', 'BountyRefundProcessed', 'BountyCanceled', 'CuratorUnassigned', 'CuratorProposed', 'PaymentFailed', 'Paid'];
|
|
3300
|
+
MultiAssetBounties: ['BountyCreated', 'ChildBountyCreated', 'BountyBecameActive', 'BountyAwarded', 'BountyPayoutProcessed', 'BountyFundingProcessed', 'BountyRefundProcessed', 'BountyCanceled', 'CuratorUnassigned', 'CuratorProposed', 'PaymentFailed', 'Paid', 'BountyValueIncreased'];
|
|
3301
3301
|
StateTrieMigration: ['Migrated', 'Slashed', 'AutoMigrationFinished', 'Halted'];
|
|
3302
3302
|
NominationPools: ['Created', 'Bonded', 'PaidOut', 'Unbonded', 'Withdrawn', 'Destroyed', 'StateChanged', 'MemberRemoved', 'RolesUpdated', 'PoolSlashed', 'UnbondingPoolSlashed', 'PoolCommissionUpdated', 'PoolMaxCommissionUpdated', 'PoolCommissionChangeRateUpdated', 'PoolCommissionClaimPermissionUpdated', 'PoolCommissionClaimed', 'MinBalanceDeficitAdjusted', 'MinBalanceExcessAdjusted', 'MemberClaimPermissionUpdated', 'MetadataUpdated', 'PoolNominationMade', 'PoolNominatorChilled', 'GlobalParamsUpdated'];
|
|
3303
3303
|
VoterList: ['Rebagged', 'ScoreUpdated'];
|