atlas-cardano-0.5.0: Application backend for Plutus smart contracts on Cardano
Copyright(c) 2023 GYELD GMBH
LicenseApache 2.0
Maintainer[email protected]
Stabilitydevelop
Safe HaskellSafe-Inferred
LanguageGHC2021

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
FromJSON GYEra # 
Instance details

Defined in GeniusYield.Types.Era

ToJSON GYEra # 
Instance details

Defined in GeniusYield.Types.Era

Generic GYEra # 
Instance details

Defined in GeniusYield.Types.Era

Associated Types

type Rep GYEraTypeType Source #

Methods

fromGYEraRep GYEra x Source #

toRep GYEra x → GYEra Source #

Read GYEra # 
Instance details

Defined in GeniusYield.Types.Era

Show GYEra # 
Instance details

Defined in GeniusYield.Types.Era

Eq GYEra # 
Instance details

Defined in GeniusYield.Types.Era

Methods

(==)GYEraGYEraBool Source #

(/=)GYEraGYEraBool Source #

Ord GYEra # 
Instance details

Defined in GeniusYield.Types.Era

Methods

compareGYEraGYEraOrdering Source #

(<)GYEraGYEraBool Source #

(<=)GYEraGYEraBool Source #

(>)GYEraGYEraBool Source #

(>=)GYEraGYEraBool Source #

maxGYEraGYEraGYEra Source #

minGYEraGYEraGYEra Source #

type Rep GYEra # 
Instance details

Defined in GeniusYield.Types.Era

type Rep GYEra = D1 ('MetaData "GYEra" "GeniusYield.Types.Era" "atlas-cardano-0.5.0-inplace" 'False) (C1 ('MetaCons "GYAlonzo" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "GYBabbage" 'PrefixI 'False) (U1TypeType))