Remove unused LibOrder
inheritance from MixinBalanceThresholdFilterCore
from /contracts/extensions
.
This commit is contained in:
parent
74a9a13564
commit
92fe720ac3
@ -53,7 +53,7 @@ contract LibEIP712Domain is
|
||||
EIP712_EXCHANGE_DOMAIN_HASH = hashEIP712Domain(
|
||||
EIP712_EXCHANGE_DOMAIN_NAME,
|
||||
EIP712_EXCHANGE_DOMAIN_VERSION,
|
||||
address(this)
|
||||
address(EXCHANGE)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
pragma solidity ^0.5.5;
|
||||
|
||||
import "@0x/contracts-exchange-libs/contracts/src/LibExchangeSelectors.sol";
|
||||
import "@0x/contracts-exchange-libs/contracts/src/LibOrder.sol";
|
||||
import "./mixins/MBalanceThresholdFilterCore.sol";
|
||||
import "./MixinExchangeCalldata.sol";
|
||||
|
||||
@ -27,12 +26,11 @@ import "./MixinExchangeCalldata.sol";
|
||||
contract MixinBalanceThresholdFilterCore is
|
||||
MBalanceThresholdFilterCore,
|
||||
MixinExchangeCalldata,
|
||||
LibOrder,
|
||||
LibExchangeSelectors
|
||||
{
|
||||
|
||||
/// @dev Executes an Exchange transaction iff the maker and taker meet
|
||||
/// the hold at least `BALANCE_THRESHOLD` of the asset `THRESHOLD_ASSET` OR
|
||||
/// @dev Executes an Exchange transaction iff the maker and taker meet
|
||||
/// the hold at least `BALANCE_THRESHOLD` of the asset `THRESHOLD_ASSET` OR
|
||||
/// the exchange function is a cancellation.
|
||||
/// Supported Exchange functions:
|
||||
/// batchFillOrders
|
||||
@ -59,7 +57,7 @@ contract MixinBalanceThresholdFilterCore is
|
||||
address signerAddress,
|
||||
bytes calldata signedExchangeTransaction,
|
||||
bytes calldata signature
|
||||
)
|
||||
)
|
||||
external
|
||||
{
|
||||
// Get accounts whose balances must be validated
|
||||
@ -76,7 +74,7 @@ contract MixinBalanceThresholdFilterCore is
|
||||
);
|
||||
}
|
||||
emit ValidatedAddresses(addressesToValidate);
|
||||
|
||||
|
||||
// All addresses are valid. Execute exchange function.
|
||||
EXCHANGE.executeTransaction(
|
||||
salt,
|
||||
|
Loading…
x
Reference in New Issue
Block a user