@dedot/chaintypes 0.158.0 → 0.159.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/polkadot-people/consts.d.ts +21 -0
- package/polkadot-people/errors.d.ts +8 -0
- package/polkadot-people/events.d.ts +27 -0
- package/polkadot-people/index.d.ts +1 -1
- package/polkadot-people/query.d.ts +25 -2
- package/polkadot-people/runtime.d.ts +121 -0
- package/polkadot-people/tx.d.ts +24 -12
- package/polkadot-people/types.d.ts +1072 -954
- package/polkadot-people/view-functions.d.ts +34 -1
- package/westend/consts.d.ts +9 -0
- package/westend/errors.d.ts +14 -0
- package/westend/events.d.ts +19 -0
- package/westend/index.d.ts +1 -1
- package/westend/query.d.ts +23 -12
- package/westend/tx.d.ts +69 -0
- package/westend/types.d.ts +107 -6
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/query.d.ts +14 -0
- package/westend-asset-hub/runtime.d.ts +0 -21
- package/westend-asset-hub/tx.d.ts +5 -10
- package/westend-asset-hub/types.d.ts +12 -13
- package/westend-people/index.d.ts +1 -1
- package/westend-people/runtime.d.ts +0 -21
- package/westend-people/types.d.ts +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.159.0",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@dedot.dev>",
|
|
6
6
|
"homepage": "https://dedot.dev",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"directory": "dist"
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "c1c0442ed46778a3d53137a95b249159b2f8eb41",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|
|
@@ -8,6 +8,7 @@ import type {
|
|
|
8
8
|
SpWeightsRuntimeDbWeight,
|
|
9
9
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
10
10
|
FrameSupportPalletId,
|
|
11
|
+
StagingXcmV5Junctions,
|
|
11
12
|
SpWeightsWeightV2Weight,
|
|
12
13
|
} from './types.js';
|
|
13
14
|
|
|
@@ -249,6 +250,11 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
249
250
|
* Pallet `Session`'s constants
|
|
250
251
|
**/
|
|
251
252
|
session: {
|
|
253
|
+
/**
|
|
254
|
+
* The amount to be held when setting keys.
|
|
255
|
+
**/
|
|
256
|
+
keyDeposit: bigint;
|
|
257
|
+
|
|
252
258
|
/**
|
|
253
259
|
* Generic pallet constant
|
|
254
260
|
**/
|
|
@@ -323,12 +329,27 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
323
329
|
* Pallet `PolkadotXcm`'s constants
|
|
324
330
|
**/
|
|
325
331
|
polkadotXcm: {
|
|
332
|
+
/**
|
|
333
|
+
* This chain's Universal Location.
|
|
334
|
+
**/
|
|
335
|
+
universalLocation: StagingXcmV5Junctions;
|
|
336
|
+
|
|
326
337
|
/**
|
|
327
338
|
* The latest supported version that we advertise. Generally just set it to
|
|
328
339
|
* `pallet_xcm::CurrentXcmVersion`.
|
|
329
340
|
**/
|
|
330
341
|
advertisedXcmVersion: number;
|
|
331
342
|
|
|
343
|
+
/**
|
|
344
|
+
* The maximum number of local XCM locks that a single account may have.
|
|
345
|
+
**/
|
|
346
|
+
maxLockers: number;
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* The maximum number of consumers a single remote lock may have.
|
|
350
|
+
**/
|
|
351
|
+
maxRemoteLockConsumers: number;
|
|
352
|
+
|
|
332
353
|
/**
|
|
333
354
|
* Generic pallet constant
|
|
334
355
|
**/
|
|
@@ -475,6 +475,8 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
475
475
|
|
|
476
476
|
/**
|
|
477
477
|
* Too many locations authorized to alias origin.
|
|
478
|
+
*
|
|
479
|
+
* @deprecated Use `LocalExecutionIncompleteWithError` instead (since 20.0.0)
|
|
478
480
|
**/
|
|
479
481
|
TooManyAuthorizedAliases: GenericPalletError<Rv>;
|
|
480
482
|
|
|
@@ -488,6 +490,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
488
490
|
**/
|
|
489
491
|
AliasNotFound: GenericPalletError<Rv>;
|
|
490
492
|
|
|
493
|
+
/**
|
|
494
|
+
* Local XCM execution incomplete with the actual XCM error and the index of the
|
|
495
|
+
* instruction that caused the error.
|
|
496
|
+
**/
|
|
497
|
+
LocalExecutionIncompleteWithError: GenericPalletError<Rv>;
|
|
498
|
+
|
|
491
499
|
/**
|
|
492
500
|
* Generic pallet error
|
|
493
501
|
**/
|
|
@@ -6,6 +6,7 @@ import type {
|
|
|
6
6
|
FrameSystemDispatchEventInfo,
|
|
7
7
|
SpWeightsWeightV2Weight,
|
|
8
8
|
FrameSupportTokensMiscBalanceStatus,
|
|
9
|
+
PalletBalancesUnexpectedKind,
|
|
9
10
|
StagingXcmV5TraitsOutcome,
|
|
10
11
|
StagingXcmV5Location,
|
|
11
12
|
StagingXcmV5Xcm,
|
|
@@ -397,6 +398,11 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
397
398
|
**/
|
|
398
399
|
TotalIssuanceForced: GenericPalletEvent<Rv, 'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
|
|
399
400
|
|
|
401
|
+
/**
|
|
402
|
+
* An unexpected/defensive event was triggered.
|
|
403
|
+
**/
|
|
404
|
+
Unexpected: GenericPalletEvent<Rv, 'Balances', 'Unexpected', PalletBalancesUnexpectedKind>;
|
|
405
|
+
|
|
400
406
|
/**
|
|
401
407
|
* Generic pallet event
|
|
402
408
|
**/
|
|
@@ -522,6 +528,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
522
528
|
**/
|
|
523
529
|
NewSession: GenericPalletEvent<Rv, 'Session', 'NewSession', { sessionIndex: number }>;
|
|
524
530
|
|
|
531
|
+
/**
|
|
532
|
+
* The `NewSession` event in the current block also implies a new validator set to be
|
|
533
|
+
* queued.
|
|
534
|
+
**/
|
|
535
|
+
NewQueued: GenericPalletEvent<Rv, 'Session', 'NewQueued', null>;
|
|
536
|
+
|
|
525
537
|
/**
|
|
526
538
|
* Validator has been disabled.
|
|
527
539
|
**/
|
|
@@ -1178,6 +1190,21 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1178
1190
|
{ pure: AccountId32; who: AccountId32; proxyType: PeoplePolkadotRuntimeProxyType; disambiguationIndex: number }
|
|
1179
1191
|
>;
|
|
1180
1192
|
|
|
1193
|
+
/**
|
|
1194
|
+
* A pure proxy was killed by its spawner.
|
|
1195
|
+
**/
|
|
1196
|
+
PureKilled: GenericPalletEvent<
|
|
1197
|
+
Rv,
|
|
1198
|
+
'Proxy',
|
|
1199
|
+
'PureKilled',
|
|
1200
|
+
{
|
|
1201
|
+
pure: AccountId32;
|
|
1202
|
+
spawner: AccountId32;
|
|
1203
|
+
proxyType: PeoplePolkadotRuntimeProxyType;
|
|
1204
|
+
disambiguationIndex: number;
|
|
1205
|
+
}
|
|
1206
|
+
>;
|
|
1207
|
+
|
|
1181
1208
|
/**
|
|
1182
1209
|
* An announcement was placed to make a call in the future.
|
|
1183
1210
|
**/
|
|
@@ -58,7 +58,7 @@ export interface VersionedPolkadotPeopleApi<Rv extends RpcVersion> extends Gener
|
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* @name: PolkadotPeopleApi
|
|
61
|
-
* @specVersion:
|
|
61
|
+
* @specVersion: 1007001
|
|
62
62
|
**/
|
|
63
63
|
export interface PolkadotPeopleApi {
|
|
64
64
|
legacy: VersionedPolkadotPeopleApi<RpcLegacy>;
|
|
@@ -30,6 +30,7 @@ import type {
|
|
|
30
30
|
PolkadotPrimitivesV8AbridgedHostConfiguration,
|
|
31
31
|
CumulusPrimitivesParachainInherentMessageQueueChain,
|
|
32
32
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
33
|
+
CumulusPalletParachainSystemParachainInherentInboundMessageId,
|
|
33
34
|
PolkadotCorePrimitivesOutboundHrmpMessage,
|
|
34
35
|
PalletMigrationsMigrationCursor,
|
|
35
36
|
PalletBalancesAccountData,
|
|
@@ -408,14 +409,36 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
408
409
|
processedDownwardMessages: GenericStorageQuery<Rv, () => number>;
|
|
409
410
|
|
|
410
411
|
/**
|
|
411
|
-
*
|
|
412
|
+
* The last processed downward message.
|
|
412
413
|
*
|
|
413
|
-
*
|
|
414
|
+
* We need to keep track of this to filter the messages that have been already processed.
|
|
415
|
+
*
|
|
416
|
+
* @param {Callback<CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined> =} callback
|
|
417
|
+
**/
|
|
418
|
+
lastProcessedDownwardMessage: GenericStorageQuery<
|
|
419
|
+
Rv,
|
|
420
|
+
() => CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined
|
|
421
|
+
>;
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* HRMP watermark that was set in a block.
|
|
414
425
|
*
|
|
415
426
|
* @param {Callback<number> =} callback
|
|
416
427
|
**/
|
|
417
428
|
hrmpWatermark: GenericStorageQuery<Rv, () => number>;
|
|
418
429
|
|
|
430
|
+
/**
|
|
431
|
+
* The last processed HRMP message.
|
|
432
|
+
*
|
|
433
|
+
* We need to keep track of this to filter the messages that have been already processed.
|
|
434
|
+
*
|
|
435
|
+
* @param {Callback<CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined> =} callback
|
|
436
|
+
**/
|
|
437
|
+
lastProcessedHrmpMessage: GenericStorageQuery<
|
|
438
|
+
Rv,
|
|
439
|
+
() => CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined
|
|
440
|
+
>;
|
|
441
|
+
|
|
419
442
|
/**
|
|
420
443
|
* HRMP messages that were sent in a block.
|
|
421
444
|
*
|
|
@@ -41,7 +41,12 @@ import type {
|
|
|
41
41
|
PeoplePolkadotRuntimeOriginCaller,
|
|
42
42
|
XcmRuntimeApisDryRunXcmDryRunEffects,
|
|
43
43
|
XcmRuntimeApisConversionsError,
|
|
44
|
+
XcmRuntimeApisTrustedQueryError,
|
|
45
|
+
XcmVersionedAsset,
|
|
46
|
+
XcmRuntimeApisAuthorizedAliasesOriginAliaser,
|
|
47
|
+
XcmRuntimeApisAuthorizedAliasesError,
|
|
44
48
|
CumulusPrimitivesCoreCollationInfo,
|
|
49
|
+
PolkadotParachainPrimitivesPrimitivesId,
|
|
45
50
|
} from './types.js';
|
|
46
51
|
|
|
47
52
|
export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
|
|
@@ -70,6 +75,22 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
70
75
|
**/
|
|
71
76
|
[method: string]: GenericRuntimeApiMethod<Rv>;
|
|
72
77
|
};
|
|
78
|
+
/**
|
|
79
|
+
* @runtimeapi: RelayParentOffsetApi - 0x04e70521a0d3d2f8
|
|
80
|
+
**/
|
|
81
|
+
relayParentOffsetApi: {
|
|
82
|
+
/**
|
|
83
|
+
* Fetch the slot offset that is expected from the relay chain.
|
|
84
|
+
*
|
|
85
|
+
* @callname: RelayParentOffsetApi_relay_parent_offset
|
|
86
|
+
**/
|
|
87
|
+
relayParentOffset: GenericRuntimeApiMethod<Rv, () => Promise<number>>;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Generic runtime api call
|
|
91
|
+
**/
|
|
92
|
+
[method: string]: GenericRuntimeApiMethod<Rv>;
|
|
93
|
+
};
|
|
73
94
|
/**
|
|
74
95
|
* @runtimeapi: AuraUnincludedSegmentApi - 0xd7bdd8a272ca0d65
|
|
75
96
|
**/
|
|
@@ -559,6 +580,90 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
559
580
|
**/
|
|
560
581
|
[method: string]: GenericRuntimeApiMethod<Rv>;
|
|
561
582
|
};
|
|
583
|
+
/**
|
|
584
|
+
* @runtimeapi: TrustedQueryApi - 0x2609be83ac4468dc
|
|
585
|
+
**/
|
|
586
|
+
trustedQueryApi: {
|
|
587
|
+
/**
|
|
588
|
+
* Returns if the location is a trusted reserve for the asset.
|
|
589
|
+
*
|
|
590
|
+
* # Arguments
|
|
591
|
+
* * `asset`: `VersionedAsset`.
|
|
592
|
+
* * `location`: `VersionedLocation`.
|
|
593
|
+
*
|
|
594
|
+
* @callname: TrustedQueryApi_is_trusted_reserve
|
|
595
|
+
* @param {XcmVersionedAsset} asset
|
|
596
|
+
* @param {XcmVersionedLocation} location
|
|
597
|
+
**/
|
|
598
|
+
isTrustedReserve: GenericRuntimeApiMethod<
|
|
599
|
+
Rv,
|
|
600
|
+
(
|
|
601
|
+
asset: XcmVersionedAsset,
|
|
602
|
+
location: XcmVersionedLocation,
|
|
603
|
+
) => Promise<Result<boolean, XcmRuntimeApisTrustedQueryError>>
|
|
604
|
+
>;
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* Returns if the asset can be teleported to the location.
|
|
608
|
+
*
|
|
609
|
+
* # Arguments
|
|
610
|
+
* * `asset`: `VersionedAsset`.
|
|
611
|
+
* * `location`: `VersionedLocation`.
|
|
612
|
+
*
|
|
613
|
+
* @callname: TrustedQueryApi_is_trusted_teleporter
|
|
614
|
+
* @param {XcmVersionedAsset} asset
|
|
615
|
+
* @param {XcmVersionedLocation} location
|
|
616
|
+
**/
|
|
617
|
+
isTrustedTeleporter: GenericRuntimeApiMethod<
|
|
618
|
+
Rv,
|
|
619
|
+
(
|
|
620
|
+
asset: XcmVersionedAsset,
|
|
621
|
+
location: XcmVersionedLocation,
|
|
622
|
+
) => Promise<Result<boolean, XcmRuntimeApisTrustedQueryError>>
|
|
623
|
+
>;
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* Generic runtime api call
|
|
627
|
+
**/
|
|
628
|
+
[method: string]: GenericRuntimeApiMethod<Rv>;
|
|
629
|
+
};
|
|
630
|
+
/**
|
|
631
|
+
* @runtimeapi: AuthorizedAliasersApi - 0x12c8e3d4d7e06de0
|
|
632
|
+
**/
|
|
633
|
+
authorizedAliasersApi: {
|
|
634
|
+
/**
|
|
635
|
+
* Returns locations allowed to alias into and act as `target`.
|
|
636
|
+
*
|
|
637
|
+
* @callname: AuthorizedAliasersApi_authorized_aliasers
|
|
638
|
+
* @param {XcmVersionedLocation} target
|
|
639
|
+
**/
|
|
640
|
+
authorizedAliasers: GenericRuntimeApiMethod<
|
|
641
|
+
Rv,
|
|
642
|
+
(
|
|
643
|
+
target: XcmVersionedLocation,
|
|
644
|
+
) => Promise<Result<Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>, XcmRuntimeApisAuthorizedAliasesError>>
|
|
645
|
+
>;
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* Returns whether `origin` is allowed to alias into and act as `target`.
|
|
649
|
+
*
|
|
650
|
+
* @callname: AuthorizedAliasersApi_is_authorized_alias
|
|
651
|
+
* @param {XcmVersionedLocation} origin
|
|
652
|
+
* @param {XcmVersionedLocation} target
|
|
653
|
+
**/
|
|
654
|
+
isAuthorizedAlias: GenericRuntimeApiMethod<
|
|
655
|
+
Rv,
|
|
656
|
+
(
|
|
657
|
+
origin: XcmVersionedLocation,
|
|
658
|
+
target: XcmVersionedLocation,
|
|
659
|
+
) => Promise<Result<boolean, XcmRuntimeApisAuthorizedAliasesError>>
|
|
660
|
+
>;
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* Generic runtime api call
|
|
664
|
+
**/
|
|
665
|
+
[method: string]: GenericRuntimeApiMethod<Rv>;
|
|
666
|
+
};
|
|
562
667
|
/**
|
|
563
668
|
* @runtimeapi: CollectCollationInfo - 0xea93e3f16f3d6962
|
|
564
669
|
**/
|
|
@@ -579,6 +684,22 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
579
684
|
**/
|
|
580
685
|
[method: string]: GenericRuntimeApiMethod<Rv>;
|
|
581
686
|
};
|
|
687
|
+
/**
|
|
688
|
+
* @runtimeapi: GetParachainInfo - 0xa2ddb6a58477bf63
|
|
689
|
+
**/
|
|
690
|
+
getParachainInfo: {
|
|
691
|
+
/**
|
|
692
|
+
* Retrieve the parachain id used for runtime.
|
|
693
|
+
*
|
|
694
|
+
* @callname: GetParachainInfo_parachain_id
|
|
695
|
+
**/
|
|
696
|
+
parachainId: GenericRuntimeApiMethod<Rv, () => Promise<PolkadotParachainPrimitivesPrimitivesId>>;
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* Generic runtime api call
|
|
700
|
+
**/
|
|
701
|
+
[method: string]: GenericRuntimeApiMethod<Rv>;
|
|
702
|
+
};
|
|
582
703
|
/**
|
|
583
704
|
* @runtimeapi: GenesisBuilder - 0xfbc577b9d747efd6
|
|
584
705
|
**/
|
package/polkadot-people/tx.d.ts
CHANGED
|
@@ -15,7 +15,8 @@ import type {
|
|
|
15
15
|
PeoplePolkadotRuntimeRuntimeCallLike,
|
|
16
16
|
SpRuntimeMultiSignature,
|
|
17
17
|
FrameSystemEventRecord,
|
|
18
|
-
|
|
18
|
+
CumulusPalletParachainSystemParachainInherentBasicParachainInherentData,
|
|
19
|
+
CumulusPalletParachainSystemParachainInherentInboundMessagesData,
|
|
19
20
|
PalletMigrationsMigrationCursor,
|
|
20
21
|
PalletMigrationsHistoricCleanupSelector,
|
|
21
22
|
PalletBalancesAdjustmentDirection,
|
|
@@ -310,17 +311,24 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
310
311
|
* As a side effect, this function upgrades the current validation function
|
|
311
312
|
* if the appropriate time has come.
|
|
312
313
|
*
|
|
313
|
-
* @param {
|
|
314
|
+
* @param {CumulusPalletParachainSystemParachainInherentBasicParachainInherentData} data
|
|
315
|
+
* @param {CumulusPalletParachainSystemParachainInherentInboundMessagesData} inboundMessagesData
|
|
314
316
|
**/
|
|
315
317
|
setValidationData: GenericTxCall<
|
|
316
318
|
Rv,
|
|
317
|
-
(
|
|
319
|
+
(
|
|
320
|
+
data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData,
|
|
321
|
+
inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData,
|
|
322
|
+
) => ChainSubmittableExtrinsic<
|
|
318
323
|
Rv,
|
|
319
324
|
{
|
|
320
325
|
pallet: 'ParachainSystem';
|
|
321
326
|
palletCall: {
|
|
322
327
|
name: 'SetValidationData';
|
|
323
|
-
params: {
|
|
328
|
+
params: {
|
|
329
|
+
data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData;
|
|
330
|
+
inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData;
|
|
331
|
+
};
|
|
324
332
|
};
|
|
325
333
|
}
|
|
326
334
|
>
|
|
@@ -1233,6 +1241,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
1233
1241
|
* @param {XcmVersionedLocation} beneficiary
|
|
1234
1242
|
* @param {XcmVersionedAssets} assets
|
|
1235
1243
|
* @param {number} feeAssetItem
|
|
1244
|
+
*
|
|
1245
|
+
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_teleport_assets` or `transfer_assets`
|
|
1236
1246
|
**/
|
|
1237
1247
|
teleportAssets: GenericTxCall<
|
|
1238
1248
|
Rv,
|
|
@@ -1294,6 +1304,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
1294
1304
|
* @param {XcmVersionedLocation} beneficiary
|
|
1295
1305
|
* @param {XcmVersionedAssets} assets
|
|
1296
1306
|
* @param {number} feeAssetItem
|
|
1307
|
+
*
|
|
1308
|
+
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_reserve_transfer_assets` or `transfer_assets`
|
|
1297
1309
|
**/
|
|
1298
1310
|
reserveTransferAssets: GenericTxCall<
|
|
1299
1311
|
Rv,
|
|
@@ -2577,7 +2589,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
2577
2589
|
*
|
|
2578
2590
|
* The dispatch origin for this call must be _Signed_.
|
|
2579
2591
|
*
|
|
2580
|
-
* WARNING: This may be called on accounts created by `
|
|
2592
|
+
* WARNING: This may be called on accounts created by `create_pure`, however if done, then
|
|
2581
2593
|
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
2582
2594
|
*
|
|
2583
2595
|
**/
|
|
@@ -2643,16 +2655,16 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
2643
2655
|
* inaccessible.
|
|
2644
2656
|
*
|
|
2645
2657
|
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
2646
|
-
* `
|
|
2658
|
+
* `create_pure` with corresponding parameters.
|
|
2647
2659
|
*
|
|
2648
|
-
* - `spawner`: The account that originally called `
|
|
2649
|
-
* - `index`: The disambiguation index originally passed to `
|
|
2650
|
-
* - `proxy_type`: The proxy type originally passed to `
|
|
2651
|
-
* - `height`: The height of the chain when the call to `
|
|
2652
|
-
* - `ext_index`: The extrinsic index in which the call to `
|
|
2660
|
+
* - `spawner`: The account that originally called `create_pure` to create this account.
|
|
2661
|
+
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
2662
|
+
* - `proxy_type`: The proxy type originally passed to `create_pure`.
|
|
2663
|
+
* - `height`: The height of the chain when the call to `create_pure` was processed.
|
|
2664
|
+
* - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
|
|
2653
2665
|
*
|
|
2654
2666
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
2655
|
-
* account whose `
|
|
2667
|
+
* account whose `create_pure` call has corresponding parameters.
|
|
2656
2668
|
*
|
|
2657
2669
|
* @param {MultiAddressLike} spawner
|
|
2658
2670
|
* @param {PeoplePolkadotRuntimeProxyType} proxyType
|