@0x/contracts-zero-ex: Remove mooniswapRegistry from BridgeAdapter addreses

This commit is contained in:
Lawrence Forman 2020-09-03 01:21:09 -04:00
parent ab28e42c22
commit 3733d503db
3 changed files with 0 additions and 17 deletions

View File

@ -37,7 +37,6 @@ contract MixinAdapterAddresses
address uniswapV2Router;
address uniswapExchangeFactory;
address mStable;
address mooniswapRegistry;
// Other
address weth;
}

View File

@ -41,18 +41,6 @@ interface IMooniswapPool {
returns (uint256 boughtAmount);
}
/// @dev Moooniswap registry interface.
interface IMooniswapRegistry {
function pools(
IERC20TokenV06 token1,
IERC20TokenV06 token2
)
external
view
returns (IMooniswapPool);
}
/// @dev BridgeAdapter mixin for mooniswap.
contract MixinMooniswap is
MixinAdapterAddresses
@ -60,15 +48,12 @@ contract MixinMooniswap is
using LibERC20TokenV06 for IERC20TokenV06;
using LibERC20TokenV06 for IEtherTokenV06;
/// @dev Mooniswap registry contract.
IMooniswapRegistry private immutable REGISTRY;
/// @dev WETH token.
IEtherTokenV06 private immutable WETH;
constructor(AdapterAddresses memory addresses)
public
{
REGISTRY = IMooniswapRegistry(addresses.mooniswapRegistry);
WETH = IEtherTokenV06(addresses.weth);
}

View File

@ -72,7 +72,6 @@ blockchainTests.resets('FillQuoteTransformer', env => {
uniswapV2Router: NULL_ADDRESS,
uniswapExchangeFactory: NULL_ADDRESS,
mStable: NULL_ADDRESS,
mooniswapRegistry: NULL_ADDRESS,
weth: NULL_ADDRESS,
},
);