Name | Lookup | Attributes | |
|---|---|---|---|
| ForeignInvestmentUpdated | 6d00 | ["AccountId","InvestmentId","InvestState<Of>"] | |
| ForeignInvestmentCleared | 6d01 | ["AccountId","InvestmentId"] | |
| ForeignRedemptionUpdated | 6d02 | ["AccountId","InvestmentId","RedeemState<Balance, CurrencyId>"] | |
| ForeignRedemptionCleared | 6d03 | ["AccountId","InvestmentId"] |
Name | Type | |
|---|---|---|
| InvestmentState | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","cfg_types:tokens:TrancheCurrency"],"value":"pallet_foreign_investments:types:InvestState","keys_id":691,"value_id":138}} | |
| RedemptionState | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","cfg_types:tokens:TrancheCurrency"],"value":"pallet_foreign_investments:types:RedeemState","keys_id":691,"value_id":140}} | |
| ForeignInvestmentInfo | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"cfg_types:investments:ForeignInvestmentInfo","keys_id":11,"value_id":692}} | |
| TokenSwapOrderIds | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","cfg_types:tokens:TrancheCurrency"],"value":"U64","keys_id":691,"value_id":11}} | |
| CollectedInvestment | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","cfg_types:tokens:TrancheCurrency"],"value":"cfg_types:investments:CollectedAmount","keys_id":691,"value_id":695}} | |
| CollectedRedemption | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","cfg_types:tokens:TrancheCurrency"],"value":"cfg_types:investments:CollectedAmount","keys_id":691,"value_id":695}} | |
| InvestmentPaymentCurrency | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","cfg_types:tokens:TrancheCurrency"],"value":"cfg_types:tokens:CurrencyId","keys_id":691,"value_id":72}} | |
| RedemptionPayoutCurrency | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","cfg_types:tokens:TrancheCurrency"],"value":"cfg_types:tokens:CurrencyId","keys_id":691,"value_id":72}} |
Name | Type | Value | |
|---|---|---|---|
| DefaultTokenSellRatio | U128 | 000064a7b3b6e00d0000000000000000 |
Name | Docs |
|---|---|
| InvestmentPaymentCurrencyNotFound | Failed to retrieve the foreign payment currency for a collectedinvestment.NOTE: This error can only occur, if a user tries to collect beforehaving increased their investment as this would store the paymentcurrency. |
| RedemptionPayoutCurrencyNotFound | Failed to retrieve the foreign payout currency for a collectedredemption.NOTE: This error can only occur, if a user tries to collect beforehaving increased their redemption as this would store the payoutcurrency. |
| InvestmentInfoNotFound | Failed to retrieve the `TokenSwapReason` from the given`TokenSwapOrderId`. |
| TokenSwapReasonNotFound | Failed to retrieve the `TokenSwapReason` from the given`TokenSwapOrderId`. |
| FulfilledTokenSwapAmountOverflow | The fulfilled token swap amount exceeds the sum of active swapamounts of the corresponding `InvestmentState` and`RedemptionState`. |
| InvestError | Failed to transition the `InvestState`. |
| RedeemError | Failed to transition the `RedeemState.` |
| PoolNotFound | Failed to retrieve the pool for the given pool id. |