@dedot/chaintypes 0.121.0 → 0.123.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/kusama-asset-hub/consts.d.ts +98 -2
- package/kusama-asset-hub/errors.d.ts +314 -12
- package/kusama-asset-hub/events.d.ts +157 -3
- package/kusama-asset-hub/index.d.ts +1 -1
- package/kusama-asset-hub/query.d.ts +113 -6
- package/kusama-asset-hub/runtime.d.ts +217 -1
- package/kusama-asset-hub/tx.d.ts +581 -1
- package/kusama-asset-hub/types.d.ts +1086 -26
- package/moonbeam/consts.d.ts +42 -2
- package/moonbeam/errors.d.ts +52 -0
- package/moonbeam/events.d.ts +282 -49
- package/moonbeam/index.d.ts +1 -1
- package/moonbeam/query.d.ts +125 -56
- package/moonbeam/runtime.d.ts +3 -1
- package/moonbeam/tx.d.ts +312 -38
- package/moonbeam/types.d.ts +804 -365
- package/package.json +2 -2
package/moonbeam/types.d.ts
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import type {
|
|
4
4
|
Phase,
|
|
5
5
|
H256,
|
|
6
|
-
DispatchInfo,
|
|
7
6
|
DispatchError,
|
|
8
7
|
AccountId20,
|
|
9
8
|
FixedBytes,
|
|
@@ -89,6 +88,7 @@ export type MoonbeamRuntimeRuntimeEvent =
|
|
|
89
88
|
| { pallet: 'EvmForeignAssets'; palletEvent: PalletMoonbeamForeignAssetsEvent }
|
|
90
89
|
| { pallet: 'XcmWeightTrader'; palletEvent: PalletXcmWeightTraderEvent }
|
|
91
90
|
| { pallet: 'EmergencyParaXcm'; palletEvent: PalletEmergencyParaXcmEvent }
|
|
91
|
+
| { pallet: 'MultiBlockMigrations'; palletEvent: PalletMigrationsEvent002 }
|
|
92
92
|
| { pallet: 'Randomness'; palletEvent: PalletRandomnessEvent };
|
|
93
93
|
|
|
94
94
|
/**
|
|
@@ -98,11 +98,11 @@ export type FrameSystemEvent =
|
|
|
98
98
|
/**
|
|
99
99
|
* An extrinsic completed successfully.
|
|
100
100
|
**/
|
|
101
|
-
| { name: 'ExtrinsicSuccess'; data: { dispatchInfo:
|
|
101
|
+
| { name: 'ExtrinsicSuccess'; data: { dispatchInfo: FrameSystemDispatchEventInfo } }
|
|
102
102
|
/**
|
|
103
103
|
* An extrinsic failed.
|
|
104
104
|
**/
|
|
105
|
-
| { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; dispatchInfo:
|
|
105
|
+
| { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo } }
|
|
106
106
|
/**
|
|
107
107
|
* `:code` was updated.
|
|
108
108
|
**/
|
|
@@ -124,10 +124,32 @@ export type FrameSystemEvent =
|
|
|
124
124
|
**/
|
|
125
125
|
| { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } };
|
|
126
126
|
|
|
127
|
+
export type FrameSystemDispatchEventInfo = {
|
|
128
|
+
weight: SpWeightsWeightV2Weight;
|
|
129
|
+
class: FrameSupportDispatchDispatchClass;
|
|
130
|
+
paysFee: FrameSupportDispatchPays;
|
|
131
|
+
};
|
|
132
|
+
|
|
127
133
|
export type FrameSupportDispatchDispatchClass = 'Normal' | 'Operational' | 'Mandatory';
|
|
128
134
|
|
|
129
135
|
export type FrameSupportDispatchPays = 'Yes' | 'No';
|
|
130
136
|
|
|
137
|
+
export type SpRuntimeProvingTrieTrieError =
|
|
138
|
+
| 'InvalidStateRoot'
|
|
139
|
+
| 'IncompleteDatabase'
|
|
140
|
+
| 'ValueAtIncompleteKey'
|
|
141
|
+
| 'DecoderError'
|
|
142
|
+
| 'InvalidHash'
|
|
143
|
+
| 'DuplicateKey'
|
|
144
|
+
| 'ExtraneousNode'
|
|
145
|
+
| 'ExtraneousValue'
|
|
146
|
+
| 'ExtraneousHashReference'
|
|
147
|
+
| 'InvalidChildReference'
|
|
148
|
+
| 'ValueMismatch'
|
|
149
|
+
| 'IncompleteProof'
|
|
150
|
+
| 'RootMismatch'
|
|
151
|
+
| 'DecodeError';
|
|
152
|
+
|
|
131
153
|
/**
|
|
132
154
|
* The `Event` enum of this pallet
|
|
133
155
|
**/
|
|
@@ -717,6 +739,14 @@ export type PalletIdentityEvent =
|
|
|
717
739
|
* A sub-identity was added to an identity and the deposit paid.
|
|
718
740
|
**/
|
|
719
741
|
| { name: 'SubIdentityAdded'; data: { sub: AccountId20; main: AccountId20; deposit: bigint } }
|
|
742
|
+
/**
|
|
743
|
+
* An account's sub-identities were set (in bulk).
|
|
744
|
+
**/
|
|
745
|
+
| { name: 'SubIdentitiesSet'; data: { main: AccountId20; numberOfSubs: number; newDeposit: bigint } }
|
|
746
|
+
/**
|
|
747
|
+
* A given sub-account's associated name was changed by its super-identity.
|
|
748
|
+
**/
|
|
749
|
+
| { name: 'SubIdentityRenamed'; data: { sub: AccountId20; main: AccountId20 } }
|
|
720
750
|
/**
|
|
721
751
|
* A sub-identity was removed from an identity and the deposit freed.
|
|
722
752
|
**/
|
|
@@ -754,7 +784,19 @@ export type PalletIdentityEvent =
|
|
|
754
784
|
* A dangling username (as in, a username corresponding to an account that has removed its
|
|
755
785
|
* identity) has been removed.
|
|
756
786
|
**/
|
|
757
|
-
| { name: 'DanglingUsernameRemoved'; data: { who: AccountId20; username: Bytes } }
|
|
787
|
+
| { name: 'DanglingUsernameRemoved'; data: { who: AccountId20; username: Bytes } }
|
|
788
|
+
/**
|
|
789
|
+
* A username has been unbound.
|
|
790
|
+
**/
|
|
791
|
+
| { name: 'UsernameUnbound'; data: { username: Bytes } }
|
|
792
|
+
/**
|
|
793
|
+
* A username has been removed.
|
|
794
|
+
**/
|
|
795
|
+
| { name: 'UsernameRemoved'; data: { username: Bytes } }
|
|
796
|
+
/**
|
|
797
|
+
* A username has been killed.
|
|
798
|
+
**/
|
|
799
|
+
| { name: 'UsernameKilled'; data: { username: Bytes } };
|
|
758
800
|
|
|
759
801
|
/**
|
|
760
802
|
* The `Event` enum of this pallet
|
|
@@ -1407,6 +1449,7 @@ export type MoonbeamRuntimeRuntimeCall =
|
|
|
1407
1449
|
| { pallet: 'EvmForeignAssets'; palletCall: PalletMoonbeamForeignAssetsCall }
|
|
1408
1450
|
| { pallet: 'XcmWeightTrader'; palletCall: PalletXcmWeightTraderCall }
|
|
1409
1451
|
| { pallet: 'EmergencyParaXcm'; palletCall: PalletEmergencyParaXcmCall }
|
|
1452
|
+
| { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCall }
|
|
1410
1453
|
| { pallet: 'Randomness'; palletCall: PalletRandomnessCall };
|
|
1411
1454
|
|
|
1412
1455
|
export type MoonbeamRuntimeRuntimeCallLike =
|
|
@@ -1447,6 +1490,7 @@ export type MoonbeamRuntimeRuntimeCallLike =
|
|
|
1447
1490
|
| { pallet: 'EvmForeignAssets'; palletCall: PalletMoonbeamForeignAssetsCallLike }
|
|
1448
1491
|
| { pallet: 'XcmWeightTrader'; palletCall: PalletXcmWeightTraderCallLike }
|
|
1449
1492
|
| { pallet: 'EmergencyParaXcm'; palletCall: PalletEmergencyParaXcmCallLike }
|
|
1493
|
+
| { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCallLike }
|
|
1450
1494
|
| { pallet: 'Randomness'; palletCall: PalletRandomnessCallLike };
|
|
1451
1495
|
|
|
1452
1496
|
/**
|
|
@@ -2580,8 +2624,7 @@ export type MoonbeamRuntimeOriginCaller =
|
|
|
2580
2624
|
| { type: 'OpenTechCommitteeCollective'; value: PalletCollectiveRawOrigin }
|
|
2581
2625
|
| { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin }
|
|
2582
2626
|
| { type: 'PolkadotXcm'; value: PalletXcmOrigin }
|
|
2583
|
-
| { type: 'EthereumXcm'; value: PalletEthereumXcmRawOrigin }
|
|
2584
|
-
| { type: 'Void'; value: SpCoreVoid };
|
|
2627
|
+
| { type: 'EthereumXcm'; value: PalletEthereumXcmRawOrigin };
|
|
2585
2628
|
|
|
2586
2629
|
export type FrameSupportDispatchRawOrigin =
|
|
2587
2630
|
| { type: 'Root' }
|
|
@@ -2607,42 +2650,39 @@ export type CumulusPalletXcmOrigin =
|
|
|
2607
2650
|
| { type: 'SiblingParachain'; value: PolkadotParachainPrimitivesPrimitivesId };
|
|
2608
2651
|
|
|
2609
2652
|
export type PalletXcmOrigin =
|
|
2610
|
-
| { type: 'Xcm'; value:
|
|
2611
|
-
| { type: 'Response'; value:
|
|
2653
|
+
| { type: 'Xcm'; value: StagingXcmV5Location }
|
|
2654
|
+
| { type: 'Response'; value: StagingXcmV5Location };
|
|
2612
2655
|
|
|
2613
|
-
export type
|
|
2656
|
+
export type StagingXcmV5Location = { parents: number; interior: StagingXcmV5Junctions };
|
|
2614
2657
|
|
|
2615
|
-
export type
|
|
2658
|
+
export type StagingXcmV5Junctions =
|
|
2616
2659
|
| { type: 'Here' }
|
|
2617
|
-
| { type: 'X1'; value: FixedArray<
|
|
2618
|
-
| { type: 'X2'; value: FixedArray<
|
|
2619
|
-
| { type: 'X3'; value: FixedArray<
|
|
2620
|
-
| { type: 'X4'; value: FixedArray<
|
|
2621
|
-
| { type: 'X5'; value: FixedArray<
|
|
2622
|
-
| { type: 'X6'; value: FixedArray<
|
|
2623
|
-
| { type: 'X7'; value: FixedArray<
|
|
2624
|
-
| { type: 'X8'; value: FixedArray<
|
|
2625
|
-
|
|
2626
|
-
export type
|
|
2660
|
+
| { type: 'X1'; value: FixedArray<StagingXcmV5Junction, 1> }
|
|
2661
|
+
| { type: 'X2'; value: FixedArray<StagingXcmV5Junction, 2> }
|
|
2662
|
+
| { type: 'X3'; value: FixedArray<StagingXcmV5Junction, 3> }
|
|
2663
|
+
| { type: 'X4'; value: FixedArray<StagingXcmV5Junction, 4> }
|
|
2664
|
+
| { type: 'X5'; value: FixedArray<StagingXcmV5Junction, 5> }
|
|
2665
|
+
| { type: 'X6'; value: FixedArray<StagingXcmV5Junction, 6> }
|
|
2666
|
+
| { type: 'X7'; value: FixedArray<StagingXcmV5Junction, 7> }
|
|
2667
|
+
| { type: 'X8'; value: FixedArray<StagingXcmV5Junction, 8> };
|
|
2668
|
+
|
|
2669
|
+
export type StagingXcmV5Junction =
|
|
2627
2670
|
| { type: 'Parachain'; value: number }
|
|
2628
|
-
| { type: 'AccountId32'; value: { network?:
|
|
2629
|
-
| { type: 'AccountIndex64'; value: { network?:
|
|
2630
|
-
| { type: 'AccountKey20'; value: { network?:
|
|
2671
|
+
| { type: 'AccountId32'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
2672
|
+
| { type: 'AccountIndex64'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; index: bigint } }
|
|
2673
|
+
| { type: 'AccountKey20'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
2631
2674
|
| { type: 'PalletInstance'; value: number }
|
|
2632
2675
|
| { type: 'GeneralIndex'; value: bigint }
|
|
2633
2676
|
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
2634
2677
|
| { type: 'OnlyChild' }
|
|
2635
2678
|
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
2636
|
-
| { type: 'GlobalConsensus'; value:
|
|
2679
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV5JunctionNetworkId };
|
|
2637
2680
|
|
|
2638
|
-
export type
|
|
2681
|
+
export type StagingXcmV5JunctionNetworkId =
|
|
2639
2682
|
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
2640
2683
|
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
2641
2684
|
| { type: 'Polkadot' }
|
|
2642
2685
|
| { type: 'Kusama' }
|
|
2643
|
-
| { type: 'Westend' }
|
|
2644
|
-
| { type: 'Rococo' }
|
|
2645
|
-
| { type: 'Wococo' }
|
|
2646
2686
|
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
2647
2687
|
| { type: 'BitcoinCore' }
|
|
2648
2688
|
| { type: 'BitcoinCash' }
|
|
@@ -2669,8 +2709,6 @@ export type XcmV3JunctionBodyPart =
|
|
|
2669
2709
|
|
|
2670
2710
|
export type PalletEthereumXcmRawOrigin = { type: 'XcmEthereumTransaction'; value: H160 };
|
|
2671
2711
|
|
|
2672
|
-
export type SpCoreVoid = null;
|
|
2673
|
-
|
|
2674
2712
|
/**
|
|
2675
2713
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2676
2714
|
**/
|
|
@@ -3238,18 +3276,23 @@ export type PalletIdentityCall =
|
|
|
3238
3276
|
/**
|
|
3239
3277
|
* Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
|
|
3240
3278
|
*
|
|
3241
|
-
* The authority can grant up to `allocation` usernames. To top up
|
|
3242
|
-
*
|
|
3279
|
+
* The authority can grant up to `allocation` usernames. To top up the allocation or
|
|
3280
|
+
* change the account used to grant usernames, this call can be used with the updated
|
|
3281
|
+
* parameters to overwrite the existing configuration.
|
|
3243
3282
|
**/
|
|
3244
3283
|
| { name: 'AddUsernameAuthority'; params: { authority: AccountId20; suffix: Bytes; allocation: number } }
|
|
3245
3284
|
/**
|
|
3246
3285
|
* Remove `authority` from the username authorities.
|
|
3247
3286
|
**/
|
|
3248
|
-
| { name: 'RemoveUsernameAuthority'; params: { authority: AccountId20 } }
|
|
3287
|
+
| { name: 'RemoveUsernameAuthority'; params: { suffix: Bytes; authority: AccountId20 } }
|
|
3249
3288
|
/**
|
|
3250
3289
|
* Set the username for `who`. Must be called by a username authority.
|
|
3251
3290
|
*
|
|
3252
|
-
*
|
|
3291
|
+
* If `use_allocation` is set, the authority must have a username allocation available to
|
|
3292
|
+
* spend. Otherwise, the authority will need to put up a deposit for registering the
|
|
3293
|
+
* username.
|
|
3294
|
+
*
|
|
3295
|
+
* Users can either pre-sign their usernames or
|
|
3253
3296
|
* accept them later.
|
|
3254
3297
|
*
|
|
3255
3298
|
* Usernames must:
|
|
@@ -3259,7 +3302,12 @@ export type PalletIdentityCall =
|
|
|
3259
3302
|
**/
|
|
3260
3303
|
| {
|
|
3261
3304
|
name: 'SetUsernameFor';
|
|
3262
|
-
params: {
|
|
3305
|
+
params: {
|
|
3306
|
+
who: AccountId20;
|
|
3307
|
+
username: Bytes;
|
|
3308
|
+
signature?: AccountEthereumSignature | undefined;
|
|
3309
|
+
useAllocation: boolean;
|
|
3310
|
+
};
|
|
3263
3311
|
}
|
|
3264
3312
|
/**
|
|
3265
3313
|
* Accept a given username that an `authority` granted. The call must include the full
|
|
@@ -3277,10 +3325,21 @@ export type PalletIdentityCall =
|
|
|
3277
3325
|
**/
|
|
3278
3326
|
| { name: 'SetPrimaryUsername'; params: { username: Bytes } }
|
|
3279
3327
|
/**
|
|
3280
|
-
*
|
|
3281
|
-
*
|
|
3328
|
+
* Start the process of removing a username by placing it in the unbinding usernames map.
|
|
3329
|
+
* Once the grace period has passed, the username can be deleted by calling
|
|
3330
|
+
* [remove_username](crate::Call::remove_username).
|
|
3331
|
+
**/
|
|
3332
|
+
| { name: 'UnbindUsername'; params: { username: Bytes } }
|
|
3333
|
+
/**
|
|
3334
|
+
* Permanently delete a username which has been unbinding for longer than the grace period.
|
|
3335
|
+
* Caller is refunded the fee if the username expired and the removal was successful.
|
|
3336
|
+
**/
|
|
3337
|
+
| { name: 'RemoveUsername'; params: { username: Bytes } }
|
|
3338
|
+
/**
|
|
3339
|
+
* Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
|
|
3340
|
+
* and slashes any deposit associated with it.
|
|
3282
3341
|
**/
|
|
3283
|
-
| { name: '
|
|
3342
|
+
| { name: 'KillUsername'; params: { username: Bytes } };
|
|
3284
3343
|
|
|
3285
3344
|
export type PalletIdentityCallLike =
|
|
3286
3345
|
/**
|
|
@@ -3470,18 +3529,23 @@ export type PalletIdentityCallLike =
|
|
|
3470
3529
|
/**
|
|
3471
3530
|
* Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
|
|
3472
3531
|
*
|
|
3473
|
-
* The authority can grant up to `allocation` usernames. To top up
|
|
3474
|
-
*
|
|
3532
|
+
* The authority can grant up to `allocation` usernames. To top up the allocation or
|
|
3533
|
+
* change the account used to grant usernames, this call can be used with the updated
|
|
3534
|
+
* parameters to overwrite the existing configuration.
|
|
3475
3535
|
**/
|
|
3476
3536
|
| { name: 'AddUsernameAuthority'; params: { authority: AccountId20Like; suffix: BytesLike; allocation: number } }
|
|
3477
3537
|
/**
|
|
3478
3538
|
* Remove `authority` from the username authorities.
|
|
3479
3539
|
**/
|
|
3480
|
-
| { name: 'RemoveUsernameAuthority'; params: { authority: AccountId20Like } }
|
|
3540
|
+
| { name: 'RemoveUsernameAuthority'; params: { suffix: BytesLike; authority: AccountId20Like } }
|
|
3481
3541
|
/**
|
|
3482
3542
|
* Set the username for `who`. Must be called by a username authority.
|
|
3483
3543
|
*
|
|
3484
|
-
*
|
|
3544
|
+
* If `use_allocation` is set, the authority must have a username allocation available to
|
|
3545
|
+
* spend. Otherwise, the authority will need to put up a deposit for registering the
|
|
3546
|
+
* username.
|
|
3547
|
+
*
|
|
3548
|
+
* Users can either pre-sign their usernames or
|
|
3485
3549
|
* accept them later.
|
|
3486
3550
|
*
|
|
3487
3551
|
* Usernames must:
|
|
@@ -3491,7 +3555,12 @@ export type PalletIdentityCallLike =
|
|
|
3491
3555
|
**/
|
|
3492
3556
|
| {
|
|
3493
3557
|
name: 'SetUsernameFor';
|
|
3494
|
-
params: {
|
|
3558
|
+
params: {
|
|
3559
|
+
who: AccountId20Like;
|
|
3560
|
+
username: BytesLike;
|
|
3561
|
+
signature?: AccountEthereumSignature | undefined;
|
|
3562
|
+
useAllocation: boolean;
|
|
3563
|
+
};
|
|
3495
3564
|
}
|
|
3496
3565
|
/**
|
|
3497
3566
|
* Accept a given username that an `authority` granted. The call must include the full
|
|
@@ -3509,10 +3578,21 @@ export type PalletIdentityCallLike =
|
|
|
3509
3578
|
**/
|
|
3510
3579
|
| { name: 'SetPrimaryUsername'; params: { username: BytesLike } }
|
|
3511
3580
|
/**
|
|
3512
|
-
*
|
|
3513
|
-
*
|
|
3581
|
+
* Start the process of removing a username by placing it in the unbinding usernames map.
|
|
3582
|
+
* Once the grace period has passed, the username can be deleted by calling
|
|
3583
|
+
* [remove_username](crate::Call::remove_username).
|
|
3514
3584
|
**/
|
|
3515
|
-
| { name: '
|
|
3585
|
+
| { name: 'UnbindUsername'; params: { username: BytesLike } }
|
|
3586
|
+
/**
|
|
3587
|
+
* Permanently delete a username which has been unbinding for longer than the grace period.
|
|
3588
|
+
* Caller is refunded the fee if the username expired and the removal was successful.
|
|
3589
|
+
**/
|
|
3590
|
+
| { name: 'RemoveUsername'; params: { username: BytesLike } }
|
|
3591
|
+
/**
|
|
3592
|
+
* Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
|
|
3593
|
+
* and slashes any deposit associated with it.
|
|
3594
|
+
**/
|
|
3595
|
+
| { name: 'KillUsername'; params: { username: BytesLike } };
|
|
3516
3596
|
|
|
3517
3597
|
export type PalletIdentityLegacyIdentityInfo = {
|
|
3518
3598
|
additional: Array<[Data, Data]>;
|
|
@@ -4023,52 +4103,56 @@ export type PalletEthereumCallLike =
|
|
|
4023
4103
|
{ name: 'Transact'; params: { transaction: EthereumTransactionTransactionV2 } };
|
|
4024
4104
|
|
|
4025
4105
|
export type EthereumTransactionTransactionV2 =
|
|
4026
|
-
| { type: 'Legacy'; value:
|
|
4027
|
-
| { type: 'Eip2930'; value:
|
|
4028
|
-
| { type: 'Eip1559'; value:
|
|
4106
|
+
| { type: 'Legacy'; value: EthereumTransactionLegacyLegacyTransaction }
|
|
4107
|
+
| { type: 'Eip2930'; value: EthereumTransactionEip2930Eip2930Transaction }
|
|
4108
|
+
| { type: 'Eip1559'; value: EthereumTransactionEip1559Eip1559Transaction };
|
|
4029
4109
|
|
|
4030
|
-
export type
|
|
4110
|
+
export type EthereumTransactionLegacyLegacyTransaction = {
|
|
4031
4111
|
nonce: U256;
|
|
4032
4112
|
gasPrice: U256;
|
|
4033
4113
|
gasLimit: U256;
|
|
4034
|
-
action:
|
|
4114
|
+
action: EthereumTransactionLegacyTransactionAction;
|
|
4035
4115
|
value: U256;
|
|
4036
4116
|
input: Bytes;
|
|
4037
|
-
signature:
|
|
4117
|
+
signature: EthereumTransactionLegacyTransactionSignature;
|
|
4038
4118
|
};
|
|
4039
4119
|
|
|
4040
|
-
export type
|
|
4120
|
+
export type EthereumTransactionLegacyTransactionAction = { type: 'Call'; value: H160 } | { type: 'Create' };
|
|
4041
4121
|
|
|
4042
|
-
export type
|
|
4122
|
+
export type EthereumTransactionLegacyTransactionSignature = {
|
|
4123
|
+
v: EthereumTransactionLegacyTransactionRecoveryId;
|
|
4124
|
+
r: H256;
|
|
4125
|
+
s: H256;
|
|
4126
|
+
};
|
|
4043
4127
|
|
|
4044
|
-
export type
|
|
4128
|
+
export type EthereumTransactionLegacyTransactionRecoveryId = bigint;
|
|
4045
4129
|
|
|
4046
|
-
export type
|
|
4130
|
+
export type EthereumTransactionEip2930Eip2930Transaction = {
|
|
4047
4131
|
chainId: bigint;
|
|
4048
4132
|
nonce: U256;
|
|
4049
4133
|
gasPrice: U256;
|
|
4050
4134
|
gasLimit: U256;
|
|
4051
|
-
action:
|
|
4135
|
+
action: EthereumTransactionLegacyTransactionAction;
|
|
4052
4136
|
value: U256;
|
|
4053
4137
|
input: Bytes;
|
|
4054
|
-
accessList: Array<
|
|
4138
|
+
accessList: Array<EthereumTransactionEip2930AccessListItem>;
|
|
4055
4139
|
oddYParity: boolean;
|
|
4056
4140
|
r: H256;
|
|
4057
4141
|
s: H256;
|
|
4058
4142
|
};
|
|
4059
4143
|
|
|
4060
|
-
export type
|
|
4144
|
+
export type EthereumTransactionEip2930AccessListItem = { address: H160; storageKeys: Array<H256> };
|
|
4061
4145
|
|
|
4062
|
-
export type
|
|
4146
|
+
export type EthereumTransactionEip1559Eip1559Transaction = {
|
|
4063
4147
|
chainId: bigint;
|
|
4064
4148
|
nonce: U256;
|
|
4065
4149
|
maxPriorityFeePerGas: U256;
|
|
4066
4150
|
maxFeePerGas: U256;
|
|
4067
4151
|
gasLimit: U256;
|
|
4068
|
-
action:
|
|
4152
|
+
action: EthereumTransactionLegacyTransactionAction;
|
|
4069
4153
|
value: U256;
|
|
4070
4154
|
input: Bytes;
|
|
4071
|
-
accessList: Array<
|
|
4155
|
+
accessList: Array<EthereumTransactionEip2930AccessListItem>;
|
|
4072
4156
|
oddYParity: boolean;
|
|
4073
4157
|
r: H256;
|
|
4074
4158
|
s: H256;
|
|
@@ -4949,7 +5033,29 @@ export type PalletCollectiveCall =
|
|
|
4949
5033
|
| {
|
|
4950
5034
|
name: 'Close';
|
|
4951
5035
|
params: { proposalHash: H256; index: number; proposalWeightBound: SpWeightsWeightV2Weight; lengthBound: number };
|
|
4952
|
-
}
|
|
5036
|
+
}
|
|
5037
|
+
/**
|
|
5038
|
+
* Disapprove the proposal and burn the cost held for storing this proposal.
|
|
5039
|
+
*
|
|
5040
|
+
* Parameters:
|
|
5041
|
+
* - `origin`: must be the `KillOrigin`.
|
|
5042
|
+
* - `proposal_hash`: The hash of the proposal that should be killed.
|
|
5043
|
+
*
|
|
5044
|
+
* Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
|
|
5045
|
+
**/
|
|
5046
|
+
| { name: 'Kill'; params: { proposalHash: H256 } }
|
|
5047
|
+
/**
|
|
5048
|
+
* Release the cost held for storing a proposal once the given proposal is completed.
|
|
5049
|
+
*
|
|
5050
|
+
* If there is no associated cost for the given proposal, this call will have no effect.
|
|
5051
|
+
*
|
|
5052
|
+
* Parameters:
|
|
5053
|
+
* - `origin`: must be `Signed` or `Root`.
|
|
5054
|
+
* - `proposal_hash`: The hash of the proposal.
|
|
5055
|
+
*
|
|
5056
|
+
* Emits `ProposalCostReleased` if any cost held for a given proposal.
|
|
5057
|
+
**/
|
|
5058
|
+
| { name: 'ReleaseProposalCost'; params: { proposalHash: H256 } };
|
|
4953
5059
|
|
|
4954
5060
|
export type PalletCollectiveCallLike =
|
|
4955
5061
|
/**
|
|
@@ -5065,7 +5171,29 @@ export type PalletCollectiveCallLike =
|
|
|
5065
5171
|
| {
|
|
5066
5172
|
name: 'Close';
|
|
5067
5173
|
params: { proposalHash: H256; index: number; proposalWeightBound: SpWeightsWeightV2Weight; lengthBound: number };
|
|
5068
|
-
}
|
|
5174
|
+
}
|
|
5175
|
+
/**
|
|
5176
|
+
* Disapprove the proposal and burn the cost held for storing this proposal.
|
|
5177
|
+
*
|
|
5178
|
+
* Parameters:
|
|
5179
|
+
* - `origin`: must be the `KillOrigin`.
|
|
5180
|
+
* - `proposal_hash`: The hash of the proposal that should be killed.
|
|
5181
|
+
*
|
|
5182
|
+
* Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
|
|
5183
|
+
**/
|
|
5184
|
+
| { name: 'Kill'; params: { proposalHash: H256 } }
|
|
5185
|
+
/**
|
|
5186
|
+
* Release the cost held for storing a proposal once the given proposal is completed.
|
|
5187
|
+
*
|
|
5188
|
+
* If there is no associated cost for the given proposal, this call will have no effect.
|
|
5189
|
+
*
|
|
5190
|
+
* Parameters:
|
|
5191
|
+
* - `origin`: must be `Signed` or `Root`.
|
|
5192
|
+
* - `proposal_hash`: The hash of the proposal.
|
|
5193
|
+
*
|
|
5194
|
+
* Emits `ProposalCostReleased` if any cost held for a given proposal.
|
|
5195
|
+
**/
|
|
5196
|
+
| { name: 'ReleaseProposalCost'; params: { proposalHash: H256 } };
|
|
5069
5197
|
|
|
5070
5198
|
/**
|
|
5071
5199
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -5145,7 +5273,12 @@ export type PalletTreasuryCall =
|
|
|
5145
5273
|
**/
|
|
5146
5274
|
| {
|
|
5147
5275
|
name: 'Spend';
|
|
5148
|
-
params: {
|
|
5276
|
+
params: {
|
|
5277
|
+
assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
5278
|
+
amount: bigint;
|
|
5279
|
+
beneficiary: AccountId20;
|
|
5280
|
+
validFrom?: number | undefined;
|
|
5281
|
+
};
|
|
5149
5282
|
}
|
|
5150
5283
|
/**
|
|
5151
5284
|
* Claim a spend.
|
|
@@ -5286,7 +5419,12 @@ export type PalletTreasuryCallLike =
|
|
|
5286
5419
|
**/
|
|
5287
5420
|
| {
|
|
5288
5421
|
name: 'Spend';
|
|
5289
|
-
params: {
|
|
5422
|
+
params: {
|
|
5423
|
+
assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
5424
|
+
amount: bigint;
|
|
5425
|
+
beneficiary: AccountId20Like;
|
|
5426
|
+
validFrom?: number | undefined;
|
|
5427
|
+
};
|
|
5290
5428
|
}
|
|
5291
5429
|
/**
|
|
5292
5430
|
* Claim a spend.
|
|
@@ -5352,6 +5490,8 @@ export type PalletTreasuryCallLike =
|
|
|
5352
5490
|
**/
|
|
5353
5491
|
| { name: 'VoidSpend'; params: { index: number } };
|
|
5354
5492
|
|
|
5493
|
+
export type FrameSupportTokensFungibleUnionOfNativeOrWithId = { type: 'Native' } | { type: 'WithId'; value: bigint };
|
|
5494
|
+
|
|
5355
5495
|
/**
|
|
5356
5496
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
5357
5497
|
**/
|
|
@@ -5552,7 +5692,7 @@ export type PalletXcmCall =
|
|
|
5552
5692
|
* - `location`: The destination that is being described.
|
|
5553
5693
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
5554
5694
|
**/
|
|
5555
|
-
| { name: 'ForceXcmVersion'; params: { location:
|
|
5695
|
+
| { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
|
|
5556
5696
|
/**
|
|
5557
5697
|
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
5558
5698
|
* version a destination can accept is unknown).
|
|
@@ -5864,7 +6004,7 @@ export type PalletXcmCallLike =
|
|
|
5864
6004
|
* - `location`: The destination that is being described.
|
|
5865
6005
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
5866
6006
|
**/
|
|
5867
|
-
| { name: 'ForceXcmVersion'; params: { location:
|
|
6007
|
+
| { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
|
|
5868
6008
|
/**
|
|
5869
6009
|
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
5870
6010
|
* version a destination can accept is unknown).
|
|
@@ -6086,73 +6226,9 @@ export type PalletXcmCallLike =
|
|
|
6086
6226
|
};
|
|
6087
6227
|
|
|
6088
6228
|
export type XcmVersionedLocation =
|
|
6089
|
-
| { type: 'V2'; value: XcmV2MultilocationMultiLocation }
|
|
6090
6229
|
| { type: 'V3'; value: StagingXcmV3MultilocationMultiLocation }
|
|
6091
|
-
| { type: 'V4'; value: StagingXcmV4Location }
|
|
6092
|
-
|
|
6093
|
-
export type XcmV2MultilocationMultiLocation = { parents: number; interior: XcmV2MultilocationJunctions };
|
|
6094
|
-
|
|
6095
|
-
export type XcmV2MultilocationJunctions =
|
|
6096
|
-
| { type: 'Here' }
|
|
6097
|
-
| { type: 'X1'; value: XcmV2Junction }
|
|
6098
|
-
| { type: 'X2'; value: [XcmV2Junction, XcmV2Junction] }
|
|
6099
|
-
| { type: 'X3'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction] }
|
|
6100
|
-
| { type: 'X4'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
|
|
6101
|
-
| { type: 'X5'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
|
|
6102
|
-
| { type: 'X6'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
|
|
6103
|
-
| {
|
|
6104
|
-
type: 'X7';
|
|
6105
|
-
value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction];
|
|
6106
|
-
}
|
|
6107
|
-
| {
|
|
6108
|
-
type: 'X8';
|
|
6109
|
-
value: [
|
|
6110
|
-
XcmV2Junction,
|
|
6111
|
-
XcmV2Junction,
|
|
6112
|
-
XcmV2Junction,
|
|
6113
|
-
XcmV2Junction,
|
|
6114
|
-
XcmV2Junction,
|
|
6115
|
-
XcmV2Junction,
|
|
6116
|
-
XcmV2Junction,
|
|
6117
|
-
XcmV2Junction,
|
|
6118
|
-
];
|
|
6119
|
-
};
|
|
6120
|
-
|
|
6121
|
-
export type XcmV2Junction =
|
|
6122
|
-
| { type: 'Parachain'; value: number }
|
|
6123
|
-
| { type: 'AccountId32'; value: { network: XcmV2NetworkId; id: FixedBytes<32> } }
|
|
6124
|
-
| { type: 'AccountIndex64'; value: { network: XcmV2NetworkId; index: bigint } }
|
|
6125
|
-
| { type: 'AccountKey20'; value: { network: XcmV2NetworkId; key: FixedBytes<20> } }
|
|
6126
|
-
| { type: 'PalletInstance'; value: number }
|
|
6127
|
-
| { type: 'GeneralIndex'; value: bigint }
|
|
6128
|
-
| { type: 'GeneralKey'; value: Bytes }
|
|
6129
|
-
| { type: 'OnlyChild' }
|
|
6130
|
-
| { type: 'Plurality'; value: { id: XcmV2BodyId; part: XcmV2BodyPart } };
|
|
6131
|
-
|
|
6132
|
-
export type XcmV2NetworkId =
|
|
6133
|
-
| { type: 'Any' }
|
|
6134
|
-
| { type: 'Named'; value: Bytes }
|
|
6135
|
-
| { type: 'Polkadot' }
|
|
6136
|
-
| { type: 'Kusama' };
|
|
6137
|
-
|
|
6138
|
-
export type XcmV2BodyId =
|
|
6139
|
-
| { type: 'Unit' }
|
|
6140
|
-
| { type: 'Named'; value: Bytes }
|
|
6141
|
-
| { type: 'Index'; value: number }
|
|
6142
|
-
| { type: 'Executive' }
|
|
6143
|
-
| { type: 'Technical' }
|
|
6144
|
-
| { type: 'Legislative' }
|
|
6145
|
-
| { type: 'Judicial' }
|
|
6146
|
-
| { type: 'Defense' }
|
|
6147
|
-
| { type: 'Administration' }
|
|
6148
|
-
| { type: 'Treasury' };
|
|
6149
|
-
|
|
6150
|
-
export type XcmV2BodyPart =
|
|
6151
|
-
| { type: 'Voice' }
|
|
6152
|
-
| { type: 'Members'; value: { count: number } }
|
|
6153
|
-
| { type: 'Fraction'; value: { nom: number; denom: number } }
|
|
6154
|
-
| { type: 'AtLeastProportion'; value: { nom: number; denom: number } }
|
|
6155
|
-
| { type: 'MoreThanProportion'; value: { nom: number; denom: number } };
|
|
6230
|
+
| { type: 'V4'; value: StagingXcmV4Location }
|
|
6231
|
+
| { type: 'V5'; value: StagingXcmV5Location };
|
|
6156
6232
|
|
|
6157
6233
|
export type StagingXcmV3MultilocationMultiLocation = { parents: number; interior: XcmV3Junctions };
|
|
6158
6234
|
|
|
@@ -6207,151 +6283,48 @@ export type XcmV3JunctionNetworkId =
|
|
|
6207
6283
|
| { type: 'BitcoinCash' }
|
|
6208
6284
|
| { type: 'PolkadotBulletin' };
|
|
6209
6285
|
|
|
6210
|
-
export type
|
|
6211
|
-
| { type: 'V2'; value: XcmV2Xcm }
|
|
6212
|
-
| { type: 'V3'; value: XcmV3Xcm }
|
|
6213
|
-
| { type: 'V4'; value: StagingXcmV4Xcm };
|
|
6214
|
-
|
|
6215
|
-
export type XcmV2Xcm = Array<XcmV2Instruction>;
|
|
6216
|
-
|
|
6217
|
-
export type XcmV2Instruction =
|
|
6218
|
-
| { type: 'WithdrawAsset'; value: XcmV2MultiassetMultiAssets }
|
|
6219
|
-
| { type: 'ReserveAssetDeposited'; value: XcmV2MultiassetMultiAssets }
|
|
6220
|
-
| { type: 'ReceiveTeleportedAsset'; value: XcmV2MultiassetMultiAssets }
|
|
6221
|
-
| { type: 'QueryResponse'; value: { queryId: bigint; response: XcmV2Response; maxWeight: bigint } }
|
|
6222
|
-
| {
|
|
6223
|
-
type: 'TransferAsset';
|
|
6224
|
-
value: { assets: XcmV2MultiassetMultiAssets; beneficiary: XcmV2MultilocationMultiLocation };
|
|
6225
|
-
}
|
|
6226
|
-
| {
|
|
6227
|
-
type: 'TransferReserveAsset';
|
|
6228
|
-
value: { assets: XcmV2MultiassetMultiAssets; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
|
|
6229
|
-
}
|
|
6230
|
-
| { type: 'Transact'; value: { originType: XcmV2OriginKind; requireWeightAtMost: bigint; call: XcmDoubleEncoded } }
|
|
6231
|
-
| { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
|
|
6232
|
-
| { type: 'HrmpChannelAccepted'; value: { recipient: number } }
|
|
6233
|
-
| { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
|
|
6234
|
-
| { type: 'ClearOrigin' }
|
|
6235
|
-
| { type: 'DescendOrigin'; value: XcmV2MultilocationJunctions }
|
|
6236
|
-
| {
|
|
6237
|
-
type: 'ReportError';
|
|
6238
|
-
value: { queryId: bigint; dest: XcmV2MultilocationMultiLocation; maxResponseWeight: bigint };
|
|
6239
|
-
}
|
|
6240
|
-
| {
|
|
6241
|
-
type: 'DepositAsset';
|
|
6242
|
-
value: {
|
|
6243
|
-
assets: XcmV2MultiassetMultiAssetFilter;
|
|
6244
|
-
maxAssets: number;
|
|
6245
|
-
beneficiary: XcmV2MultilocationMultiLocation;
|
|
6246
|
-
};
|
|
6247
|
-
}
|
|
6248
|
-
| {
|
|
6249
|
-
type: 'DepositReserveAsset';
|
|
6250
|
-
value: {
|
|
6251
|
-
assets: XcmV2MultiassetMultiAssetFilter;
|
|
6252
|
-
maxAssets: number;
|
|
6253
|
-
dest: XcmV2MultilocationMultiLocation;
|
|
6254
|
-
xcm: XcmV2Xcm;
|
|
6255
|
-
};
|
|
6256
|
-
}
|
|
6257
|
-
| { type: 'ExchangeAsset'; value: { give: XcmV2MultiassetMultiAssetFilter; receive: XcmV2MultiassetMultiAssets } }
|
|
6258
|
-
| {
|
|
6259
|
-
type: 'InitiateReserveWithdraw';
|
|
6260
|
-
value: { assets: XcmV2MultiassetMultiAssetFilter; reserve: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
|
|
6261
|
-
}
|
|
6262
|
-
| {
|
|
6263
|
-
type: 'InitiateTeleport';
|
|
6264
|
-
value: { assets: XcmV2MultiassetMultiAssetFilter; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
|
|
6265
|
-
}
|
|
6266
|
-
| {
|
|
6267
|
-
type: 'QueryHolding';
|
|
6268
|
-
value: {
|
|
6269
|
-
queryId: bigint;
|
|
6270
|
-
dest: XcmV2MultilocationMultiLocation;
|
|
6271
|
-
assets: XcmV2MultiassetMultiAssetFilter;
|
|
6272
|
-
maxResponseWeight: bigint;
|
|
6273
|
-
};
|
|
6274
|
-
}
|
|
6275
|
-
| { type: 'BuyExecution'; value: { fees: XcmV2MultiassetMultiAsset; weightLimit: XcmV2WeightLimit } }
|
|
6276
|
-
| { type: 'RefundSurplus' }
|
|
6277
|
-
| { type: 'SetErrorHandler'; value: XcmV2Xcm }
|
|
6278
|
-
| { type: 'SetAppendix'; value: XcmV2Xcm }
|
|
6279
|
-
| { type: 'ClearError' }
|
|
6280
|
-
| { type: 'ClaimAsset'; value: { assets: XcmV2MultiassetMultiAssets; ticket: XcmV2MultilocationMultiLocation } }
|
|
6281
|
-
| { type: 'Trap'; value: bigint }
|
|
6282
|
-
| { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: bigint } }
|
|
6283
|
-
| { type: 'UnsubscribeVersion' };
|
|
6284
|
-
|
|
6285
|
-
export type XcmV2MultiassetMultiAssets = Array<XcmV2MultiassetMultiAsset>;
|
|
6286
|
-
|
|
6287
|
-
export type XcmV2MultiassetMultiAsset = { id: XcmV2MultiassetAssetId; fun: XcmV2MultiassetFungibility };
|
|
6288
|
-
|
|
6289
|
-
export type XcmV2MultiassetAssetId =
|
|
6290
|
-
| { type: 'Concrete'; value: XcmV2MultilocationMultiLocation }
|
|
6291
|
-
| { type: 'Abstract'; value: Bytes };
|
|
6292
|
-
|
|
6293
|
-
export type XcmV2MultiassetFungibility =
|
|
6294
|
-
| { type: 'Fungible'; value: bigint }
|
|
6295
|
-
| { type: 'NonFungible'; value: XcmV2MultiassetAssetInstance };
|
|
6296
|
-
|
|
6297
|
-
export type XcmV2MultiassetAssetInstance =
|
|
6298
|
-
| { type: 'Undefined' }
|
|
6299
|
-
| { type: 'Index'; value: bigint }
|
|
6300
|
-
| { type: 'Array4'; value: FixedBytes<4> }
|
|
6301
|
-
| { type: 'Array8'; value: FixedBytes<8> }
|
|
6302
|
-
| { type: 'Array16'; value: FixedBytes<16> }
|
|
6303
|
-
| { type: 'Array32'; value: FixedBytes<32> }
|
|
6304
|
-
| { type: 'Blob'; value: Bytes };
|
|
6305
|
-
|
|
6306
|
-
export type XcmV2Response =
|
|
6307
|
-
| { type: 'Null' }
|
|
6308
|
-
| { type: 'Assets'; value: XcmV2MultiassetMultiAssets }
|
|
6309
|
-
| { type: 'ExecutionResult'; value?: [number, XcmV2TraitsError] | undefined }
|
|
6310
|
-
| { type: 'Version'; value: number };
|
|
6311
|
-
|
|
6312
|
-
export type XcmV2TraitsError =
|
|
6313
|
-
| { type: 'Overflow' }
|
|
6314
|
-
| { type: 'Unimplemented' }
|
|
6315
|
-
| { type: 'UntrustedReserveLocation' }
|
|
6316
|
-
| { type: 'UntrustedTeleportLocation' }
|
|
6317
|
-
| { type: 'MultiLocationFull' }
|
|
6318
|
-
| { type: 'MultiLocationNotInvertible' }
|
|
6319
|
-
| { type: 'BadOrigin' }
|
|
6320
|
-
| { type: 'InvalidLocation' }
|
|
6321
|
-
| { type: 'AssetNotFound' }
|
|
6322
|
-
| { type: 'FailedToTransactAsset' }
|
|
6323
|
-
| { type: 'NotWithdrawable' }
|
|
6324
|
-
| { type: 'LocationCannotHold' }
|
|
6325
|
-
| { type: 'ExceedsMaxMessageSize' }
|
|
6326
|
-
| { type: 'DestinationUnsupported' }
|
|
6327
|
-
| { type: 'Transport' }
|
|
6328
|
-
| { type: 'Unroutable' }
|
|
6329
|
-
| { type: 'UnknownClaim' }
|
|
6330
|
-
| { type: 'FailedToDecode' }
|
|
6331
|
-
| { type: 'MaxWeightInvalid' }
|
|
6332
|
-
| { type: 'NotHoldingFees' }
|
|
6333
|
-
| { type: 'TooExpensive' }
|
|
6334
|
-
| { type: 'Trap'; value: bigint }
|
|
6335
|
-
| { type: 'UnhandledXcmVersion' }
|
|
6336
|
-
| { type: 'WeightLimitReached'; value: bigint }
|
|
6337
|
-
| { type: 'Barrier' }
|
|
6338
|
-
| { type: 'WeightNotComputable' };
|
|
6339
|
-
|
|
6340
|
-
export type XcmV2OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
|
|
6341
|
-
|
|
6342
|
-
export type XcmDoubleEncoded = { encoded: Bytes };
|
|
6286
|
+
export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
|
|
6343
6287
|
|
|
6344
|
-
export type
|
|
6345
|
-
| { type: '
|
|
6346
|
-
| { type: '
|
|
6288
|
+
export type StagingXcmV4Junctions =
|
|
6289
|
+
| { type: 'Here' }
|
|
6290
|
+
| { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
|
|
6291
|
+
| { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
|
|
6292
|
+
| { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
|
|
6293
|
+
| { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
|
|
6294
|
+
| { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
|
|
6295
|
+
| { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
|
|
6296
|
+
| { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
|
|
6297
|
+
| { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
|
|
6347
6298
|
|
|
6348
|
-
export type
|
|
6349
|
-
| { type: '
|
|
6350
|
-
| { type: '
|
|
6299
|
+
export type StagingXcmV4Junction =
|
|
6300
|
+
| { type: 'Parachain'; value: number }
|
|
6301
|
+
| { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
6302
|
+
| { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
|
|
6303
|
+
| { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
6304
|
+
| { type: 'PalletInstance'; value: number }
|
|
6305
|
+
| { type: 'GeneralIndex'; value: bigint }
|
|
6306
|
+
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
6307
|
+
| { type: 'OnlyChild' }
|
|
6308
|
+
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
6309
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
|
|
6351
6310
|
|
|
6352
|
-
export type
|
|
6311
|
+
export type StagingXcmV4JunctionNetworkId =
|
|
6312
|
+
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
6313
|
+
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
6314
|
+
| { type: 'Polkadot' }
|
|
6315
|
+
| { type: 'Kusama' }
|
|
6316
|
+
| { type: 'Westend' }
|
|
6317
|
+
| { type: 'Rococo' }
|
|
6318
|
+
| { type: 'Wococo' }
|
|
6319
|
+
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
6320
|
+
| { type: 'BitcoinCore' }
|
|
6321
|
+
| { type: 'BitcoinCash' }
|
|
6322
|
+
| { type: 'PolkadotBulletin' };
|
|
6353
6323
|
|
|
6354
|
-
export type
|
|
6324
|
+
export type XcmVersionedXcm =
|
|
6325
|
+
| { type: 'V3'; value: XcmV3Xcm }
|
|
6326
|
+
| { type: 'V4'; value: StagingXcmV4Xcm }
|
|
6327
|
+
| { type: 'V5'; value: StagingXcmV5Xcm };
|
|
6355
6328
|
|
|
6356
6329
|
export type XcmV3Xcm = Array<XcmV3Instruction>;
|
|
6357
6330
|
|
|
@@ -6542,6 +6515,8 @@ export type XcmV3MaybeErrorCode =
|
|
|
6542
6515
|
|
|
6543
6516
|
export type XcmV3OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
|
|
6544
6517
|
|
|
6518
|
+
export type XcmDoubleEncoded = { encoded: Bytes };
|
|
6519
|
+
|
|
6545
6520
|
export type XcmV3QueryResponseInfo = {
|
|
6546
6521
|
destination: StagingXcmV3MultilocationMultiLocation;
|
|
6547
6522
|
queryId: bigint;
|
|
@@ -6708,20 +6683,234 @@ export type StagingXcmV4AssetWildAsset =
|
|
|
6708
6683
|
|
|
6709
6684
|
export type StagingXcmV4AssetWildFungibility = 'Fungible' | 'NonFungible';
|
|
6710
6685
|
|
|
6711
|
-
export type
|
|
6712
|
-
|
|
6713
|
-
|
|
6714
|
-
| { type: '
|
|
6715
|
-
|
|
6716
|
-
|
|
6717
|
-
| {
|
|
6718
|
-
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6686
|
+
export type StagingXcmV5Xcm = Array<StagingXcmV5Instruction>;
|
|
6687
|
+
|
|
6688
|
+
export type StagingXcmV5Instruction =
|
|
6689
|
+
| { type: 'WithdrawAsset'; value: StagingXcmV5AssetAssets }
|
|
6690
|
+
| { type: 'ReserveAssetDeposited'; value: StagingXcmV5AssetAssets }
|
|
6691
|
+
| { type: 'ReceiveTeleportedAsset'; value: StagingXcmV5AssetAssets }
|
|
6692
|
+
| {
|
|
6693
|
+
type: 'QueryResponse';
|
|
6694
|
+
value: {
|
|
6695
|
+
queryId: bigint;
|
|
6696
|
+
response: StagingXcmV5Response;
|
|
6697
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
6698
|
+
querier?: StagingXcmV5Location | undefined;
|
|
6699
|
+
};
|
|
6700
|
+
}
|
|
6701
|
+
| { type: 'TransferAsset'; value: { assets: StagingXcmV5AssetAssets; beneficiary: StagingXcmV5Location } }
|
|
6702
|
+
| {
|
|
6703
|
+
type: 'TransferReserveAsset';
|
|
6704
|
+
value: { assets: StagingXcmV5AssetAssets; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
6705
|
+
}
|
|
6706
|
+
| {
|
|
6707
|
+
type: 'Transact';
|
|
6708
|
+
value: {
|
|
6709
|
+
originKind: XcmV3OriginKind;
|
|
6710
|
+
fallbackMaxWeight?: SpWeightsWeightV2Weight | undefined;
|
|
6711
|
+
call: XcmDoubleEncoded;
|
|
6712
|
+
};
|
|
6713
|
+
}
|
|
6714
|
+
| { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
|
|
6715
|
+
| { type: 'HrmpChannelAccepted'; value: { recipient: number } }
|
|
6716
|
+
| { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
|
|
6717
|
+
| { type: 'ClearOrigin' }
|
|
6718
|
+
| { type: 'DescendOrigin'; value: StagingXcmV5Junctions }
|
|
6719
|
+
| { type: 'ReportError'; value: StagingXcmV5QueryResponseInfo }
|
|
6720
|
+
| { type: 'DepositAsset'; value: { assets: StagingXcmV5AssetAssetFilter; beneficiary: StagingXcmV5Location } }
|
|
6721
|
+
| {
|
|
6722
|
+
type: 'DepositReserveAsset';
|
|
6723
|
+
value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
6724
|
+
}
|
|
6725
|
+
| {
|
|
6726
|
+
type: 'ExchangeAsset';
|
|
6727
|
+
value: { give: StagingXcmV5AssetAssetFilter; want: StagingXcmV5AssetAssets; maximal: boolean };
|
|
6728
|
+
}
|
|
6729
|
+
| {
|
|
6730
|
+
type: 'InitiateReserveWithdraw';
|
|
6731
|
+
value: { assets: StagingXcmV5AssetAssetFilter; reserve: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
6732
|
+
}
|
|
6733
|
+
| {
|
|
6734
|
+
type: 'InitiateTeleport';
|
|
6735
|
+
value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
6736
|
+
}
|
|
6737
|
+
| {
|
|
6738
|
+
type: 'ReportHolding';
|
|
6739
|
+
value: { responseInfo: StagingXcmV5QueryResponseInfo; assets: StagingXcmV5AssetAssetFilter };
|
|
6740
|
+
}
|
|
6741
|
+
| { type: 'BuyExecution'; value: { fees: StagingXcmV5Asset; weightLimit: XcmV3WeightLimit } }
|
|
6742
|
+
| { type: 'RefundSurplus' }
|
|
6743
|
+
| { type: 'SetErrorHandler'; value: StagingXcmV5Xcm }
|
|
6744
|
+
| { type: 'SetAppendix'; value: StagingXcmV5Xcm }
|
|
6745
|
+
| { type: 'ClearError' }
|
|
6746
|
+
| { type: 'ClaimAsset'; value: { assets: StagingXcmV5AssetAssets; ticket: StagingXcmV5Location } }
|
|
6747
|
+
| { type: 'Trap'; value: bigint }
|
|
6748
|
+
| { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: SpWeightsWeightV2Weight } }
|
|
6749
|
+
| { type: 'UnsubscribeVersion' }
|
|
6750
|
+
| { type: 'BurnAsset'; value: StagingXcmV5AssetAssets }
|
|
6751
|
+
| { type: 'ExpectAsset'; value: StagingXcmV5AssetAssets }
|
|
6752
|
+
| { type: 'ExpectOrigin'; value?: StagingXcmV5Location | undefined }
|
|
6753
|
+
| { type: 'ExpectError'; value?: [number, XcmV5TraitsError] | undefined }
|
|
6754
|
+
| { type: 'ExpectTransactStatus'; value: XcmV3MaybeErrorCode }
|
|
6755
|
+
| { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: StagingXcmV5QueryResponseInfo } }
|
|
6756
|
+
| {
|
|
6757
|
+
type: 'ExpectPallet';
|
|
6758
|
+
value: { index: number; name: Bytes; moduleName: Bytes; crateMajor: number; minCrateMinor: number };
|
|
6759
|
+
}
|
|
6760
|
+
| { type: 'ReportTransactStatus'; value: StagingXcmV5QueryResponseInfo }
|
|
6761
|
+
| { type: 'ClearTransactStatus' }
|
|
6762
|
+
| { type: 'UniversalOrigin'; value: StagingXcmV5Junction }
|
|
6763
|
+
| {
|
|
6764
|
+
type: 'ExportMessage';
|
|
6765
|
+
value: { network: StagingXcmV5JunctionNetworkId; destination: StagingXcmV5Junctions; xcm: StagingXcmV5Xcm };
|
|
6766
|
+
}
|
|
6767
|
+
| { type: 'LockAsset'; value: { asset: StagingXcmV5Asset; unlocker: StagingXcmV5Location } }
|
|
6768
|
+
| { type: 'UnlockAsset'; value: { asset: StagingXcmV5Asset; target: StagingXcmV5Location } }
|
|
6769
|
+
| { type: 'NoteUnlockable'; value: { asset: StagingXcmV5Asset; owner: StagingXcmV5Location } }
|
|
6770
|
+
| { type: 'RequestUnlock'; value: { asset: StagingXcmV5Asset; locker: StagingXcmV5Location } }
|
|
6771
|
+
| { type: 'SetFeesMode'; value: { jitWithdraw: boolean } }
|
|
6772
|
+
| { type: 'SetTopic'; value: FixedBytes<32> }
|
|
6773
|
+
| { type: 'ClearTopic' }
|
|
6774
|
+
| { type: 'AliasOrigin'; value: StagingXcmV5Location }
|
|
6775
|
+
| {
|
|
6776
|
+
type: 'UnpaidExecution';
|
|
6777
|
+
value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV5Location | undefined };
|
|
6778
|
+
}
|
|
6779
|
+
| { type: 'PayFees'; value: { asset: StagingXcmV5Asset } }
|
|
6780
|
+
| {
|
|
6781
|
+
type: 'InitiateTransfer';
|
|
6782
|
+
value: {
|
|
6783
|
+
destination: StagingXcmV5Location;
|
|
6784
|
+
remoteFees?: StagingXcmV5AssetAssetTransferFilter | undefined;
|
|
6785
|
+
preserveOrigin: boolean;
|
|
6786
|
+
assets: Array<StagingXcmV5AssetAssetTransferFilter>;
|
|
6787
|
+
remoteXcm: StagingXcmV5Xcm;
|
|
6788
|
+
};
|
|
6789
|
+
}
|
|
6790
|
+
| { type: 'ExecuteWithOrigin'; value: { descendantOrigin?: StagingXcmV5Junctions | undefined; xcm: StagingXcmV5Xcm } }
|
|
6791
|
+
| { type: 'SetHints'; value: { hints: Array<StagingXcmV5Hint> } };
|
|
6792
|
+
|
|
6793
|
+
export type StagingXcmV5AssetAssets = Array<StagingXcmV5Asset>;
|
|
6794
|
+
|
|
6795
|
+
export type StagingXcmV5Asset = { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetFungibility };
|
|
6796
|
+
|
|
6797
|
+
export type StagingXcmV5AssetAssetId = StagingXcmV5Location;
|
|
6798
|
+
|
|
6799
|
+
export type StagingXcmV5AssetFungibility =
|
|
6800
|
+
| { type: 'Fungible'; value: bigint }
|
|
6801
|
+
| { type: 'NonFungible'; value: StagingXcmV5AssetAssetInstance };
|
|
6802
|
+
|
|
6803
|
+
export type StagingXcmV5AssetAssetInstance =
|
|
6804
|
+
| { type: 'Undefined' }
|
|
6805
|
+
| { type: 'Index'; value: bigint }
|
|
6806
|
+
| { type: 'Array4'; value: FixedBytes<4> }
|
|
6807
|
+
| { type: 'Array8'; value: FixedBytes<8> }
|
|
6808
|
+
| { type: 'Array16'; value: FixedBytes<16> }
|
|
6809
|
+
| { type: 'Array32'; value: FixedBytes<32> };
|
|
6810
|
+
|
|
6811
|
+
export type StagingXcmV5Response =
|
|
6812
|
+
| { type: 'Null' }
|
|
6813
|
+
| { type: 'Assets'; value: StagingXcmV5AssetAssets }
|
|
6814
|
+
| { type: 'ExecutionResult'; value?: [number, XcmV5TraitsError] | undefined }
|
|
6815
|
+
| { type: 'Version'; value: number }
|
|
6816
|
+
| { type: 'PalletsInfo'; value: Array<StagingXcmV5PalletInfo> }
|
|
6817
|
+
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
6818
|
+
|
|
6819
|
+
export type XcmV5TraitsError =
|
|
6820
|
+
| { type: 'Overflow' }
|
|
6821
|
+
| { type: 'Unimplemented' }
|
|
6822
|
+
| { type: 'UntrustedReserveLocation' }
|
|
6823
|
+
| { type: 'UntrustedTeleportLocation' }
|
|
6824
|
+
| { type: 'LocationFull' }
|
|
6825
|
+
| { type: 'LocationNotInvertible' }
|
|
6826
|
+
| { type: 'BadOrigin' }
|
|
6827
|
+
| { type: 'InvalidLocation' }
|
|
6828
|
+
| { type: 'AssetNotFound' }
|
|
6829
|
+
| { type: 'FailedToTransactAsset' }
|
|
6830
|
+
| { type: 'NotWithdrawable' }
|
|
6831
|
+
| { type: 'LocationCannotHold' }
|
|
6832
|
+
| { type: 'ExceedsMaxMessageSize' }
|
|
6833
|
+
| { type: 'DestinationUnsupported' }
|
|
6834
|
+
| { type: 'Transport' }
|
|
6835
|
+
| { type: 'Unroutable' }
|
|
6836
|
+
| { type: 'UnknownClaim' }
|
|
6837
|
+
| { type: 'FailedToDecode' }
|
|
6838
|
+
| { type: 'MaxWeightInvalid' }
|
|
6839
|
+
| { type: 'NotHoldingFees' }
|
|
6840
|
+
| { type: 'TooExpensive' }
|
|
6841
|
+
| { type: 'Trap'; value: bigint }
|
|
6842
|
+
| { type: 'ExpectationFalse' }
|
|
6843
|
+
| { type: 'PalletNotFound' }
|
|
6844
|
+
| { type: 'NameMismatch' }
|
|
6845
|
+
| { type: 'VersionIncompatible' }
|
|
6846
|
+
| { type: 'HoldingWouldOverflow' }
|
|
6847
|
+
| { type: 'ExportError' }
|
|
6848
|
+
| { type: 'ReanchorFailed' }
|
|
6849
|
+
| { type: 'NoDeal' }
|
|
6850
|
+
| { type: 'FeesNotMet' }
|
|
6851
|
+
| { type: 'LockError' }
|
|
6852
|
+
| { type: 'NoPermission' }
|
|
6853
|
+
| { type: 'Unanchored' }
|
|
6854
|
+
| { type: 'NotDepositable' }
|
|
6855
|
+
| { type: 'TooManyAssets' }
|
|
6856
|
+
| { type: 'UnhandledXcmVersion' }
|
|
6857
|
+
| { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
|
|
6858
|
+
| { type: 'Barrier' }
|
|
6859
|
+
| { type: 'WeightNotComputable' }
|
|
6860
|
+
| { type: 'ExceedsStackLimit' };
|
|
6861
|
+
|
|
6862
|
+
export type StagingXcmV5PalletInfo = {
|
|
6863
|
+
index: number;
|
|
6864
|
+
name: Bytes;
|
|
6865
|
+
moduleName: Bytes;
|
|
6866
|
+
major: number;
|
|
6867
|
+
minor: number;
|
|
6868
|
+
patch: number;
|
|
6869
|
+
};
|
|
6870
|
+
|
|
6871
|
+
export type StagingXcmV5QueryResponseInfo = {
|
|
6872
|
+
destination: StagingXcmV5Location;
|
|
6873
|
+
queryId: bigint;
|
|
6874
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
6875
|
+
};
|
|
6876
|
+
|
|
6877
|
+
export type StagingXcmV5AssetAssetFilter =
|
|
6878
|
+
| { type: 'Definite'; value: StagingXcmV5AssetAssets }
|
|
6879
|
+
| { type: 'Wild'; value: StagingXcmV5AssetWildAsset };
|
|
6880
|
+
|
|
6881
|
+
export type StagingXcmV5AssetWildAsset =
|
|
6882
|
+
| { type: 'All' }
|
|
6883
|
+
| { type: 'AllOf'; value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility } }
|
|
6884
|
+
| { type: 'AllCounted'; value: number }
|
|
6885
|
+
| {
|
|
6886
|
+
type: 'AllOfCounted';
|
|
6887
|
+
value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility; count: number };
|
|
6888
|
+
};
|
|
6889
|
+
|
|
6890
|
+
export type StagingXcmV5AssetWildFungibility = 'Fungible' | 'NonFungible';
|
|
6891
|
+
|
|
6892
|
+
export type StagingXcmV5AssetAssetTransferFilter =
|
|
6893
|
+
| { type: 'Teleport'; value: StagingXcmV5AssetAssetFilter }
|
|
6894
|
+
| { type: 'ReserveDeposit'; value: StagingXcmV5AssetAssetFilter }
|
|
6895
|
+
| { type: 'ReserveWithdraw'; value: StagingXcmV5AssetAssetFilter };
|
|
6896
|
+
|
|
6897
|
+
export type StagingXcmV5Hint = { type: 'AssetClaimer'; value: { location: StagingXcmV5Location } };
|
|
6898
|
+
|
|
6899
|
+
export type XcmVersionedAssets =
|
|
6900
|
+
| { type: 'V3'; value: XcmV3MultiassetMultiAssets }
|
|
6901
|
+
| { type: 'V4'; value: StagingXcmV4AssetAssets }
|
|
6902
|
+
| { type: 'V5'; value: StagingXcmV5AssetAssets };
|
|
6903
|
+
|
|
6904
|
+
export type StagingXcmExecutorAssetTransferTransferType =
|
|
6905
|
+
| { type: 'Teleport' }
|
|
6906
|
+
| { type: 'LocalReserve' }
|
|
6907
|
+
| { type: 'DestinationReserve' }
|
|
6908
|
+
| { type: 'RemoteReserve'; value: XcmVersionedLocation };
|
|
6909
|
+
|
|
6910
|
+
export type XcmVersionedAssetId =
|
|
6911
|
+
| { type: 'V3'; value: XcmV3MultiassetAssetId }
|
|
6912
|
+
| { type: 'V4'; value: StagingXcmV4AssetAssetId }
|
|
6913
|
+
| { type: 'V5'; value: StagingXcmV5AssetAssetId };
|
|
6725
6914
|
|
|
6726
6915
|
/**
|
|
6727
6916
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -8267,7 +8456,7 @@ export type XcmPrimitivesEthereumXcmEthereumXcmTransaction =
|
|
|
8267
8456
|
export type XcmPrimitivesEthereumXcmEthereumXcmTransactionV1 = {
|
|
8268
8457
|
gasLimit: U256;
|
|
8269
8458
|
feePayment: XcmPrimitivesEthereumXcmEthereumXcmFee;
|
|
8270
|
-
action:
|
|
8459
|
+
action: EthereumTransactionLegacyTransactionAction;
|
|
8271
8460
|
value: U256;
|
|
8272
8461
|
input: Bytes;
|
|
8273
8462
|
accessList?: Array<[H160, Array<H256>]> | undefined;
|
|
@@ -8284,7 +8473,7 @@ export type XcmPrimitivesEthereumXcmManualEthereumXcmFee = {
|
|
|
8284
8473
|
|
|
8285
8474
|
export type XcmPrimitivesEthereumXcmEthereumXcmTransactionV2 = {
|
|
8286
8475
|
gasLimit: U256;
|
|
8287
|
-
action:
|
|
8476
|
+
action: EthereumTransactionLegacyTransactionAction;
|
|
8288
8477
|
value: U256;
|
|
8289
8478
|
input: Bytes;
|
|
8290
8479
|
accessList?: Array<[H160, Array<H256>]> | undefined;
|
|
@@ -8367,14 +8556,14 @@ export type PalletMoonbeamForeignAssetsCall =
|
|
|
8367
8556
|
**/
|
|
8368
8557
|
| {
|
|
8369
8558
|
name: 'CreateForeignAsset';
|
|
8370
|
-
params: { assetId: bigint; assetXcmLocation:
|
|
8559
|
+
params: { assetId: bigint; assetXcmLocation: StagingXcmV5Location; decimals: number; symbol: Bytes; name: Bytes };
|
|
8371
8560
|
}
|
|
8372
8561
|
/**
|
|
8373
8562
|
* Change the xcm type mapping for a given assetId
|
|
8374
8563
|
* We also change this if the previous units per second where pointing at the old
|
|
8375
8564
|
* assetType
|
|
8376
8565
|
**/
|
|
8377
|
-
| { name: 'ChangeXcmLocation'; params: { assetId: bigint; newXcmLocation:
|
|
8566
|
+
| { name: 'ChangeXcmLocation'; params: { assetId: bigint; newXcmLocation: StagingXcmV5Location } }
|
|
8378
8567
|
/**
|
|
8379
8568
|
* Freeze a given foreign assetId
|
|
8380
8569
|
**/
|
|
@@ -8392,7 +8581,7 @@ export type PalletMoonbeamForeignAssetsCallLike =
|
|
|
8392
8581
|
name: 'CreateForeignAsset';
|
|
8393
8582
|
params: {
|
|
8394
8583
|
assetId: bigint;
|
|
8395
|
-
assetXcmLocation:
|
|
8584
|
+
assetXcmLocation: StagingXcmV5Location;
|
|
8396
8585
|
decimals: number;
|
|
8397
8586
|
symbol: BytesLike;
|
|
8398
8587
|
name: BytesLike;
|
|
@@ -8403,7 +8592,7 @@ export type PalletMoonbeamForeignAssetsCallLike =
|
|
|
8403
8592
|
* We also change this if the previous units per second where pointing at the old
|
|
8404
8593
|
* assetType
|
|
8405
8594
|
**/
|
|
8406
|
-
| { name: 'ChangeXcmLocation'; params: { assetId: bigint; newXcmLocation:
|
|
8595
|
+
| { name: 'ChangeXcmLocation'; params: { assetId: bigint; newXcmLocation: StagingXcmV5Location } }
|
|
8407
8596
|
/**
|
|
8408
8597
|
* Freeze a given foreign assetId
|
|
8409
8598
|
**/
|
|
@@ -8417,18 +8606,18 @@ export type PalletMoonbeamForeignAssetsCallLike =
|
|
|
8417
8606
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
8418
8607
|
**/
|
|
8419
8608
|
export type PalletXcmWeightTraderCall =
|
|
8420
|
-
| { name: 'AddAsset'; params: { location:
|
|
8421
|
-
| { name: 'EditAsset'; params: { location:
|
|
8422
|
-
| { name: 'PauseAssetSupport'; params: { location:
|
|
8423
|
-
| { name: 'ResumeAssetSupport'; params: { location:
|
|
8424
|
-
| { name: 'RemoveAsset'; params: { location:
|
|
8609
|
+
| { name: 'AddAsset'; params: { location: StagingXcmV5Location; relativePrice: bigint } }
|
|
8610
|
+
| { name: 'EditAsset'; params: { location: StagingXcmV5Location; relativePrice: bigint } }
|
|
8611
|
+
| { name: 'PauseAssetSupport'; params: { location: StagingXcmV5Location } }
|
|
8612
|
+
| { name: 'ResumeAssetSupport'; params: { location: StagingXcmV5Location } }
|
|
8613
|
+
| { name: 'RemoveAsset'; params: { location: StagingXcmV5Location } };
|
|
8425
8614
|
|
|
8426
8615
|
export type PalletXcmWeightTraderCallLike =
|
|
8427
|
-
| { name: 'AddAsset'; params: { location:
|
|
8428
|
-
| { name: 'EditAsset'; params: { location:
|
|
8429
|
-
| { name: 'PauseAssetSupport'; params: { location:
|
|
8430
|
-
| { name: 'ResumeAssetSupport'; params: { location:
|
|
8431
|
-
| { name: 'RemoveAsset'; params: { location:
|
|
8616
|
+
| { name: 'AddAsset'; params: { location: StagingXcmV5Location; relativePrice: bigint } }
|
|
8617
|
+
| { name: 'EditAsset'; params: { location: StagingXcmV5Location; relativePrice: bigint } }
|
|
8618
|
+
| { name: 'PauseAssetSupport'; params: { location: StagingXcmV5Location } }
|
|
8619
|
+
| { name: 'ResumeAssetSupport'; params: { location: StagingXcmV5Location } }
|
|
8620
|
+
| { name: 'RemoveAsset'; params: { location: StagingXcmV5Location } };
|
|
8432
8621
|
|
|
8433
8622
|
/**
|
|
8434
8623
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -8453,6 +8642,93 @@ export type PalletEmergencyParaXcmCallLike =
|
|
|
8453
8642
|
**/
|
|
8454
8643
|
| { name: 'FastAuthorizeUpgrade'; params: { codeHash: H256 } };
|
|
8455
8644
|
|
|
8645
|
+
/**
|
|
8646
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
8647
|
+
**/
|
|
8648
|
+
export type PalletMigrationsCall =
|
|
8649
|
+
/**
|
|
8650
|
+
* Allows root to set a cursor to forcefully start, stop or forward the migration process.
|
|
8651
|
+
*
|
|
8652
|
+
* Should normally not be needed and is only in place as emergency measure. Note that
|
|
8653
|
+
* restarting the migration process in this manner will not call the
|
|
8654
|
+
* [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
|
|
8655
|
+
**/
|
|
8656
|
+
| { name: 'ForceSetCursor'; params: { cursor?: PalletMigrationsMigrationCursor | undefined } }
|
|
8657
|
+
/**
|
|
8658
|
+
* Allows root to set an active cursor to forcefully start/forward the migration process.
|
|
8659
|
+
*
|
|
8660
|
+
* This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
|
|
8661
|
+
* `started_at` value to the next block number. Otherwise this would not be possible, since
|
|
8662
|
+
* `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
|
|
8663
|
+
* indicates that the current block number plus one should be used.
|
|
8664
|
+
**/
|
|
8665
|
+
| {
|
|
8666
|
+
name: 'ForceSetActiveCursor';
|
|
8667
|
+
params: { index: number; innerCursor?: Bytes | undefined; startedAt?: number | undefined };
|
|
8668
|
+
}
|
|
8669
|
+
/**
|
|
8670
|
+
* Forces the onboarding of the migrations.
|
|
8671
|
+
*
|
|
8672
|
+
* This process happens automatically on a runtime upgrade. It is in place as an emergency
|
|
8673
|
+
* measurement. The cursor needs to be `None` for this to succeed.
|
|
8674
|
+
**/
|
|
8675
|
+
| { name: 'ForceOnboardMbms' }
|
|
8676
|
+
/**
|
|
8677
|
+
* Clears the `Historic` set.
|
|
8678
|
+
*
|
|
8679
|
+
* `map_cursor` must be set to the last value that was returned by the
|
|
8680
|
+
* `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
|
|
8681
|
+
* way that will result in a sensible weight.
|
|
8682
|
+
**/
|
|
8683
|
+
| { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
|
|
8684
|
+
|
|
8685
|
+
export type PalletMigrationsCallLike =
|
|
8686
|
+
/**
|
|
8687
|
+
* Allows root to set a cursor to forcefully start, stop or forward the migration process.
|
|
8688
|
+
*
|
|
8689
|
+
* Should normally not be needed and is only in place as emergency measure. Note that
|
|
8690
|
+
* restarting the migration process in this manner will not call the
|
|
8691
|
+
* [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
|
|
8692
|
+
**/
|
|
8693
|
+
| { name: 'ForceSetCursor'; params: { cursor?: PalletMigrationsMigrationCursor | undefined } }
|
|
8694
|
+
/**
|
|
8695
|
+
* Allows root to set an active cursor to forcefully start/forward the migration process.
|
|
8696
|
+
*
|
|
8697
|
+
* This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
|
|
8698
|
+
* `started_at` value to the next block number. Otherwise this would not be possible, since
|
|
8699
|
+
* `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
|
|
8700
|
+
* indicates that the current block number plus one should be used.
|
|
8701
|
+
**/
|
|
8702
|
+
| {
|
|
8703
|
+
name: 'ForceSetActiveCursor';
|
|
8704
|
+
params: { index: number; innerCursor?: BytesLike | undefined; startedAt?: number | undefined };
|
|
8705
|
+
}
|
|
8706
|
+
/**
|
|
8707
|
+
* Forces the onboarding of the migrations.
|
|
8708
|
+
*
|
|
8709
|
+
* This process happens automatically on a runtime upgrade. It is in place as an emergency
|
|
8710
|
+
* measurement. The cursor needs to be `None` for this to succeed.
|
|
8711
|
+
**/
|
|
8712
|
+
| { name: 'ForceOnboardMbms' }
|
|
8713
|
+
/**
|
|
8714
|
+
* Clears the `Historic` set.
|
|
8715
|
+
*
|
|
8716
|
+
* `map_cursor` must be set to the last value that was returned by the
|
|
8717
|
+
* `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
|
|
8718
|
+
* way that will result in a sensible weight.
|
|
8719
|
+
**/
|
|
8720
|
+
| { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
|
|
8721
|
+
|
|
8722
|
+
export type PalletMigrationsMigrationCursor =
|
|
8723
|
+
| { type: 'Active'; value: PalletMigrationsActiveCursor }
|
|
8724
|
+
| { type: 'Stuck' };
|
|
8725
|
+
|
|
8726
|
+
export type PalletMigrationsActiveCursor = { index: number; innerCursor?: Bytes | undefined; startedAt: number };
|
|
8727
|
+
|
|
8728
|
+
export type PalletMigrationsHistoricCleanupSelector =
|
|
8729
|
+
| { type: 'Specific'; value: Array<Bytes> }
|
|
8730
|
+
| { type: 'Wildcard'; value: { limit?: number | undefined; previousCursor?: Bytes | undefined } };
|
|
8731
|
+
|
|
8456
8732
|
/**
|
|
8457
8733
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
8458
8734
|
**/
|
|
@@ -8529,7 +8805,19 @@ export type PalletCollectiveEvent =
|
|
|
8529
8805
|
/**
|
|
8530
8806
|
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
8531
8807
|
**/
|
|
8532
|
-
| { name: 'Closed'; data: { proposalHash: H256; yes: number; no: number } }
|
|
8808
|
+
| { name: 'Closed'; data: { proposalHash: H256; yes: number; no: number } }
|
|
8809
|
+
/**
|
|
8810
|
+
* A proposal was killed.
|
|
8811
|
+
**/
|
|
8812
|
+
| { name: 'Killed'; data: { proposalHash: H256 } }
|
|
8813
|
+
/**
|
|
8814
|
+
* Some cost for storing a proposal was burned.
|
|
8815
|
+
**/
|
|
8816
|
+
| { name: 'ProposalCostBurned'; data: { proposalHash: H256; who: AccountId20 } }
|
|
8817
|
+
/**
|
|
8818
|
+
* Some cost for storing a proposal was released.
|
|
8819
|
+
**/
|
|
8820
|
+
| { name: 'ProposalCostReleased'; data: { proposalHash: H256; who: AccountId20 } };
|
|
8533
8821
|
|
|
8534
8822
|
/**
|
|
8535
8823
|
* The `Event` enum of this pallet
|
|
@@ -8570,7 +8858,7 @@ export type PalletTreasuryEvent =
|
|
|
8570
8858
|
name: 'AssetSpendApproved';
|
|
8571
8859
|
data: {
|
|
8572
8860
|
index: number;
|
|
8573
|
-
assetKind:
|
|
8861
|
+
assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
8574
8862
|
amount: bigint;
|
|
8575
8863
|
beneficiary: AccountId20;
|
|
8576
8864
|
validFrom: number;
|
|
@@ -8653,12 +8941,12 @@ export type CumulusPalletXcmEvent =
|
|
|
8653
8941
|
* Downward message executed with the given outcome.
|
|
8654
8942
|
* \[ id, outcome \]
|
|
8655
8943
|
**/
|
|
8656
|
-
| { name: 'ExecutedDownward'; data: [FixedBytes<32>,
|
|
8944
|
+
| { name: 'ExecutedDownward'; data: [FixedBytes<32>, StagingXcmV5TraitsOutcome] };
|
|
8657
8945
|
|
|
8658
|
-
export type
|
|
8946
|
+
export type StagingXcmV5TraitsOutcome =
|
|
8659
8947
|
| { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
|
|
8660
|
-
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error:
|
|
8661
|
-
| { type: 'Error'; value: { error:
|
|
8948
|
+
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV5TraitsError } }
|
|
8949
|
+
| { type: 'Error'; value: { error: XcmV5TraitsError } };
|
|
8662
8950
|
|
|
8663
8951
|
/**
|
|
8664
8952
|
* The `Event` enum of this pallet
|
|
@@ -8667,16 +8955,16 @@ export type PalletXcmEvent =
|
|
|
8667
8955
|
/**
|
|
8668
8956
|
* Execution of an XCM message was attempted.
|
|
8669
8957
|
**/
|
|
8670
|
-
| { name: 'Attempted'; data: { outcome:
|
|
8958
|
+
| { name: 'Attempted'; data: { outcome: StagingXcmV5TraitsOutcome } }
|
|
8671
8959
|
/**
|
|
8672
8960
|
* A XCM message was sent.
|
|
8673
8961
|
**/
|
|
8674
8962
|
| {
|
|
8675
8963
|
name: 'Sent';
|
|
8676
8964
|
data: {
|
|
8677
|
-
origin:
|
|
8678
|
-
destination:
|
|
8679
|
-
message:
|
|
8965
|
+
origin: StagingXcmV5Location;
|
|
8966
|
+
destination: StagingXcmV5Location;
|
|
8967
|
+
message: StagingXcmV5Xcm;
|
|
8680
8968
|
messageId: FixedBytes<32>;
|
|
8681
8969
|
};
|
|
8682
8970
|
}
|
|
@@ -8685,12 +8973,12 @@ export type PalletXcmEvent =
|
|
|
8685
8973
|
* matching query was never registered, it may be because it is a duplicate response, or
|
|
8686
8974
|
* because the query timed out.
|
|
8687
8975
|
**/
|
|
8688
|
-
| { name: 'UnexpectedResponse'; data: { origin:
|
|
8976
|
+
| { name: 'UnexpectedResponse'; data: { origin: StagingXcmV5Location; queryId: bigint } }
|
|
8689
8977
|
/**
|
|
8690
8978
|
* Query response has been received and is ready for taking with `take_response`. There is
|
|
8691
8979
|
* no registered notification call.
|
|
8692
8980
|
**/
|
|
8693
|
-
| { name: 'ResponseReady'; data: { queryId: bigint; response:
|
|
8981
|
+
| { name: 'ResponseReady'; data: { queryId: bigint; response: StagingXcmV5Response } }
|
|
8694
8982
|
/**
|
|
8695
8983
|
* Query response has been received and query is removed. The registered notification has
|
|
8696
8984
|
* been dispatched and executed successfully.
|
|
@@ -8729,7 +9017,7 @@ export type PalletXcmEvent =
|
|
|
8729
9017
|
**/
|
|
8730
9018
|
| {
|
|
8731
9019
|
name: 'InvalidResponder';
|
|
8732
|
-
data: { origin:
|
|
9020
|
+
data: { origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined };
|
|
8733
9021
|
}
|
|
8734
9022
|
/**
|
|
8735
9023
|
* Expected query response has been received but the expected origin location placed in
|
|
@@ -8740,7 +9028,7 @@ export type PalletXcmEvent =
|
|
|
8740
9028
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
8741
9029
|
* needed.
|
|
8742
9030
|
**/
|
|
8743
|
-
| { name: 'InvalidResponderVersion'; data: { origin:
|
|
9031
|
+
| { name: 'InvalidResponderVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
|
|
8744
9032
|
/**
|
|
8745
9033
|
* Received query response has been read and removed.
|
|
8746
9034
|
**/
|
|
@@ -8748,7 +9036,7 @@ export type PalletXcmEvent =
|
|
|
8748
9036
|
/**
|
|
8749
9037
|
* Some assets have been placed in an asset trap.
|
|
8750
9038
|
**/
|
|
8751
|
-
| { name: 'AssetsTrapped'; data: { hash: H256; origin:
|
|
9039
|
+
| { name: 'AssetsTrapped'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
|
|
8752
9040
|
/**
|
|
8753
9041
|
* An XCM version change notification message has been attempted to be sent.
|
|
8754
9042
|
*
|
|
@@ -8757,9 +9045,9 @@ export type PalletXcmEvent =
|
|
|
8757
9045
|
| {
|
|
8758
9046
|
name: 'VersionChangeNotified';
|
|
8759
9047
|
data: {
|
|
8760
|
-
destination:
|
|
9048
|
+
destination: StagingXcmV5Location;
|
|
8761
9049
|
result: number;
|
|
8762
|
-
cost:
|
|
9050
|
+
cost: StagingXcmV5AssetAssets;
|
|
8763
9051
|
messageId: FixedBytes<32>;
|
|
8764
9052
|
};
|
|
8765
9053
|
}
|
|
@@ -8767,12 +9055,12 @@ export type PalletXcmEvent =
|
|
|
8767
9055
|
* The supported version of a location has been changed. This might be through an
|
|
8768
9056
|
* automatic notification or a manual intervention.
|
|
8769
9057
|
**/
|
|
8770
|
-
| { name: 'SupportedVersionChanged'; data: { location:
|
|
9058
|
+
| { name: 'SupportedVersionChanged'; data: { location: StagingXcmV5Location; version: number } }
|
|
8771
9059
|
/**
|
|
8772
9060
|
* A given location which had a version change subscription was dropped owing to an error
|
|
8773
9061
|
* sending the notification to it.
|
|
8774
9062
|
**/
|
|
8775
|
-
| { name: 'NotifyTargetSendFail'; data: { location:
|
|
9063
|
+
| { name: 'NotifyTargetSendFail'; data: { location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError } }
|
|
8776
9064
|
/**
|
|
8777
9065
|
* A given location which had a version change subscription was dropped owing to an error
|
|
8778
9066
|
* migrating the location to our new XCM format.
|
|
@@ -8787,7 +9075,7 @@ export type PalletXcmEvent =
|
|
|
8787
9075
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
8788
9076
|
* needed.
|
|
8789
9077
|
**/
|
|
8790
|
-
| { name: 'InvalidQuerierVersion'; data: { origin:
|
|
9078
|
+
| { name: 'InvalidQuerierVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
|
|
8791
9079
|
/**
|
|
8792
9080
|
* Expected query response has been received but the querier location of the response does
|
|
8793
9081
|
* not match the expected. The query remains registered for a later, valid, response to
|
|
@@ -8796,10 +9084,10 @@ export type PalletXcmEvent =
|
|
|
8796
9084
|
| {
|
|
8797
9085
|
name: 'InvalidQuerier';
|
|
8798
9086
|
data: {
|
|
8799
|
-
origin:
|
|
9087
|
+
origin: StagingXcmV5Location;
|
|
8800
9088
|
queryId: bigint;
|
|
8801
|
-
expectedQuerier:
|
|
8802
|
-
maybeActualQuerier?:
|
|
9089
|
+
expectedQuerier: StagingXcmV5Location;
|
|
9090
|
+
maybeActualQuerier?: StagingXcmV5Location | undefined;
|
|
8803
9091
|
};
|
|
8804
9092
|
}
|
|
8805
9093
|
/**
|
|
@@ -8808,14 +9096,14 @@ export type PalletXcmEvent =
|
|
|
8808
9096
|
**/
|
|
8809
9097
|
| {
|
|
8810
9098
|
name: 'VersionNotifyStarted';
|
|
8811
|
-
data: { destination:
|
|
9099
|
+
data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
|
|
8812
9100
|
}
|
|
8813
9101
|
/**
|
|
8814
9102
|
* We have requested that a remote chain send us XCM version change notifications.
|
|
8815
9103
|
**/
|
|
8816
9104
|
| {
|
|
8817
9105
|
name: 'VersionNotifyRequested';
|
|
8818
|
-
data: { destination:
|
|
9106
|
+
data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
|
|
8819
9107
|
}
|
|
8820
9108
|
/**
|
|
8821
9109
|
* We have requested that a remote chain stops sending us XCM version change
|
|
@@ -8823,16 +9111,16 @@ export type PalletXcmEvent =
|
|
|
8823
9111
|
**/
|
|
8824
9112
|
| {
|
|
8825
9113
|
name: 'VersionNotifyUnrequested';
|
|
8826
|
-
data: { destination:
|
|
9114
|
+
data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
|
|
8827
9115
|
}
|
|
8828
9116
|
/**
|
|
8829
9117
|
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
8830
9118
|
**/
|
|
8831
|
-
| { name: 'FeesPaid'; data: { paying:
|
|
9119
|
+
| { name: 'FeesPaid'; data: { paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets } }
|
|
8832
9120
|
/**
|
|
8833
9121
|
* Some assets have been claimed from an asset trap
|
|
8834
9122
|
**/
|
|
8835
|
-
| { name: 'AssetsClaimed'; data: { hash: H256; origin:
|
|
9123
|
+
| { name: 'AssetsClaimed'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
|
|
8836
9124
|
/**
|
|
8837
9125
|
* A XCM version migration finished.
|
|
8838
9126
|
**/
|
|
@@ -9003,19 +9291,19 @@ export type PalletXcmTransactorEvent =
|
|
|
9003
9291
|
**/
|
|
9004
9292
|
| {
|
|
9005
9293
|
name: 'TransactedDerivative';
|
|
9006
|
-
data: { accountId: AccountId20; dest:
|
|
9294
|
+
data: { accountId: AccountId20; dest: StagingXcmV5Location; call: Bytes; index: number };
|
|
9007
9295
|
}
|
|
9008
9296
|
/**
|
|
9009
9297
|
* Transacted the call through the sovereign account in a destination chain.
|
|
9010
9298
|
**/
|
|
9011
9299
|
| {
|
|
9012
9300
|
name: 'TransactedSovereign';
|
|
9013
|
-
data: { feePayer?: AccountId20 | undefined; dest:
|
|
9301
|
+
data: { feePayer?: AccountId20 | undefined; dest: StagingXcmV5Location; call: Bytes };
|
|
9014
9302
|
}
|
|
9015
9303
|
/**
|
|
9016
9304
|
* Transacted the call through a signed account in a destination chain.
|
|
9017
9305
|
**/
|
|
9018
|
-
| { name: 'TransactedSigned'; data: { feePayer: AccountId20; dest:
|
|
9306
|
+
| { name: 'TransactedSigned'; data: { feePayer: AccountId20; dest: StagingXcmV5Location; call: Bytes } }
|
|
9019
9307
|
/**
|
|
9020
9308
|
* Registered a derivative index for an account id.
|
|
9021
9309
|
**/
|
|
@@ -9024,26 +9312,26 @@ export type PalletXcmTransactorEvent =
|
|
|
9024
9312
|
/**
|
|
9025
9313
|
* Transact failed
|
|
9026
9314
|
**/
|
|
9027
|
-
| { name: 'TransactFailed'; data: { error:
|
|
9315
|
+
| { name: 'TransactFailed'; data: { error: XcmV5TraitsError } }
|
|
9028
9316
|
/**
|
|
9029
9317
|
* Changed the transact info of a location
|
|
9030
9318
|
**/
|
|
9031
9319
|
| {
|
|
9032
9320
|
name: 'TransactInfoChanged';
|
|
9033
|
-
data: { location:
|
|
9321
|
+
data: { location: StagingXcmV5Location; remoteInfo: PalletXcmTransactorRemoteTransactInfoWithMaxWeight };
|
|
9034
9322
|
}
|
|
9035
9323
|
/**
|
|
9036
9324
|
* Removed the transact info of a location
|
|
9037
9325
|
**/
|
|
9038
|
-
| { name: 'TransactInfoRemoved'; data: { location:
|
|
9326
|
+
| { name: 'TransactInfoRemoved'; data: { location: StagingXcmV5Location } }
|
|
9039
9327
|
/**
|
|
9040
9328
|
* Set dest fee per second
|
|
9041
9329
|
**/
|
|
9042
|
-
| { name: 'DestFeePerSecondChanged'; data: { location:
|
|
9330
|
+
| { name: 'DestFeePerSecondChanged'; data: { location: StagingXcmV5Location; feePerSecond: bigint } }
|
|
9043
9331
|
/**
|
|
9044
9332
|
* Remove dest fee per second
|
|
9045
9333
|
**/
|
|
9046
|
-
| { name: 'DestFeePerSecondRemoved'; data: { location:
|
|
9334
|
+
| { name: 'DestFeePerSecondRemoved'; data: { location: StagingXcmV5Location } }
|
|
9047
9335
|
/**
|
|
9048
9336
|
* HRMP manage action succesfully sent
|
|
9049
9337
|
**/
|
|
@@ -9187,17 +9475,17 @@ export type PalletMoonbeamForeignAssetsEvent =
|
|
|
9187
9475
|
**/
|
|
9188
9476
|
| {
|
|
9189
9477
|
name: 'ForeignAssetCreated';
|
|
9190
|
-
data: { contractAddress: H160; assetId: bigint; xcmLocation:
|
|
9478
|
+
data: { contractAddress: H160; assetId: bigint; xcmLocation: StagingXcmV5Location; deposit?: bigint | undefined };
|
|
9191
9479
|
}
|
|
9192
9480
|
/**
|
|
9193
9481
|
* Changed the xcm type mapping for a given asset id
|
|
9194
9482
|
**/
|
|
9195
9483
|
| {
|
|
9196
9484
|
name: 'ForeignAssetXcmLocationChanged';
|
|
9197
|
-
data: { assetId: bigint; previousXcmLocation:
|
|
9485
|
+
data: { assetId: bigint; previousXcmLocation: StagingXcmV5Location; newXcmLocation: StagingXcmV5Location };
|
|
9198
9486
|
}
|
|
9199
|
-
| { name: 'ForeignAssetFrozen'; data: { assetId: bigint; xcmLocation:
|
|
9200
|
-
| { name: 'ForeignAssetUnfrozen'; data: { assetId: bigint; xcmLocation:
|
|
9487
|
+
| { name: 'ForeignAssetFrozen'; data: { assetId: bigint; xcmLocation: StagingXcmV5Location } }
|
|
9488
|
+
| { name: 'ForeignAssetUnfrozen'; data: { assetId: bigint; xcmLocation: StagingXcmV5Location } }
|
|
9201
9489
|
/**
|
|
9202
9490
|
* Tokens have been locked for asset creation
|
|
9203
9491
|
**/
|
|
@@ -9210,23 +9498,23 @@ export type PalletXcmWeightTraderEvent =
|
|
|
9210
9498
|
/**
|
|
9211
9499
|
* New supported asset is registered
|
|
9212
9500
|
**/
|
|
9213
|
-
| { name: 'SupportedAssetAdded'; data: { location:
|
|
9501
|
+
| { name: 'SupportedAssetAdded'; data: { location: StagingXcmV5Location; relativePrice: bigint } }
|
|
9214
9502
|
/**
|
|
9215
9503
|
* Changed the amount of units we are charging per execution second for a given asset
|
|
9216
9504
|
**/
|
|
9217
|
-
| { name: 'SupportedAssetEdited'; data: { location:
|
|
9505
|
+
| { name: 'SupportedAssetEdited'; data: { location: StagingXcmV5Location; relativePrice: bigint } }
|
|
9218
9506
|
/**
|
|
9219
9507
|
* Pause support for a given asset
|
|
9220
9508
|
**/
|
|
9221
|
-
| { name: 'PauseAssetSupport'; data: { location:
|
|
9509
|
+
| { name: 'PauseAssetSupport'; data: { location: StagingXcmV5Location } }
|
|
9222
9510
|
/**
|
|
9223
9511
|
* Resume support for a given asset
|
|
9224
9512
|
**/
|
|
9225
|
-
| { name: 'ResumeAssetSupport'; data: { location:
|
|
9513
|
+
| { name: 'ResumeAssetSupport'; data: { location: StagingXcmV5Location } }
|
|
9226
9514
|
/**
|
|
9227
9515
|
* Supported asset type for fee payment removed
|
|
9228
9516
|
**/
|
|
9229
|
-
| { name: 'SupportedAssetRemoved'; data: { location:
|
|
9517
|
+
| { name: 'SupportedAssetRemoved'; data: { location: StagingXcmV5Location } };
|
|
9230
9518
|
|
|
9231
9519
|
/**
|
|
9232
9520
|
* The `Event` enum of this pallet
|
|
@@ -9241,6 +9529,117 @@ export type PalletEmergencyParaXcmEvent =
|
|
|
9241
9529
|
**/
|
|
9242
9530
|
| 'NormalXcmOperationResumed';
|
|
9243
9531
|
|
|
9532
|
+
/**
|
|
9533
|
+
* The `Event` enum of this pallet
|
|
9534
|
+
**/
|
|
9535
|
+
export type PalletMigrationsEvent002 =
|
|
9536
|
+
/**
|
|
9537
|
+
* A Runtime upgrade started.
|
|
9538
|
+
*
|
|
9539
|
+
* Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
|
|
9540
|
+
**/
|
|
9541
|
+
| {
|
|
9542
|
+
name: 'UpgradeStarted';
|
|
9543
|
+
data: {
|
|
9544
|
+
/**
|
|
9545
|
+
* The number of migrations that this upgrade contains.
|
|
9546
|
+
*
|
|
9547
|
+
* This can be used to design a progress indicator in combination with counting the
|
|
9548
|
+
* `MigrationCompleted` and `MigrationSkipped` events.
|
|
9549
|
+
**/
|
|
9550
|
+
migrations: number;
|
|
9551
|
+
};
|
|
9552
|
+
}
|
|
9553
|
+
/**
|
|
9554
|
+
* The current runtime upgrade completed.
|
|
9555
|
+
*
|
|
9556
|
+
* This implies that all of its migrations completed successfully as well.
|
|
9557
|
+
**/
|
|
9558
|
+
| { name: 'UpgradeCompleted' }
|
|
9559
|
+
/**
|
|
9560
|
+
* Runtime upgrade failed.
|
|
9561
|
+
*
|
|
9562
|
+
* This is very bad and will require governance intervention.
|
|
9563
|
+
**/
|
|
9564
|
+
| { name: 'UpgradeFailed' }
|
|
9565
|
+
/**
|
|
9566
|
+
* A migration was skipped since it was already executed in the past.
|
|
9567
|
+
**/
|
|
9568
|
+
| {
|
|
9569
|
+
name: 'MigrationSkipped';
|
|
9570
|
+
data: {
|
|
9571
|
+
/**
|
|
9572
|
+
* The index of the skipped migration within the [`Config::Migrations`] list.
|
|
9573
|
+
**/
|
|
9574
|
+
index: number;
|
|
9575
|
+
};
|
|
9576
|
+
}
|
|
9577
|
+
/**
|
|
9578
|
+
* A migration progressed.
|
|
9579
|
+
**/
|
|
9580
|
+
| {
|
|
9581
|
+
name: 'MigrationAdvanced';
|
|
9582
|
+
data: {
|
|
9583
|
+
/**
|
|
9584
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
9585
|
+
**/
|
|
9586
|
+
index: number;
|
|
9587
|
+
|
|
9588
|
+
/**
|
|
9589
|
+
* The number of blocks that this migration took so far.
|
|
9590
|
+
**/
|
|
9591
|
+
took: number;
|
|
9592
|
+
};
|
|
9593
|
+
}
|
|
9594
|
+
/**
|
|
9595
|
+
* A Migration completed.
|
|
9596
|
+
**/
|
|
9597
|
+
| {
|
|
9598
|
+
name: 'MigrationCompleted';
|
|
9599
|
+
data: {
|
|
9600
|
+
/**
|
|
9601
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
9602
|
+
**/
|
|
9603
|
+
index: number;
|
|
9604
|
+
|
|
9605
|
+
/**
|
|
9606
|
+
* The number of blocks that this migration took so far.
|
|
9607
|
+
**/
|
|
9608
|
+
took: number;
|
|
9609
|
+
};
|
|
9610
|
+
}
|
|
9611
|
+
/**
|
|
9612
|
+
* A Migration failed.
|
|
9613
|
+
*
|
|
9614
|
+
* This implies that the whole upgrade failed and governance intervention is required.
|
|
9615
|
+
**/
|
|
9616
|
+
| {
|
|
9617
|
+
name: 'MigrationFailed';
|
|
9618
|
+
data: {
|
|
9619
|
+
/**
|
|
9620
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
9621
|
+
**/
|
|
9622
|
+
index: number;
|
|
9623
|
+
|
|
9624
|
+
/**
|
|
9625
|
+
* The number of blocks that this migration took so far.
|
|
9626
|
+
**/
|
|
9627
|
+
took: number;
|
|
9628
|
+
};
|
|
9629
|
+
}
|
|
9630
|
+
/**
|
|
9631
|
+
* The set of historical migrations has been cleared.
|
|
9632
|
+
**/
|
|
9633
|
+
| {
|
|
9634
|
+
name: 'HistoricCleared';
|
|
9635
|
+
data: {
|
|
9636
|
+
/**
|
|
9637
|
+
* Should be passed to `clear_historic` in a successive call.
|
|
9638
|
+
**/
|
|
9639
|
+
nextCursor?: Bytes | undefined;
|
|
9640
|
+
};
|
|
9641
|
+
};
|
|
9642
|
+
|
|
9244
9643
|
/**
|
|
9245
9644
|
* The `Event` enum of this pallet
|
|
9246
9645
|
**/
|
|
@@ -9841,7 +10240,14 @@ export type PalletIdentityRegistration = {
|
|
|
9841
10240
|
|
|
9842
10241
|
export type PalletIdentityRegistrarInfo = { account: AccountId20; fee: bigint; fields: bigint };
|
|
9843
10242
|
|
|
9844
|
-
export type PalletIdentityAuthorityProperties = {
|
|
10243
|
+
export type PalletIdentityAuthorityProperties = { accountId: AccountId20; allocation: number };
|
|
10244
|
+
|
|
10245
|
+
export type PalletIdentityUsernameInformation = { owner: AccountId20; provider: PalletIdentityProvider };
|
|
10246
|
+
|
|
10247
|
+
export type PalletIdentityProvider =
|
|
10248
|
+
| { type: 'Allocation' }
|
|
10249
|
+
| { type: 'AuthorityDeposit'; value: bigint }
|
|
10250
|
+
| { type: 'System' };
|
|
9845
10251
|
|
|
9846
10252
|
/**
|
|
9847
10253
|
* The `Error` enum of this pallet.
|
|
@@ -9950,7 +10356,24 @@ export type PalletIdentityError =
|
|
|
9950
10356
|
/**
|
|
9951
10357
|
* The username cannot be forcefully removed because it can still be accepted.
|
|
9952
10358
|
**/
|
|
9953
|
-
| 'NotExpired'
|
|
10359
|
+
| 'NotExpired'
|
|
10360
|
+
/**
|
|
10361
|
+
* The username cannot be removed because it's still in the grace period.
|
|
10362
|
+
**/
|
|
10363
|
+
| 'TooEarly'
|
|
10364
|
+
/**
|
|
10365
|
+
* The username cannot be removed because it is not unbinding.
|
|
10366
|
+
**/
|
|
10367
|
+
| 'NotUnbinding'
|
|
10368
|
+
/**
|
|
10369
|
+
* The username cannot be unbound because it is already unbinding.
|
|
10370
|
+
**/
|
|
10371
|
+
| 'AlreadyUnbinding'
|
|
10372
|
+
/**
|
|
10373
|
+
* The action cannot be performed because of insufficient privileges (e.g. authority
|
|
10374
|
+
* trying to unbind a username provided by the system).
|
|
10375
|
+
**/
|
|
10376
|
+
| 'InsufficientPrivileges';
|
|
9954
10377
|
|
|
9955
10378
|
/**
|
|
9956
10379
|
* The `Error` enum of this pallet.
|
|
@@ -10041,12 +10464,6 @@ export type PalletMultisigError =
|
|
|
10041
10464
|
**/
|
|
10042
10465
|
| 'AlreadyStored';
|
|
10043
10466
|
|
|
10044
|
-
export type PalletMoonbeamLazyMigrationsStateMigrationStatus =
|
|
10045
|
-
| { type: 'NotStarted' }
|
|
10046
|
-
| { type: 'Started'; value: Bytes }
|
|
10047
|
-
| { type: 'Error'; value: Bytes }
|
|
10048
|
-
| { type: 'Complete' };
|
|
10049
|
-
|
|
10050
10467
|
export type PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationStatus =
|
|
10051
10468
|
| { type: 'Idle' }
|
|
10052
10469
|
| { type: 'Migrating'; value: PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo };
|
|
@@ -10584,12 +11001,16 @@ export type PalletCollectiveError =
|
|
|
10584
11001
|
/**
|
|
10585
11002
|
* Prime account is not a member
|
|
10586
11003
|
**/
|
|
10587
|
-
| 'PrimeAccountNotMember'
|
|
11004
|
+
| 'PrimeAccountNotMember'
|
|
11005
|
+
/**
|
|
11006
|
+
* Proposal is still active.
|
|
11007
|
+
**/
|
|
11008
|
+
| 'ProposalActive';
|
|
10588
11009
|
|
|
10589
11010
|
export type PalletTreasuryProposal = { proposer: AccountId20; value: bigint; beneficiary: AccountId20; bond: bigint };
|
|
10590
11011
|
|
|
10591
11012
|
export type PalletTreasurySpendStatus = {
|
|
10592
|
-
assetKind:
|
|
11013
|
+
assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
10593
11014
|
amount: bigint;
|
|
10594
11015
|
beneficiary: AccountId20;
|
|
10595
11016
|
validFrom: number;
|
|
@@ -10785,9 +11206,9 @@ export type PalletXcmQueryStatus =
|
|
|
10785
11206
|
| { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
|
|
10786
11207
|
|
|
10787
11208
|
export type XcmVersionedResponse =
|
|
10788
|
-
| { type: 'V2'; value: XcmV2Response }
|
|
10789
11209
|
| { type: 'V3'; value: XcmV3Response }
|
|
10790
|
-
| { type: 'V4'; value: StagingXcmV4Response }
|
|
11210
|
+
| { type: 'V4'; value: StagingXcmV4Response }
|
|
11211
|
+
| { type: 'V5'; value: StagingXcmV5Response };
|
|
10791
11212
|
|
|
10792
11213
|
export type PalletXcmVersionMigrationStage =
|
|
10793
11214
|
| { type: 'MigrateSupportedVersion' }
|
|
@@ -11205,6 +11626,8 @@ export type PalletMoonbeamForeignAssetsError =
|
|
|
11205
11626
|
| 'Erc20ContractCreationFail'
|
|
11206
11627
|
| 'EvmCallPauseFail'
|
|
11207
11628
|
| 'EvmCallUnpauseFail'
|
|
11629
|
+
| 'EvmCallMintIntoFail'
|
|
11630
|
+
| 'EvmCallTransferFail'
|
|
11208
11631
|
| 'EvmInternalError'
|
|
11209
11632
|
/**
|
|
11210
11633
|
* Account has insufficient balance for locking
|
|
@@ -11245,7 +11668,11 @@ export type PalletXcmWeightTraderError =
|
|
|
11245
11668
|
/**
|
|
11246
11669
|
* The relative price cannot be zero
|
|
11247
11670
|
**/
|
|
11248
|
-
| 'PriceCannotBeZero'
|
|
11671
|
+
| 'PriceCannotBeZero'
|
|
11672
|
+
/**
|
|
11673
|
+
* The relative price calculation overflowed
|
|
11674
|
+
**/
|
|
11675
|
+
| 'PriceOverflow';
|
|
11249
11676
|
|
|
11250
11677
|
export type PalletEmergencyParaXcmXcmMode = 'Normal' | 'Paused';
|
|
11251
11678
|
|
|
@@ -11258,6 +11685,15 @@ export type PalletEmergencyParaXcmError =
|
|
|
11258
11685
|
**/
|
|
11259
11686
|
'NotInPausedMode';
|
|
11260
11687
|
|
|
11688
|
+
/**
|
|
11689
|
+
* The `Error` enum of this pallet.
|
|
11690
|
+
**/
|
|
11691
|
+
export type PalletMigrationsError002 =
|
|
11692
|
+
/**
|
|
11693
|
+
* The operation cannot complete since some MBMs are ongoing.
|
|
11694
|
+
**/
|
|
11695
|
+
'Ongoing';
|
|
11696
|
+
|
|
11261
11697
|
/**
|
|
11262
11698
|
* The `Error` enum of this pallet.
|
|
11263
11699
|
**/
|
|
@@ -11349,7 +11785,9 @@ export type SpRuntimeTransactionValidityInvalidTransaction =
|
|
|
11349
11785
|
| { type: 'Custom'; value: number }
|
|
11350
11786
|
| { type: 'BadMandatory' }
|
|
11351
11787
|
| { type: 'MandatoryValidation' }
|
|
11352
|
-
| { type: 'BadSigner' }
|
|
11788
|
+
| { type: 'BadSigner' }
|
|
11789
|
+
| { type: 'IndeterminateImplicit' }
|
|
11790
|
+
| { type: 'UnknownOrigin' };
|
|
11353
11791
|
|
|
11354
11792
|
export type SpRuntimeTransactionValidityUnknownTransaction =
|
|
11355
11793
|
| { type: 'CannotLookup' }
|
|
@@ -11442,7 +11880,7 @@ export type XcmRuntimeApisDryRunCallDryRunEffects = {
|
|
|
11442
11880
|
export type XcmRuntimeApisDryRunError = 'Unimplemented' | 'VersionedConversionFailed';
|
|
11443
11881
|
|
|
11444
11882
|
export type XcmRuntimeApisDryRunXcmDryRunEffects = {
|
|
11445
|
-
executionResult:
|
|
11883
|
+
executionResult: StagingXcmV5TraitsOutcome;
|
|
11446
11884
|
emittedEvents: Array<MoonbeamRuntimeRuntimeEvent>;
|
|
11447
11885
|
forwardedXcms: Array<[XcmVersionedLocation, Array<XcmVersionedXcm>]>;
|
|
11448
11886
|
};
|
|
@@ -11485,5 +11923,6 @@ export type MoonbeamRuntimeRuntimeError =
|
|
|
11485
11923
|
| { pallet: 'EvmForeignAssets'; palletError: PalletMoonbeamForeignAssetsError }
|
|
11486
11924
|
| { pallet: 'XcmWeightTrader'; palletError: PalletXcmWeightTraderError }
|
|
11487
11925
|
| { pallet: 'EmergencyParaXcm'; palletError: PalletEmergencyParaXcmError }
|
|
11926
|
+
| { pallet: 'MultiBlockMigrations'; palletError: PalletMigrationsError002 }
|
|
11488
11927
|
| { pallet: 'PrecompileBenchmarks'; palletError: PalletPrecompileBenchmarksError }
|
|
11489
11928
|
| { pallet: 'Randomness'; palletError: PalletRandomnessError };
|