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

PlutusTx.Blueprint.Validator

Synopsis

Documentation

data ValidatorBlueprint (referencedTypes :: [Type]) Source #

A blueprint of a validator, as defined by the CIP-0057

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

MkValidatorBlueprint 

Fields

Instances

Instances details
ToJSON (ValidatorBlueprint referencedTypes) Source # 
Instance details

Defined in PlutusTx.Blueprint.Validator

Methods

toJSON :: ValidatorBlueprint referencedTypes -> Value

toEncoding :: ValidatorBlueprint referencedTypes -> Encoding

toJSONList :: [ValidatorBlueprint referencedTypes] -> Value

toEncodingList :: [ValidatorBlueprint referencedTypes] -> Encoding

omitField :: ValidatorBlueprint referencedTypes -> Bool

Show (ValidatorBlueprint referencedTypes) Source # 
Instance details

Defined in PlutusTx.Blueprint.Validator

Methods

showsPrec :: Int -> ValidatorBlueprint referencedTypes -> ShowS Source #

show :: ValidatorBlueprint referencedTypes -> String Source #

showList :: [ValidatorBlueprint referencedTypes] -> ShowS Source #

Eq (ValidatorBlueprint referencedTypes) Source # 
Instance details

Defined in PlutusTx.Blueprint.Validator

Methods

(==) :: ValidatorBlueprint referencedTypes -> ValidatorBlueprint referencedTypes -> Bool Source #

(/=) :: ValidatorBlueprint referencedTypes -> ValidatorBlueprint referencedTypes -> Bool Source #

Ord (ValidatorBlueprint referencedTypes) Source # 
Instance details

Defined in PlutusTx.Blueprint.Validator

Methods

compare :: ValidatorBlueprint referencedTypes -> ValidatorBlueprint referencedTypes -> Ordering Source #

(<) :: ValidatorBlueprint referencedTypes -> ValidatorBlueprint referencedTypes -> Bool Source #

(<=) :: ValidatorBlueprint referencedTypes -> ValidatorBlueprint referencedTypes -> Bool Source #

(>) :: ValidatorBlueprint referencedTypes -> ValidatorBlueprint referencedTypes -> Bool Source #

(>=) :: ValidatorBlueprint referencedTypes -> ValidatorBlueprint referencedTypes -> Bool Source #

max :: ValidatorBlueprint referencedTypes -> ValidatorBlueprint referencedTypes -> ValidatorBlueprint referencedTypes Source #

min :: ValidatorBlueprint referencedTypes -> ValidatorBlueprint referencedTypes -> ValidatorBlueprint referencedTypes Source #