plutus-tx-1.36.0.0: Libraries for Plutus Tx and its prelude
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusTx.Blueprint.Parameter

Synopsis

Documentation

data ParameterBlueprint (referencedTypes ∷ [Type]) Source #

Blueprint that defines validator's compile-time parameter.

The referencedTypes phantom type parameter is used to track the types used in the contract making sure their schemas are included in the blueprint and that they are referenced in a type-safe way.

Constructors

MkParameterBlueprint 

Fields

Instances

Instances details
ToJSON (ParameterBlueprint referencedTypes) Source # 
Instance details

Defined in PlutusTx.Blueprint.Parameter

Methods

toJSONParameterBlueprint referencedTypes → Value

toEncodingParameterBlueprint referencedTypes → Encoding

toJSONList ∷ [ParameterBlueprint referencedTypes] → Value

toEncodingList ∷ [ParameterBlueprint referencedTypes] → Encoding

omitFieldParameterBlueprint referencedTypes → Bool

Show (ParameterBlueprint referencedTypes) Source # 
Instance details

Defined in PlutusTx.Blueprint.Parameter

Methods

showsPrecIntParameterBlueprint referencedTypes → ShowS Source #

showParameterBlueprint referencedTypes → String Source #

showList ∷ [ParameterBlueprint referencedTypes] → ShowS Source #

Eq (ParameterBlueprint referencedTypes) Source # 
Instance details

Defined in PlutusTx.Blueprint.Parameter

Methods

(==)ParameterBlueprint referencedTypes → ParameterBlueprint referencedTypes → Bool Source #

(/=)ParameterBlueprint referencedTypes → ParameterBlueprint referencedTypes → Bool Source #

Ord (ParameterBlueprint referencedTypes) Source # 
Instance details

Defined in PlutusTx.Blueprint.Parameter

Methods

compareParameterBlueprint referencedTypes → ParameterBlueprint referencedTypes → Ordering Source #

(<)ParameterBlueprint referencedTypes → ParameterBlueprint referencedTypes → Bool Source #

(<=)ParameterBlueprint referencedTypes → ParameterBlueprint referencedTypes → Bool Source #

(>)ParameterBlueprint referencedTypes → ParameterBlueprint referencedTypes → Bool Source #

(>=)ParameterBlueprint referencedTypes → ParameterBlueprint referencedTypes → Bool Source #

maxParameterBlueprint referencedTypes → ParameterBlueprint referencedTypes → ParameterBlueprint referencedTypes Source #

minParameterBlueprint referencedTypes → ParameterBlueprint referencedTypes → ParameterBlueprint referencedTypes Source #

oneOfASetToJSON a ⇒ Set a → Maybe Value Source #