Closed onur-ozkan closed 1 month ago
As makers may not have a balance in the coin they want to swap, we need to calculate get_receiver_trade_fee in platform coin.
get_receiver_trade_fee
Same goes for ETH assets: https://github.com/KomodoPlatform/komodo-defi-framework/blob/b0fd99e8406e67ea06435dd028991caa5f522b5c/mm2src/coins/eth.rs#L4892-L4895
As makers may not have a balance in the coin they want to swap, we need to calculate
get_receiver_trade_fee
in platform coin.Same goes for ETH assets: https://github.com/KomodoPlatform/komodo-defi-framework/blob/b0fd99e8406e67ea06435dd028991caa5f522b5c/mm2src/coins/eth.rs#L4892-L4895