| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
PlutusTx.Blueprint.Purpose
Documentation
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.
Instances
| ToJSON Purpose Source # | |
Defined in PlutusTx.Blueprint.Purpose Methods toEncoding :: Purpose -> Encoding toJSONList :: [Purpose] -> Value toEncodingList :: [Purpose] -> Encoding | |
| Show Purpose Source # | |
| Eq Purpose Source # | |
| Ord Purpose Source # | |
Defined in PlutusTx.Blueprint.Purpose | |
| Lift Purpose Source # | |
purposeToText :: Purpose -> Text Source #