@dedot/chaintypes 0.91.0 → 0.93.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/moonbeam/json-rpc.d.ts +1 -0
- package/package.json +2 -2
- package/westend-asset-hub/consts.d.ts +15 -0
- package/westend-asset-hub/errors.d.ts +113 -24
- package/westend-asset-hub/events.d.ts +146 -2
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/query.d.ts +32 -0
- package/westend-asset-hub/runtime.d.ts +104 -49
- package/westend-asset-hub/tx.d.ts +219 -1
- package/westend-asset-hub/types.d.ts +433 -44
package/moonbeam/json-rpc.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.93.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": "e49dab407cd5256e85e6e2f7a546b67293d2ba13",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
25
25
|
"exports": {
|
|
@@ -343,6 +343,12 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
343
343
|
* Pallet `PolkadotXcm`'s constants
|
|
344
344
|
**/
|
|
345
345
|
polkadotXcm: {
|
|
346
|
+
/**
|
|
347
|
+
* The latest supported version that we advertise. Generally just set it to
|
|
348
|
+
* `pallet_xcm::CurrentXcmVersion`.
|
|
349
|
+
**/
|
|
350
|
+
advertisedXcmVersion: number;
|
|
351
|
+
|
|
346
352
|
/**
|
|
347
353
|
* Generic pallet constant
|
|
348
354
|
**/
|
|
@@ -410,6 +416,15 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
410
416
|
**/
|
|
411
417
|
[name: string]: any;
|
|
412
418
|
};
|
|
419
|
+
/**
|
|
420
|
+
* Pallet `SnowbridgeSystemFrontend`'s constants
|
|
421
|
+
**/
|
|
422
|
+
snowbridgeSystemFrontend: {
|
|
423
|
+
/**
|
|
424
|
+
* Generic pallet constant
|
|
425
|
+
**/
|
|
426
|
+
[name: string]: any;
|
|
427
|
+
};
|
|
413
428
|
/**
|
|
414
429
|
* Pallet `Utility`'s constants
|
|
415
430
|
**/
|
|
@@ -96,16 +96,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
96
96
|
**/
|
|
97
97
|
NotScheduled: GenericPalletError<Rv>;
|
|
98
98
|
|
|
99
|
-
/**
|
|
100
|
-
* No code upgrade has been authorized.
|
|
101
|
-
**/
|
|
102
|
-
NothingAuthorized: GenericPalletError<Rv>;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* The given code upgrade has not been authorized.
|
|
106
|
-
**/
|
|
107
|
-
Unauthorized: GenericPalletError<Rv>;
|
|
108
|
-
|
|
109
99
|
/**
|
|
110
100
|
* Generic pallet error
|
|
111
101
|
**/
|
|
@@ -483,6 +473,21 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
483
473
|
**/
|
|
484
474
|
LocalExecutionIncomplete: GenericPalletError<Rv>;
|
|
485
475
|
|
|
476
|
+
/**
|
|
477
|
+
* Too many locations authorized to alias origin.
|
|
478
|
+
**/
|
|
479
|
+
TooManyAuthorizedAliases: GenericPalletError<Rv>;
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* Expiry block number is in the past.
|
|
483
|
+
**/
|
|
484
|
+
ExpiresInPast: GenericPalletError<Rv>;
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* The alias to remove authorization for was not found.
|
|
488
|
+
**/
|
|
489
|
+
AliasNotFound: GenericPalletError<Rv>;
|
|
490
|
+
|
|
486
491
|
/**
|
|
487
492
|
* Generic pallet error
|
|
488
493
|
**/
|
|
@@ -548,6 +553,51 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
548
553
|
**/
|
|
549
554
|
[error: string]: GenericPalletError<Rv>;
|
|
550
555
|
};
|
|
556
|
+
/**
|
|
557
|
+
* Pallet `SnowbridgeSystemFrontend`'s errors
|
|
558
|
+
**/
|
|
559
|
+
snowbridgeSystemFrontend: {
|
|
560
|
+
/**
|
|
561
|
+
* Convert versioned location failure
|
|
562
|
+
**/
|
|
563
|
+
UnsupportedLocationVersion: GenericPalletError<Rv>;
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* Check location failure, should start from the dispatch origin as owner
|
|
567
|
+
**/
|
|
568
|
+
InvalidAssetOwner: GenericPalletError<Rv>;
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* Send xcm message failure
|
|
572
|
+
**/
|
|
573
|
+
SendFailure: GenericPalletError<Rv>;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Withdraw fee asset failure
|
|
577
|
+
**/
|
|
578
|
+
FeesNotMet: GenericPalletError<Rv>;
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Convert to reanchored location failure
|
|
582
|
+
**/
|
|
583
|
+
LocationConversionFailed: GenericPalletError<Rv>;
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Message export is halted
|
|
587
|
+
**/
|
|
588
|
+
Halted: GenericPalletError<Rv>;
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* The desired destination was unreachable, generally because there is a no way of routing
|
|
592
|
+
* to it.
|
|
593
|
+
**/
|
|
594
|
+
Unreachable: GenericPalletError<Rv>;
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* Generic pallet error
|
|
598
|
+
**/
|
|
599
|
+
[error: string]: GenericPalletError<Rv>;
|
|
600
|
+
};
|
|
551
601
|
/**
|
|
552
602
|
* Pallet `Utility`'s errors
|
|
553
603
|
**/
|
|
@@ -602,12 +652,13 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
602
652
|
SenderInSignatories: GenericPalletError<Rv>;
|
|
603
653
|
|
|
604
654
|
/**
|
|
605
|
-
* Multisig operation not found
|
|
655
|
+
* Multisig operation not found in storage.
|
|
606
656
|
**/
|
|
607
657
|
NotFound: GenericPalletError<Rv>;
|
|
608
658
|
|
|
609
659
|
/**
|
|
610
|
-
* Only the account that originally created the multisig is able to cancel it
|
|
660
|
+
* Only the account that originally created the multisig is able to cancel it or update
|
|
661
|
+
* its deposits.
|
|
611
662
|
**/
|
|
612
663
|
NotOwner: GenericPalletError<Rv>;
|
|
613
664
|
|
|
@@ -802,6 +853,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
802
853
|
**/
|
|
803
854
|
BadAssetId: GenericPalletError<Rv>;
|
|
804
855
|
|
|
856
|
+
/**
|
|
857
|
+
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
858
|
+
**/
|
|
859
|
+
ContainsFreezes: GenericPalletError<Rv>;
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
863
|
+
**/
|
|
864
|
+
ContainsHolds: GenericPalletError<Rv>;
|
|
865
|
+
|
|
805
866
|
/**
|
|
806
867
|
* Generic pallet error
|
|
807
868
|
**/
|
|
@@ -901,6 +962,26 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
901
962
|
**/
|
|
902
963
|
BidTooLow: GenericPalletError<Rv>;
|
|
903
964
|
|
|
965
|
+
/**
|
|
966
|
+
* No metadata is found.
|
|
967
|
+
**/
|
|
968
|
+
NoMetadata: GenericPalletError<Rv>;
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* Wrong metadata key/value bytes supplied.
|
|
972
|
+
**/
|
|
973
|
+
WrongMetadata: GenericPalletError<Rv>;
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* An attribute is not found.
|
|
977
|
+
**/
|
|
978
|
+
AttributeNotFound: GenericPalletError<Rv>;
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* Wrong attribute key/value bytes supplied.
|
|
982
|
+
**/
|
|
983
|
+
WrongAttribute: GenericPalletError<Rv>;
|
|
984
|
+
|
|
904
985
|
/**
|
|
905
986
|
* Generic pallet error
|
|
906
987
|
**/
|
|
@@ -1252,6 +1333,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1252
1333
|
**/
|
|
1253
1334
|
BadAssetId: GenericPalletError<Rv>;
|
|
1254
1335
|
|
|
1336
|
+
/**
|
|
1337
|
+
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
1338
|
+
**/
|
|
1339
|
+
ContainsFreezes: GenericPalletError<Rv>;
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
1343
|
+
**/
|
|
1344
|
+
ContainsHolds: GenericPalletError<Rv>;
|
|
1345
|
+
|
|
1255
1346
|
/**
|
|
1256
1347
|
* Generic pallet error
|
|
1257
1348
|
**/
|
|
@@ -1398,6 +1489,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1398
1489
|
**/
|
|
1399
1490
|
BadAssetId: GenericPalletError<Rv>;
|
|
1400
1491
|
|
|
1492
|
+
/**
|
|
1493
|
+
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
1494
|
+
**/
|
|
1495
|
+
ContainsFreezes: GenericPalletError<Rv>;
|
|
1496
|
+
|
|
1497
|
+
/**
|
|
1498
|
+
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
1499
|
+
**/
|
|
1500
|
+
ContainsHolds: GenericPalletError<Rv>;
|
|
1501
|
+
|
|
1401
1502
|
/**
|
|
1402
1503
|
* Generic pallet error
|
|
1403
1504
|
**/
|
|
@@ -1654,13 +1755,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1654
1755
|
**/
|
|
1655
1756
|
TooManyTopics: GenericPalletError<Rv>;
|
|
1656
1757
|
|
|
1657
|
-
/**
|
|
1658
|
-
* The chain does not provide a chain extension. Calling the chain extension results
|
|
1659
|
-
* in this error. Note that this usually shouldn't happen as deploying such contracts
|
|
1660
|
-
* is rejected.
|
|
1661
|
-
**/
|
|
1662
|
-
NoChainExtension: GenericPalletError<Rv>;
|
|
1663
|
-
|
|
1664
1758
|
/**
|
|
1665
1759
|
* Failed to decode the XCM program.
|
|
1666
1760
|
**/
|
|
@@ -1828,11 +1922,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1828
1922
|
**/
|
|
1829
1923
|
UnsupportedPrecompileAddress: GenericPalletError<Rv>;
|
|
1830
1924
|
|
|
1831
|
-
/**
|
|
1832
|
-
* Precompile Error
|
|
1833
|
-
**/
|
|
1834
|
-
PrecompileFailure: GenericPalletError<Rv>;
|
|
1835
|
-
|
|
1836
1925
|
/**
|
|
1837
1926
|
* Generic pallet error
|
|
1838
1927
|
**/
|
|
@@ -19,15 +19,18 @@ import type {
|
|
|
19
19
|
StagingXcmV5Location,
|
|
20
20
|
StagingXcmV5TraitsOutcome,
|
|
21
21
|
StagingXcmV5Xcm,
|
|
22
|
+
XcmV3TraitsSendError,
|
|
23
|
+
XcmV5TraitsError,
|
|
22
24
|
StagingXcmV5Response,
|
|
23
25
|
XcmVersionedAssets,
|
|
24
26
|
StagingXcmV5AssetAssets,
|
|
25
|
-
XcmV5TraitsError,
|
|
26
27
|
XcmVersionedLocation,
|
|
27
28
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
28
29
|
FrameSupportMessagesProcessMessageError,
|
|
30
|
+
SnowbridgeCoreOperatingModeBasicOperatingMode,
|
|
29
31
|
PalletMultisigTimepoint,
|
|
30
32
|
AssetHubWestendRuntimeProxyType,
|
|
33
|
+
PalletProxyDepositKind,
|
|
31
34
|
PalletNftsAttributeNamespace,
|
|
32
35
|
PalletNftsPriceWithDirection,
|
|
33
36
|
PalletNftsPalletAttributes,
|
|
@@ -85,6 +88,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
85
88
|
**/
|
|
86
89
|
UpgradeAuthorized: GenericPalletEvent<Rv, 'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
|
|
87
90
|
|
|
91
|
+
/**
|
|
92
|
+
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
93
|
+
**/
|
|
94
|
+
RejectedInvalidAuthorizedUpgrade: GenericPalletEvent<
|
|
95
|
+
Rv,
|
|
96
|
+
'System',
|
|
97
|
+
'RejectedInvalidAuthorizedUpgrade',
|
|
98
|
+
{ codeHash: H256; error: DispatchError }
|
|
99
|
+
>;
|
|
100
|
+
|
|
88
101
|
/**
|
|
89
102
|
* Generic pallet event
|
|
90
103
|
**/
|
|
@@ -550,6 +563,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
550
563
|
**/
|
|
551
564
|
NewSession: GenericPalletEvent<Rv, 'Session', 'NewSession', { sessionIndex: number }>;
|
|
552
565
|
|
|
566
|
+
/**
|
|
567
|
+
* The `NewSession` event in the current block also implies a new validator set to be
|
|
568
|
+
* queued.
|
|
569
|
+
**/
|
|
570
|
+
NewQueued: GenericPalletEvent<Rv, 'Session', 'NewQueued', null>;
|
|
571
|
+
|
|
553
572
|
/**
|
|
554
573
|
* Validator has been disabled.
|
|
555
574
|
**/
|
|
@@ -589,7 +608,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
589
608
|
Attempted: GenericPalletEvent<Rv, 'PolkadotXcm', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
|
|
590
609
|
|
|
591
610
|
/**
|
|
592
|
-
*
|
|
611
|
+
* An XCM message was sent.
|
|
593
612
|
**/
|
|
594
613
|
Sent: GenericPalletEvent<
|
|
595
614
|
Rv,
|
|
@@ -603,6 +622,31 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
603
622
|
}
|
|
604
623
|
>;
|
|
605
624
|
|
|
625
|
+
/**
|
|
626
|
+
* An XCM message failed to send.
|
|
627
|
+
**/
|
|
628
|
+
SendFailed: GenericPalletEvent<
|
|
629
|
+
Rv,
|
|
630
|
+
'PolkadotXcm',
|
|
631
|
+
'SendFailed',
|
|
632
|
+
{
|
|
633
|
+
origin: StagingXcmV5Location;
|
|
634
|
+
destination: StagingXcmV5Location;
|
|
635
|
+
error: XcmV3TraitsSendError;
|
|
636
|
+
messageId: FixedBytes<32>;
|
|
637
|
+
}
|
|
638
|
+
>;
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* An XCM message failed to process.
|
|
642
|
+
**/
|
|
643
|
+
ProcessXcmError: GenericPalletEvent<
|
|
644
|
+
Rv,
|
|
645
|
+
'PolkadotXcm',
|
|
646
|
+
'ProcessXcmError',
|
|
647
|
+
{ origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> }
|
|
648
|
+
>;
|
|
649
|
+
|
|
606
650
|
/**
|
|
607
651
|
* Query response received which does not match a registered query. This may be because a
|
|
608
652
|
* matching query was never registered, it may be because it is a duplicate response, or
|
|
@@ -856,6 +900,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
856
900
|
**/
|
|
857
901
|
VersionMigrationFinished: GenericPalletEvent<Rv, 'PolkadotXcm', 'VersionMigrationFinished', { version: number }>;
|
|
858
902
|
|
|
903
|
+
/**
|
|
904
|
+
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
|
|
905
|
+
* `expiry` block number.
|
|
906
|
+
**/
|
|
907
|
+
AliasAuthorized: GenericPalletEvent<
|
|
908
|
+
Rv,
|
|
909
|
+
'PolkadotXcm',
|
|
910
|
+
'AliasAuthorized',
|
|
911
|
+
{ aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined }
|
|
912
|
+
>;
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* `target` removed alias authorization for `aliaser`.
|
|
916
|
+
**/
|
|
917
|
+
AliasAuthorizationRemoved: GenericPalletEvent<
|
|
918
|
+
Rv,
|
|
919
|
+
'PolkadotXcm',
|
|
920
|
+
'AliasAuthorizationRemoved',
|
|
921
|
+
{ aliaser: StagingXcmV5Location; target: StagingXcmV5Location }
|
|
922
|
+
>;
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* `target` removed all alias authorizations.
|
|
926
|
+
**/
|
|
927
|
+
AliasesAuthorizationsRemoved: GenericPalletEvent<
|
|
928
|
+
Rv,
|
|
929
|
+
'PolkadotXcm',
|
|
930
|
+
'AliasesAuthorizationsRemoved',
|
|
931
|
+
{ target: StagingXcmV5Location }
|
|
932
|
+
>;
|
|
933
|
+
|
|
859
934
|
/**
|
|
860
935
|
* Generic pallet event
|
|
861
936
|
**/
|
|
@@ -1054,6 +1129,40 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1054
1129
|
**/
|
|
1055
1130
|
[prop: string]: GenericPalletEvent<Rv>;
|
|
1056
1131
|
};
|
|
1132
|
+
/**
|
|
1133
|
+
* Pallet `SnowbridgeSystemFrontend`'s events
|
|
1134
|
+
**/
|
|
1135
|
+
snowbridgeSystemFrontend: {
|
|
1136
|
+
/**
|
|
1137
|
+
* An XCM was sent
|
|
1138
|
+
**/
|
|
1139
|
+
MessageSent: GenericPalletEvent<
|
|
1140
|
+
Rv,
|
|
1141
|
+
'SnowbridgeSystemFrontend',
|
|
1142
|
+
'MessageSent',
|
|
1143
|
+
{
|
|
1144
|
+
origin: StagingXcmV5Location;
|
|
1145
|
+
destination: StagingXcmV5Location;
|
|
1146
|
+
message: StagingXcmV5Xcm;
|
|
1147
|
+
messageId: FixedBytes<32>;
|
|
1148
|
+
}
|
|
1149
|
+
>;
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* Set OperatingMode
|
|
1153
|
+
**/
|
|
1154
|
+
ExportOperatingModeChanged: GenericPalletEvent<
|
|
1155
|
+
Rv,
|
|
1156
|
+
'SnowbridgeSystemFrontend',
|
|
1157
|
+
'ExportOperatingModeChanged',
|
|
1158
|
+
{ mode: SnowbridgeCoreOperatingModeBasicOperatingMode }
|
|
1159
|
+
>;
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* Generic pallet event
|
|
1163
|
+
**/
|
|
1164
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
1165
|
+
};
|
|
1057
1166
|
/**
|
|
1058
1167
|
* Pallet `Utility`'s events
|
|
1059
1168
|
**/
|
|
@@ -1154,6 +1263,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1154
1263
|
{ cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
1155
1264
|
>;
|
|
1156
1265
|
|
|
1266
|
+
/**
|
|
1267
|
+
* The deposit for a multisig operation has been updated/poked.
|
|
1268
|
+
**/
|
|
1269
|
+
DepositPoked: GenericPalletEvent<
|
|
1270
|
+
Rv,
|
|
1271
|
+
'Multisig',
|
|
1272
|
+
'DepositPoked',
|
|
1273
|
+
{ who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint }
|
|
1274
|
+
>;
|
|
1275
|
+
|
|
1157
1276
|
/**
|
|
1158
1277
|
* Generic pallet event
|
|
1159
1278
|
**/
|
|
@@ -1179,6 +1298,21 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1179
1298
|
{ pure: AccountId32; who: AccountId32; proxyType: AssetHubWestendRuntimeProxyType; disambiguationIndex: number }
|
|
1180
1299
|
>;
|
|
1181
1300
|
|
|
1301
|
+
/**
|
|
1302
|
+
* A pure proxy was killed by its spawner.
|
|
1303
|
+
**/
|
|
1304
|
+
PureKilled: GenericPalletEvent<
|
|
1305
|
+
Rv,
|
|
1306
|
+
'Proxy',
|
|
1307
|
+
'PureKilled',
|
|
1308
|
+
{
|
|
1309
|
+
pure: AccountId32;
|
|
1310
|
+
spawner: AccountId32;
|
|
1311
|
+
proxyType: AssetHubWestendRuntimeProxyType;
|
|
1312
|
+
disambiguationIndex: number;
|
|
1313
|
+
}
|
|
1314
|
+
>;
|
|
1315
|
+
|
|
1182
1316
|
/**
|
|
1183
1317
|
* An announcement was placed to make a call in the future.
|
|
1184
1318
|
**/
|
|
@@ -1204,6 +1338,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1204
1338
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: AssetHubWestendRuntimeProxyType; delay: number }
|
|
1205
1339
|
>;
|
|
1206
1340
|
|
|
1341
|
+
/**
|
|
1342
|
+
* A deposit stored for proxies or announcements was poked / updated.
|
|
1343
|
+
**/
|
|
1344
|
+
DepositPoked: GenericPalletEvent<
|
|
1345
|
+
Rv,
|
|
1346
|
+
'Proxy',
|
|
1347
|
+
'DepositPoked',
|
|
1348
|
+
{ who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint }
|
|
1349
|
+
>;
|
|
1350
|
+
|
|
1207
1351
|
/**
|
|
1208
1352
|
* Generic pallet event
|
|
1209
1353
|
**/
|
|
@@ -23,7 +23,7 @@ export interface VersionedWestendAssetHubApi<Rv extends RpcVersion> extends Gene
|
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @name: WestendAssetHubApi
|
|
26
|
-
* @specVersion:
|
|
26
|
+
* @specVersion: 1018002
|
|
27
27
|
**/
|
|
28
28
|
export interface WestendAssetHubApi {
|
|
29
29
|
legacy: VersionedWestendAssetHubApi<RpcLegacy>;
|
|
@@ -52,10 +52,12 @@ import type {
|
|
|
52
52
|
PalletXcmRemoteLockedFungibleRecord,
|
|
53
53
|
XcmVersionedAssetId,
|
|
54
54
|
StagingXcmV5Xcm,
|
|
55
|
+
PalletXcmAuthorizedAliasesEntry,
|
|
55
56
|
BpXcmBridgeHubRouterBridgeState,
|
|
56
57
|
PalletMessageQueueBookState,
|
|
57
58
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
58
59
|
PalletMessageQueuePage,
|
|
60
|
+
SnowbridgeCoreOperatingModeBasicOperatingMode,
|
|
59
61
|
PalletMultisigMultisig,
|
|
60
62
|
PalletProxyProxyDefinition,
|
|
61
63
|
PalletProxyAnnouncement,
|
|
@@ -1126,6 +1128,20 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1126
1128
|
**/
|
|
1127
1129
|
recordedXcm: GenericStorageQuery<Rv, () => StagingXcmV5Xcm | undefined>;
|
|
1128
1130
|
|
|
1131
|
+
/**
|
|
1132
|
+
* Map of authorized aliasers of local origins. Each local location can authorize a list of
|
|
1133
|
+
* other locations to alias into it. Each aliaser is only valid until its inner `expiry`
|
|
1134
|
+
* block number.
|
|
1135
|
+
*
|
|
1136
|
+
* @param {XcmVersionedLocation} arg
|
|
1137
|
+
* @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
|
|
1138
|
+
**/
|
|
1139
|
+
authorizedAliases: GenericStorageQuery<
|
|
1140
|
+
Rv,
|
|
1141
|
+
(arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
|
|
1142
|
+
XcmVersionedLocation
|
|
1143
|
+
>;
|
|
1144
|
+
|
|
1129
1145
|
/**
|
|
1130
1146
|
* Generic pallet storage query
|
|
1131
1147
|
**/
|
|
@@ -1193,6 +1209,22 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1193
1209
|
**/
|
|
1194
1210
|
[storage: string]: GenericStorageQuery<Rv>;
|
|
1195
1211
|
};
|
|
1212
|
+
/**
|
|
1213
|
+
* Pallet `SnowbridgeSystemFrontend`'s storage queries
|
|
1214
|
+
**/
|
|
1215
|
+
snowbridgeSystemFrontend: {
|
|
1216
|
+
/**
|
|
1217
|
+
* The current operating mode for exporting to Ethereum.
|
|
1218
|
+
*
|
|
1219
|
+
* @param {Callback<SnowbridgeCoreOperatingModeBasicOperatingMode> =} callback
|
|
1220
|
+
**/
|
|
1221
|
+
exportOperatingMode: GenericStorageQuery<Rv, () => SnowbridgeCoreOperatingModeBasicOperatingMode>;
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* Generic pallet storage query
|
|
1225
|
+
**/
|
|
1226
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
1227
|
+
};
|
|
1196
1228
|
/**
|
|
1197
1229
|
* Pallet `Multisig`'s storage queries
|
|
1198
1230
|
**/
|