@0x/contracts-erc20-bridge-sampler
: address review comments
This commit is contained in:
parent
0450e430f1
commit
2d29014091
@ -20,7 +20,6 @@ pragma solidity ^0.5.9;
|
|||||||
pragma experimental ABIEncoderV2;
|
pragma experimental ABIEncoderV2;
|
||||||
|
|
||||||
import "@0x/contracts-exchange-libs/contracts/src/LibMath.sol";
|
import "@0x/contracts-exchange-libs/contracts/src/LibMath.sol";
|
||||||
import "@0x/contracts-utils/contracts/src/LibBytes.sol";
|
|
||||||
|
|
||||||
|
|
||||||
contract ApproximateBuys {
|
contract ApproximateBuys {
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
pragma solidity ^0.5.9;
|
pragma solidity ^0.5.9;
|
||||||
pragma experimental ABIEncoderV2;
|
pragma experimental ABIEncoderV2;
|
||||||
|
|
||||||
import "./ApproximateBuys.sol";
|
|
||||||
import "./CurveSampler.sol";
|
import "./CurveSampler.sol";
|
||||||
import "./Eth2DaiSampler.sol";
|
import "./Eth2DaiSampler.sol";
|
||||||
import "./KyberSampler.sol";
|
import "./KyberSampler.sol";
|
||||||
|
@ -35,8 +35,6 @@ contract UniswapSampler is
|
|||||||
{
|
{
|
||||||
/// @dev Gas limit for Uniswap calls.
|
/// @dev Gas limit for Uniswap calls.
|
||||||
uint256 constant private UNISWAP_CALL_GAS = 150e3; // 150k
|
uint256 constant private UNISWAP_CALL_GAS = 150e3; // 150k
|
||||||
/// @dev Gas limit for UniswapV2 calls.
|
|
||||||
uint256 constant private UNISWAPV2_CALL_GAS = 150e3; // 150k
|
|
||||||
|
|
||||||
/// @dev Sample sell quotes from Uniswap.
|
/// @dev Sample sell quotes from Uniswap.
|
||||||
/// @param takerToken Address of the taker token (what to sell).
|
/// @param takerToken Address of the taker token (what to sell).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user