Name | Lookup | Attributes | |
|---|---|---|---|
| SwapCreated | 7200 | ["AccountId","SwapId","SwapOf"] | |
| SwapFullfilled | 7201 | ["AccountId","SwapId","SwapOf","SwapBalance","SwapBalance"] | |
| SwapCancelled | 7202 | ["AccountId","SwapId","SwapOf","SwapBalance","SwapBalance"] |
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":850,"value_id":894}} | |
| 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":850,"value_id":896}} |
Name | Docs |
|---|---|
| InfoNotFound | Failed to retrieve the `ForeignInvestInfo`. |
| PoolNotFound | Failed to retrieve the pool for the given pool id. |
| MismatchedForeignCurrency | An 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. |
| TooMuchDecrease | The decrease is greater than the current investment/redemption |