cooked-validators
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cooked.Skeleton.ReferenceScript

Description

This module exposes the notion of reference scripts used in our TxSkel

Synopsis

Documentation

type ReferenceScriptConstrs refScript = (ToVersioned Script refScript, Show refScript, Typeable refScript) Source #

Type constraints over the reference script in a TxSkelOut

txSkelOutTypedRefScriptAT :: ReferenceScriptConstrs a => AffineTraversal' TxSkelOutReferenceScript a Source #

Retrieving, or setting, a typed reference script

txSkelOutRefScriptVersioned :: TxSkelOutReferenceScript -> Maybe (Versioned Script) Source #

Retrieving the versioned reference script

txSkelOutRefScriptHash :: TxSkelOutReferenceScript -> Maybe ScriptHash Source #

Retrieving the hash of the reference script