Name | Lookup | Parameters | |
---|---|---|---|
register | 6700 | 6 | |
update | 6701 | 2 | |
execute_update | 6702 | 1 | |
set_metadata | 6703 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
Registered | 6700 | ["PoolId"] | |
UpdateRegistered | 6701 | ["PoolId"] | |
UpdateExecuted | 6702 | ["PoolId"] | |
UpdateStored | 6703 | ["PoolId"] | |
MetadataSet | 6704 | ["PoolId","BoundedVec<u8, MaxSizeMetadata>"] |
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}} |
Name | Type | Value | |
---|---|---|---|
MaxTokenNameLength | U32 | 80000000 | |
MaxTokenSymbolLength | U32 | 20000000 | |
MaxTranches | U32 | 05000000 | |
MaxSizeMetadata | U32 | 2e000000 |
Name | Docs |
---|---|
BadMetadata | Invalid metadata passed |
PoolAlreadyRegistered | A Pool with the given ID was already registered in the past |
InvalidTrancheUpdate | Pre-requirements for a TrancheUpdate are not metfor example: Tranche changed but not its metadata or vice versa |
MetadataForCurrencyNotFound | No metadata for the given currency found |
NoSuchPoolMetadata | No Metadata found for the given PoolId |
TrancheTokenNameTooLong | The given tranche token name exceeds the length limit |
TrancheSymbolNameTooLong | The given tranche symbol name exceeds the length limit |