From d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd Mon Sep 17 00:00:00 2001 From: Amir Bandeali Date: Fri, 6 Jul 2018 09:51:23 -0700 Subject: Apply new linter rules --- packages/contracts/src/2.0.0/forwarder/Forwarder.sol | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'packages/contracts/src/2.0.0/forwarder/Forwarder.sol') diff --git a/packages/contracts/src/2.0.0/forwarder/Forwarder.sol b/packages/contracts/src/2.0.0/forwarder/Forwarder.sol index 71a4aff13..38128d93e 100644 --- a/packages/contracts/src/2.0.0/forwarder/Forwarder.sol +++ b/packages/contracts/src/2.0.0/forwarder/Forwarder.sol @@ -16,7 +16,7 @@ */ -pragma solidity ^0.4.24; +pragma solidity 0.4.24; pragma experimental ABIEncoderV2; import "./MixinWethFees.sol"; @@ -25,6 +25,7 @@ import "./MixinMarketBuyTokens.sol"; import "./MixinConstants.sol"; import "../utils/Ownable/Ownable.sol"; + contract Forwarder is Ownable, MixinConstants, @@ -33,7 +34,7 @@ contract Forwarder is MixinMarketBuyTokens, MixinMarketSellTokens { - uint256 MAX_UINT = 2**256 - 1; + uint256 constant internal MAX_UINT = 2**256 - 1; constructor ( address _exchange, -- cgit