aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/extensions
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-12-14 08:02:13 +0800
committerGreg Hysen <greg.hysen@gmail.com>2018-12-19 05:36:05 +0800
commitbb4ce9b3ad5658b16027c53cb4bad07149dcff4e (patch)
tree1c3dce95e173a2e1a978451cde0802c4b846cb86 /contracts/extensions
parentb524ac7af2ebf0f00c50ae3c1ad7cd85ab8b6462 (diff)
downloaddexon-0x-contracts-bb4ce9b3ad5658b16027c53cb4bad07149dcff4e.tar.gz
dexon-0x-contracts-bb4ce9b3ad5658b16027c53cb4bad07149dcff4e.tar.zst
dexon-0x-contracts-bb4ce9b3ad5658b16027c53cb4bad07149dcff4e.zip
Explicit returns
Diffstat (limited to 'contracts/extensions')
-rw-r--r--contracts/extensions/contracts/BalanceThresholdFilter/MixinBalanceThresholdFilterCore.sol1
-rw-r--r--contracts/extensions/contracts/BalanceThresholdFilter/MixinExchangeCalldata.sol2
2 files changed, 3 insertions, 0 deletions
diff --git a/contracts/extensions/contracts/BalanceThresholdFilter/MixinBalanceThresholdFilterCore.sol b/contracts/extensions/contracts/BalanceThresholdFilter/MixinBalanceThresholdFilterCore.sol
index 27767ad98..3e292c035 100644
--- a/contracts/extensions/contracts/BalanceThresholdFilter/MixinBalanceThresholdFilterCore.sol
+++ b/contracts/extensions/contracts/BalanceThresholdFilter/MixinBalanceThresholdFilterCore.sol
@@ -129,5 +129,6 @@ contract MixinBalanceThresholdFilterCore is
revert("INVALID_OR_BLOCKED_EXCHANGE_SELECTOR");
}
// solhint-enable expression-indent
+ return addressesToValidate;
}
}
diff --git a/contracts/extensions/contracts/BalanceThresholdFilter/MixinExchangeCalldata.sol b/contracts/extensions/contracts/BalanceThresholdFilter/MixinExchangeCalldata.sol
index d49b7123f..bd26a468f 100644
--- a/contracts/extensions/contracts/BalanceThresholdFilter/MixinExchangeCalldata.sol
+++ b/contracts/extensions/contracts/BalanceThresholdFilter/MixinExchangeCalldata.sol
@@ -50,6 +50,7 @@ contract MixinExchangeCalldata is
let exchangeCalldataOffset := add(exchangeTxPtr, add(0x24, offset))
value := calldataload(exchangeCalldataOffset)
}
+ return value;
}
/// @dev Convenience function that skips the 4 byte selector when loading
@@ -61,6 +62,7 @@ contract MixinExchangeCalldata is
returns (bytes32 value)
{
value = exchangeCalldataload(offset + 4);
+ return value;
}
/// @dev Extracts the maker address from an order stored in the Exchange calldata