File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ import { OpenoceanConfig } from '../../connectors/openocean/openocean.config';
17
17
import { Curve } from '../../connectors/curve/curve' ;
18
18
import { CarbonConfig } from '../../connectors/carbon/carbon.config' ;
19
19
import { BalancerConfig } from '../../connectors/balancer/balancer.config' ;
20
+ import { ShibaswapConfig } from '../../connectors/shibaswap/shibaswap.config' ;
21
+ import { ChewyswapConfig } from '../../connectors/chewyswap/chewyswap.config' ;
20
22
21
23
// MKR does not match the ERC20 perfectly so we need to use a separate ABI.
22
24
const MKR_ADDRESS = '0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2' ;
@@ -191,8 +193,13 @@ export class Ethereum extends EthereumBase implements Ethereumish {
191
193
spender = PancakeSwapConfig . config . pancakeswapV3NftManagerAddress (
192
194
this . _chain ,
193
195
) ;
194
- } else if ( [ 'shibaswap' , 'chewyswap' ] . includes ( reqSpender ) ) {
195
- spender = SushiswapConfig . config . sushiswapRouterAddress (
196
+ } else if ( reqSpender === 'shibaswap' ) {
197
+ spender = ShibaswapConfig . config . routerAddress (
198
+ this . chainName ,
199
+ this . _chain ,
200
+ ) ;
201
+ } else if ( reqSpender === 'chewyswap' ) {
202
+ spender = ChewyswapConfig . config . routerAddress (
196
203
this . chainName ,
197
204
this . _chain ,
198
205
) ;
You can’t perform that action at this time.
0 commit comments