@dedot/chaintypes 0.269.0 → 0.271.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/basilisk/consts.d.ts +9 -0
- package/basilisk/events.d.ts +15 -0
- package/basilisk/index.d.ts +1 -1
- package/basilisk/types.d.ts +6 -0
- package/hydration/consts.d.ts +0 -5
- package/hydration/errors.d.ts +17 -2
- package/hydration/events.d.ts +61 -0
- package/hydration/index.d.ts +1 -1
- package/hydration/query.d.ts +38 -0
- package/hydration/tx.d.ts +265 -0
- package/hydration/types.d.ts +333 -6
- package/moonbeam/index.d.ts +1 -1
- package/package.json +2 -2
- package/paseo/consts.d.ts +0 -9
- package/paseo/errors.d.ts +25 -108
- package/paseo/events.d.ts +0 -308
- package/paseo/index.d.ts +3 -1
- package/paseo/query.d.ts +82 -275
- package/paseo/runtime.d.ts +73 -2
- package/paseo/tx.d.ts +60 -375
- package/paseo/types.d.ts +160 -908
- package/paseo/view-functions.d.ts +0 -1
- package/paseo-people/consts.d.ts +2 -1
- package/paseo-people/events.d.ts +20 -0
- package/paseo-people/index.d.ts +3 -1
- package/paseo-people/json-rpc.d.ts +1 -0
- package/paseo-people/query.d.ts +45 -4
- package/paseo-people/runtime.d.ts +6 -2
- package/paseo-people/tx.d.ts +22 -13
- package/paseo-people/types.d.ts +104 -28
- package/paseo-people/view-functions.d.ts +38 -1
- package/polkadot-people/index.d.ts +1 -1
- package/westend-asset-hub/consts.d.ts +11 -2
- package/westend-asset-hub/errors.d.ts +29 -4
- package/westend-asset-hub/events.d.ts +60 -13
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/query.d.ts +100 -13
- package/westend-asset-hub/runtime.d.ts +59 -3
- package/westend-asset-hub/tx.d.ts +76 -35
- package/westend-asset-hub/types.d.ts +186 -58
- package/westend-asset-hub/view-functions.d.ts +59 -1
package/hydration/types.d.ts
CHANGED
|
@@ -5140,7 +5140,13 @@ export type PalletDispatcherCall =
|
|
|
5140
5140
|
*
|
|
5141
5141
|
* Emits `EmergencyAdminCallDispatched` with the call hash and dispatch result.
|
|
5142
5142
|
**/
|
|
5143
|
-
| { name: 'DispatchAsEmergencyAdmin'; params: { call: HydradxRuntimeRuntimeCall } }
|
|
5143
|
+
| { name: 'DispatchAsEmergencyAdmin'; params: { call: HydradxRuntimeRuntimeCall } }
|
|
5144
|
+
/**
|
|
5145
|
+
* Enable/pause the background ISMP storage cleanup. If enabled for the first time,
|
|
5146
|
+
* starting from the first stage.
|
|
5147
|
+
**/
|
|
5148
|
+
| { name: 'PauseHyperbridgeCleanup'; params: { doPause: boolean } }
|
|
5149
|
+
| { name: 'DispatchWithFeePayer'; params: { call: HydradxRuntimeRuntimeCall } };
|
|
5144
5150
|
|
|
5145
5151
|
export type PalletDispatcherCallLike =
|
|
5146
5152
|
| { name: 'DispatchAsTreasury'; params: { call: HydradxRuntimeRuntimeCallLike } }
|
|
@@ -5187,7 +5193,13 @@ export type PalletDispatcherCallLike =
|
|
|
5187
5193
|
*
|
|
5188
5194
|
* Emits `EmergencyAdminCallDispatched` with the call hash and dispatch result.
|
|
5189
5195
|
**/
|
|
5190
|
-
| { name: 'DispatchAsEmergencyAdmin'; params: { call: HydradxRuntimeRuntimeCallLike } }
|
|
5196
|
+
| { name: 'DispatchAsEmergencyAdmin'; params: { call: HydradxRuntimeRuntimeCallLike } }
|
|
5197
|
+
/**
|
|
5198
|
+
* Enable/pause the background ISMP storage cleanup. If enabled for the first time,
|
|
5199
|
+
* starting from the first stage.
|
|
5200
|
+
**/
|
|
5201
|
+
| { name: 'PauseHyperbridgeCleanup'; params: { doPause: boolean } }
|
|
5202
|
+
| { name: 'DispatchWithFeePayer'; params: { call: HydradxRuntimeRuntimeCallLike } };
|
|
5191
5203
|
|
|
5192
5204
|
/**
|
|
5193
5205
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -13443,19 +13455,282 @@ export type SpConsensusAuraSr25519AppSr25519Public = FixedBytes<32>;
|
|
|
13443
13455
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
13444
13456
|
**/
|
|
13445
13457
|
export type PalletEmaOracleCall =
|
|
13458
|
+
/**
|
|
13459
|
+
* Add an oracle to the whitelist so it is tracked by the pallet.
|
|
13460
|
+
*
|
|
13461
|
+
* Parameters:
|
|
13462
|
+
* - `origin`: `AuthorityOrigin`
|
|
13463
|
+
* - `source`: data source identifier
|
|
13464
|
+
* - `assets`: the asset pair to track
|
|
13465
|
+
*
|
|
13466
|
+
* Emits `AddedToWhitelist` event when successful.
|
|
13467
|
+
**/
|
|
13446
13468
|
| { name: 'AddOracle'; params: { source: FixedBytes<8>; assets: [number, number] } }
|
|
13469
|
+
/**
|
|
13470
|
+
* Remove an oracle from the whitelist and delete all its stored entries.
|
|
13471
|
+
*
|
|
13472
|
+
* Parameters:
|
|
13473
|
+
* - `origin`: `AuthorityOrigin`
|
|
13474
|
+
* - `source`: data source identifier
|
|
13475
|
+
* - `assets`: the asset pair to stop tracking
|
|
13476
|
+
*
|
|
13477
|
+
* Emits `RemovedFromWhitelist` event when successful.
|
|
13478
|
+
**/
|
|
13447
13479
|
| { name: 'RemoveOracle'; params: { source: FixedBytes<8>; assets: [number, number] } }
|
|
13480
|
+
/**
|
|
13481
|
+
* Update an oracle entry for BIFROST_SOURCE. Thin wrapper around `set_external_oracle`.
|
|
13482
|
+
*
|
|
13483
|
+
* Parameters:
|
|
13484
|
+
* - `origin`: signed origin — must be authorized for the specific `(BIFROST_SOURCE, pair)`
|
|
13485
|
+
* - `asset_a`: XCM location of the first asset
|
|
13486
|
+
* - `asset_b`: XCM location of the second asset
|
|
13487
|
+
* - `price`: price as `(numerator, denominator)`
|
|
13488
|
+
*
|
|
13489
|
+
* Emits `OracleUpdated` event on the next `on_finalize`.
|
|
13490
|
+
**/
|
|
13448
13491
|
| {
|
|
13449
13492
|
name: 'UpdateBifrostOracle';
|
|
13450
13493
|
params: { assetA: XcmVersionedLocation; assetB: XcmVersionedLocation; price: [bigint, bigint] };
|
|
13494
|
+
}
|
|
13495
|
+
/**
|
|
13496
|
+
* Submit an oracle price update for an external source.
|
|
13497
|
+
*
|
|
13498
|
+
* The call is feeless on success (`Pays::No`).
|
|
13499
|
+
*
|
|
13500
|
+
* Parameters:
|
|
13501
|
+
* - `origin`: signed origin — must be authorized for the specific `(source, pair)` via
|
|
13502
|
+
* `add_authorized_account`
|
|
13503
|
+
* - `source`: external source identifier (must be registered via `register_external_source`)
|
|
13504
|
+
* - `asset_a`: XCM location of the first asset
|
|
13505
|
+
* - `asset_b`: XCM location of the second asset
|
|
13506
|
+
* - `price`: price as `(numerator, denominator)` — both must be non-zero
|
|
13507
|
+
*
|
|
13508
|
+
* Emits `OracleUpdated` event on the next `on_finalize`.
|
|
13509
|
+
**/
|
|
13510
|
+
| {
|
|
13511
|
+
name: 'SetExternalOracle';
|
|
13512
|
+
params: {
|
|
13513
|
+
source: FixedBytes<8>;
|
|
13514
|
+
assetA: XcmVersionedLocation;
|
|
13515
|
+
assetB: XcmVersionedLocation;
|
|
13516
|
+
price: [bigint, bigint];
|
|
13517
|
+
};
|
|
13518
|
+
}
|
|
13519
|
+
/**
|
|
13520
|
+
* Update an external oracle entry using local `AssetId`s directly.
|
|
13521
|
+
*
|
|
13522
|
+
* Cheaper variant of `set_external_oracle` for callers that already know the local
|
|
13523
|
+
* AssetIds — skips the `VersionedLocation` → `AssetId` conversion and the
|
|
13524
|
+
* `AssetRegistry::LocationAssets` storage read. Authorization shares the same
|
|
13525
|
+
* `AuthorizedAccounts` storage as the location variant.
|
|
13526
|
+
*
|
|
13527
|
+
* Parameters:
|
|
13528
|
+
* - `origin`: signed origin — must be authorized for the specific `(source, pair)` via
|
|
13529
|
+
* `add_authorized_account`
|
|
13530
|
+
* - `source`: external source identifier (must be registered via `register_external_source`)
|
|
13531
|
+
* - `asset_a`: local AssetId of the first asset
|
|
13532
|
+
* - `asset_b`: local AssetId of the second asset
|
|
13533
|
+
* - `price`: price as `(numerator, denominator)` — both must be non-zero
|
|
13534
|
+
*
|
|
13535
|
+
* The call is feeless on success (`Pays::No`).
|
|
13536
|
+
*
|
|
13537
|
+
* Emits `OracleUpdated` event on the next `on_finalize`.
|
|
13538
|
+
**/
|
|
13539
|
+
| {
|
|
13540
|
+
name: 'SetExternalOracleByIds';
|
|
13541
|
+
params: { source: FixedBytes<8>; assetA: number; assetB: number; price: [bigint, bigint] };
|
|
13542
|
+
}
|
|
13543
|
+
/**
|
|
13544
|
+
* Register a new external oracle source.
|
|
13545
|
+
*
|
|
13546
|
+
* Parameters:
|
|
13547
|
+
* - `origin`: `AuthorityOrigin`
|
|
13548
|
+
* - `source`: 8-byte source identifier to register
|
|
13549
|
+
*
|
|
13550
|
+
* Emits `ExternalSourceRegistered` event when successful.
|
|
13551
|
+
**/
|
|
13552
|
+
| { name: 'RegisterExternalSource'; params: { source: FixedBytes<8> } }
|
|
13553
|
+
/**
|
|
13554
|
+
* Remove an external oracle source, its per-pair authorizations, and ALL oracle data it
|
|
13555
|
+
* ever wrote (both committed `Oracles` rows and any in-flight `Accumulator` entries).
|
|
13556
|
+
*
|
|
13557
|
+
* Parameters:
|
|
13558
|
+
* - `origin`: `AuthorityOrigin`
|
|
13559
|
+
* - `source`: source identifier to remove
|
|
13560
|
+
*
|
|
13561
|
+
* Emits `ExternalSourceRemoved` event when successful.
|
|
13562
|
+
**/
|
|
13563
|
+
| { name: 'RemoveExternalSource'; params: { source: FixedBytes<8> } }
|
|
13564
|
+
/**
|
|
13565
|
+
* Authorize `account` to submit oracle updates for a specific `(source, pair)`.
|
|
13566
|
+
*
|
|
13567
|
+
* Authorization is scoped per-pair so a compromised account can only update the
|
|
13568
|
+
* pairs it was explicitly granted, limiting DDoS blast radius.
|
|
13569
|
+
*
|
|
13570
|
+
* Parameters:
|
|
13571
|
+
* - `origin`: `AuthorityOrigin`
|
|
13572
|
+
* - `source`: external source identifier (must already be registered)
|
|
13573
|
+
* - `assets`: the asset pair to authorize — stored in ordered form
|
|
13574
|
+
* - `account`: the account to authorize
|
|
13575
|
+
*
|
|
13576
|
+
* Emits `AuthorizedAccountAdded` event when successful.
|
|
13577
|
+
**/
|
|
13578
|
+
| { name: 'AddAuthorizedAccount'; params: { source: FixedBytes<8>; assets: [number, number]; account: AccountId32 } }
|
|
13579
|
+
/**
|
|
13580
|
+
* Revoke oracle-update authorization for `account` on a specific `(source, pair)`.
|
|
13581
|
+
*
|
|
13582
|
+
* Parameters:
|
|
13583
|
+
* - `origin`: `AuthorityOrigin`
|
|
13584
|
+
* - `source`: external source identifier (must already be registered)
|
|
13585
|
+
* - `assets`: the asset pair to revoke — matched in ordered form
|
|
13586
|
+
* - `account`: the account to revoke
|
|
13587
|
+
*
|
|
13588
|
+
* Emits `AuthorizedAccountRemoved` event when successful.
|
|
13589
|
+
**/
|
|
13590
|
+
| {
|
|
13591
|
+
name: 'RemoveAuthorizedAccount';
|
|
13592
|
+
params: { source: FixedBytes<8>; assets: [number, number]; account: AccountId32 };
|
|
13451
13593
|
};
|
|
13452
13594
|
|
|
13453
13595
|
export type PalletEmaOracleCallLike =
|
|
13596
|
+
/**
|
|
13597
|
+
* Add an oracle to the whitelist so it is tracked by the pallet.
|
|
13598
|
+
*
|
|
13599
|
+
* Parameters:
|
|
13600
|
+
* - `origin`: `AuthorityOrigin`
|
|
13601
|
+
* - `source`: data source identifier
|
|
13602
|
+
* - `assets`: the asset pair to track
|
|
13603
|
+
*
|
|
13604
|
+
* Emits `AddedToWhitelist` event when successful.
|
|
13605
|
+
**/
|
|
13454
13606
|
| { name: 'AddOracle'; params: { source: FixedBytes<8>; assets: [number, number] } }
|
|
13607
|
+
/**
|
|
13608
|
+
* Remove an oracle from the whitelist and delete all its stored entries.
|
|
13609
|
+
*
|
|
13610
|
+
* Parameters:
|
|
13611
|
+
* - `origin`: `AuthorityOrigin`
|
|
13612
|
+
* - `source`: data source identifier
|
|
13613
|
+
* - `assets`: the asset pair to stop tracking
|
|
13614
|
+
*
|
|
13615
|
+
* Emits `RemovedFromWhitelist` event when successful.
|
|
13616
|
+
**/
|
|
13455
13617
|
| { name: 'RemoveOracle'; params: { source: FixedBytes<8>; assets: [number, number] } }
|
|
13618
|
+
/**
|
|
13619
|
+
* Update an oracle entry for BIFROST_SOURCE. Thin wrapper around `set_external_oracle`.
|
|
13620
|
+
*
|
|
13621
|
+
* Parameters:
|
|
13622
|
+
* - `origin`: signed origin — must be authorized for the specific `(BIFROST_SOURCE, pair)`
|
|
13623
|
+
* - `asset_a`: XCM location of the first asset
|
|
13624
|
+
* - `asset_b`: XCM location of the second asset
|
|
13625
|
+
* - `price`: price as `(numerator, denominator)`
|
|
13626
|
+
*
|
|
13627
|
+
* Emits `OracleUpdated` event on the next `on_finalize`.
|
|
13628
|
+
**/
|
|
13456
13629
|
| {
|
|
13457
13630
|
name: 'UpdateBifrostOracle';
|
|
13458
13631
|
params: { assetA: XcmVersionedLocation; assetB: XcmVersionedLocation; price: [bigint, bigint] };
|
|
13632
|
+
}
|
|
13633
|
+
/**
|
|
13634
|
+
* Submit an oracle price update for an external source.
|
|
13635
|
+
*
|
|
13636
|
+
* The call is feeless on success (`Pays::No`).
|
|
13637
|
+
*
|
|
13638
|
+
* Parameters:
|
|
13639
|
+
* - `origin`: signed origin — must be authorized for the specific `(source, pair)` via
|
|
13640
|
+
* `add_authorized_account`
|
|
13641
|
+
* - `source`: external source identifier (must be registered via `register_external_source`)
|
|
13642
|
+
* - `asset_a`: XCM location of the first asset
|
|
13643
|
+
* - `asset_b`: XCM location of the second asset
|
|
13644
|
+
* - `price`: price as `(numerator, denominator)` — both must be non-zero
|
|
13645
|
+
*
|
|
13646
|
+
* Emits `OracleUpdated` event on the next `on_finalize`.
|
|
13647
|
+
**/
|
|
13648
|
+
| {
|
|
13649
|
+
name: 'SetExternalOracle';
|
|
13650
|
+
params: {
|
|
13651
|
+
source: FixedBytes<8>;
|
|
13652
|
+
assetA: XcmVersionedLocation;
|
|
13653
|
+
assetB: XcmVersionedLocation;
|
|
13654
|
+
price: [bigint, bigint];
|
|
13655
|
+
};
|
|
13656
|
+
}
|
|
13657
|
+
/**
|
|
13658
|
+
* Update an external oracle entry using local `AssetId`s directly.
|
|
13659
|
+
*
|
|
13660
|
+
* Cheaper variant of `set_external_oracle` for callers that already know the local
|
|
13661
|
+
* AssetIds — skips the `VersionedLocation` → `AssetId` conversion and the
|
|
13662
|
+
* `AssetRegistry::LocationAssets` storage read. Authorization shares the same
|
|
13663
|
+
* `AuthorizedAccounts` storage as the location variant.
|
|
13664
|
+
*
|
|
13665
|
+
* Parameters:
|
|
13666
|
+
* - `origin`: signed origin — must be authorized for the specific `(source, pair)` via
|
|
13667
|
+
* `add_authorized_account`
|
|
13668
|
+
* - `source`: external source identifier (must be registered via `register_external_source`)
|
|
13669
|
+
* - `asset_a`: local AssetId of the first asset
|
|
13670
|
+
* - `asset_b`: local AssetId of the second asset
|
|
13671
|
+
* - `price`: price as `(numerator, denominator)` — both must be non-zero
|
|
13672
|
+
*
|
|
13673
|
+
* The call is feeless on success (`Pays::No`).
|
|
13674
|
+
*
|
|
13675
|
+
* Emits `OracleUpdated` event on the next `on_finalize`.
|
|
13676
|
+
**/
|
|
13677
|
+
| {
|
|
13678
|
+
name: 'SetExternalOracleByIds';
|
|
13679
|
+
params: { source: FixedBytes<8>; assetA: number; assetB: number; price: [bigint, bigint] };
|
|
13680
|
+
}
|
|
13681
|
+
/**
|
|
13682
|
+
* Register a new external oracle source.
|
|
13683
|
+
*
|
|
13684
|
+
* Parameters:
|
|
13685
|
+
* - `origin`: `AuthorityOrigin`
|
|
13686
|
+
* - `source`: 8-byte source identifier to register
|
|
13687
|
+
*
|
|
13688
|
+
* Emits `ExternalSourceRegistered` event when successful.
|
|
13689
|
+
**/
|
|
13690
|
+
| { name: 'RegisterExternalSource'; params: { source: FixedBytes<8> } }
|
|
13691
|
+
/**
|
|
13692
|
+
* Remove an external oracle source, its per-pair authorizations, and ALL oracle data it
|
|
13693
|
+
* ever wrote (both committed `Oracles` rows and any in-flight `Accumulator` entries).
|
|
13694
|
+
*
|
|
13695
|
+
* Parameters:
|
|
13696
|
+
* - `origin`: `AuthorityOrigin`
|
|
13697
|
+
* - `source`: source identifier to remove
|
|
13698
|
+
*
|
|
13699
|
+
* Emits `ExternalSourceRemoved` event when successful.
|
|
13700
|
+
**/
|
|
13701
|
+
| { name: 'RemoveExternalSource'; params: { source: FixedBytes<8> } }
|
|
13702
|
+
/**
|
|
13703
|
+
* Authorize `account` to submit oracle updates for a specific `(source, pair)`.
|
|
13704
|
+
*
|
|
13705
|
+
* Authorization is scoped per-pair so a compromised account can only update the
|
|
13706
|
+
* pairs it was explicitly granted, limiting DDoS blast radius.
|
|
13707
|
+
*
|
|
13708
|
+
* Parameters:
|
|
13709
|
+
* - `origin`: `AuthorityOrigin`
|
|
13710
|
+
* - `source`: external source identifier (must already be registered)
|
|
13711
|
+
* - `assets`: the asset pair to authorize — stored in ordered form
|
|
13712
|
+
* - `account`: the account to authorize
|
|
13713
|
+
*
|
|
13714
|
+
* Emits `AuthorizedAccountAdded` event when successful.
|
|
13715
|
+
**/
|
|
13716
|
+
| {
|
|
13717
|
+
name: 'AddAuthorizedAccount';
|
|
13718
|
+
params: { source: FixedBytes<8>; assets: [number, number]; account: AccountId32Like };
|
|
13719
|
+
}
|
|
13720
|
+
/**
|
|
13721
|
+
* Revoke oracle-update authorization for `account` on a specific `(source, pair)`.
|
|
13722
|
+
*
|
|
13723
|
+
* Parameters:
|
|
13724
|
+
* - `origin`: `AuthorityOrigin`
|
|
13725
|
+
* - `source`: external source identifier (must already be registered)
|
|
13726
|
+
* - `assets`: the asset pair to revoke — matched in ordered form
|
|
13727
|
+
* - `account`: the account to revoke
|
|
13728
|
+
*
|
|
13729
|
+
* Emits `AuthorizedAccountRemoved` event when successful.
|
|
13730
|
+
**/
|
|
13731
|
+
| {
|
|
13732
|
+
name: 'RemoveAuthorizedAccount';
|
|
13733
|
+
params: { source: FixedBytes<8>; assets: [number, number]; account: AccountId32Like };
|
|
13459
13734
|
};
|
|
13460
13735
|
|
|
13461
13736
|
/**
|
|
@@ -14826,7 +15101,31 @@ export type PalletDispatcherEvent =
|
|
|
14826
15101
|
callHash: H256;
|
|
14827
15102
|
result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
|
|
14828
15103
|
};
|
|
14829
|
-
}
|
|
15104
|
+
}
|
|
15105
|
+
/**
|
|
15106
|
+
* Emitted each block when cleanup deletes a batch of keys.
|
|
15107
|
+
**/
|
|
15108
|
+
| {
|
|
15109
|
+
name: 'HyperbridgeCleanupProgress';
|
|
15110
|
+
data: { stage: PalletDispatcherHyperbridgeCleanupStage; keysDeleted: number };
|
|
15111
|
+
}
|
|
15112
|
+
/**
|
|
15113
|
+
* Emitted when all keys in a stage are removed and cleanup advances.
|
|
15114
|
+
**/
|
|
15115
|
+
| { name: 'HyperbridgeCleanupStageCompleted'; data: { stage: PalletDispatcherHyperbridgeCleanupStage } }
|
|
15116
|
+
/**
|
|
15117
|
+
* Emitted when all three stages are done and cleanup disables itself.
|
|
15118
|
+
**/
|
|
15119
|
+
| { name: 'HyperbridgeCleanupCompleted' }
|
|
15120
|
+
/**
|
|
15121
|
+
* Emitted when cleanup is paused or resumed via extrinsic.
|
|
15122
|
+
**/
|
|
15123
|
+
| { name: 'HyperbridgeCleanupStatusChanged'; data: { paused: boolean } };
|
|
15124
|
+
|
|
15125
|
+
export type PalletDispatcherHyperbridgeCleanupStage =
|
|
15126
|
+
| 'StateCommitments'
|
|
15127
|
+
| 'StateMachineUpdateTime'
|
|
15128
|
+
| 'RelayChainStateCommitments';
|
|
14830
15129
|
|
|
14831
15130
|
/**
|
|
14832
15131
|
* The `Event` enum of this pallet
|
|
@@ -17000,7 +17299,23 @@ export type PalletEmaOracleEvent =
|
|
|
17000
17299
|
assets: [number, number];
|
|
17001
17300
|
updates: Array<[HydradxTraitsOracleOraclePeriod, HydraDxMathRatio]>;
|
|
17002
17301
|
};
|
|
17003
|
-
}
|
|
17302
|
+
}
|
|
17303
|
+
/**
|
|
17304
|
+
* An external oracle source was registered.
|
|
17305
|
+
**/
|
|
17306
|
+
| { name: 'ExternalSourceRegistered'; data: { source: FixedBytes<8> } }
|
|
17307
|
+
/**
|
|
17308
|
+
* An external oracle source was removed.
|
|
17309
|
+
**/
|
|
17310
|
+
| { name: 'ExternalSourceRemoved'; data: { source: FixedBytes<8> } }
|
|
17311
|
+
/**
|
|
17312
|
+
* An account was authorized to update the given (source, pair).
|
|
17313
|
+
**/
|
|
17314
|
+
| { name: 'AuthorizedAccountAdded'; data: { source: FixedBytes<8>; pair: [number, number]; account: AccountId32 } }
|
|
17315
|
+
/**
|
|
17316
|
+
* An authorization was removed for the given (source, pair, account).
|
|
17317
|
+
**/
|
|
17318
|
+
| { name: 'AuthorizedAccountRemoved'; data: { source: FixedBytes<8>; pair: [number, number]; account: AccountId32 } };
|
|
17004
17319
|
|
|
17005
17320
|
export type HydraDxMathRatio = { n: bigint; d: bigint };
|
|
17006
17321
|
|
|
@@ -20905,9 +21220,21 @@ export type PalletEmaOracleError =
|
|
|
20905
21220
|
**/
|
|
20906
21221
|
| 'AssetNotFound'
|
|
20907
21222
|
/**
|
|
20908
|
-
* The
|
|
21223
|
+
* The external source is already registered.
|
|
21224
|
+
**/
|
|
21225
|
+
| 'SourceAlreadyRegistered'
|
|
21226
|
+
/**
|
|
21227
|
+
* The external source was not found.
|
|
21228
|
+
**/
|
|
21229
|
+
| 'SourceNotFound'
|
|
21230
|
+
/**
|
|
21231
|
+
* The caller is not authorized for the given (source, pair).
|
|
21232
|
+
**/
|
|
21233
|
+
| 'NotAuthorized'
|
|
21234
|
+
/**
|
|
21235
|
+
* Price must not be zero.
|
|
20909
21236
|
**/
|
|
20910
|
-
| '
|
|
21237
|
+
| 'PriceIsZero';
|
|
20911
21238
|
|
|
20912
21239
|
/**
|
|
20913
21240
|
* The `Error` enum of this pallet.
|
package/moonbeam/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.271.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": "f052fc4bc609984d7ee7aa8b8316717c76414999",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|
package/paseo/consts.d.ts
CHANGED
|
@@ -1099,15 +1099,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1099
1099
|
**/
|
|
1100
1100
|
[name: string]: any;
|
|
1101
1101
|
};
|
|
1102
|
-
/**
|
|
1103
|
-
* Pallet `CoretimeAssignmentProvider`'s constants
|
|
1104
|
-
**/
|
|
1105
|
-
coretimeAssignmentProvider: {
|
|
1106
|
-
/**
|
|
1107
|
-
* Generic pallet constant
|
|
1108
|
-
**/
|
|
1109
|
-
[name: string]: any;
|
|
1110
|
-
};
|
|
1111
1102
|
/**
|
|
1112
1103
|
* Pallet `Registrar`'s constants
|
|
1113
1104
|
**/
|
package/paseo/errors.d.ts
CHANGED
|
@@ -1588,9 +1588,14 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1588
1588
|
**/
|
|
1589
1589
|
DisallowedRelayParent: GenericPalletError;
|
|
1590
1590
|
|
|
1591
|
+
/**
|
|
1592
|
+
* The candidate's scheduling-parent was not allowed.
|
|
1593
|
+
**/
|
|
1594
|
+
DisallowedSchedulingParent: GenericPalletError;
|
|
1595
|
+
|
|
1591
1596
|
/**
|
|
1592
1597
|
* Failed to compute group index for the core: either it's out of bounds
|
|
1593
|
-
* or the
|
|
1598
|
+
* or the scheduling parent doesn't belong to the current session.
|
|
1594
1599
|
**/
|
|
1595
1600
|
InvalidAssignment: GenericPalletError;
|
|
1596
1601
|
|
|
@@ -1681,6 +1686,25 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1681
1686
|
**/
|
|
1682
1687
|
[error: string]: GenericPalletError;
|
|
1683
1688
|
};
|
|
1689
|
+
/**
|
|
1690
|
+
* Pallet `ParaScheduler`'s errors
|
|
1691
|
+
**/
|
|
1692
|
+
paraScheduler: {
|
|
1693
|
+
/**
|
|
1694
|
+
* assign_core was called with no assignments.
|
|
1695
|
+
**/
|
|
1696
|
+
AssignmentsEmpty: GenericPalletError;
|
|
1697
|
+
|
|
1698
|
+
/**
|
|
1699
|
+
* assign_core with non allowed insertion.
|
|
1700
|
+
**/
|
|
1701
|
+
DisallowedInsert: GenericPalletError;
|
|
1702
|
+
|
|
1703
|
+
/**
|
|
1704
|
+
* Generic pallet error
|
|
1705
|
+
**/
|
|
1706
|
+
[error: string]: GenericPalletError;
|
|
1707
|
+
};
|
|
1684
1708
|
/**
|
|
1685
1709
|
* Pallet `Paras`'s errors
|
|
1686
1710
|
**/
|
|
@@ -1998,23 +2022,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1998
2022
|
**/
|
|
1999
2023
|
[error: string]: GenericPalletError;
|
|
2000
2024
|
};
|
|
2001
|
-
/**
|
|
2002
|
-
* Pallet `CoretimeAssignmentProvider`'s errors
|
|
2003
|
-
**/
|
|
2004
|
-
coretimeAssignmentProvider: {
|
|
2005
|
-
AssignmentsEmpty: GenericPalletError;
|
|
2006
|
-
|
|
2007
|
-
/**
|
|
2008
|
-
* assign_core is only allowed to append new assignments at the end of already existing
|
|
2009
|
-
* ones or update the last entry.
|
|
2010
|
-
**/
|
|
2011
|
-
DisallowedInsert: GenericPalletError;
|
|
2012
|
-
|
|
2013
|
-
/**
|
|
2014
|
-
* Generic pallet error
|
|
2015
|
-
**/
|
|
2016
|
-
[error: string]: GenericPalletError;
|
|
2017
|
-
};
|
|
2018
2025
|
/**
|
|
2019
2026
|
* Pallet `Registrar`'s errors
|
|
2020
2027
|
**/
|
|
@@ -2720,96 +2727,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2720
2727
|
* Pallet `RcMigrator`'s errors
|
|
2721
2728
|
**/
|
|
2722
2729
|
rcMigrator: {
|
|
2723
|
-
Unreachable: GenericPalletError;
|
|
2724
|
-
OutOfWeight: GenericPalletError;
|
|
2725
|
-
|
|
2726
|
-
/**
|
|
2727
|
-
* Failed to send XCM message to AH.
|
|
2728
|
-
**/
|
|
2729
|
-
XcmError: GenericPalletError;
|
|
2730
|
-
|
|
2731
|
-
/**
|
|
2732
|
-
* Failed to withdraw account from RC for migration to AH.
|
|
2733
|
-
**/
|
|
2734
|
-
FailedToWithdrawAccount: GenericPalletError;
|
|
2735
|
-
|
|
2736
|
-
/**
|
|
2737
|
-
* Indicates that the specified block number is in the past.
|
|
2738
|
-
**/
|
|
2739
|
-
PastBlockNumber: GenericPalletError;
|
|
2740
|
-
|
|
2741
|
-
/**
|
|
2742
|
-
* Indicates that there is not enough time for staking to lock.
|
|
2743
|
-
*
|
|
2744
|
-
* Schedule the migration at least two sessions before the current era ends.
|
|
2745
|
-
**/
|
|
2746
|
-
EraEndsTooSoon: GenericPalletError;
|
|
2747
|
-
|
|
2748
|
-
/**
|
|
2749
|
-
* Balance accounting overflow.
|
|
2750
|
-
**/
|
|
2751
|
-
BalanceOverflow: GenericPalletError;
|
|
2752
|
-
|
|
2753
|
-
/**
|
|
2754
|
-
* Balance accounting underflow.
|
|
2755
|
-
**/
|
|
2756
|
-
BalanceUnderflow: GenericPalletError;
|
|
2757
|
-
|
|
2758
|
-
/**
|
|
2759
|
-
* The query response is invalid.
|
|
2760
|
-
**/
|
|
2761
|
-
InvalidQueryResponse: GenericPalletError;
|
|
2762
|
-
|
|
2763
|
-
/**
|
|
2764
|
-
* The xcm query was not found.
|
|
2765
|
-
**/
|
|
2766
|
-
QueryNotFound: GenericPalletError;
|
|
2767
|
-
|
|
2768
|
-
/**
|
|
2769
|
-
* Failed to send XCM message.
|
|
2770
|
-
**/
|
|
2771
|
-
XcmSendError: GenericPalletError;
|
|
2772
|
-
|
|
2773
|
-
/**
|
|
2774
|
-
* The migration stage is not reachable from the current stage.
|
|
2775
|
-
**/
|
|
2776
|
-
UnreachableStage: GenericPalletError;
|
|
2777
|
-
|
|
2778
|
-
/**
|
|
2779
|
-
* Invalid parameter.
|
|
2780
|
-
**/
|
|
2781
|
-
InvalidParameter: GenericPalletError;
|
|
2782
|
-
|
|
2783
|
-
/**
|
|
2784
|
-
* The AH UMP queue priority configuration is already set.
|
|
2785
|
-
**/
|
|
2786
|
-
AhUmpQueuePriorityAlreadySet: GenericPalletError;
|
|
2787
|
-
|
|
2788
|
-
/**
|
|
2789
|
-
* The account is referenced by some other pallet. It might have freezes or holds.
|
|
2790
|
-
**/
|
|
2791
|
-
AccountReferenced: GenericPalletError;
|
|
2792
|
-
|
|
2793
|
-
/**
|
|
2794
|
-
* The XCM version is invalid.
|
|
2795
|
-
**/
|
|
2796
|
-
BadXcmVersion: GenericPalletError;
|
|
2797
|
-
|
|
2798
|
-
/**
|
|
2799
|
-
* The origin is invalid.
|
|
2800
|
-
**/
|
|
2801
|
-
InvalidOrigin: GenericPalletError;
|
|
2802
|
-
|
|
2803
|
-
/**
|
|
2804
|
-
* The stage transition is invalid.
|
|
2805
|
-
**/
|
|
2806
|
-
InvalidStageTransition: GenericPalletError;
|
|
2807
|
-
|
|
2808
|
-
/**
|
|
2809
|
-
* Unsigned validation failed.
|
|
2810
|
-
**/
|
|
2811
|
-
UnsignedValidationFailed: GenericPalletError;
|
|
2812
|
-
|
|
2813
2730
|
/**
|
|
2814
2731
|
* Generic pallet error
|
|
2815
2732
|
**/
|