atlas-0.1.0.0: Application backend for Plutus smart contracts on Cardano
Copyright(c) 2023 GYELD GMBH
LicenseApache 2.0
Maintainersupport@geniusyield.co
Stabilitydevelop
Safe HaskellNone
LanguageHaskell2010

GeniusYield.Types.Era

Description

 
Synopsis

Documentation

data GYEra #

Eras at which cardano-node provider may operate.

We will drop the older eras when the transition to them is complete. (atm, August 2022, we still need Alonzo a bit)

>>> Aeson.encode GYAlonzo
"\"Alonzo\""
>>> Aeson.decode @GYEra "\"Babbage\""
Just GYBabbage

Constructors

GYAlonzo 
GYBabbage 

Instances

Instances details
Eq GYEra # 
Instance details

Defined in GeniusYield.Types.Era

Methods

(==) ∷ GYEra → GYEra → Bool #

(/=) ∷ GYEra → GYEra → Bool #

Ord GYEra # 
Instance details

Defined in GeniusYield.Types.Era

Methods

compare ∷ GYEra → GYEra → Ordering #

(<) ∷ GYEra → GYEra → Bool #

(<=) ∷ GYEra → GYEra → Bool #

(>) ∷ GYEra → GYEra → Bool #

(>=) ∷ GYEra → GYEra → Bool #

max ∷ GYEra → GYEra → GYEra #

min ∷ GYEra → GYEra → GYEra #

Read GYEra # 
Instance details

Defined in GeniusYield.Types.Era

Show GYEra # 
Instance details

Defined in GeniusYield.Types.Era

Methods

showsPrec ∷ Int → GYEra → ShowS #

show ∷ GYEra → String #

showList ∷ [GYEra] → ShowS #

Generic GYEra # 
Instance details

Defined in GeniusYield.Types.Era

Associated Types

type Rep GYEra ∷ Type → Type #

Methods

from ∷ GYEra → Rep GYEra x #

to ∷ Rep GYEra x → GYEra #

FromJSON GYEra # 
Instance details

Defined in GeniusYield.Types.Era

Methods

parseJSON ∷ Value → Parser GYEra #

parseJSONList ∷ Value → Parser [GYEra] #

ToJSON GYEra # 
Instance details

Defined in GeniusYield.Types.Era

Methods

toJSON ∷ GYEra → Value #

toEncoding ∷ GYEra → Encoding #

toJSONList ∷ [GYEra] → Value #

toEncodingList ∷ [GYEra] → Encoding #

type Rep GYEra # 
Instance details

Defined in GeniusYield.Types.Era

type Rep GYEra = D1 ('MetaData "GYEra" "GeniusYield.Types.Era" "atlas-0.1.0.0-inplace" 'False) (C1 ('MetaCons "GYAlonzo" 'PrefixI 'False) (U1 ∷ Type → Type) :+: C1 ('MetaCons "GYBabbage" 'PrefixI 'False) (U1 ∷ Type → Type))