Expand description

§Foreign Investment pallet

Enables investing, redeeming and collecting in foreign and non-foreign currencies. Can be regarded as an extension of pallet-investments which provides the same toolset for pool (non-foreign) currencies.

§Assumptions

  • The implementer of the pallet’s associated Investment type sends notifications for collected investments via CollectedInvestmentHook and for collected redemptions via CollectedRedemptionHook].
  • The implementer of the pallet’s associated TokenSwaps type sends notifications for fulfilled swap orders via the FulfilledSwapHook.
  • The implementer of the pallet’s associated DecreasedForeignInvestOrderHook type handles the refund of the decreased amount to the investor.
  • The implementer of the pallet’s associated CollectedForeignRedemptionHook type handles the transfer of the collected amount in foreign currency to the investor.

Re-exports§

Modules§

  • The pallet module in each FRAME pallet hosts the most important items needed to construct this pallet.

Structs§

Enums§

Functions§

Type Aliases§

  • Identification of a foreign investment/redemption
  • PoolId identification
  • Identification of a swap from foreing-investment perspective
  • Swap alias
  • TrancheId Identification