Name | Lookup | Parameters | |
---|---|---|---|
create | 6300 | 6 | |
update | 6301 | 2 | |
execute_scheduled_update | 6302 | 1 | |
set_metadata | 6303 | 2 | |
set_max_reserve | 6304 | 2 | |
close_epoch | 6305 | 1 | |
submit_solution | 6306 | 2 | |
execute_epoch | 6307 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
Created | 6300 | ["PoolId","AccountId"] | |
Updated | 6301 | ["PoolId"] | |
Rebalanced | 6302 | ["PoolId"] | |
MaxReserveSet | 6303 | ["PoolId"] | |
MetadataSet | 6304 | ["PoolId","BoundedVec<u8, MaxSizeMetadata>"] | |
EpochClosed | 6305 | ["PoolId","EpochId"] | |
SolutionSubmitted | 6306 | ["PoolId","EpochId","EpochSolution<Balance>"] | |
EpochExecuted | 6307 | ["PoolId","EpochId"] |
Name | Type | |
---|---|---|
Pool | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"pallet_pool_system:PoolDetails","keys_id":9,"value_id":506}} | |
ScheduledUpdate | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"pallet_pool_system:ScheduledUpdateDetails","keys_id":9,"value_id":519}} | |
EpochExecution | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"pallet_pool_system:EpochExecutionInfo","keys_id":9,"value_id":520}} | |
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:PoolDepositInfo","keys_id":9,"value_id":525}} |
Name | Type | Value | |
---|---|---|---|
PalletId | [U8; 8] | 726f632f706f6f6c | |
PalletIndex | U8 | 63 | |
ParachainId | U32 | 28080000 | |
ChallengeTime | U32 | 96000000 | |
DefaultMinEpochTime | U64 | 284f010000000000 | |
DefaultMaxNAVAge | U64 | 0000000000000000 | |
MinEpochTimeLowerBound | U64 | 100e000000000000 | |
MinEpochTimeUpperBound | U64 | 008d270000000000 | |
MaxNAVAgeUpperBound | U64 | 0000000000000000 | |
MinUpdateDelay | U64 | 00a3020000000000 | |
MaxSizeMetadata | U32 | 2e000000 | |
MaxTokenNameLength | U32 | 80000000 | |
MaxTokenSymbolLength | U32 | 80000000 | |
MaxTranches | U32 | 05000000 | |
PoolDeposit | U128 | 00000000000000000000000000000000 |
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 |
BadMetadata | Invalid metadata passed |
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 |