@dedot/chaintypes 0.249.0 → 0.250.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/paseo/errors.d.ts +5 -0
- package/paseo/events.d.ts +94 -16
- package/paseo/index.d.ts +1 -1
- package/paseo/json-rpc.d.ts +1 -0
- package/paseo/query.d.ts +85 -46
- package/paseo/runtime.d.ts +90 -79
- package/paseo/tx.d.ts +81 -32
- package/paseo/types.d.ts +278 -209
- package/paseo-asset-hub/json-rpc.d.ts +1 -0
- package/paseo-people/errors.d.ts +5 -0
- package/paseo-people/events.d.ts +78 -2
- package/paseo-people/index.d.ts +1 -1
- package/paseo-people/query.d.ts +44 -16
- package/paseo-people/runtime.d.ts +9 -5
- package/paseo-people/tx.d.ts +30 -0
- package/paseo-people/types.d.ts +107 -25
- package/paseo-people/view-functions.d.ts +46 -1
package/paseo-people/errors.d.ts
CHANGED
|
@@ -306,6 +306,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
306
306
|
**/
|
|
307
307
|
ContainsHolds: GenericPalletError;
|
|
308
308
|
|
|
309
|
+
/**
|
|
310
|
+
* Tried setting too many reserves.
|
|
311
|
+
**/
|
|
312
|
+
TooManyReserves: GenericPalletError;
|
|
313
|
+
|
|
309
314
|
/**
|
|
310
315
|
* Generic pallet error
|
|
311
316
|
**/
|
package/paseo-people/events.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ import type {
|
|
|
6
6
|
FrameSystemDispatchEventInfo,
|
|
7
7
|
SpWeightsWeightV2Weight,
|
|
8
8
|
FrameSupportTokensMiscBalanceStatus,
|
|
9
|
+
PeoplePaseoRuntimeRuntimeHoldReason,
|
|
9
10
|
PalletBalancesUnexpectedKind,
|
|
10
11
|
StagingXcmV5Location,
|
|
11
|
-
PeoplePaseoRuntimeRuntimeHoldReason,
|
|
12
12
|
StagingXcmV5TraitsOutcome,
|
|
13
13
|
StagingXcmV5Xcm,
|
|
14
14
|
XcmV3TraitsSendError,
|
|
@@ -327,11 +327,21 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
327
327
|
**/
|
|
328
328
|
Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
|
|
329
329
|
|
|
330
|
+
/**
|
|
331
|
+
* Some credit was balanced and added to the TotalIssuance.
|
|
332
|
+
**/
|
|
333
|
+
MintedCredit: GenericPalletEvent<'Balances', 'MintedCredit', { amount: bigint }>;
|
|
334
|
+
|
|
330
335
|
/**
|
|
331
336
|
* Some amount was burned from an account.
|
|
332
337
|
**/
|
|
333
338
|
Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
|
|
334
339
|
|
|
340
|
+
/**
|
|
341
|
+
* Some debt has been dropped from the Total Issuance.
|
|
342
|
+
**/
|
|
343
|
+
BurnedDebt: GenericPalletEvent<'Balances', 'BurnedDebt', { amount: bigint }>;
|
|
344
|
+
|
|
335
345
|
/**
|
|
336
346
|
* Some amount was suspended from an account (it can be restored later).
|
|
337
347
|
**/
|
|
@@ -382,6 +392,51 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
382
392
|
**/
|
|
383
393
|
TotalIssuanceForced: GenericPalletEvent<'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
|
|
384
394
|
|
|
395
|
+
/**
|
|
396
|
+
* Some balance was placed on hold.
|
|
397
|
+
**/
|
|
398
|
+
Held: GenericPalletEvent<
|
|
399
|
+
'Balances',
|
|
400
|
+
'Held',
|
|
401
|
+
{ reason: PeoplePaseoRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
|
|
402
|
+
>;
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* Held balance was burned from an account.
|
|
406
|
+
**/
|
|
407
|
+
BurnedHeld: GenericPalletEvent<
|
|
408
|
+
'Balances',
|
|
409
|
+
'BurnedHeld',
|
|
410
|
+
{ reason: PeoplePaseoRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
|
|
411
|
+
>;
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* A transfer of `amount` on hold from `source` to `dest` was initiated.
|
|
415
|
+
**/
|
|
416
|
+
TransferOnHold: GenericPalletEvent<
|
|
417
|
+
'Balances',
|
|
418
|
+
'TransferOnHold',
|
|
419
|
+
{ reason: PeoplePaseoRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; amount: bigint }
|
|
420
|
+
>;
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* The `transferred` balance is placed on hold at the `dest` account.
|
|
424
|
+
**/
|
|
425
|
+
TransferAndHold: GenericPalletEvent<
|
|
426
|
+
'Balances',
|
|
427
|
+
'TransferAndHold',
|
|
428
|
+
{ reason: PeoplePaseoRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; transferred: bigint }
|
|
429
|
+
>;
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Some balance was released from hold.
|
|
433
|
+
**/
|
|
434
|
+
Released: GenericPalletEvent<
|
|
435
|
+
'Balances',
|
|
436
|
+
'Released',
|
|
437
|
+
{ reason: PeoplePaseoRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
|
|
438
|
+
>;
|
|
439
|
+
|
|
385
440
|
/**
|
|
386
441
|
* An unexpected/defensive event was triggered.
|
|
387
442
|
**/
|
|
@@ -612,6 +667,20 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
612
667
|
{ assetId: StagingXcmV5Location; who: AccountId32; amount: bigint }
|
|
613
668
|
>;
|
|
614
669
|
|
|
670
|
+
/**
|
|
671
|
+
* Reserve information was set or updated for `asset_id`.
|
|
672
|
+
**/
|
|
673
|
+
ReservesUpdated: GenericPalletEvent<
|
|
674
|
+
'Assets',
|
|
675
|
+
'ReservesUpdated',
|
|
676
|
+
{ assetId: StagingXcmV5Location; reserves: Array<[]> }
|
|
677
|
+
>;
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* Reserve information was removed for `asset_id`.
|
|
681
|
+
**/
|
|
682
|
+
ReservesRemoved: GenericPalletEvent<'Assets', 'ReservesRemoved', { assetId: StagingXcmV5Location }>;
|
|
683
|
+
|
|
615
684
|
/**
|
|
616
685
|
* Generic pallet event
|
|
617
686
|
**/
|
|
@@ -1405,7 +1474,14 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1405
1474
|
PureCreated: GenericPalletEvent<
|
|
1406
1475
|
'Proxy',
|
|
1407
1476
|
'PureCreated',
|
|
1408
|
-
{
|
|
1477
|
+
{
|
|
1478
|
+
pure: AccountId32;
|
|
1479
|
+
who: AccountId32;
|
|
1480
|
+
proxyType: PeoplePaseoRuntimeProxyType;
|
|
1481
|
+
disambiguationIndex: number;
|
|
1482
|
+
at: number;
|
|
1483
|
+
extrinsicIndex: number;
|
|
1484
|
+
}
|
|
1409
1485
|
>;
|
|
1410
1486
|
|
|
1411
1487
|
/**
|
package/paseo-people/index.d.ts
CHANGED
package/paseo-people/query.d.ts
CHANGED
|
@@ -22,12 +22,12 @@ import type {
|
|
|
22
22
|
SpWeightsWeightV2Weight,
|
|
23
23
|
CumulusPalletParachainSystemUnincludedSegmentAncestor,
|
|
24
24
|
CumulusPalletParachainSystemUnincludedSegmentSegmentTracker,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
PolkadotPrimitivesV9PersistedValidationData,
|
|
26
|
+
PolkadotPrimitivesV9UpgradeRestriction,
|
|
27
|
+
PolkadotPrimitivesV9UpgradeGoAhead,
|
|
28
28
|
SpTrieStorageProof,
|
|
29
29
|
CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot,
|
|
30
|
-
|
|
30
|
+
PolkadotPrimitivesV9AbridgedHostConfiguration,
|
|
31
31
|
CumulusPrimitivesParachainInherentMessageQueueChain,
|
|
32
32
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
33
33
|
CumulusPalletParachainSystemParachainInherentInboundMessageId,
|
|
@@ -294,12 +294,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
294
294
|
|
|
295
295
|
/**
|
|
296
296
|
* The [`PersistedValidationData`] set for this block.
|
|
297
|
-
* This value is expected to be set only once per block and it's never stored
|
|
298
|
-
* in the trie.
|
|
299
297
|
*
|
|
300
|
-
*
|
|
298
|
+
* This value is expected to be set only once by the [`Pallet::set_validation_data`] inherent.
|
|
299
|
+
*
|
|
300
|
+
* @param {Callback<PolkadotPrimitivesV9PersistedValidationData | undefined> =} callback
|
|
301
301
|
**/
|
|
302
|
-
validationData: GenericStorageQuery<() =>
|
|
302
|
+
validationData: GenericStorageQuery<() => PolkadotPrimitivesV9PersistedValidationData | undefined>;
|
|
303
303
|
|
|
304
304
|
/**
|
|
305
305
|
* Were the validation data set to notify the relay chain?
|
|
@@ -326,9 +326,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
326
326
|
* relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
|
|
327
327
|
* set after the inherent.
|
|
328
328
|
*
|
|
329
|
-
* @param {Callback<
|
|
329
|
+
* @param {Callback<PolkadotPrimitivesV9UpgradeRestriction | undefined> =} callback
|
|
330
330
|
**/
|
|
331
|
-
upgradeRestrictionSignal: GenericStorageQuery<() =>
|
|
331
|
+
upgradeRestrictionSignal: GenericStorageQuery<() => PolkadotPrimitivesV9UpgradeRestriction | undefined>;
|
|
332
332
|
|
|
333
333
|
/**
|
|
334
334
|
* Optional upgrade go-ahead signal from the relay-chain.
|
|
@@ -337,9 +337,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
337
337
|
* relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
|
|
338
338
|
* set after the inherent.
|
|
339
339
|
*
|
|
340
|
-
* @param {Callback<
|
|
340
|
+
* @param {Callback<PolkadotPrimitivesV9UpgradeGoAhead | undefined> =} callback
|
|
341
341
|
**/
|
|
342
|
-
upgradeGoAhead: GenericStorageQuery<() =>
|
|
342
|
+
upgradeGoAhead: GenericStorageQuery<() => PolkadotPrimitivesV9UpgradeGoAhead | undefined>;
|
|
343
343
|
|
|
344
344
|
/**
|
|
345
345
|
* The state proof for the last relay parent block.
|
|
@@ -376,9 +376,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
376
376
|
*
|
|
377
377
|
* This data is also absent from the genesis.
|
|
378
378
|
*
|
|
379
|
-
* @param {Callback<
|
|
379
|
+
* @param {Callback<PolkadotPrimitivesV9AbridgedHostConfiguration | undefined> =} callback
|
|
380
380
|
**/
|
|
381
|
-
hostConfiguration: GenericStorageQuery<() =>
|
|
381
|
+
hostConfiguration: GenericStorageQuery<() => PolkadotPrimitivesV9AbridgedHostConfiguration | undefined>;
|
|
382
382
|
|
|
383
383
|
/**
|
|
384
384
|
* The last downward message queue chain head we have observed.
|
|
@@ -452,19 +452,28 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
452
452
|
/**
|
|
453
453
|
* Upward messages that were sent in a block.
|
|
454
454
|
*
|
|
455
|
-
* This will be cleared in `on_initialize`
|
|
455
|
+
* This will be cleared in `on_initialize` for each new block.
|
|
456
456
|
*
|
|
457
457
|
* @param {Callback<Array<Bytes>> =} callback
|
|
458
458
|
**/
|
|
459
459
|
upwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
460
460
|
|
|
461
461
|
/**
|
|
462
|
-
* Upward messages that are still pending and not yet
|
|
462
|
+
* Upward messages that are still pending and not yet sent to the relay chain.
|
|
463
463
|
*
|
|
464
464
|
* @param {Callback<Array<Bytes>> =} callback
|
|
465
465
|
**/
|
|
466
466
|
pendingUpwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
467
467
|
|
|
468
|
+
/**
|
|
469
|
+
* Upward signals that are still pending and not yet sent to the relay chain.
|
|
470
|
+
*
|
|
471
|
+
* This will be cleared in `on_finalize` for each block.
|
|
472
|
+
*
|
|
473
|
+
* @param {Callback<Array<Bytes>> =} callback
|
|
474
|
+
**/
|
|
475
|
+
pendingUpwardSignals: GenericStorageQuery<() => Array<Bytes>>;
|
|
476
|
+
|
|
468
477
|
/**
|
|
469
478
|
* The factor to multiply the base delivery fee by for UMP.
|
|
470
479
|
*
|
|
@@ -748,6 +757,14 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
748
757
|
**/
|
|
749
758
|
metadata: GenericStorageQuery<(arg: StagingXcmV5Location) => PalletAssetsAssetMetadata, StagingXcmV5Location>;
|
|
750
759
|
|
|
760
|
+
/**
|
|
761
|
+
* Maps an asset to a list of its configured reserve information.
|
|
762
|
+
*
|
|
763
|
+
* @param {StagingXcmV5Location} arg
|
|
764
|
+
* @param {Callback<Array<[]>> =} callback
|
|
765
|
+
**/
|
|
766
|
+
reserves: GenericStorageQuery<(arg: StagingXcmV5Location) => Array<[]>, StagingXcmV5Location>;
|
|
767
|
+
|
|
751
768
|
/**
|
|
752
769
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
753
770
|
* item has no effect.
|
|
@@ -954,6 +971,17 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
954
971
|
[SpCoreCryptoKeyTypeId, Bytes]
|
|
955
972
|
>;
|
|
956
973
|
|
|
974
|
+
/**
|
|
975
|
+
* Accounts whose keys were set via `SessionInterface` (external path) without
|
|
976
|
+
* incrementing the consumer reference or placing a key deposit. `do_purge_keys`
|
|
977
|
+
* only decrements consumers for accounts that were registered through the local
|
|
978
|
+
* session pallet.
|
|
979
|
+
*
|
|
980
|
+
* @param {AccountId32Like} arg
|
|
981
|
+
* @param {Callback<[] | undefined> =} callback
|
|
982
|
+
**/
|
|
983
|
+
externallySetKeys: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
|
|
984
|
+
|
|
957
985
|
/**
|
|
958
986
|
* Generic pallet storage query
|
|
959
987
|
**/
|
|
@@ -18,7 +18,7 @@ import type {
|
|
|
18
18
|
SpConsensusSlotsSlotDuration,
|
|
19
19
|
SpConsensusAuraSr25519AppSr25519Public,
|
|
20
20
|
SpConsensusSlotsSlot,
|
|
21
|
-
|
|
21
|
+
SpRuntimeBlockLazyBlock,
|
|
22
22
|
SpRuntimeExtrinsicInclusionMode,
|
|
23
23
|
SpCoreOpaqueMetadata,
|
|
24
24
|
SpRuntimeTransactionValidityTransactionValidityError,
|
|
@@ -135,9 +135,9 @@ export interface RuntimeApis extends GenericRuntimeApis {
|
|
|
135
135
|
* Execute the given block.
|
|
136
136
|
*
|
|
137
137
|
* @callname: Core_execute_block
|
|
138
|
-
* @param {
|
|
138
|
+
* @param {SpRuntimeBlockLazyBlock} block
|
|
139
139
|
**/
|
|
140
|
-
executeBlock: GenericRuntimeApiMethod<(block:
|
|
140
|
+
executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlockLazyBlock) => Promise<[]>>;
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
143
|
* Initialize a block with the given header and return the runtime executive mode.
|
|
@@ -228,11 +228,11 @@ export interface RuntimeApis extends GenericRuntimeApis {
|
|
|
228
228
|
* Check that the inherents are valid. The inherent data will vary from chain to chain.
|
|
229
229
|
*
|
|
230
230
|
* @callname: BlockBuilder_check_inherents
|
|
231
|
-
* @param {
|
|
231
|
+
* @param {SpRuntimeBlockLazyBlock} block
|
|
232
232
|
* @param {SpInherentsInherentData} data
|
|
233
233
|
**/
|
|
234
234
|
checkInherents: GenericRuntimeApiMethod<
|
|
235
|
-
(block:
|
|
235
|
+
(block: SpRuntimeBlockLazyBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>
|
|
236
236
|
>;
|
|
237
237
|
|
|
238
238
|
/**
|
|
@@ -506,6 +506,8 @@ export interface RuntimeApis extends GenericRuntimeApis {
|
|
|
506
506
|
>;
|
|
507
507
|
|
|
508
508
|
/**
|
|
509
|
+
* Query delivery fees V2.
|
|
510
|
+
*
|
|
509
511
|
* Get delivery fees for sending a specific `message` to a `destination`.
|
|
510
512
|
* These always come in a specific asset, defined by the chain.
|
|
511
513
|
*
|
|
@@ -518,11 +520,13 @@ export interface RuntimeApis extends GenericRuntimeApis {
|
|
|
518
520
|
* @callname: XcmPaymentApi_query_delivery_fees
|
|
519
521
|
* @param {XcmVersionedLocation} destination
|
|
520
522
|
* @param {XcmVersionedXcm} message
|
|
523
|
+
* @param {XcmVersionedAssetId} asset_id
|
|
521
524
|
**/
|
|
522
525
|
queryDeliveryFees: GenericRuntimeApiMethod<
|
|
523
526
|
(
|
|
524
527
|
destination: XcmVersionedLocation,
|
|
525
528
|
message: XcmVersionedXcm,
|
|
529
|
+
assetId: XcmVersionedAssetId,
|
|
526
530
|
) => Promise<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>
|
|
527
531
|
>;
|
|
528
532
|
|
package/paseo-people/tx.d.ts
CHANGED
|
@@ -1950,6 +1950,36 @@ export interface ChainTx<
|
|
|
1950
1950
|
>
|
|
1951
1951
|
>;
|
|
1952
1952
|
|
|
1953
|
+
/**
|
|
1954
|
+
* Sets the trusted reserve information of an asset.
|
|
1955
|
+
*
|
|
1956
|
+
* Origin must be the Owner of the asset `id`. The origin must conform to the configured
|
|
1957
|
+
* `CreateOrigin` or be the signed `owner` configured during asset creation.
|
|
1958
|
+
*
|
|
1959
|
+
* - `id`: The identifier of the asset.
|
|
1960
|
+
* - `reserves`: The full list of trusted reserves information.
|
|
1961
|
+
*
|
|
1962
|
+
* Emits `AssetMinBalanceChanged` event when successful.
|
|
1963
|
+
*
|
|
1964
|
+
* @param {StagingXcmV5Location} id
|
|
1965
|
+
* @param {Array<[]>} reserves
|
|
1966
|
+
**/
|
|
1967
|
+
setReserves: GenericTxCall<
|
|
1968
|
+
(
|
|
1969
|
+
id: StagingXcmV5Location,
|
|
1970
|
+
reserves: Array<[]>,
|
|
1971
|
+
) => ChainSubmittableExtrinsic<
|
|
1972
|
+
{
|
|
1973
|
+
pallet: 'Assets';
|
|
1974
|
+
palletCall: {
|
|
1975
|
+
name: 'SetReserves';
|
|
1976
|
+
params: { id: StagingXcmV5Location; reserves: Array<[]> };
|
|
1977
|
+
};
|
|
1978
|
+
},
|
|
1979
|
+
ChainKnownTypes
|
|
1980
|
+
>
|
|
1981
|
+
>;
|
|
1982
|
+
|
|
1953
1983
|
/**
|
|
1954
1984
|
* Generic pallet tx call
|
|
1955
1985
|
**/
|
package/paseo-people/types.d.ts
CHANGED
|
@@ -256,13 +256,13 @@ export type CumulusPalletParachainSystemCallLike =
|
|
|
256
256
|
| { name: 'SudoSendUpwardMessage'; params: { message: BytesLike } };
|
|
257
257
|
|
|
258
258
|
export type CumulusPalletParachainSystemParachainInherentBasicParachainInherentData = {
|
|
259
|
-
validationData:
|
|
259
|
+
validationData: PolkadotPrimitivesV9PersistedValidationData;
|
|
260
260
|
relayChainState: SpTrieStorageProof;
|
|
261
261
|
relayParentDescendants: Array<Header>;
|
|
262
262
|
collatorPeerId?: Bytes | undefined;
|
|
263
263
|
};
|
|
264
264
|
|
|
265
|
-
export type
|
|
265
|
+
export type PolkadotPrimitivesV9PersistedValidationData = {
|
|
266
266
|
parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
|
|
267
267
|
relayParentNumber: number;
|
|
268
268
|
relayParentStorageRoot: H256;
|
|
@@ -1195,7 +1195,19 @@ export type PalletAssetsCall =
|
|
|
1195
1195
|
* (false), or transfer everything except at least the minimum balance, which will
|
|
1196
1196
|
* guarantee to keep the sender asset account alive (true).
|
|
1197
1197
|
**/
|
|
1198
|
-
| { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddress; keepAlive: boolean } }
|
|
1198
|
+
| { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddress; keepAlive: boolean } }
|
|
1199
|
+
/**
|
|
1200
|
+
* Sets the trusted reserve information of an asset.
|
|
1201
|
+
*
|
|
1202
|
+
* Origin must be the Owner of the asset `id`. The origin must conform to the configured
|
|
1203
|
+
* `CreateOrigin` or be the signed `owner` configured during asset creation.
|
|
1204
|
+
*
|
|
1205
|
+
* - `id`: The identifier of the asset.
|
|
1206
|
+
* - `reserves`: The full list of trusted reserves information.
|
|
1207
|
+
*
|
|
1208
|
+
* Emits `AssetMinBalanceChanged` event when successful.
|
|
1209
|
+
**/
|
|
1210
|
+
| { name: 'SetReserves'; params: { id: StagingXcmV5Location; reserves: Array<[]> } };
|
|
1199
1211
|
|
|
1200
1212
|
export type PalletAssetsCallLike =
|
|
1201
1213
|
/**
|
|
@@ -1781,7 +1793,19 @@ export type PalletAssetsCallLike =
|
|
|
1781
1793
|
* (false), or transfer everything except at least the minimum balance, which will
|
|
1782
1794
|
* guarantee to keep the sender asset account alive (true).
|
|
1783
1795
|
**/
|
|
1784
|
-
| { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddressLike; keepAlive: boolean } }
|
|
1796
|
+
| { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddressLike; keepAlive: boolean } }
|
|
1797
|
+
/**
|
|
1798
|
+
* Sets the trusted reserve information of an asset.
|
|
1799
|
+
*
|
|
1800
|
+
* Origin must be the Owner of the asset `id`. The origin must conform to the configured
|
|
1801
|
+
* `CreateOrigin` or be the signed `owner` configured during asset creation.
|
|
1802
|
+
*
|
|
1803
|
+
* - `id`: The identifier of the asset.
|
|
1804
|
+
* - `reserves`: The full list of trusted reserves information.
|
|
1805
|
+
*
|
|
1806
|
+
* Emits `AssetMinBalanceChanged` event when successful.
|
|
1807
|
+
**/
|
|
1808
|
+
| { name: 'SetReserves'; params: { id: StagingXcmV5Location; reserves: Array<[]> } };
|
|
1785
1809
|
|
|
1786
1810
|
export type StagingXcmV5Location = { parents: number; interior: StagingXcmV5Junctions };
|
|
1787
1811
|
|
|
@@ -5157,7 +5181,8 @@ export type PalletIdentityJudgement =
|
|
|
5157
5181
|
export type SpRuntimeMultiSignature =
|
|
5158
5182
|
| { type: 'Ed25519'; value: FixedBytes<64> }
|
|
5159
5183
|
| { type: 'Sr25519'; value: FixedBytes<64> }
|
|
5160
|
-
| { type: 'Ecdsa'; value: FixedBytes<65> }
|
|
5184
|
+
| { type: 'Ecdsa'; value: FixedBytes<65> }
|
|
5185
|
+
| { type: 'Eth'; value: FixedBytes<65> };
|
|
5161
5186
|
|
|
5162
5187
|
/**
|
|
5163
5188
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -5557,10 +5582,18 @@ export type PalletBalancesEvent =
|
|
|
5557
5582
|
* Some amount was minted into an account.
|
|
5558
5583
|
**/
|
|
5559
5584
|
| { name: 'Minted'; data: { who: AccountId32; amount: bigint } }
|
|
5585
|
+
/**
|
|
5586
|
+
* Some credit was balanced and added to the TotalIssuance.
|
|
5587
|
+
**/
|
|
5588
|
+
| { name: 'MintedCredit'; data: { amount: bigint } }
|
|
5560
5589
|
/**
|
|
5561
5590
|
* Some amount was burned from an account.
|
|
5562
5591
|
**/
|
|
5563
5592
|
| { name: 'Burned'; data: { who: AccountId32; amount: bigint } }
|
|
5593
|
+
/**
|
|
5594
|
+
* Some debt has been dropped from the Total Issuance.
|
|
5595
|
+
**/
|
|
5596
|
+
| { name: 'BurnedDebt'; data: { amount: bigint } }
|
|
5564
5597
|
/**
|
|
5565
5598
|
* Some amount was suspended from an account (it can be restored later).
|
|
5566
5599
|
**/
|
|
@@ -5601,6 +5634,37 @@ export type PalletBalancesEvent =
|
|
|
5601
5634
|
* The `TotalIssuance` was forcefully changed.
|
|
5602
5635
|
**/
|
|
5603
5636
|
| { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } }
|
|
5637
|
+
/**
|
|
5638
|
+
* Some balance was placed on hold.
|
|
5639
|
+
**/
|
|
5640
|
+
| { name: 'Held'; data: { reason: PeoplePaseoRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint } }
|
|
5641
|
+
/**
|
|
5642
|
+
* Held balance was burned from an account.
|
|
5643
|
+
**/
|
|
5644
|
+
| { name: 'BurnedHeld'; data: { reason: PeoplePaseoRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint } }
|
|
5645
|
+
/**
|
|
5646
|
+
* A transfer of `amount` on hold from `source` to `dest` was initiated.
|
|
5647
|
+
**/
|
|
5648
|
+
| {
|
|
5649
|
+
name: 'TransferOnHold';
|
|
5650
|
+
data: { reason: PeoplePaseoRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; amount: bigint };
|
|
5651
|
+
}
|
|
5652
|
+
/**
|
|
5653
|
+
* The `transferred` balance is placed on hold at the `dest` account.
|
|
5654
|
+
**/
|
|
5655
|
+
| {
|
|
5656
|
+
name: 'TransferAndHold';
|
|
5657
|
+
data: {
|
|
5658
|
+
reason: PeoplePaseoRuntimeRuntimeHoldReason;
|
|
5659
|
+
source: AccountId32;
|
|
5660
|
+
dest: AccountId32;
|
|
5661
|
+
transferred: bigint;
|
|
5662
|
+
};
|
|
5663
|
+
}
|
|
5664
|
+
/**
|
|
5665
|
+
* Some balance was released from hold.
|
|
5666
|
+
**/
|
|
5667
|
+
| { name: 'Released'; data: { reason: PeoplePaseoRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint } }
|
|
5604
5668
|
/**
|
|
5605
5669
|
* An unexpected/defensive event was triggered.
|
|
5606
5670
|
**/
|
|
@@ -5608,6 +5672,14 @@ export type PalletBalancesEvent =
|
|
|
5608
5672
|
|
|
5609
5673
|
export type FrameSupportTokensMiscBalanceStatus = 'Free' | 'Reserved';
|
|
5610
5674
|
|
|
5675
|
+
export type PeoplePaseoRuntimeRuntimeHoldReason =
|
|
5676
|
+
| { type: 'Session'; value: PalletSessionHoldReason }
|
|
5677
|
+
| { type: 'PolkadotXcm'; value: PalletXcmHoldReason };
|
|
5678
|
+
|
|
5679
|
+
export type PalletSessionHoldReason = 'Keys';
|
|
5680
|
+
|
|
5681
|
+
export type PalletXcmHoldReason = 'AuthorizeAlias';
|
|
5682
|
+
|
|
5611
5683
|
export type PalletBalancesUnexpectedKind = 'BalanceUpdated' | 'FailedToMutateAccount';
|
|
5612
5684
|
|
|
5613
5685
|
/**
|
|
@@ -5752,7 +5824,15 @@ export type PalletAssetsEvent =
|
|
|
5752
5824
|
/**
|
|
5753
5825
|
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
|
5754
5826
|
**/
|
|
5755
|
-
| { name: 'Withdrawn'; data: { assetId: StagingXcmV5Location; who: AccountId32; amount: bigint } }
|
|
5827
|
+
| { name: 'Withdrawn'; data: { assetId: StagingXcmV5Location; who: AccountId32; amount: bigint } }
|
|
5828
|
+
/**
|
|
5829
|
+
* Reserve information was set or updated for `asset_id`.
|
|
5830
|
+
**/
|
|
5831
|
+
| { name: 'ReservesUpdated'; data: { assetId: StagingXcmV5Location; reserves: Array<[]> } }
|
|
5832
|
+
/**
|
|
5833
|
+
* Reserve information was removed for `asset_id`.
|
|
5834
|
+
**/
|
|
5835
|
+
| { name: 'ReservesRemoved'; data: { assetId: StagingXcmV5Location } };
|
|
5756
5836
|
|
|
5757
5837
|
/**
|
|
5758
5838
|
* The `Event` enum of this pallet
|
|
@@ -5816,14 +5896,6 @@ export type PalletAssetsHolderEvent =
|
|
|
5816
5896
|
};
|
|
5817
5897
|
};
|
|
5818
5898
|
|
|
5819
|
-
export type PeoplePaseoRuntimeRuntimeHoldReason =
|
|
5820
|
-
| { type: 'Session'; value: PalletSessionHoldReason }
|
|
5821
|
-
| { type: 'PolkadotXcm'; value: PalletXcmHoldReason };
|
|
5822
|
-
|
|
5823
|
-
export type PalletSessionHoldReason = 'Keys';
|
|
5824
|
-
|
|
5825
|
-
export type PalletXcmHoldReason = 'AuthorizeAlias';
|
|
5826
|
-
|
|
5827
5899
|
/**
|
|
5828
5900
|
* The `Event` enum of this pallet
|
|
5829
5901
|
**/
|
|
@@ -6375,6 +6447,8 @@ export type PalletProxyEvent =
|
|
|
6375
6447
|
who: AccountId32;
|
|
6376
6448
|
proxyType: PeoplePaseoRuntimeProxyType;
|
|
6377
6449
|
disambiguationIndex: number;
|
|
6450
|
+
at: number;
|
|
6451
|
+
extrinsicIndex: number;
|
|
6378
6452
|
};
|
|
6379
6453
|
}
|
|
6380
6454
|
/**
|
|
@@ -6655,7 +6729,7 @@ export type CumulusPalletWeightReclaimStorageWeightReclaim = [
|
|
|
6655
6729
|
export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
|
|
6656
6730
|
usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
|
6657
6731
|
paraHeadHash?: H256 | undefined;
|
|
6658
|
-
consumedGoAheadSignal?:
|
|
6732
|
+
consumedGoAheadSignal?: PolkadotPrimitivesV9UpgradeGoAhead | undefined;
|
|
6659
6733
|
};
|
|
6660
6734
|
|
|
6661
6735
|
export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
|
|
@@ -6668,21 +6742,21 @@ export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
|
|
|
6668
6742
|
|
|
6669
6743
|
export type CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate = { msgCount: number; totalBytes: number };
|
|
6670
6744
|
|
|
6671
|
-
export type
|
|
6745
|
+
export type PolkadotPrimitivesV9UpgradeGoAhead = 'Abort' | 'GoAhead';
|
|
6672
6746
|
|
|
6673
6747
|
export type CumulusPalletParachainSystemUnincludedSegmentSegmentTracker = {
|
|
6674
6748
|
usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
|
6675
6749
|
hrmpWatermark?: number | undefined;
|
|
6676
|
-
consumedGoAheadSignal?:
|
|
6750
|
+
consumedGoAheadSignal?: PolkadotPrimitivesV9UpgradeGoAhead | undefined;
|
|
6677
6751
|
};
|
|
6678
6752
|
|
|
6679
|
-
export type
|
|
6753
|
+
export type PolkadotPrimitivesV9UpgradeRestriction = 'Present';
|
|
6680
6754
|
|
|
6681
6755
|
export type CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot = {
|
|
6682
6756
|
dmqMqcHead: H256;
|
|
6683
6757
|
relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
|
|
6684
|
-
ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId,
|
|
6685
|
-
egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId,
|
|
6758
|
+
ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV9AbridgedHrmpChannel]>;
|
|
6759
|
+
egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV9AbridgedHrmpChannel]>;
|
|
6686
6760
|
};
|
|
6687
6761
|
|
|
6688
6762
|
export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
|
|
@@ -6690,7 +6764,7 @@ export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRema
|
|
|
6690
6764
|
remainingSize: number;
|
|
6691
6765
|
};
|
|
6692
6766
|
|
|
6693
|
-
export type
|
|
6767
|
+
export type PolkadotPrimitivesV9AbridgedHrmpChannel = {
|
|
6694
6768
|
maxCapacity: number;
|
|
6695
6769
|
maxTotalSize: number;
|
|
6696
6770
|
maxMessageSize: number;
|
|
@@ -6699,7 +6773,7 @@ export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
|
|
|
6699
6773
|
mqcHead?: H256 | undefined;
|
|
6700
6774
|
};
|
|
6701
6775
|
|
|
6702
|
-
export type
|
|
6776
|
+
export type PolkadotPrimitivesV9AbridgedHostConfiguration = {
|
|
6703
6777
|
maxCodeSize: number;
|
|
6704
6778
|
maxHeadDataSize: number;
|
|
6705
6779
|
maxUpwardQueueCount: number;
|
|
@@ -6709,10 +6783,10 @@ export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
|
|
|
6709
6783
|
hrmpMaxMessageNumPerCandidate: number;
|
|
6710
6784
|
validationUpgradeCooldown: number;
|
|
6711
6785
|
validationUpgradeDelay: number;
|
|
6712
|
-
asyncBackingParams:
|
|
6786
|
+
asyncBackingParams: PolkadotPrimitivesV9AsyncBackingAsyncBackingParams;
|
|
6713
6787
|
};
|
|
6714
6788
|
|
|
6715
|
-
export type
|
|
6789
|
+
export type PolkadotPrimitivesV9AsyncBackingAsyncBackingParams = {
|
|
6716
6790
|
maxCandidateDepth: number;
|
|
6717
6791
|
allowedAncestryLen: number;
|
|
6718
6792
|
};
|
|
@@ -6975,7 +7049,11 @@ export type PalletAssetsError =
|
|
|
6975
7049
|
/**
|
|
6976
7050
|
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
6977
7051
|
**/
|
|
6978
|
-
| 'ContainsHolds'
|
|
7052
|
+
| 'ContainsHolds'
|
|
7053
|
+
/**
|
|
7054
|
+
* Tried setting too many reserves.
|
|
7055
|
+
**/
|
|
7056
|
+
| 'TooManyReserves';
|
|
6979
7057
|
|
|
6980
7058
|
/**
|
|
6981
7059
|
* The `Error` enum of this pallet.
|
|
@@ -7708,6 +7786,10 @@ export type PalletSudoError =
|
|
|
7708
7786
|
|
|
7709
7787
|
export type SpConsensusSlotsSlotDuration = bigint;
|
|
7710
7788
|
|
|
7789
|
+
export type SpRuntimeBlockLazyBlock = { header: Header; extrinsics: Array<SpRuntimeOpaqueExtrinsic> };
|
|
7790
|
+
|
|
7791
|
+
export type SpRuntimeOpaqueExtrinsic = Bytes;
|
|
7792
|
+
|
|
7711
7793
|
export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
|
|
7712
7794
|
|
|
7713
7795
|
export type SpCoreOpaqueMetadata = Bytes;
|