@dedot/chaintypes 0.35.0 → 0.37.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.
@@ -29,7 +29,7 @@ import type {
29
29
  SpRuntimeTransactionValidityValidTransaction,
30
30
  SpRuntimeTransactionValidityTransactionSource,
31
31
  SpCoreCryptoKeyTypeId,
32
- StagingXcmV4Location,
32
+ StagingXcmV5Location,
33
33
  PalletTransactionPaymentRuntimeDispatchInfo,
34
34
  PalletTransactionPaymentFeeDetails,
35
35
  SpWeightsWeightV2Weight,
@@ -423,16 +423,16 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
423
423
  * (Use `amount_in_max` to control slippage.)
424
424
  *
425
425
  * @callname: AssetConversionApi_quote_price_tokens_for_exact_tokens
426
- * @param {StagingXcmV4Location} asset1
427
- * @param {StagingXcmV4Location} asset2
426
+ * @param {StagingXcmV5Location} asset1
427
+ * @param {StagingXcmV5Location} asset2
428
428
  * @param {bigint} amount
429
429
  * @param {boolean} include_fee
430
430
  **/
431
431
  quotePriceTokensForExactTokens: GenericRuntimeApiMethod<
432
432
  Rv,
433
433
  (
434
- asset1: StagingXcmV4Location,
435
- asset2: StagingXcmV4Location,
434
+ asset1: StagingXcmV5Location,
435
+ asset2: StagingXcmV5Location,
436
436
  amount: bigint,
437
437
  includeFee: boolean,
438
438
  ) => Promise<bigint | undefined>
@@ -445,16 +445,16 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
445
445
  * (Use `amount_out_min` to control slippage.)
446
446
  *
447
447
  * @callname: AssetConversionApi_quote_price_exact_tokens_for_tokens
448
- * @param {StagingXcmV4Location} asset1
449
- * @param {StagingXcmV4Location} asset2
448
+ * @param {StagingXcmV5Location} asset1
449
+ * @param {StagingXcmV5Location} asset2
450
450
  * @param {bigint} amount
451
451
  * @param {boolean} include_fee
452
452
  **/
453
453
  quotePriceExactTokensForTokens: GenericRuntimeApiMethod<
454
454
  Rv,
455
455
  (
456
- asset1: StagingXcmV4Location,
457
- asset2: StagingXcmV4Location,
456
+ asset1: StagingXcmV5Location,
457
+ asset2: StagingXcmV5Location,
458
458
  amount: bigint,
459
459
  includeFee: boolean,
460
460
  ) => Promise<bigint | undefined>
@@ -464,12 +464,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
464
464
  * Returns the size of the liquidity pool for the given asset pair.
465
465
  *
466
466
  * @callname: AssetConversionApi_get_reserves
467
- * @param {StagingXcmV4Location} asset1
468
- * @param {StagingXcmV4Location} asset2
467
+ * @param {StagingXcmV5Location} asset1
468
+ * @param {StagingXcmV5Location} asset2
469
469
  **/
470
470
  getReserves: GenericRuntimeApiMethod<
471
471
  Rv,
472
- (asset1: StagingXcmV4Location, asset2: StagingXcmV4Location) => Promise<[bigint, bigint] | undefined>
472
+ (asset1: StagingXcmV5Location, asset2: StagingXcmV5Location) => Promise<[bigint, bigint] | undefined>
473
473
  >;
474
474
 
475
475
  /**