Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sunce86 committed Aug 12, 2024
1 parent ea98b02 commit a1f9c84
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/autopilot/src/domain/settlement/solution/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,14 @@ pub mod error {
}
}

/// Fee per trade in a solution. Contains breakdown of protocol fees and total
/// fee.
/// Fee per trade in a solution. These fees are taken for the execution of the
/// trade.
#[derive(Debug, Clone)]
pub struct ExecutedFee {
/// Gas fee spent to bring the order onchain
pub network: eth::SellTokenAmount,
/// Breakdown of protocol fees.
/// Breakdown of protocol fees. Executed protocol fees are in the same order
/// as policies are defined for an order.
pub protocol: Vec<(eth::SellTokenAmount, fee::Policy)>,
}

Expand Down

0 comments on commit a1f9c84

Please sign in to comment.