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

Blockfrost.Types.Shared.Epoch

Description

Epoch

Documentation

newtype Epoch Source #

Constructors

Epoch Integer 

Instances

Instances details
Eq Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Methods

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

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

Num Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

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.2.0.0-Hsre1z6A3K049l5HFlEppT" 'True) (C1 ('MetaCons "Epoch" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))