Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Marconi.Cardano.Core.Orphans
Contents
- ChainPoint
- C.Hash C.BlockHeader
- Sometime we need to get a count or test if a value exist.
- C.SlotNo
- C.BlockNo
- C.AddressAny
- C.NetworkId and C.NetworkMagic
- C.Hash C.ScriptData
- C.ScriptData
- C.TxIn
- C.Value
- C.ScriptInAnyLang
- C.ScriptHash
- O.LedgerState (O.CardanoBlock O.StandardCrypto)
- Ledger.Nonce
- ToField/FromField
- SecurityParam
- Orphan instances
Synopsis
- mapLeft :: (a -> b) -> Either a c -> Either b c
- fromFieldViaRawBytes :: SerialiseAsRawBytes a => AsType a -> Field -> Ok a
- encodeLedgerState :: LedgerState (CardanoBlock StandardCrypto) -> Encoding
- decodeLedgerState :: forall s. Decoder s (LedgerState (CardanoBlock StandardCrypto))
ChainPoint
C.Hash C.BlockHeader
Sometime we need to get a count or test if a value exist.
C.SlotNo
C.BlockNo
C.AddressAny
C.NetworkId and C.NetworkMagic
C.Hash C.ScriptData
C.ScriptData
C.TxIn
C.Value
C.ScriptInAnyLang
C.ScriptHash
O.LedgerState (O.CardanoBlock O.StandardCrypto)
Ledger.Nonce
ToField/FromField
fromFieldViaRawBytes :: SerialiseAsRawBytes a => AsType a -> Field -> Ok a #
Helper to deserialize via SerialiseAsRawBytes instance
decodeLedgerState :: forall s. Decoder s (LedgerState (CardanoBlock StandardCrypto)) #