aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-08-28 03:01:58 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-08-28 03:01:58 +0800
commit6a99bfa68ebaf43feed2961401fb89fa4eba9cf3 (patch)
tree8f45b97ea6f971977805f5fed257e12f301036bf /packages
parentf60adbdd723dcf1e5c980c357a8c2c4c337d3a87 (diff)
downloaddexon-sol-tools-6a99bfa68ebaf43feed2961401fb89fa4eba9cf3.tar
dexon-sol-tools-6a99bfa68ebaf43feed2961401fb89fa4eba9cf3.tar.gz
dexon-sol-tools-6a99bfa68ebaf43feed2961401fb89fa4eba9cf3.tar.bz2
dexon-sol-tools-6a99bfa68ebaf43feed2961401fb89fa4eba9cf3.tar.lz
dexon-sol-tools-6a99bfa68ebaf43feed2961401fb89fa4eba9cf3.tar.xz
dexon-sol-tools-6a99bfa68ebaf43feed2961401fb89fa4eba9cf3.tar.zst
dexon-sol-tools-6a99bfa68ebaf43feed2961401fb89fa4eba9cf3.zip
Add clarifying comments
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/src/2.0.0/extensions/Forwarder/MixinExchangeWrapper.sol1
-rw-r--r--packages/contracts/src/2.0.0/protocol/Exchange/MixinWrapperFunctions.sol1
2 files changed, 2 insertions, 0 deletions
diff --git a/packages/contracts/src/2.0.0/extensions/Forwarder/MixinExchangeWrapper.sol b/packages/contracts/src/2.0.0/extensions/Forwarder/MixinExchangeWrapper.sol
index b5b8fc3e0..9e816716c 100644
--- a/packages/contracts/src/2.0.0/extensions/Forwarder/MixinExchangeWrapper.sol
+++ b/packages/contracts/src/2.0.0/extensions/Forwarder/MixinExchangeWrapper.sol
@@ -76,6 +76,7 @@ contract MixinExchangeWrapper is
mstore(add(fillResults, 96), mload(add(fillOrderCalldata, 96)))
}
}
+ // fillResults values will be 0 by default if call was unsuccessful
return fillResults;
}
diff --git a/packages/contracts/src/2.0.0/protocol/Exchange/MixinWrapperFunctions.sol b/packages/contracts/src/2.0.0/protocol/Exchange/MixinWrapperFunctions.sol
index 39fa724cc..a5459a21e 100644
--- a/packages/contracts/src/2.0.0/protocol/Exchange/MixinWrapperFunctions.sol
+++ b/packages/contracts/src/2.0.0/protocol/Exchange/MixinWrapperFunctions.sol
@@ -96,6 +96,7 @@ contract MixinWrapperFunctions is
mstore(add(fillResults, 96), mload(add(fillOrderCalldata, 96)))
}
}
+ // fillResults values will be 0 by default if call was unsuccessful
return fillResults;
}