Blockfrost.Types.Shared.Epoch
Description
Epoch
newtype Epoch Source #
Constructors
Defined in Blockfrost.Types.Shared.Epoch
Methods
succ :: Epoch -> Epoch Source #
pred :: Epoch -> Epoch Source #
toEnum :: Int -> Epoch Source #
fromEnum :: Epoch -> Int Source #
enumFrom :: Epoch -> [ Epoch ] Source #
enumFromThen :: Epoch -> Epoch -> [ Epoch ] Source #
enumFromTo :: Epoch -> Epoch -> [ Epoch ] Source #
enumFromThenTo :: Epoch -> Epoch -> Epoch -> [ Epoch ] Source #
(==) :: Epoch -> Epoch -> Bool Source #
(/=) :: Epoch -> Epoch -> Bool Source #
quot :: Epoch -> Epoch -> Epoch Source #
rem :: Epoch -> Epoch -> Epoch Source #
div :: Epoch -> Epoch -> Epoch Source #
mod :: Epoch -> Epoch -> Epoch Source #
quotRem :: Epoch -> Epoch -> ( Epoch , Epoch ) Source #
divMod :: Epoch -> Epoch -> ( Epoch , Epoch ) Source #
toInteger :: Epoch -> Integer Source #
(+) :: Epoch -> Epoch -> Epoch Source #
(-) :: Epoch -> Epoch -> Epoch Source #
(*) :: Epoch -> Epoch -> Epoch Source #
negate :: Epoch -> Epoch Source #
abs :: Epoch -> Epoch Source #
signum :: Epoch -> Epoch Source #
fromInteger :: Integer -> Epoch Source #
compare :: Epoch -> Epoch -> Ordering Source #
(<) :: Epoch -> Epoch -> Bool Source #
(<=) :: Epoch -> Epoch -> Bool Source #
(>) :: Epoch -> Epoch -> Bool Source #
(>=) :: Epoch -> Epoch -> Bool Source #
max :: Epoch -> Epoch -> Epoch Source #
min :: Epoch -> Epoch -> Epoch Source #
toRational :: Epoch -> Rational Source #
showsPrec :: Int -> Epoch -> ShowS Source #
show :: Epoch -> String Source #
showList :: [ Epoch ] -> ShowS Source #
Associated Types
type Rep Epoch :: Type -> Type Source #
from :: Epoch -> Rep Epoch x Source #
to :: Rep Epoch x -> Epoch Source #
toJSON :: Epoch -> Value Source #
toEncoding :: Epoch -> Encoding Source #
toJSONList :: [ Epoch ] -> Value Source #
toEncodingList :: [ Epoch ] -> Encoding Source #
parseJSON :: Value -> Parser Epoch Source #
parseJSONList :: Value -> Parser [ Epoch ] Source #
toUrlPiece :: Epoch -> Text Source #
toEncodedUrlPiece :: Epoch -> Builder Source #
toHeader :: Epoch -> ByteString Source #
toQueryParam :: Epoch -> Text Source #
parseUrlPiece :: Text -> Either Text Epoch Source #
parseHeader :: ByteString -> Either Text Epoch Source #
parseQueryParam :: Text -> Either Text Epoch Source #
toSamples :: Proxy Epoch -> [( Text , Epoch )] Source #
Defined in Blockfrost.Lens
activeEpoch :: Lens' TransactionPoolUpdate Epoch Source #
activeEpoch :: Lens' TransactionDelegation Epoch Source #
activeEpoch :: Lens' AccountDelegation Epoch Source #
epoch :: Lens' PoolHistory Epoch Source #
epoch :: Lens' PoolEpoch Epoch Source #
epoch :: Lens' ProtocolParams Epoch Source #
epoch :: Lens' EpochInfo Epoch Source #
epoch :: Lens' AccountReward Epoch Source #
retiringEpoch :: Lens' TransactionPoolRetiring Epoch Source #
epoch :: Lens' Block ( Maybe Epoch ) Source #
toCapture :: Proxy ( Capture "epoch_number" Epoch ) -> DocCapture Source #
unEpoch :: Epoch -> Integer Source #