hydra-plutus-0.20.0: Hydra Plutus Contracts
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Contract.Initial

Description

Datum and redeemer types, as well as helper functions for the commit validator implemented in aiken.

Documentation

type DatumType = CurrencySymbol Source #

data InitialRedeemer Source #

Constructors

ViaAbort 
ViaCommit 

Fields

Instances

Instances details
FromData InitialRedeemer Source # 
Instance details

Defined in Hydra.Contract.Initial

Methods

fromBuiltinData :: BuiltinData -> Maybe InitialRedeemer

ToData InitialRedeemer Source # 
Instance details

Defined in Hydra.Contract.Initial

Methods

toBuiltinData :: InitialRedeemer -> BuiltinData

UnsafeFromData InitialRedeemer Source # 
Instance details

Defined in Hydra.Contract.Initial

Methods

unsafeFromBuiltinData :: BuiltinData -> InitialRedeemer

datum :: DatumType -> Datum Source #

redeemer :: RedeemerType -> Redeemer Source #