Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
nohaapav committed Sep 23, 2023
1 parent 39af2fd commit 5b30c26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/sdk/src/pool/stable/StableSwapClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, PalletStableswapPoolInfo> = new Map([]);
Expand Down
3 changes: 2 additions & 1 deletion packages/sdk/src/pool/xyk/XykPoolClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5b30c26

Please sign in to comment.