cooked-validators
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cooked.Skeleton.Output

Synopsis

Documentation

data TxSkelOut where Source #

Transaction outputs. The Pays constructor is really general, and you'll probably want to use the receives smart constructor in most cases.

receives :: (Show owner, Typeable owner, IsTxSkelOutAllowedOwner owner, ToCredential owner) => owner -> Payable els -> TxSkelOut Source #

Smart constructor to build TxSkelOut from an owner and payment. This should be the main way of building outputs.

txSkelOutOwnerTypeP :: forall ownerType. (ToCredential ownerType, Show ownerType, IsTxSkelOutAllowedOwner ownerType, Typeable ownerType) => Prism' TxSkelOut (ConcreteOutput ownerType TxSkelOutDatum TxSkelOutValue (Versioned Script)) Source #

Decide if a transaction output has a certain owner and datum type.