subscan
Runtime Modules / Investments
Spec Version:
Events
Name
Lookup
Attributes
InvestOrdersCollected6600["InvestmentId","AccountId","Vec<OrderId>","InvestCollection<Amount>","CollectOutcome"]
RedeemOrdersCollected6601["InvestmentId","AccountId","Vec<OrderId>","RedeemCollection<Amount>","CollectOutcome"]
InvestOrderUpdated6602["InvestmentId","OrderId","AccountId","Amount"]
RedeemOrderUpdated6603["InvestmentId","OrderId","AccountId","Amount"]
InvestOrdersCleared6604["InvestmentId","OrderId","FulfillmentWithPrice<BalanceRatio>"]
RedeemOrdersCleared6605["InvestmentId","OrderId","FulfillmentWithPrice<BalanceRatio>"]
InvestOrdersInProcessing6606["InvestmentId","OrderId","TotalOrder<Amount>"]
RedeemOrdersInProcessing6607["InvestmentId","OrderId","TotalOrder<Amount>"]
InvestCollectedWithoutActivePosition6608["AccountId","InvestmentId"]
RedeemCollectedWithoutActivePosition6609["AccountId","InvestmentId"]
InvestCollectedForNonClearedOrderId660a["AccountId","InvestmentId"]
RedeemCollectedForNonClearedOrderId660b["AccountId","InvestmentId"]
Storage Functions
Name
Type
InvestOrderId{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["cfg_types:tokens:TrancheCurrency"],"value":"U64","keys_id":108,"value_id":9}}
RedeemOrderId{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["cfg_types:tokens:TrancheCurrency"],"value":"U64","keys_id":108,"value_id":9}}
InvestOrders{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","cfg_types:tokens:TrancheCurrency"],"value":"cfg_types:Order","keys_id":541,"value_id":542}}
RedeemOrders{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","cfg_types:tokens:TrancheCurrency"],"value":"cfg_types:Order","keys_id":541,"value_id":542}}
ActiveInvestOrders{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["cfg_types:tokens:TrancheCurrency"],"value":"U128","keys_id":108,"value_id":114}}
ActiveRedeemOrders{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["cfg_types:tokens:TrancheCurrency"],"value":"U128","keys_id":108,"value_id":114}}
InProcessingInvestOrders{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["cfg_types:tokens:TrancheCurrency"],"value":"U128","keys_id":108,"value_id":114}}
InProcessingRedeemOrders{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["cfg_types:tokens:TrancheCurrency"],"value":"U128","keys_id":108,"value_id":114}}
ClearedInvestOrders{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["cfg_types:tokens:TrancheCurrency","U64"],"value":"cfg_types:FulfillmentWithPrice","keys_id":543,"value_id":113}}
ClearedRedeemOrders{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["cfg_types:tokens:TrancheCurrency","U64"],"value":"cfg_types:FulfillmentWithPrice","keys_id":543,"value_id":113}}
Error Types
Name
Docs
OrderNotClearedThe order has not been marked as cleared. It's either active orin processing
OrderStillActiveThe order a user tried to collect for is still active andneeds to be put in processing and then be cleared beforea collect is possible
UnknownInvestmentIvestmentManager does not now given investment
CollectRequiredThe user has to many uncollected orders. Beforesubmitting new orders, a collect of those is required.
ZeroPricedInvestmentA fulfillment happened with an investment price of zero.The order will be discarded
OrderNotInProcessingOrder is still active and can not be processed further
OrderInProcessingOrder is not yet cleared and must be processed firstbefore requesting new orders is allowed
NoNewOrderUpdate of order was not a new order
NoActiveInvestOrderUser has currently no invest orders active and can not collect
NoActiveRedeemOrderUser has currently no redeem orders active and can not collect