Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm committed Jul 11, 2024
1 parent b90aa21 commit 8aadb2c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions pallets/foreign-investments/src/entities.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
//! Perform actions over ForeignInvestInfo and ForeignRedemptionInfo types
//! - This module does not handle FI storages
//! - This module does not call hooks
//! - This module does not directly OrderBooks
//! - This module does not directly OrderIdToSwapId storage
//! - This module does not handle FI storages, just manipulate their entities
//! - This module does not directly handle `OrderBooks`
//! - This module does not directly handle `OrderIdToSwapId` storage
use cfg_traits::{
investments::{ForeignInvestmentHooks, Investment},
Expand Down Expand Up @@ -228,9 +227,9 @@ impl<T: Config> InvestmentInfo<T> {
} else {
let pool_amount_before_collecting = invested.ensure_add(collected.amount_payment)?;

// Transform the collected pool amount into foreing amount.
// This transformation is done by correlation, thanks that `foreing_amount`
// contains the "same" amount as the investment pool amount but with different
// Transform the collected pool amount into foreign amount.
// This transformation is done by correlation, thanks to `foreing_amount`
// containing the "same" amount as the investment pool amount but with different
// denomination.
collected
.amount_payment
Expand Down

0 comments on commit 8aadb2c

Please sign in to comment.