Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Datum and redeemer types, as well as helper functions for the commit validator implemented in aiken.
Documentation
type RedeemerType = InitialRedeemer Source #
data InitialRedeemer Source #
ViaAbort | |
ViaCommit | |
|
Instances
FromData InitialRedeemer Source # | |
Defined in Hydra.Contract.Initial fromBuiltinData :: BuiltinData -> Maybe InitialRedeemer | |
ToData InitialRedeemer Source # | |
Defined in Hydra.Contract.Initial toBuiltinData :: InitialRedeemer -> BuiltinData | |
UnsafeFromData InitialRedeemer Source # | |
Defined in Hydra.Contract.Initial unsafeFromBuiltinData :: BuiltinData -> InitialRedeemer |
redeemer :: RedeemerType -> Redeemer Source #