This commit is contained in:
royvardhan
2025-02-06 22:44:18 +05:30
parent 0e3ce00698
commit 3bb5b0c7c6

View File

@@ -11,7 +11,6 @@ use crate::encoding::{
serde_primitives::{biguint_string, biguint_string_option},
};
/// Represents a solution containing details describing an order, and instructions for filling
/// the order.
#[derive(Clone, Default, Debug, Deserialize, Serialize)]
@@ -53,7 +52,6 @@ pub struct Solution {
pub direct_execution: bool,
}
/// Represents an action to be performed on the native token either before or after the swap.
///
/// `Wrap` means that the native token will be wrapped before the first swap, and `Unwrap`
@@ -66,8 +64,6 @@ pub enum NativeAction {
Unwrap,
}
/// Represents a swap operation to be performed on a pool.
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Swap {