cardano-api
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.Internal.Orphans.Serialisation

Synopsis

Documentation

data family AsType t Source #

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

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

Instances

Instances details
data AsType AddressAny Source # 
Instance details

Defined in Cardano.Api.Internal.Address

data AsType ByronAddr Source # 
Instance details

Defined in Cardano.Api.Internal.Address

data AsType ShelleyAddr Source # 
Instance details

Defined in Cardano.Api.Internal.Address

data AsType StakeAddress Source # 
Instance details

Defined in Cardano.Api.Internal.Address

data AsType BlockHeader Source # 
Instance details

Defined in Cardano.Api.Internal.Block

data AsType DRepMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.DRepMetadata

data AsType AllegraEra Source # 
Instance details

Defined in Cardano.Api.Internal.Eras.Core

data AsType AlonzoEra Source # 
Instance details

Defined in Cardano.Api.Internal.Eras.Core

data AsType BabbageEra Source # 
Instance details

Defined in Cardano.Api.Internal.Eras.Core

data AsType ByronEra Source # 
Instance details

Defined in Cardano.Api.Internal.Eras.Core

data AsType ConwayEra Source # 
Instance details

Defined in Cardano.Api.Internal.Eras.Core

data AsType MaryEra Source # 
Instance details

Defined in Cardano.Api.Internal.Eras.Core

data AsType ShelleyEra Source # 
Instance details

Defined in Cardano.Api.Internal.Eras.Core

data AsType GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

data AsType GovernancePollAnswer Source # 
Instance details

Defined in Cardano.Api.Internal.Governance.Poll

data AsType ByronKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

data AsType ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Byron

data AsType KesKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

data AsType VrfKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Praos

data AsType CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType DRepKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType GenesisKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType PaymentKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType StakeKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType StakePoolExtendedKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Shelley

data AsType OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

data AsType OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.Internal.OperationalCertificate

data AsType PraosNonce Source # 
Instance details

Defined in Cardano.Api.Internal.ProtocolParameters

data AsType UpdateProposal Source # 
Instance details

Defined in Cardano.Api.Internal.ProtocolParameters

data AsType EraHistory Source # 
Instance details

Defined in Cardano.Api.Internal.Query

data AsType PlutusScriptV1 Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data AsType PlutusScriptV2 Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data AsType PlutusScriptV3 Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data AsType ScriptHash Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data AsType ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data AsType SimpleScript' Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data AsType HashableScriptData Source # 
Instance details

Defined in Cardano.Api.Internal.ScriptData

data AsType ScriptData Source # 
Instance details

Defined in Cardano.Api.Internal.ScriptData

data AsType TextEnvelope Source # 
Instance details

Defined in Cardano.Api.Internal.SerialiseTextEnvelope

data AsType ByronUpdateProposal Source # 
Instance details

Defined in Cardano.Api.Internal.SpecialByron

data AsType ByronVote Source # 
Instance details

Defined in Cardano.Api.Internal.SpecialByron

data AsType StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.StakePoolMetadata

data AsType TxId Source # 
Instance details

Defined in Cardano.Api.Internal.TxIn

data AsType TxMetadata Source # 
Instance details

Defined in Cardano.Api.Internal.TxMetadata

data AsType AssetName Source # 
Instance details

Defined in Cardano.Api.Internal.Value

data AsType PolicyId Source # 
Instance details

Defined in Cardano.Api.Internal.Value

data AsType GovActionId Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType Term Source # 
Instance details

Defined in Cardano.Api.Internal.Serialise.Cbor.Canonical

data AsType (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Internal.Address

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

Defined in Cardano.Api.Internal.Address

data AsType (Certificate era) Source # 
Instance details

Defined in Cardano.Api.Internal.Certificate

data AsType (Proposal era) Source # 
Instance details

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

data AsType (VotingProcedure era) Source # 
Instance details

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

data AsType (VotingProcedures era) Source # 
Instance details

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

data AsType (Hash a) Source # 
Instance details

Defined in Cardano.Api.Internal.Hash

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

Defined in Cardano.Api.Internal.Keys.Class

data AsType (VerificationKey a) Source # 
Instance details

Defined in Cardano.Api.Internal.Keys.Class

data AsType (PlutusScript lang) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

data AsType (Script lang) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

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

Defined in Cardano.Api.Internal.Script

data AsType (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

data AsType (Tx era) Source # 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

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

Defined in Cardano.Api.Internal.Tx.Sign

data AsType (TxBody era) = AsTxBody (AsType era)
data AsType (Credential 'ColdCommitteeRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType (Credential 'DRepRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType (Credential 'HotCommitteeRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType (PlutusScriptInEra era lang) Source # 
Instance details

Defined in Cardano.Api.Internal.Script

Orphan instances

FromJSON ParamName Source # 
Instance details

Methods

parseJSON :: Value -> Parser ParamName

parseJSONList :: Value -> Parser [ParamName]

omittedField :: Maybe ParamName

FromJSONKey ParamName Source # 
Instance details

Methods

fromJSONKey :: FromJSONKeyFunction ParamName

fromJSONKeyList :: FromJSONKeyFunction [ParamName]

ToJSON ApplyMempoolPayloadErr Source # 
Instance details

ToJSON KeyHash Source # 
Instance details

Methods

toJSON :: KeyHash -> Value

toEncoding :: KeyHash -> Encoding

toJSONList :: [KeyHash] -> Value

toEncodingList :: [KeyHash] -> Encoding

omitField :: KeyHash -> Bool

ToJSON LovelaceError Source # 
Instance details

ToJSON Error Source # 
Instance details

Methods

toJSON :: Error -> Value

toEncoding :: Error -> Encoding

toJSONList :: [Error] -> Value

toEncodingList :: [Error] -> Encoding

omitField :: Error -> Bool

ToJSON UTxOError Source # 
Instance details

Methods

toJSON :: UTxOError -> Value

toEncoding :: UTxOError -> Encoding

toJSONList :: [UTxOError] -> Value

toEncodingList :: [UTxOError] -> Encoding

omitField :: UTxOError -> Bool

ToJSON TxValidationError Source # 
Instance details

ToJSON UTxOValidationError Source # 
Instance details

ToJSON ApplicationNameError Source # 
Instance details

ToJSON SoftwareVersionError Source # 
Instance details

ToJSON SystemTagError Source # 
Instance details

ToJSON Error Source # 
Instance details

Methods

toJSON :: Error -> Value

toEncoding :: Error -> Encoding

toJSONList :: [Error] -> Value

toEncodingList :: [Error] -> Encoding

omitField :: Error -> Bool

ToJSON Error Source # 
Instance details

Methods

toJSON :: Error -> Value

toEncoding :: Error -> Encoding

toJSONList :: [Error] -> Value

toEncodingList :: [Error] -> Encoding

omitField :: Error -> Bool

ToJSON Adopted Source # 
Instance details

Methods

toJSON :: Adopted -> Value

toEncoding :: Adopted -> Encoding

toJSONList :: [Adopted] -> Value

toEncodingList :: [Adopted] -> Encoding

omitField :: Adopted -> Bool

ToJSON ApplicationVersion Source # 
Instance details

ToJSON Error Source # 
Instance details

Methods

toJSON :: Error -> Value

toEncoding :: Error -> Encoding

toJSONList :: [Error] -> Value

toEncodingList :: [Error] -> Encoding

omitField :: Error -> Bool

ToJSON Error Source # 
Instance details

Methods

toJSON :: Error -> Value

toEncoding :: Error -> Encoding

toJSONList :: [Error] -> Value

toEncodingList :: [Error] -> Encoding

omitField :: Error -> Bool

ToJSON VotingPeriod Source # 
Instance details

Methods

toJSON :: VotingPeriod -> Value

toEncoding :: VotingPeriod -> Encoding

toJSONList :: [VotingPeriod] -> Value

toEncodingList :: [VotingPeriod] -> Encoding

omitField :: VotingPeriod -> Bool

ToJSON ChainDepState Source # 
Instance details

ToJSON HashHeader Source # 
Instance details

Methods

toJSON :: HashHeader -> Value

toEncoding :: HashHeader -> Encoding

toJSONList :: [HashHeader] -> Value

toEncodingList :: [HashHeader] -> Encoding

omitField :: HashHeader -> Bool

ToJSON PrtclState Source # 
Instance details

Methods

toJSON :: PrtclState -> Value

toEncoding :: PrtclState -> Encoding

toJSONList :: [PrtclState] -> Value

toEncodingList :: [PrtclState] -> Encoding

omitField :: PrtclState -> Bool

ToJSON TicknState Source # 
Instance details

Methods

toJSON :: TicknState -> Value

toEncoding :: TicknState -> Encoding

toJSONList :: [TicknState] -> Value

toEncodingList :: [TicknState] -> Encoding

omitField :: TicknState -> Bool

ToJSON ByronHash Source # 
Instance details

Methods

toJSON :: ByronHash -> Value

toEncoding :: ByronHash -> Encoding

toJSONList :: [ByronHash] -> Value

toEncodingList :: [ByronHash] -> Encoding

omitField :: ByronHash -> Bool

ToJSON StakeSnapshot Source # 
Instance details

ToJSON StakeSnapshots Source # 
Instance details

ToJSON ShelleyHash Source # 
Instance details

Methods

toJSON :: ShelleyHash -> Value

toEncoding :: ShelleyHash -> Encoding

toJSONList :: [ShelleyHash] -> Value

toEncodingList :: [ShelleyHash] -> Encoding

omitField :: ShelleyHash -> Bool

ToJSON PraosState Source # 
Instance details

Methods

toJSON :: PraosState -> Value

toEncoding :: PraosState -> Encoding

toJSONList :: [PraosState] -> Value

toEncodingList :: [PraosState] -> Encoding

omitField :: PraosState -> Bool

ToJSON TPraosState Source # 
Instance details

Methods

toJSON :: TPraosState -> Value

toEncoding :: TPraosState -> Encoding

toJSONList :: [TPraosState] -> Value

toEncodingList :: [TPraosState] -> Encoding

omitField :: TPraosState -> Bool

ToJSONKey ApplicationName Source # 
Instance details

Methods

toJSONKey :: ToJSONKeyFunction ApplicationName

toJSONKeyList :: ToJSONKeyFunction [ApplicationName]

Generic ApplyMempoolPayloadErr Source # 
Instance details

Associated Types

type Rep ApplyMempoolPayloadErr 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

type Rep ApplyMempoolPayloadErr = D1 ('MetaData "ApplyMempoolPayloadErr" "Cardano.Chain.Byron.API.Mempool" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) ((C1 ('MetaCons "MempoolTxErr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTxOValidationError)) :+: C1 ('MetaCons "MempoolDlgErr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Error))) :+: (C1 ('MetaCons "MempoolUpdateProposalErr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Error)) :+: C1 ('MetaCons "MempoolUpdateVoteErr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Error))))
Generic LovelaceError Source # 
Instance details

Associated Types

type Rep LovelaceError 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

type Rep LovelaceError = D1 ('MetaData "LovelaceError" "Cardano.Chain.Common.Lovelace" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) ((C1 ('MetaCons "LovelaceOverflow" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)) :+: C1 ('MetaCons "LovelaceTooLarge" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))) :+: (C1 ('MetaCons "LovelaceTooSmall" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :+: C1 ('MetaCons "LovelaceUnderflow" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))))
Generic Error Source # 
Instance details

Methods

from :: Error -> Rep Error x Source #

to :: Rep Error x -> Error Source #

Generic UTxOError Source # 
Instance details

Associated Types

type Rep UTxOError 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

type Rep UTxOError = D1 ('MetaData "UTxOError" "Cardano.Chain.UTxO.UTxO" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "UTxOMissingInput" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxIn)) :+: C1 ('MetaCons "UTxOOverlappingUnion" 'PrefixI 'False) (U1 :: Type -> Type))
Generic TxValidationError Source # 
Instance details

Associated Types

type Rep TxValidationError 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

type Rep TxValidationError = D1 ('MetaData "TxValidationError" "Cardano.Chain.UTxO.Validation" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (((C1 ('MetaCons "TxValidationLovelaceError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LovelaceError)) :+: C1 ('MetaCons "TxValidationFeeTooSmall" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Tx) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace)))) :+: (C1 ('MetaCons "TxValidationWitnessWrongSignature" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxInWitness) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProtocolMagicId) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxSigData))) :+: C1 ('MetaCons "TxValidationWitnessWrongKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxInWitness) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address)))) :+: ((C1 ('MetaCons "TxValidationMissingInput" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxIn)) :+: C1 ('MetaCons "TxValidationNetworkMagicMismatch" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NetworkMagic) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NetworkMagic))) :+: (C1 ('MetaCons "TxValidationTxTooLarge" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :+: (C1 ('MetaCons "TxValidationUnknownAddressAttributes" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TxValidationUnknownAttributes" 'PrefixI 'False) (U1 :: Type -> Type)))))
Generic UTxOValidationError Source # 
Instance details

Associated Types

type Rep UTxOValidationError 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

type Rep UTxOValidationError = D1 ('MetaData "UTxOValidationError" "Cardano.Chain.UTxO.Validation" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "UTxOValidationTxValidationError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxValidationError)) :+: C1 ('MetaCons "UTxOValidationUTxOError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTxOError)))
Generic ApplicationNameError Source # 
Instance details

Associated Types

type Rep ApplicationNameError 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

type Rep ApplicationNameError = D1 ('MetaData "ApplicationNameError" "Cardano.Chain.Update.ApplicationName" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "ApplicationNameTooLong" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "ApplicationNameNotAscii" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Generic SoftwareVersionError Source # 
Instance details

Associated Types

type Rep SoftwareVersionError 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

type Rep SoftwareVersionError = D1 ('MetaData "SoftwareVersionError" "Cardano.Chain.Update.SoftwareVersion" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "SoftwareVersionApplicationNameError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ApplicationNameError)))
Generic SystemTagError Source # 
Instance details

Associated Types

type Rep SystemTagError 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

type Rep SystemTagError = D1 ('MetaData "SystemTagError" "Cardano.Chain.Update.SystemTag" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "SystemTagNotAscii" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "SystemTagTooLong" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Generic Error Source # 
Instance details

Methods

from :: Error -> Rep Error x Source #

to :: Rep Error x -> Error Source #

Generic Error Source # 
Instance details

Methods

from :: Error -> Rep Error x Source #

to :: Rep Error x -> Error Source #

Generic Adopted Source # 
Instance details

Associated Types

type Rep Adopted 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

type Rep Adopted = D1 ('MetaData "Adopted" "Cardano.Chain.Update.Validation.Registration" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "Adopted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProtocolVersion)))
Generic Error Source # 
Instance details

Methods

from :: Error -> Rep Error x Source #

to :: Rep Error x -> Error Source #

Generic Error Source # 
Instance details

Associated Types

type Rep Error 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

type Rep Error = D1 ('MetaData "Error" "Cardano.Chain.Update.Validation.Voting" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) ((C1 ('MetaCons "VotingInvalidSignature" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "VotingProposalNotRegistered" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UpId))) :+: (C1 ('MetaCons "VotingVoterNotDelegate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 KeyHash)) :+: C1 ('MetaCons "VotingVoteAlreadyCast" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 KeyHash))))

Methods

from :: Error -> Rep Error x Source #

to :: Rep Error x -> Error Source #

Show ParamName Source # 
Instance details

HasTypeProxy GovActionId Source # 
Instance details

Associated Types

data AsType GovActionId 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

SerialiseAsRawBytes GovActionId Source # 
Instance details

Pretty Coin Source # 
Instance details

Methods

pretty :: Coin -> Doc ann #

prettyList :: [Coin] -> Doc ann #

Pretty AssetName Source # 
Instance details

Methods

pretty :: AssetName -> Doc ann #

prettyList :: [AssetName] -> Doc ann #

Pretty MultiAsset Source # 
Instance details

Methods

pretty :: MultiAsset -> Doc ann #

prettyList :: [MultiAsset] -> Doc ann #

Pretty PolicyID Source # 
Instance details

Methods

pretty :: PolicyID -> Doc ann #

prettyList :: [PolicyID] -> Doc ann #

Show (AllegraUtxoPredFailure ledgerera) => ToJSON (AllegraUtxoPredFailure ledgerera) Source # 
Instance details

Methods

toJSON :: AllegraUtxoPredFailure ledgerera -> Value

toEncoding :: AllegraUtxoPredFailure ledgerera -> Encoding

toJSONList :: [AllegraUtxoPredFailure ledgerera] -> Value

toEncodingList :: [AllegraUtxoPredFailure ledgerera] -> Encoding

omitField :: AllegraUtxoPredFailure ledgerera -> Bool

Show (AlonzoUtxoPredFailure ledgerera) => ToJSON (AlonzoUtxoPredFailure ledgerera) Source # 
Instance details

Methods

toJSON :: AlonzoUtxoPredFailure ledgerera -> Value

toEncoding :: AlonzoUtxoPredFailure ledgerera -> Encoding

toJSONList :: [AlonzoUtxoPredFailure ledgerera] -> Value

toEncodingList :: [AlonzoUtxoPredFailure ledgerera] -> Encoding

omitField :: AlonzoUtxoPredFailure ledgerera -> Bool

(ToJSON (PredicateFailure (EraRule "UTXO" ledgerera)), ToJSON (PlutusPurpose AsItem ledgerera), ToJSON (PlutusPurpose AsIx ledgerera)) => ToJSON (AlonzoUtxowPredFailure ledgerera) Source # 
Instance details

Methods

toJSON :: AlonzoUtxowPredFailure ledgerera -> Value

toEncoding :: AlonzoUtxowPredFailure ledgerera -> Encoding

toJSONList :: [AlonzoUtxowPredFailure ledgerera] -> Value

toEncodingList :: [AlonzoUtxowPredFailure ledgerera] -> Encoding

omitField :: AlonzoUtxowPredFailure ledgerera -> Bool

Show (BabbageUtxoPredFailure ledgerera) => ToJSON (BabbageUtxoPredFailure ledgerera) Source # 
Instance details

Methods

toJSON :: BabbageUtxoPredFailure ledgerera -> Value

toEncoding :: BabbageUtxoPredFailure ledgerera -> Encoding

toJSONList :: [BabbageUtxoPredFailure ledgerera] -> Value

toEncodingList :: [BabbageUtxoPredFailure ledgerera] -> Encoding

omitField :: BabbageUtxoPredFailure ledgerera -> Bool

(ToJSON (PredicateFailure (EraRule "UTXO" ledgerera)), ToJSON (TxCert ledgerera), ToJSON (PlutusPurpose AsItem ledgerera), ToJSON (PlutusPurpose AsIx ledgerera)) => ToJSON (BabbageUtxowPredFailure ledgerera) Source # 
Instance details

Methods

toJSON :: BabbageUtxowPredFailure ledgerera -> Value

toEncoding :: BabbageUtxowPredFailure ledgerera -> Encoding

toJSONList :: [BabbageUtxowPredFailure ledgerera] -> Value

toEncodingList :: [BabbageUtxowPredFailure ledgerera] -> Encoding

omitField :: BabbageUtxowPredFailure ledgerera -> Bool

ToJSON a => ToJSON (TooLarge a) Source # 
Instance details

Methods

toJSON :: TooLarge a -> Value

toEncoding :: TooLarge a -> Encoding

toJSONList :: [TooLarge a] -> Value

toEncodingList :: [TooLarge a] -> Encoding

omitField :: TooLarge a -> Bool

Show (ConwayLedgerPredFailure ledgerera) => ToJSON (ConwayLedgerPredFailure ledgerera) Source # 
Instance details

Methods

toJSON :: ConwayLedgerPredFailure ledgerera -> Value

toEncoding :: ConwayLedgerPredFailure ledgerera -> Encoding

toJSONList :: [ConwayLedgerPredFailure ledgerera] -> Value

toEncodingList :: [ConwayLedgerPredFailure ledgerera] -> Encoding

omitField :: ConwayLedgerPredFailure ledgerera -> Bool

ToJSON (VKey 'Witness) Source # 
Instance details

Methods

toJSON :: VKey 'Witness -> Value

toEncoding :: VKey 'Witness -> Encoding

toJSONList :: [VKey 'Witness] -> Value

toEncodingList :: [VKey 'Witness] -> Encoding

omitField :: VKey 'Witness -> Bool

ToJSON (PredicateFailure (EraRule "LEDGER" ledgerera)) => ToJSON (ApplyTxError ledgerera) Source # 
Instance details

Methods

toJSON :: ApplyTxError ledgerera -> Value

toEncoding :: ApplyTxError ledgerera -> Encoding

toJSONList :: [ApplyTxError ledgerera] -> Value

toEncodingList :: [ApplyTxError ledgerera] -> Encoding

omitField :: ApplyTxError ledgerera -> Bool

Show (ShelleyDelegsPredFailure ledgerera) => ToJSON (ShelleyDelegsPredFailure ledgerera) Source # 
Instance details

Methods

toJSON :: ShelleyDelegsPredFailure ledgerera -> Value

toEncoding :: ShelleyDelegsPredFailure ledgerera -> Encoding

toJSONList :: [ShelleyDelegsPredFailure ledgerera] -> Value

toEncodingList :: [ShelleyDelegsPredFailure ledgerera] -> Encoding

omitField :: ShelleyDelegsPredFailure ledgerera -> Bool

(ToJSON (PredicateFailure (EraRule "UTXOW" ledgerera)), ToJSON (PredicateFailure (EraRule "DELEGS" ledgerera))) => ToJSON (ShelleyLedgerPredFailure ledgerera) Source # 
Instance details

Methods

toJSON :: ShelleyLedgerPredFailure ledgerera -> Value

toEncoding :: ShelleyLedgerPredFailure ledgerera -> Encoding

toJSONList :: [ShelleyLedgerPredFailure ledgerera] -> Value

toEncodingList :: [ShelleyLedgerPredFailure ledgerera] -> Encoding

omitField :: ShelleyLedgerPredFailure ledgerera -> Bool

ToJSON (PredicateFailure (EraRule "UTXO" ledgerera)) => ToJSON (ShelleyPpupPredFailure ledgerera) Source # 
Instance details

Methods

toJSON :: ShelleyPpupPredFailure ledgerera -> Value

toEncoding :: ShelleyPpupPredFailure ledgerera -> Encoding

toJSONList :: [ShelleyPpupPredFailure ledgerera] -> Value

toEncodingList :: [ShelleyPpupPredFailure ledgerera] -> Encoding

omitField :: ShelleyPpupPredFailure ledgerera -> Bool

Show (ShelleyUtxoPredFailure ledgerera) => ToJSON (ShelleyUtxoPredFailure ledgerera) Source # 
Instance details

Methods

toJSON :: ShelleyUtxoPredFailure ledgerera -> Value

toEncoding :: ShelleyUtxoPredFailure ledgerera -> Encoding

toJSONList :: [ShelleyUtxoPredFailure ledgerera] -> Value

toEncodingList :: [ShelleyUtxoPredFailure ledgerera] -> Encoding

omitField :: ShelleyUtxoPredFailure ledgerera -> Bool

ToJSON (PredicateFailure (EraRule "UTXO" ledgerera)) => ToJSON (ShelleyUtxowPredFailure ledgerera) Source # 
Instance details

Methods

toJSON :: ShelleyUtxowPredFailure ledgerera -> Value

toEncoding :: ShelleyUtxowPredFailure ledgerera -> Encoding

toJSONList :: [ShelleyUtxowPredFailure ledgerera] -> Value

toEncodingList :: [ShelleyUtxowPredFailure ledgerera] -> Encoding

omitField :: ShelleyUtxowPredFailure ledgerera -> Bool

Generic (TooLarge a) Source # 
Instance details

Associated Types

type Rep (TooLarge a) 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

type Rep (TooLarge a) = D1 ('MetaData "TooLarge" "Cardano.Chain.Update.Validation.Registration" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "TooLarge" 'PrefixI 'True) (S1 ('MetaSel ('Just "tlActual") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Just "tlMaxBound") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))

Methods

from :: TooLarge a -> Rep (TooLarge a) x Source #

to :: Rep (TooLarge a) x -> TooLarge a Source #

Generic (ApplyTxError era) Source # 
Instance details

Associated Types

type Rep (ApplyTxError era) 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

type Rep (ApplyTxError era) = D1 ('MetaData "ApplyTxError" "Cardano.Ledger.Shelley.API.Mempool" "cardano-ledger-shelley-1.16.0.0-c94e4acbae2c451b736d7fa131482fce1d6ffd0e83dcc66450421e4714554169" 'True) (C1 ('MetaCons "ApplyTxError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty (PredicateFailure (EraRule "LEDGER" era))))))

Methods

from :: ApplyTxError era -> Rep (ApplyTxError era) x Source #

to :: Rep (ApplyTxError era) x -> ApplyTxError era Source #

Show a => Show (SubmitResult a) Source # 
Instance details

HasTypeProxy (Credential 'ColdCommitteeRole) Source # 
Instance details

HasTypeProxy (Credential 'DRepRole) Source # 
Instance details

HasTypeProxy (Credential 'HotCommitteeRole) Source # 
Instance details

SerialiseAsRawBytes (Credential 'ColdCommitteeRole) Source # 
Instance details

SerialiseAsRawBytes (Credential 'DRepRole) Source # 
Instance details

SerialiseAsRawBytes (Credential 'HotCommitteeRole) Source # 
Instance details

ToJSON (OneEraHash xs) Source # 
Instance details

Methods

toJSON :: OneEraHash xs -> Value

toEncoding :: OneEraHash xs -> Encoding

toJSONList :: [OneEraHash xs] -> Value

toEncodingList :: [OneEraHash xs] -> Encoding

omitField :: OneEraHash xs -> Bool

ToJSON (HeaderHash blk) => ToJSON (Tip blk) Source # 
Instance details

Methods

toJSON :: Tip blk -> Value

toEncoding :: Tip blk -> Encoding

toJSONList :: [Tip blk] -> Value

toEncodingList :: [Tip blk] -> Encoding

omitField :: Tip blk -> Bool