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;