plutus-tx-1.38.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

(==)PurposePurposeBool Source #

(/=)PurposePurposeBool Source #

Ord Purpose Source # 
Instance details

Defined in PlutusTx.Blueprint.Purpose

Lift Purpose Source # 
Instance details

Defined in PlutusTx.Blueprint.Purpose

Methods

liftQuote m ⇒ Purpose → m Exp Source #

liftTyped ∷ ∀ (m ∷ TypeType). Quote m ⇒ PurposeCode m Purpose Source #