diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-02-09 04:09:07 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:16 +0800 |
commit | 942867179c05e901450a7a08872dd523122a2f81 (patch) | |
tree | 511edac66bad43851c80ba2550d3716bfac0f8ef /packages/contracts/src | |
parent | 6b897f6fd2b3bf894662f11f67ebb555f20c2464 (diff) | |
download | dexon-sol-tools-942867179c05e901450a7a08872dd523122a2f81.tar dexon-sol-tools-942867179c05e901450a7a08872dd523122a2f81.tar.gz dexon-sol-tools-942867179c05e901450a7a08872dd523122a2f81.tar.bz2 dexon-sol-tools-942867179c05e901450a7a08872dd523122a2f81.tar.lz dexon-sol-tools-942867179c05e901450a7a08872dd523122a2f81.tar.xz dexon-sol-tools-942867179c05e901450a7a08872dd523122a2f81.tar.zst dexon-sol-tools-942867179c05e901450a7a08872dd523122a2f81.zip |
Run prettier
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 ) |