centrifuge-parachain
subscan
Runtime Modules / ForeignInvestments
Spec Version:
Events
Name
Lookup
Attributes
SwapCreatedOrUpdated6d00["AccountId","SwapId","SwapOf"]
SwapFullfilled6d01["AccountId","SwapId","SwapOf","SwapBalance","SwapBalance"]
SwapCancelled6d02["AccountId","SwapId","SwapOf"]
Storage Functions
Name
Type
ForeignInvestmentInfo{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Tuple:U64[U8; 16]"],"value":"pallet_foreign_investments:entities:InvestmentInfo","keys_id":762,"value_id":763}}
ForeignRedemptionInfo{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Tuple:U64[U8; 16]"],"value":"pallet_foreign_investments:entities:RedemptionInfo","keys_id":762,"value_id":764}}
OrderIdToSwapId{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"Tuple:AccountIdTuple:Tuple:U64[U8; 16]pallet_foreign_investments:Action","keys_id":11,"value_id":765}}
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.
CancellationInProgressA cancel action is in progress and it needs to finish beforeincreasing again