blockfrost-api-0.4.0.1: API definitions for blockfrost.io
Safe HaskellNone
LanguageHaskell2010

Blockfrost.Types.Shared.Epoch

Description

Epoch

Documentation

newtype Epoch Source #

Constructors

Epoch Integer 

Instances

Instances details
Enum Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Eq Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Methods

(==) :: Epoch -> Epoch -> Bool #

(/=) :: Epoch -> Epoch -> Bool #

Integral Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Num Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Ord Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Methods

compare :: Epoch -> Epoch -> Ordering #

(<) :: Epoch -> Epoch -> Bool #

(<=) :: Epoch -> Epoch -> Bool #

(>) :: Epoch -> Epoch -> Bool #

(>=) :: Epoch -> Epoch -> Bool #

max :: Epoch -> Epoch -> Epoch #

min :: Epoch -> Epoch -> Epoch #

Real Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Methods

toRational :: Epoch -> Rational #

Show Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Methods

showsPrec :: Int -> Epoch -> ShowS #

show :: Epoch -> String #

showList :: [Epoch] -> ShowS #

Generic Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Associated Types

type Rep Epoch :: Type -> Type #

Methods

from :: Epoch -> Rep Epoch x #

to :: Rep Epoch x -> Epoch #

ToJSON Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

FromJSON Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

ToHttpApiData Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

FromHttpApiData Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

ToSample Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Methods

toSamples :: Proxy Epoch -> [(Text, Epoch)] #

HasActiveEpoch TransactionPoolUpdate Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasActiveEpoch TransactionDelegation Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasActiveEpoch AccountDelegation Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch PoolHistory Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch PoolEpoch Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch ProtocolParams Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch EpochInfo Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch AccountReward Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasRetiringEpoch TransactionPoolRetiring Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch Block (Maybe Epoch) Source # 
Instance details

Defined in Blockfrost.Lens

ToCapture (Capture "epoch_number" Epoch) Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Methods

toCapture :: Proxy (Capture "epoch_number" Epoch) -> DocCapture #

type Rep Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

type Rep Epoch = D1 ('MetaData "Epoch" "Blockfrost.Types.Shared.Epoch" "blockfrost-api-0.4.0.1-9IppWzogtB2Kw5eDV4M9U" 'True) (C1 ('MetaCons "Epoch" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))