@0x/contracts-dev-utils: Add marketBuy/SellOrdersNoThrow and marketBuy/SellOrdersFillOrKill to LibTransactionDecoder.

This commit is contained in:
Lawrence Forman
2019-08-16 17:39:15 -04:00
parent 740913fa20
commit 89f1d54ebc
3 changed files with 22 additions and 7 deletions

View File

@@ -98,7 +98,12 @@ describe('LibTransactionDecoder', () => {
});
}
for (const func of ['marketBuyOrders', 'marketSellOrders']) {
for (const func of [
'marketBuyOrdersNoThrow',
'marketSellOrdersNoThrow',
'marketBuyOrdersFillOrKill',
'marketSellOrdersFillOrKill',
]) {
const input = (exchangeInterface as any)[func].getABIEncodedTransactionData(
[order, order],
takerAssetFillAmount,