Name | Lookup | Parameters | |
|---|---|---|---|
| set_max_reserve | 6300 | 2 | |
| close_epoch | 6301 | 1 | |
| submit_solution | 6302 | 2 | |
| execute_epoch | 6303 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Rebalanced | 6300 | ["PoolId"] | |
| MaxReserveSet | 6301 | ["PoolId"] | |
| EpochClosed | 6302 | ["PoolId","EpochId"] | |
| SolutionSubmitted | 6303 | ["PoolId","EpochId","EpochSolution<Balance, MaxTranches>"] | |
| EpochExecuted | 6304 | ["PoolId","EpochId"] | |
| Created | 6305 | ["AccountId","AccountId","PoolId","PoolEssence<CurrencyId, Balance, TrancheCurrency, Rate, MaxTokenNameLength, MaxTokenSymbolLength,>"] | |
| Updated | 6306 | ["PoolId","PoolEssence<CurrencyId, Balance, TrancheCurrency, Rate, MaxTokenNameLength, MaxTokenSymbolLength,>","PoolEssence<CurrencyId, Balance, TrancheCurrency, Rate, MaxTokenNameLength, MaxTokenSymbolLength,>"] |
Name | Type | |
|---|---|---|
| Pool | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"pallet_pool_system:pool_types:PoolDetails","keys_id":10,"value_id":518}} | |
| ScheduledUpdate | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"pallet_pool_system:pool_types:ScheduledUpdateDetails","keys_id":10,"value_id":533}} | |
| EpochExecution | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"pallet_pool_system:solution:EpochExecutionInfo","keys_id":10,"value_id":534}} | |
| 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":10,"value_id":540}} |
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 | 20000000 | |
| 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 |