cardano-constitution-1.60.0.0: Cardano's Constitution
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Constitution.Config.Types

Synopsis
  • newtype ConstitutionConfig = ConstitutionConfig {}
  • Documentation

    data PredKey #

    The "unresolved" Predicate names, as read from JSON. At runtime, these PredKeys will each be resolved to actual PredMeaning functions.

    Constructors

    MinValue 
    MaxValue 
    NotEqual 

    Instances

    Instances details
    Ord a 
    => a

    the expected value, supplied from the config (json)

    -> a

    the proposed value, taken from the ScriptContext

    -> Bool

    True means the proposed value meets the expectations.

    The "meaning" of a predicate, resolved from a PredKey (a string in JSON) to a Tx binary predicate function.