Copyright | (c) 2024 GYELD GMBH |
---|---|
License | Apache 2.0 |
Maintainer | [email protected] |
Stability | develop |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
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
FromJSON Purpose # | |
Defined in GeniusYield.Types.Blueprint.Purpose | |
ToJSON Purpose # | |
Generic Purpose # | |
Show Purpose # | |
Eq Purpose # | |
Ord Purpose # | |
type Rep Purpose # | |
Defined in GeniusYield.Types.Blueprint.Purpose type Rep Purpose = D1 ('MetaData "Purpose" "GeniusYield.Types.Blueprint.Purpose" "atlas-cardano-0.6.3-inplace" 'False) ((C1 ('MetaCons "Spend" 'PrefixI 'False) (U1 ∷ Type → Type) :+: C1 ('MetaCons "Mint" 'PrefixI 'False) (U1 ∷ Type → Type)) :+: (C1 ('MetaCons "Withdraw" 'PrefixI 'False) (U1 ∷ Type → Type) :+: C1 ('MetaCons "Publish" 'PrefixI 'False) (U1 ∷ Type → Type))) |