Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cardano.Api.SerialiseCBOR
Description
CBOR serialisation
Documentation
class HasTypeProxy a ⇒ SerialiseAsCBOR a where Source #
Minimal complete definition
Nothing
Methods
serialiseToCBOR ∷ a → ByteString Source #
default serialiseToCBOR ∷ ToCBOR a ⇒ a → ByteString Source #
deserialiseFromCBOR ∷ AsType a → ByteString → Either DecoderError a Source #
default deserialiseFromCBOR ∷ FromCBOR a ⇒ AsType a → ByteString → Either DecoderError a Source #
Instances
class Typeable a ⇒ FromCBOR a where #
Minimal complete definition
Instances
FromCBOR Nano | |
FromCBOR Pico | |
FromCBOR Void | |
FromCBOR Int32 | |
FromCBOR Int64 | |
FromCBOR Word16 | |
FromCBOR Word32 | |
FromCBOR Word64 | |
FromCBOR Word8 | |
FromCBOR ByteString | |
Defined in Cardano.Binary.FromCBOR | |
FromCBOR ByteString | |
Defined in Cardano.Binary.FromCBOR | |
FromCBOR ShortByteString | |
Defined in Cardano.Binary.FromCBOR | |
FromCBOR Certificate Source # | |
Defined in Cardano.Api.Certificate | |
FromCBOR OperationalCertificate Source # | |
Defined in Cardano.Api.OperationalCertificate | |
FromCBOR OperationalCertificateIssueCounter Source # | |
Defined in Cardano.Api.OperationalCertificate Methods fromCBOR ∷ Decoder s OperationalCertificateIssueCounter # | |
FromCBOR CostModel Source # | |
FromCBOR ExecutionUnitPrices Source # | |
Defined in Cardano.Api.ProtocolParameters | |
FromCBOR PraosNonce Source # | |
Defined in Cardano.Api.ProtocolParameters | |
FromCBOR ProtocolParametersUpdate Source # | |
Defined in Cardano.Api.ProtocolParameters Methods fromCBOR ∷ Decoder s ProtocolParametersUpdate # | |
FromCBOR UpdateProposal Source # | |
Defined in Cardano.Api.ProtocolParameters | |
FromCBOR AnyPlutusScriptVersion Source # | |
Defined in Cardano.Api.Script | |
FromCBOR ExecutionUnits Source # | |
Defined in Cardano.Api.Script | |
FromCBOR ScriptData Source # | |
Defined in Cardano.Api.ScriptData | |
FromCBOR ScriptValidity Source # | |
Defined in Cardano.Api.TxBody | |
FromCBOR Lovelace Source # | |
FromCBOR Raw | |
FromCBOR Point | |
FromCBOR Proof | |
FromCBOR SignKey | |
FromCBOR VerKey | |
FromCBOR ProtocolMagicId | |
FromCBOR RequiresNetworkMagic | |
FromCBOR CompactRedeemVerificationKey | |
FromCBOR RedeemSigningKey | |
FromCBOR RedeemVerificationKey | |
FromCBOR SigningKey | |
FromCBOR VerificationKey | |
FromCBOR AlonzoGenesis | |
FromCBOR FailureDescription | |
FromCBOR TagMismatchDescription | |
FromCBOR CostModels | |
FromCBOR ExUnits | |
FromCBOR Prices | |
FromCBOR Tag | |
FromCBOR IsValid | |
FromCBOR PlutusDebug | |
FromCBOR RdmrPtr | |
FromCBOR Body | |
FromCBOR BlockSignature | |
FromCBOR ToSign | |
FromCBOR Proof | |
FromCBOR ChainValidationState | |
FromCBOR ApplyMempoolPayloadErr | |
FromCBOR HDAddressPayload | |
FromCBOR AddrSpendingData | |
FromCBOR AddrType | |
FromCBOR Address | |
FromCBOR Address' | |
FromCBOR BlockCount | |
FromCBOR ChainDifficulty | |
FromCBOR CompactAddress | |
FromCBOR KeyHash | |
FromCBOR Lovelace | |
FromCBOR LovelaceError | |
FromCBOR LovelacePortion | |
FromCBOR NetworkMagic | |
FromCBOR TxFeePolicy | |
FromCBOR TxSizeLinear | |
FromCBOR Certificate | |
FromCBOR Map | |
FromCBOR Payload | |
FromCBOR State | |
FromCBOR State | |
FromCBOR Error | |
FromCBOR ScheduledDelegation | |
FromCBOR State | |
FromCBOR GenesisAvvmBalances | |
FromCBOR Config | |
FromCBOR GenesisData | |
FromCBOR GenesisDelegation | |
FromCBOR GenesisHash | |
FromCBOR GenesisKeyHashes | |
FromCBOR GenesisNonAvvmBalances | |
FromCBOR EpochAndSlotCount | |
FromCBOR EpochNumber | |
FromCBOR EpochSlots | |
Defined in Cardano.Chain.Slotting.EpochSlots | |
FromCBOR SlotCount | |
FromCBOR SlotNumber | |
FromCBOR SscPayload | |
FromCBOR SscProof | |
FromCBOR CompactTxId | |
FromCBOR CompactTxIn | |
FromCBOR CompactTxOut | |
FromCBOR Tx | |
FromCBOR TxIn | |
FromCBOR TxOut | |
FromCBOR TxAux | |
FromCBOR TxPayload | |
FromCBOR TxProof | |
FromCBOR TxInWitness | |
FromCBOR TxSigData | |
FromCBOR UTxO | |
FromCBOR UTxOError | |
FromCBOR UTxOConfiguration | |
FromCBOR ApplicationName | |
FromCBOR ApplicationNameError | |
FromCBOR InstallerHash | |
FromCBOR Payload | |
FromCBOR Proposal | |
FromCBOR ProposalBody | |
FromCBOR ProtocolParameters | |
FromCBOR ProtocolParametersUpdate | |
FromCBOR ProtocolVersion | |
FromCBOR SoftforkRule | |
FromCBOR SoftwareVersion | |
FromCBOR SoftwareVersionError | |
FromCBOR SystemTag | |
FromCBOR SystemTagError | |
FromCBOR CandidateProtocolUpdate | |
FromCBOR Endorsement | |
FromCBOR Error | |
FromCBOR Error | |
FromCBOR State | |
FromCBOR Adopted | |
FromCBOR ApplicationVersion | |
FromCBOR Error | |
FromCBOR ProtocolUpdateProposal | |
FromCBOR SoftwareUpdateProposal | |
FromCBOR Error | |
FromCBOR Vote | |
FromCBOR ActiveSlotCoeff | |
FromCBOR CertIx | |
FromCBOR DnsName | |
FromCBOR Network | |
FromCBOR NonNegativeInterval | |
FromCBOR Nonce | |
FromCBOR Port | |
FromCBOR PositiveInterval | |
FromCBOR PositiveUnitInterval | |
FromCBOR ProtVer | |
FromCBOR TxIx | |
FromCBOR UnitInterval | |
FromCBOR Url | |
FromCBOR Coin | |
FromCBOR DeltaCoin | |
FromCBOR Ptr | |
FromCBOR ChainCode | |
FromCBOR Language | |
FromCBOR RewardInfoPool | |
FromCBOR RewardParams | |
FromCBOR MIRPot | |
FromCBOR AccountState | |
FromCBOR Metadatum | |
FromCBOR PoolMetadata | |
FromCBOR StakePoolRelay | |
FromCBOR Likelihood | |
FromCBOR LogWeight | |
FromCBOR PerformanceEstimate | |
FromCBOR Desirability | |
FromCBOR RewardType | |
FromCBOR VotingPeriod | |
FromCBOR AssetName | |
FromCBOR ValidityInterval | |
FromCBOR KESPeriod | |
FromCBOR TicknState | |
FromCBOR BlockNo | |
FromCBOR EpochNo | |
FromCBOR EpochSize | |
FromCBOR SlotNo | |
FromCBOR SystemStart | |
Defined in Cardano.Slotting.Time | |
FromCBOR ByronHash | |
FromCBOR Text | |
FromCBOR NominalDiffTime | |
Defined in Cardano.Binary.FromCBOR | |
FromCBOR UTCTime | |
FromCBOR Integer | |
FromCBOR Natural | |
FromCBOR () | |
FromCBOR Bool | |
FromCBOR Float | |
FromCBOR Int | |
FromCBOR Word | |
(Integral a, FromCBOR a) ⇒ FromCBOR (Ratio a) | |
FromCBOR (Hash ByronKey) Source # | |
FromCBOR (Hash ByronKeyLegacy) Source # | |
Defined in Cardano.Api.Keys.Byron | |
FromCBOR (Hash KesKey) Source # | |
FromCBOR (Hash VrfKey) Source # | |
FromCBOR (Hash GenesisDelegateExtendedKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (Hash GenesisDelegateExtendedKey) # | |
FromCBOR (Hash GenesisDelegateKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (Hash GenesisDelegateKey) # | |
FromCBOR (Hash GenesisExtendedKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (Hash GenesisExtendedKey) # | |
FromCBOR (Hash GenesisKey) Source # | |
Defined in Cardano.Api.Keys.Shelley | |
FromCBOR (Hash GenesisUTxOKey) Source # | |
Defined in Cardano.Api.Keys.Shelley | |
FromCBOR (Hash PaymentExtendedKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (Hash PaymentExtendedKey) # | |
FromCBOR (Hash PaymentKey) Source # | |
Defined in Cardano.Api.Keys.Shelley | |
FromCBOR (Hash StakeExtendedKey) Source # | |
Defined in Cardano.Api.Keys.Shelley | |
FromCBOR (Hash StakeKey) Source # | |
FromCBOR (Hash StakePoolKey) Source # | |
Defined in Cardano.Api.Keys.Shelley | |
FromCBOR (SigningKey ByronKey) Source # | |
Defined in Cardano.Api.Keys.Byron | |
FromCBOR (SigningKey ByronKeyLegacy) Source # | |
Defined in Cardano.Api.Keys.Byron Methods fromCBOR ∷ Decoder s (SigningKey ByronKeyLegacy) # label ∷ Proxy (SigningKey ByronKeyLegacy) → Text # | |
FromCBOR (SigningKey KesKey) Source # | |
Defined in Cardano.Api.Keys.Praos | |
FromCBOR (SigningKey VrfKey) Source # | |
Defined in Cardano.Api.Keys.Praos | |
FromCBOR (SigningKey GenesisDelegateExtendedKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (SigningKey GenesisDelegateExtendedKey) # label ∷ Proxy (SigningKey GenesisDelegateExtendedKey) → Text # | |
FromCBOR (SigningKey GenesisDelegateKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (SigningKey GenesisDelegateKey) # label ∷ Proxy (SigningKey GenesisDelegateKey) → Text # | |
FromCBOR (SigningKey GenesisExtendedKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (SigningKey GenesisExtendedKey) # label ∷ Proxy (SigningKey GenesisExtendedKey) → Text # | |
FromCBOR (SigningKey GenesisKey) Source # | |
Defined in Cardano.Api.Keys.Shelley | |
FromCBOR (SigningKey GenesisUTxOKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (SigningKey GenesisUTxOKey) # label ∷ Proxy (SigningKey GenesisUTxOKey) → Text # | |
FromCBOR (SigningKey PaymentExtendedKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (SigningKey PaymentExtendedKey) # label ∷ Proxy (SigningKey PaymentExtendedKey) → Text # | |
FromCBOR (SigningKey PaymentKey) Source # | |
Defined in Cardano.Api.Keys.Shelley | |
FromCBOR (SigningKey StakeExtendedKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (SigningKey StakeExtendedKey) # label ∷ Proxy (SigningKey StakeExtendedKey) → Text # | |
FromCBOR (SigningKey StakeKey) Source # | |
Defined in Cardano.Api.Keys.Shelley | |
FromCBOR (SigningKey StakePoolKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (SigningKey StakePoolKey) # label ∷ Proxy (SigningKey StakePoolKey) → Text # | |
FromCBOR (VerificationKey ByronKey) Source # | |
Defined in Cardano.Api.Keys.Byron Methods fromCBOR ∷ Decoder s (VerificationKey ByronKey) # | |
FromCBOR (VerificationKey ByronKeyLegacy) Source # | |
Defined in Cardano.Api.Keys.Byron Methods fromCBOR ∷ Decoder s (VerificationKey ByronKeyLegacy) # label ∷ Proxy (VerificationKey ByronKeyLegacy) → Text # | |
FromCBOR (VerificationKey KesKey) Source # | |
Defined in Cardano.Api.Keys.Praos Methods fromCBOR ∷ Decoder s (VerificationKey KesKey) # | |
FromCBOR (VerificationKey VrfKey) Source # | |
Defined in Cardano.Api.Keys.Praos Methods fromCBOR ∷ Decoder s (VerificationKey VrfKey) # | |
FromCBOR (VerificationKey GenesisDelegateExtendedKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (VerificationKey GenesisDelegateExtendedKey) # label ∷ Proxy (VerificationKey GenesisDelegateExtendedKey) → Text # | |
FromCBOR (VerificationKey GenesisDelegateKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (VerificationKey GenesisDelegateKey) # | |
FromCBOR (VerificationKey GenesisExtendedKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (VerificationKey GenesisExtendedKey) # | |
FromCBOR (VerificationKey GenesisKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (VerificationKey GenesisKey) # label ∷ Proxy (VerificationKey GenesisKey) → Text # | |
FromCBOR (VerificationKey GenesisUTxOKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (VerificationKey GenesisUTxOKey) # label ∷ Proxy (VerificationKey GenesisUTxOKey) → Text # | |
FromCBOR (VerificationKey PaymentExtendedKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (VerificationKey PaymentExtendedKey) # | |
FromCBOR (VerificationKey PaymentKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (VerificationKey PaymentKey) # label ∷ Proxy (VerificationKey PaymentKey) → Text # | |
FromCBOR (VerificationKey StakeExtendedKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (VerificationKey StakeExtendedKey) # | |
FromCBOR (VerificationKey StakeKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (VerificationKey StakeKey) # | |
FromCBOR (VerificationKey StakePoolKey) Source # | |
Defined in Cardano.Api.Keys.Shelley Methods fromCBOR ∷ Decoder s (VerificationKey StakePoolKey) # label ∷ Proxy (VerificationKey StakePoolKey) → Text # | |
(Typeable era, Era (ShelleyLedgerEra era), FromCBOR (PParams (ShelleyLedgerEra era)), FromCBOR (StashedAVVMAddresses (ShelleyLedgerEra era)), FromCBOR (Value (ShelleyLedgerEra era)), FromCBOR (State (EraRule "PPUP" (ShelleyLedgerEra era))), Share (TxOut (ShelleyLedgerEra era)) ~ Interns (Credential 'Staking (Crypto (ShelleyLedgerEra era))), FromSharedCBOR (TxOut (ShelleyLedgerEra era)), HashAnnotated (TxBody (ShelleyLedgerEra era)) EraIndependentTxBody (Crypto (ShelleyLedgerEra era))) ⇒ FromCBOR (DebugLedgerState era) Source # | |
Defined in Cardano.Api.Query | |
(Typeable lang, HasTypeProxy lang) ⇒ FromCBOR (PlutusScript lang) Source # | |
Defined in Cardano.Api.Script | |
SerialiseAsRawBytes a ⇒ FromCBOR (UsingRawBytes a) Source # | |
Defined in Cardano.Api.SerialiseUsing | |
(Typeable t, FromCBOR (Annotator t)) ⇒ FromCBOR (Annotator (MemoBytes t)) | |
(Era era, FromCBOR (Annotator (Script era)), AlonzoScript era ~ Script era) ⇒ FromCBOR (Annotator (AuxiliaryData era)) | |
(Era era, FromCBOR (Annotator (Script era)), Script era ~ AlonzoScript era) ⇒ FromCBOR (Annotator (AuxiliaryDataRaw era)) | |
Typeable era ⇒ FromCBOR (Annotator (Data era)) | |
Era era ⇒ FromCBOR (Annotator (Script era)) | |
(EraScript era, Script era ~ AlonzoScript era, FromCBOR (Annotator (TxBody era)), FromCBOR (Annotator (AuxiliaryData era))) ⇒ FromCBOR (Annotator (AlonzoTx era)) | |
(Era era, FromCBOR (PParamsUpdate era), Val (Value era), Show (Value era), DecodeNonNegative (Value era)) ⇒ FromCBOR (Annotator (AlonzoTxBody era)) | |
(Era era, FromCBOR (PParamsUpdate era), Val (Value era), Show (Value era), DecodeNonNegative (Value era)) ⇒ FromCBOR (Annotator (TxBodyRaw era)) | |
(Script era ~ AlonzoScript era, EraTx era) ⇒ FromCBOR (Annotator (TxSeq era)) | |
Era era ⇒ FromCBOR (Annotator (Redeemers era)) | |
Era era ⇒ FromCBOR (Annotator (RedeemersRaw era)) | |
Era era ⇒ FromCBOR (Annotator (TxDats era)) | |
Era era ⇒ FromCBOR (Annotator (TxDatsRaw era)) | |
(EraScript era, Script era ~ AlonzoScript era) ⇒ FromCBOR (Annotator (TxWitness era)) | |
(EraScript era, ToCBOR (Data era), EraScript era, Script era ~ AlonzoScript era) ⇒ FromCBOR (Annotator (TxWitnessRaw era)) | |
(Era era, Val (Value era), DecodeNonNegative (Value era), FromCBOR (PParamsUpdate era), FromCBOR (Annotator (Script era))) ⇒ FromCBOR (Annotator (BabbageTxBody era)) | |
(Era era, Val (Value era), DecodeNonNegative (Value era), FromCBOR (PParamsUpdate era), FromCBOR (Annotator (Script era))) ⇒ FromCBOR (Annotator (TxBodyRaw era)) | |
(EraSegWits era, FromCBOR (Annotator h), Typeable h) ⇒ FromCBOR (Annotator (Block h era)) | |
Crypto crypto ⇒ FromCBOR (Annotator (BootstrapWitness crypto)) | |
(Typeable kr, Crypto crypto) ⇒ FromCBOR (Annotator (WitVKey kr crypto)) | |
EraTx era ⇒ FromCBOR (Annotator (ShelleyTxSeq era)) | |
Typeable era ⇒ FromCBOR (Annotator (Metadata era)) | |
Crypto crypto ⇒ FromCBOR (Annotator (MultiSig crypto)) | |
Crypto crypto ⇒ FromCBOR (Annotator (MultiSigRaw crypto)) | |
EraTx era ⇒ FromCBOR (Annotator (Tx era)) | |
(Era era, FromCBOR (Annotator (TxBody era)), FromCBOR (Annotator (Witnesses era)), FromCBOR (Annotator (AuxiliaryData era))) ⇒ FromCBOR (Annotator (TxRaw era)) | |
EraScript era ⇒ FromCBOR (Annotator (WitnessSetHKD Identity era)) | |
EraTxBody era ⇒ FromCBOR (Annotator (TxBody era)) | |
(Era era, FromCBOR (PParamsUpdate era), DecodeNonNegative (Value era), Compactible (Value era), Show (Value era)) ⇒ FromCBOR (Annotator (TxBodyRaw era)) | |
(Era era, FromCBOR (Annotator (Script era))) ⇒ FromCBOR (Annotator (AuxiliaryDataRaw era)) | |
(Era era, FromCBOR (Annotator (Script era))) ⇒ FromCBOR (Annotator (MAAuxiliaryData era)) | |
Crypto crypto ⇒ FromCBOR (Annotator (Timelock crypto)) | |
Crypto crypto ⇒ FromCBOR (Annotator (TimelockRaw crypto)) | |
ShelleyMAEraTxBody era ⇒ FromCBOR (Annotator (MATxBody era)) | |
ShelleyMAEraTxBody era ⇒ FromCBOR (Annotator (TxBodyRaw era)) | |
Crypto crypto ⇒ FromCBOR (Annotator (BHeader crypto)) | |
ShelleyCompatible proto era ⇒ FromCBOR (Annotator (Header (ShelleyBlock proto era))) | |
Crypto crypto ⇒ FromCBOR (Annotator (Header crypto)) | |
Crypto crypto ⇒ FromCBOR (Annotator (HeaderRaw crypto)) | |
ShelleyCompatible proto era ⇒ FromCBOR (Annotator (ShelleyBlock proto era)) | |
FromCBOR (SigDSIGN Ed25519Bip32DSIGN) Source # | |
Defined in Cardano.Api.Crypto.Ed25519Bip32 Methods fromCBOR ∷ Decoder s (SigDSIGN Ed25519Bip32DSIGN) # | |
FromCBOR (SigDSIGN EcdsaSecp256k1DSIGN) | |
FromCBOR (SigDSIGN Ed25519DSIGN) | |
FromCBOR (SigDSIGN Ed448DSIGN) | |
FromCBOR (SigDSIGN MockDSIGN) | |
FromCBOR (SigDSIGN SchnorrSecp256k1DSIGN) | |
FromCBOR (SignKeyDSIGN Ed25519Bip32DSIGN) Source # | |
Defined in Cardano.Api.Crypto.Ed25519Bip32 Methods fromCBOR ∷ Decoder s (SignKeyDSIGN Ed25519Bip32DSIGN) # label ∷ Proxy (SignKeyDSIGN Ed25519Bip32DSIGN) → Text # | |
FromCBOR (SignKeyDSIGN EcdsaSecp256k1DSIGN) | |
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 Methods fromCBOR ∷ Decoder s (SignKeyDSIGN EcdsaSecp256k1DSIGN) # label ∷ Proxy (SignKeyDSIGN EcdsaSecp256k1DSIGN) → Text # | |
FromCBOR (SignKeyDSIGN Ed25519DSIGN) | |
Defined in Cardano.Crypto.DSIGN.Ed25519 Methods fromCBOR ∷ Decoder s (SignKeyDSIGN Ed25519DSIGN) # label ∷ Proxy (SignKeyDSIGN Ed25519DSIGN) → Text # | |
FromCBOR (SignKeyDSIGN Ed448DSIGN) | |
Defined in Cardano.Crypto.DSIGN.Ed448 Methods fromCBOR ∷ Decoder s (SignKeyDSIGN Ed448DSIGN) # label ∷ Proxy (SignKeyDSIGN Ed448DSIGN) → Text # | |
FromCBOR (SignKeyDSIGN MockDSIGN) | |
Defined in Cardano.Crypto.DSIGN.Mock Methods fromCBOR ∷ Decoder s (SignKeyDSIGN MockDSIGN) # label ∷ Proxy (SignKeyDSIGN MockDSIGN) → Text # | |
FromCBOR (SignKeyDSIGN SchnorrSecp256k1DSIGN) | |
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 Methods fromCBOR ∷ Decoder s (SignKeyDSIGN SchnorrSecp256k1DSIGN) # label ∷ Proxy (SignKeyDSIGN SchnorrSecp256k1DSIGN) → Text # | |
FromCBOR (VerKeyDSIGN Ed25519Bip32DSIGN) Source # | |
Defined in Cardano.Api.Crypto.Ed25519Bip32 Methods fromCBOR ∷ Decoder s (VerKeyDSIGN Ed25519Bip32DSIGN) # label ∷ Proxy (VerKeyDSIGN Ed25519Bip32DSIGN) → Text # | |
FromCBOR (VerKeyDSIGN EcdsaSecp256k1DSIGN) | |
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 Methods fromCBOR ∷ Decoder s (VerKeyDSIGN EcdsaSecp256k1DSIGN) # label ∷ Proxy (VerKeyDSIGN EcdsaSecp256k1DSIGN) → Text # | |
FromCBOR (VerKeyDSIGN Ed25519DSIGN) | |
Defined in Cardano.Crypto.DSIGN.Ed25519 Methods fromCBOR ∷ Decoder s (VerKeyDSIGN Ed25519DSIGN) # label ∷ Proxy (VerKeyDSIGN Ed25519DSIGN) → Text # | |
FromCBOR (VerKeyDSIGN Ed448DSIGN) | |
Defined in Cardano.Crypto.DSIGN.Ed448 Methods fromCBOR ∷ Decoder s (VerKeyDSIGN Ed448DSIGN) # label ∷ Proxy (VerKeyDSIGN Ed448DSIGN) → Text # | |
FromCBOR (VerKeyDSIGN MockDSIGN) | |
Defined in Cardano.Crypto.DSIGN.Mock | |
FromCBOR (VerKeyDSIGN SchnorrSecp256k1DSIGN) | |
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 Methods fromCBOR ∷ Decoder s (VerKeyDSIGN SchnorrSecp256k1DSIGN) # label ∷ Proxy (VerKeyDSIGN SchnorrSecp256k1DSIGN) → Text # | |
DSIGNAlgorithm d ⇒ FromCBOR (SigKES (CompactSingleKES d)) | |
(OptimizedKESAlgorithm d, HashAlgorithm h) ⇒ FromCBOR (SigKES (CompactSumKES h d)) | |
KnownNat t ⇒ FromCBOR (SigKES (MockKES t)) | |
(DSIGNAlgorithm d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ FromCBOR (SigKES (SimpleKES d t)) | |
DSIGNAlgorithm d ⇒ FromCBOR (SigKES (SingleKES d)) | |
(KESAlgorithm d, HashAlgorithm h) ⇒ FromCBOR (SigKES (SumKES h d)) | |
DSIGNAlgorithm d ⇒ FromCBOR (SignKeyKES (CompactSingleKES d)) | |
(OptimizedKESAlgorithm d, HashAlgorithm h) ⇒ FromCBOR (SignKeyKES (CompactSumKES h d)) | |
KnownNat t ⇒ FromCBOR (SignKeyKES (MockKES t)) | |
(DSIGNAlgorithm d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ FromCBOR (SignKeyKES (SimpleKES d t)) | |
DSIGNAlgorithm d ⇒ FromCBOR (SignKeyKES (SingleKES d)) | |
(KESAlgorithm d, HashAlgorithm h) ⇒ FromCBOR (SignKeyKES (SumKES h d)) | |
DSIGNAlgorithm d ⇒ FromCBOR (VerKeyKES (CompactSingleKES d)) | |
(OptimizedKESAlgorithm d, HashAlgorithm h) ⇒ FromCBOR (VerKeyKES (CompactSumKES h d)) | |
KnownNat t ⇒ FromCBOR (VerKeyKES (MockKES t)) | |
(DSIGNAlgorithm d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ FromCBOR (VerKeyKES (SimpleKES d t)) | |
DSIGNAlgorithm d ⇒ FromCBOR (VerKeyKES (SingleKES d)) | |
(KESAlgorithm d, HashAlgorithm h) ⇒ FromCBOR (VerKeyKES (SumKES h d)) | |
FromCBOR (CertVRF MockVRF) | |
FromCBOR (CertVRF SimpleVRF) | |
FromCBOR (CertVRF PraosVRF) | |
Typeable v ⇒ FromCBOR (OutputVRF v) | |
FromCBOR (SignKeyVRF MockVRF) | |
FromCBOR (SignKeyVRF SimpleVRF) | |
FromCBOR (SignKeyVRF PraosVRF) | |
FromCBOR (VerKeyVRF MockVRF) | |
FromCBOR (VerKeyVRF SimpleVRF) | |
FromCBOR (VerKeyVRF PraosVRF) | |
Typeable a ⇒ FromCBOR (RedeemSignature a) | |
Typeable a ⇒ FromCBOR (Signature a) | |
Typeable era ⇒ FromCBOR (BinaryData era) | |
Era era ⇒ FromCBOR (Datum era) | |
Era era ⇒ FromCBOR (PParams era) | |
Era era ⇒ FromCBOR (PParamsUpdate era) | |
Crypto crypto ⇒ FromCBOR (CollectError crypto) | |
(Typeable era, FromCBOR (ShelleyBbodyPredFailure era)) ⇒ FromCBOR (AlonzoBbodyPredFailure era) | |
(Era era, FromCBOR (TxOut era), FromCBOR (Value era), FromCBOR (PredicateFailure (EraRule "UTXOS" era))) ⇒ FromCBOR (AlonzoUtxoPredFailure era) | |
(Era era, FromCBOR (PredicateFailure (EraRule "PPUP" era))) ⇒ FromCBOR (AlonzoUtxosPredFailure era) | |
(Era era, FromCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (Script era), Typeable (AuxiliaryData era)) ⇒ FromCBOR (AlonzoUtxowPredFailure era) | |
Crypto c ⇒ FromCBOR (ScriptPurpose c) | |
(Era era, Show (Value era), Val (Value era), DecodeNonNegative (Value era)) ⇒ FromCBOR (AlonzoTxOut era) | |
(Era era, FromCBOR (PParamsUpdate era), Show (Value era), Val (Value era), DecodeNonNegative (Value era)) ⇒ FromCBOR (TxBodyRaw era) | |
Crypto crypto ⇒ FromCBOR (TranslationError crypto) | |
Crypto crypto ⇒ FromCBOR (TxOutSource crypto) | |
Era era ⇒ FromCBOR (BabbagePParams era) | |
Era era ⇒ FromCBOR (BabbagePParamsUpdate era) | |
(Era era, FromCBOR (TxOut era), FromCBOR (Value era), FromCBOR (PredicateFailure (EraRule "UTXOS" era)), FromCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (Script era), Typeable (AuxiliaryData era)) ⇒ FromCBOR (BabbageUtxoPredFailure era) | |
(Era era, FromCBOR (TxOut era), FromCBOR (Value era), FromCBOR (PredicateFailure (EraRule "UTXOS" era)), FromCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (Script era), Typeable (AuxiliaryData era)) ⇒ FromCBOR (BabbageUtxowPredFailure era) | |
(Era era, Val (Value era), FromCBOR (Annotator (Script era)), DecodeNonNegative (Value era)) ⇒ FromCBOR (BabbageTxOut era) | |
(Era era, Val (Value era), DecodeNonNegative (Value era), FromCBOR (Annotator (Script era)), FromCBOR (PParamsUpdate era)) ⇒ FromCBOR (TxBodyRaw era) | |
FromCBOR (ABody ByteSpan) | |
FromCBOR (ABlockSignature ByteSpan) | |
FromCBOR (Attributes AddrAttributes) | |
FromCBOR (Attributes ()) | |
FromCBOR a ⇒ FromCBOR (MerkleRoot a) | |
(FromCBOR a, ToCBOR a) ⇒ FromCBOR (MerkleTree a) | |
FromCBOR (ACertificate ByteSpan) | |
FromCBOR (APayload ByteSpan) | |
FromCBOR (ATxAux ByteSpan) | |
FromCBOR (ATxPayload ByteSpan) | |
FromCBOR (APayload ByteSpan) | |
FromCBOR (AProposal ByteSpan) | |
FromCBOR n ⇒ FromCBOR (TooLarge n) | |
FromCBOR (AVote ByteSpan) | |
Crypto crypto ⇒ FromCBOR (Addr crypto) | |
Crypto crypto ⇒ FromCBOR (RewardAcnt crypto) | |
Crypto crypto ⇒ FromCBOR (AuxiliaryDataHash crypto) | |
Crypto crypto ⇒ FromCBOR (BlocksMade crypto) | |
FromCBOR (CompactForm Coin) | |
FromCBOR (CompactForm DeltaCoin) | |
Crypto crypto ⇒ FromCBOR (CompactForm (MaryValue crypto)) | |
Crypto crypto ⇒ FromCBOR (ScriptHash crypto) | |
Crypto crypto ⇒ FromCBOR (GenDelegPair crypto) | |
Crypto crypto ⇒ FromCBOR (GenDelegs crypto) | |
Crypto crypto ⇒ FromCBOR (IndividualPoolStake crypto) | |
Crypto crypto ⇒ FromCBOR (PoolDistr crypto) | |
(FromCBORGroup a, ToCBORGroup a) ⇒ FromCBOR (CBORGroup a) | |
FromCBOR a ⇒ FromCBOR (CborSeq a) | |
FromCBOR a ⇒ FromCBOR (Sized a) | |
Crypto crypto ⇒ FromCBOR (TxId crypto) | |
Crypto crypto ⇒ FromCBOR (TxIn crypto) | |
(Era era, FromCBOR (PredicateFailure (EraRule "LEDGER" era))) ⇒ FromCBOR (ApplyTxError era) | |
Crypto crypto ⇒ FromCBOR (DCert crypto) | |
Crypto crypto ⇒ FromCBOR (MIRCert crypto) | |
Crypto crypto ⇒ FromCBOR (MIRTarget crypto) | |
Era era ⇒ FromCBOR (ShelleyGenesis era) | |
Defined in Cardano.Ledger.Shelley.Genesis | |
Crypto crypto ⇒ FromCBOR (ShelleyGenesisStaking crypto) | |
Crypto crypto ⇒ FromCBOR (FutureGenDeleg crypto) | |
(Crypto crypto, FromSharedCBOR (PState crypto)) ⇒ FromCBOR (PState crypto) | |
(FromCBOR (Value era), FromCBOR (PParams era), HashAnnotated (TxBody era) EraIndependentTxBody (Crypto era), FromSharedCBOR (TxOut era), Share (TxOut era) ~ Interns (Credential 'Staking (Crypto era)), FromCBOR (State (EraRule "PPUP" era)), Era era) ⇒ FromCBOR (EpochState era) | |
(Era era, FromCBOR (PParams era), FromSharedCBOR (TxOut era), Share (TxOut era) ~ Interns (Credential 'Staking (Crypto era)), FromCBOR (Value era), FromCBOR (State (EraRule "PPUP" era)), FromCBOR (StashedAVVMAddresses era), HashAnnotated (TxBody era) EraIndependentTxBody (Crypto era)) ⇒ FromCBOR (NewEpochState era) | |
(Era era, FromCBOR (PParamsUpdate era)) ⇒ FromCBOR (PPUPState era) | |
Era era ⇒ FromCBOR (PParamsUpdate era) | |
(Era era, FromCBOR (PParamsUpdate era)) ⇒ FromCBOR (ProposedPPUpdates era) | |
Era era ⇒ FromCBOR (ShelleyPParams era) | |
(Era era, FromCBOR (PParamsUpdate era)) ⇒ FromCBOR (Update era) | |
Crypto crypto ⇒ FromCBOR (PoolParams crypto) | |
Crypto crypto ⇒ FromCBOR (RewardProvenance crypto) | |
Crypto crypto ⇒ FromCBOR (RewardProvenancePool crypto) | |
Crypto crypto ⇒ FromCBOR (FreeVars crypto) | |
Crypto c ⇒ FromCBOR (Pulser c) | |
Crypto crypto ⇒ FromCBOR (PulsingRewUpdate crypto) | |
Crypto c ⇒ FromCBOR (RewardAns c) | |
Crypto crypto ⇒ FromCBOR (RewardSnapShot crypto) | |
Crypto crypto ⇒ FromCBOR (RewardUpdate crypto) | |
Crypto crypto ⇒ FromCBOR (LeaderOnlyReward crypto) | |
Crypto crypto ⇒ FromCBOR (PoolRewardInfo crypto) | |
Crypto crypto ⇒ FromCBOR (Reward crypto) | |
(Era era, Typeable (Script era)) ⇒ FromCBOR (ShelleyDelegPredFailure era) | |
(Era era, FromCBOR (PredicateFailure (EraRule "DELPL" era)), Typeable (Script era)) ⇒ FromCBOR (ShelleyDelegsPredFailure era) | |
(Era era, FromCBOR (PredicateFailure (EraRule "POOL" era)), FromCBOR (PredicateFailure (EraRule "DELEG" era)), Typeable (Script era)) ⇒ FromCBOR (ShelleyDelplPredFailure era) | |
(FromCBOR (PredicateFailure (EraRule "DELEGS" era)), FromCBOR (PredicateFailure (EraRule "UTXOW" era)), Era era) ⇒ FromCBOR (ShelleyLedgerPredFailure era) | |
(Era era, FromCBOR (PredicateFailure (EraRule "LEDGER" era))) ⇒ FromCBOR (ShelleyLedgersPredFailure era) | |
Era era ⇒ FromCBOR (ShelleyPoolPredFailure era) | |
Era era ⇒ FromCBOR (ShelleyPpupPredFailure era) | |
(EraTxOut era, FromCBOR (PredicateFailure (EraRule "PPUP" era))) ⇒ FromCBOR (ShelleyUtxoPredFailure era) | |
(Era era, FromCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (Script era), Typeable (AuxiliaryData era)) ⇒ FromCBOR (ShelleyUtxowPredFailure era) | |
(Era era, FromCBOR (PParamsUpdate era), DecodeNonNegative (Value era), Compactible (Value era), Show (Value era)) ⇒ FromCBOR (TxBodyRaw era) | |
(Era era, DecodeNonNegative (Value era), Compactible (Value era), Show (Value era)) ⇒ FromCBOR (TxOut era) | |
Crypto crypto ⇒ FromCBOR (Wdrl crypto) | |
(FromCBOR (TxOut era), Era era) ⇒ FromCBOR (UTxO era) | |
Crypto crypto ⇒ FromCBOR (CompactValue crypto) | |
Crypto crypto ⇒ FromCBOR (MaryValue crypto) | |
Crypto crypto ⇒ FromCBOR (PolicyID crypto) | |
(EraTxOut era, FromCBOR (PredicateFailure (EraRule "PPUP" era))) ⇒ FromCBOR (ShelleyMAUtxoPredFailure era) | |
ShelleyMAEraTxBody era ⇒ FromCBOR (TxBodyRaw era) | |
Crypto crypto ⇒ FromCBOR (ChainDepState crypto) | |
Crypto crypto ⇒ FromCBOR (BHBody crypto) | |
Crypto crypto ⇒ FromCBOR (HashHeader crypto) | |
Crypto crypto ⇒ FromCBOR (LastAppliedBlock crypto) | |
Crypto crypto ⇒ FromCBOR (PrevHash crypto) | |
Crypto crypto ⇒ FromCBOR (OBftSlot crypto) | |
Crypto crypto ⇒ FromCBOR (PrtclState crypto) | |
(Serialise t, Typeable t) ⇒ FromCBOR (WithOrigin t) | |
FromCBOR a ⇒ FromCBOR (StrictMaybe a) | |
(Ord a, FromCBOR a) ⇒ FromCBOR (Set a) | |
PraosCrypto c ⇒ FromCBOR (PraosState c) | |
Crypto crypto ⇒ FromCBOR (HeaderBody crypto) | |
Crypto crypto ⇒ FromCBOR (HeaderRaw crypto) | |
PraosCrypto c ⇒ FromCBOR (TPraosState c) | |
Era era ⇒ FromCBOR (CompactGenesis era) | |
Crypto crypto ⇒ FromCBOR (StakeSnapshot crypto) | |
Crypto crypto ⇒ FromCBOR (StakeSnapshots crypto) | |
Crypto crypto ⇒ FromCBOR (ShelleyHash crypto) | |
FromCBOR a ⇒ FromCBOR (Vector a) | |
FromCBOR a ⇒ FromCBOR (NonEmpty a) | |
FromCBOR a ⇒ FromCBOR (Maybe a) | |
FromCBOR a ⇒ FromCBOR [a] | |
(FromCBOR a, FromCBOR b) ⇒ FromCBOR (Either a b) | |
(HashAlgorithm h, Typeable a) ⇒ FromCBOR (Hash h a) | |
(VRFAlgorithm v, Typeable a) ⇒ FromCBOR (CertifiedVRF v a) | |
(Typeable algo, Typeable a, HashAlgorithm algo) ⇒ FromCBOR (AbstractHash algo a) | |
(FromCBOR k, FromCBOR v) ⇒ FromCBOR (ListMap k v) | |
(FromCBOR a, Bounded (BoundedRatio b a), Bounded a, Integral a, Typeable b, Show a) ⇒ FromCBOR (BoundedRatio b a) | |
(Typeable kr, Crypto crypto) ⇒ FromCBOR (Credential kr crypto) | |
(Crypto crypto, Typeable disc) ⇒ FromCBOR (KeyHash disc crypto) | |
(Crypto crypto, Typeable kd) ⇒ FromCBOR (VKey kd crypto) | |
(Typeable index, Crypto c) ⇒ FromCBOR (SafeHash c index) | |
(Ord k, FromCBOR k, FromCBOR v) ⇒ FromCBOR (Map k v) | |
(FromCBOR a, FromCBOR b) ⇒ FromCBOR (a, b) | |
(Ord a, Ord b, FromCBOR a, FromCBOR b) ⇒ FromCBOR (BiMap b a b) | |
(Typeable s, FromCBOR a) ⇒ FromCBOR (Tagged s a) | |
(FromCBOR k, FromCBOR v, Ord k, Vector kv k, Vector vv v, Typeable kv, Typeable vv) ⇒ FromCBOR (KVVector kv vv (k, v)) | |
(FromCBOR a, FromCBOR b, FromCBOR c) ⇒ FromCBOR (a, b, c) | |
(Typeable kv, Typeable vv, FromCBOR k, FromCBOR v, Ord k, Vector kv k, Vector vv v) ⇒ FromCBOR (VMap kv vv k v) | |
(FromCBOR a, FromCBOR b, FromCBOR c, FromCBOR d) ⇒ FromCBOR (a, b, c, d) | |
(FromCBOR a, FromCBOR b, FromCBOR c, FromCBOR d, FromCBOR e) ⇒ FromCBOR (a, b, c, d, e) | |
(FromCBOR a, FromCBOR b, FromCBOR c, FromCBOR d, FromCBOR e, FromCBOR f, FromCBOR g) ⇒ FromCBOR (a, b, c, d, e, f, g) | |
class Typeable a ⇒ ToCBOR a where #
Minimal complete definition
Methods
encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy a → Size #
encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [a] → Size #