You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unclear how the limit_price is exactly calculated when coming from a minimum out amount.
Is it minimum_out / amount_in rounded to u32::max(source_mint_decimals, destination_mint_decimals) and then converted to an integer by assuming destination_mint_decimals?
Does the feed need to be subtracted before from minimum_out?
Is the fee always taken from certain stablecoins and always from the source token?
Thanks
The text was updated successfully, but these errors were encountered:
Hi!
I am unclear how the
limit_price
is exactly calculated when coming from a minimum out amount.Is it
minimum_out / amount_in
rounded tou32::max(source_mint_decimals, destination_mint_decimals)
and then converted to an integer by assumingdestination_mint_decimals
?Does the feed need to be subtracted before from
minimum_out
?Is the fee always taken from certain stablecoins and always from the source token?
Thanks
The text was updated successfully, but these errors were encountered: