aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-07-24 05:52:05 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-07-25 01:46:08 +0800
commitfac90c446cc3a79ffe57ae13c685e7555714cf23 (patch)
treeb81b595006adb7c2f4e998fc662dc246c03006cb /packages
parent14bb6979248e00af37fb6b4aa49fa78bcc26379b (diff)
downloaddexon-sol-tools-fac90c446cc3a79ffe57ae13c685e7555714cf23.tar
dexon-sol-tools-fac90c446cc3a79ffe57ae13c685e7555714cf23.tar.gz
dexon-sol-tools-fac90c446cc3a79ffe57ae13c685e7555714cf23.tar.bz2
dexon-sol-tools-fac90c446cc3a79ffe57ae13c685e7555714cf23.tar.lz
dexon-sol-tools-fac90c446cc3a79ffe57ae13c685e7555714cf23.tar.xz
dexon-sol-tools-fac90c446cc3a79ffe57ae13c685e7555714cf23.tar.zst
dexon-sol-tools-fac90c446cc3a79ffe57ae13c685e7555714cf23.zip
Update orderEpoch comments
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/src/2.0.0/protocol/Exchange/MixinExchangeCore.sol2
-rw-r--r--packages/contracts/src/2.0.0/protocol/Exchange/mixins/MExchangeCore.sol2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/src/2.0.0/protocol/Exchange/MixinExchangeCore.sol b/packages/contracts/src/2.0.0/protocol/Exchange/MixinExchangeCore.sol
index 6f435892b..354d0e9c3 100644
--- a/packages/contracts/src/2.0.0/protocol/Exchange/MixinExchangeCore.sol
+++ b/packages/contracts/src/2.0.0/protocol/Exchange/MixinExchangeCore.sol
@@ -46,7 +46,7 @@ contract MixinExchangeCore is
mapping (bytes32 => bool) public cancelled;
// Mapping of makerAddress => senderAddress => lowest salt an order can have in order to be fillable
- // Orders with specified senderAddress and with a salt less than their epoch to are considered cancelled
+ // Orders with specified senderAddress and with a salt less than their epoch are considered cancelled
mapping (address => mapping (address => uint256)) public orderEpoch;
/// @dev Cancels all orders created by makerAddress with a salt less than or equal to the targetOrderEpoch
diff --git a/packages/contracts/src/2.0.0/protocol/Exchange/mixins/MExchangeCore.sol b/packages/contracts/src/2.0.0/protocol/Exchange/mixins/MExchangeCore.sol
index 9e3b5a2e2..c165b647c 100644
--- a/packages/contracts/src/2.0.0/protocol/Exchange/mixins/MExchangeCore.sol
+++ b/packages/contracts/src/2.0.0/protocol/Exchange/mixins/MExchangeCore.sol
@@ -56,7 +56,7 @@ contract MExchangeCore is
event CancelUpTo(
address indexed makerAddress, // Orders cancelled must have been created by this address.
address indexed senderAddress, // Orders cancelled must have a `senderAddress` equal to this address.
- uint256 orderEpoch // Orders specified makerAddress and senderAddress with a salt <= this value are considered cancelled.
+ uint256 orderEpoch // Orders with specified makerAddress and senderAddress with a salt less than this value are considered cancelled.
);
/// @dev Updates state with results of a fill order.