fn swap_without_fees(
        &self,
        source_amount: u128,
        swap_source_amount: u128,
        swap_destination_amount: u128,
        _trade_direction: TradeDirection,
    ) -> Option<SwapWithoutFeesResult> {
        swap(source_amount, swap_source_amount, swap_destination_amount)
    }
/// Constant product swap ensures x * y = constant
Constant product swap ensures x * y = constant
Constant product swap ensures x * y = constant
fn swap_without_fees(
        &self,
        source_amount: u128,
        swap_source_amount: u128,
        swap_destination_amount: u128,
        _trade_direction: TradeDirection,
    ) -> Option<SwapWithoutFeesResult> {
        swap(source_amount, swap_source_amount, swap_destination_amount)
    }
fn swap_without_fees ( & self , source_amount : u128 , swap_source_amount : u128 , swap_destination_amount : u128 , _trade_direction : TradeDirection , ) -> Option < SwapWithoutFeesResult > { swap ( source_amount , swap_source_amount , swap_destination_amount ) }
Constant product swap ensures x * y = constant
Constant product swap ensures x * y = constant
&self
source_amount
u128
swap_source_amount
u128
swap_destination_amount
u128
_trade_direction
TradeDirection
&self
source_amount
u128
swap_source_amount
u128
swap_destination_amount
u128
_trade_direction
TradeDirection