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

Hydra.Tx.Decrement

Synopsis

Construction

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.

Observation

data DecrementObservation Source #

Instances

Instances details
FromJSON DecrementObservation Source # 
Instance details

Defined in Hydra.Tx.Decrement

ToJSON DecrementObservation Source # 
Instance details

Defined in Hydra.Tx.Decrement

Generic DecrementObservation Source # 
Instance details

Defined in Hydra.Tx.Decrement

Associated Types

type Rep DecrementObservation :: Type -> Type Source #

Show DecrementObservation Source # 
Instance details

Defined in Hydra.Tx.Decrement

Eq DecrementObservation Source # 
Instance details

Defined in Hydra.Tx.Decrement

type Rep DecrementObservation Source # 
Instance details

Defined in Hydra.Tx.Decrement

type Rep DecrementObservation = D1 ('MetaData "DecrementObservation" "Hydra.Tx.Decrement" "hydra-tx-0.22.0-F0GpoikV7lPBPp4VCs3iEf" 'False) (C1 ('MetaCons "DecrementObservation" 'PrefixI 'True) (S1 ('MetaSel ('Just "headId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HeadId) :*: (S1 ('MetaSel ('Just "newVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SnapshotVersion) :*: S1 ('MetaSel ('Just "distributedUTxO") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTxO))))