subscan
Runtime Modules / ForeignInvestments
Spec Version:
Events
Name
Lookup
Attributes
SwapCreated6d00["AccountId","SwapId","SwapOf"]
SwapFullfilled6d01["AccountId","SwapId","SwapOf","SwapBalance","SwapBalance"]
SwapCancelled6d02["AccountId","SwapId","SwapOf","SwapBalance","SwapBalance"]
Storage Functions
Name
Type
ForeignInvestmentInfo{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","cfg_types:tokens:TrancheCurrency"],"value":"pallet_foreign_investments:entities:InvestmentInfo","keys_id":692,"value_id":693}}
ForeignRedemptionInfo{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","cfg_types:tokens:TrancheCurrency"],"value":"pallet_foreign_investments:entities:RedemptionInfo","keys_id":692,"value_id":695}}
Error Types
Name
Docs
InfoNotFoundFailed to retrieve the `ForeignInvestInfo`.
PoolNotFoundFailed to retrieve the pool for the given pool id.
MismatchedForeignCurrencyAn action for a different foreign currency is currently in processfor the same pool currency, account, and investment.The currenct foreign actions must be finished before starting with adifferent foreign currency investment / redemption.
TooMuchDecreaseThe decrease is greater than the current investment/redemption