Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class (EraScript era, Show (Script era)) ⇒ Scriptic era where Source #
always ∷ Natural → Proof era → Script era Source #
alwaysAlt ∷ Natural → Proof era → Script era Source #
never ∷ Natural → Proof era → Script era Source #
require ∷ KeyHash 'Witness (EraCrypto era) → Proof era → NativeScript era Source #
allOf ∷ [Proof era → NativeScript era] → Proof era → NativeScript era Source #
anyOf ∷ [Proof era → NativeScript era] → Proof era → NativeScript era Source #
mOf ∷ Int → [Proof era → NativeScript era] → Proof era → NativeScript era Source #
Instances
class Scriptic era ⇒ PostShelley era where Source #
Instances
Crypto c ⇒ PostShelley (AllegraEra c) Source # | |
Defined in Test.Cardano.Ledger.Generic.Scriptic before ∷ Int → Proof (AllegraEra c) → NativeScript (AllegraEra c) Source # after ∷ Int → Proof (AllegraEra c) → NativeScript (AllegraEra c) Source # | |
Crypto c ⇒ PostShelley (AlonzoEra c) Source # | |
Crypto c ⇒ PostShelley (BabbageEra c) Source # | |
Defined in Test.Cardano.Ledger.Generic.Scriptic before ∷ Int → Proof (BabbageEra c) → NativeScript (BabbageEra c) Source # after ∷ Int → Proof (BabbageEra c) → NativeScript (BabbageEra c) Source # | |
Crypto c ⇒ PostShelley (ConwayEra c) Source # | |
Crypto c ⇒ PostShelley (MaryEra c) Source # | |
class HasTokens era where Source #
Instances
Crypto c ⇒ HasTokens (AlonzoEra c) Source # | |
Defined in Test.Cardano.Ledger.Generic.Scriptic | |
Crypto c ⇒ HasTokens (BabbageEra c) Source # | |
Defined in Test.Cardano.Ledger.Generic.Scriptic forge ∷ Integer → Script (BabbageEra c) → MultiAsset (EraCrypto (BabbageEra c)) Source # | |
Crypto c ⇒ HasTokens (ConwayEra c) Source # | |
Defined in Test.Cardano.Ledger.Generic.Scriptic | |
Crypto c ⇒ HasTokens (MaryEra c) Source # | |
Defined in Test.Cardano.Ledger.Generic.Scriptic |