Add Uniswap V2 support to @0x/asset-swapper (#2599)
* add uniswapV2 * update changelogs * remove unused import * add tests for Uniswap V2 ETH * rename UniswapV2 and UniswapV2Eth * use correct token address path * update contract addresses after deploy
This commit is contained in:
@@ -649,7 +649,7 @@ contract ERC20BridgeSampler is
|
||||
}
|
||||
|
||||
/// @dev Sample sell quotes from UniswapV2.
|
||||
/// @param path Token route.
|
||||
/// @param path Token route. Should be takerToken -> makerToken
|
||||
/// @param takerTokenAmounts Taker token sell amount for each sample.
|
||||
/// @return makerTokenAmounts Maker amounts bought at each taker token
|
||||
/// amount.
|
||||
@@ -683,7 +683,7 @@ contract ERC20BridgeSampler is
|
||||
}
|
||||
|
||||
/// @dev Sample buy quotes from UniswapV2.
|
||||
/// @param path Token route.
|
||||
/// @param path Token route. Should be takerToken -> makerToken.
|
||||
/// @param makerTokenAmounts Maker token buy amount for each sample.
|
||||
/// @return takerTokenAmounts Taker amounts sold at each maker token
|
||||
/// amount.
|
||||
|
Reference in New Issue
Block a user