diff options
Diffstat (limited to 'packages/contracts/src')
-rw-r--r-- | packages/contracts/src/contracts/current/protocol/Exchange/MixinExchangeCore.sol | 2 | ||||
-rw-r--r-- | packages/contracts/src/contracts/current/protocol/Exchange/MixinWrapperFunctions.sol | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/contracts/src/contracts/current/protocol/Exchange/MixinExchangeCore.sol b/packages/contracts/src/contracts/current/protocol/Exchange/MixinExchangeCore.sol index 922f9e6dc..4db4eb448 100644 --- a/packages/contracts/src/contracts/current/protocol/Exchange/MixinExchangeCore.sol +++ b/packages/contracts/src/contracts/current/protocol/Exchange/MixinExchangeCore.sol @@ -229,7 +229,7 @@ contract MixinExchangeCore is return isError; } - /// @dev Calculates the sum of values already filled and cancelled for a given order. + /// @dev Calculates the sum of values already filled and cancelled for a given order. /// @param orderHash The Keccak-256 hash of the given order. /// @return Sum of values already filled and cancelled. function getUnavailableTakerTokenAmount(bytes32 orderHash) diff --git a/packages/contracts/src/contracts/current/protocol/Exchange/MixinWrapperFunctions.sol b/packages/contracts/src/contracts/current/protocol/Exchange/MixinWrapperFunctions.sol index fb91cf9d6..e09d93851 100644 --- a/packages/contracts/src/contracts/current/protocol/Exchange/MixinWrapperFunctions.sol +++ b/packages/contracts/src/contracts/current/protocol/Exchange/MixinWrapperFunctions.sol @@ -78,7 +78,7 @@ contract MixinWrapperFunctions is let x := mload(0x40) // free memory pointer mstore(x, FILL_ORDER_FUNCTION_SIGNATURE) - // first 32 bytes of an array contains length + // first 32 bytes of a dynamic in-memory array contains length mstore(add(x, 4), add(orderAddresses, 32)) // maker mstore(add(x, 36), add(orderAddresses, 64)) // taker mstore(add(x, 68), add(orderAddresses, 96)) // makerToken @@ -99,7 +99,7 @@ contract MixinWrapperFunctions is gas, // TODO: don't send all gas, save some for returning is case of throw address, // call this contract x, // inputs start at x - 484, // inputs are 484 bytes long (4 + 15*32) + 484, // inputs are 484 bytes long (4 + 15 * 32) x, // store output over input 32 // output is 32 bytes ) |