Module

Contract.ScriptLookups

A module for creating off-chain script lookups, and an unbalanced transaction.

Re-exports from Ctl.Internal.Types.ScriptLookups

#ScriptLookups

newtype ScriptLookups

Constructors

Instances

#validator

validator :: forall (a :: Type). PlutusScript -> ScriptLookups

A script lookups value with a validator script.

#unspentOutputs

unspentOutputs :: forall (a :: Type). Map TransactionInput TransactionOutput -> ScriptLookups

A script lookups value that uses the map of unspent outputs to resolve input constraints.

#plutusMintingPolicy

plutusMintingPolicy :: PlutusScript -> ScriptLookups

A script lookups value with a minting policy script.

#ownStakePubKeyHash

ownStakePubKeyHash :: StakePubKeyHash -> ScriptLookups

Add your own StakePubKeyHash to the lookup.

#ownPaymentPubKeyHash

ownPaymentPubKeyHash :: PaymentPubKeyHash -> ScriptLookups

Add your own PaymentPubKeyHash to the lookup.

#datum

datum :: PlutusData -> ScriptLookups

A script lookups value with a datum.

Modules