@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.
- package/kusama/index.d.ts +1 -1
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/events.d.ts +34 -76
- package/kusama-asset-hub/index.d.ts +1 -1
- package/kusama-asset-hub/query.d.ts +17 -25
- package/kusama-asset-hub/runtime.d.ts +12 -15
- package/kusama-asset-hub/tx.d.ts +124 -140
- package/kusama-asset-hub/types.d.ts +183 -295
- package/package.json +2 -2
- package/paseo/consts.d.ts +9 -0
- package/paseo/events.d.ts +38 -0
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +23 -0
- package/paseo/runtime.d.ts +20 -0
- package/paseo/tx.d.ts +32 -0
- package/paseo/types.d.ts +99 -0
- package/polkadot/index.d.ts +1 -1
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/events.d.ts +34 -76
- package/polkadot-asset-hub/index.d.ts +1 -1
- package/polkadot-asset-hub/query.d.ts +17 -25
- package/polkadot-asset-hub/runtime.d.ts +12 -15
- package/polkadot-asset-hub/tx.d.ts +124 -140
- package/polkadot-asset-hub/types.d.ts +183 -295
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/events.d.ts +64 -64
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/query.d.ts +26 -26
- package/westend-asset-hub/runtime.d.ts +12 -12
- package/westend-asset-hub/tx.d.ts +136 -136
- package/westend-asset-hub/types.d.ts +462 -426
|
@@ -29,7 +29,7 @@ import type {
|
|
|
29
29
|
SpRuntimeTransactionValidityValidTransaction,
|
|
30
30
|
SpRuntimeTransactionValidityTransactionSource,
|
|
31
31
|
SpCoreCryptoKeyTypeId,
|
|
32
|
-
|
|
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 {
|
|
427
|
-
* @param {
|
|
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:
|
|
435
|
-
asset2:
|
|
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 {
|
|
449
|
-
* @param {
|
|
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:
|
|
457
|
-
asset2:
|
|
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 {
|
|
468
|
-
* @param {
|
|
467
|
+
* @param {StagingXcmV5Location} asset1
|
|
468
|
+
* @param {StagingXcmV5Location} asset2
|
|
469
469
|
**/
|
|
470
470
|
getReserves: GenericRuntimeApiMethod<
|
|
471
471
|
Rv,
|
|
472
|
-
(asset1:
|
|
472
|
+
(asset1: StagingXcmV5Location, asset2: StagingXcmV5Location) => Promise<[bigint, bigint] | undefined>
|
|
473
473
|
>;
|
|
474
474
|
|
|
475
475
|
/**
|