@polkadot/api-augment 10.12.2 → 10.12.3
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/cjs/packageInfo.js +1 -1
- package/kusama/consts.d.ts +66 -52
- package/kusama/errors.d.ts +239 -25
- package/kusama/events.d.ts +325 -92
- package/kusama/query.d.ts +247 -90
- package/kusama/runtime.d.ts +2 -120
- package/kusama/tx.d.ts +402 -132
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +68 -47
- package/polkadot/errors.d.ts +186 -24
- package/polkadot/events.d.ts +267 -85
- package/polkadot/query.d.ts +276 -87
- package/polkadot/runtime.d.ts +16 -1
- package/polkadot/tx.d.ts +355 -90
- package/substrate/runtime.d.ts +4 -4
package/substrate/runtime.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ import type { AccountId, Balance, Block, BlockNumber, Call, Hash, Header, Index,
|
|
|
20
20
|
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
|
21
21
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
|
22
22
|
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
|
23
|
-
import type {
|
|
23
|
+
import type { StagingXcmV3MultiLocation } from '@polkadot/types/lookup';
|
|
24
24
|
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
|
25
25
|
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
|
26
26
|
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
|
@@ -42,15 +42,15 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
42
42
|
/**
|
|
43
43
|
* Get pool reserves
|
|
44
44
|
**/
|
|
45
|
-
getReserves: AugmentedCall<ApiType, (asset1:
|
|
45
|
+
getReserves: AugmentedCall<ApiType, (asset1: StagingXcmV3MultiLocation, asset2: StagingXcmV3MultiLocation) => Observable<Option<ITuple<[Balance, Balance]>>>>;
|
|
46
46
|
/**
|
|
47
47
|
* Quote price: exact tokens for tokens
|
|
48
48
|
**/
|
|
49
|
-
quotePriceExactTokensForTokens: AugmentedCall<ApiType, (asset1:
|
|
49
|
+
quotePriceExactTokensForTokens: AugmentedCall<ApiType, (asset1: StagingXcmV3MultiLocation, asset2: StagingXcmV3MultiLocation, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<Balance>>>;
|
|
50
50
|
/**
|
|
51
51
|
* Quote price: tokens for exact tokens
|
|
52
52
|
**/
|
|
53
|
-
quotePriceTokensForExactTokens: AugmentedCall<ApiType, (asset1:
|
|
53
|
+
quotePriceTokensForExactTokens: AugmentedCall<ApiType, (asset1: StagingXcmV3MultiLocation, asset2: StagingXcmV3MultiLocation, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<Balance>>>;
|
|
54
54
|
/**
|
|
55
55
|
* Generic call
|
|
56
56
|
**/
|