Context: I'm creating a pallet with a simple DEX (decentralised exchange) functionality. I need to perform some arithmetic operations on balances for liquidity pools.
Problem: How can I convert from asset balance to currency balance? I am aware of the BalanceConversion trait and its BalanceToAssetBalance impelementation, but it only converts the other way (which also need, btw). Could an asset balance -> currency balance conversion be implemented in a similar way without modifying the assets
pallet?