@@ -7,7 +7,7 @@ import type { InternalAccount } from '@metamask/keyring-internal-api';
77import { abiERC20 } from '@metamask/metamask-eth-abis' ;
88import { StaticIntervalPollingController } from '@metamask/polling-controller' ;
99import type { TransactionController } from '@metamask/transaction-controller' ;
10- import type { CaipAssetType , Hex } from '@metamask/utils' ;
10+ import type { CaipAssetType } from '@metamask/utils' ;
1111import { v4 as uuid } from 'uuid' ;
1212
1313import { toQuoteResponseV2 } from './coercers/quote-response-v1-to-v2.js' ;
@@ -40,7 +40,6 @@ import type {
4040} from './types.js' ;
4141import { getAssetIdsForToken , toExchangeRates } from './utils/assets.js' ;
4242import { hasSufficientBalance } from './utils/balance.js' ;
43- import { getAccountByAddress } from './utils/controllers/accounts.js' ;
4443import {
4544 getDefaultBridgeControllerState ,
4645 isCrossChain ,
@@ -53,6 +52,8 @@ import {
5352 formatChainIdToCaip ,
5453 formatChainIdToHex ,
5554} from './utils/caip-formatters.js' ;
55+ import { getAccountByAddress } from './utils/controllers/accounts.js' ;
56+ import { getNetworkClientByChainId } from './utils/controllers/network.js' ;
5657import {
5758 getBridgeFeatureFlags ,
5859 hasMinimumRequiredVersion ,
@@ -103,7 +104,6 @@ import {
103104} from './validators/quote-request.js' ;
104105import type { QuoteResponseV1 } from './validators/quote-response-v1.js' ;
105106import type { QuoteResponse } from './validators/quote-response.js' ;
106- import { getNetworkClientByChainId } from './utils/controllers/network.js' ;
107107
108108const metadata : StateMetadata < BridgeControllerState > = {
109109 quoteRequest : {
0 commit comments