From 5b30c26bb71a21c4c34b987025d57b4a69b8267b Mon Sep 17 00:00:00 2001 From: Pavol Noha Date: Sat, 23 Sep 2023 09:01:47 -1000 Subject: [PATCH] Fix imports --- packages/sdk/src/pool/stable/StableSwapClient.ts | 6 +++--- packages/sdk/src/pool/xyk/XykPoolClient.ts | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/sdk/src/pool/stable/StableSwapClient.ts b/packages/sdk/src/pool/stable/StableSwapClient.ts index 515c17b0..0d72801b 100644 --- a/packages/sdk/src/pool/stable/StableSwapClient.ts +++ b/packages/sdk/src/pool/stable/StableSwapClient.ts @@ -2,16 +2,16 @@ import type { StorageKey } from '@polkadot/types'; import type { PalletStableswapPoolInfo } from '@polkadot/types/lookup'; import type { AnyTuple } from '@polkadot/types/types'; import type { Option } from '@polkadot/types-codec'; +import { stringToU8a } from '@polkadot/util'; import { blake2AsHex, encodeAddress } from '@polkadot/util-crypto'; import { HYDRADX_SS58_PREFIX } from '../../consts'; import { PoolBase, PoolType, PoolFee, PoolLimits, PoolFees, PoolToken } from '../../types'; import { toPoolFee } from '../../utils/mapper'; -import { PoolClient } from '../PoolClient'; - import { StableMath } from './StableMath'; import { StableSwapBase, StableSwapFees } from './StableSwap'; -import { stringToU8a } from '@polkadot/util'; + +import { PoolClient } from '../PoolClient'; export class StableSwapClient extends PoolClient { private poolsData: Map = new Map([]); diff --git a/packages/sdk/src/pool/xyk/XykPoolClient.ts b/packages/sdk/src/pool/xyk/XykPoolClient.ts index 540b361b..9c738c97 100644 --- a/packages/sdk/src/pool/xyk/XykPoolClient.ts +++ b/packages/sdk/src/pool/xyk/XykPoolClient.ts @@ -2,9 +2,10 @@ import type { StorageKey } from '@polkadot/types'; import type { AnyTuple, Codec } from '@polkadot/types/types'; import { PoolBase, PoolType, PoolFee, PoolLimits, PoolFees } from '../../types'; -import { PoolClient } from '../PoolClient'; import { XykPoolFees } from './XykPool'; +import { PoolClient } from '../PoolClient'; + export class XykPoolClient extends PoolClient { private pools: PoolBase[] = []; private _poolsLoaded = false;