Module near_sdk::store::key

source ·
Expand description

Storage key hash function types and trait to override map hash functions.

Enums§

  • Identity hash which just prefixes all of the serializes bytes and uses it as the key.
  • Keccak256 hash helper which hashes through a syscall. This type satisfies the ToKey trait.
  • Sha256 hash helper which hashes through a syscall. This type satisfies the ToKey trait.

Traits§

  • Trait used to generate keys to store data based on a serializable structure.