subscan
Runtime Modules / PoolRegistry
Spec Version:
Call Functions
Name
Lookup
Parameters
registerb4008
updateb4012
execute_updateb4021
set_metadatab4032
Events
Name
Lookup
Attributes
Registeredb400["PoolId"]
UpdateRegisteredb401["PoolId"]
UpdateExecutedb402["PoolId"]
UpdateStoredb403["PoolId"]
MetadataSetb404["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":11,"value_id":806}}
Pools{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"cfg_types:pools:PoolRegistrationStatus","keys_id":11,"value_id":808}}
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