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

Hydra.Tx.Increment

Synopsis

Construction

incrementTx 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

-> UTxO

Deposit output UTxO to be spent in increment transaction

-> SlotNo 
-> MultiSignature (Snapshot Tx) 
-> Tx 

Construct a _increment_ transaction which takes as input some UTxO' locked at v_deposit and make it available on L2.

Observation

data IncrementObservation Source #

Instances

Instances details
FromJSON IncrementObservation Source # 
Instance details

Defined in Hydra.Tx.Increment

ToJSON IncrementObservation Source # 
Instance details

Defined in Hydra.Tx.Increment

Generic IncrementObservation Source # 
Instance details

Defined in Hydra.Tx.Increment

Associated Types

type Rep IncrementObservation :: Type -> Type Source #

Show IncrementObservation Source # 
Instance details

Defined in Hydra.Tx.Increment

Eq IncrementObservation Source # 
Instance details

Defined in Hydra.Tx.Increment

type Rep IncrementObservation Source # 
Instance details

Defined in Hydra.Tx.Increment

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