Guest User

Untitled

a guest
Oct 20th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. function fillOrder(
  2. Order memory order,
  3. uint256 takerAssetFillAmount,
  4. bytes memory signature
  5. )
  6. public
  7. returns (LibFillResults.FillResults memory fillResults);
  8.  
  9. struct Order {
  10. address makerAddress; // Address that created the order.
  11. address takerAddress; // Address that is allowed to fill the order. If set to 0, any address is allowed to fill the order.
  12. address feeRecipientAddress; // Address that will recieve fees when order is filled.
  13. address senderAddress; // Address that is allowed to call Exchange contract methods that affect this order. If set to 0, any address is allowed to call these methods.
  14. uint256 makerAssetAmount; // Amount of makerAsset being offered by maker. Must be greater than 0.
  15. uint256 takerAssetAmount; // Amount of takerAsset being bid on by maker. Must be greater than 0.
  16. uint256 makerFee; // Amount of ZRX paid to feeRecipient by maker when order is filled. If set to 0, no transfer of ZRX from maker to feeRecipient will be attempted.
  17. uint256 takerFee; // Amount of ZRX paid to feeRecipient by taker when order is filled. If set to 0, no transfer of ZRX from taker to feeRecipient will be attempted.
  18. uint256 expirationTimeSeconds; // Timestamp in seconds at which order expires.
  19. uint256 salt; // Arbitrary number to facilitate uniqueness of the order's hash.
  20. bytes makerAssetData; // Encoded data that can be decoded by a specified proxy contract when transferring makerAsset. The last byte references the id of this proxy.
  21. bytes takerAssetData; // Encoded data that can be decoded by a specified proxy contract when transferring takerAsset. The last byte references the id of this proxy.
  22. }
Add Comment
Please, Sign In to add comment