Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
PlutusTx.Blueprint.Validator
Synopsis
- data ValidatorBlueprint (referencedTypes ∷ [Type]) = MkValidatorBlueprint {
- validatorTitle ∷ Text
- validatorDescription ∷ Maybe Text
- validatorRedeemer ∷ ArgumentBlueprint referencedTypes
- validatorDatum ∷ Maybe (ArgumentBlueprint referencedTypes)
- validatorParameters ∷ [ParameterBlueprint referencedTypes]
- validatorCompiled ∷ Maybe CompiledValidator
- data CompiledValidator = MkCompiledValidator {}
- compiledValidator ∷ PlutusVersion → ByteString → CompiledValidator
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
data CompiledValidator Source #
Constructors
MkCompiledValidator | |
Instances
Show CompiledValidator Source # | |
Defined in PlutusTx.Blueprint.Validator | |
Eq CompiledValidator Source # | |
Defined in PlutusTx.Blueprint.Validator Methods (==) ∷ CompiledValidator → CompiledValidator → Bool Source # (/=) ∷ CompiledValidator → CompiledValidator → Bool Source # | |
Ord CompiledValidator Source # | |
Defined in PlutusTx.Blueprint.Validator Methods compare ∷ CompiledValidator → CompiledValidator → Ordering Source # (<) ∷ CompiledValidator → CompiledValidator → Bool Source # (<=) ∷ CompiledValidator → CompiledValidator → Bool Source # (>) ∷ CompiledValidator → CompiledValidator → Bool Source # (>=) ∷ CompiledValidator → CompiledValidator → Bool Source # max ∷ CompiledValidator → CompiledValidator → CompiledValidator Source # min ∷ CompiledValidator → CompiledValidator → CompiledValidator Source # |