Closed tiero closed 4 years ago
This is a followup commit of https://github.com/Sevenlab/tdex-sdk/pull/9
It uses the updated SDK and in the tradePropose grpc service we branch to distinguish between BUY and SELL trade types, using respectively calculateProposeAmount and calculateExpectedAmount
calculateProposeAmount
calculateExpectedAmount
e2e test has been integrated with the tradeType BUY
fixes #19
This is a followup commit of https://github.com/Sevenlab/tdex-sdk/pull/9
It uses the updated SDK and in the tradePropose grpc service we branch to distinguish between BUY and SELL trade types, using respectively
calculateProposeAmount
andcalculateExpectedAmount
e2e test has been integrated with the tradeType BUY
fixes #19