From dcbd07572ddef3628d7d847ced2bc11200c3c629 Mon Sep 17 00:00:00 2001 From: Aleksandr Kraiz Date: Wed, 31 Aug 2022 16:17:22 +0400 Subject: [PATCH] Added details --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c75705f..79618c2 100644 --- a/README.md +++ b/README.md @@ -568,13 +568,13 @@ const data = utils.parseExchangeTradeTransaction({ }); switch (data.type) { - case "fillOrders": + case "fillOrders": // through aggregator — CEX console.log(data.args.orders.buyOrder); break; - case "fillThroughOrionPool": + case "fillThroughOrionPool": // through aggregator — DEX (pools) console.log(data.args.order); break; - case "swapThroughOrionPool": + case "swapThroughOrionPool": // through DEX (pools) directly console.log(data.args.amount_spend); break; }