Name | Lookup | Parameters | |
---|---|---|---|
set_max_reserve | b500 | 2 | |
close_epoch | b501 | 1 | |
submit_solution | b502 | 2 | |
execute_epoch | b503 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
Rebalanced | b500 | ["PoolId"] | |
MaxReserveSet | b501 | ["PoolId"] | |
EpochClosed | b502 | ["PoolId","EpochId"] | |
SolutionSubmitted | b503 | ["PoolId","EpochId","EpochSolution<Balance, MaxTranches>"] | |
EpochExecuted | b504 | ["PoolId","EpochId"] | |
Created | b505 | ["AccountId","AccountId","PoolId","PoolEssenceOf"] | |
Updated | b506 | ["PoolId","PoolEssenceOf","PoolEssenceOf"] | |
ProposedChange | b507 | ["PoolId","Hash","RuntimeChange"] | |
NegativeBalanceSheet | b508 | ["PoolId","Balance","Balance","Balance"] |
Name | Type | |
---|---|---|
Pool | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"pallet_pool_system:pool_types:PoolDetails","keys_id":11,"value_id":810}} | |
ScheduledUpdate | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"pallet_pool_system:pool_types:ScheduledUpdateDetails","keys_id":11,"value_id":823}} | |
EpochExecution | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"pallet_pool_system:solution:EpochExecutionInfo","keys_id":11,"value_id":824}} | |
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_pool_system:pool_types:PoolDepositInfo","keys_id":11,"value_id":831}} | |
NotedChange | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U64","H256"],"value":"pallet_pool_system:pool_types:changes:NotedPoolChange","keys_id":832,"value_id":833}} |
Name | Type | Value | |
---|---|---|---|
PalletId | [U8; 8] | 726f632f706f6f6c | |
PalletIndex | U8 | b5 | |
ChallengeTime | U32 | 96000000 | |
DefaultMinEpochTime | U64 | 284f010000000000 | |
DefaultMaxNAVAge | U64 | 0000000000000000 | |
MinEpochTimeLowerBound | U64 | 100e000000000000 | |
MinEpochTimeUpperBound | U64 | 008d270000000000 | |
MaxNAVAgeUpperBound | U64 | 0000000000000000 | |
MinUpdateDelay | U64 | 803a090000000000 | |
MaxTokenNameLength | U32 | 80000000 | |
MaxTokenSymbolLength | U32 | 20000000 | |
MaxTranches | U32 | 05000000 | |
PoolDeposit | U128 | 0000a0dec5adc9353600000000000000 |
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 |
CannotAddOrRemoveTranches | Adding & removing tranches is not supported |
InvalidTrancheSeniority | Invalid tranche seniority value* seniority MUST be smaller number of tranches* MUST be increasing per tranche |
InvalidTrancheUpdate | Pre-requirements for a TrancheUpdate are not metfor example: Tranche changed but not its metadata or vice versa |
MetadataForCurrencyNotFound | No metada for the given currency found |
TrancheTokenNameTooLong | The given tranche token name exceeds the length limit |
TrancheSymbolNameTooLong | The given tranche symbol name exceeds the length limit |
FailedToRegisterTrancheMetadata | Registering the metadata for a tranche threw an error |
FailedToUpdateTrancheMetadata | Updating the metadata for a tranche threw an error |
InvalidTrancheId | Invalid TrancheId passed. In most cases out-of-bound index |
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 |
ChangeNotFound | The external change was not found for the specified ChangeId. |
ChangeNotReady | The external change was found for is not ready yet to be released. |