subscan
Runtime Modules / Pools
Spec Version:
Events
Name
Lookup
Attributes
Created6300["PoolId","AccountId"]
Updated6301["PoolId"]
Rebalanced6302["PoolId"]
MaxReserveSet6303["PoolId"]
MetadataSet6304["PoolId","Bytes"]
EpochClosed6305["PoolId","EpochId"]
SolutionSubmitted6306["PoolId","EpochId","EpochSolution<Balance>"]
EpochExecuted6307["PoolId","EpochId"]
OrdersCollected6308["PoolId","TrancheId","EpochId","AccountId","OutstandingCollections<Balance>"]
InvestOrderUpdated6309["PoolId","TrancheId","AccountId","Balance","Balance"]
RedeemOrderUpdated630a["PoolId","TrancheId","AccountId","Balance","Balance"]
Storage Functions
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}}
Constants
Name
Type
Value
PalletId[U8; 8]726f632f706f6f6c
Error Types
Name
Docs
PoolInUseA pool with this ID is already in use
InvalidJuniorTrancheAttempted to create a pool without a junior tranche
InvalidTrancheStructureAttempted to create a tranche structure where* non-decreasing interest rate per tranche
NoSuchPoolAttempted an operation on a pool which does not exist
MinEpochTimeHasNotPassedAttempted to close an epoch too early
ChallengeTimeHasNotPassedAttempted to execute an epoch too early
InSubmissionPeriodCannot be called while the pool is in a submission period
NAVTooOldAttempted to close an epoch with an out of date NAV
TrancheIdA Tranche ID cannot be converted to an address
WipedOutClosing the epoch now would wipe out the junior tranche
InvalidSolutionThe provided solution is not a valid one
NotInSubmissionPeriodAttempted to solve a pool which is not in a submission period
InsufficientCurrencyInsufficient currency available for desired operation
RiskBufferViolatedRisk Buffer validation failed
NoNAVThe NAV was not available
EpochNotExecutedYetEpoch needs to be executed before you can collect
NoOutstandingOrderThere's no outstanding order that could be collected
CollectRequiredUser needs to collect before a new order can be submitted
CannotAddOrRemoveTranchesAdding & removing tranches is not supported
CollectsNoEpochsIndicating that a collect with `collect_n_epchs` == 0 was called
InvalidTrancheSeniorityInvalid tranche seniority value* seniority MUST be smaller number of tranches* MUST be increasing per tranche
BadMetadataInvalid metadata passed
InvalidTrancheIdInvalid TrancheId passed. In most cases out-of-bound index
NoNewOrderIndicates that the new passed order equals the old-order
TooManyTranchesThe requested tranche configuration has too many tranches
NotNewBestSubmissionSubmitted solution is not an improvement
NoSolutionAvailableNo solution has yet been provided for the epoch
PoolParameterBoundViolatedOne of the runtime-level pool parameter bounds was violated
NoScheduledUpdateNo update for the pool is scheduled
ScheduledTimeHasNotPassedScheduled time for this update is in the future
UpdatePrerequesitesNotFulfilledUpdate cannot be fulfilled yet
InvalidCurrencyA user has tried to create a pool with an invalid currency