diff --git a/packages/lending/src/utils/pools.ts b/packages/lending/src/utils/pools.ts index a54564a6..f442cff2 100644 --- a/packages/lending/src/utils/pools.ts +++ b/packages/lending/src/utils/pools.ts @@ -1,9 +1,9 @@ +import { contexts, models, programIds } from '@oyster/common'; +import { AccountLayout, MintLayout } from '@solana/spl-token'; import { Connection, PublicKey } from '@solana/web3.js'; import { useEffect, useMemo, useState } from 'react'; -import { MintLayout, AccountLayout } from '@solana/spl-token'; -import { utils, models, contexts } from '@oyster/common'; import { PoolInfo } from '../models'; -const { programIds } = utils; + const { TokenSwapLayout, TokenSwapLayoutLegacyV0: TokenSwapLayoutV0, diff --git a/packages/lending/src/utils/utils.ts b/packages/lending/src/utils/utils.ts index 60509531..b7ec20c8 100644 --- a/packages/lending/src/utils/utils.ts +++ b/packages/lending/src/utils/utils.ts @@ -1,4 +1,4 @@ -import { utils, KnownTokenMap } from '@oyster/common'; +import { KnownTokenMap, utils } from '@oyster/common'; import { PoolInfo } from '../models'; export function getPoolName(