@0x/contracts-exchange: Cosmetic changes to contracts.
This commit is contained in:
committed by
Amir Bandeali
parent
2f5a1eebe0
commit
c1f8eabd12
@@ -123,7 +123,7 @@ contract MixinSignatureValidator is
|
||||
/// @param order The order.
|
||||
/// @param signerAddress Address that should have signed the given order.
|
||||
/// @param signature Proof that the order has been signed by signer.
|
||||
/// @return isValid true if the signature is valid for the given order and signer.
|
||||
/// @return isValid `true` if the signature is valid for the given order and signer.
|
||||
function isValidOrderSignature(
|
||||
Order memory order,
|
||||
address signerAddress,
|
||||
@@ -146,7 +146,7 @@ contract MixinSignatureValidator is
|
||||
/// @param transaction The transaction.
|
||||
/// @param signerAddress Address that should have signed the given order.
|
||||
/// @param signature Proof that the order has been signed by signer.
|
||||
/// @return isValid true if the signature is valid for the given transaction and signer.
|
||||
/// @return isValid `true` if the signature is valid for the given transaction and signer.
|
||||
function isValidTransactionSignature(
|
||||
ZeroExTransaction memory transaction,
|
||||
address signerAddress,
|
||||
|
||||
@@ -92,14 +92,6 @@ contract IExchangeCore {
|
||||
view
|
||||
returns (LibOrder.OrderInfo memory orderInfo);
|
||||
|
||||
/// @dev Calculates Keccak-256 hash of the order.
|
||||
/// @param order The order structure.
|
||||
/// @return Keccak-256 EIP712 hash of the order.
|
||||
function getOrderHash(LibOrder.Order memory order)
|
||||
public
|
||||
view
|
||||
returns (bytes32 orderHash);
|
||||
|
||||
/// @dev Validates context for fillOrder. Succeeds or throws.
|
||||
/// @param order to be filled.
|
||||
/// @param orderInfo OrderStatus, orderHash, and amount already filled of order.
|
||||
|
||||
Reference in New Issue
Block a user