Name | Lookup | Parameters | |
---|---|---|---|
create | 6300 | 5 | |
update | 6301 | 2 | |
execute_scheduled_update | 6302 | 1 | |
set_metadata | 6303 | 2 | |
set_max_reserve | 6304 | 2 | |
update_invest_order | 6305 | 3 | |
update_redeem_order | 6306 | 3 | |
collect | 6307 | 3 | |
collect_for | 6308 | 4 | |
close_epoch | 6309 | 1 | |
submit_solution | 630a | 2 | |
execute_epoch | 630b | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
Created | 6300 | ["PoolId","AccountId"] | |
Updated | 6301 | ["PoolId"] | |
Rebalanced | 6302 | ["PoolId"] | |
MaxReserveSet | 6303 | ["PoolId"] | |
MetadataSet | 6304 | ["PoolId","Bytes"] | |
EpochClosed | 6305 | ["PoolId","EpochId"] | |
SolutionSubmitted | 6306 | ["PoolId","EpochId","EpochSolution<Balance>"] | |
EpochExecuted | 6307 | ["PoolId","EpochId"] | |
OrdersCollected | 6308 | ["PoolId","TrancheId","EpochId","AccountId","OutstandingCollections<Balance>"] | |
InvestOrderUpdated | 6309 | ["PoolId","TrancheId","AccountId","Balance","Balance"] | |
RedeemOrderUpdated | 630a | ["PoolId","TrancheId","AccountId","Balance","Balance"] |
Name | Type | |
---|---|---|
Pool | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"pallet_pools:PoolDetails","keys_id":8,"value_id":466}} | |
ScheduledUpdate | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"pallet_pools:ScheduledUpdateDetails","keys_id":8,"value_id":480}} | |
Order | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["[U8; 16]","AccountId"],"value":"pallet_pools:UserOrder","keys_id":481,"value_id":482}} | |
Epoch | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["[U8; 16]","U32"],"value":"pallet_pools:EpochDetails","keys_id":483,"value_id":484}} | |
EpochExecution | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"pallet_pools:EpochExecutionInfo","keys_id":8,"value_id":485}} | |
AccountDeposit | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U128","keys_id":0,"value_id":6}} | |
PoolDeposit | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"pallet_pools:PoolDepositInfo","keys_id":8,"value_id":490}} |
Name | Type | Value | |
---|---|---|---|
PalletId | [U8; 8] | 726f632f706f6f6c |
Name | Docs |
---|---|
PoolInUse | A pool with this ID is already in use |
InvalidJuniorTranche | Attempted to create a pool without a junior tranche |
InvalidTrancheStructure | Attempted to create a tranche structure where* non-decreasing interest rate per tranche |
NoSuchPool | Attempted an operation on a pool which does not exist |
MinEpochTimeHasNotPassed | Attempted to close an epoch too early |
ChallengeTimeHasNotPassed | Attempted to execute an epoch too early |
InSubmissionPeriod | Cannot be called while the pool is in a submission period |
NAVTooOld | Attempted to close an epoch with an out of date NAV |
TrancheId | A Tranche ID cannot be converted to an address |
WipedOut | Closing the epoch now would wipe out the junior tranche |
InvalidSolution | The provided solution is not a valid one |
NotInSubmissionPeriod | Attempted to solve a pool which is not in a submission period |
InsufficientCurrency | Insufficient currency available for desired operation |
RiskBufferViolated | Risk Buffer validation failed |
NoNAV | The NAV was not available |
EpochNotExecutedYet | Epoch needs to be executed before you can collect |
NoOutstandingOrder | There's no outstanding order that could be collected |
CollectRequired | User needs to collect before a new order can be submitted |
CannotAddOrRemoveTranches | Adding & removing tranches is not supported |
CollectsNoEpochs | Indicating that a collect with `collect_n_epchs` == 0 was called |
InvalidTrancheSeniority | Invalid tranche seniority value* seniority MUST be smaller number of tranches* MUST be increasing per tranche |
BadMetadata | Invalid metadata passed |
InvalidTrancheId | Invalid TrancheId passed. In most cases out-of-bound index |
NoNewOrder | Indicates that the new passed order equals the old-order |
TooManyTranches | The requested tranche configuration has too many tranches |
NotNewBestSubmission | Submitted solution is not an improvement |
NoSolutionAvailable | No solution has yet been provided for the epoch |
PoolParameterBoundViolated | One of the runtime-level pool parameter bounds was violated |
NoScheduledUpdate | No update for the pool is scheduled |
ScheduledTimeHasNotPassed | Scheduled time for this update is in the future |
UpdatePrerequesitesNotFulfilled | Update cannot be fulfilled yet |
InvalidCurrency | A user has tried to create a pool with an invalid currency |