@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.
Files changed (41) hide show
  1. package/basilisk/consts.d.ts +9 -0
  2. package/basilisk/events.d.ts +15 -0
  3. package/basilisk/index.d.ts +1 -1
  4. package/basilisk/types.d.ts +6 -0
  5. package/hydration/consts.d.ts +0 -5
  6. package/hydration/errors.d.ts +17 -2
  7. package/hydration/events.d.ts +61 -0
  8. package/hydration/index.d.ts +1 -1
  9. package/hydration/query.d.ts +38 -0
  10. package/hydration/tx.d.ts +265 -0
  11. package/hydration/types.d.ts +333 -6
  12. package/moonbeam/index.d.ts +1 -1
  13. package/package.json +2 -2
  14. package/paseo/consts.d.ts +0 -9
  15. package/paseo/errors.d.ts +25 -108
  16. package/paseo/events.d.ts +0 -308
  17. package/paseo/index.d.ts +3 -1
  18. package/paseo/query.d.ts +82 -275
  19. package/paseo/runtime.d.ts +73 -2
  20. package/paseo/tx.d.ts +60 -375
  21. package/paseo/types.d.ts +160 -908
  22. package/paseo/view-functions.d.ts +0 -1
  23. package/paseo-people/consts.d.ts +2 -1
  24. package/paseo-people/events.d.ts +20 -0
  25. package/paseo-people/index.d.ts +3 -1
  26. package/paseo-people/json-rpc.d.ts +1 -0
  27. package/paseo-people/query.d.ts +45 -4
  28. package/paseo-people/runtime.d.ts +6 -2
  29. package/paseo-people/tx.d.ts +22 -13
  30. package/paseo-people/types.d.ts +104 -28
  31. package/paseo-people/view-functions.d.ts +38 -1
  32. package/polkadot-people/index.d.ts +1 -1
  33. package/westend-asset-hub/consts.d.ts +11 -2
  34. package/westend-asset-hub/errors.d.ts +29 -4
  35. package/westend-asset-hub/events.d.ts +60 -13
  36. package/westend-asset-hub/index.d.ts +1 -1
  37. package/westend-asset-hub/query.d.ts +100 -13
  38. package/westend-asset-hub/runtime.d.ts +59 -3
  39. package/westend-asset-hub/tx.d.ts +76 -35
  40. package/westend-asset-hub/types.d.ts +186 -58
  41. package/westend-asset-hub/view-functions.d.ts +59 -1
@@ -1112,6 +1112,15 @@ export interface ChainConsts extends GenericChainConsts {
1112
1112
  **/
1113
1113
  [name: string]: any;
1114
1114
  };
1115
+ /**
1116
+ * Pallet `CollatorRotation`'s constants
1117
+ **/
1118
+ collatorRotation: {
1119
+ /**
1120
+ * Generic pallet constant
1121
+ **/
1122
+ [name: string]: any;
1123
+ };
1115
1124
  /**
1116
1125
  * Pallet `EmaOracle`'s constants
1117
1126
  **/
@@ -2993,6 +2993,21 @@ export interface ChainEvents extends GenericChainEvents {
2993
2993
  **/
2994
2994
  [prop: string]: GenericPalletEvent;
2995
2995
  };
2996
+ /**
2997
+ * Pallet `CollatorRotation`'s events
2998
+ **/
2999
+ collatorRotation: {
3000
+ CollatorBenched: GenericPalletEvent<
3001
+ 'CollatorRotation',
3002
+ 'CollatorBenched',
3003
+ { who: AccountId32; sessionIndex: number }
3004
+ >;
3005
+
3006
+ /**
3007
+ * Generic pallet event
3008
+ **/
3009
+ [prop: string]: GenericPalletEvent;
3010
+ };
2996
3011
  /**
2997
3012
  * Pallet `EmaOracle`'s events
2998
3013
  **/
@@ -44,7 +44,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
44
44
 
45
45
  /**
46
46
  * @name: BasiliskApi
47
- * @specVersion: 130
47
+ * @specVersion: 132
48
48
  **/
49
49
  export interface BasiliskApi extends GenericSubstrateApi {
50
50
  rpc: ChainJsonRpcApis;
@@ -8813,6 +8813,7 @@ export type BasiliskRuntimeRuntimeEvent =
8813
8813
  | { pallet: 'CollatorRewards'; palletEvent: PalletCollatorRewardsEvent }
8814
8814
  | { pallet: 'Broadcast'; palletEvent: PalletBroadcastEvent }
8815
8815
  | { pallet: 'MultiBlockMigrations'; palletEvent: PalletMigrationsEvent }
8816
+ | { pallet: 'CollatorRotation'; palletEvent: PalletCollatorRotationEvent }
8816
8817
  | { pallet: 'EmaOracle'; palletEvent: PalletEmaOracleEvent }
8817
8818
  | { pallet: 'Currencies'; palletEvent: PalletCurrenciesModuleEvent }
8818
8819
  | { pallet: 'Tokens'; palletEvent: OrmlTokensModuleEvent }
@@ -11122,6 +11123,11 @@ export type PalletMigrationsEvent =
11122
11123
  };
11123
11124
  };
11124
11125
 
11126
+ /**
11127
+ * The `Event` enum of this pallet
11128
+ **/
11129
+ export type PalletCollatorRotationEvent = { name: 'CollatorBenched'; data: { who: AccountId32; sessionIndex: number } };
11130
+
11125
11131
  /**
11126
11132
  * The `Event` enum of this pallet
11127
11133
  **/
@@ -1926,11 +1926,6 @@ export interface ChainConsts extends GenericChainConsts {
1926
1926
  * Pallet `EmaOracle`'s constants
1927
1927
  **/
1928
1928
  emaOracle: {
1929
- /**
1930
- * Maximum allowed percentage difference for bifrost oracle price update
1931
- **/
1932
- maxAllowedPriceDifference: Permill;
1933
-
1934
1929
  /**
1935
1930
  * Maximum number of unique oracle entries expected in one block.
1936
1931
  **/
@@ -4209,9 +4209,24 @@ export interface ChainErrors extends GenericChainErrors {
4209
4209
  AssetNotFound: GenericPalletError;
4210
4210
 
4211
4211
  /**
4212
- * The new price is outside the max allowed range
4212
+ * The external source is already registered.
4213
4213
  **/
4214
- PriceOutsideAllowedRange: GenericPalletError;
4214
+ SourceAlreadyRegistered: GenericPalletError;
4215
+
4216
+ /**
4217
+ * The external source was not found.
4218
+ **/
4219
+ SourceNotFound: GenericPalletError;
4220
+
4221
+ /**
4222
+ * The caller is not authorized for the given (source, pair).
4223
+ **/
4224
+ NotAuthorized: GenericPalletError;
4225
+
4226
+ /**
4227
+ * Price must not be zero.
4228
+ **/
4229
+ PriceIsZero: GenericPalletError;
4215
4230
 
4216
4231
  /**
4217
4232
  * Generic pallet error
@@ -30,6 +30,7 @@ import type {
30
30
  PalletConvictionVotingTally,
31
31
  FrameSupportDispatchPostDispatchInfo,
32
32
  SpRuntimeDispatchErrorWithPostInfo,
33
+ PalletDispatcherHyperbridgeCleanupStage,
33
34
  PalletAssetRegistryAssetType,
34
35
  HydradxRuntimeXcmAssetLocation,
35
36
  PalletClaimsEthereumAddress,
@@ -1611,6 +1612,38 @@ export interface ChainEvents extends GenericChainEvents {
1611
1612
  { callHash: H256; result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }
1612
1613
  >;
1613
1614
 
1615
+ /**
1616
+ * Emitted each block when cleanup deletes a batch of keys.
1617
+ **/
1618
+ HyperbridgeCleanupProgress: GenericPalletEvent<
1619
+ 'Dispatcher',
1620
+ 'HyperbridgeCleanupProgress',
1621
+ { stage: PalletDispatcherHyperbridgeCleanupStage; keysDeleted: number }
1622
+ >;
1623
+
1624
+ /**
1625
+ * Emitted when all keys in a stage are removed and cleanup advances.
1626
+ **/
1627
+ HyperbridgeCleanupStageCompleted: GenericPalletEvent<
1628
+ 'Dispatcher',
1629
+ 'HyperbridgeCleanupStageCompleted',
1630
+ { stage: PalletDispatcherHyperbridgeCleanupStage }
1631
+ >;
1632
+
1633
+ /**
1634
+ * Emitted when all three stages are done and cleanup disables itself.
1635
+ **/
1636
+ HyperbridgeCleanupCompleted: GenericPalletEvent<'Dispatcher', 'HyperbridgeCleanupCompleted', null>;
1637
+
1638
+ /**
1639
+ * Emitted when cleanup is paused or resumed via extrinsic.
1640
+ **/
1641
+ HyperbridgeCleanupStatusChanged: GenericPalletEvent<
1642
+ 'Dispatcher',
1643
+ 'HyperbridgeCleanupStatusChanged',
1644
+ { paused: boolean }
1645
+ >;
1646
+
1614
1647
  /**
1615
1648
  * Generic pallet event
1616
1649
  **/
@@ -4566,6 +4599,34 @@ export interface ChainEvents extends GenericChainEvents {
4566
4599
  }
4567
4600
  >;
4568
4601
 
4602
+ /**
4603
+ * An external oracle source was registered.
4604
+ **/
4605
+ ExternalSourceRegistered: GenericPalletEvent<'EmaOracle', 'ExternalSourceRegistered', { source: FixedBytes<8> }>;
4606
+
4607
+ /**
4608
+ * An external oracle source was removed.
4609
+ **/
4610
+ ExternalSourceRemoved: GenericPalletEvent<'EmaOracle', 'ExternalSourceRemoved', { source: FixedBytes<8> }>;
4611
+
4612
+ /**
4613
+ * An account was authorized to update the given (source, pair).
4614
+ **/
4615
+ AuthorizedAccountAdded: GenericPalletEvent<
4616
+ 'EmaOracle',
4617
+ 'AuthorizedAccountAdded',
4618
+ { source: FixedBytes<8>; pair: [number, number]; account: AccountId32 }
4619
+ >;
4620
+
4621
+ /**
4622
+ * An authorization was removed for the given (source, pair, account).
4623
+ **/
4624
+ AuthorizedAccountRemoved: GenericPalletEvent<
4625
+ 'EmaOracle',
4626
+ 'AuthorizedAccountRemoved',
4627
+ { source: FixedBytes<8>; pair: [number, number]; account: AccountId32 }
4628
+ >;
4629
+
4569
4630
  /**
4570
4631
  * Generic pallet event
4571
4632
  **/
@@ -51,7 +51,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
51
51
 
52
52
  /**
53
53
  * @name: HydrationApi
54
- * @specVersion: 405
54
+ * @specVersion: 411
55
55
  **/
56
56
  export interface HydrationApi extends GenericSubstrateApi {
57
57
  rpc: ChainJsonRpcApis;
@@ -56,6 +56,7 @@ import type {
56
56
  PalletStateTrieMigrationMigrationLimits,
57
57
  PalletConvictionVotingVoteVoting,
58
58
  PalletReferendaReferendumInfo,
59
+ PalletDispatcherHyperbridgeCleanupStage,
59
60
  EvmCoreErrorExitReason,
60
61
  PalletAssetRegistryAssetDetails,
61
62
  HydradxRuntimeXcmAssetLocation,
@@ -1187,6 +1188,20 @@ export interface ChainStorage extends GenericChainStorage {
1187
1188
  **/
1188
1189
  extraGas: GenericStorageQuery<() => bigint>;
1189
1190
 
1191
+ /**
1192
+ * Whether the background ISMP storage cleanup is active.
1193
+ *
1194
+ * @param {Callback<boolean> =} callback
1195
+ **/
1196
+ cleanupEnabled: GenericStorageQuery<() => boolean>;
1197
+
1198
+ /**
1199
+ * Current stage of the background ISMP storage cleanup.
1200
+ *
1201
+ * @param {Callback<PalletDispatcherHyperbridgeCleanupStage | undefined> =} callback
1202
+ **/
1203
+ cleanupStage: GenericStorageQuery<() => PalletDispatcherHyperbridgeCleanupStage | undefined>;
1204
+
1190
1205
  /**
1191
1206
  *
1192
1207
  * @param {Callback<EvmCoreErrorExitReason | undefined> =} callback
@@ -3386,6 +3401,29 @@ export interface ChainStorage extends GenericChainStorage {
3386
3401
  **/
3387
3402
  whitelistedAssets: GenericStorageQuery<() => Array<[FixedBytes<8>, [number, number]]>>;
3388
3403
 
3404
+ /**
3405
+ * Registered external oracle sources.
3406
+ *
3407
+ * @param {FixedBytes<8>} arg
3408
+ * @param {Callback<[] | undefined> =} callback
3409
+ **/
3410
+ externalSources: GenericStorageQuery<(arg: FixedBytes<8>) => [] | undefined, FixedBytes<8>>;
3411
+
3412
+ /**
3413
+ * Authorized accounts per (external oracle source, asset pair).
3414
+ *
3415
+ * Authorization is scoped per-pair so that a compromised external oracle account can
3416
+ * only update the specific pairs it was authorized for, limiting DDoS blast radius.
3417
+ * The asset pair is stored in `ordered_pair` form.
3418
+ *
3419
+ * @param {[FixedBytes<8>, [number, number], AccountId32Like]} arg
3420
+ * @param {Callback<[] | undefined> =} callback
3421
+ **/
3422
+ authorizedAccounts: GenericStorageQuery<
3423
+ (arg: [FixedBytes<8>, [number, number], AccountId32Like]) => [] | undefined,
3424
+ [FixedBytes<8>, [number, number], AccountId32]
3425
+ >;
3426
+
3389
3427
  /**
3390
3428
  * Generic pallet storage query
3391
3429
  **/
package/hydration/tx.d.ts CHANGED
@@ -5451,6 +5451,42 @@ export interface ChainTx<
5451
5451
  >
5452
5452
  >;
5453
5453
 
5454
+ /**
5455
+ * Enable/pause the background ISMP storage cleanup. If enabled for the first time,
5456
+ * starting from the first stage.
5457
+ *
5458
+ * @param {boolean} doPause
5459
+ **/
5460
+ pauseHyperbridgeCleanup: GenericTxCall<
5461
+ (doPause: boolean) => ChainSubmittableExtrinsic<
5462
+ {
5463
+ pallet: 'Dispatcher';
5464
+ palletCall: {
5465
+ name: 'PauseHyperbridgeCleanup';
5466
+ params: { doPause: boolean };
5467
+ };
5468
+ },
5469
+ ChainKnownTypes
5470
+ >
5471
+ >;
5472
+
5473
+ /**
5474
+ *
5475
+ * @param {HydradxRuntimeRuntimeCallLike} call
5476
+ **/
5477
+ dispatchWithFeePayer: GenericTxCall<
5478
+ (call: HydradxRuntimeRuntimeCallLike) => ChainSubmittableExtrinsic<
5479
+ {
5480
+ pallet: 'Dispatcher';
5481
+ palletCall: {
5482
+ name: 'DispatchWithFeePayer';
5483
+ params: { call: HydradxRuntimeRuntimeCallLike };
5484
+ };
5485
+ },
5486
+ ChainKnownTypes
5487
+ >
5488
+ >;
5489
+
5454
5490
  /**
5455
5491
  * Generic pallet tx call
5456
5492
  **/
@@ -13454,6 +13490,14 @@ export interface ChainTx<
13454
13490
  **/
13455
13491
  emaOracle: {
13456
13492
  /**
13493
+ * Add an oracle to the whitelist so it is tracked by the pallet.
13494
+ *
13495
+ * Parameters:
13496
+ * - `origin`: `AuthorityOrigin`
13497
+ * - `source`: data source identifier
13498
+ * - `assets`: the asset pair to track
13499
+ *
13500
+ * Emits `AddedToWhitelist` event when successful.
13457
13501
  *
13458
13502
  * @param {FixedBytes<8>} source
13459
13503
  * @param {[number, number]} assets
@@ -13475,6 +13519,14 @@ export interface ChainTx<
13475
13519
  >;
13476
13520
 
13477
13521
  /**
13522
+ * Remove an oracle from the whitelist and delete all its stored entries.
13523
+ *
13524
+ * Parameters:
13525
+ * - `origin`: `AuthorityOrigin`
13526
+ * - `source`: data source identifier
13527
+ * - `assets`: the asset pair to stop tracking
13528
+ *
13529
+ * Emits `RemovedFromWhitelist` event when successful.
13478
13530
  *
13479
13531
  * @param {FixedBytes<8>} source
13480
13532
  * @param {[number, number]} assets
@@ -13496,10 +13548,21 @@ export interface ChainTx<
13496
13548
  >;
13497
13549
 
13498
13550
  /**
13551
+ * Update an oracle entry for BIFROST_SOURCE. Thin wrapper around `set_external_oracle`.
13552
+ *
13553
+ * Parameters:
13554
+ * - `origin`: signed origin — must be authorized for the specific `(BIFROST_SOURCE, pair)`
13555
+ * - `asset_a`: XCM location of the first asset
13556
+ * - `asset_b`: XCM location of the second asset
13557
+ * - `price`: price as `(numerator, denominator)`
13558
+ *
13559
+ * Emits `OracleUpdated` event on the next `on_finalize`.
13499
13560
  *
13500
13561
  * @param {XcmVersionedLocation} assetA
13501
13562
  * @param {XcmVersionedLocation} assetB
13502
13563
  * @param {[bigint, bigint]} price
13564
+ *
13565
+ * @deprecated Use `set_external_oracle` instead. Kept only for backward compatibility with bifrost and will be removed in the future
13503
13566
  **/
13504
13567
  updateBifrostOracle: GenericTxCall<
13505
13568
  (
@@ -13518,6 +13581,208 @@ export interface ChainTx<
13518
13581
  >
13519
13582
  >;
13520
13583
 
13584
+ /**
13585
+ * Submit an oracle price update for an external source.
13586
+ *
13587
+ * The call is feeless on success (`Pays::No`).
13588
+ *
13589
+ * Parameters:
13590
+ * - `origin`: signed origin — must be authorized for the specific `(source, pair)` via
13591
+ * `add_authorized_account`
13592
+ * - `source`: external source identifier (must be registered via `register_external_source`)
13593
+ * - `asset_a`: XCM location of the first asset
13594
+ * - `asset_b`: XCM location of the second asset
13595
+ * - `price`: price as `(numerator, denominator)` — both must be non-zero
13596
+ *
13597
+ * Emits `OracleUpdated` event on the next `on_finalize`.
13598
+ *
13599
+ * @param {FixedBytes<8>} source
13600
+ * @param {XcmVersionedLocation} assetA
13601
+ * @param {XcmVersionedLocation} assetB
13602
+ * @param {[bigint, bigint]} price
13603
+ **/
13604
+ setExternalOracle: GenericTxCall<
13605
+ (
13606
+ source: FixedBytes<8>,
13607
+ assetA: XcmVersionedLocation,
13608
+ assetB: XcmVersionedLocation,
13609
+ price: [bigint, bigint],
13610
+ ) => ChainSubmittableExtrinsic<
13611
+ {
13612
+ pallet: 'EmaOracle';
13613
+ palletCall: {
13614
+ name: 'SetExternalOracle';
13615
+ params: {
13616
+ source: FixedBytes<8>;
13617
+ assetA: XcmVersionedLocation;
13618
+ assetB: XcmVersionedLocation;
13619
+ price: [bigint, bigint];
13620
+ };
13621
+ };
13622
+ },
13623
+ ChainKnownTypes
13624
+ >
13625
+ >;
13626
+
13627
+ /**
13628
+ * Update an external oracle entry using local `AssetId`s directly.
13629
+ *
13630
+ * Cheaper variant of `set_external_oracle` for callers that already know the local
13631
+ * AssetIds — skips the `VersionedLocation` → `AssetId` conversion and the
13632
+ * `AssetRegistry::LocationAssets` storage read. Authorization shares the same
13633
+ * `AuthorizedAccounts` storage as the location variant.
13634
+ *
13635
+ * Parameters:
13636
+ * - `origin`: signed origin — must be authorized for the specific `(source, pair)` via
13637
+ * `add_authorized_account`
13638
+ * - `source`: external source identifier (must be registered via `register_external_source`)
13639
+ * - `asset_a`: local AssetId of the first asset
13640
+ * - `asset_b`: local AssetId of the second asset
13641
+ * - `price`: price as `(numerator, denominator)` — both must be non-zero
13642
+ *
13643
+ * The call is feeless on success (`Pays::No`).
13644
+ *
13645
+ * Emits `OracleUpdated` event on the next `on_finalize`.
13646
+ *
13647
+ * @param {FixedBytes<8>} source
13648
+ * @param {number} assetA
13649
+ * @param {number} assetB
13650
+ * @param {[bigint, bigint]} price
13651
+ **/
13652
+ setExternalOracleByIds: GenericTxCall<
13653
+ (
13654
+ source: FixedBytes<8>,
13655
+ assetA: number,
13656
+ assetB: number,
13657
+ price: [bigint, bigint],
13658
+ ) => ChainSubmittableExtrinsic<
13659
+ {
13660
+ pallet: 'EmaOracle';
13661
+ palletCall: {
13662
+ name: 'SetExternalOracleByIds';
13663
+ params: { source: FixedBytes<8>; assetA: number; assetB: number; price: [bigint, bigint] };
13664
+ };
13665
+ },
13666
+ ChainKnownTypes
13667
+ >
13668
+ >;
13669
+
13670
+ /**
13671
+ * Register a new external oracle source.
13672
+ *
13673
+ * Parameters:
13674
+ * - `origin`: `AuthorityOrigin`
13675
+ * - `source`: 8-byte source identifier to register
13676
+ *
13677
+ * Emits `ExternalSourceRegistered` event when successful.
13678
+ *
13679
+ * @param {FixedBytes<8>} source
13680
+ **/
13681
+ registerExternalSource: GenericTxCall<
13682
+ (source: FixedBytes<8>) => ChainSubmittableExtrinsic<
13683
+ {
13684
+ pallet: 'EmaOracle';
13685
+ palletCall: {
13686
+ name: 'RegisterExternalSource';
13687
+ params: { source: FixedBytes<8> };
13688
+ };
13689
+ },
13690
+ ChainKnownTypes
13691
+ >
13692
+ >;
13693
+
13694
+ /**
13695
+ * Remove an external oracle source, its per-pair authorizations, and ALL oracle data it
13696
+ * ever wrote (both committed `Oracles` rows and any in-flight `Accumulator` entries).
13697
+ *
13698
+ * Parameters:
13699
+ * - `origin`: `AuthorityOrigin`
13700
+ * - `source`: source identifier to remove
13701
+ *
13702
+ * Emits `ExternalSourceRemoved` event when successful.
13703
+ *
13704
+ * @param {FixedBytes<8>} source
13705
+ **/
13706
+ removeExternalSource: GenericTxCall<
13707
+ (source: FixedBytes<8>) => ChainSubmittableExtrinsic<
13708
+ {
13709
+ pallet: 'EmaOracle';
13710
+ palletCall: {
13711
+ name: 'RemoveExternalSource';
13712
+ params: { source: FixedBytes<8> };
13713
+ };
13714
+ },
13715
+ ChainKnownTypes
13716
+ >
13717
+ >;
13718
+
13719
+ /**
13720
+ * Authorize `account` to submit oracle updates for a specific `(source, pair)`.
13721
+ *
13722
+ * Authorization is scoped per-pair so a compromised account can only update the
13723
+ * pairs it was explicitly granted, limiting DDoS blast radius.
13724
+ *
13725
+ * Parameters:
13726
+ * - `origin`: `AuthorityOrigin`
13727
+ * - `source`: external source identifier (must already be registered)
13728
+ * - `assets`: the asset pair to authorize — stored in ordered form
13729
+ * - `account`: the account to authorize
13730
+ *
13731
+ * Emits `AuthorizedAccountAdded` event when successful.
13732
+ *
13733
+ * @param {FixedBytes<8>} source
13734
+ * @param {[number, number]} assets
13735
+ * @param {AccountId32Like} account
13736
+ **/
13737
+ addAuthorizedAccount: GenericTxCall<
13738
+ (
13739
+ source: FixedBytes<8>,
13740
+ assets: [number, number],
13741
+ account: AccountId32Like,
13742
+ ) => ChainSubmittableExtrinsic<
13743
+ {
13744
+ pallet: 'EmaOracle';
13745
+ palletCall: {
13746
+ name: 'AddAuthorizedAccount';
13747
+ params: { source: FixedBytes<8>; assets: [number, number]; account: AccountId32Like };
13748
+ };
13749
+ },
13750
+ ChainKnownTypes
13751
+ >
13752
+ >;
13753
+
13754
+ /**
13755
+ * Revoke oracle-update authorization for `account` on a specific `(source, pair)`.
13756
+ *
13757
+ * Parameters:
13758
+ * - `origin`: `AuthorityOrigin`
13759
+ * - `source`: external source identifier (must already be registered)
13760
+ * - `assets`: the asset pair to revoke — matched in ordered form
13761
+ * - `account`: the account to revoke
13762
+ *
13763
+ * Emits `AuthorizedAccountRemoved` event when successful.
13764
+ *
13765
+ * @param {FixedBytes<8>} source
13766
+ * @param {[number, number]} assets
13767
+ * @param {AccountId32Like} account
13768
+ **/
13769
+ removeAuthorizedAccount: GenericTxCall<
13770
+ (
13771
+ source: FixedBytes<8>,
13772
+ assets: [number, number],
13773
+ account: AccountId32Like,
13774
+ ) => ChainSubmittableExtrinsic<
13775
+ {
13776
+ pallet: 'EmaOracle';
13777
+ palletCall: {
13778
+ name: 'RemoveAuthorizedAccount';
13779
+ params: { source: FixedBytes<8>; assets: [number, number]; account: AccountId32Like };
13780
+ };
13781
+ },
13782
+ ChainKnownTypes
13783
+ >
13784
+ >;
13785
+
13521
13786
  /**
13522
13787
  * Generic pallet tx call
13523
13788
  **/