@@ -2,6 +2,7 @@ import { RouteRequest } from '@skip-go/client';
22import { useQuery } from '@tanstack/react-query' ;
33import { parseUnits } from 'viem' ;
44
5+ import { SKIP_SWAP_VENUES } from '@/constants/skip' ;
56import { timeUnits } from '@/constants/time' ;
67
78import { getSelectedDydxChainId } from '@/state/appSelectors' ;
@@ -10,12 +11,6 @@ import { useAppSelector } from '@/state/appTypes';
1011import { SkipClient , useSkipClient } from '../transfers/skipClient' ;
1112import { TokenConfigsResult , useTokenConfigs } from '../useTokenConfigs' ;
1213
13- const SWAP_VENUES = [
14- { chainId : 'osmosis-1' , name : 'osmosis-poolmanager' } ,
15- { chainId : 'neutron-1' , name : 'neutron-duality' } ,
16- { chainId : 'neutron-1' , name : 'neutron-astroport' } ,
17- ] ;
18-
1914// Swaps are from dydxchain DYDX <-> dydxchain USDC
2015async function getSkipSwapRoute (
2116 skipClient : SkipClient ,
@@ -38,7 +33,7 @@ async function getSkipSwapRoute(
3833 sourceAssetChainId : chainId ,
3934 destAssetDenom : outputTokenDenom ,
4035 destAssetChainId : chainId ,
41- swapVenues : SWAP_VENUES ,
36+ swapVenues : SKIP_SWAP_VENUES ,
4237 smartSwapOptions : {
4338 splitRoutes : true ,
4439 } ,
0 commit comments