This PR cleans up the fee calculation in case there is an error when pulling a rate from the ForexRateStore. It cleans up the fee calculation by adding a ChargeOption enum that maps more easily to how the fee is calculated instead of having multiple arguments.
This PR cleans up the fee calculation in case there is an error when pulling a rate from the
ForexRateStore
. It cleans up the fee calculation by adding aChargeOption
enum that maps more easily to how the fee is calculated instead of having multiple arguments.