plutus-contract-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.Contract.Typed.Tx

Description

Functions for working with the contract interface using typed transactions.

Synopsis

Documentation

collectFromScriptFilter :: forall i o. (TxOutRef -> ChainIndexTxOut -> Bool) -> Map TxOutRef ChainIndexTxOut -> i -> TxConstraints i o Source #

Given the pay to script address of the Validator, collect from it all the outputs that match a predicate, using the RedeemerValue.

collectFromScript :: forall i o. Map TxOutRef ChainIndexTxOut -> i -> TxConstraints i o Source #

A version of collectFromScript that selects all outputs at the address