Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- recoverTx :: TxId -> UTxO -> SlotNo -> Tx
- data RecoverObservation = RecoverObservation {
- headId :: HeadId
- recoveredTxId :: TxId
- observeRecoverTx :: NetworkId -> UTxO -> Tx -> Maybe RecoverObservation
Documentation
:: TxId | Deposit input |
-> UTxO | Deposited UTxO to recover |
-> SlotNo | Lower bound slot number |
-> Tx |
Builds a recover transaction to recover locked funds from the v_deposit script.
data RecoverObservation Source #
RecoverObservation | |
|
Instances
Generic RecoverObservation Source # | |
Defined in Hydra.Tx.Recover from :: RecoverObservation -> Rep RecoverObservation x Source # to :: Rep RecoverObservation x -> RecoverObservation Source # | |
Show RecoverObservation Source # | |
Defined in Hydra.Tx.Recover | |
Eq RecoverObservation Source # | |
Defined in Hydra.Tx.Recover (==) :: RecoverObservation -> RecoverObservation -> Bool Source # (/=) :: RecoverObservation -> RecoverObservation -> Bool Source # | |
type Rep RecoverObservation Source # | |
Defined in Hydra.Tx.Recover type Rep RecoverObservation = D1 ('MetaData "RecoverObservation" "Hydra.Tx.Recover" "hydra-tx-0.19.0-CNt37yoHV6SLHPMLDZKDue" 'False) (C1 ('MetaCons "RecoverObservation" 'PrefixI 'True) (S1 ('MetaSel ('Just "headId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HeadId) :*: S1 ('MetaSel ('Just "recoveredTxId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxId))) |
observeRecoverTx :: NetworkId -> UTxO -> Tx -> Maybe RecoverObservation Source #