hydra-tx-0.19.0: Hydra transaction library
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Tx.Decrement

Synopsis

Documentation

decrementTx Source #

Arguments

:: ScriptRegistry

Published Hydra scripts to reference.

-> VerificationKey PaymentKey

Party who's authorizing this transaction

-> HeadId

Head identifier

-> HeadParameters

Parameters of the head.

-> (TxIn, TxOut CtxUTxO)

Everything needed to spend the Head state-machine output.

-> Snapshot Tx

Confirmed Snapshot

-> MultiSignature (Snapshot Tx) 
-> Tx 

Construct a _decrement_ transaction which takes as input some UTxO' present in the L2 ledger state and makes it available on L1.