bcc-api-1.99.0
Safe HaskellNone
LanguageHaskell2010

Bcc.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 Bcc era.

Constructors

ColeBlock ∷ ColeBlock → Block ColeEra 
SophieBlockSophieBasedEra era → SophieBlock (SophieLedgerEra era) → Block era 

Bundled Patterns

pattern BlockBlockHeader → [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 Bcc.Api.Block

Methods

showsPrecIntBlock era → ShowS Source #

showBlock era → String Source #

showList ∷ [Block era] → ShowS Source #

data BlockHeader Source #

Instances

Instances details
HasTypeProxy BlockHeader Source # 
Instance details

Defined in Bcc.Api.Block

Associated Types

data AsType BlockHeader Source #

Eq (Hash BlockHeader) Source # 
Instance details

Defined in Bcc.Api.Block

Ord (Hash BlockHeader) Source # 
Instance details

Defined in Bcc.Api.Block

Show (Hash BlockHeader) Source # 
Instance details

Defined in Bcc.Api.Block

SerialiseAsRawBytes (Hash BlockHeader) Source # 
Instance details

Defined in Bcc.Api.Block

data AsType BlockHeader Source # 
Instance details

Defined in Bcc.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 Bcc.Api.Block

Blocks in the context of a consensus mode

data BlockInMode mode where Source #

A Block in one of the eras supported by a given protocol mode.

For multi-era modes such as the BccMode this type is a sum of the different block types for all the eras. It is used in the ChainSync protocol.

Constructors

BlockInModeBlock era → EraInMode era mode → BlockInMode mode 

Instances

Instances details
Show (BlockInMode mode) Source # 
Instance details

Defined in Bcc.Api.Block

Methods

showsPrecIntBlockInMode mode → ShowS Source #

showBlockInMode mode → String Source #

showList ∷ [BlockInMode mode] → ShowS Source #

fromConsensusBlockConsensusBlockForMode mode ~ block ⇒ ConsensusMode mode → block → BlockInMode mode Source #

Points on the chain

data ChainPoint Source #

Instances

Instances details
Eq ChainPoint Source # 
Instance details

Defined in Bcc.Api.Block

Show ChainPoint Source # 
Instance details

Defined in Bcc.Api.Block

newtype SlotNo #

Constructors

SlotNo 

Fields

Instances

Instances details
Bounded SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Enum SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Eq SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

(==)SlotNoSlotNoBool Source #

(/=)SlotNoSlotNoBool Source #

Num SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Ord SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Show SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Generic SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Associated Types

type Rep SlotNoTypeType Source #

Methods

fromSlotNoRep SlotNo x Source #

toRep SlotNo x → SlotNo Source #

NFData SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

rnfSlotNo → () Source #

FromJSON SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

parseJSON ∷ Value → Parser SlotNo #

parseJSONList ∷ Value → Parser [SlotNo] #

NoThunks SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

noThunks ∷ Context → SlotNoIO (Maybe ThunkInfo)

wNoThunks ∷ Context → SlotNoIO (Maybe ThunkInfo)

showTypeOfProxy SlotNoString

ToJSON SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

toJSONSlotNo → Value #

toEncodingSlotNo → Encoding #

toJSONList ∷ [SlotNo] → Value #

toEncodingList ∷ [SlotNo] → Encoding #

FromCBOR SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

fromCBOR ∷ Decoder s SlotNo #

labelProxy SlotNoText #

ToCBOR SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

toCBORSlotNo → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SlotNo → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SlotNo] → Size #

Serialise SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

encodeSlotNo → Encoding

decode ∷ Decoder s SlotNo

encodeList ∷ [SlotNo] → Encoding

decodeList ∷ Decoder s [SlotNo]

Condense SlotNo 
Instance details

Defined in Shardagnostic.Consensus.Util.Condense

Methods

condenseSlotNoString

HasField "ttl" (TxBody era) SlotNo 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

getField ∷ TxBody era → SlotNo Source #

HasHeader block ⇒ Anchorable (WithOrigin SlotNo) (Anchor block) block 
Instance details

Defined in Shardagnostic.Network.AnchoredFragment

Methods

asAnchor ∷ block → Anchor block

getAnchorMeasureProxy block → Anchor block → WithOrigin SlotNo

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

Defined in Shardagnostic.Consensus.HeaderValidation

Methods

asAnchor ∷ HeaderState blk → HeaderState blk

getAnchorMeasureProxy (HeaderState blk) → HeaderState blk → WithOrigin SlotNo

GetTip l ⇒ Anchorable (WithOrigin SlotNo) (Checkpoint l) (Checkpoint l) 
Instance details

Defined in Shardagnostic.Consensus.Storage.LedgerDB.InMemory

Methods

asAnchor ∷ Checkpoint l → Checkpoint l

getAnchorMeasureProxy (Checkpoint l) → Checkpoint l → WithOrigin SlotNo

Embed (StakeCreds era) (Map (Credential 'Staking era) SlotNo) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toBase ∷ StakeCreds era → Map (Credential 'Staking era) SlotNo

fromBaseMap (Credential 'Staking era) SlotNo → StakeCreds era

HasExp (StakeCreds era) (Map (Credential 'Staking era) SlotNo) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toExp ∷ StakeCreds era → Exp (Map (Credential 'Staking era) SlotNo)

type Rep SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

type Rep SlotNo = D1 ('MetaData "SlotNo" "Bcc.Slotting.Slot" "bcc-slotting-0.1.0.0-31796ee1b38506581e134229951d26120392aac1ce6c978fbf7438ab37ed4173" '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 Bcc.Slotting.Slot

Eq EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

(==)EpochNoEpochNoBool Source #

(/=)EpochNoEpochNoBool Source #

Num EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Ord EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Show EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Generic EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Associated Types

type Rep EpochNoTypeType Source #

Methods

fromEpochNoRep EpochNo x Source #

toRep EpochNo x → EpochNo Source #

FromJSON EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

parseJSON ∷ Value → Parser EpochNo #

parseJSONList ∷ Value → Parser [EpochNo] #

NoThunks EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

noThunks ∷ Context → EpochNoIO (Maybe ThunkInfo)

wNoThunks ∷ Context → EpochNoIO (Maybe ThunkInfo)

showTypeOfProxy EpochNoString

ToJSON EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

toJSONEpochNo → Value #

toEncodingEpochNo → Encoding #

toJSONList ∷ [EpochNo] → Value #

toEncodingList ∷ [EpochNo] → Encoding #

FromCBOR EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

fromCBOR ∷ Decoder s EpochNo #

labelProxy EpochNoText #

ToCBOR EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

toCBOREpochNo → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy EpochNo → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [EpochNo] → Size #

Serialise EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

encodeEpochNo → Encoding

decode ∷ Decoder s EpochNo

encodeList ∷ [EpochNo] → Encoding

decodeList ∷ Decoder s [EpochNo]

Condense EpochNo 
Instance details

Defined in Shardagnostic.Consensus.Util.Condense

Methods

condenseEpochNoString

type Rep EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

type Rep EpochNo = D1 ('MetaData "EpochNo" "Bcc.Slotting.Slot" "bcc-slotting-0.1.0.0-31796ee1b38506581e134229951d26120392aac1ce6c978fbf7438ab37ed4173" 'True) (C1 ('MetaCons "EpochNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unEpochNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

toConsensusPoint ∷ ∀ ledgerera. SophieBasedEra ledgerera ⇒ ChainPoint → Point (SophieBlock ledgerera) Source #

Convert a Point for single Sophie-era block type

fromConsensusPoint ∷ ∀ ledgerera. SophieBasedEra ledgerera ⇒ Point (SophieBlock ledgerera) → ChainPoint Source #

Convert a Point for single Sophie-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 Bcc.Api.Block

Show ChainTip Source # 
Instance details

Defined in Bcc.Api.Block

ToJSON ChainTip Source # 
Instance details

Defined in Bcc.Api.Block

Methods

toJSONChainTip → Value #

toEncodingChainTip → Encoding #

toJSONList ∷ [ChainTip] → Value #

toEncodingList ∷ [ChainTip] → Encoding #

newtype BlockNo #

Constructors

BlockNo 

Fields

Instances

Instances details
Bounded BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Enum BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Eq BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Methods

(==)BlockNoBlockNoBool Source #

(/=)BlockNoBlockNoBool Source #

Num BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Ord BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Show BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Generic BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Associated Types

type Rep BlockNoTypeType Source #

Methods

fromBlockNoRep BlockNo x Source #

toRep BlockNo x → BlockNo Source #

NFData BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Methods

rnfBlockNo → () Source #

NoThunks BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Methods

noThunks ∷ Context → BlockNoIO (Maybe ThunkInfo)

wNoThunks ∷ Context → BlockNoIO (Maybe ThunkInfo)

showTypeOfProxy BlockNoString

FromCBOR BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Methods

fromCBOR ∷ Decoder s BlockNo #

labelProxy BlockNoText #

ToCBOR BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Methods

toCBORBlockNo → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy BlockNo → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [BlockNo] → Size #

Serialise BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Methods

encodeBlockNo → Encoding

decode ∷ Decoder s BlockNo

encodeList ∷ [BlockNo] → Encoding

decodeList ∷ Decoder s [BlockNo]

Condense BlockNo 
Instance details

Defined in Shardagnostic.Consensus.Util.Condense

Methods

condenseBlockNoString

type Rep BlockNo 
Instance details

Defined in Bcc.Slotting.Block

type Rep BlockNo = D1 ('MetaData "BlockNo" "Bcc.Slotting.Block" "bcc-slotting-0.1.0.0-31796ee1b38506581e134229951d26120392aac1ce6c978fbf7438ab37ed4173" 'True) (C1 ('MetaCons "BlockNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unBlockNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

fromConsensusTipConsensusBlockForMode mode ~ block ⇒ ConsensusMode mode → Tip block → ChainTip Source #

Data family instances

data family Hash keyrole ∷ Type Source #

Instances

Instances details
Eq (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Eq (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Eq (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Eq (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Eq (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Eq (Hash StakePoolMetadata) Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

Eq (Hash BlockHeader) Source # 
Instance details

Defined in Bcc.Api.Block

Ord (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Ord (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Ord (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Ord (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Ord (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Ord (Hash BlockHeader) Source # 
Instance details

Defined in Bcc.Api.Block

Show (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Show (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Show (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Show (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Show (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Show (Hash StakePoolMetadata) Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

Show (Hash BlockHeader) Source # 
Instance details

Defined in Bcc.Api.Block

IsString (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

IsString (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

IsString (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

IsString (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

IsString (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

FromJSON (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

parseJSON ∷ Value → Parser (Hash ScriptData) #

parseJSONList ∷ Value → Parser [Hash ScriptData] #

ToJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toJSONHash StakePoolKey → Value #

toEncodingHash StakePoolKey → Encoding #

toJSONList ∷ [Hash StakePoolKey] → Value #

toEncodingList ∷ [Hash StakePoolKey] → Encoding #

ToJSON (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

toJSONHash ScriptData → Value #

toEncodingHash ScriptData → Encoding #

toJSONList ∷ [Hash ScriptData] → Value #

toEncodingList ∷ [Hash ScriptData] → Encoding #

FromCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash StakePoolKey) #

labelProxy (Hash StakePoolKey) → Text #

FromCBOR (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash VestedKey) #

labelProxy (Hash VestedKey) → Text #

FromCBOR (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash VestedUTxOKey) #

labelProxy (Hash VestedUTxOKey) → Text #

FromCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash GenesisUTxOKey) #

labelProxy (Hash GenesisUTxOKey) → Text #

FromCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash GenesisKey) #

labelProxy (Hash GenesisKey) → Text #

FromCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash StakeKey) #

labelProxy (Hash StakeKey) → Text #

FromCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash PaymentKey) #

labelProxy (Hash PaymentKey) → Text #

FromCBOR (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

fromCBOR ∷ Decoder s (Hash ColeKeyLegacy) #

labelProxy (Hash ColeKeyLegacy) → Text #

FromCBOR (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

fromCBOR ∷ Decoder s (Hash ColeKey) #

labelProxy (Hash ColeKey) → Text #

FromCBOR (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

fromCBOR ∷ Decoder s (Hash VrfKey) #

labelProxy (Hash VrfKey) → Text #

FromCBOR (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

fromCBOR ∷ Decoder s (Hash KesKey) #

labelProxy (Hash KesKey) → Text #

ToCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash StakePoolKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash StakePoolKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash StakePoolKey] → Size #

ToCBOR (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedDelegateExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash VestedDelegateExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash VestedDelegateExtendedKey] → Size #

ToCBOR (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash VestedDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash VestedDelegateKey] → Size #

ToCBOR (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash VestedExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash VestedExtendedKey] → Size #

ToCBOR (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash VestedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash VestedKey] → Size #

ToCBOR (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisVestedDelegateExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisVestedDelegateExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisVestedDelegateExtendedKey] → Size #

ToCBOR (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisVestedDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisVestedDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisVestedDelegateKey] → Size #

ToCBOR (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisVestedExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisVestedExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisVestedExtendedKey] → Size #

ToCBOR (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisVestedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisVestedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisVestedKey] → Size #

ToCBOR (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedUTxOKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash VestedUTxOKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash VestedUTxOKey] → Size #

ToCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisUTxOKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisUTxOKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisUTxOKey] → Size #

ToCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisDelegateExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisDelegateExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisDelegateExtendedKey] → Size #

ToCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisDelegateKey] → Size #

ToCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisExtendedKey] → Size #

ToCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisKey] → Size #

ToCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash StakeExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash StakeExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash StakeExtendedKey] → Size #

ToCBOR (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash StakeKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash StakeKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash StakeKey] → Size #

ToCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash PaymentExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash PaymentExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash PaymentExtendedKey] → Size #

ToCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash PaymentKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash PaymentKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash PaymentKey] → Size #

ToCBOR (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORHash ColeKeyLegacy → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash ColeKeyLegacy) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash ColeKeyLegacy] → Size #

ToCBOR (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORHash ColeKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash ColeKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash ColeKey] → Size #

ToCBOR (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

toCBORHash VrfKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash VrfKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash VrfKey] → Size #

ToCBOR (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

toCBORHash KesKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash KesKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash KesKey] → Size #

FromJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

fromJSONKey ∷ FromJSONKeyFunction (Hash ScriptData)

fromJSONKeyList ∷ FromJSONKeyFunction [Hash ScriptData]

ToJSONKey (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toJSONKey ∷ ToJSONKeyFunction (Hash StakePoolKey)

toJSONKeyList ∷ ToJSONKeyFunction [Hash StakePoolKey]

ToJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

toJSONKey ∷ ToJSONKeyFunction (Hash ScriptData)

toJSONKeyList ∷ ToJSONKeyFunction [Hash ScriptData]

HasTypeProxy a ⇒ HasTypeProxy (Hash a) Source # 
Instance details

Defined in Bcc.Api.Hash

Associated Types

data AsType (Hash a) Source #

Methods

proxyToAsTypeProxy (Hash a) → AsType (Hash a) Source #

SerialiseAsCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsCBOR (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsCBOR (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsCBOR (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsRawBytes (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

SerialiseAsRawBytes (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsRawBytes (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsRawBytes (Hash StakePoolMetadata) Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

SerialiseAsRawBytes (Hash BlockHeader) Source # 
Instance details

Defined in Bcc.Api.Block

SerialiseAsBech32 (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash StakePoolKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash StakePoolKey = StakePoolKeyHash (KeyHash 'StakePool StandardCrypto)
newtype Hash VestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedDelegateExtendedKey = VestedDelegateExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash VestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedDelegateKey = VestedDelegateKeyHash (KeyHash 'VestedDelegate StandardCrypto)
newtype Hash VestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedExtendedKey = VestedExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash VestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedKey = VestedKeyHash (KeyHash 'Vested StandardCrypto)
newtype Hash GenesisVestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisVestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisVestedDelegateKey = GenesisVestedDelegateKeyHash (KeyHash 'VestedDelegate StandardCrypto)
newtype Hash GenesisVestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisVestedExtendedKey = GenesisVestedExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash GenesisVestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisVestedKey = GenesisVestedKeyHash (KeyHash 'Genesis StandardCrypto)
newtype Hash VestedUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedUTxOKey = VestedUTxOKeyHash (KeyHash 'Payment StandardCrypto)
newtype Hash GenesisUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisUTxOKey = GenesisUTxOKeyHash (KeyHash 'Payment StandardCrypto)
newtype Hash GenesisDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisDelegateExtendedKey = GenesisDelegateExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash GenesisDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisDelegateKey = GenesisDelegateKeyHash (KeyHash 'GenesisDelegate StandardCrypto)
newtype Hash GenesisExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisExtendedKey = GenesisExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash GenesisKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisKey = GenesisKeyHash (KeyHash 'Genesis StandardCrypto)
newtype Hash StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash StakeExtendedKey = StakeExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash StakeKey = StakeKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash PaymentExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash PaymentExtendedKey = PaymentExtendedKeyHash (KeyHash 'Payment StandardCrypto)
newtype Hash PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash PaymentKey = PaymentKeyHash (KeyHash 'Payment StandardCrypto)
newtype Hash ScriptData Source # 
Instance details

Defined in Bcc.Api.ScriptData

newtype Hash ScriptData = ScriptDataHash (DataHash StandardCrypto)
newtype Hash ColeKeyLegacy Source # 
Instance details

Defined in Bcc.Api.KeysCole

newtype Hash ColeKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

newtype Hash ColeKey = ColeKeyHash KeyHash
newtype Hash VrfKey Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

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

Defined in Bcc.Api.KeysOptimum

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

Defined in Bcc.Api.StakePoolMetadata

newtype Hash StakePoolMetadata = StakePoolMetadataHash (Hash StandardCrypto ByteString)
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 Bcc.Api.Block

data AsType (Hash a) Source # 
Instance details

Defined in Bcc.Api.Hash

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