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

PlutusTx.Blueprint.Purpose

Synopsis

Documentation

data Purpose Source #

As per CIP-57, a validator arguments (redeemer, datum) and validator parameters all must specify a purpose that indicates in which context they are used.

Constructors

Spend 
Mint 
Withdraw 
Publish 

Instances

Instances details
ToJSON Purpose Source # 
Instance details

Defined in PlutusTx.Blueprint.Purpose

Show Purpose Source # 
Instance details

Defined in PlutusTx.Blueprint.Purpose

Eq Purpose Source # 
Instance details

Defined in PlutusTx.Blueprint.Purpose

Methods

(==) ∷ Purpose → Purpose → Bool Source #

(/=) ∷ Purpose → Purpose → Bool Source #

Ord Purpose Source # 
Instance details

Defined in PlutusTx.Blueprint.Purpose

Lift Purpose Source # 
Instance details

Defined in PlutusTx.Blueprint.Purpose

Methods

lift ∷ Quote m ⇒ Purpose → m Exp Source #

liftTyped ∷ ∀ (m ∷ Type → Type). Quote m ⇒ Purpose → Code m Purpose Source #