altair
subscan
Runtime Modules / ForeignInvestments
Spec Version:
Events
Name
Lookup
Attributes
SwapCreated7200["AccountId","SwapId","SwapOf"]
SwapFullfilled7201["AccountId","SwapId","SwapOf","SwapBalance","SwapBalance"]
SwapCancelled7202["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":849,"value_id":893}}
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":849,"value_id":895}}
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