Last active
July 20, 2018 06:09
-
-
Save tempofeng/8c1c516f9a1fa64fc7a8cb386fa10e4f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contract IExchange_v1 { | |
/// @dev Fills the input order. | |
/// @param orderAddresses Array of order's maker, taker, makerToken, takerToken, and feeRecipient. | |
/// @param orderValues Array of order's makerTokenAmount, takerTokenAmount, makerFee, takerFee, expirationTimestampInSec, and salt. | |
/// @param fillTakerTokenAmount Desired amount of takerToken to fill. | |
/// @param shouldThrowOnInsufficientBalanceOrAllowance Test if transfer will fail before attempting. | |
/// @param v ECDSA signature parameter v. | |
/// @param r ECDSA signature parameters r. | |
/// @param s ECDSA signature parameters s. | |
/// @return Total amount of takerToken filled in trade. | |
function fillOrder( | |
address[5] orderAddresses, | |
uint[6] orderValues, | |
uint fillTakerTokenAmount, | |
bool shouldThrowOnInsufficientBalanceOrAllowance, | |
uint8 v, | |
bytes32 r, | |
bytes32 s) | |
public | |
returns (uint filledTakerTokenAmount); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment