Name | Lookup | Parameters | |
---|---|---|---|
register | b400 | 8 | |
update | b401 | 2 | |
execute_update | b402 | 1 | |
set_metadata | b403 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
Registered | b400 | ["PoolId"] | |
UpdateRegistered | b401 | ["PoolId"] | |
UpdateExecuted | b402 | ["PoolId"] | |
UpdateStored | b403 | ["PoolId"] | |
MetadataSet | b404 | ["PoolId","BoundedVec<u8, MaxSizeMetadata>"] |
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}} |
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 |