subscan
Runtime Modules / PoolRegistry
Spec Version:
Call Functions
Name
Lookup
Parameters
register67006
update67012
execute_update67021
set_metadata67032
Events
Name
Lookup
Attributes
Registered6700["PoolId"]
UpdateRegistered6701["PoolId"]
UpdateExecuted6702["PoolId"]
UpdateStored6703["PoolId"]
MetadataSet6704["PoolId","BoundedVec<u8, MaxSizeMetadata>"]
Storage Functions
Name
Type
PoolMetadata{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"Vec<U8>","keys_id":10,"value_id":560}}
Pools{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"pallet_pool_registry:PoolRegistrationStatus","keys_id":10,"value_id":561}}
Constants
Name
Type
Value
MaxTokenNameLengthU3280000000
MaxTokenSymbolLengthU3220000000
MaxTranchesU3205000000
MaxSizeMetadataU322e000000
Error Types
Name
Docs
BadMetadataInvalid metadata passed
PoolAlreadyRegisteredA Pool with the given ID was already registered in the past
InvalidTrancheUpdatePre-requirements for a TrancheUpdate are not metfor example: Tranche changed but not its metadata or vice versa
MetadataForCurrencyNotFoundNo metadata for the given currency found
NoSuchPoolMetadataNo Metadata found for the given PoolId
TrancheTokenNameTooLongThe given tranche token name exceeds the length limit
TrancheSymbolNameTooLongThe given tranche symbol name exceeds the length limit