| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
Hydra.Tx.BlueprintTx
Synopsis
- data CommitBlueprintTx tx = CommitBlueprintTx {
- lookupUTxO :: UTxOType tx
- blueprintTx :: tx
- mkSimpleBlueprintTx :: IsTx tx => UTxOType tx -> CommitBlueprintTx tx
Documentation
data CommitBlueprintTx tx Source #
_Blueprint/Draft_ transaction paired with the related UTxO and used for
resolving the inputs and committing/depositing into a Head.
Deposit behaviour:
- In case blueprint transaction contains outputs then these outputs will be taken into account.
- If the blueprint tx contains only inputs then the whole provided UTxO will get deposited into a Head.
Commit behaviour:
- Only inputs would be considered ignoring any outputs and complete UTxO gets committed.
Constructors
| CommitBlueprintTx | |
Fields
| |
mkSimpleBlueprintTx :: IsTx tx => UTxOType tx -> CommitBlueprintTx tx Source #