Get the maximum amount with a slippage tolerance
e.g. Your estimated amount you send is 10000 with 100 slippage tolerance. The max you send will be 10100.
Parameters
amount: The amount to apply the fee to
slippage_tolerance_bps: The slippage tolerance in bps (should be in range 0..BPS_DENOMINATOR)
Get the maximum amount with a slippage tolerance e.g. Your estimated amount you send is 10000 with 100 slippage tolerance. The max you send will be 10100.
Parameters
amount
: The amount to apply the fee toslippage_tolerance_bps
: The slippage tolerance in bps (should be in range 0..BPS_DENOMINATOR)Returns
u64
: The maximum amount