blockfrost-api-0.12.0.0: API definitions for blockfrost.io
Safe HaskellSafe-Inferred
LanguageHaskell2010

Blockfrost.Types.Shared.Epoch

Description

Epoch

Documentation

newtype Epoch Source #

Constructors

Epoch Integer 

Instances

Instances details
FromJSON Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

ToJSON Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Enum Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

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 #

Num Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Integral Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.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 #

Eq Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Methods

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

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

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 #

FromHttpApiData Epoch Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

ToHttpApiData 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 AccountDelegation Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasActiveEpoch TransactionDelegation Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasActiveEpoch TransactionPoolUpdate Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasBoundEpoch NetworkEraBound Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch AccountReward Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch EpochInfo Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch ProtocolParams Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch PoolEpoch Epoch Source # 
Instance details

Defined in Blockfrost.Lens

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

newtype EpochLength Source #

Constructors

EpochLength Word64 

Instances

Instances details
FromJSON EpochLength Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

ToJSON EpochLength Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Enum EpochLength Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Generic EpochLength Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Associated Types

type Rep EpochLength :: Type -> Type #

Num EpochLength Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Integral EpochLength Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Real EpochLength Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Show EpochLength Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Eq EpochLength Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Ord EpochLength Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

FromHttpApiData EpochLength Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

ToHttpApiData EpochLength Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

ToSample EpochLength Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

HasParametersEpochLength NetworkEraParameters EpochLength Source # 
Instance details

Defined in Blockfrost.Lens

ToCapture (Capture "epoch_length" EpochLength) Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Methods

toCapture :: Proxy (Capture "epoch_length" EpochLength) -> DocCapture #

type Rep EpochLength Source # 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

type Rep EpochLength = D1 ('MetaData "EpochLength" "Blockfrost.Types.Shared.Epoch" "blockfrost-api-0.12.0.0-47po8LqaOADFy8URMsERQB" 'True) (C1 ('MetaCons "EpochLength" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))