cardano-api-8.36.1.1: The cardano api
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.Block

Description

Blocks in the blockchain

Synopsis

Blocks in the context of an era

data Block era where Source #

A blockchain block in a particular Cardano era.

Constructors

ByronBlock :: ByronBlock -> Block ByronEra 
ShelleyBlock :: ShelleyBasedEra era -> ShelleyBlock (ConsensusProtocol era) (ShelleyLedgerEra era) -> Block era 

Bundled Patterns

pattern Block :: BlockHeader -> [Tx era] -> Block era

A block consists of a header and a body containing transactions.

Instances

Instances details
Show (Block era) Source # 
Instance details

Defined in Cardano.Api.Block

Methods

showsPrec :: Int -> Block era -> ShowS Source #

show :: Block era -> String Source #

showList :: [Block era] -> ShowS Source #

data BlockHeader Source #

Instances

Instances details
HasTypeProxy BlockHeader Source # 
Instance details

Defined in Cardano.Api.Block

Associated Types

data AsType BlockHeader Source #

Eq (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Ord (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Show (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

IsString (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

FromJSON (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Methods

parseJSON :: Value -> Parser (Hash BlockHeader) #

parseJSONList :: Value -> Parser [Hash BlockHeader] #

omittedField :: Maybe (Hash BlockHeader) #

ToJSON (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

SerialiseAsRawBytes (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

data AsType BlockHeader Source # 
Instance details

Defined in Cardano.Api.Block

newtype Hash BlockHeader Source #

For now at least we use a fixed concrete hash type for all modes and era. The different eras do use different types, but it's all the same underlying representation.

Instance details

Defined in Cardano.Api.Block

newtype Hash BlockHeader = HeaderHash ShortByteString

getBlockHeader :: forall era. Block era -> BlockHeader Source #

Blocks in the context of a consensus mode

data BlockInMode where Source #

A Block in one of the eras. TODO Rename this to BlockInEra

Constructors

BlockInMode :: CardanoEra era -> Block era -> BlockInMode 

Instances

Instances details
Show BlockInMode Source # 
Instance details

Defined in Cardano.Api.Block

fromConsensusBlock :: CardanoBlock StandardCrypto ~ block => block -> BlockInMode Source #

toConsensusBlock :: CardanoBlock StandardCrypto ~ block => BlockInMode -> block Source #

Points on the chain

newtype SlotNo #

Constructors

SlotNo 

Fields

Instances

Instances details
Bounded SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Enum SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Eq SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Num SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Ord SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Show SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Generic SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Associated Types

type Rep SlotNo :: Type -> Type Source #

NFData SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

rnf :: SlotNo -> () Source #

DecCBOR SlotNo 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

Methods

decCBOR :: Decoder s SlotNo

dropCBOR :: Proxy SlotNo -> Decoder s ()

label :: Proxy SlotNo -> Text

EncCBOR SlotNo 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

Methods

encCBOR :: SlotNo -> Encoding

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy SlotNo -> Size

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [SlotNo] -> Size

FromCBOR SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

fromCBOR :: Decoder s SlotNo #

label :: Proxy SlotNo -> Text #

FromJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser SlotNo #

parseJSONList :: Value -> Parser [SlotNo] #

omittedField :: Maybe SlotNo #

NoThunks SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

noThunks :: Context -> SlotNo -> IO (Maybe ThunkInfo)

wNoThunks :: Context -> SlotNo -> IO (Maybe ThunkInfo)

showTypeOf :: Proxy SlotNo -> String

ToCBOR SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toCBOR :: SlotNo -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy SlotNo -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SlotNo] -> Size #

ToJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSON :: SlotNo -> Value #

toEncoding :: SlotNo -> Encoding #

toJSONList :: [SlotNo] -> Value #

toEncodingList :: [SlotNo] -> Encoding #

omitField :: SlotNo -> Bool #

Serialise SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

encode :: SlotNo -> Encoding

decode :: Decoder s SlotNo

encodeList :: [SlotNo] -> Encoding

decodeList :: Decoder s [SlotNo]

Condense SlotNo 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense :: SlotNo -> String

HasHeader block => Anchorable (WithOrigin SlotNo) (Anchor block) block 
Instance details

Defined in Ouroboros.Network.AnchoredFragment

Methods

asAnchor :: block -> Anchor block

getAnchorMeasure :: Proxy block -> Anchor block -> WithOrigin SlotNo

Anchorable (WithOrigin SlotNo) (HeaderState blk) (HeaderState blk) 
Instance details

Defined in Ouroboros.Consensus.HeaderValidation

Methods

asAnchor :: HeaderState blk -> HeaderState blk

getAnchorMeasure :: Proxy (HeaderState blk) -> HeaderState blk -> WithOrigin SlotNo

GetTip l => Anchorable (WithOrigin SlotNo) (Checkpoint l) (Checkpoint l) 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.LedgerDB

Methods

asAnchor :: Checkpoint l -> Checkpoint l

getAnchorMeasure :: Proxy (Checkpoint l) -> Checkpoint l -> WithOrigin SlotNo

type Rep SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

type Rep SlotNo = D1 ('MetaData "SlotNo" "Cardano.Slotting.Slot" "cardano-slotting-0.1.2.0-JZWCVEKQdJpCQ0vwyYdDil" 'True) (C1 ('MetaCons "SlotNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSlotNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

newtype EpochNo #

Constructors

EpochNo 

Fields

Instances

Instances details
Enum EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Eq EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Num EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Ord EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Show EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Generic EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Associated Types

type Rep EpochNo :: Type -> Type Source #

NFData EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

rnf :: EpochNo -> () Source #

DecCBOR EpochNo 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

Methods

decCBOR :: Decoder s EpochNo

dropCBOR :: Proxy EpochNo -> Decoder s ()

label :: Proxy EpochNo -> Text

EncCBOR EpochNo 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

Methods

encCBOR :: EpochNo -> Encoding

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy EpochNo -> Size

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [EpochNo] -> Size

FromCBOR EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

fromCBOR :: Decoder s EpochNo #

label :: Proxy EpochNo -> Text #

FromJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser EpochNo #

parseJSONList :: Value -> Parser [EpochNo] #

omittedField :: Maybe EpochNo #

NoThunks EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

noThunks :: Context -> EpochNo -> IO (Maybe ThunkInfo)

wNoThunks :: Context -> EpochNo -> IO (Maybe ThunkInfo)

showTypeOf :: Proxy EpochNo -> String

ToCBOR EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toCBOR :: EpochNo -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy EpochNo -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [EpochNo] -> Size #

ToJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSON :: EpochNo -> Value #

toEncoding :: EpochNo -> Encoding #

toJSONList :: [EpochNo] -> Value #

toEncodingList :: [EpochNo] -> Encoding #

omitField :: EpochNo -> Bool #

Serialise EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

encode :: EpochNo -> Encoding

decode :: Decoder s EpochNo

encodeList :: [EpochNo] -> Encoding

decodeList :: Decoder s [EpochNo]

Condense EpochNo 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense :: EpochNo -> String

type Rep EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

type Rep EpochNo = D1 ('MetaData "EpochNo" "Cardano.Slotting.Slot" "cardano-slotting-0.1.2.0-JZWCVEKQdJpCQ0vwyYdDil" 'True) (C1 ('MetaCons "EpochNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unEpochNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

toConsensusPoint :: forall ledgerera protocol. ShelleyCompatible protocol ledgerera => ChainPoint -> Point (ShelleyBlock protocol ledgerera) Source #

Convert a Point for single Shelley-era block type

fromConsensusPoint :: forall protocol ledgerera. ShelleyCompatible protocol ledgerera => Point (ShelleyBlock protocol ledgerera) -> ChainPoint Source #

Convert a Point for single Shelley-era block type

fromConsensusPointHF :: HeaderHash block ~ OneEraHash xs => Point block -> ChainPoint Source #

Convert a Point for multi-era block type

toConsensusPointHF :: HeaderHash block ~ OneEraHash xs => ChainPoint -> Point block Source #

Convert a Point for multi-era block type

Tip of the chain

data ChainTip Source #

This is like a ChainPoint but is conventionally used for the tip of the chain: that is the most recent block at the end of the chain.

It also carries the BlockNo of the chain tip.

Instances

Instances details
Eq ChainTip Source # 
Instance details

Defined in Cardano.Api.Block

Show ChainTip Source # 
Instance details

Defined in Cardano.Api.Block

ToJSON ChainTip Source # 
Instance details

Defined in Cardano.Api.Block

Methods

toJSON :: ChainTip -> Value #

toEncoding :: ChainTip -> Encoding #

toJSONList :: [ChainTip] -> Value #

toEncodingList :: [ChainTip] -> Encoding #

omitField :: ChainTip -> Bool #

newtype BlockNo #

Constructors

BlockNo 

Fields

Instances

Instances details
Bounded BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Enum BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Eq BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Num BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Ord BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Show BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Generic BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Associated Types

type Rep BlockNo :: Type -> Type Source #

NFData BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

rnf :: BlockNo -> () Source #

DecCBOR BlockNo 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

Methods

decCBOR :: Decoder s BlockNo

dropCBOR :: Proxy BlockNo -> Decoder s ()

label :: Proxy BlockNo -> Text

EncCBOR BlockNo 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

Methods

encCBOR :: BlockNo -> Encoding

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy BlockNo -> Size

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [BlockNo] -> Size

FromCBOR BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

fromCBOR :: Decoder s BlockNo #

label :: Proxy BlockNo -> Text #

FromJSON BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

parseJSON :: Value -> Parser BlockNo #

parseJSONList :: Value -> Parser [BlockNo] #

omittedField :: Maybe BlockNo #

NoThunks BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

noThunks :: Context -> BlockNo -> IO (Maybe ThunkInfo)

wNoThunks :: Context -> BlockNo -> IO (Maybe ThunkInfo)

showTypeOf :: Proxy BlockNo -> String

ToCBOR BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

toCBOR :: BlockNo -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy BlockNo -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BlockNo] -> Size #

ToJSON BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

toJSON :: BlockNo -> Value #

toEncoding :: BlockNo -> Encoding #

toJSONList :: [BlockNo] -> Value #

toEncodingList :: [BlockNo] -> Encoding #

omitField :: BlockNo -> Bool #

Serialise BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

encode :: BlockNo -> Encoding

decode :: Decoder s BlockNo

encodeList :: [BlockNo] -> Encoding

decodeList :: Decoder s [BlockNo]

Condense BlockNo 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense :: BlockNo -> String

type Rep BlockNo 
Instance details

Defined in Cardano.Slotting.Block

type Rep BlockNo = D1 ('MetaData "BlockNo" "Cardano.Slotting.Block" "cardano-slotting-0.1.2.0-JZWCVEKQdJpCQ0vwyYdDil" 'True) (C1 ('MetaCons "BlockNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unBlockNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

fromConsensusTip :: CardanoBlock StandardCrypto ~ block => Tip block -> ChainTip Source #

Data family instances

data family Hash keyrole :: Type Source #

Instances

Instances details
Eq (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

Eq (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

Eq (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

Eq (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

Eq (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

Eq (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Eq (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.DRepMetadata

Eq (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Poll

Eq (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Ord (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

Ord (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

Ord (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

Ord (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

Ord (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

Ord (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Poll

Ord (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Show (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

Show (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Show (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.DRepMetadata

Show (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Poll

Show (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

IsString (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

IsString (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Poll

IsString (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

FromCBOR (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash DRepExtendedKey) #

label :: Proxy (Hash DRepExtendedKey) -> Text #

FromCBOR (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash DRepKey) #

label :: Proxy (Hash DRepKey) -> Text #

FromCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash StakePoolKey) #

label :: Proxy (Hash StakePoolKey) -> Text #

FromCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash GenesisUTxOKey) #

label :: Proxy (Hash GenesisUTxOKey) -> Text #

FromCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash CommitteeColdKey) #

label :: Proxy (Hash CommitteeColdKey) -> Text #

FromCBOR (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash CommitteeHotKey) #

label :: Proxy (Hash CommitteeHotKey) -> Text #

FromCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash GenesisKey) #

label :: Proxy (Hash GenesisKey) -> Text #

FromCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash StakeExtendedKey) #

label :: Proxy (Hash StakeExtendedKey) -> Text #

FromCBOR (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash StakeKey) #

label :: Proxy (Hash StakeKey) -> Text #

FromCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash PaymentKey) #

label :: Proxy (Hash PaymentKey) -> Text #

FromCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (Hash VrfKey) #

label :: Proxy (Hash VrfKey) -> Text #

FromCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (Hash KesKey) #

label :: Proxy (Hash KesKey) -> Text #

FromCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

fromCBOR :: Decoder s (Hash ByronKeyLegacy) #

label :: Proxy (Hash ByronKeyLegacy) -> Text #

FromCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

fromCBOR :: Decoder s (Hash ByronKey) #

label :: Proxy (Hash ByronKey) -> Text #

FromJSON (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash DRepKey) #

parseJSONList :: Value -> Parser [Hash DRepKey] #

omittedField :: Maybe (Hash DRepKey) #

FromJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash StakePoolKey) #

parseJSONList :: Value -> Parser [Hash StakePoolKey] #

omittedField :: Maybe (Hash StakePoolKey) #

FromJSON (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash GenesisKey) #

parseJSONList :: Value -> Parser [Hash GenesisKey] #

omittedField :: Maybe (Hash GenesisKey) #

FromJSON (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash PaymentKey) #

parseJSONList :: Value -> Parser [Hash PaymentKey] #

omittedField :: Maybe (Hash PaymentKey) #

FromJSON (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

Methods

parseJSON :: Value -> Parser (Hash ScriptData) #

parseJSONList :: Value -> Parser [Hash ScriptData] #

omittedField :: Maybe (Hash ScriptData) #

FromJSON (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Methods

parseJSON :: Value -> Parser (Hash BlockHeader) #

parseJSONList :: Value -> Parser [Hash BlockHeader] #

omittedField :: Maybe (Hash BlockHeader) #

ToCBOR (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash DRepExtendedKey -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash DRepExtendedKey) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash DRepExtendedKey] -> Size #

ToCBOR (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash DRepKey -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash DRepKey) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash DRepKey] -> Size #

ToCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash StakePoolKey -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakePoolKey) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakePoolKey] -> Size #

ToCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisUTxOKey -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisUTxOKey) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisUTxOKey] -> Size #

ToCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisDelegateExtendedKey -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisDelegateExtendedKey) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisDelegateExtendedKey] -> Size #

ToCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisDelegateKey -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisDelegateKey) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisDelegateKey] -> Size #

ToCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisExtendedKey -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisExtendedKey) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisExtendedKey] -> Size #

ToCBOR (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash CommitteeColdKey -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash CommitteeColdKey) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash CommitteeColdKey] -> Size #

ToCBOR (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash CommitteeHotKey -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash CommitteeHotKey) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash CommitteeHotKey] -> Size #

ToCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisKey -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisKey) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisKey] -> Size #

ToCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash StakeExtendedKey -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakeExtendedKey) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakeExtendedKey] -> Size #

ToCBOR (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash StakeKey -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakeKey) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakeKey] -> Size #

ToCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash PaymentExtendedKey -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash PaymentExtendedKey) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash PaymentExtendedKey] -> Size #

ToCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash PaymentKey -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash PaymentKey) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash PaymentKey] -> Size #

ToCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: Hash VrfKey -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash VrfKey) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash VrfKey] -> Size #

ToCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: Hash KesKey -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash KesKey) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash KesKey] -> Size #

ToCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: Hash ByronKeyLegacy -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash ByronKeyLegacy) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash ByronKeyLegacy] -> Size #

ToCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: Hash ByronKey -> Encoding #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash ByronKey) -> Size #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash ByronKey] -> Size #

ToJSON (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash DRepKey -> Value #

toEncoding :: Hash DRepKey -> Encoding #

toJSONList :: [Hash DRepKey] -> Value #

toEncodingList :: [Hash DRepKey] -> Encoding #

omitField :: Hash DRepKey -> Bool #

ToJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToJSON (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash GenesisKey -> Value #

toEncoding :: Hash GenesisKey -> Encoding #

toJSONList :: [Hash GenesisKey] -> Value #

toEncodingList :: [Hash GenesisKey] -> Encoding #

omitField :: Hash GenesisKey -> Bool #

ToJSON (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash PaymentKey -> Value #

toEncoding :: Hash PaymentKey -> Encoding #

toJSONList :: [Hash PaymentKey] -> Value #

toEncodingList :: [Hash PaymentKey] -> Encoding #

omitField :: Hash PaymentKey -> Bool #

ToJSON (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toJSON :: Hash ScriptData -> Value #

toEncoding :: Hash ScriptData -> Encoding #

toJSONList :: [Hash ScriptData] -> Value #

toEncodingList :: [Hash ScriptData] -> Encoding #

omitField :: Hash ScriptData -> Bool #

ToJSON (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

ToJSONKey (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash DRepKey)

toJSONKeyList :: ToJSONKeyFunction [Hash DRepKey]

ToJSONKey (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash StakePoolKey)

toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolKey]

ToJSONKey (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash GenesisKey)

toJSONKeyList :: ToJSONKeyFunction [Hash GenesisKey]

ToJSONKey (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash PaymentKey)

toJSONKeyList :: ToJSONKeyFunction [Hash PaymentKey]

ToJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toJSONKey :: ToJSONKeyFunction (Hash ScriptData)

toJSONKeyList :: ToJSONKeyFunction [Hash ScriptData]

HasTypeProxy a => HasTypeProxy (Hash a) Source # 
Instance details

Defined in Cardano.Api.Hash

Associated Types

data AsType (Hash a) Source #

Methods

proxyToAsType :: Proxy (Hash a) -> AsType (Hash a) Source #

FromJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

Methods

fromJSONKey :: FromJSONKeyFunction (Hash ScriptData)

fromJSONKeyList :: FromJSONKeyFunction [Hash ScriptData]

SerialiseAsCBOR (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash DRepKey -> ByteString Source #

deserialiseFromCBOR :: AsType (Hash DRepKey) -> ByteString -> Either DecoderError (Hash DRepKey) Source #

SerialiseAsCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash StakePoolKey -> ByteString Source #

deserialiseFromCBOR :: AsType (Hash StakePoolKey) -> ByteString -> Either DecoderError (Hash StakePoolKey) Source #

SerialiseAsCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash GenesisKey -> ByteString Source #

deserialiseFromCBOR :: AsType (Hash GenesisKey) -> ByteString -> Either DecoderError (Hash GenesisKey) Source #

SerialiseAsCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash StakeKey -> ByteString Source #

deserialiseFromCBOR :: AsType (Hash StakeKey) -> ByteString -> Either DecoderError (Hash StakeKey) Source #

SerialiseAsCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash PaymentKey -> ByteString Source #

deserialiseFromCBOR :: AsType (Hash PaymentKey) -> ByteString -> Either DecoderError (Hash PaymentKey) Source #

SerialiseAsCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

serialiseToCBOR :: Hash VrfKey -> ByteString Source #

deserialiseFromCBOR :: AsType (Hash VrfKey) -> ByteString -> Either DecoderError (Hash VrfKey) Source #

SerialiseAsCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

serialiseToCBOR :: Hash KesKey -> ByteString Source #

deserialiseFromCBOR :: AsType (Hash KesKey) -> ByteString -> Either DecoderError (Hash KesKey) Source #

SerialiseAsCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

serialiseToCBOR :: Hash ByronKey -> ByteString Source #

deserialiseFromCBOR :: AsType (Hash ByronKey) -> ByteString -> Either DecoderError (Hash ByronKey) Source #

SerialiseAsRawBytes (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

SerialiseAsRawBytes (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

SerialiseAsRawBytes (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.DRepMetadata

SerialiseAsRawBytes (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Poll

SerialiseAsRawBytes (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

SerialiseAsBech32 (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash DRepKey Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisKey Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash StakeKey Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash PaymentKey Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash VrfKey Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype Hash VrfKey = VrfKeyHash (Hash StandardCrypto (VerKeyVRF StandardCrypto))
newtype Hash KesKey Source # 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype Hash KesKey = KesKeyHash (Hash StandardCrypto (VerKeyKES StandardCrypto))
newtype Hash ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype Hash ByronKey Source # 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype Hash ByronKey = ByronKeyHash KeyHash
newtype Hash ScriptData Source # 
Instance details

Defined in Cardano.Api.ScriptData

newtype Hash StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

newtype Hash DRepMetadata Source # 
Instance details

Defined in Cardano.Api.DRepMetadata

newtype Hash DRepMetadata = DRepMetadataHash (Hash StandardCrypto ByteString)
newtype Hash GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Governance.Poll

newtype Hash BlockHeader Source #

For now at least we use a fixed concrete hash type for all modes and era. The different eras do use different types, but it's all the same underlying representation.

Instance details

Defined in Cardano.Api.Block

newtype Hash BlockHeader = HeaderHash ShortByteString
data AsType (Hash a) Source # 
Instance details

Defined in Cardano.Api.Hash

data AsType (Hash a) = AsHash (AsType a)