@dedot/chaintypes 0.39.0 → 0.41.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/package.json +2 -2
- package/westend/consts.d.ts +42 -2
- package/westend/errors.d.ts +38 -28
- package/westend/events.d.ts +208 -42
- package/westend/index.d.ts +1 -1
- package/westend/query.d.ts +92 -42
- package/westend/runtime.d.ts +64 -6
- package/westend/tx.d.ts +178 -52
- package/westend/types.d.ts +642 -333
- package/westend-asset-hub/errors.d.ts +0 -5
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/runtime.d.ts +4 -5
- package/westend-asset-hub/types.d.ts +1 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.0",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@coongcrafts.io>",
|
|
6
6
|
"main": "",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"directory": "dist"
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "e02ad597efbe5808278cafb33c81e34781fabf76",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts"
|
|
25
25
|
}
|
package/westend/consts.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import type {
|
|
|
9
9
|
SpWeightsWeightV2Weight,
|
|
10
10
|
FrameSupportPalletId,
|
|
11
11
|
PalletReferendaTrackInfo,
|
|
12
|
-
|
|
12
|
+
StagingXcmV5Junctions,
|
|
13
13
|
} from './types';
|
|
14
14
|
|
|
15
15
|
export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
|
|
@@ -390,6 +390,12 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
390
390
|
**/
|
|
391
391
|
byteDeposit: bigint;
|
|
392
392
|
|
|
393
|
+
/**
|
|
394
|
+
* The amount held on deposit per registered username. This value should change only in
|
|
395
|
+
* runtime upgrades with proper migration of existing deposits.
|
|
396
|
+
**/
|
|
397
|
+
usernameDeposit: bigint;
|
|
398
|
+
|
|
393
399
|
/**
|
|
394
400
|
* The amount held on deposit for a registered subaccount. This should account for the fact
|
|
395
401
|
* that one storage item's value will increase by the size of an account ID, and there will
|
|
@@ -413,6 +419,12 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
413
419
|
**/
|
|
414
420
|
pendingUsernameExpiration: number;
|
|
415
421
|
|
|
422
|
+
/**
|
|
423
|
+
* The number of blocks that must pass to enable the permanent deletion of a username by
|
|
424
|
+
* its respective authority.
|
|
425
|
+
**/
|
|
426
|
+
usernameGracePeriod: number;
|
|
427
|
+
|
|
416
428
|
/**
|
|
417
429
|
* The maximum length of a suffix.
|
|
418
430
|
**/
|
|
@@ -900,6 +912,9 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
900
912
|
palletId: FrameSupportPalletId;
|
|
901
913
|
|
|
902
914
|
/**
|
|
915
|
+
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
916
|
+
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
|
917
|
+
*
|
|
903
918
|
* The maximum number of approvals that can wait in the spending queue.
|
|
904
919
|
*
|
|
905
920
|
* NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
|
|
@@ -1221,7 +1236,32 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
1221
1236
|
/**
|
|
1222
1237
|
* The coretime chain pot location.
|
|
1223
1238
|
**/
|
|
1224
|
-
brokerPotLocation:
|
|
1239
|
+
brokerPotLocation: StagingXcmV5Junctions;
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* Generic pallet constant
|
|
1243
|
+
**/
|
|
1244
|
+
[name: string]: any;
|
|
1245
|
+
};
|
|
1246
|
+
/**
|
|
1247
|
+
* Pallet `MultiBlockMigrations`'s constants
|
|
1248
|
+
**/
|
|
1249
|
+
multiBlockMigrations: {
|
|
1250
|
+
/**
|
|
1251
|
+
* The maximal length of an encoded cursor.
|
|
1252
|
+
*
|
|
1253
|
+
* A good default needs to selected such that no migration will ever have a cursor with MEL
|
|
1254
|
+
* above this limit. This is statically checked in `integrity_test`.
|
|
1255
|
+
**/
|
|
1256
|
+
cursorMaxLen: number;
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* The maximal length of an encoded identifier.
|
|
1260
|
+
*
|
|
1261
|
+
* A good default needs to selected such that no migration will ever have an identifier
|
|
1262
|
+
* with MEL above this limit. This is statically checked in `integrity_test`.
|
|
1263
|
+
**/
|
|
1264
|
+
identifierMaxLen: number;
|
|
1225
1265
|
|
|
1226
1266
|
/**
|
|
1227
1267
|
* Generic pallet constant
|
package/westend/errors.d.ts
CHANGED
|
@@ -589,6 +589,27 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
589
589
|
**/
|
|
590
590
|
NotExpired: GenericPalletError<Rv>;
|
|
591
591
|
|
|
592
|
+
/**
|
|
593
|
+
* The username cannot be removed because it's still in the grace period.
|
|
594
|
+
**/
|
|
595
|
+
TooEarly: GenericPalletError<Rv>;
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* The username cannot be removed because it is not unbinding.
|
|
599
|
+
**/
|
|
600
|
+
NotUnbinding: GenericPalletError<Rv>;
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* The username cannot be unbound because it is already unbinding.
|
|
604
|
+
**/
|
|
605
|
+
AlreadyUnbinding: GenericPalletError<Rv>;
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* The action cannot be performed because of insufficient privileges (e.g. authority
|
|
609
|
+
* trying to unbind a username provided by the system).
|
|
610
|
+
**/
|
|
611
|
+
InsufficientPrivileges: GenericPalletError<Rv>;
|
|
612
|
+
|
|
592
613
|
/**
|
|
593
614
|
* Generic pallet error
|
|
594
615
|
**/
|
|
@@ -1727,15 +1748,10 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1727
1748
|
InvalidParentHeader: GenericPalletError<Rv>;
|
|
1728
1749
|
|
|
1729
1750
|
/**
|
|
1730
|
-
*
|
|
1731
|
-
**/
|
|
1732
|
-
InherentOverweight: GenericPalletError<Rv>;
|
|
1733
|
-
|
|
1734
|
-
/**
|
|
1735
|
-
* A candidate was filtered during inherent execution. This should have only been done
|
|
1751
|
+
* Inherent data was filtered during execution. This should have only been done
|
|
1736
1752
|
* during creation.
|
|
1737
1753
|
**/
|
|
1738
|
-
|
|
1754
|
+
InherentDataFilteredDuringExecution: GenericPalletError<Rv>;
|
|
1739
1755
|
|
|
1740
1756
|
/**
|
|
1741
1757
|
* Too many candidates supplied.
|
|
@@ -2050,32 +2066,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2050
2066
|
coretimeAssignmentProvider: {
|
|
2051
2067
|
AssignmentsEmpty: GenericPalletError<Rv>;
|
|
2052
2068
|
|
|
2053
|
-
/**
|
|
2054
|
-
* Assignments together exceeded 57600.
|
|
2055
|
-
**/
|
|
2056
|
-
OverScheduled: GenericPalletError<Rv>;
|
|
2057
|
-
|
|
2058
|
-
/**
|
|
2059
|
-
* Assignments together less than 57600
|
|
2060
|
-
**/
|
|
2061
|
-
UnderScheduled: GenericPalletError<Rv>;
|
|
2062
|
-
|
|
2063
2069
|
/**
|
|
2064
2070
|
* assign_core is only allowed to append new assignments at the end of already existing
|
|
2065
|
-
* ones.
|
|
2071
|
+
* ones or update the last entry.
|
|
2066
2072
|
**/
|
|
2067
2073
|
DisallowedInsert: GenericPalletError<Rv>;
|
|
2068
2074
|
|
|
2069
|
-
/**
|
|
2070
|
-
* Tried to insert a schedule for the same core and block number as an existing schedule
|
|
2071
|
-
**/
|
|
2072
|
-
DuplicateInsert: GenericPalletError<Rv>;
|
|
2073
|
-
|
|
2074
|
-
/**
|
|
2075
|
-
* Tried to add an unsorted set of assignments
|
|
2076
|
-
**/
|
|
2077
|
-
AssignmentsNotSorted: GenericPalletError<Rv>;
|
|
2078
|
-
|
|
2079
2075
|
/**
|
|
2080
2076
|
* Generic pallet error
|
|
2081
2077
|
**/
|
|
@@ -2478,6 +2474,20 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2478
2474
|
**/
|
|
2479
2475
|
[error: string]: GenericPalletError<Rv>;
|
|
2480
2476
|
};
|
|
2477
|
+
/**
|
|
2478
|
+
* Pallet `MultiBlockMigrations`'s errors
|
|
2479
|
+
**/
|
|
2480
|
+
multiBlockMigrations: {
|
|
2481
|
+
/**
|
|
2482
|
+
* The operation cannot complete since some MBMs are ongoing.
|
|
2483
|
+
**/
|
|
2484
|
+
Ongoing: GenericPalletError<Rv>;
|
|
2485
|
+
|
|
2486
|
+
/**
|
|
2487
|
+
* Generic pallet error
|
|
2488
|
+
**/
|
|
2489
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2490
|
+
};
|
|
2481
2491
|
/**
|
|
2482
2492
|
* Pallet `XcmPallet`'s errors
|
|
2483
2493
|
**/
|
package/westend/events.d.ts
CHANGED
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericChainEvents, GenericPalletEvent, RpcVersion } from 'dedot/types';
|
|
4
|
+
import type { DispatchError, AccountId32, H256, Perbill, FixedBytes, Bytes, Result, FixedU128 } from 'dedot/codecs';
|
|
4
5
|
import type {
|
|
5
|
-
|
|
6
|
-
DispatchError,
|
|
7
|
-
AccountId32,
|
|
8
|
-
H256,
|
|
9
|
-
Perbill,
|
|
10
|
-
FixedBytes,
|
|
11
|
-
Bytes,
|
|
12
|
-
Result,
|
|
13
|
-
FixedU128,
|
|
14
|
-
} from 'dedot/codecs';
|
|
15
|
-
import type {
|
|
6
|
+
FrameSystemDispatchEventInfo,
|
|
16
7
|
FrameSupportTokensMiscBalanceStatus,
|
|
17
8
|
PalletStakingRewardDestination,
|
|
18
9
|
PalletStakingValidatorPrefs,
|
|
@@ -45,14 +36,14 @@ import type {
|
|
|
45
36
|
PolkadotCorePrimitivesCandidateHash,
|
|
46
37
|
PolkadotRuntimeParachainsDisputesDisputeLocation,
|
|
47
38
|
PolkadotRuntimeParachainsDisputesDisputeResult,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
39
|
+
StagingXcmV5TraitsOutcome,
|
|
40
|
+
StagingXcmV5Location,
|
|
41
|
+
StagingXcmV5Xcm,
|
|
42
|
+
StagingXcmV5Response,
|
|
52
43
|
SpWeightsWeightV2Weight,
|
|
53
44
|
XcmVersionedAssets,
|
|
54
|
-
|
|
55
|
-
|
|
45
|
+
StagingXcmV5AssetAssets,
|
|
46
|
+
XcmV5TraitsError,
|
|
56
47
|
PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
|
|
57
48
|
FrameSupportMessagesProcessMessageError,
|
|
58
49
|
} from './types';
|
|
@@ -65,7 +56,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
65
56
|
/**
|
|
66
57
|
* An extrinsic completed successfully.
|
|
67
58
|
**/
|
|
68
|
-
ExtrinsicSuccess: GenericPalletEvent<
|
|
59
|
+
ExtrinsicSuccess: GenericPalletEvent<
|
|
60
|
+
Rv,
|
|
61
|
+
'System',
|
|
62
|
+
'ExtrinsicSuccess',
|
|
63
|
+
{ dispatchInfo: FrameSystemDispatchEventInfo }
|
|
64
|
+
>;
|
|
69
65
|
|
|
70
66
|
/**
|
|
71
67
|
* An extrinsic failed.
|
|
@@ -74,7 +70,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
74
70
|
Rv,
|
|
75
71
|
'System',
|
|
76
72
|
'ExtrinsicFailed',
|
|
77
|
-
{ dispatchError: DispatchError; dispatchInfo:
|
|
73
|
+
{ dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo }
|
|
78
74
|
>;
|
|
79
75
|
|
|
80
76
|
/**
|
|
@@ -369,13 +365,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
369
365
|
Chilled: GenericPalletEvent<Rv, 'Staking', 'Chilled', { stash: AccountId32 }>;
|
|
370
366
|
|
|
371
367
|
/**
|
|
372
|
-
*
|
|
368
|
+
* A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
|
|
373
369
|
**/
|
|
374
370
|
PayoutStarted: GenericPalletEvent<
|
|
375
371
|
Rv,
|
|
376
372
|
'Staking',
|
|
377
373
|
'PayoutStarted',
|
|
378
|
-
{ eraIndex: number; validatorStash: AccountId32 }
|
|
374
|
+
{ eraIndex: number; validatorStash: AccountId32; page: number; next?: number | undefined }
|
|
379
375
|
>;
|
|
380
376
|
|
|
381
377
|
/**
|
|
@@ -613,6 +609,26 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
613
609
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
614
610
|
>;
|
|
615
611
|
|
|
612
|
+
/**
|
|
613
|
+
* An account's sub-identities were set (in bulk).
|
|
614
|
+
**/
|
|
615
|
+
SubIdentitiesSet: GenericPalletEvent<
|
|
616
|
+
Rv,
|
|
617
|
+
'Identity',
|
|
618
|
+
'SubIdentitiesSet',
|
|
619
|
+
{ main: AccountId32; numberOfSubs: number; newDeposit: bigint }
|
|
620
|
+
>;
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* A given sub-account's associated name was changed by its super-identity.
|
|
624
|
+
**/
|
|
625
|
+
SubIdentityRenamed: GenericPalletEvent<
|
|
626
|
+
Rv,
|
|
627
|
+
'Identity',
|
|
628
|
+
'SubIdentityRenamed',
|
|
629
|
+
{ sub: AccountId32; main: AccountId32 }
|
|
630
|
+
>;
|
|
631
|
+
|
|
616
632
|
/**
|
|
617
633
|
* A sub-identity was removed from an identity and the deposit freed.
|
|
618
634
|
**/
|
|
@@ -680,6 +696,21 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
680
696
|
{ who: AccountId32; username: Bytes }
|
|
681
697
|
>;
|
|
682
698
|
|
|
699
|
+
/**
|
|
700
|
+
* A username has been unbound.
|
|
701
|
+
**/
|
|
702
|
+
UsernameUnbound: GenericPalletEvent<Rv, 'Identity', 'UsernameUnbound', { username: Bytes }>;
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* A username has been removed.
|
|
706
|
+
**/
|
|
707
|
+
UsernameRemoved: GenericPalletEvent<Rv, 'Identity', 'UsernameRemoved', { username: Bytes }>;
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* A username has been killed.
|
|
711
|
+
**/
|
|
712
|
+
UsernameKilled: GenericPalletEvent<Rv, 'Identity', 'UsernameKilled', { username: Bytes }>;
|
|
713
|
+
|
|
683
714
|
/**
|
|
684
715
|
* Generic pallet event
|
|
685
716
|
**/
|
|
@@ -2498,6 +2529,141 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2498
2529
|
**/
|
|
2499
2530
|
[prop: string]: GenericPalletEvent<Rv>;
|
|
2500
2531
|
};
|
|
2532
|
+
/**
|
|
2533
|
+
* Pallet `MultiBlockMigrations`'s events
|
|
2534
|
+
**/
|
|
2535
|
+
multiBlockMigrations: {
|
|
2536
|
+
/**
|
|
2537
|
+
* A Runtime upgrade started.
|
|
2538
|
+
*
|
|
2539
|
+
* Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
|
|
2540
|
+
**/
|
|
2541
|
+
UpgradeStarted: GenericPalletEvent<
|
|
2542
|
+
Rv,
|
|
2543
|
+
'MultiBlockMigrations',
|
|
2544
|
+
'UpgradeStarted',
|
|
2545
|
+
{
|
|
2546
|
+
/**
|
|
2547
|
+
* The number of migrations that this upgrade contains.
|
|
2548
|
+
*
|
|
2549
|
+
* This can be used to design a progress indicator in combination with counting the
|
|
2550
|
+
* `MigrationCompleted` and `MigrationSkipped` events.
|
|
2551
|
+
**/
|
|
2552
|
+
migrations: number;
|
|
2553
|
+
}
|
|
2554
|
+
>;
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* The current runtime upgrade completed.
|
|
2558
|
+
*
|
|
2559
|
+
* This implies that all of its migrations completed successfully as well.
|
|
2560
|
+
**/
|
|
2561
|
+
UpgradeCompleted: GenericPalletEvent<Rv, 'MultiBlockMigrations', 'UpgradeCompleted', null>;
|
|
2562
|
+
|
|
2563
|
+
/**
|
|
2564
|
+
* Runtime upgrade failed.
|
|
2565
|
+
*
|
|
2566
|
+
* This is very bad and will require governance intervention.
|
|
2567
|
+
**/
|
|
2568
|
+
UpgradeFailed: GenericPalletEvent<Rv, 'MultiBlockMigrations', 'UpgradeFailed', null>;
|
|
2569
|
+
|
|
2570
|
+
/**
|
|
2571
|
+
* A migration was skipped since it was already executed in the past.
|
|
2572
|
+
**/
|
|
2573
|
+
MigrationSkipped: GenericPalletEvent<
|
|
2574
|
+
Rv,
|
|
2575
|
+
'MultiBlockMigrations',
|
|
2576
|
+
'MigrationSkipped',
|
|
2577
|
+
{
|
|
2578
|
+
/**
|
|
2579
|
+
* The index of the skipped migration within the [`Config::Migrations`] list.
|
|
2580
|
+
**/
|
|
2581
|
+
index: number;
|
|
2582
|
+
}
|
|
2583
|
+
>;
|
|
2584
|
+
|
|
2585
|
+
/**
|
|
2586
|
+
* A migration progressed.
|
|
2587
|
+
**/
|
|
2588
|
+
MigrationAdvanced: GenericPalletEvent<
|
|
2589
|
+
Rv,
|
|
2590
|
+
'MultiBlockMigrations',
|
|
2591
|
+
'MigrationAdvanced',
|
|
2592
|
+
{
|
|
2593
|
+
/**
|
|
2594
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
2595
|
+
**/
|
|
2596
|
+
index: number;
|
|
2597
|
+
|
|
2598
|
+
/**
|
|
2599
|
+
* The number of blocks that this migration took so far.
|
|
2600
|
+
**/
|
|
2601
|
+
took: number;
|
|
2602
|
+
}
|
|
2603
|
+
>;
|
|
2604
|
+
|
|
2605
|
+
/**
|
|
2606
|
+
* A Migration completed.
|
|
2607
|
+
**/
|
|
2608
|
+
MigrationCompleted: GenericPalletEvent<
|
|
2609
|
+
Rv,
|
|
2610
|
+
'MultiBlockMigrations',
|
|
2611
|
+
'MigrationCompleted',
|
|
2612
|
+
{
|
|
2613
|
+
/**
|
|
2614
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
2615
|
+
**/
|
|
2616
|
+
index: number;
|
|
2617
|
+
|
|
2618
|
+
/**
|
|
2619
|
+
* The number of blocks that this migration took so far.
|
|
2620
|
+
**/
|
|
2621
|
+
took: number;
|
|
2622
|
+
}
|
|
2623
|
+
>;
|
|
2624
|
+
|
|
2625
|
+
/**
|
|
2626
|
+
* A Migration failed.
|
|
2627
|
+
*
|
|
2628
|
+
* This implies that the whole upgrade failed and governance intervention is required.
|
|
2629
|
+
**/
|
|
2630
|
+
MigrationFailed: GenericPalletEvent<
|
|
2631
|
+
Rv,
|
|
2632
|
+
'MultiBlockMigrations',
|
|
2633
|
+
'MigrationFailed',
|
|
2634
|
+
{
|
|
2635
|
+
/**
|
|
2636
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
2637
|
+
**/
|
|
2638
|
+
index: number;
|
|
2639
|
+
|
|
2640
|
+
/**
|
|
2641
|
+
* The number of blocks that this migration took so far.
|
|
2642
|
+
**/
|
|
2643
|
+
took: number;
|
|
2644
|
+
}
|
|
2645
|
+
>;
|
|
2646
|
+
|
|
2647
|
+
/**
|
|
2648
|
+
* The set of historical migrations has been cleared.
|
|
2649
|
+
**/
|
|
2650
|
+
HistoricCleared: GenericPalletEvent<
|
|
2651
|
+
Rv,
|
|
2652
|
+
'MultiBlockMigrations',
|
|
2653
|
+
'HistoricCleared',
|
|
2654
|
+
{
|
|
2655
|
+
/**
|
|
2656
|
+
* Should be passed to `clear_historic` in a successive call.
|
|
2657
|
+
**/
|
|
2658
|
+
nextCursor?: Bytes | undefined;
|
|
2659
|
+
}
|
|
2660
|
+
>;
|
|
2661
|
+
|
|
2662
|
+
/**
|
|
2663
|
+
* Generic pallet event
|
|
2664
|
+
**/
|
|
2665
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
2666
|
+
};
|
|
2501
2667
|
/**
|
|
2502
2668
|
* Pallet `XcmPallet`'s events
|
|
2503
2669
|
**/
|
|
@@ -2505,7 +2671,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2505
2671
|
/**
|
|
2506
2672
|
* Execution of an XCM message was attempted.
|
|
2507
2673
|
**/
|
|
2508
|
-
Attempted: GenericPalletEvent<Rv, 'XcmPallet', 'Attempted', { outcome:
|
|
2674
|
+
Attempted: GenericPalletEvent<Rv, 'XcmPallet', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
|
|
2509
2675
|
|
|
2510
2676
|
/**
|
|
2511
2677
|
* A XCM message was sent.
|
|
@@ -2515,9 +2681,9 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2515
2681
|
'XcmPallet',
|
|
2516
2682
|
'Sent',
|
|
2517
2683
|
{
|
|
2518
|
-
origin:
|
|
2519
|
-
destination:
|
|
2520
|
-
message:
|
|
2684
|
+
origin: StagingXcmV5Location;
|
|
2685
|
+
destination: StagingXcmV5Location;
|
|
2686
|
+
message: StagingXcmV5Xcm;
|
|
2521
2687
|
messageId: FixedBytes<32>;
|
|
2522
2688
|
}
|
|
2523
2689
|
>;
|
|
@@ -2531,7 +2697,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2531
2697
|
Rv,
|
|
2532
2698
|
'XcmPallet',
|
|
2533
2699
|
'UnexpectedResponse',
|
|
2534
|
-
{ origin:
|
|
2700
|
+
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
2535
2701
|
>;
|
|
2536
2702
|
|
|
2537
2703
|
/**
|
|
@@ -2542,7 +2708,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2542
2708
|
Rv,
|
|
2543
2709
|
'XcmPallet',
|
|
2544
2710
|
'ResponseReady',
|
|
2545
|
-
{ queryId: bigint; response:
|
|
2711
|
+
{ queryId: bigint; response: StagingXcmV5Response }
|
|
2546
2712
|
>;
|
|
2547
2713
|
|
|
2548
2714
|
/**
|
|
@@ -2606,7 +2772,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2606
2772
|
Rv,
|
|
2607
2773
|
'XcmPallet',
|
|
2608
2774
|
'InvalidResponder',
|
|
2609
|
-
{ origin:
|
|
2775
|
+
{ origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined }
|
|
2610
2776
|
>;
|
|
2611
2777
|
|
|
2612
2778
|
/**
|
|
@@ -2622,7 +2788,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2622
2788
|
Rv,
|
|
2623
2789
|
'XcmPallet',
|
|
2624
2790
|
'InvalidResponderVersion',
|
|
2625
|
-
{ origin:
|
|
2791
|
+
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
2626
2792
|
>;
|
|
2627
2793
|
|
|
2628
2794
|
/**
|
|
@@ -2637,7 +2803,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2637
2803
|
Rv,
|
|
2638
2804
|
'XcmPallet',
|
|
2639
2805
|
'AssetsTrapped',
|
|
2640
|
-
{ hash: H256; origin:
|
|
2806
|
+
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
2641
2807
|
>;
|
|
2642
2808
|
|
|
2643
2809
|
/**
|
|
@@ -2649,7 +2815,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2649
2815
|
Rv,
|
|
2650
2816
|
'XcmPallet',
|
|
2651
2817
|
'VersionChangeNotified',
|
|
2652
|
-
{ destination:
|
|
2818
|
+
{ destination: StagingXcmV5Location; result: number; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
2653
2819
|
>;
|
|
2654
2820
|
|
|
2655
2821
|
/**
|
|
@@ -2660,7 +2826,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2660
2826
|
Rv,
|
|
2661
2827
|
'XcmPallet',
|
|
2662
2828
|
'SupportedVersionChanged',
|
|
2663
|
-
{ location:
|
|
2829
|
+
{ location: StagingXcmV5Location; version: number }
|
|
2664
2830
|
>;
|
|
2665
2831
|
|
|
2666
2832
|
/**
|
|
@@ -2671,7 +2837,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2671
2837
|
Rv,
|
|
2672
2838
|
'XcmPallet',
|
|
2673
2839
|
'NotifyTargetSendFail',
|
|
2674
|
-
{ location:
|
|
2840
|
+
{ location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError }
|
|
2675
2841
|
>;
|
|
2676
2842
|
|
|
2677
2843
|
/**
|
|
@@ -2698,7 +2864,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2698
2864
|
Rv,
|
|
2699
2865
|
'XcmPallet',
|
|
2700
2866
|
'InvalidQuerierVersion',
|
|
2701
|
-
{ origin:
|
|
2867
|
+
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
2702
2868
|
>;
|
|
2703
2869
|
|
|
2704
2870
|
/**
|
|
@@ -2711,10 +2877,10 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2711
2877
|
'XcmPallet',
|
|
2712
2878
|
'InvalidQuerier',
|
|
2713
2879
|
{
|
|
2714
|
-
origin:
|
|
2880
|
+
origin: StagingXcmV5Location;
|
|
2715
2881
|
queryId: bigint;
|
|
2716
|
-
expectedQuerier:
|
|
2717
|
-
maybeActualQuerier?:
|
|
2882
|
+
expectedQuerier: StagingXcmV5Location;
|
|
2883
|
+
maybeActualQuerier?: StagingXcmV5Location | undefined;
|
|
2718
2884
|
}
|
|
2719
2885
|
>;
|
|
2720
2886
|
|
|
@@ -2726,7 +2892,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2726
2892
|
Rv,
|
|
2727
2893
|
'XcmPallet',
|
|
2728
2894
|
'VersionNotifyStarted',
|
|
2729
|
-
{ destination:
|
|
2895
|
+
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
2730
2896
|
>;
|
|
2731
2897
|
|
|
2732
2898
|
/**
|
|
@@ -2736,7 +2902,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2736
2902
|
Rv,
|
|
2737
2903
|
'XcmPallet',
|
|
2738
2904
|
'VersionNotifyRequested',
|
|
2739
|
-
{ destination:
|
|
2905
|
+
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
2740
2906
|
>;
|
|
2741
2907
|
|
|
2742
2908
|
/**
|
|
@@ -2747,7 +2913,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2747
2913
|
Rv,
|
|
2748
2914
|
'XcmPallet',
|
|
2749
2915
|
'VersionNotifyUnrequested',
|
|
2750
|
-
{ destination:
|
|
2916
|
+
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
2751
2917
|
>;
|
|
2752
2918
|
|
|
2753
2919
|
/**
|
|
@@ -2757,7 +2923,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2757
2923
|
Rv,
|
|
2758
2924
|
'XcmPallet',
|
|
2759
2925
|
'FeesPaid',
|
|
2760
|
-
{ paying:
|
|
2926
|
+
{ paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets }
|
|
2761
2927
|
>;
|
|
2762
2928
|
|
|
2763
2929
|
/**
|
|
@@ -2767,7 +2933,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2767
2933
|
Rv,
|
|
2768
2934
|
'XcmPallet',
|
|
2769
2935
|
'AssetsClaimed',
|
|
2770
|
-
{ hash: H256; origin:
|
|
2936
|
+
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
2771
2937
|
>;
|
|
2772
2938
|
|
|
2773
2939
|
/**
|
package/westend/index.d.ts
CHANGED