Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,21 @@
# RPC urls (http or websocket)
# RPC_URL_1=https://mainnet.infura.io/v3/your-infura-key
# RPC_URL_100=https://rpc.gnosischain.com
# RPC_URL_137=https://polygon.infura.io/v3/your-infura-key?
# RPC_URL_8453=wss://base-mainnet.io/ws/v3/your-infura-key
# RPC_URL_42161=wss://arbitrum-mainnet.io/ws/v3/your-infura-key
# RPC_URL_43114=wss://avalanche.infura.io/ws/v3/your-infura-key?
# RPC_URL_11155111=https://sepolia.infura.io/v3/your-infura-key
# RPC_URL_11155111=https://sepolia.infura.io/v3/your-infura-key

# CoW API
# COW_API_BASE_URL=https://api.cow.fi
# COW_API_URL_1=https://api.cow.fi/mainnet
# COW_API_URL_100=https://api.cow.fi/xdai
# COW_API_URL_137=https://api.cow.fi/polygon?
# COW_API_URL_8453=https://api.cow.fi/base
# COW_API_URL_42161=https://api.cow.fi/arbitrum_one
# COW_API_URL_43114=https://api.cow.fi/avalanche
# COW_API_URL_11155111=https://api.cow.fi/sepolia

# Caching
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { getExplorerUrl, logger, SupportedChainId } from '@cowprotocol/shared';
import { getExplorerUrl, logger } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { PushNotification } from '@cowprotocol/notifications';

export async function fromOrderInvalidationToNotification(props: {
Expand Down
2 changes: 2 additions & 0 deletions apps/twap/src/app/plugins/orderbook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ declare module 'fastify' {
[SupportedChainId.SEPOLIA]: Orderbook;
[SupportedChainId.GNOSIS_CHAIN]: Orderbook;
[SupportedChainId.MAINNET]: Orderbook;
[SupportedChainId.POLYGON]: Orderbook;
[SupportedChainId.AVALANCHE]: Orderbook;
Comment on lines +112 to +113
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Verify orderbook implementation matches type definitions.

The type definitions now include POLYGON and AVALANCHE orderbook instances, but the actual implementation in fastify.decorate (lines 85-92) only creates a mainnet orderbook. This mismatch could lead to runtime errors when code attempts to access these undefined properties.


🏁 Script executed:

#!/bin/bash
# Description: Check if there are any usages of the new orderbook properties that would fail at runtime
# Expected: Find usages of orderbook[SupportedChainId.POLYGON] or orderbook[SupportedChainId.AVALANCHE]

echo "Searching for POLYGON orderbook usage..."
rg -A 3 -B 3 "orderbook.*POLYGON|orderbook\[.*137\]"

echo "Searching for AVALANCHE orderbook usage..."  
rg -A 3 -B 3 "orderbook.*AVALANCHE|orderbook\[.*43114\]"

echo "Searching for any orderbook property access patterns..."
rg -A 2 "orderbook\[SupportedChainId\."

Length of output: 462


To verify the mismatch between the type declarations and the actual decorated properties, let’s inspect the relevant sections of orderbook.ts.


🏁 Script executed:

#!/bin/bash
# Locate the orderbook plugin file
file=$(fd orderbook.ts | head -n 1)
echo "Inspecting $file"

echo -e "\n--- Interface extension section ---"
rg -n -C2 "declare module 'fastify'" "$file"

echo -e "\n--- Decorate implementation section ---"
rg -n -C3 "fastify.decorate" "$file"

Length of output: 816


🏁 Script executed:

#!/bin/bash
file=apps/twap/src/app/plugins/orderbook.ts

echo "--- Interface extension (lines 90-130) ---"
sed -n '90,130p' "$file"

Length of output: 890


Ensure POLYGON and AVALANCHE orderbooks are actually decorated

The FastifyInstance.orderbook interface now declares properties for POLYGON and AVALANCHE (apps/twap/src/app/plugins/orderbook.ts, ~lines 103–110), but the plugin’s fastify.decorate('orderbook', { … }) call only passes mainnet (lines 85–92). At runtime, accessing fastify.orderbook[SupportedChainId.POLYGON] or …[SupportedChainId.AVALANCHE] will be undefined.

Please either:

  • Instantiate and decorate those chains alongside mainnet, for example:
    const polygon = getOrderbookForChain(SupportedChainId.POLYGON);
    const avalanche = getOrderbookForChain(SupportedChainId.AVALANCHE);
    fastify.decorate('orderbook', {
      gnosis,
      mainnet,
      sepolia,
      [SupportedChainId.POLYGON]: polygon,
      [SupportedChainId.AVALANCHE]: avalanche,
    });
  • Or remove the POLYGON/AVALANCHE entries from the interface until you’re ready to support them.

Files to update:

  • apps/twap/src/app/plugins/orderbook.ts:
    • Decorate implementation (lines 85–92)
    • Interface extension (lines 103–110)
🤖 Prompt for AI Agents
In apps/twap/src/app/plugins/orderbook.ts around lines 85 to 92 and 103 to 110,
the FastifyInstance.orderbook interface declares POLYGON and AVALANCHE
properties, but the fastify.decorate call only initializes mainnet. To fix this,
instantiate orderbook instances for POLYGON and AVALANCHE chains using the
appropriate factory or getter function, then include them in the object passed
to fastify.decorate alongside mainnet and other chains. Alternatively, if these
chains are not yet supported, remove their declarations from the interface to
avoid runtime undefined errors.

};
}
}
2 changes: 2 additions & 0 deletions apps/twap/src/app/utils/getConditionalOrderId.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ export const TWAP_HANDLER_ADDRESS: Record<SupportedChainId, string> = {
[SupportedChainId.GNOSIS_CHAIN]: twapHandlerAddress,
[SupportedChainId.ARBITRUM_ONE]: twapHandlerAddress,
[SupportedChainId.BASE]: twapHandlerAddress,
[SupportedChainId.POLYGON]: twapHandlerAddress, // TODO: check
[SupportedChainId.AVALANCHE]: twapHandlerAddress, // TODO: check
[SupportedChainId.SEPOLIA]: twapHandlerAddress,
};

Expand Down
12 changes: 11 additions & 1 deletion libs/repositories/src/const.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import BigNumber from 'bignumber.js';

interface TokenAddressAndDecimals {
Expand All @@ -23,6 +23,16 @@ export const USDC: Record<SupportedChainId, TokenAddressAndDecimals> = {
address: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
decimals: 6,
},
[SupportedChainId.POLYGON]: {
// https://polygonscan.com/address/0x3c499c542cef5e3811e1192ce70d8cc03d5c3359
address: '0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359',
decimals: 6,
},
[SupportedChainId.AVALANCHE]: {
// https://snowtrace.io/token/0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e
address: '0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e',
decimals: 6,
},
[SupportedChainId.SEPOLIA]: {
address: '0xbe72E441BF55620febc26715db68d3494213D8Cb',
decimals: 18,
Expand Down
6 changes: 3 additions & 3 deletions libs/repositories/src/datasources/coingecko.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';

import createClient from 'openapi-fetch';
import type { paths } from '../gen/coingecko/coingecko-pro-types';
Expand All @@ -16,6 +16,8 @@ export const SUPPORTED_COINGECKO_PLATFORMS: Record<
[SupportedChainId.GNOSIS_CHAIN]: 'xdai',
[SupportedChainId.ARBITRUM_ONE]: 'arbitrum-one',
[SupportedChainId.BASE]: 'base',
[SupportedChainId.POLYGON]: 'polygon-pos',
[SupportedChainId.AVALANCHE]: 'avalanche',
};

/**
Expand Down Expand Up @@ -57,7 +59,6 @@ export const COINGECKO_PLATFORMS: Record<number, string | undefined> = {
[1329]: 'sei-v2',
[13371]: 'immutable',
[1339]: 'elysium',
[137]: 'polygon-pos',
[1380012617]: 'rari',
[14]: 'flare-network',
[146]: 'sonic',
Expand Down Expand Up @@ -151,7 +152,6 @@ export const COINGECKO_PLATFORMS: Record<number, string | undefined> = {
[42220]: 'celo',
[42262]: 'oasis',
[42793]: 'etherlink',
[43114]: 'avalanche',
[4337]: 'beam',
[440017]: 'graphite-network',
[4689]: 'iotex',
Expand Down
7 changes: 2 additions & 5 deletions libs/repositories/src/datasources/cowApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@ import createClient from 'openapi-fetch';

const COW_API_BASE_URL = process.env.COW_API_BASE_URL || 'https://api.cow.fi';

import {
AllChainIds,
COW_API_NETWORK_NAMES,
SupportedChainId,
} from '@cowprotocol/shared';
import { AllChainIds, COW_API_NETWORK_NAMES } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import type { paths } from '../gen/cow/cow-api-types';

export type CowApiClient = ReturnType<typeof createClient<paths>>;
Expand Down
4 changes: 3 additions & 1 deletion libs/repositories/src/datasources/ethplorer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';

export const ETHPLORER_API_KEY = process.env.ETHPLORER_API_KEY as string;

Expand All @@ -8,4 +8,6 @@ export const ETHPLORER_BASE_URL: Record<SupportedChainId, string | null> = {
[SupportedChainId.GNOSIS_CHAIN]: null,
[SupportedChainId.ARBITRUM_ONE]: null,
[SupportedChainId.BASE]: null,
[SupportedChainId.POLYGON]: null,
[SupportedChainId.AVALANCHE]: null,
};
6 changes: 4 additions & 2 deletions libs/repositories/src/datasources/goldRush.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';

export const GOLD_RUSH_API_KEY = process.env.GOLD_RUSH_API_KEY;
export const GOLD_RUSH_API_BASE_URL = 'https://api.covalenthq.com';
Expand All @@ -8,8 +8,10 @@ export const GOLD_RUSH_CLIENT_NETWORK_MAPPING: Record<
string
> = {
[SupportedChainId.MAINNET]: 'eth-mainnet',
[SupportedChainId.SEPOLIA]: 'eth-sepolia',
[SupportedChainId.GNOSIS_CHAIN]: 'gnosis-mainnet',
[SupportedChainId.ARBITRUM_ONE]: 'arbitrum-mainnet',
[SupportedChainId.BASE]: 'base-mainnet',
[SupportedChainId.POLYGON]: 'polygon-mainnet',
[SupportedChainId.AVALANCHE]: 'avalanche-mainnet',
[SupportedChainId.SEPOLIA]: 'eth-sepolia',
};
4 changes: 3 additions & 1 deletion libs/repositories/src/datasources/moralis.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';

export const MORALIS_API_KEY = process.env.MORALIS_API_KEY;
export const MORALIS_API_BASE_URL = 'https://deep-index.moralis.io/api';
Expand All @@ -9,5 +9,7 @@ export const MORALIS_CLIENT_NETWORK_MAPPING: Record<SupportedChainId, string> =
[SupportedChainId.SEPOLIA]: 'sepolia',
[SupportedChainId.GNOSIS_CHAIN]: 'gnosis',
[SupportedChainId.ARBITRUM_ONE]: 'arbitrum',
[SupportedChainId.POLYGON]: 'polygon',
[SupportedChainId.AVALANCHE]: 'avalanche',
[SupportedChainId.BASE]: 'base',
};
15 changes: 13 additions & 2 deletions libs/repositories/src/datasources/viem.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
import { AllChainIds, logger, SupportedChainId } from '@cowprotocol/shared';
import { AllChainIds, logger } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { Chain, createPublicClient, http, PublicClient, webSocket } from 'viem';
import { arbitrum, base, gnosis, mainnet, sepolia } from 'viem/chains';
import {
arbitrum,
base,
gnosis,
mainnet,
sepolia,
polygon,
avalanche,
} from 'viem/chains';

const NETWORKS: Record<SupportedChainId, Chain> = {
[SupportedChainId.MAINNET]: mainnet,
[SupportedChainId.GNOSIS_CHAIN]: gnosis,
[SupportedChainId.ARBITRUM_ONE]: arbitrum,
[SupportedChainId.BASE]: base,
[SupportedChainId.POLYGON]: polygon,
[SupportedChainId.AVALANCHE]: avalanche,
[SupportedChainId.SEPOLIA]: sepolia,
};

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';

export const erc20RepositorySymbol = Symbol.for('Erc20Repository');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Erc20RepositoryCache } from './Erc20RepositoryCache';
import { Erc20, Erc20Repository } from './Erc20Repository';
import { CacheRepository } from '../CacheRepository/CacheRepository';
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';

describe('Erc20RepositoryCache', () => {
let erc20RepositoryCache: Erc20RepositoryCache;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { injectable } from 'inversify';
import { Erc20, Erc20Repository } from './Erc20Repository';
import { CacheRepository } from '../CacheRepository/CacheRepository';
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { getCacheKey, PartialCacheKey } from '../../utils/cache';

const NULL_VALUE = 'null';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { erc20Abi, PublicClient } from 'viem';
import { Erc20 } from './Erc20Repository';
import { Erc20RepositoryViem } from './Erc20RepositoryViem';
Expand Down Expand Up @@ -39,6 +39,8 @@ describe('Erc20RepositoryViem', () => {
[SupportedChainId.GNOSIS_CHAIN]: mockPublicClient,
[SupportedChainId.ARBITRUM_ONE]: mockPublicClient,
[SupportedChainId.BASE]: mockPublicClient,
[SupportedChainId.POLYGON]: mockPublicClient,
[SupportedChainId.AVALANCHE]: mockPublicClient,
[SupportedChainId.SEPOLIA]: mockPublicClient,
};

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { injectable } from 'inversify';
import { Erc20, Erc20Repository } from './Erc20Repository';
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { erc20Abi, getAddress, PublicClient } from 'viem';

@injectable()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { StateDiff } from './tenderlyTypes';

export interface SimulationInput {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { logger, SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { logger } from '@cowprotocol/shared';
import {
AssetChange,
SimulationError,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Container } from 'inversify';
import { SimulationRepositoryTenderly } from './SimulationRepositoryTenderly';
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { WETH, NULL_ADDRESS } from '../../../test/mock';
import {
TENDERLY_API_KEY,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';

export const tokenHolderRepositorySymbol = Symbol.for('TokenHolderRepository');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { TokenHolderRepositoryCache } from './TokenHolderRepositoryCache';
import IORedis from 'ioredis';
import { TokenHolderRepository } from './TokenHolderRepository';
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { NULL_ADDRESS, WETH } from '../../../test/mock';
import { CacheRepositoryRedis } from '../CacheRepository/CacheRepositoryRedis';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { injectable } from 'inversify';
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { CacheRepository } from '../CacheRepository/CacheRepository';
import { getCacheKey, PartialCacheKey } from '../../utils/cache';
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Container } from 'inversify';
import { TokenHolderRepositoryEthplorer } from './TokenHolderRepositoryEthplorer';
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { WETH, NULL_ADDRESS } from '../../../test/mock';
import { ETHPLORER_API_KEY } from '../../datasources/ethplorer';

Expand Down Expand Up @@ -63,5 +63,25 @@ describe('TokenHolderRepositoryEthplorer', () => {

expect(tokenHolders).toBeNull();
}, 100000);

it('should return null for polygon', async () => {
const tokenHolders =
await tokenHolderRepositoryEthplorer.getTopTokenHolders(
SupportedChainId.POLYGON,
WETH
);

expect(tokenHolders).toBeNull();
}, 100000);

it('should return null for avalanche', async () => {
const tokenHolders =
await tokenHolderRepositoryEthplorer.getTopTokenHolders(
SupportedChainId.AVALANCHE,
WETH
);

expect(tokenHolders).toBeNull();
}, 100000);
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
TokenHolderPoint,
TokenHolderRepository,
} from './TokenHolderRepository';
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import {
ETHPLORER_API_KEY,
ETHPLORER_BASE_URL,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { TokenHolderRepository } from './TokenHolderRepository';
import { TokenHolderRepositoryFallback } from './TokenHolderRepositoryFallback';
import { NULL_ADDRESS, WETH } from '../../../test/mock';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
TokenHolderPoint,
TokenHolderRepository,
} from './TokenHolderRepository';
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';

@injectable()
export class TokenHolderRepositoryFallback implements TokenHolderRepository {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { Container } from 'inversify';
import { NULL_ADDRESS, WETH } from '../../../test/mock';
import { GOLD_RUSH_API_KEY } from '../../datasources/goldRush';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
TokenHolderPoint,
TokenHolderRepository,
} from './TokenHolderRepository';
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import {
GOLD_RUSH_API_BASE_URL,
GOLD_RUSH_API_KEY,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { Container } from 'inversify';
import { NULL_ADDRESS, WETH } from '../../../test/mock';
import { MORALIS_API_KEY } from '../../datasources/moralis';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { injectable } from 'inversify';
import {
MORALIS_API_BASE_URL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { UsdRepositoryCache } from './UsdRepositoryCache';
import IORedis from 'ioredis';
import { UsdRepository } from './UsdRepository';
import { CacheRepositoryRedis } from '../CacheRepository/CacheRepositoryRedis';
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { WETH } from '../../../test/mock';
import type { PricePoint } from './UsdRepository';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { inject, injectable } from 'inversify';
import { injectable } from 'inversify';
import {
PricePoint,
PriceStrategy,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { Container } from 'inversify';
import ms from 'ms';
import { NULL_ADDRESS, WETH } from '../../../test/mock';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SupportedChainId } from '@cowprotocol/shared';
import { SupportedChainId } from '@cowprotocol/cow-sdk';
import { UsdRepositoryCow } from './UsdRepositoryCow';

import {
Expand Down Expand Up @@ -43,6 +43,8 @@ const cowApiClients = {
[SupportedChainId.ARBITRUM_ONE]: mockApi,
[SupportedChainId.BASE]: mockApi,
[SupportedChainId.SEPOLIA]: mockApi,
[SupportedChainId.POLYGON]: mockApi,
[SupportedChainId.AVALANCHE]: mockApi,
};

const usdRepositoryCow = new UsdRepositoryCow(
Expand Down
Loading