cardano-api
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.Shelley

Description

This module provides a library interface that is intended to be the complete API for Shelley covering everything, including exposing constructors for the lower level types.

Synopsis

Documentation

Genesis

data ShelleyGenesis c Source #

Shelley genesis information

Note that this is needed only for a pure Shelley network, hence it being defined here rather than in its own module. In mainnet, Shelley will transition naturally from Byron, and thus will never have its own genesis information.

Constructors

ShelleyGenesis 

Fields

Instances

Instances details
Crypto c => FromJSON (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

parseJSON :: Value -> Parser (ShelleyGenesis c)

parseJSONList :: Value -> Parser [ShelleyGenesis c]

omittedField :: Maybe (ShelleyGenesis c)

Crypto c => ToJSON (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

toJSON :: ShelleyGenesis c -> Value

toEncoding :: ShelleyGenesis c -> Encoding

toJSONList :: [ShelleyGenesis c] -> Value

toEncodingList :: [ShelleyGenesis c] -> Encoding

omitField :: ShelleyGenesis c -> Bool

Generic (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Associated Types

type Rep (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

type Rep (ShelleyGenesis c) = D1 ('MetaData "ShelleyGenesis" "Cardano.Ledger.Shelley.Genesis" "cardano-ledger-shelley-1.15.0.0-be2aa3f08dacdd7ab5c802d4cd4b55841f070811f7cb96d454cfa8a1768c7e9f" 'False) (C1 ('MetaCons "ShelleyGenesis" 'PrefixI 'True) (((S1 ('MetaSel ('Just "sgSystemStart") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime) :*: (S1 ('MetaSel ('Just "sgNetworkMagic") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word32) :*: S1 ('MetaSel ('Just "sgNetworkId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Network))) :*: ((S1 ('MetaSel ('Just "sgActiveSlotsCoeff") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PositiveUnitInterval) :*: S1 ('MetaSel ('Just "sgSecurityParam") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64)) :*: (S1 ('MetaSel ('Just "sgEpochLength") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 EpochSize) :*: S1 ('MetaSel ('Just "sgSlotsPerKESPeriod") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64)))) :*: (((S1 ('MetaSel ('Just "sgMaxKESEvolutions") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64) :*: S1 ('MetaSel ('Just "sgSlotLength") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NominalDiffTimeMicro)) :*: (S1 ('MetaSel ('Just "sgUpdateQuorum") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64) :*: S1 ('MetaSel ('Just "sgMaxLovelaceSupply") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64))) :*: ((S1 ('MetaSel ('Just "sgProtocolParams") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (PParams (ShelleyEra c))) :*: S1 ('MetaSel ('Just "sgGenDelegs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Map (KeyHash 'Genesis c) (GenDelegPair c)))) :*: (S1 ('MetaSel ('Just "sgInitialFunds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ListMap (Addr c) Coin)) :*: S1 ('MetaSel ('Just "sgStaking") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ShelleyGenesisStaking c)))))))
Crypto c => Show (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Crypto c => FromCBOR (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Crypto c => ToCBOR (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Crypto c => DecCBOR (ShelleyGenesis c)

Genesis are always encoded with the version of era they are defined in.

Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Crypto c => EncCBOR (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Crypto c => Eq (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Crypto c => NoThunks (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

noThunks :: Context -> ShelleyGenesis c -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> ShelleyGenesis c -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy (ShelleyGenesis c) -> String #

type Rep (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

type Rep (ShelleyGenesis c) = D1 ('MetaData "ShelleyGenesis" "Cardano.Ledger.Shelley.Genesis" "cardano-ledger-shelley-1.15.0.0-be2aa3f08dacdd7ab5c802d4cd4b55841f070811f7cb96d454cfa8a1768c7e9f" 'False) (C1 ('MetaCons "ShelleyGenesis" 'PrefixI 'True) (((S1 ('MetaSel ('Just "sgSystemStart") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime) :*: (S1 ('MetaSel ('Just "sgNetworkMagic") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word32) :*: S1 ('MetaSel ('Just "sgNetworkId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Network))) :*: ((S1 ('MetaSel ('Just "sgActiveSlotsCoeff") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PositiveUnitInterval) :*: S1 ('MetaSel ('Just "sgSecurityParam") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64)) :*: (S1 ('MetaSel ('Just "sgEpochLength") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 EpochSize) :*: S1 ('MetaSel ('Just "sgSlotsPerKESPeriod") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64)))) :*: (((S1 ('MetaSel ('Just "sgMaxKESEvolutions") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64) :*: S1 ('MetaSel ('Just "sgSlotLength") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NominalDiffTimeMicro)) :*: (S1 ('MetaSel ('Just "sgUpdateQuorum") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64) :*: S1 ('MetaSel ('Just "sgMaxLovelaceSupply") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64))) :*: ((S1 ('MetaSel ('Just "sgProtocolParams") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (PParams (ShelleyEra c))) :*: S1 ('MetaSel ('Just "sgGenDelegs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Map (KeyHash 'Genesis c) (GenDelegPair c)))) :*: (S1 ('MetaSel ('Just "sgInitialFunds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ListMap (Addr c) Coin)) :*: S1 ('MetaSel ('Just "sgStaking") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ShelleyGenesisStaking c)))))))

shelleyGenesisDefaults :: ShelleyGenesis StandardCrypto Source #

Some reasonable starting defaults for constructing a ShelleyGenesis.

You must override at least the following fields for this to be useful:

alonzoGenesisDefaults :: CardanoEra era -> AlonzoGenesis Source #

Some reasonable starting defaults for constructing a AlonzoGenesis. Based on https://github.com/IntersectMBO/cardano-node/blob/master/cardano-testnet/src/Testnet/Defaults.hs The era determines Plutus V2 cost model parameters: * Conway: 185 * <= Babbage: 175

decodeAlonzoGenesis Source #

Arguments

:: forall era t (m :: Type -> Type). MonadTransError String t m 
=> Maybe (CardanoEra era)

An optional era witness in which we're reading the genesis

-> ByteString

Genesis JSON

-> t m AlonzoGenesis 

Decode Alonzo genesis in an optionally era sensitive way.

Because the Plutus V2 cost model has changed between Babbage and Conway era, we need to know the era if we want to decde Alonzo Genesis with a cost model baked in. If the V2 cost model is present in genesis, you need to provide an era witness.

When an era witness is provided, for Plutus V2 model the function additionally: 1. Does extra cost model parameters name validation: Checks for mandatory 175 parameters if provided in a map form. 2. If >= Conway: adds defaults for new 10 parameters, if they were not provided (maxBound) 3. Removes extra parameters above the max count: Babbage - 175, Conway - 185.

Cryptographic key interface

class (Eq (VerificationKey keyrole), Show (VerificationKey keyrole), SerialiseAsRawBytes (Hash keyrole), HasTextEnvelope (VerificationKey keyrole), HasTextEnvelope (SigningKey keyrole)) => Key keyrole where Source #

An interface for cryptographic keys used for signatures with a SigningKey and a VerificationKey key.

This interface does not provide actual signing or verifying functions since this API is concerned with the management of keys: generating and serialising.

Associated Types

data VerificationKey keyrole Source #

The type of cryptographic verification key, for each key role.

data SigningKey keyrole Source #

The type of cryptographic signing key, for each key role.

Methods

getVerificationKey :: SigningKey keyrole -> VerificationKey keyrole Source #

Get the corresponding verification key from a signing key.

deterministicSigningKey :: AsType keyrole -> Seed -> SigningKey keyrole Source #

Generate a SigningKey deterministically, given a Seed. The required size of the seed is given by deterministicSigningKeySeedSize.

deterministicSigningKeySeedSize :: AsType keyrole -> Word Source #

verificationKeyHash :: VerificationKey keyrole -> Hash keyrole Source #

Instances

Instances details
Key ByronKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

Key ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

Key KesKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Key VrfKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Key CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Key CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Key CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Key CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Key DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Key DRepKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Key GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Key GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Key GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Key GenesisKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Key GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Key PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Key PaymentKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Key StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Key StakeKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Key StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data family VerificationKey keyrole Source #

The type of cryptographic verification key, for each key role.

Instances

Instances details
IsString (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

IsString (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

IsString (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

IsString (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

IsString (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

Show (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

Show (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Show (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Show (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

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

Defined in Cardano.Api.Internal.Keys.Class

Associated Types

data AsType (VerificationKey a) 
Instance details

Defined in Cardano.Api.Internal.Keys.Class

SerialiseAsBech32 (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsBech32 (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsBech32 (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

SerialiseAsCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

SerialiseAsCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsCBOR (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

SerialiseAsRawBytes (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

SerialiseAsRawBytes (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsRawBytes (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsRawBytes (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

HasTextEnvelope (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

HasTextEnvelope (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

HasTextEnvelope (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

HasTextEnvelope (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

FromCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

FromCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

FromCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

FromCBOR (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

ToCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

ToCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

ToCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

ToCBOR (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

Eq (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

Eq (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Eq (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Eq (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype VerificationKey ByronKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

newtype VerificationKey ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

newtype VerificationKey KesKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

newtype VerificationKey VrfKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

newtype VerificationKey CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype VerificationKey CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype VerificationKey CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype VerificationKey CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype VerificationKey DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype VerificationKey DRepKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype VerificationKey GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype VerificationKey GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype VerificationKey GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype VerificationKey GenesisKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype VerificationKey GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype VerificationKey PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype VerificationKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype VerificationKey StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype VerificationKey StakeKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype VerificationKey StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType (VerificationKey a) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Class

data family SigningKey keyrole Source #

The type of cryptographic signing key, for each key role.

Instances

Instances details
IsString (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

IsString (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

IsString (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

IsString (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

IsString (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

Show (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

Show (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Show (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Show (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

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

Defined in Cardano.Api.Internal.Keys.Class

Associated Types

data AsType (SigningKey a) 
Instance details

Defined in Cardano.Api.Internal.Keys.Class

SerialiseAsBech32 (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsBech32 (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsBech32 (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

SerialiseAsCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

SerialiseAsCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsCBOR (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

SerialiseAsRawBytes (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

SerialiseAsRawBytes (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsRawBytes (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsRawBytes (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

HasTextEnvelope (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

HasTextEnvelope (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

HasTextEnvelope (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

HasTextEnvelope (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

FromCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

FromCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

FromCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

FromCBOR (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

ToCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

ToCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

ToCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

ToCBOR (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype SigningKey ByronKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

newtype SigningKey ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

newtype SigningKey KesKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

newtype SigningKey VrfKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

newtype SigningKey CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype SigningKey CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype SigningKey CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype SigningKey CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype SigningKey DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype SigningKey DRepKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype SigningKey GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype SigningKey GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype SigningKey GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype SigningKey GenesisKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype SigningKey GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype SigningKey PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype SigningKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype SigningKey StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype SigningKey StakeKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype SigningKey StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType (SigningKey a) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Class

Hashes

data family Hash keyrole Source #

Instances

Instances details
FromJSON (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Internal.Block

Methods

parseJSON :: Value -> Parser (Hash BlockHeader)

parseJSONList :: Value -> Parser [Hash BlockHeader]

omittedField :: Maybe (Hash BlockHeader)

FromJSON (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash DRepKey)

parseJSONList :: Value -> Parser [Hash DRepKey]

omittedField :: Maybe (Hash DRepKey)

FromJSON (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.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.Internal.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash PaymentKey)

parseJSONList :: Value -> Parser [Hash PaymentKey]

omittedField :: Maybe (Hash PaymentKey)

FromJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash StakePoolKey)

parseJSONList :: Value -> Parser [Hash StakePoolKey]

omittedField :: Maybe (Hash StakePoolKey)

FromJSON (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Internal.ScriptData

Methods

parseJSON :: Value -> Parser (Hash ScriptData)

parseJSONList :: Value -> Parser [Hash ScriptData]

omittedField :: Maybe (Hash ScriptData)

FromJSONKey (Hash ScriptData) 
Instance details

Defined in Cardano.Api.Internal.ScriptData

Methods

fromJSONKey :: FromJSONKeyFunction (Hash ScriptData)

fromJSONKeyList :: FromJSONKeyFunction [Hash ScriptData]

ToJSON (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Internal.Block

ToJSON (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.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 GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.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.Internal.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 StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToJSON (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Internal.ScriptData

Methods

toJSON :: Hash ScriptData -> Value

toEncoding :: Hash ScriptData -> Encoding

toJSONList :: [Hash ScriptData] -> Value

toEncodingList :: [Hash ScriptData] -> Encoding

omitField :: Hash ScriptData -> Bool

ToJSONKey (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash DRepKey)

toJSONKeyList :: ToJSONKeyFunction [Hash DRepKey]

ToJSONKey (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash GenesisKey)

toJSONKeyList :: ToJSONKeyFunction [Hash GenesisKey]

ToJSONKey (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash PaymentKey)

toJSONKeyList :: ToJSONKeyFunction [Hash PaymentKey]

ToJSONKey (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash StakePoolKey)

toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolKey]

ToJSONKey (Hash ScriptData) 
Instance details

Defined in Cardano.Api.Internal.ScriptData

Methods

toJSONKey :: ToJSONKeyFunction (Hash ScriptData)

toJSONKeyList :: ToJSONKeyFunction [Hash ScriptData]

IsString (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Internal.Block

IsString (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

IsString (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

IsString (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

IsString (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

IsString (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

IsString (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Internal.ScriptData

Show (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Internal.Block

Show (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.Internal.DRepMetadata

Show (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

Show (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

Show (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

Show (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Show (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Show (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Internal.ScriptData

Show (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.Internal.StakePoolMetadata

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

Defined in Cardano.Api.Internal.Hash

Associated Types

data AsType (Hash a) 
Instance details

Defined in Cardano.Api.Internal.Hash

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

Methods

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

SerialiseAsBech32 (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

SerialiseAsCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

SerialiseAsCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsCBOR (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Internal.Block

SerialiseAsRawBytes (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.Internal.DRepMetadata

SerialiseAsRawBytes (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

SerialiseAsRawBytes (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

SerialiseAsRawBytes (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

SerialiseAsRawBytes (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsRawBytes (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsRawBytes (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Internal.ScriptData

SerialiseAsRawBytes (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.Internal.StakePoolMetadata

FromCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

FromCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

FromCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

FromCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

FromCBOR (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

Methods

toCBOR :: Hash ByronKey -> Encoding Source #

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

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

ToCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

ToCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Methods

toCBOR :: Hash KesKey -> Encoding Source #

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

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

ToCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Methods

toCBOR :: Hash VrfKey -> Encoding Source #

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

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

ToCBOR (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Methods

toCBOR :: Hash DRepKey -> Encoding Source #

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

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

ToCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Methods

toCBOR :: Hash StakeKey -> Encoding Source #

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

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

ToCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Internal.Block

Eq (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.Internal.DRepMetadata

Eq (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

Eq (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

Eq (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

Eq (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Eq (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Eq (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Internal.ScriptData

Eq (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.Internal.StakePoolMetadata

Ord (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Internal.Block

Ord (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

Ord (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

Ord (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

Ord (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Ord (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Ord (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Ord (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Ord (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Ord (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Ord (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Ord (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Ord (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Ord (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Ord (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Ord (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Ord (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Ord (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Ord (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Ord (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Ord (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Ord (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Ord (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Internal.ScriptData

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.Internal.Block

newtype Hash DRepMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.DRepMetadata

newtype Hash GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

newtype Hash ByronKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

newtype Hash ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

newtype Hash KesKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

newtype Hash VrfKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

newtype Hash CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype Hash CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype Hash CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype Hash CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype Hash DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype Hash DRepKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype Hash GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype Hash GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype Hash GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype Hash GenesisKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype Hash GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype Hash PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype Hash PaymentKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype Hash StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype Hash StakeKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype Hash StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype Hash ScriptData Source # 
Instance details

Defined in Cardano.Api.Internal.ScriptData

newtype Hash StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.StakePoolMetadata

data AsType (Hash a) Source # 
Instance details

Defined in Cardano.Api.Internal.Hash

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

Type Proxies

data family AsType t Source #

A family of singleton types used in this API to indicate which type to use where it would otherwise be ambiguous or merely unclear.

Values of this type are passed to deserialisation functions for example.

Instances

Instances details
data AsType AddressAny Source # 
Instance details

Defined in Cardano.Api.Internal.Address

data AsType ByronAddr Source # 
Instance details

Defined in Cardano.Api.Internal.Address

data AsType ShelleyAddr Source # 
Instance details

Defined in Cardano.Api.Internal.Address

data AsType StakeAddress Source # 
Instance details

Defined in Cardano.Api.Internal.Address

data AsType BlockHeader Source # 
Instance details

Defined in Cardano.Api.Internal.Block

data AsType DRepMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.DRepMetadata

data AsType AllegraEra Source # 
Instance details

Defined in Cardano.Api.Internal.Eras.Core

data AsType AlonzoEra Source # 
Instance details

Defined in Cardano.Api.Internal.Eras.Core

data AsType BabbageEra Source # 
Instance details

Defined in Cardano.Api.Internal.Eras.Core

data AsType ByronEra Source # 
Instance details

Defined in Cardano.Api.Internal.Eras.Core

data AsType ConwayEra Source # 
Instance details

Defined in Cardano.Api.Internal.Eras.Core

data AsType MaryEra Source # 
Instance details

Defined in Cardano.Api.Internal.Eras.Core

data AsType ShelleyEra Source # 
Instance details

Defined in Cardano.Api.Internal.Eras.Core

data AsType GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

data AsType GovernancePollAnswer Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

data AsType ByronKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

data AsType ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

data AsType KesKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

data AsType VrfKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

data AsType CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType DRepKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType GenesisKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType PaymentKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType StakeKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

data AsType OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

data AsType PraosNonce Source # 
Instance details

Defined in Cardano.Api.Internal.ProtocolParameters

data AsType UpdateProposal Source # 
Instance details

Defined in Cardano.Api.Internal.ProtocolParameters

data AsType PlutusScriptV1 Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data AsType PlutusScriptV2 Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data AsType PlutusScriptV3 Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data AsType ScriptHash Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data AsType ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data AsType SimpleScript' Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data AsType HashableScriptData Source # 
Instance details

Defined in Cardano.Api.Internal.ScriptData

data AsType ScriptData Source # 
Instance details

Defined in Cardano.Api.Internal.ScriptData

data AsType TextEnvelope Source # 
Instance details

Defined in Cardano.Api.Internal.SerialiseTextEnvelope

data AsType ByronUpdateProposal Source # 
Instance details

Defined in Cardano.Api.Internal.SpecialByron

data AsType ByronVote Source # 
Instance details

Defined in Cardano.Api.Internal.SpecialByron

data AsType StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.StakePoolMetadata

data AsType TxId Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

data AsType TxMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.TxMetadata

data AsType AssetName Source # 
Instance details

Defined in Cardano.Api.Internal.Value

data AsType PolicyId Source # 
Instance details

Defined in Cardano.Api.Internal.Value

data AsType (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

data AsType (Address addrtype) = AsAddress (AsType addrtype)
data AsType (AddressInEra era) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

data AsType (Certificate era) Source # 
Instance details

Defined in Cardano.Api.Internal.Certificate

data AsType (Proposal era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.ProposalProcedure

data AsType (VotingProcedure era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

data AsType (VotingProcedures era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

data AsType (Hash a) Source # 
Instance details

Defined in Cardano.Api.Internal.Hash

data AsType (Hash a) = AsHash (AsType a)
data AsType (SigningKey a) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Class

data AsType (VerificationKey a) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Class

data AsType (PlutusScript lang) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data AsType (Script lang) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data AsType (Script lang) = AsScript (AsType lang)
data AsType (ScriptInEra era) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data AsType (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

data AsType (Tx era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

data AsType (Tx era) = AsTx (AsType era)
data AsType (TxBody era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

data AsType (TxBody era) = AsTxBody (AsType era)
data AsType (PlutusScriptInEra era lang) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

Payment addresses

Constructing and inspecting Shelley payment addresses

data Address addrtype where Source #

Addresses are used as locations where assets live. The address determines the rights needed to spend assets at the address: in particular holding some signing key or being able to satisfy the conditions of a script.

There are currently two types of address:

  • Byron addresses, which use the type tag ByronAddr; and
  • Shelley addresses, which use the type tag ShelleyAddr. Notably, Shelley addresses support scripts and stake delegation.

The address type is subtly from the ledger era in which each address type is valid: while Byron addresses are the only choice in the Byron era, the Shelley era and all subsequent eras support both Byron and Shelley addresses. The Address type param only says the type of the address (either Byron or Shelley). The AddressInEra type connects the address type with the era in which it is supported.

Constructors

ShelleyAddress :: Network -> PaymentCredential StandardCrypto -> StakeReference StandardCrypto -> Address ShelleyAddr

Shelley addresses allow delegation. Shelley addresses were introduced in Shelley era and are thus supported from the Shelley era onwards

Instances

Instances details
FromJSON (Address ByronAddr) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

Methods

parseJSON :: Value -> Parser (Address ByronAddr)

parseJSONList :: Value -> Parser [Address ByronAddr]

omittedField :: Maybe (Address ByronAddr)

FromJSON (Address ShelleyAddr) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

ToJSON (Address ByronAddr) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

ToJSON (Address ShelleyAddr) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

Show (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

Methods

showsPrec :: Int -> Address addrtype -> ShowS Source #

show :: Address addrtype -> String Source #

showList :: [Address addrtype] -> ShowS Source #

SerialiseAddress (Address ByronAddr) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

SerialiseAddress (Address ShelleyAddr) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

HasTypeProxy addrtype => HasTypeProxy (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

Associated Types

data AsType (Address addrtype) 
Instance details

Defined in Cardano.Api.Internal.Address

data AsType (Address addrtype) = AsAddress (AsType addrtype)

Methods

proxyToAsType :: Proxy (Address addrtype) -> AsType (Address addrtype) Source #

SerialiseAsBech32 (Address ShelleyAddr) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

SerialiseAsRawBytes (Address ByronAddr) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

SerialiseAsRawBytes (Address ShelleyAddr) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

NFData (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

Methods

rnf :: Address addrtype -> () Source #

Eq (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

Methods

(==) :: Address addrtype -> Address addrtype -> Bool Source #

(/=) :: Address addrtype -> Address addrtype -> Bool Source #

Ord (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

Methods

compare :: Address addrtype -> Address addrtype -> Ordering Source #

(<) :: Address addrtype -> Address addrtype -> Bool Source #

(<=) :: Address addrtype -> Address addrtype -> Bool Source #

(>) :: Address addrtype -> Address addrtype -> Bool Source #

(>=) :: Address addrtype -> Address addrtype -> Bool Source #

max :: Address addrtype -> Address addrtype -> Address addrtype Source #

min :: Address addrtype -> Address addrtype -> Address addrtype Source #

data AsType (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

data AsType (Address addrtype) = AsAddress (AsType addrtype)

data NetworkId Source #

Constructors

Mainnet 
Testnet !NetworkMagic 

Instances

Instances details
Show NetworkId Source # 
Instance details

Defined in Cardano.Api.Internal.NetworkId

Eq NetworkId Source # 
Instance details

Defined in Cardano.Api.Internal.NetworkId

Stake addresses

data StakeAddress where Source #

Instances

Instances details
FromJSON StakeAddress Source # 
Instance details

Defined in Cardano.Api.Internal.Address

Methods

parseJSON :: Value -> Parser StakeAddress

parseJSONList :: Value -> Parser [StakeAddress]

omittedField :: Maybe StakeAddress

ToJSON StakeAddress Source # 
Instance details

Defined in Cardano.Api.Internal.Address

Methods

toJSON :: StakeAddress -> Value

toEncoding :: StakeAddress -> Encoding

toJSONList :: [StakeAddress] -> Value

toEncodingList :: [StakeAddress] -> Encoding

omitField :: StakeAddress -> Bool

Show StakeAddress Source # 
Instance details

Defined in Cardano.Api.Internal.Address

SerialiseAddress StakeAddress Source # 
Instance details

Defined in Cardano.Api.Internal.Address

HasTypeProxy StakeAddress Source # 
Instance details

Defined in Cardano.Api.Internal.Address

Associated Types

data AsType StakeAddress 
Instance details

Defined in Cardano.Api.Internal.Address

SerialiseAsBech32 StakeAddress Source # 
Instance details

Defined in Cardano.Api.Internal.Address

SerialiseAsRawBytes StakeAddress Source # 
Instance details

Defined in Cardano.Api.Internal.Address

Eq StakeAddress Source # 
Instance details

Defined in Cardano.Api.Internal.Address

Ord StakeAddress Source # 
Instance details

Defined in Cardano.Api.Internal.Address

data AsType StakeAddress Source # 
Instance details

Defined in Cardano.Api.Internal.Address

Building transactions

Constructing and inspecting transactions

data TxBody era where Source #

Constructors

ShelleyTxBody 

Fields

Instances

Instances details
Show (TxBody era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Methods

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

show :: TxBody era -> String Source #

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

HasTypeProxy era => HasTypeProxy (TxBody era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Associated Types

data AsType (TxBody era) 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

data AsType (TxBody era) = AsTxBody (AsType era)

Methods

proxyToAsType :: Proxy (TxBody era) -> AsType (TxBody era) Source #

IsShelleyBasedEra era => SerialiseAsCBOR (TxBody era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

IsShelleyBasedEra era => HasTextEnvelope (TxBody era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Eq (TxBody era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Methods

(==) :: TxBody era -> TxBody era -> Bool Source #

(/=) :: TxBody era -> TxBody era -> Bool Source #

data AsType (TxBody era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

data AsType (TxBody era) = AsTxBody (AsType era)

newtype TxId Source #

Instances

Instances details
FromJSON TxId Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Methods

parseJSON :: Value -> Parser TxId

parseJSONList :: Value -> Parser [TxId]

omittedField :: Maybe TxId

FromJSONKey TxId Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Methods

fromJSONKey :: FromJSONKeyFunction TxId

fromJSONKeyList :: FromJSONKeyFunction [TxId]

ToJSON TxId Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Methods

toJSON :: TxId -> Value

toEncoding :: TxId -> Encoding

toJSONList :: [TxId] -> Value

toEncodingList :: [TxId] -> Encoding

omitField :: TxId -> Bool

ToJSONKey TxId Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Methods

toJSONKey :: ToJSONKeyFunction TxId

toJSONKeyList :: ToJSONKeyFunction [TxId]

IsString TxId Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Show TxId Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

HasTypeProxy TxId Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Associated Types

data AsType TxId 
Instance details

Defined in Cardano.Api.Internal.TxIn

SerialiseAsRawBytes TxId Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Eq TxId Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Methods

(==) :: TxId -> TxId -> Bool Source #

(/=) :: TxId -> TxId -> Bool Source #

Ord TxId Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

data AsType TxId Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

data TxIn Source #

Constructors

TxIn TxId TxIx 

Instances

Instances details
FromJSON TxIn Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Methods

parseJSON :: Value -> Parser TxIn

parseJSONList :: Value -> Parser [TxIn]

omittedField :: Maybe TxIn

FromJSONKey TxIn Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Methods

fromJSONKey :: FromJSONKeyFunction TxIn

fromJSONKeyList :: FromJSONKeyFunction [TxIn]

ToJSON TxIn Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Methods

toJSON :: TxIn -> Value

toEncoding :: TxIn -> Encoding

toJSONList :: [TxIn] -> Value

toEncodingList :: [TxIn] -> Encoding

omitField :: TxIn -> Bool

ToJSONKey TxIn Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Methods

toJSONKey :: ToJSONKeyFunction TxIn

toJSONKeyList :: ToJSONKeyFunction [TxIn]

Show TxIn Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Eq TxIn Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Methods

(==) :: TxIn -> TxIn -> Bool Source #

(/=) :: TxIn -> TxIn -> Bool Source #

Ord TxIn Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Pretty TxIn Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Methods

pretty :: TxIn -> Doc ann #

prettyList :: [TxIn] -> Doc ann #

toShelleyTxIn :: TxIn -> TxIn StandardCrypto Source #

This function may overflow on the transaction index. Call sites must ensure that all uses of this function are appropriately guarded.

data TxOut ctx era Source #

Constructors

TxOut (AddressInEra era) (TxOutValue era) (TxOutDatum ctx era) (ReferenceScript era) 

Instances

Instances details
IsShelleyBasedEra era => FromJSON (TxOut CtxTx era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Body

Methods

parseJSON :: Value -> Parser (TxOut CtxTx era)

parseJSONList :: Value -> Parser [TxOut CtxTx era]

omittedField :: Maybe (TxOut CtxTx era)

IsShelleyBasedEra era => FromJSON (TxOut CtxUTxO era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Body

Methods

parseJSON :: Value -> Parser (TxOut CtxUTxO era)

parseJSONList :: Value -> Parser [TxOut CtxUTxO era]

omittedField :: Maybe (TxOut CtxUTxO era)

IsCardanoEra era => ToJSON (TxOut ctx era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Body

Methods

toJSON :: TxOut ctx era -> Value

toEncoding :: TxOut ctx era -> Encoding

toJSONList :: [TxOut ctx era] -> Value

toEncodingList :: [TxOut ctx era] -> Encoding

omitField :: TxOut ctx era -> Bool

Show (TxOut ctx era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Body

Methods

showsPrec :: Int -> TxOut ctx era -> ShowS Source #

show :: TxOut ctx era -> String Source #

showList :: [TxOut ctx era] -> ShowS Source #

Eq (TxOut ctx era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Body

Methods

(==) :: TxOut ctx era -> TxOut ctx era -> Bool Source #

(/=) :: TxOut ctx era -> TxOut ctx era -> Bool Source #

toShelleyTxOut :: (HasCallStack, ShelleyLedgerEra era ~ ledgerera) => ShelleyBasedEra era -> TxOut CtxUTxO era -> TxOut ledgerera Source #

newtype TxIx Source #

Constructors

TxIx Word 

Instances

Instances details
FromJSON TxIx Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Methods

parseJSON :: Value -> Parser TxIx

parseJSONList :: Value -> Parser [TxIx]

omittedField :: Maybe TxIx

ToJSON TxIx Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Methods

toJSON :: TxIx -> Value

toEncoding :: TxIx -> Encoding

toJSONList :: [TxIx] -> Value

toEncodingList :: [TxIx] -> Encoding

omitField :: TxIx -> Bool

Enum TxIx Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Show TxIx Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Eq TxIx Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

Methods

(==) :: TxIx -> TxIx -> Bool Source #

(/=) :: TxIx -> TxIx -> Bool Source #

Ord TxIx Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

calcMinimumDeposit :: Value -> Lovelace -> Lovelace Source #

Calculate cost of making a UTxO entry for a given Value and mininimum UTxO value derived from the ProtocolParameters

Arbitrary signing

signArbitraryBytesKes Source #

Arguments

:: SigningKey KesKey 
-> Period

Desired Kes period

-> ByteString

Message to sign

-> SignedKES (KES StandardCrypto) ByteString 

Signing transactions

Creating transaction witnesses one by one, or all in one go.

data Tx era where Source #

Constructors

ShelleyTx :: forall era. ShelleyBasedEra era -> Tx (ShelleyLedgerEra era) -> Tx era 

Instances

Instances details
Show (InAnyShelleyBasedEra Tx) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Show (InAnyCardanoEra Tx) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Show (Tx era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Methods

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

show :: Tx era -> String Source #

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

HasTypeProxy era => HasTypeProxy (Tx era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Associated Types

data AsType (Tx era) 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

data AsType (Tx era) = AsTx (AsType era)

Methods

proxyToAsType :: Proxy (Tx era) -> AsType (Tx era) Source #

IsShelleyBasedEra era => SerialiseAsCBOR (Tx era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

IsShelleyBasedEra era => HasTextEnvelope (Tx era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Eq (InAnyShelleyBasedEra Tx) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Eq (InAnyCardanoEra Tx) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Eq (Tx era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Methods

(==) :: Tx era -> Tx era -> Bool Source #

(/=) :: Tx era -> Tx era -> Bool Source #

data AsType (Tx era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

data AsType (Tx era) = AsTx (AsType era)

Incremental signing and separate witnesses

data KeyWitness era where Source #

Instances

Instances details
Show (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

HasTypeProxy era => HasTypeProxy (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Associated Types

data AsType (KeyWitness era) 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

IsCardanoEra era => SerialiseAsCBOR (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

IsCardanoEra era => HasTextEnvelope (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Eq (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Methods

(==) :: KeyWitness era -> KeyWitness era -> Bool Source #

(/=) :: KeyWitness era -> KeyWitness era -> Bool Source #

data AsType (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

data ShelleySigningKey Source #

We support making key witnesses with both normal and extended signing keys.

Constructors

ShelleyNormalSigningKey (SignKeyDSIGN StandardCrypto)

A normal ed25519 signing key

ShelleyExtendedSigningKey XPrv

An extended ed25519 signing key

Blocks

fromConsensusPointHF :: forall block (xs :: [Type]). HeaderHash block ~ OneEraHash xs => Point block -> ChainPoint Source #

Convert a Point for multi-era block type

toConsensusPointHF :: forall block (xs :: [Type]). HeaderHash block ~ OneEraHash xs => ChainPoint -> Point block Source #

Convert a Point for multi-era block type

Transaction metadata

Embedding additional structured data within transactions.

Protocol parameters

data EraBasedProtocolParametersUpdate era where Source #

Each constructor corresponds to the set of protocol parameters available in a given era.

data ShelleyToAlonzoPParams ledgerera Source #

Constructors

ShelleyToAlonzoPParams 

Fields

Instances

Instances details
Show (ShelleyToAlonzoPParams ledgerera) Source # 
Instance details

Defined in Cardano.Api.Internal.ProtocolParameters

convertToLedgerProtocolParameters :: ShelleyBasedEra era -> ProtocolParameters -> Either ProtocolParametersConversionError (LedgerProtocolParameters era) Source #

Deprecated: Use the ledger's PParams (from module Cardano.Api.Ledger) type instead of ProtocolParameters. The type will be removed after Chang hard fork.

data ProtocolParameters Source #

Deprecated: Use the ledger's PParams (from module Cardano.Api.Ledger) type instead of ProtocolParameters. The type will be removed after Chang hard fork.

The values of the set of updatable protocol parameters. At any particular point on the chain there is a current set of parameters in use.

These parameters can be updated (at epoch boundaries) via an UpdateProposal, which contains a ProtocolParametersUpdate.

The ProtocolParametersUpdate is essentially a diff for the ProtocolParameters.

There are also parameters fixed in the Genesis file. See GenesisParameters.

Constructors

ProtocolParameters

Deprecated: Use the ledger's PParams (from module Cardano.Api.Ledger) type instead of ProtocolParameters. The type will be removed after Chang hard fork.

Fields

Instances

Instances details
FromJSON ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.Internal.ProtocolParameters

ToJSON ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.Internal.ProtocolParameters

Generic ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.Internal.ProtocolParameters

Associated Types

type Rep ProtocolParameters 
Instance details

Defined in Cardano.Api.Internal.ProtocolParameters

type Rep ProtocolParameters = D1 ('MetaData "ProtocolParameters" "Cardano.Api.Internal.ProtocolParameters" "cardano-api-10.9.0.0-inplace" 'False) (C1 ('MetaCons "ProtocolParameters" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "protocolParamProtocolVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Natural, Natural)) :*: (S1 ('MetaSel ('Just "protocolParamDecentralization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: S1 ('MetaSel ('Just "protocolParamExtraPraosEntropy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PraosNonce)))) :*: (S1 ('MetaSel ('Just "protocolParamMaxBlockHeaderSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "protocolParamMaxBlockBodySize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "protocolParamMaxTxSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))) :*: ((S1 ('MetaSel ('Just "protocolParamTxFeeFixed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Coin) :*: (S1 ('MetaSel ('Just "protocolParamTxFeePerByte") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Coin) :*: S1 ('MetaSel ('Just "protocolParamMinUTxOValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coin)))) :*: (S1 ('MetaSel ('Just "protocolParamStakeAddressDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Coin) :*: (S1 ('MetaSel ('Just "protocolParamStakePoolDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Coin) :*: S1 ('MetaSel ('Just "protocolParamMinPoolCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Coin))))) :*: (((S1 ('MetaSel ('Just "protocolParamPoolRetireMaxEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EpochInterval) :*: (S1 ('MetaSel ('Just "protocolParamStakePoolTargetNum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word16) :*: S1 ('MetaSel ('Just "protocolParamPoolPledgeInfluence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational))) :*: (S1 ('MetaSel ('Just "protocolParamMonetaryExpansion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational) :*: (S1 ('MetaSel ('Just "protocolParamTreasuryCut") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational) :*: S1 ('MetaSel ('Just "protocolParamCostModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map AnyPlutusScriptVersion CostModel))))) :*: ((S1 ('MetaSel ('Just "protocolParamPrices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExecutionUnitPrices)) :*: (S1 ('MetaSel ('Just "protocolParamMaxTxExUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExecutionUnits)) :*: S1 ('MetaSel ('Just "protocolParamMaxBlockExUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExecutionUnits)))) :*: ((S1 ('MetaSel ('Just "protocolParamMaxValueSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "protocolParamCollateralPercent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "protocolParamMaxCollateralInputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "protocolParamUTxOCostPerByte") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coin))))))))
Show ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.Internal.ProtocolParameters

Eq ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.Internal.ProtocolParameters

type Rep ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.Internal.ProtocolParameters

type Rep ProtocolParameters = D1 ('MetaData "ProtocolParameters" "Cardano.Api.Internal.ProtocolParameters" "cardano-api-10.9.0.0-inplace" 'False) (C1 ('MetaCons "ProtocolParameters" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "protocolParamProtocolVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Natural, Natural)) :*: (S1 ('MetaSel ('Just "protocolParamDecentralization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: S1 ('MetaSel ('Just "protocolParamExtraPraosEntropy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PraosNonce)))) :*: (S1 ('MetaSel ('Just "protocolParamMaxBlockHeaderSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "protocolParamMaxBlockBodySize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "protocolParamMaxTxSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))) :*: ((S1 ('MetaSel ('Just "protocolParamTxFeeFixed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Coin) :*: (S1 ('MetaSel ('Just "protocolParamTxFeePerByte") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Coin) :*: S1 ('MetaSel ('Just "protocolParamMinUTxOValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coin)))) :*: (S1 ('MetaSel ('Just "protocolParamStakeAddressDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Coin) :*: (S1 ('MetaSel ('Just "protocolParamStakePoolDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Coin) :*: S1 ('MetaSel ('Just "protocolParamMinPoolCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Coin))))) :*: (((S1 ('MetaSel ('Just "protocolParamPoolRetireMaxEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EpochInterval) :*: (S1 ('MetaSel ('Just "protocolParamStakePoolTargetNum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word16) :*: S1 ('MetaSel ('Just "protocolParamPoolPledgeInfluence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational))) :*: (S1 ('MetaSel ('Just "protocolParamMonetaryExpansion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational) :*: (S1 ('MetaSel ('Just "protocolParamTreasuryCut") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational) :*: S1 ('MetaSel ('Just "protocolParamCostModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map AnyPlutusScriptVersion CostModel))))) :*: ((S1 ('MetaSel ('Just "protocolParamPrices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExecutionUnitPrices)) :*: (S1 ('MetaSel ('Just "protocolParamMaxTxExUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExecutionUnits)) :*: S1 ('MetaSel ('Just "protocolParamMaxBlockExUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExecutionUnits)))) :*: ((S1 ('MetaSel ('Just "protocolParamMaxValueSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "protocolParamCollateralPercent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "protocolParamMaxCollateralInputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "protocolParamUTxOCostPerByte") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coin))))))))

checkProtocolParameters :: ShelleyBasedEra era -> ProtocolParameters -> Either ProtocolParametersError () Source #

Deprecated: Use the ledger's PParams (from module Cardano.Api.Ledger) type instead of ProtocolParameters. The type will be removed after Chang hard fork. PParams natively enforce these checks.

Scripts

toShelleyMultiSig :: SimpleScript -> Either MultiSigError (MultiSig (ShelleyLedgerEra ShelleyEra)) Source #

Conversion for the MultiSig language used by the Shelley era.

fromShelleyMultiSig :: MultiSig (ShelleyLedgerEra ShelleyEra) -> SimpleScript Source #

Conversion for the MultiSig language used by the Shelley era.

toAllegraTimelock :: (AllegraEraScript era, EraCrypto era ~ StandardCrypto, NativeScript era ~ Timelock era) => SimpleScript -> NativeScript era Source #

Conversion for the Timelock language that is shared between the Allegra and Mary eras.

fromAllegraTimelock :: (AllegraEraScript era, EraCrypto era ~ StandardCrypto) => NativeScript era -> SimpleScript Source #

Conversion for the Timelock language that is shared between the Allegra and Mary eras.

data PlutusScript lang where Source #

Plutus scripts.

Note that Plutus scripts have a binary serialisation but no JSON serialisation.

Constructors

PlutusScriptSerialised :: forall lang. ShortByteString -> PlutusScript lang 

Instances

Instances details
Show (PlutusScript lang) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

HasTypeProxy lang => HasTypeProxy (PlutusScript lang) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

Associated Types

data AsType (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Internal.Script

HasTypeProxy lang => SerialiseAsCBOR (PlutusScript lang) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

HasTypeProxy lang => SerialiseAsRawBytes (PlutusScript lang) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

IsPlutusScriptLanguage lang => HasTextEnvelope (PlutusScript lang) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

Eq (PlutusScript lang) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

Methods

(==) :: PlutusScript lang -> PlutusScript lang -> Bool Source #

(/=) :: PlutusScript lang -> PlutusScript lang -> Bool Source #

Ord (PlutusScript lang) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data AsType (PlutusScript lang) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data PlutusScriptOrReferenceInput lang Source #

Scripts can now exist in the UTxO at a transaction output. We can reference these scripts via specification of a reference transaction input in order to witness spending inputs, withdrawals, certificates or to mint tokens. This datatype encapsulates this concept.

toAlonzoData :: Era ledgerera => HashableScriptData -> Data ledgerera Source #

Reference Scripts

data ReferenceScript era where Source #

A reference scripts is a script that can exist at a transaction output. This greatly reduces the size of transactions that use scripts as the script no longer has to be added to the transaction, they can now be referenced via a transaction output.

Constructors

ReferenceScript :: forall era. BabbageEraOnwards era -> ScriptInAnyLang -> ReferenceScript era 
ReferenceScriptNone :: forall era. ReferenceScript era 

Instances

Instances details
IsCardanoEra era => FromJSON (ReferenceScript era) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

Methods

parseJSON :: Value -> Parser (ReferenceScript era)

parseJSONList :: Value -> Parser [ReferenceScript era]

omittedField :: Maybe (ReferenceScript era)

IsCardanoEra era => ToJSON (ReferenceScript era) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

Methods

toJSON :: ReferenceScript era -> Value

toEncoding :: ReferenceScript era -> Encoding

toJSONList :: [ReferenceScript era] -> Value

toEncodingList :: [ReferenceScript era] -> Encoding

omitField :: ReferenceScript era -> Bool

Show (ReferenceScript era) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

Eq (ReferenceScript era) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

Certificates

data Certificate era where Source #

Instances

Instances details
Show (Certificate era) Source # 
Instance details

Defined in Cardano.Api.Internal.Certificate

Typeable era => HasTypeProxy (Certificate era) Source # 
Instance details

Defined in Cardano.Api.Internal.Certificate

Associated Types

data AsType (Certificate era) 
Instance details

Defined in Cardano.Api.Internal.Certificate

IsShelleyBasedEra era => SerialiseAsCBOR (Certificate era) Source # 
Instance details

Defined in Cardano.Api.Internal.Certificate

IsShelleyBasedEra era => HasTextEnvelope (Certificate era) Source # 
Instance details

Defined in Cardano.Api.Internal.Certificate

IsShelleyBasedEra era => FromCBOR (Certificate era) Source # 
Instance details

Defined in Cardano.Api.Internal.Certificate

IsShelleyBasedEra era => ToCBOR (Certificate era) Source # 
Instance details

Defined in Cardano.Api.Internal.Certificate

Methods

toCBOR :: Certificate era -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Certificate era) -> Size Source #

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

Eq (Certificate era) Source # 
Instance details

Defined in Cardano.Api.Internal.Certificate

Methods

(==) :: Certificate era -> Certificate era -> Bool Source #

(/=) :: Certificate era -> Certificate era -> Bool Source #

Ord (Certificate era) Source # 
Instance details

Defined in Cardano.Api.Internal.Certificate

data AsType (Certificate era) Source # 
Instance details

Defined in Cardano.Api.Internal.Certificate

Operational certificates

data OperationalCertificate Source #

Instances

Instances details
Show OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

HasTypeProxy OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

SerialiseAsCBOR OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

HasTextEnvelope OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

FromCBOR OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

ToCBOR OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

Eq OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

data AsType OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

data OperationalCertificateIssueCounter Source #

Instances

Instances details
Show OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

HasTypeProxy OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

SerialiseAsCBOR OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

HasTextEnvelope OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

FromCBOR OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

ToCBOR OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

Eq OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

data AsType OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

data OperationalCertIssueError Source #

Constructors

OperationalCertKeyMismatch (VerificationKey StakePoolKey) (VerificationKey StakePoolKey)

The stake pool verification key expected for the OperationalCertificateIssueCounter does not match the signing key supplied for signing.

Order: pool vkey expected, pool skey supplied

Stake Pool

data StakePoolMetadata Source #

A representation of the required fields for off-chain stake pool metadata.

Constructors

StakePoolMetadata !Text !Text !Text !Text 

Instances

Instances details
FromJSON StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.StakePoolMetadata

Show StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.StakePoolMetadata

HasTypeProxy StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.StakePoolMetadata

Eq StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.StakePoolMetadata

Show (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.Internal.StakePoolMetadata

SerialiseAsRawBytes (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.Internal.StakePoolMetadata

Eq (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.Internal.StakePoolMetadata

data AsType StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.StakePoolMetadata

newtype Hash StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.StakePoolMetadata

stakePoolName :: StakePoolMetadata -> Text Source #

A name of up to 50 characters.

stakePoolDescription :: StakePoolMetadata -> Text Source #

A description of up to 255 characters.

stakePoolTicker :: StakePoolMetadata -> Text Source #

A ticker of 3-5 characters, for a compact display of stake pools in a wallet.

stakePoolHomepage :: StakePoolMetadata -> Text Source #

A URL to a homepage with additional information about the pool. n.b. the spec does not specify a character limit for this field.

data StakePoolRelay Source #

Constructors

StakePoolRelayIp (Maybe IPv4) (Maybe IPv6) (Maybe PortNumber)

One or both of IPv4 & IPv6

StakePoolRelayDnsARecord ByteString (Maybe PortNumber)

An DNS name pointing to a A or AAAA record.

StakePoolRelayDnsSrvRecord ByteString

A DNS name pointing to a SRV record.

newtype EpochNo Source #

An epoch, i.e. the number of the epoch.

Constructors

EpochNo 

Fields

Instances

Instances details
FromJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser EpochNo

parseJSONList :: Value -> Parser [EpochNo]

omittedField :: Maybe EpochNo

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

Enum EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Generic EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Associated Types

type Rep EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

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

Defined in Cardano.Slotting.Slot

FromCBOR EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

ToCBOR EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toCBOR :: EpochNo -> Encoding Source #

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

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

DecCBOR EpochNo 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

EncCBOR EpochNo 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

Methods

encCBOR :: EpochNo -> Encoding Source #

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

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

NFData EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

rnf :: EpochNo -> () Source #

Eq EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Ord EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

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 #

Condense EpochNo 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Serialise EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

type Rep EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

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

Governance Actions

createPreviousGovernanceActionId Source #

Arguments

:: forall era (r :: GovActionPurpose). EraCrypto (ShelleyLedgerEra era) ~ StandardCrypto 
=> TxId 
-> Word16

Governance action transation index

-> GovPurposeId r (ShelleyLedgerEra era) 

DRep

newtype DRepMetadata Source #

A representation of the required fields for off-chain drep metadata.

Constructors

DRepMetadata ByteString 

Instances

Instances details
Show DRepMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.DRepMetadata

HasTypeProxy DRepMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.DRepMetadata

Associated Types

data AsType DRepMetadata 
Instance details

Defined in Cardano.Api.Internal.DRepMetadata

Eq DRepMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.DRepMetadata

Show (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.Internal.DRepMetadata

SerialiseAsRawBytes (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.Internal.DRepMetadata

Eq (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.Internal.DRepMetadata

data AsType DRepMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.DRepMetadata

newtype Hash DRepMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.DRepMetadata

Stake pool operator's keys

data StakePoolKey Source #

Instances

Instances details
HasTypeProxy StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Associated Types

data AsType StakePoolKey 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Key StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash StakePoolKey)

parseJSONList :: Value -> Parser [Hash StakePoolKey]

omittedField :: Maybe (Hash StakePoolKey)

ToJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToJSONKey (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash StakePoolKey)

toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolKey]

IsString (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

IsString (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Show (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsBech32 (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

SerialiseAsRawBytes (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

HasTextEnvelope (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

FromCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

ToCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Eq (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

Ord (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype Hash StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype SigningKey StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

newtype VerificationKey StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

KES keys

data KesKey Source #

Instances

Instances details
HasTypeProxy KesKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Associated Types

data AsType KesKey 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Key KesKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

IsString (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

IsString (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

IsString (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Show (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Show (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Show (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsBech32 (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsBech32 (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsRawBytes (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsRawBytes (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsRawBytes (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

HasTextEnvelope (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

HasTextEnvelope (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

FromCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

FromCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

FromCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

ToCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Methods

toCBOR :: Hash KesKey -> Encoding Source #

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

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

ToCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

ToCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Eq (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Eq (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Ord (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

data AsType KesKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

newtype Hash KesKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

newtype SigningKey KesKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

newtype VerificationKey KesKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

newtype KESPeriod Source #

Constructors

KESPeriod 

Fields

Instances

Instances details
Generic KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Associated Types

type Rep KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

type Rep KESPeriod = D1 ('MetaData "KESPeriod" "Cardano.Protocol.TPraos.OCert" "cardano-protocol-tpraos-1.3.0.0-ca85ff99d9052f7c8448d59579428c1c4bbec0b45d1593062ca02847bf08d349" 'True) (C1 ('MetaCons "KESPeriod" 'PrefixI 'True) (S1 ('MetaSel ('Just "unKESPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word)))
Show KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

FromCBOR KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

ToCBOR KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

toCBOR :: KESPeriod -> Encoding Source #

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

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

DecCBOR KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

EncCBOR KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Eq KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Ord KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

NoThunks KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

noThunks :: Context -> KESPeriod -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> KESPeriod -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy KESPeriod -> String #

type Rep KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

type Rep KESPeriod = D1 ('MetaData "KESPeriod" "Cardano.Protocol.TPraos.OCert" "cardano-protocol-tpraos-1.3.0.0-ca85ff99d9052f7c8448d59579428c1c4bbec0b45d1593062ca02847bf08d349" 'True) (C1 ('MetaCons "KESPeriod" 'PrefixI 'True) (S1 ('MetaSel ('Just "unKESPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word)))

VRF keys

data VrfKey Source #

Instances

Instances details
HasTypeProxy VrfKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Associated Types

data AsType VrfKey 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Key VrfKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

IsString (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

IsString (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

IsString (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Show (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Show (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Show (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsBech32 (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsBech32 (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsRawBytes (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsRawBytes (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

SerialiseAsRawBytes (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

HasTextEnvelope (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

HasTextEnvelope (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

FromCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

FromCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

FromCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

ToCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Methods

toCBOR :: Hash VrfKey -> Encoding Source #

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

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

ToCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

ToCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Eq (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Eq (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Ord (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

data AsType VrfKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

newtype Hash VrfKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

newtype SigningKey VrfKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

newtype VerificationKey VrfKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

Low level protocol interaction with a Cardano node

data LocalNodeClientProtocols block point tip slot tx txid txerr (query :: Type -> Type) (m :: Type -> Type) Source #

The protocols we can use with a local node. Use in conjunction with connectToLocalNode.

These protocols use the types from the rest of this API. The conversion to/from the types used by the underlying wire formats is handled by connectToLocalNode.

Constructors

LocalNodeClientProtocols (LocalChainSyncClient block point tip m) (Maybe (LocalTxSubmissionClient tx txerr m ())) (Maybe (LocalStateQueryClient block point query m ())) (Maybe (LocalTxMonitorClient txid tx slot m ())) 

Shelley based eras

type family ShelleyLedgerEra era = (ledgerera :: Type) | ledgerera -> era where ... Source #

A type family that connects our era type tags to equivalent type tags used in the Shelley ledger library.

This type mapping connect types from this API with types in the Shelley ledger library which allows writing conversion functions in a more generic way.

Ledger Events

data LedgerEvent Source #

Constructors

PoolRegistration

The given pool is being registered for the first time on chain.

PoolReRegistration

The given pool already exists and is being re-registered.

IncrementalRewardsDistribution EpochNo (Map StakeCredential (Set (Reward StandardCrypto)))

Incremental rewards are being computed.

RewardsDistribution EpochNo (Map StakeCredential (Set (Reward StandardCrypto)))

Reward distribution has completed.

MIRDistribution MIRDistributionDetails

MIR are being distributed.

PoolReap PoolReapDetails

Pools have been reaped and deposits refunded.

SuccessfulPlutusScript (NonEmpty (PlutusWithContext StandardCrypto))

A number of succeeded Plutus script evaluations.

FailedPlutusScript (NonEmpty (PlutusWithContext StandardCrypto))

A number of failed Plutus script evaluations.

NewGovernanceProposals (TxId StandardCrypto) AnyProposals

Newly submittted governance proposals in a single transaction.

RemovedGovernanceVotes

Governance votes that were invalidated.

Fields

EpochBoundaryRatificationState AnyRatificationState

The current state of governance matters at the epoch boundary. I.E the current constitution, committee, protocol parameters, etc.

data MIRDistributionDetails Source #

Details of fund transfers due to MIR certificates.

Note that the transfers from reserves to treasury and treasury to reserves are inverse; a transfer of 100 ADA in either direction will result in a net movement of 0, but we include both directions for assistance in debugging.

data PoolReapDetails Source #

Constructors

PoolReapDetails 

Fields

toLedgerEvent :: ConvertLedgerEvent blk => WrapLedgerEvent blk -> Maybe LedgerEvent Source #

Local State Query

newtype DebugLedgerState era Source #

Instances

Instances details
IsShelleyBasedEra era => ToJSON (DebugLedgerState era) Source # 
Instance details

Defined in Cardano.Api.Internal.Query.Types

Methods

toJSON :: DebugLedgerState era -> Value

toEncoding :: DebugLedgerState era -> Encoding

toJSONList :: [DebugLedgerState era] -> Value

toEncodingList :: [DebugLedgerState era] -> Encoding

omitField :: DebugLedgerState era -> Bool

IsShelleyBasedEra era => FromCBOR (DebugLedgerState era) Source # 
Instance details

Defined in Cardano.Api.Internal.Query.Types

newtype PoolState era Source #

Constructors

PoolState (PState (ShelleyLedgerEra era)) 

newtype UTxO era Source #

Constructors

UTxO 

Fields

Instances

Instances details
IsShelleyBasedEra era => FromJSON (UTxO era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.UTxO

Methods

parseJSON :: Value -> Parser (UTxO era)

parseJSONList :: Value -> Parser [UTxO era]

omittedField :: Maybe (UTxO era)

IsCardanoEra era => ToJSON (UTxO era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.UTxO

Methods

toJSON :: UTxO era -> Value

toEncoding :: UTxO era -> Encoding

toJSONList :: [UTxO era] -> Value

toEncodingList :: [UTxO era] -> Encoding

omitField :: UTxO era -> Bool

Monoid (UTxO era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.UTxO

Methods

mempty :: UTxO era Source #

mappend :: UTxO era -> UTxO era -> UTxO era Source #

mconcat :: [UTxO era] -> UTxO era Source #

Semigroup (UTxO era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.UTxO

Methods

(<>) :: UTxO era -> UTxO era -> UTxO era Source #

sconcat :: NonEmpty (UTxO era) -> UTxO era Source #

stimes :: Integral b => b -> UTxO era -> UTxO era Source #

IsList (UTxO era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.UTxO

Associated Types

type Item (UTxO era) 
Instance details

Defined in Cardano.Api.Internal.Tx.UTxO

type Item (UTxO era) = Item (Map TxIn (TxOut CtxUTxO era))

Methods

fromList :: [Item (UTxO era)] -> UTxO era Source #

fromListN :: Int -> [Item (UTxO era)] -> UTxO era Source #

toList :: UTxO era -> [Item (UTxO era)] Source #

Show (UTxO era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.UTxO

Methods

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

show :: UTxO era -> String Source #

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

Eq (UTxO era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.UTxO

Methods

(==) :: UTxO era -> UTxO era -> Bool Source #

(/=) :: UTxO era -> UTxO era -> Bool Source #

type Item (UTxO era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.UTxO

type Item (UTxO era) = Item (Map TxIn (TxOut CtxUTxO era))

data AcquiringFailure Source #

Establish a connection to a node and execute a single query using the local state query protocol.

newtype SystemStart Source #

System start

Slots are counted from the system start.

Constructors

SystemStart 

Instances

Instances details
FromJSON SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Methods

parseJSON :: Value -> Parser SystemStart

parseJSONList :: Value -> Parser [SystemStart]

omittedField :: Maybe SystemStart

ToJSON SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Methods

toJSON :: SystemStart -> Value

toEncoding :: SystemStart -> Encoding

toJSONList :: [SystemStart] -> Value

toEncodingList :: [SystemStart] -> Encoding

omitField :: SystemStart -> Bool

Generic SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Associated Types

type Rep SystemStart 
Instance details

Defined in Cardano.Slotting.Time

type Rep SystemStart = D1 ('MetaData "SystemStart" "Cardano.Slotting.Time" "cardano-slotting-0.2.0.0-cd5925153f267941e5a1c5b3fd90532bb9050966c3f4917f2ef8a79d4affa394" 'True) (C1 ('MetaCons "SystemStart" 'PrefixI 'True) (S1 ('MetaSel ('Just "getSystemStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime)))
Show SystemStart 
Instance details

Defined in Cardano.Slotting.Time

FromCBOR SystemStart 
Instance details

Defined in Cardano.Slotting.Time

ToCBOR SystemStart 
Instance details

Defined in Cardano.Slotting.Time

DecCBOR SystemStart 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

EncCBOR SystemStart 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

Eq SystemStart 
Instance details

Defined in Cardano.Slotting.Time

NoThunks SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Methods

noThunks :: Context -> SystemStart -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> SystemStart -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy SystemStart -> String #

Serialise SystemStart 
Instance details

Defined in Cardano.Slotting.Time

type Rep SystemStart 
Instance details

Defined in Cardano.Slotting.Time

type Rep SystemStart = D1 ('MetaData "SystemStart" "Cardano.Slotting.Time" "cardano-slotting-0.2.0.0-cd5925153f267941e5a1c5b3fd90532bb9050966c3f4917f2ef8a79d4affa394" 'True) (C1 ('MetaCons "SystemStart" 'PrefixI 'True) (S1 ('MetaSel ('Just "getSystemStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime)))

Governance

newtype GovernanceActionId era Source #

Instances

Instances details
Show (GovernanceActionId era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

IsShelleyBasedEra era => FromCBOR (GovernanceActionId era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

IsShelleyBasedEra era => ToCBOR (GovernanceActionId era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

Eq (GovernanceActionId era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

Ord (GovernanceActionId era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

newtype Proposal era Source #

Instances

Instances details
IsShelleyBasedEra era => Show (Proposal era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.ProposalProcedure

HasTypeProxy era => HasTypeProxy (Proposal era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.ProposalProcedure

Associated Types

data AsType (Proposal era) 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.ProposalProcedure

IsShelleyBasedEra era => SerialiseAsCBOR (Proposal era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.ProposalProcedure

IsShelleyBasedEra era => HasTextEnvelope (Proposal era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.ProposalProcedure

IsShelleyBasedEra era => FromCBOR (Proposal era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.ProposalProcedure

IsShelleyBasedEra era => ToCBOR (Proposal era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.ProposalProcedure

Methods

toCBOR :: Proposal era -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Proposal era) -> Size Source #

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

IsShelleyBasedEra era => Eq (Proposal era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.ProposalProcedure

Methods

(==) :: Proposal era -> Proposal era -> Bool Source #

(/=) :: Proposal era -> Proposal era -> Bool Source #

data AsType (Proposal era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.ProposalProcedure

newtype VotingProcedure era Source #

Instances

Instances details
Show (VotingProcedure era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

HasTypeProxy era => HasTypeProxy (VotingProcedure era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

Associated Types

data AsType (VotingProcedure era) 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

IsShelleyBasedEra era => SerialiseAsCBOR (VotingProcedure era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

IsShelleyBasedEra era => HasTextEnvelope (VotingProcedure era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

IsShelleyBasedEra era => FromCBOR (VotingProcedure era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

IsShelleyBasedEra era => ToCBOR (VotingProcedure era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

Methods

toCBOR :: VotingProcedure era -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VotingProcedure era) -> Size Source #

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

Eq (VotingProcedure era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

data AsType (VotingProcedure era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

newtype VotingProcedures era Source #

Instances

Instances details
Generic (VotingProcedures era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

Associated Types

type Rep (VotingProcedures era) 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

type Rep (VotingProcedures era) = D1 ('MetaData "VotingProcedures" "Cardano.Api.Internal.Governance.Actions.VotingProcedure" "cardano-api-10.9.0.0-inplace" 'True) (C1 ('MetaCons "VotingProcedures" 'PrefixI 'True) (S1 ('MetaSel ('Just "unVotingProcedures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (VotingProcedures (ShelleyLedgerEra era)))))
Show (VotingProcedures era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

HasTypeProxy era => HasTypeProxy (VotingProcedures era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

IsShelleyBasedEra era => SerialiseAsCBOR (VotingProcedures era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

IsShelleyBasedEra era => HasTextEnvelope (VotingProcedures era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

IsShelleyBasedEra era => FromCBOR (VotingProcedures era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

IsShelleyBasedEra era => ToCBOR (VotingProcedures era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

Methods

toCBOR :: VotingProcedures era -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VotingProcedures era) -> Size Source #

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

Eq (VotingProcedures era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

type Rep (VotingProcedures era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

type Rep (VotingProcedures era) = D1 ('MetaData "VotingProcedures" "Cardano.Api.Internal.Governance.Actions.VotingProcedure" "cardano-api-10.9.0.0-inplace" 'True) (C1 ('MetaCons "VotingProcedures" 'PrefixI 'True) (S1 ('MetaSel ('Just "unVotingProcedures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (VotingProcedures (ShelleyLedgerEra era)))))
data AsType (VotingProcedures era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

data GovernancePoll Source #

A governance poll declaration meant to be created by one of the genesis delegates and directed towards SPOs.

A poll is made of a question and some pre-defined answers to chose from. There's an optional nonce used to make poll unique (as things down the line are based on their hashes) if the same question/answers need to be asked multiple times.

Constructors

GovernancePoll 

Fields

Instances

Instances details
Show GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

HasTypeProxy GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

Associated Types

data AsType GovernancePoll 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

SerialiseAsCBOR GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

HasTextEnvelope GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

AsTxMetadata GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

Eq GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

IsString (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

Show (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

SerialiseAsRawBytes (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

Eq (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

Ord (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

data AsType GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

newtype Hash GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

data GovernancePollAnswer Source #

An (unauthenticated) answer to a poll from an SPO referring to a poll by hash digest value.

Constructors

GovernancePollAnswer 

Fields

Instances

Instances details
Show GovernancePollAnswer Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

HasTypeProxy GovernancePollAnswer Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

SerialiseAsCBOR GovernancePollAnswer Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

AsTxMetadata GovernancePollAnswer Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

Eq GovernancePollAnswer Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

data AsType GovernancePollAnswer Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

data Vote Source #

Constructors

No 
Yes 
Abstain 

Instances

Instances details
Show Vote Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

Eq Vote Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

Methods

(==) :: Vote -> Vote -> Bool Source #

(/=) :: Vote -> Vote -> Bool Source #

newtype Voter era Source #

Constructors

Voter (Voter (EraCrypto (ShelleyLedgerEra era))) 

Instances

Instances details
Show (Voter era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

Methods

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

show :: Voter era -> String Source #

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

IsShelleyBasedEra era => FromCBOR (Voter era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

Methods

fromCBOR :: Decoder s (Voter era) Source #

label :: Proxy (Voter era) -> Text Source #

IsShelleyBasedEra era => ToCBOR (Voter era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

Methods

toCBOR :: Voter era -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Voter era) -> Size Source #

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

Eq (Voter era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

Methods

(==) :: Voter era -> Voter era -> Bool Source #

(/=) :: Voter era -> Voter era -> Bool Source #

Ord (Voter era) Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Actions.VotingProcedure

Methods

compare :: Voter era -> Voter era -> Ordering Source #

(<) :: Voter era -> Voter era -> Bool Source #

(<=) :: Voter era -> Voter era -> Bool Source #

(>) :: Voter era -> Voter era -> Bool Source #

(>=) :: Voter era -> Voter era -> Bool Source #

max :: Voter era -> Voter era -> Voter era Source #

min :: Voter era -> Voter era -> Voter era Source #

createProposalProcedure Source #

Arguments

:: ShelleyBasedEra era 
-> Network 
-> Coin

Deposit

-> StakeCredential

Credential to return the deposit to.

-> GovernanceAction era 
-> Anchor StandardCrypto 
-> Proposal era 

verifyPollAnswer :: GovernancePoll -> InAnyShelleyBasedEra Tx -> Either GovernancePollError [Hash PaymentKey] Source #

Verify a poll against a given transaction and returns the signatories (verification key only) when valid.

Note: signatures aren't checked as it is assumed to have been done externally (the existence of the transaction in the ledger provides this guarantee).

Various calculations

currentEpochEligibleLeadershipSlots Source #

Return the slots at which a particular stake pool operator is expected to mint a block.

nextEpochEligibleLeadershipSlots Source #

Arguments

:: ShelleyBasedEra era 
-> ShelleyGenesis StandardCrypto 
-> SerialisedCurrentEpochState era

We need the mark stake distribution in order to predict the following epoch's leadership schedule

-> ProtocolState era 
-> PoolId

Potential slot leading stake pool

-> SigningKey VrfKey

VRF signing key of the stake pool

-> PParams (ShelleyLedgerEra era) 
-> EpochInfo (Either Text) 
-> (ChainTip, EpochNo) 
-> Either LeadershipError (Set SlotNo) 

Conversions

shelleyPayAddrToPlutusPubKHash :: Address ShelleyAddr -> Maybe PubKeyHash Source #

Converts a Shelley payment address to a Plutus public key hash.

mergeVotingProcedures Source #

Arguments

:: VotingProcedures era

Votes to merge

-> VotingProcedures era

Votes to merge

-> Either (VotesMergingConflict era) (VotingProcedures era)

Either the conflict found, or the merged votes

mergeVotingProcedures vote1 vote2 merges vote1 and vote2 into a single vote, or fails if the votes are incompatible.

newtype VotesMergingConflict era Source #

A voter, and the conflicting votes of this voter (i.e. votes with the same governance action identifier)