Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cooked.Pretty.Hashable
Description
This module provides an interface for plutus elements that can be hashed. This is used to provide aliases for hashes when pretty printing those elements.
Synopsis
- class ToHash a where
- toHash :: a -> BuiltinByteString
Documentation
Hashable elements can be transformed to BuiltinByteString
Methods
toHash :: a -> BuiltinByteString Source #