diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-07-11 11:55:28 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-07-18 03:18:16 +0800 |
commit | 02ddfa07a70cd0ac6a3061eca6067ff296f4fa1d (patch) | |
tree | 3085f776bb91f3f061c9a808a3b217cae87ff2e7 /packages/contracts/src/2.0.0/protocol/Exchange/interfaces/IWrapperFunctions.sol | |
parent | 502287868073eecdea08b3160bd41ef78f5d8583 (diff) | |
download | dexon-0x-contracts-02ddfa07a70cd0ac6a3061eca6067ff296f4fa1d.tar.gz dexon-0x-contracts-02ddfa07a70cd0ac6a3061eca6067ff296f4fa1d.tar.zst dexon-0x-contracts-02ddfa07a70cd0ac6a3061eca6067ff296f4fa1d.zip |
Add getOrdersInfo function
Diffstat (limited to 'packages/contracts/src/2.0.0/protocol/Exchange/interfaces/IWrapperFunctions.sol')
-rw-r--r-- | packages/contracts/src/2.0.0/protocol/Exchange/interfaces/IWrapperFunctions.sol | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/contracts/src/2.0.0/protocol/Exchange/interfaces/IWrapperFunctions.sol b/packages/contracts/src/2.0.0/protocol/Exchange/interfaces/IWrapperFunctions.sol index ad7a56a06..56a533646 100644 --- a/packages/contracts/src/2.0.0/protocol/Exchange/interfaces/IWrapperFunctions.sol +++ b/packages/contracts/src/2.0.0/protocol/Exchange/interfaces/IWrapperFunctions.sol @@ -149,4 +149,12 @@ contract IWrapperFunctions { /// @param orders Array of order specifications. function batchCancelOrders(LibOrder.Order[] memory orders) public; + + /// @dev Fetches information for all passed in orders + /// @param orders Array of order specifications. + /// @return Array of OrderInfo instances that correspond to each order. + function getOrdersInfo(LibOrder.Order[] memory orders) + public + view + returns (LibOrder.OrderInfo[] memory); } |