Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Functions for dealing with scripts and datums
Synopsis
- compiledCodeToScript ∷ CompiledCode a → PlutusScript lang
- fromScriptData ∷ FromData a ⇒ ScriptData → Maybe a
- toScriptData ∷ ToData a ⇒ a → ScriptData
- toHashableScriptData ∷ ToData a ⇒ a → HashableScriptData
Documentation
compiledCodeToScript ∷ CompiledCode a → PlutusScript lang Source #
Get the PlutusScript
of a CompiledCode
FromData / ToData
fromScriptData ∷ FromData a ⇒ ScriptData → Maybe a Source #
toScriptData ∷ ToData a ⇒ a → ScriptData Source #
toHashableScriptData ∷ ToData a ⇒ a → HashableScriptData Source #