cardano-api-8.36.1.1: The 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 #

Constructors

ShelleyGenesis 

Fields

Instances

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

Defined in Cardano.Ledger.Shelley.Genesis

Crypto c => Show (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Generic (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Associated Types

type Rep (ShelleyGenesis c) :: Type -> Type Source #

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

Crypto c => EncCBOR (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

encCBOR :: ShelleyGenesis c -> Encoding

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

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

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

Crypto c => DecCBOR (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

decCBOR :: Decoder s (ShelleyGenesis c)

dropCBOR :: Proxy (ShelleyGenesis c) -> Decoder s ()

label :: Proxy (ShelleyGenesis c) -> Text

Crypto c => ToCBOR (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

toCBOR :: ShelleyGenesis c -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (ShelleyGenesis c) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ShelleyGenesis c] -> Size

Crypto c => FromCBOR (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

fromCBOR :: Decoder s (ShelleyGenesis c)

label :: Proxy (ShelleyGenesis c) -> Text

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.8.0.0-8zSwDh4GiF3HDtP87S8Ej2" '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)))))))

Cryptographic key interface

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

Associated Types

data VerificationKey keyrole #

data SigningKey keyrole #

Instances

Instances details
Key StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey StakeKey #

data SigningKey StakeKey #

Key PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

Associated Types

data VerificationKey ByronKey #

data SigningKey ByronKey #

Key VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

Associated Types

data VerificationKey VrfKey #

data SigningKey VrfKey #

Key GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

Associated Types

data VerificationKey KesKey #

data SigningKey KesKey #

Key DRepKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey DRepKey #

data SigningKey DRepKey #

Key DRepExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey DRepExtendedKey #

data SigningKey DRepExtendedKey #

Methods

getVerificationKey :: SigningKey DRepExtendedKey -> VerificationKey DRepExtendedKey #

deterministicSigningKey :: AsType DRepExtendedKey -> Seed -> SigningKey DRepExtendedKey #

deterministicSigningKeySeedSize :: AsType DRepExtendedKey -> Word #

verificationKeyHash :: VerificationKey DRepExtendedKey -> Hash DRepExtendedKey #

Key CommitteeColdKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

Key CommitteeHotKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data family VerificationKey keyrole #

Instances

Instances details
Eq (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Eq (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Eq (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Eq (VerificationKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: VerificationKey DRepExtendedKey -> VerificationKey DRepExtendedKey -> Bool Source #

(/=) :: VerificationKey DRepExtendedKey -> VerificationKey DRepExtendedKey -> Bool Source #

Eq (VerificationKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Eq (VerificationKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (VerificationKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> VerificationKey DRepExtendedKey -> ShowS Source #

show :: VerificationKey DRepExtendedKey -> String Source #

showList :: [VerificationKey DRepExtendedKey] -> ShowS Source #

Show (VerificationKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (VerificationKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (VerificationKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> VerificationKey DRepExtendedKey Source #

IsString (VerificationKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (VerificationKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTypeProxy a => HasTypeProxy (VerificationKey a) 
Instance details

Defined in Cardano.Api.Keys.Class

Associated Types

data AsType (VerificationKey a) #

SerialiseAsBech32 (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsBech32 (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsBech32 (VerificationKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

bech32PrefixFor :: VerificationKey DRepExtendedKey -> Text

bech32PrefixesPermitted :: AsType (VerificationKey DRepExtendedKey) -> [Text]

SerialiseAsBech32 (VerificationKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (VerificationKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: VerificationKey DRepExtendedKey -> ByteString #

deserialiseFromRawBytes :: AsType (VerificationKey DRepExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (VerificationKey DRepExtendedKey) #

SerialiseAsRawBytes (VerificationKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (VerificationKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToCBOR (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey StakeExtendedKey -> Encoding

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

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

ToCBOR (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey StakeKey -> Encoding

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

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

ToCBOR (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey PaymentKey -> Encoding

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

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

ToCBOR (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: VerificationKey ByronKey -> Encoding

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

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

ToCBOR (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: VerificationKey VrfKey -> Encoding

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

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

ToCBOR (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey GenesisKey -> Encoding

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

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

ToCBOR (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey GenesisDelegateKey -> Encoding

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

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

ToCBOR (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey StakePoolKey -> Encoding

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

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

ToCBOR (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey PaymentExtendedKey -> Encoding

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

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

ToCBOR (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey GenesisUTxOKey -> Encoding

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

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

ToCBOR (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey GenesisExtendedKey -> Encoding

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

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

ToCBOR (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToCBOR (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: VerificationKey KesKey -> Encoding

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

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

ToCBOR (VerificationKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey DRepKey -> Encoding

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

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

ToCBOR (VerificationKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey DRepExtendedKey -> Encoding

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

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

ToCBOR (VerificationKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey CommitteeColdKey -> Encoding

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

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

ToCBOR (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: VerificationKey ByronKeyLegacy -> Encoding

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

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

ToCBOR (VerificationKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey CommitteeHotKey -> Encoding

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

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

FromCBOR (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (VerificationKey VrfKey)

label :: Proxy (VerificationKey VrfKey) -> Text

FromCBOR (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (VerificationKey KesKey)

label :: Proxy (VerificationKey KesKey) -> Text

FromCBOR (VerificationKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (VerificationKey DRepExtendedKey)

label :: Proxy (VerificationKey DRepExtendedKey) -> Text

FromCBOR (VerificationKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (VerificationKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

HasTextEnvelope (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

HasTextEnvelope (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

HasTextEnvelope (VerificationKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

HasTextEnvelope (VerificationKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (VerificationKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: VerificationKey DRepExtendedKey -> ByteString #

deserialiseFromCBOR :: AsType (VerificationKey DRepExtendedKey) -> ByteString -> Either DecoderError (VerificationKey DRepExtendedKey) #

SerialiseAsCBOR (VerificationKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (VerificationKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey StakeKey = StakeVerificationKey {}
newtype VerificationKey PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey PaymentKey = PaymentVerificationKey (VKey 'Payment StandardCrypto)
newtype VerificationKey ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype VerificationKey VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype VerificationKey VrfKey = VrfVerificationKey (VerKeyVRF StandardCrypto)
newtype VerificationKey GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey GenesisKey = GenesisVerificationKey (VKey 'Genesis StandardCrypto)
newtype VerificationKey GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey GenesisDelegateKey = GenesisDelegateVerificationKey (VKey 'GenesisDelegate StandardCrypto)
newtype VerificationKey StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey StakePoolKey = StakePoolVerificationKey (VKey 'StakePool StandardCrypto)
newtype VerificationKey PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey GenesisUTxOKey = GenesisUTxOVerificationKey (VKey 'Payment StandardCrypto)
newtype VerificationKey GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype VerificationKey KesKey = KesVerificationKey (VerKeyKES StandardCrypto)
newtype VerificationKey DRepKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey DRepKey = DRepVerificationKey (VKey 'DRepRole StandardCrypto)
newtype VerificationKey DRepExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey DRepExtendedKey = DRepExtendedVerificationKey XPub
newtype VerificationKey CommitteeColdKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey CommitteeColdKey = CommitteeColdVerificationKey (VKey 'ColdCommitteeRole StandardCrypto)
newtype VerificationKey ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype VerificationKey CommitteeHotKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey CommitteeHotKey = CommitteeHotVerificationKey (VKey 'HotCommitteeRole StandardCrypto)
data AsType (VerificationKey a) 
Instance details

Defined in Cardano.Api.Keys.Class

data family SigningKey keyrole #

Instances

Instances details
Show (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (SigningKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> SigningKey DRepExtendedKey -> ShowS Source #

show :: SigningKey DRepExtendedKey -> String Source #

showList :: [SigningKey DRepExtendedKey] -> ShowS Source #

Show (SigningKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (SigningKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (SigningKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> SigningKey DRepExtendedKey Source #

IsString (SigningKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (SigningKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTypeProxy a => HasTypeProxy (SigningKey a) 
Instance details

Defined in Cardano.Api.Keys.Class

Associated Types

data AsType (SigningKey a) #

SerialiseAsBech32 (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsBech32 (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsBech32 (SigningKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

bech32PrefixFor :: SigningKey DRepExtendedKey -> Text

bech32PrefixesPermitted :: AsType (SigningKey DRepExtendedKey) -> [Text]

SerialiseAsBech32 (SigningKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (SigningKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: SigningKey DRepExtendedKey -> ByteString #

deserialiseFromRawBytes :: AsType (SigningKey DRepExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey DRepExtendedKey) #

SerialiseAsRawBytes (SigningKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (SigningKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToCBOR (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey StakeExtendedKey -> Encoding

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

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

ToCBOR (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey StakeKey -> Encoding

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

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

ToCBOR (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey PaymentKey -> Encoding

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

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

ToCBOR (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: SigningKey ByronKey -> Encoding

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

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

ToCBOR (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: SigningKey VrfKey -> Encoding

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

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

ToCBOR (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisKey -> Encoding

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

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

ToCBOR (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisDelegateKey -> Encoding

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

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

ToCBOR (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey StakePoolKey -> Encoding

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

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

ToCBOR (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey PaymentExtendedKey -> Encoding

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

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

ToCBOR (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisUTxOKey -> Encoding

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

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

ToCBOR (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisExtendedKey -> Encoding

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

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

ToCBOR (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisDelegateExtendedKey -> Encoding

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

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

ToCBOR (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: SigningKey KesKey -> Encoding

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

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

ToCBOR (SigningKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey DRepKey -> Encoding

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

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

ToCBOR (SigningKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey DRepExtendedKey -> Encoding

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

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

ToCBOR (SigningKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey CommitteeColdKey -> Encoding

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

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

ToCBOR (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: SigningKey ByronKeyLegacy -> Encoding

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

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

ToCBOR (SigningKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey CommitteeHotKey -> Encoding

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

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

FromCBOR (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (SigningKey StakeKey)

label :: Proxy (SigningKey StakeKey) -> Text

FromCBOR (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (SigningKey PaymentKey)

label :: Proxy (SigningKey PaymentKey) -> Text

FromCBOR (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

fromCBOR :: Decoder s (SigningKey ByronKey)

label :: Proxy (SigningKey ByronKey) -> Text

FromCBOR (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (SigningKey VrfKey)

label :: Proxy (SigningKey VrfKey) -> Text

FromCBOR (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (SigningKey GenesisKey)

label :: Proxy (SigningKey GenesisKey) -> Text

FromCBOR (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (SigningKey KesKey)

label :: Proxy (SigningKey KesKey) -> Text

FromCBOR (SigningKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (SigningKey DRepKey)

label :: Proxy (SigningKey DRepKey) -> Text

FromCBOR (SigningKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (SigningKey DRepExtendedKey)

label :: Proxy (SigningKey DRepExtendedKey) -> Text

FromCBOR (SigningKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (SigningKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

HasTextEnvelope (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

HasTextEnvelope (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

HasTextEnvelope (SigningKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

HasTextEnvelope (SigningKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: SigningKey StakeKey -> ByteString #

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

SerialiseAsCBOR (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

serialiseToCBOR :: SigningKey ByronKey -> ByteString #

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

SerialiseAsCBOR (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

serialiseToCBOR :: SigningKey VrfKey -> ByteString #

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

SerialiseAsCBOR (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

serialiseToCBOR :: SigningKey KesKey -> ByteString #

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

SerialiseAsCBOR (SigningKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: SigningKey DRepKey -> ByteString #

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

SerialiseAsCBOR (SigningKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: SigningKey DRepExtendedKey -> ByteString #

deserialiseFromCBOR :: AsType (SigningKey DRepExtendedKey) -> ByteString -> Either DecoderError (SigningKey DRepExtendedKey) #

SerialiseAsCBOR (SigningKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (SigningKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey StakeKey = StakeSigningKey (SignKeyDSIGN StandardCrypto)
newtype SigningKey PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey PaymentKey = PaymentSigningKey (SignKeyDSIGN StandardCrypto)
newtype SigningKey ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype SigningKey ByronKey = ByronSigningKey SigningKey
newtype SigningKey VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype SigningKey VrfKey = VrfSigningKey (SignKeyVRF StandardCrypto)
newtype SigningKey GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey GenesisKey = GenesisSigningKey (SignKeyDSIGN StandardCrypto)
newtype SigningKey GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey GenesisDelegateKey = GenesisDelegateSigningKey (SignKeyDSIGN StandardCrypto)
newtype SigningKey StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey StakePoolKey = StakePoolSigningKey (SignKeyDSIGN StandardCrypto)
newtype SigningKey PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey GenesisUTxOKey = GenesisUTxOSigningKey (SignKeyDSIGN StandardCrypto)
newtype SigningKey GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype SigningKey KesKey = KesSigningKey (SignKeyKES StandardCrypto)
newtype SigningKey DRepKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey DRepKey = DRepSigningKey (SignKeyDSIGN StandardCrypto)
newtype SigningKey DRepExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey DRepExtendedKey = DRepExtendedSigningKey XPrv
newtype SigningKey CommitteeColdKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey CommitteeColdKey = CommitteeColdSigningKey (SignKeyDSIGN StandardCrypto)
newtype SigningKey ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype SigningKey CommitteeHotKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey CommitteeHotKey = CommitteeHotSigningKey (SignKeyDSIGN StandardCrypto)
data AsType (SigningKey a) 
Instance details

Defined in Cardano.Api.Keys.Class

Hashes

data family Hash keyrole #

Instances

Instances details
Eq (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Eq (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Eq (Hash DRepMetadata) 
Instance details

Defined in Cardano.Api.DRepMetadata

Eq (Hash StakePoolMetadata) 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Eq (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Eq (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Eq (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source #

(/=) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source #

Eq (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Eq (Hash CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Eq (Hash CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash GovernancePoll) 
Instance details

Defined in Cardano.Api.Governance.Poll

Ord (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Ord (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Ord (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Ord (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Ord (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

compare :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Ordering Source #

(<) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source #

(<=) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source #

(>) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source #

(>=) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source #

max :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Hash DRepExtendedKey Source #

min :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Hash DRepExtendedKey Source #

Ord (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Ord (Hash CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Ord (Hash CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GovernancePoll) 
Instance details

Defined in Cardano.Api.Governance.Poll

Show (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Show (Hash DRepMetadata) 
Instance details

Defined in Cardano.Api.DRepMetadata

Show (Hash StakePoolMetadata) 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Show (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> Hash DRepExtendedKey -> ShowS Source #

show :: Hash DRepExtendedKey -> String Source #

showList :: [Hash DRepExtendedKey] -> ShowS Source #

Show (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Show (Hash CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (Hash CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GovernancePoll) 
Instance details

Defined in Cardano.Api.Governance.Poll

IsString (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

IsString (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> Hash DRepExtendedKey Source #

IsString (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

IsString (Hash CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (Hash CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GovernancePoll) 
Instance details

Defined in Cardano.Api.Governance.Poll

FromJSON (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash PaymentKey)

parseJSONList :: Value -> Parser [Hash PaymentKey]

omittedField :: Maybe (Hash PaymentKey)

FromJSON (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Methods

parseJSON :: Value -> Parser (Hash BlockHeader)

parseJSONList :: Value -> Parser [Hash BlockHeader]

omittedField :: Maybe (Hash BlockHeader)

FromJSON (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash GenesisKey)

parseJSONList :: Value -> Parser [Hash GenesisKey]

omittedField :: Maybe (Hash GenesisKey)

FromJSON (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash StakePoolKey)

parseJSONList :: Value -> Parser [Hash StakePoolKey]

omittedField :: Maybe (Hash StakePoolKey)

FromJSON (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash DRepKey)

parseJSONList :: Value -> Parser [Hash DRepKey]

omittedField :: Maybe (Hash DRepKey)

FromJSON (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

parseJSON :: Value -> Parser (Hash ScriptData)

parseJSONList :: Value -> Parser [Hash ScriptData]

omittedField :: Maybe (Hash ScriptData)

HasTypeProxy a => HasTypeProxy (Hash a) 
Instance details

Defined in Cardano.Api.Hash

Associated Types

data AsType (Hash a) #

Methods

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

SerialiseAsBech32 (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (Hash CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (Hash CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

SerialiseAsRawBytes (Hash DRepMetadata) 
Instance details

Defined in Cardano.Api.DRepMetadata

SerialiseAsRawBytes (Hash StakePoolMetadata) 
Instance details

Defined in Cardano.Api.StakePoolMetadata

SerialiseAsRawBytes (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: Hash DRepExtendedKey -> ByteString #

deserialiseFromRawBytes :: AsType (Hash DRepExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash DRepExtendedKey) #

SerialiseAsRawBytes (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

SerialiseAsRawBytes (Hash CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (Hash CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GovernancePoll) 
Instance details

Defined in Cardano.Api.Governance.Poll

ToJSON (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash PaymentKey -> Value

toEncoding :: Hash PaymentKey -> Encoding

toJSONList :: [Hash PaymentKey] -> Value

toEncodingList :: [Hash PaymentKey] -> Encoding

omitField :: Hash PaymentKey -> Bool

ToJSON (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

ToJSON (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash GenesisKey -> Value

toEncoding :: Hash GenesisKey -> Encoding

toJSONList :: [Hash GenesisKey] -> Value

toEncodingList :: [Hash GenesisKey] -> Encoding

omitField :: Hash GenesisKey -> Bool

ToJSON (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToJSON (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash DRepKey -> Value

toEncoding :: Hash DRepKey -> Encoding

toJSONList :: [Hash DRepKey] -> Value

toEncodingList :: [Hash DRepKey] -> Encoding

omitField :: Hash DRepKey -> Bool

ToJSON (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toJSON :: Hash ScriptData -> Value

toEncoding :: Hash ScriptData -> Encoding

toJSONList :: [Hash ScriptData] -> Value

toEncodingList :: [Hash ScriptData] -> Encoding

omitField :: Hash ScriptData -> Bool

ToCBOR (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash StakeExtendedKey -> Encoding

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

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

ToCBOR (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash StakeKey -> Encoding

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

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

ToCBOR (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash PaymentKey -> Encoding

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

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

ToCBOR (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: Hash ByronKey -> Encoding

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

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

ToCBOR (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: Hash VrfKey -> Encoding

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

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

ToCBOR (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisKey -> Encoding

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

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

ToCBOR (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisDelegateKey -> Encoding

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

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

ToCBOR (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash StakePoolKey -> Encoding

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

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

ToCBOR (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash PaymentExtendedKey -> Encoding

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

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

ToCBOR (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisUTxOKey -> Encoding

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

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

ToCBOR (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisExtendedKey -> Encoding

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

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

ToCBOR (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisDelegateExtendedKey -> Encoding

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

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

ToCBOR (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: Hash KesKey -> Encoding

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

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

ToCBOR (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash DRepKey -> Encoding

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

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

ToCBOR (Hash DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash DRepExtendedKey -> Encoding

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

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

ToCBOR (Hash CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash CommitteeColdKey -> Encoding

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

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

ToCBOR (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: Hash ByronKeyLegacy -> Encoding

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

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

ToCBOR (Hash CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash CommitteeHotKey -> Encoding

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

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

FromCBOR (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash StakeExtendedKey)

label :: Proxy (Hash StakeExtendedKey) -> Text

FromCBOR (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash StakeKey)

label :: Proxy (Hash StakeKey) -> Text

FromCBOR (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash PaymentKey)

label :: Proxy (Hash PaymentKey) -> Text

FromCBOR (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

fromCBOR :: Decoder s (Hash ByronKey)

label :: Proxy (Hash ByronKey) -> Text

FromCBOR (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (Hash VrfKey)

label :: Proxy (Hash VrfKey) -> Text

FromCBOR (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash GenesisKey)

label :: Proxy (Hash GenesisKey) -> Text

FromCBOR (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash StakePoolKey)

label :: Proxy (Hash StakePoolKey) -> Text

FromCBOR (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash GenesisUTxOKey)

label :: Proxy (Hash GenesisUTxOKey) -> Text

FromCBOR (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (Hash KesKey)

label :: Proxy (Hash KesKey) -> Text

FromCBOR (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash DRepKey)

label :: Proxy (Hash DRepKey) -> Text

FromCBOR (Hash DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash DRepExtendedKey)

label :: Proxy (Hash DRepExtendedKey) -> Text

FromCBOR (Hash CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash CommitteeColdKey)

label :: Proxy (Hash CommitteeColdKey) -> Text

FromCBOR (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

fromCBOR :: Decoder s (Hash ByronKeyLegacy)

label :: Proxy (Hash ByronKeyLegacy) -> Text

FromCBOR (Hash CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash CommitteeHotKey)

label :: Proxy (Hash CommitteeHotKey) -> Text

SerialiseAsCBOR (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash StakeKey -> ByteString #

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

SerialiseAsCBOR (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash PaymentKey -> ByteString #

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

SerialiseAsCBOR (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

serialiseToCBOR :: Hash ByronKey -> ByteString #

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

SerialiseAsCBOR (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

serialiseToCBOR :: Hash VrfKey -> ByteString #

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

SerialiseAsCBOR (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash GenesisKey -> ByteString #

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

SerialiseAsCBOR (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash StakePoolKey -> ByteString #

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

SerialiseAsCBOR (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash GenesisUTxOKey -> ByteString #

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

SerialiseAsCBOR (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

serialiseToCBOR :: Hash KesKey -> ByteString #

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

SerialiseAsCBOR (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash DRepKey -> ByteString #

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

SerialiseAsCBOR (Hash DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash DRepExtendedKey -> ByteString #

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

SerialiseAsCBOR (Hash CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

serialiseToCBOR :: Hash ByronKeyLegacy -> ByteString #

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

SerialiseAsCBOR (Hash CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash CommitteeHotKey -> ByteString #

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

ToJSONKey (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash PaymentKey)

toJSONKeyList :: ToJSONKeyFunction [Hash PaymentKey]

ToJSONKey (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash GenesisKey)

toJSONKeyList :: ToJSONKeyFunction [Hash GenesisKey]

ToJSONKey (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash StakePoolKey)

toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolKey]

ToJSONKey (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash DRepKey)

toJSONKeyList :: ToJSONKeyFunction [Hash DRepKey]

ToJSONKey (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toJSONKey :: ToJSONKeyFunction (Hash ScriptData)

toJSONKeyList :: ToJSONKeyFunction [Hash ScriptData]

FromJSONKey (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

fromJSONKey :: FromJSONKeyFunction (Hash ScriptData)

fromJSONKeyList :: FromJSONKeyFunction [Hash ScriptData]

newtype Hash StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

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

Defined in Cardano.Api.Keys.Shelley

newtype Hash StakeKey = StakeKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash PaymentKey = PaymentKeyHash (KeyHash 'Payment StandardCrypto)
newtype Hash ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype Hash ByronKey = ByronKeyHash KeyHash
newtype Hash BlockHeader 
Instance details

Defined in Cardano.Api.Block

newtype Hash BlockHeader = HeaderHash ShortByteString
newtype Hash DRepMetadata 
Instance details

Defined in Cardano.Api.DRepMetadata

newtype Hash DRepMetadata = DRepMetadataHash (Hash StandardCrypto ByteString)
newtype Hash StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

newtype Hash StakePoolMetadata = StakePoolMetadataHash (Hash StandardCrypto ByteString)
newtype Hash VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype Hash VrfKey = VrfKeyHash (Hash StandardCrypto (VerKeyVRF StandardCrypto))
newtype Hash GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisKey = GenesisKeyHash (KeyHash 'Genesis StandardCrypto)
newtype Hash GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisDelegateKey = GenesisDelegateKeyHash (KeyHash 'GenesisDelegate StandardCrypto)
newtype Hash StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash StakePoolKey = StakePoolKeyHash {}
newtype Hash PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash PaymentExtendedKey = PaymentExtendedKeyHash (KeyHash 'Payment StandardCrypto)
newtype Hash GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisUTxOKey = GenesisUTxOKeyHash (KeyHash 'Payment StandardCrypto)
newtype Hash GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisExtendedKey = GenesisExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisDelegateExtendedKey = GenesisDelegateExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype Hash KesKey = KesKeyHash (Hash StandardCrypto (VerKeyKES StandardCrypto))
newtype Hash DRepKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash DRepKey = DRepKeyHash {}
newtype Hash DRepExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash DRepExtendedKey = DRepExtendedKeyHash {}
newtype Hash ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

newtype Hash ScriptData = ScriptDataHash (DataHash StandardCrypto)
newtype Hash CommitteeColdKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash CommitteeColdKey = CommitteeColdKeyHash (KeyHash 'ColdCommitteeRole StandardCrypto)
newtype Hash ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype Hash CommitteeHotKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash CommitteeHotKey = CommitteeHotKeyHash (KeyHash 'HotCommitteeRole StandardCrypto)
newtype Hash GovernancePoll 
Instance details

Defined in Cardano.Api.Governance.Poll

data AsType (Hash a) 
Instance details

Defined in Cardano.Api.Hash

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

Type Proxies

data family AsType t #

Instances

Instances details
data AsType AddressAny 
Instance details

Defined in Cardano.Api.Address

data AsType ByronAddr 
Instance details

Defined in Cardano.Api.Address

data AsType ShelleyAddr 
Instance details

Defined in Cardano.Api.Address

data AsType StakeAddress 
Instance details

Defined in Cardano.Api.Address

data AsType StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType ScriptHash 
Instance details

Defined in Cardano.Api.Script

data AsType ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

data AsType BlockHeader 
Instance details

Defined in Cardano.Api.Block

data AsType ByronEra 
Instance details

Defined in Cardano.Api.Eras.Core

data AsType ShelleyEra 
Instance details

Defined in Cardano.Api.Eras.Core

data AsType AllegraEra 
Instance details

Defined in Cardano.Api.Eras.Core

data AsType MaryEra 
Instance details

Defined in Cardano.Api.Eras.Core

data AsType AlonzoEra 
Instance details

Defined in Cardano.Api.Eras.Core

data AsType BabbageEra 
Instance details

Defined in Cardano.Api.Eras.Core

data AsType ConwayEra 
Instance details

Defined in Cardano.Api.Eras.Core

data AsType DRepMetadata 
Instance details

Defined in Cardano.Api.DRepMetadata

data AsType StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

data AsType VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

data AsType GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType TxId 
Instance details

Defined in Cardano.Api.TxIn

data AsType TextEnvelope 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

data AsType PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

data AsType DRepKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType DRepExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType DRepExtendedKey = AsDRepExtendedKey
data AsType PolicyId 
Instance details

Defined in Cardano.Api.Value

data AsType ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

data AsType CommitteeColdKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

data AsType CommitteeHotKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

data AsType OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

data AsType PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType UpdateProposal 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType PlutusScriptV3 
Instance details

Defined in Cardano.Api.Script

data AsType PlutusScriptV2 
Instance details

Defined in Cardano.Api.Script

data AsType PlutusScriptV1 
Instance details

Defined in Cardano.Api.Script

data AsType ScriptInAnyLang 
Instance details

Defined in Cardano.Api.Script

data AsType SimpleScript' 
Instance details

Defined in Cardano.Api.Script

data AsType HashableScriptData 
Instance details

Defined in Cardano.Api.ScriptData

data AsType TxMetadata 
Instance details

Defined in Cardano.Api.TxMetadata

data AsType AssetName 
Instance details

Defined in Cardano.Api.Value

data AsType ByronUpdateProposal 
Instance details

Defined in Cardano.Api.SpecialByron

data AsType ByronVote 
Instance details

Defined in Cardano.Api.SpecialByron

data AsType GovernancePoll 
Instance details

Defined in Cardano.Api.Governance.Poll

data AsType GovernancePollAnswer 
Instance details

Defined in Cardano.Api.Governance.Poll

data AsType (Address addrtype) 
Instance details

Defined in Cardano.Api.Address

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

Defined in Cardano.Api.Address

data AsType (Hash a) 
Instance details

Defined in Cardano.Api.Hash

data AsType (Hash a) = AsHash (AsType a)
data AsType (VerificationKey a) 
Instance details

Defined in Cardano.Api.Keys.Class

data AsType (Tx era) 
Instance details

Defined in Cardano.Api.Tx

data AsType (Tx era) = AsTx (AsType era)
data AsType (Certificate era) 
Instance details

Defined in Cardano.Api.Certificate

data AsType (KeyWitness era) 
Instance details

Defined in Cardano.Api.Tx

data AsType (TxBody era) 
Instance details

Defined in Cardano.Api.TxBody

data AsType (TxBody era) = AsTxBody (AsType era)
data AsType (Proposal era) 
Instance details

Defined in Cardano.Api.Governance.Actions.ProposalProcedure

data AsType (SigningKey a) 
Instance details

Defined in Cardano.Api.Keys.Class

data AsType (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

data AsType (Script lang) 
Instance details

Defined in Cardano.Api.Script

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

Defined in Cardano.Api.Script

data AsType (VotingProcedures era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

data AsType (VotingProcedure era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Payment addresses

Constructing and inspecting Shelley payment addresses

data Address addrtype where #

Constructors

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

Instances

Instances details
Eq (Address addrtype) 
Instance details

Defined in Cardano.Api.Address

Methods

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

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

Ord (Address addrtype) 
Instance details

Defined in Cardano.Api.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 #

Show (Address addrtype) 
Instance details

Defined in Cardano.Api.Address

Methods

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

show :: Address addrtype -> String Source #

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

NFData (Address addrtype) 
Instance details

Defined in Cardano.Api.Address

Methods

rnf :: Address addrtype -> () Source #

SerialiseAddress (Address ByronAddr) 
Instance details

Defined in Cardano.Api.Address

SerialiseAddress (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

FromJSON (Address ByronAddr) 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON :: Value -> Parser (Address ByronAddr)

parseJSONList :: Value -> Parser [Address ByronAddr]

omittedField :: Maybe (Address ByronAddr)

FromJSON (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

HasTypeProxy addrtype => HasTypeProxy (Address addrtype) 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType (Address addrtype) #

Methods

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

SerialiseAsBech32 (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

SerialiseAsRawBytes (Address ByronAddr) 
Instance details

Defined in Cardano.Api.Address

SerialiseAsRawBytes (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

ToJSON (Address ByronAddr) 
Instance details

Defined in Cardano.Api.Address

ToJSON (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

data AsType (Address addrtype) 
Instance details

Defined in Cardano.Api.Address

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

toShelleyAddr :: AddressInEra era -> Addr StandardCrypto #

fromShelleyAddr :: ShelleyBasedEra era -> Addr StandardCrypto -> AddressInEra era #

fromShelleyAddrIsSbe :: ShelleyBasedEra era -> Addr StandardCrypto -> AddressInEra era #

fromShelleyAddrToAny :: Addr StandardCrypto -> AddressAny #

toShelleyStakeCredential :: StakeCredential -> StakeCredential StandardCrypto #

fromShelleyStakeCredential :: StakeCredential StandardCrypto -> StakeCredential #

data NetworkId #

Constructors

Mainnet 
Testnet !NetworkMagic 

Instances

Instances details
Eq NetworkId 
Instance details

Defined in Cardano.Api.NetworkId

Show NetworkId 
Instance details

Defined in Cardano.Api.NetworkId

Stake addresses

data StakeAddress where #

Constructors

StakeAddress :: Network -> StakeCredential StandardCrypto -> StakeAddress 

Instances

Instances details
Eq StakeAddress 
Instance details

Defined in Cardano.Api.Address

Ord StakeAddress 
Instance details

Defined in Cardano.Api.Address

Show StakeAddress 
Instance details

Defined in Cardano.Api.Address

SerialiseAddress StakeAddress 
Instance details

Defined in Cardano.Api.Address

FromJSON StakeAddress 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON :: Value -> Parser StakeAddress

parseJSONList :: Value -> Parser [StakeAddress]

omittedField :: Maybe StakeAddress

HasTypeProxy StakeAddress 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType StakeAddress #

SerialiseAsBech32 StakeAddress 
Instance details

Defined in Cardano.Api.Address

SerialiseAsRawBytes StakeAddress 
Instance details

Defined in Cardano.Api.Address

ToJSON StakeAddress 
Instance details

Defined in Cardano.Api.Address

Methods

toJSON :: StakeAddress -> Value

toEncoding :: StakeAddress -> Encoding

toJSONList :: [StakeAddress] -> Value

toEncodingList :: [StakeAddress] -> Encoding

omitField :: StakeAddress -> Bool

data AsType StakeAddress 
Instance details

Defined in Cardano.Api.Address

toShelleyStakeAddr :: StakeAddress -> RewardAcnt StandardCrypto #

fromShelleyStakeAddr :: RewardAcnt StandardCrypto -> StakeAddress #

fromShelleyStakeReference :: StakeReference StandardCrypto -> StakeAddressReference #

fromShelleyPaymentCredential :: PaymentCredential StandardCrypto -> PaymentCredential #

Building transactions

Constructing and inspecting transactions

data TxBody era where #

Constructors

ShelleyTxBody :: forall era. ShelleyBasedEra era -> TxBody (ShelleyLedgerEra era) -> [Script (ShelleyLedgerEra era)] -> TxBodyScriptData era -> Maybe (TxAuxData (ShelleyLedgerEra era)) -> TxScriptValidity era -> TxBody era 

Instances

Instances details
Eq (TxBody era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

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

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

Show (TxBody era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

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

show :: TxBody era -> String Source #

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

HasTypeProxy era => HasTypeProxy (TxBody era) 
Instance details

Defined in Cardano.Api.TxBody

Associated Types

data AsType (TxBody era) #

Methods

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

IsShelleyBasedEra era => HasTextEnvelope (TxBody era) 
Instance details

Defined in Cardano.Api.TxBody

IsShelleyBasedEra era => SerialiseAsCBOR (TxBody era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

serialiseToCBOR :: TxBody era -> ByteString #

deserialiseFromCBOR :: AsType (TxBody era) -> ByteString -> Either DecoderError (TxBody era) #

data AsType (TxBody era) 
Instance details

Defined in Cardano.Api.TxBody

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

newtype TxId #

Constructors

TxId (Hash StandardCrypto EraIndependentTxBody) 

Instances

Instances details
Eq TxId 
Instance details

Defined in Cardano.Api.TxIn

Methods

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

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

Ord TxId 
Instance details

Defined in Cardano.Api.TxIn

Show TxId 
Instance details

Defined in Cardano.Api.TxIn

IsString TxId 
Instance details

Defined in Cardano.Api.TxIn

FromJSON TxId 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON :: Value -> Parser TxId

parseJSONList :: Value -> Parser [TxId]

omittedField :: Maybe TxId

HasTypeProxy TxId 
Instance details

Defined in Cardano.Api.TxIn

Associated Types

data AsType TxId #

SerialiseAsRawBytes TxId 
Instance details

Defined in Cardano.Api.TxIn

ToJSON TxId 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSON :: TxId -> Value

toEncoding :: TxId -> Encoding

toJSONList :: [TxId] -> Value

toEncodingList :: [TxId] -> Encoding

omitField :: TxId -> Bool

ToJSONKey TxId 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSONKey :: ToJSONKeyFunction TxId

toJSONKeyList :: ToJSONKeyFunction [TxId]

FromJSONKey TxId 
Instance details

Defined in Cardano.Api.TxIn

Methods

fromJSONKey :: FromJSONKeyFunction TxId

fromJSONKeyList :: FromJSONKeyFunction [TxId]

data AsType TxId 
Instance details

Defined in Cardano.Api.TxIn

toShelleyTxId :: TxId -> TxId StandardCrypto #

fromShelleyTxId :: TxId StandardCrypto -> TxId #

getTxIdShelley :: (EraCrypto (ShelleyLedgerEra era) ~ StandardCrypto, EraTxBody (ShelleyLedgerEra era)) => ShelleyBasedEra era -> TxBody (ShelleyLedgerEra era) -> TxId #

data TxIn #

Constructors

TxIn TxId TxIx 

Instances

Instances details
Eq TxIn 
Instance details

Defined in Cardano.Api.TxIn

Methods

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

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

Ord TxIn 
Instance details

Defined in Cardano.Api.TxIn

Show TxIn 
Instance details

Defined in Cardano.Api.TxIn

FromJSON TxIn 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON :: Value -> Parser TxIn

parseJSONList :: Value -> Parser [TxIn]

omittedField :: Maybe TxIn

ToJSON TxIn 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSON :: TxIn -> Value

toEncoding :: TxIn -> Encoding

toJSONList :: [TxIn] -> Value

toEncodingList :: [TxIn] -> Encoding

omitField :: TxIn -> Bool

ToJSONKey TxIn 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSONKey :: ToJSONKeyFunction TxIn

toJSONKeyList :: ToJSONKeyFunction [TxIn]

FromJSONKey TxIn 
Instance details

Defined in Cardano.Api.TxIn

Methods

fromJSONKey :: FromJSONKeyFunction TxIn

fromJSONKeyList :: FromJSONKeyFunction [TxIn]

Pretty TxIn 
Instance details

Defined in Cardano.Api.TxIn

Methods

pretty :: TxIn -> Doc ann

prettyList :: [TxIn] -> Doc ann

toShelleyTxIn :: TxIn -> TxIn StandardCrypto #

fromShelleyTxIn :: TxIn StandardCrypto -> TxIn #

data TxOut ctx era #

Constructors

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

Instances

Instances details
Eq (TxOut ctx era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

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

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

Show (TxOut ctx era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

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

show :: TxOut ctx era -> String Source #

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

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

Defined in Cardano.Api.TxBody

Methods

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

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

omittedField :: Maybe (TxOut CtxUTxO era)

IsShelleyBasedEra era => FromJSON (TxOut CtxTx era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

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

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

omittedField :: Maybe (TxOut CtxTx era)

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

Defined in Cardano.Api.TxBody

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

toShelleyTxOut :: ShelleyLedgerEra era ~ ledgerera => ShelleyBasedEra era -> TxOut CtxUTxO era -> TxOut ledgerera #

fromShelleyTxOut :: ShelleyBasedEra era -> TxOut (ShelleyLedgerEra era) -> TxOut ctx era #

newtype TxIx #

Constructors

TxIx Word 

Instances

Instances details
Enum TxIx 
Instance details

Defined in Cardano.Api.TxIn

Eq TxIx 
Instance details

Defined in Cardano.Api.TxIn

Methods

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

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

Ord TxIx 
Instance details

Defined in Cardano.Api.TxIn

Show TxIx 
Instance details

Defined in Cardano.Api.TxIn

FromJSON TxIx 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON :: Value -> Parser TxIx

parseJSONList :: Value -> Parser [TxIx]

omittedField :: Maybe TxIx

ToJSON TxIx 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSON :: TxIx -> Value

toEncoding :: TxIx -> Encoding

toJSONList :: [TxIx] -> Value

toEncodingList :: [TxIx] -> Encoding

omitField :: TxIx -> Bool

newtype Lovelace #

Constructors

Lovelace Integer 

Instances

Instances details
Enum Lovelace 
Instance details

Defined in Cardano.Api.Value

Eq Lovelace 
Instance details

Defined in Cardano.Api.Value

Integral Lovelace 
Instance details

Defined in Cardano.Api.Value

Num Lovelace 
Instance details

Defined in Cardano.Api.Value

Ord Lovelace 
Instance details

Defined in Cardano.Api.Value

Real Lovelace 
Instance details

Defined in Cardano.Api.Value

Show Lovelace 
Instance details

Defined in Cardano.Api.Value

Semigroup Lovelace 
Instance details

Defined in Cardano.Api.Value

Monoid Lovelace 
Instance details

Defined in Cardano.Api.Value

FromJSON Lovelace 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser Lovelace

parseJSONList :: Value -> Parser [Lovelace]

omittedField :: Maybe Lovelace

ToJSON Lovelace 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: Lovelace -> Value

toEncoding :: Lovelace -> Encoding

toJSONList :: [Lovelace] -> Value

toEncodingList :: [Lovelace] -> Encoding

omitField :: Lovelace -> Bool

ToCBOR Lovelace 
Instance details

Defined in Cardano.Api.Value

Methods

toCBOR :: Lovelace -> Encoding

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

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

FromCBOR Lovelace 
Instance details

Defined in Cardano.Api.Value

Methods

fromCBOR :: Decoder s Lovelace

label :: Proxy Lovelace -> Text

toMaryValue :: Value -> MaryValue StandardCrypto #

fromMaryValue :: MaryValue StandardCrypto -> Value #

Arbitrary signing

signArbitraryBytesKes :: SigningKey KesKey -> Period -> ByteString -> SignedKES (KES StandardCrypto) ByteString #

Signing transactions

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

data Tx era where #

Constructors

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

Instances

Instances details
Eq (Tx era) 
Instance details

Defined in Cardano.Api.Tx

Methods

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

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

Eq (InAnyShelleyBasedEra Tx) 
Instance details

Defined in Cardano.Api.Tx

Eq (InAnyCardanoEra Tx) 
Instance details

Defined in Cardano.Api.Tx

Show (Tx era) 
Instance details

Defined in Cardano.Api.Tx

Methods

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

show :: Tx era -> String Source #

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

Show (InAnyShelleyBasedEra Tx) 
Instance details

Defined in Cardano.Api.Tx

Show (InAnyCardanoEra Tx) 
Instance details

Defined in Cardano.Api.Tx

HasTypeProxy era => HasTypeProxy (Tx era) 
Instance details

Defined in Cardano.Api.Tx

Associated Types

data AsType (Tx era) #

Methods

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

IsShelleyBasedEra era => HasTextEnvelope (Tx era) 
Instance details

Defined in Cardano.Api.Tx

IsShelleyBasedEra era => SerialiseAsCBOR (Tx era) 
Instance details

Defined in Cardano.Api.Tx

Methods

serialiseToCBOR :: Tx era -> ByteString #

deserialiseFromCBOR :: AsType (Tx era) -> ByteString -> Either DecoderError (Tx era) #

data AsType (Tx era) 
Instance details

Defined in Cardano.Api.Tx

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

Incremental signing and separate witnesses

data KeyWitness era where #

Constructors

ShelleyBootstrapWitness :: forall era. ShelleyBasedEra era -> BootstrapWitness StandardCrypto -> KeyWitness era 
ShelleyKeyWitness :: forall era. ShelleyBasedEra era -> WitVKey 'Witness StandardCrypto -> KeyWitness era 

Instances

Instances details
Eq (KeyWitness era) 
Instance details

Defined in Cardano.Api.Tx

Methods

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

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

Show (KeyWitness era) 
Instance details

Defined in Cardano.Api.Tx

HasTypeProxy era => HasTypeProxy (KeyWitness era) 
Instance details

Defined in Cardano.Api.Tx

Associated Types

data AsType (KeyWitness era) #

Methods

proxyToAsType :: Proxy (KeyWitness era) -> AsType (KeyWitness era) #

IsCardanoEra era => HasTextEnvelope (KeyWitness era) 
Instance details

Defined in Cardano.Api.Tx

IsCardanoEra era => SerialiseAsCBOR (KeyWitness era) 
Instance details

Defined in Cardano.Api.Tx

Methods

serialiseToCBOR :: KeyWitness era -> ByteString #

deserialiseFromCBOR :: AsType (KeyWitness era) -> ByteString -> Either DecoderError (KeyWitness era) #

data AsType (KeyWitness era) 
Instance details

Defined in Cardano.Api.Tx

data ShelleySigningKey #

Constructors

ShelleyNormalSigningKey (SignKeyDSIGN StandardCrypto) 
ShelleyExtendedSigningKey XPrv 

getShelleyKeyWitnessVerificationKey :: ShelleySigningKey -> VKey 'Witness StandardCrypto #

getTxBodyAndWitnesses :: Tx era -> (TxBody era, [KeyWitness era]) #

makeShelleySignature :: SignableRepresentation tosign => tosign -> ShelleySigningKey -> SignedDSIGN StandardCrypto tosign #

Blocks

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

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

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

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

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

Transaction metadata

Embedding additional structured data within transactions.

Protocol parameters

data EraBasedProtocolParametersUpdate era where #

data CommonProtocolParametersUpdate #

Constructors

CommonProtocolParametersUpdate 

Fields

data AlonzoOnwardsPParams ledgerera #

Constructors

AlonzoOnwardsPParams 

Fields

Instances

Instances details
Show (AlonzoOnwardsPParams ledgerera) 
Instance details

Defined in Cardano.Api.ProtocolParameters

newtype DeprecatedAfterBabbagePParams ledgerera #

Constructors

DeprecatedAfterBabbagePParams (StrictMaybe ProtVer) 

Instances

Instances details
Show (DeprecatedAfterBabbagePParams ledgerera) 
Instance details

Defined in Cardano.Api.ProtocolParameters

newtype DeprecatedAfterMaryPParams ledgerera #

Constructors

DeprecatedAfterMaryPParams (StrictMaybe Coin) 

Instances

Instances details
Show (DeprecatedAfterMaryPParams ledgerera) 
Instance details

Defined in Cardano.Api.ProtocolParameters

data ShelleyToAlonzoPParams ledgerera #

Constructors

ShelleyToAlonzoPParams (StrictMaybe Nonce) (StrictMaybe UnitInterval) 

Instances

Instances details
Show (ShelleyToAlonzoPParams ledgerera) 
Instance details

Defined in Cardano.Api.ProtocolParameters

newtype IntroducedInBabbagePParams era #

Constructors

IntroducedInBabbagePParams (StrictMaybe CoinPerByte) 

data IntroducedInConwayPParams era #

Constructors

IntroducedInConwayPParams 

Fields

data ProtocolParameters #

Instances

Instances details
Eq ProtocolParameters 
Instance details

Defined in Cardano.Api.ProtocolParameters

Show ProtocolParameters 
Instance details

Defined in Cardano.Api.ProtocolParameters

Generic ProtocolParameters 
Instance details

Defined in Cardano.Api.ProtocolParameters

Associated Types

type Rep ProtocolParameters :: Type -> Type Source #

FromJSON ProtocolParameters 
Instance details

Defined in Cardano.Api.ProtocolParameters

ToJSON ProtocolParameters 
Instance details

Defined in Cardano.Api.ProtocolParameters

type Rep ProtocolParameters 
Instance details

Defined in Cardano.Api.ProtocolParameters

type Rep ProtocolParameters = D1 ('MetaData "ProtocolParameters" "Cardano.Api.ProtocolParameters" "cardano-api-8.36.1.1-1nzPjfRAlyMHXWNqpMkUqi-internal" '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 Lovelace) :*: (S1 ('MetaSel ('Just "protocolParamTxFeePerByte") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace) :*: S1 ('MetaSel ('Just "protocolParamMinUTxOValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelace)))) :*: (S1 ('MetaSel ('Just "protocolParamStakeAddressDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace) :*: (S1 ('MetaSel ('Just "protocolParamStakePoolDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace) :*: S1 ('MetaSel ('Just "protocolParamMinPoolCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace))))) :*: (((S1 ('MetaSel ('Just "protocolParamPoolRetireMaxEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EpochNo) :*: (S1 ('MetaSel ('Just "protocolParamStakePoolTargetNum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: 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 Lovelace))))))))

Scripts

toShelleyMultiSig :: (Era era, EraCrypto era ~ StandardCrypto) => SimpleScript -> Either MultiSigError (MultiSig era) #

fromShelleyMultiSig :: (Era era, EraCrypto era ~ StandardCrypto) => MultiSig era -> SimpleScript #

toAllegraTimelock :: (Era era, EraCrypto era ~ StandardCrypto) => SimpleScript -> Timelock era #

fromAllegraTimelock :: (Era era, EraCrypto era ~ StandardCrypto) => Timelock era -> SimpleScript #

toShelleyScriptHash :: ScriptHash -> ScriptHash StandardCrypto #

fromShelleyScriptHash :: ScriptHash StandardCrypto -> ScriptHash #

data PlutusScript lang where #

Constructors

PlutusScriptSerialised :: forall lang. ShortByteString -> PlutusScript lang 

Instances

Instances details
Eq (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

Methods

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

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

Ord (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

Show (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

HasTypeProxy lang => HasTypeProxy (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType (PlutusScript lang) #

HasTypeProxy lang => SerialiseAsRawBytes (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

HasTypeProxy lang => ToCBOR (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

Methods

toCBOR :: PlutusScript lang -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (PlutusScript lang) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PlutusScript lang] -> Size

HasTypeProxy lang => FromCBOR (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

Methods

fromCBOR :: Decoder s (PlutusScript lang)

label :: Proxy (PlutusScript lang) -> Text

IsPlutusScriptLanguage lang => HasTextEnvelope (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

HasTypeProxy lang => SerialiseAsCBOR (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

Methods

serialiseToCBOR :: PlutusScript lang -> ByteString #

deserialiseFromCBOR :: AsType (PlutusScript lang) -> ByteString -> Either DecoderError (PlutusScript lang) #

data AsType (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

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

fromAlonzoData :: Data ledgerera -> HashableScriptData #

Reference Scripts

data ReferenceScript era where #

Constructors

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

Instances

Instances details
Eq (ReferenceScript era) 
Instance details

Defined in Cardano.Api.Script

Show (ReferenceScript era) 
Instance details

Defined in Cardano.Api.Script

IsCardanoEra era => FromJSON (ReferenceScript era) 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON :: Value -> Parser (ReferenceScript era)

parseJSONList :: Value -> Parser [ReferenceScript era]

omittedField :: Maybe (ReferenceScript era)

IsCardanoEra era => ToJSON (ReferenceScript era) 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: ReferenceScript era -> Value

toEncoding :: ReferenceScript era -> Encoding

toJSONList :: [ReferenceScript era] -> Value

toEncodingList :: [ReferenceScript era] -> Encoding

omitField :: ReferenceScript era -> Bool

refScriptToShelleyScript :: ShelleyBasedEra era -> ReferenceScript era -> StrictMaybe (Script (ShelleyLedgerEra era)) #

Certificates

data Certificate era where #

Constructors

ShelleyRelatedCertificate :: forall era. ShelleyToBabbageEra era -> ShelleyTxCert (ShelleyLedgerEra era) -> Certificate era 
ConwayCertificate :: forall era. ConwayEraOnwards era -> ConwayTxCert (ShelleyLedgerEra era) -> Certificate era 

Instances

Instances details
Eq (Certificate era) 
Instance details

Defined in Cardano.Api.Certificate

Methods

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

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

Show (Certificate era) 
Instance details

Defined in Cardano.Api.Certificate

Typeable era => HasTypeProxy (Certificate era) 
Instance details

Defined in Cardano.Api.Certificate

Associated Types

data AsType (Certificate era) #

IsShelleyBasedEra era => ToCBOR (Certificate era) 
Instance details

Defined in Cardano.Api.Certificate

Methods

toCBOR :: Certificate era -> Encoding

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

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

IsShelleyBasedEra era => FromCBOR (Certificate era) 
Instance details

Defined in Cardano.Api.Certificate

Methods

fromCBOR :: Decoder s (Certificate era)

label :: Proxy (Certificate era) -> Text

IsShelleyBasedEra era => HasTextEnvelope (Certificate era) 
Instance details

Defined in Cardano.Api.Certificate

IsShelleyBasedEra era => SerialiseAsCBOR (Certificate era) 
Instance details

Defined in Cardano.Api.Certificate

Methods

serialiseToCBOR :: Certificate era -> ByteString #

deserialiseFromCBOR :: AsType (Certificate era) -> ByteString -> Either DecoderError (Certificate era) #

data AsType (Certificate era) 
Instance details

Defined in Cardano.Api.Certificate

toShelleyPoolParams :: StakePoolParameters -> PoolParams StandardCrypto #

Operational certificates

data OperationalCertificate #

Constructors

OperationalCertificate !(OCert StandardCrypto) !(VerificationKey StakePoolKey) 

Instances

Instances details
Eq OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

Show OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

HasTypeProxy OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

Associated Types

data AsType OperationalCertificate #

ToCBOR OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

Methods

toCBOR :: OperationalCertificate -> Encoding

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

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

FromCBOR OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

HasTextEnvelope OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

SerialiseAsCBOR OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

data AsType OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

data OperationalCertificateIssueCounter #

Instances

Instances details
Eq OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

Show OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

HasTypeProxy OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

ToCBOR OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

FromCBOR OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

HasTextEnvelope OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

SerialiseAsCBOR OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

data AsType OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

Stake Pool

data StakePoolMetadata #

Constructors

StakePoolMetadata !Text !Text !Text !Text 

Instances

Instances details
Eq StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Show StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

FromJSON StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

HasTypeProxy StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Associated Types

data AsType StakePoolMetadata #

Eq (Hash StakePoolMetadata) 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Show (Hash StakePoolMetadata) 
Instance details

Defined in Cardano.Api.StakePoolMetadata

SerialiseAsRawBytes (Hash StakePoolMetadata) 
Instance details

Defined in Cardano.Api.StakePoolMetadata

data AsType StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

newtype Hash StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

newtype Hash StakePoolMetadata = StakePoolMetadataHash (Hash StandardCrypto ByteString)

data StakePoolRelay #

Constructors

StakePoolRelayIp (Maybe IPv4) (Maybe IPv6) (Maybe PortNumber) 
StakePoolRelayDnsARecord ByteString (Maybe PortNumber) 
StakePoolRelayDnsSrvRecord ByteString 

newtype EpochNo #

Constructors

EpochNo 

Fields

Instances

Instances details
Enum EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Eq EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Num EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Ord EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Show EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Generic EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Associated Types

type Rep EpochNo :: Type -> Type Source #

NFData EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

rnf :: EpochNo -> () Source #

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

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

DecCBOR EpochNo 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

Methods

decCBOR :: Decoder s EpochNo

dropCBOR :: Proxy EpochNo -> Decoder s ()

label :: Proxy EpochNo -> Text

ToCBOR EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toCBOR :: EpochNo -> Encoding

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

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

FromCBOR EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

fromCBOR :: Decoder s EpochNo

label :: Proxy EpochNo -> Text

Serialise EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

encode :: EpochNo -> Encoding

decode :: Decoder s EpochNo

encodeList :: [EpochNo] -> Encoding

decodeList :: Decoder s [EpochNo]

type Rep EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

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

Governance Actions

createAnchor :: Url -> ByteString -> Anchor StandardCrypto #

createPreviousGovernanceActionId :: forall (r :: GovActionPurpose). TxId -> Word32 -> PrevGovActionId r StandardCrypto #

createGovernanceActionId :: TxId -> Word32 -> GovActionId StandardCrypto #

DRep

newtype DRepMetadata #

Constructors

DRepMetadata ByteString 

Instances

Instances details
Eq DRepMetadata 
Instance details

Defined in Cardano.Api.DRepMetadata

Show DRepMetadata 
Instance details

Defined in Cardano.Api.DRepMetadata

HasTypeProxy DRepMetadata 
Instance details

Defined in Cardano.Api.DRepMetadata

Associated Types

data AsType DRepMetadata #

Eq (Hash DRepMetadata) 
Instance details

Defined in Cardano.Api.DRepMetadata

Show (Hash DRepMetadata) 
Instance details

Defined in Cardano.Api.DRepMetadata

SerialiseAsRawBytes (Hash DRepMetadata) 
Instance details

Defined in Cardano.Api.DRepMetadata

data AsType DRepMetadata 
Instance details

Defined in Cardano.Api.DRepMetadata

newtype Hash DRepMetadata 
Instance details

Defined in Cardano.Api.DRepMetadata

newtype Hash DRepMetadata = DRepMetadataHash (Hash StandardCrypto ByteString)

Stake pool operator's keys

data StakePoolKey #

Instances

Instances details
HasTypeProxy StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType StakePoolKey #

Key StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastVerificationKeyRole GenesisDelegateKey StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastVerificationKeyRole StakePoolKey StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastSigningKeyRole GenesisDelegateKey StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromJSON (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash StakePoolKey)

parseJSONList :: Value -> Parser [Hash StakePoolKey]

omittedField :: Maybe (Hash StakePoolKey)

SerialiseAsBech32 (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToJSON (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToCBOR (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash StakePoolKey -> Encoding

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

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

ToCBOR (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey StakePoolKey -> Encoding

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

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

ToCBOR (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey StakePoolKey -> Encoding

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

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

FromCBOR (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash StakePoolKey)

label :: Proxy (Hash StakePoolKey) -> Text

FromCBOR (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash StakePoolKey -> ByteString #

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

SerialiseAsCBOR (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToJSONKey (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash StakePoolKey)

toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolKey]

data AsType StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash StakePoolKey = StakePoolKeyHash {}
newtype VerificationKey StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey StakePoolKey = StakePoolVerificationKey (VKey 'StakePool StandardCrypto)
newtype SigningKey StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey StakePoolKey = StakePoolSigningKey (SignKeyDSIGN StandardCrypto)

KES keys

data KesKey #

Instances

Instances details
HasTypeProxy KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

Associated Types

data AsType KesKey #

Key KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

Associated Types

data VerificationKey KesKey #

data SigningKey KesKey #

Eq (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Eq (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Ord (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsBech32 (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsBech32 (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

ToCBOR (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: Hash KesKey -> Encoding

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

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

ToCBOR (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: VerificationKey KesKey -> Encoding

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

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

ToCBOR (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: SigningKey KesKey -> Encoding

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

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

FromCBOR (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (Hash KesKey)

label :: Proxy (Hash KesKey) -> Text

FromCBOR (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (VerificationKey KesKey)

label :: Proxy (VerificationKey KesKey) -> Text

FromCBOR (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (SigningKey KesKey)

label :: Proxy (SigningKey KesKey) -> Text

HasTextEnvelope (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

HasTextEnvelope (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

serialiseToCBOR :: Hash KesKey -> ByteString #

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

SerialiseAsCBOR (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

serialiseToCBOR :: SigningKey KesKey -> ByteString #

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

data AsType KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype Hash KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype Hash KesKey = KesKeyHash (Hash StandardCrypto (VerKeyKES StandardCrypto))
newtype VerificationKey KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype VerificationKey KesKey = KesVerificationKey (VerKeyKES StandardCrypto)
newtype SigningKey KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype SigningKey KesKey = KesSigningKey (SignKeyKES StandardCrypto)

newtype KESPeriod #

Constructors

KESPeriod 

Fields

Instances

Instances details
Eq KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Ord KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Show KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Generic KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Associated Types

type Rep KESPeriod :: Type -> Type Source #

EncCBOR KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

encCBOR :: KESPeriod -> Encoding

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

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

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

DecCBOR KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

decCBOR :: Decoder s KESPeriod

dropCBOR :: Proxy KESPeriod -> Decoder s ()

label :: Proxy KESPeriod -> Text

ToCBOR KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

toCBOR :: KESPeriod -> Encoding

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

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

FromCBOR KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

fromCBOR :: Decoder s KESPeriod

label :: Proxy KESPeriod -> Text

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.0.3.7-ACqXftFDP5CJPr2xWAfL7P" 'True) (C1 ('MetaCons "KESPeriod" 'PrefixI 'True) (S1 ('MetaSel ('Just "unKESPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word)))

VRF keys

data VrfKey #

Instances

Instances details
HasTypeProxy VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

Associated Types

data AsType VrfKey #

Key VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

Associated Types

data VerificationKey VrfKey #

data SigningKey VrfKey #

Eq (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Eq (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Ord (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsBech32 (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsBech32 (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

ToCBOR (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: Hash VrfKey -> Encoding

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

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

ToCBOR (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: VerificationKey VrfKey -> Encoding

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

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

ToCBOR (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: SigningKey VrfKey -> Encoding

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

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

FromCBOR (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (Hash VrfKey)

label :: Proxy (Hash VrfKey) -> Text

FromCBOR (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (VerificationKey VrfKey)

label :: Proxy (VerificationKey VrfKey) -> Text

FromCBOR (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (SigningKey VrfKey)

label :: Proxy (SigningKey VrfKey) -> Text

HasTextEnvelope (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

HasTextEnvelope (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

serialiseToCBOR :: Hash VrfKey -> ByteString #

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

SerialiseAsCBOR (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

serialiseToCBOR :: SigningKey VrfKey -> ByteString #

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

data AsType VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype Hash VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype Hash VrfKey = VrfKeyHash (Hash StandardCrypto (VerKeyVRF StandardCrypto))
newtype VerificationKey VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype VerificationKey VrfKey = VrfVerificationKey (VerKeyVRF StandardCrypto)
newtype SigningKey VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype SigningKey VrfKey = VrfSigningKey (SignKeyVRF StandardCrypto)

Low level protocol interaction with a Cardano node

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

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 ... #

Equations

ShelleyLedgerEra ShelleyEra = StandardShelley 
ShelleyLedgerEra AllegraEra = StandardAllegra 
ShelleyLedgerEra MaryEra = StandardMary 
ShelleyLedgerEra AlonzoEra = StandardAlonzo 
ShelleyLedgerEra BabbageEra = StandardBabbage 
ShelleyLedgerEra ConwayEra = StandardConway 

Local State Query

newtype DebugLedgerState era #

Constructors

DebugLedgerState 

Fields

Instances

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

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

Defined in Cardano.Api.Query.Types

Methods

fromCBOR :: Decoder s (DebugLedgerState era)

label :: Proxy (DebugLedgerState era) -> Text

newtype ProtocolState era #

Constructors

ProtocolState (Serialised (ChainDepState (ConsensusProtocol era))) 

decodeProtocolState :: FromCBOR (ChainDepState (ConsensusProtocol era)) => ProtocolState era -> Either (ByteString, DecoderError) (ChainDepState (ConsensusProtocol era)) #

newtype SerialisedDebugLedgerState era #

Constructors

SerialisedDebugLedgerState (Serialised (NewEpochState (ShelleyLedgerEra era))) 

newtype CurrentEpochState era #

Constructors

CurrentEpochState (EpochState (ShelleyLedgerEra era)) 

newtype SerialisedCurrentEpochState era #

Constructors

SerialisedCurrentEpochState (Serialised (EpochState (ShelleyLedgerEra era))) 

newtype PoolState era #

Constructors

PoolState (PState (ShelleyLedgerEra era)) 

newtype SerialisedPoolState era #

Constructors

SerialisedPoolState (Serialised (PState (ShelleyLedgerEra era))) 

decodePoolState :: (Era (ShelleyLedgerEra era), DecCBOR (PState (ShelleyLedgerEra era))) => SerialisedPoolState era -> Either DecoderError (PoolState era) #

newtype PoolDistribution era #

Constructors

PoolDistribution 

Fields

newtype SerialisedPoolDistribution era #

Constructors

SerialisedPoolDistribution (Serialised (PoolDistr (EraCrypto (ShelleyLedgerEra era)))) 

decodePoolDistribution :: Crypto (EraCrypto (ShelleyLedgerEra era)) => ShelleyBasedEra era -> SerialisedPoolDistribution era -> Either DecoderError (PoolDistribution era) #

newtype StakeSnapshot era #

Constructors

StakeSnapshot (StakeSnapshots (EraCrypto (ShelleyLedgerEra era))) 

newtype SerialisedStakeSnapshots era #

Constructors

SerialisedStakeSnapshots (Serialised (StakeSnapshots (EraCrypto (ShelleyLedgerEra era)))) 

decodeStakeSnapshot :: FromCBOR (StakeSnapshots (EraCrypto (ShelleyLedgerEra era))) => SerialisedStakeSnapshots era -> Either DecoderError (StakeSnapshot era) #

newtype UTxO era #

Constructors

UTxO 

Fields

Instances

Instances details
Eq (UTxO era) 
Instance details

Defined in Cardano.Api.Query

Methods

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

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

Show (UTxO era) 
Instance details

Defined in Cardano.Api.Query

Methods

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

show :: UTxO era -> String Source #

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

(IsShelleyBasedEra era, FromJSON (TxOut CtxUTxO era)) => FromJSON (UTxO era) 
Instance details

Defined in Cardano.Api.Query

Methods

parseJSON :: Value -> Parser (UTxO era)

parseJSONList :: Value -> Parser [UTxO era]

omittedField :: Maybe (UTxO era)

IsCardanoEra era => ToJSON (UTxO era) 
Instance details

Defined in Cardano.Api.Query

Methods

toJSON :: UTxO era -> Value

toEncoding :: UTxO era -> Encoding

toJSONList :: [UTxO era] -> Value

toEncodingList :: [UTxO era] -> Encoding

omitField :: UTxO era -> Bool

newtype SystemStart #

Constructors

SystemStart 

Fields

Instances

Instances details
Eq SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Show SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Generic SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Associated Types

type Rep SystemStart :: Type -> Type Source #

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

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

DecCBOR SystemStart 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

Methods

decCBOR :: Decoder s SystemStart

dropCBOR :: Proxy SystemStart -> Decoder s ()

label :: Proxy SystemStart -> Text

ToCBOR SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Methods

toCBOR :: SystemStart -> Encoding

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

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

FromCBOR SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Methods

fromCBOR :: Decoder s SystemStart

label :: Proxy SystemStart -> Text

Serialise SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Methods

encode :: SystemStart -> Encoding

decode :: Decoder s SystemStart

encodeList :: [SystemStart] -> Encoding

decodeList :: Decoder s [SystemStart]

type Rep SystemStart 
Instance details

Defined in Cardano.Slotting.Time

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

Governance

data GovernanceAction era #

Constructors

MotionOfNoConfidence (StrictMaybe (PrevGovActionId 'CommitteePurpose StandardCrypto)) 
ProposeNewConstitution (StrictMaybe (PrevGovActionId 'ConstitutionPurpose StandardCrypto)) (Anchor StandardCrypto) 
ProposeNewCommittee (StrictMaybe (PrevGovActionId 'CommitteePurpose StandardCrypto)) [Hash CommitteeColdKey] (Map (Hash CommitteeColdKey) EpochNo) Rational 
InfoAct 
TreasuryWithdrawal [(Network, StakeCredential, Lovelace)] 
InitiateHardfork (StrictMaybe (PrevGovActionId 'HardForkPurpose StandardCrypto)) ProtVer 
UpdatePParams (StrictMaybe (PrevGovActionId 'PParamUpdatePurpose StandardCrypto)) (PParamsUpdate (ShelleyLedgerEra era)) 

newtype GovernanceActionId era #

Constructors

GovernanceActionId 

Fields

Instances

Instances details
Eq (GovernanceActionId era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Ord (GovernanceActionId era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Show (GovernanceActionId era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

IsShelleyBasedEra era => ToCBOR (GovernanceActionId era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Methods

toCBOR :: GovernanceActionId era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (GovernanceActionId era) -> Size

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

IsShelleyBasedEra era => FromCBOR (GovernanceActionId era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Methods

fromCBOR :: Decoder s (GovernanceActionId era)

label :: Proxy (GovernanceActionId era) -> Text

newtype Proposal era #

Constructors

Proposal 

Fields

Instances

Instances details
IsShelleyBasedEra era => Eq (Proposal era) 
Instance details

Defined in Cardano.Api.Governance.Actions.ProposalProcedure

Methods

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

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

IsShelleyBasedEra era => Show (Proposal era) 
Instance details

Defined in Cardano.Api.Governance.Actions.ProposalProcedure

HasTypeProxy era => HasTypeProxy (Proposal era) 
Instance details

Defined in Cardano.Api.Governance.Actions.ProposalProcedure

Associated Types

data AsType (Proposal era) #

Methods

proxyToAsType :: Proxy (Proposal era) -> AsType (Proposal era) #

IsShelleyBasedEra era => ToCBOR (Proposal era) 
Instance details

Defined in Cardano.Api.Governance.Actions.ProposalProcedure

Methods

toCBOR :: Proposal era -> Encoding

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

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

IsShelleyBasedEra era => FromCBOR (Proposal era) 
Instance details

Defined in Cardano.Api.Governance.Actions.ProposalProcedure

Methods

fromCBOR :: Decoder s (Proposal era)

label :: Proxy (Proposal era) -> Text

IsShelleyBasedEra era => HasTextEnvelope (Proposal era) 
Instance details

Defined in Cardano.Api.Governance.Actions.ProposalProcedure

IsShelleyBasedEra era => SerialiseAsCBOR (Proposal era) 
Instance details

Defined in Cardano.Api.Governance.Actions.ProposalProcedure

Methods

serialiseToCBOR :: Proposal era -> ByteString #

deserialiseFromCBOR :: AsType (Proposal era) -> ByteString -> Either DecoderError (Proposal era) #

data AsType (Proposal era) 
Instance details

Defined in Cardano.Api.Governance.Actions.ProposalProcedure

newtype VotingProcedure era #

Constructors

VotingProcedure 

Fields

Instances

Instances details
Eq (VotingProcedure era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Show (VotingProcedure era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

HasTypeProxy era => HasTypeProxy (VotingProcedure era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Associated Types

data AsType (VotingProcedure era) #

IsShelleyBasedEra era => ToCBOR (VotingProcedure era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Methods

toCBOR :: VotingProcedure era -> Encoding

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

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

IsShelleyBasedEra era => FromCBOR (VotingProcedure era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Methods

fromCBOR :: Decoder s (VotingProcedure era)

label :: Proxy (VotingProcedure era) -> Text

IsShelleyBasedEra era => HasTextEnvelope (VotingProcedure era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

IsShelleyBasedEra era => SerialiseAsCBOR (VotingProcedure era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Methods

serialiseToCBOR :: VotingProcedure era -> ByteString #

deserialiseFromCBOR :: AsType (VotingProcedure era) -> ByteString -> Either DecoderError (VotingProcedure era) #

data AsType (VotingProcedure era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

newtype VotingProcedures era #

Constructors

VotingProcedures 

Fields

Instances

Instances details
Eq (VotingProcedures era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Show (VotingProcedures era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Generic (VotingProcedures era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Associated Types

type Rep (VotingProcedures era) :: Type -> Type Source #

HasTypeProxy era => HasTypeProxy (VotingProcedures era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Associated Types

data AsType (VotingProcedures era) #

IsShelleyBasedEra era => ToCBOR (VotingProcedures era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Methods

toCBOR :: VotingProcedures era -> Encoding

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

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

IsShelleyBasedEra era => FromCBOR (VotingProcedures era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Methods

fromCBOR :: Decoder s (VotingProcedures era)

label :: Proxy (VotingProcedures era) -> Text

IsShelleyBasedEra era => HasTextEnvelope (VotingProcedures era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

IsShelleyBasedEra era => SerialiseAsCBOR (VotingProcedures era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Methods

serialiseToCBOR :: VotingProcedures era -> ByteString #

deserialiseFromCBOR :: AsType (VotingProcedures era) -> ByteString -> Either DecoderError (VotingProcedures era) #

type Rep (VotingProcedures era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

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

Defined in Cardano.Api.Governance.Actions.VotingProcedure

data GovernancePoll #

Constructors

GovernancePoll 

Fields

Instances

Instances details
Eq GovernancePoll 
Instance details

Defined in Cardano.Api.Governance.Poll

Show GovernancePoll 
Instance details

Defined in Cardano.Api.Governance.Poll

HasTypeProxy GovernancePoll 
Instance details

Defined in Cardano.Api.Governance.Poll

Associated Types

data AsType GovernancePoll #

HasTextEnvelope GovernancePoll 
Instance details

Defined in Cardano.Api.Governance.Poll

SerialiseAsCBOR GovernancePoll 
Instance details

Defined in Cardano.Api.Governance.Poll

Methods

serialiseToCBOR :: GovernancePoll -> ByteString #

deserialiseFromCBOR :: AsType GovernancePoll -> ByteString -> Either DecoderError GovernancePoll #

AsTxMetadata GovernancePoll 
Instance details

Defined in Cardano.Api.Governance.Poll

Eq (Hash GovernancePoll) 
Instance details

Defined in Cardano.Api.Governance.Poll

Ord (Hash GovernancePoll) 
Instance details

Defined in Cardano.Api.Governance.Poll

Show (Hash GovernancePoll) 
Instance details

Defined in Cardano.Api.Governance.Poll

IsString (Hash GovernancePoll) 
Instance details

Defined in Cardano.Api.Governance.Poll

SerialiseAsRawBytes (Hash GovernancePoll) 
Instance details

Defined in Cardano.Api.Governance.Poll

data AsType GovernancePoll 
Instance details

Defined in Cardano.Api.Governance.Poll

newtype Hash GovernancePoll 
Instance details

Defined in Cardano.Api.Governance.Poll

data Vote #

Constructors

No 
Yes 
Abstain 

Instances

Instances details
Eq Vote 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Methods

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

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

Show Vote 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

newtype Voter era #

Constructors

Voter (Voter (EraCrypto (ShelleyLedgerEra era))) 

Instances

Instances details
Eq (Voter era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Methods

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

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

Ord (Voter era) 
Instance details

Defined in Cardano.Api.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 #

Show (Voter era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Methods

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

show :: Voter era -> String Source #

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

IsShelleyBasedEra era => ToCBOR (Voter era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Methods

toCBOR :: Voter era -> Encoding

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

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

IsShelleyBasedEra era => FromCBOR (Voter era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Methods

fromCBOR :: Decoder s (Voter era)

label :: Proxy (Voter era) -> Text

createProposalProcedure :: ShelleyBasedEra era -> Network -> Lovelace -> Hash StakeKey -> GovernanceAction era -> Anchor StandardCrypto -> Proposal era #

Various calculations

Conversions

toConsensusGenTx :: CardanoBlock StandardCrypto ~ block => TxInMode -> GenTx block #

fromShelleyPoolParams :: PoolParams StandardCrypto -> StakePoolParameters #

singletonVotingProcedures :: ConwayEraOnwards era -> Voter (EraCrypto (ShelleyLedgerEra era)) -> GovActionId (EraCrypto (ShelleyLedgerEra era)) -> VotingProcedure (ShelleyLedgerEra era) -> VotingProcedures era #