Hydra.Cardano.Api.Network
data Network #
Constructors
Defined in Cardano.Ledger.BaseTypes
Methods
parseJSON :: Value -> Parser Network #
parseJSONList :: Value -> Parser [Network] #
omittedField :: Maybe Network #
toJSON :: Network -> Value #
toEncoding :: Network -> Encoding #
toJSONList :: [Network] -> Value #
toEncodingList :: [Network] -> Encoding #
omitField :: Network -> Bool #
minBound :: Network Source #
maxBound :: Network Source #
succ :: Network -> Network Source #
pred :: Network -> Network Source #
toEnum :: Int -> Network Source #
fromEnum :: Network -> Int Source #
enumFrom :: Network -> [Network] Source #
enumFromThen :: Network -> Network -> [Network] Source #
enumFromTo :: Network -> Network -> [Network] Source #
enumFromThenTo :: Network -> Network -> Network -> [Network] Source #
Associated Types
type Rep Network :: Type -> Type Source #
from :: Network -> Rep Network x Source #
to :: Rep Network x -> Network Source #
showsPrec :: Int -> Network -> ShowS Source #
show :: Network -> String Source #
showList :: [Network] -> ShowS Source #
decCBOR :: Decoder s Network
dropCBOR :: Proxy Network -> Decoder s ()
label :: Proxy Network -> Text
encCBOR :: Network -> Encoding
encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy Network -> Size
encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [Network] -> Size
def :: Network
rnf :: Network -> () Source #
(==) :: Network -> Network -> Bool Source #
(/=) :: Network -> Network -> Bool Source #
compare :: Network -> Network -> Ordering Source #
(<) :: Network -> Network -> Bool Source #
(<=) :: Network -> Network -> Bool Source #
(>) :: Network -> Network -> Bool Source #
(>=) :: Network -> Network -> Bool Source #
max :: Network -> Network -> Network Source #
min :: Network -> Network -> Network Source #
noThunks :: Context -> Network -> IO (Maybe ThunkInfo)
wNoThunks :: Context -> Network -> IO (Maybe ThunkInfo)
showTypeOf :: Proxy Network -> String
networkIdToNetwork :: NetworkId -> Network Source #