Before this, the trading fees returned by the GetMarketReport response were always calculated on the input amount of the swap transaction.
Since now the trade domain contains the explicit fee asset and amount paid by the trader, this introduces changes to use them instead of inferring the trading fees.
This also changes the FeeInfo proto message to contain info about percentage and fixed fees, and the total trading fee amount.
Before this, the trading fees returned by the
GetMarketReport
response were always calculated on the input amount of the swap transaction.Since now the trade domain contains the explicit fee asset and amount paid by the trader, this introduces changes to use them instead of inferring the trading fees.
This also changes the
FeeInfo
proto message to contain info about percentage and fixed fees, and the total trading fee amount.Closes #692.