Module concordium_contracts_common::hashes
source · Expand description
Different types of hashes based on SHA256.
Structs§
- A general wrapper around Sha256 hash. This is used to add type safety to a hash that is used in different context. The underlying value is always the same, but the phantom type variable makes it impossible to mistakenly misuse the hashes.
Enums§
- Possible errors when converting from a string to any kind of hash. String representation of hashes is as base 16.
- Used as a phantom type to indicate a hash is a hash with no specific meaning.
Type Aliases§
- A Sha256 with no specific meaning.
- A reference to a smart contract module deployed on the chain.