Name | Lookup | Parameters | |
|---|---|---|---|
| propose_update_collection_info | 7500 | 2 | |
| apply_update_collection_info | 7501 | 2 | |
| update_collection | 7502 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| AddedKey | 7500 | ["CollectionId","OracleKey"] | |
| RemovedKey | 7501 | ["CollectionId","OracleKey"] | |
| UpdatedCollectionInfo | 7502 | ["CollectionId","types::CollectionInfo"] | |
| UpdatedCollection | 7503 | ["CollectionId","u32"] |
Name | Type | |
|---|---|---|
| Collection | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"pallet_oracle_collection:types:CachedCollection","keys_id":11,"value_id":781}} | |
| Keys | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U64","cfg_types:oracles:OracleKey"],"value":"U32","keys_id":787,"value_id":4}} | |
| CollectionInfo | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"pallet_oracle_collection:types:CollectionInfo","keys_id":11,"value_id":138}} | |
| CollectionKeyCount | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"U32","keys_id":11,"value_id":4}} |
Name | Type | Value | |
|---|---|---|---|
| MaxCollectionSize | U32 | 2c010000 | |
| MaxFeedersPerKey | U32 | 0a000000 |
Name | Docs |
|---|---|
| IsNotAdmin | The account who trigger the action is not a collection admin. |
| KeyNotInCollection | The key is not in the collection. |
| KeyNotRegistered | The key is not registered |
| MaxCollectionSize | Collection size reached |
| NoOracleCollectionChangeId | The change id does not correspond to an oracle collection change |
| OracleValueOutdated | The oracle value has passed the collection max age. |
| NotEnoughFeeders | The amount of feeders for a key is not enough |