Safe Haskell | None |
---|---|
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 Bool | |
FromCBOR Float | |
FromCBOR Int | |
FromCBOR Int32 | |
FromCBOR Int64 | |
FromCBOR Integer | |
FromCBOR Natural | |
FromCBOR Word | |
FromCBOR Word8 | |
FromCBOR Word16 | |
FromCBOR Word32 | |
FromCBOR Word64 | |
FromCBOR () | |
FromCBOR ByteString | |
Defined in Cardano.Binary.FromCBOR | |
FromCBOR ShortByteString | |
Defined in Cardano.Binary.FromCBOR | |
FromCBOR Nano | |
FromCBOR Pico | |
FromCBOR Void | |
FromCBOR Text | |
FromCBOR UTCTime | |
FromCBOR NominalDiffTime | |
Defined in Cardano.Binary.FromCBOR | |
FromCBOR BlockNo | |
FromCBOR LByteString | |
FromCBOR EpochNo | |
FromCBOR SlotNo | |
FromCBOR Raw | |
FromCBOR NonNegativeInterval | |
FromCBOR UnitInterval | |
FromCBOR ProtVer | |
FromCBOR AlonzoGenesis | |
FromCBOR Coin | |
FromCBOR AssetName | |
FromCBOR Language | |
FromCBOR Prices | |
FromCBOR ExUnits | |
FromCBOR Metadatum | |
FromCBOR Desirability | |
FromCBOR StakePoolRelay | |
FromCBOR PoolMetadata | |
FromCBOR Ptr | |
FromCBOR Network | |
FromCBOR ValidityInterval | |
FromCBOR ByronHash | |
FromCBOR PositiveUnitInterval | |
FromCBOR EpochAndSlotCount | |
FromCBOR EpochNumber | |
FromCBOR EpochSlots | |
Defined in Cardano.Chain.Slotting.EpochSlots | |
FromCBOR SlotCount | |
FromCBOR SlotNumber | |
FromCBOR Config | |
FromCBOR GenesisNonAvvmBalances | |
FromCBOR GenesisDelegation | |
FromCBOR GenesisKeyHashes | |
FromCBOR CompactAddress | |
FromCBOR RequiresNetworkMagic | |
FromCBOR GenesisAvvmBalances | |
FromCBOR ProtocolParameters | |
FromCBOR ProtocolVersion | |
FromCBOR ProtocolMagicId | |
FromCBOR Certificate | |
FromCBOR SigningKey | |
FromCBOR SoftwareVersion | |
FromCBOR CompactRedeemVerificationKey | |
FromCBOR Lovelace | |
FromCBOR Error | |
FromCBOR ChainValidationState | |
FromCBOR VerificationKey | |
FromCBOR KeyHash | |
FromCBOR GenesisHash | |
FromCBOR CandidateProtocolUpdate | |
FromCBOR Endorsement | |
FromCBOR ApplyMempoolPayloadErr | |
Defined in Cardano.Chain.Byron.API.Mempool | |
FromCBOR Tx | |
FromCBOR Proposal | |
FromCBOR Vote | |
FromCBOR Map | |
FromCBOR ScheduledDelegation | |
FromCBOR State | |
FromCBOR UTxO | |
FromCBOR ToSign | |
FromCBOR SystemStart | |
Defined in Cardano.Slotting.Time | |
FromCBOR Nonce | |
FromCBOR RewardParams | |
FromCBOR RewardInfoPool | |
FromCBOR Point | |
FromCBOR Proof | |
FromCBOR SignKey | |
FromCBOR VerKey | |
FromCBOR RedeemVerificationKey | |
FromCBOR RedeemSigningKey | |
FromCBOR TranslationError | |
FromCBOR ScriptResult | |
FromCBOR IsValid | |
FromCBOR TagMismatchDescription | |
FromCBOR FailureDescription | |
FromCBOR RdmrPtr | |
FromCBOR Tag | |
FromCBOR PlutusDebug | |
FromCBOR ChainDifficulty | |
FromCBOR Proof | |
FromCBOR SscPayload | |
FromCBOR ProposalBody | |
FromCBOR TxInWitness | |
FromCBOR Body | |
FromCBOR TxPayload | |
FromCBOR Payload | |
FromCBOR Payload | |
FromCBOR BlockSignature | |
FromCBOR TxProof | |
FromCBOR SscProof | |
FromCBOR CompactTxIn | |
FromCBOR CompactTxOut | |
FromCBOR State | |
FromCBOR UTxOValidationError | |
FromCBOR BlockCount | |
FromCBOR UTxOConfiguration | |
FromCBOR ApplicationName | |
FromCBOR ApplicationVersion | |
FromCBOR ProtocolUpdateProposal | |
FromCBOR SoftwareUpdateProposal | |
FromCBOR Error | |
FromCBOR HDAddressPayload | |
FromCBOR NetworkMagic | |
FromCBOR AddrSpendingData | |
FromCBOR AddrType | |
FromCBOR Address | |
FromCBOR Address' | |
FromCBOR LovelaceError | |
FromCBOR LovelacePortion | |
FromCBOR TxFeePolicy | |
FromCBOR TxSizeLinear | |
FromCBOR State | |
FromCBOR State | |
FromCBOR GenesisData | |
FromCBOR CompactTxId | |
FromCBOR TxIn | |
FromCBOR TxOut | |
FromCBOR TxAux | |
FromCBOR TxSigData | |
FromCBOR UTxOError | |
FromCBOR ApplicationNameError | |
FromCBOR InstallerHash | |
FromCBOR SystemTag | |
FromCBOR ProtocolParametersUpdate | |
FromCBOR SoftforkRule | |
FromCBOR SoftwareVersionError | |
FromCBOR SystemTagError | |
FromCBOR Error | |
FromCBOR Error | |
FromCBOR Error | |
FromCBOR Adopted | |
FromCBOR TxIx | |
FromCBOR CertIx | |
FromCBOR ActiveSlotCoeff | |
FromCBOR DnsName | |
FromCBOR Port | |
FromCBOR PositiveInterval | |
FromCBOR Url | |
FromCBOR DeltaCoin | |
FromCBOR ChainCode | |
FromCBOR AccountState | |
FromCBOR Likelihood | |
FromCBOR LogWeight | |
FromCBOR MIRPot | |
FromCBOR PerformanceEstimate | |
FromCBOR RewardType | |
FromCBOR VotingPeriod | |
FromCBOR TicknState | |
FromCBOR KESPeriod | |
FromCBOR TxValidationError | |
FromCBOR ScriptData Source # | |
Defined in Cardano.Api.ScriptData | |
FromCBOR ExecutionUnits Source # | |
Defined in Cardano.Api.Script | |
FromCBOR AnyPlutusScriptVersion Source # | |
Defined in Cardano.Api.Script | |
FromCBOR Lovelace Source # | |
FromCBOR UpdateProposal Source # | |
Defined in Cardano.Api.ProtocolParameters | |
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 Certificate Source # | |
Defined in Cardano.Api.Certificate | |
FromCBOR ScriptValidity Source # | |
Defined in Cardano.Api.TxBody | |
FromCBOR OperationalCertificateIssueCounter Source # | |
Defined in Cardano.Api.OperationalCertificate Methods fromCBOR ∷ Decoder s OperationalCertificateIssueCounter # | |
FromCBOR OperationalCertificate Source # | |
Defined in Cardano.Api.OperationalCertificate | |
FromCBOR a ⇒ FromCBOR [a] | |
FromCBOR a ⇒ FromCBOR (Maybe a) | |
(Integral a, FromCBOR a) ⇒ FromCBOR (Ratio a) | |
(Ord a, FromCBOR a) ⇒ FromCBOR (Set a) | |
FromCBOR a ⇒ FromCBOR (NonEmpty a) | |
(Serialise t, Typeable t) ⇒ FromCBOR (WithOrigin t) | |
FromCBOR a ⇒ FromCBOR (Vector a) | |
(Era era, FromCBOR (Annotator (TxBody era)), FromCBOR (Annotator (AuxiliaryData era)), FromCBOR (Annotator (Witnesses era)), ValidateScript era, Script era ~ Script era) ⇒ FromCBOR (Annotator (ValidatedTx era)) | |
(Era era, Ord (Script era), FromCBOR (Annotator (Script era)), Script era ~ Script era) ⇒ FromCBOR (Annotator (AuxiliaryData era)) | |
(Crypto (Crypto era), Typeable (Crypto era), Typeable era) ⇒ FromCBOR (Annotator (Script era)) | |
(FromCBOR (Annotator (AuxiliaryData era)), FromCBOR (Annotator (Script era)), FromCBOR (Annotator (TxBody era)), FromCBOR (Annotator (Witnesses era)), ToCBOR (AuxiliaryData era), ToCBOR (Script era), ToCBOR (TxBody era), ToCBOR (Witnesses era), ValidateScript era, Script era ~ Script era, Era era) ⇒ FromCBOR (Annotator (TxSeq era)) | |
(Era era, Typeable (Script era), Typeable (AuxiliaryData era), Compactible (Value era), Show (Value era), DecodeNonNegative (Value era), FromCBOR (Annotator (Script era)), SerialisableData (PParamsDelta era)) ⇒ FromCBOR (Annotator (TxBody era)) | |
(Era era, ValidateScript era, Script era ~ Script era) ⇒ FromCBOR (Annotator (TxWitness era)) | |
(BlockAnn era, Typeable era) ⇒ FromCBOR (Annotator (TxSeq era)) | |
(Typeable era, FromCBOR (Annotator (Script era)), ValidateScript era) ⇒ FromCBOR (Annotator (WitnessSetHKD Identity era)) | |
(Era era, FromCBOR (TxOut era), FromCBOR (PParamsDelta era), ToCBOR (PParamsDelta era)) ⇒ FromCBOR (Annotator (TxBody era)) | |
Crypto crypto ⇒ FromCBOR (Annotator (Timelock crypto)) | |
(Era era, AnnotatedData (Script era)) ⇒ FromCBOR (Annotator (AuxiliaryData era)) | |
FamsFrom era ⇒ FromCBOR (Annotator (TxBody era)) | |
(Era era, FromCBOR (Annotator (TxBody era)), FromCBOR (Annotator (AuxiliaryData era)), FromCBOR (Annotator (Witnesses era))) ⇒ FromCBOR (Annotator (Tx era)) | |
(Typeable t, FromCBOR (Annotator t)) ⇒ FromCBOR (Annotator (MemoBytes t)) | |
(Era era, ToCBOR (Data era), ToCBOR (Script era), Typeable (Script era), ValidateScript era, Script era ~ Script era) ⇒ FromCBOR (Annotator (TxWitnessRaw era)) | |
Crypto crypto ⇒ FromCBOR (Annotator (TimelockRaw crypto)) | |
(Era era, AnnotatedData (Script era)) ⇒ FromCBOR (Annotator (AuxiliaryDataRaw era)) | |
(BlockAnn era, ValidateScript era, SupportsSegWit era, FromCBOR (Annotator (TxSeq era)), FromCBOR (Annotator h), Typeable h) ⇒ FromCBOR (Annotator (Block h era)) | |
(Typeable kr, Crypto crypto) ⇒ FromCBOR (Annotator (WitVKey kr crypto)) | |
Typeable era ⇒ FromCBOR (Annotator (Data era)) | |
(Era era, Ord (Script era), FromCBOR (Annotator (Script era)), Script era ~ Script era) ⇒ FromCBOR (Annotator (AuxiliaryDataRaw era)) | |
Typeable era ⇒ FromCBOR (Annotator (Metadata era)) | |
Crypto crypto ⇒ FromCBOR (Annotator (MultiSig crypto)) | |
Crypto crypto ⇒ FromCBOR (Annotator (BootstrapWitness crypto)) | |
Era era ⇒ FromCBOR (Annotator (TxDats era)) | |
Era era ⇒ FromCBOR (Annotator (Redeemers era)) | |
ShelleyBasedEra era ⇒ FromCBOR (Annotator (Header (ShelleyBlock era))) | |
ShelleyBasedEra era ⇒ FromCBOR (Annotator (ShelleyBlock era)) | |
(Typeable era, Era era) ⇒ FromCBOR (Annotator (TxDatsRaw era)) | |
Era era ⇒ FromCBOR (Annotator (RedeemersRaw era)) | |
(Era era, Typeable (Script era), Typeable (AuxiliaryData era), Compactible (Value era), Show (Value era), DecodeNonNegative (Value era), FromCBOR (Annotator (Script era)), FromCBOR (PParamsDelta era), ToCBOR (PParamsDelta era)) ⇒ FromCBOR (Annotator (TxBodyRaw era)) | |
(Era era, FromCBOR (Annotator (TxBody era)), FromCBOR (Annotator (AuxiliaryData era)), FromCBOR (Annotator (Witnesses era))) ⇒ FromCBOR (Annotator (TxRaw era)) | |
Crypto crypto ⇒ FromCBOR (Annotator (MultiSigRaw crypto)) | |
(TransTxBody FromCBOR era, ToCBOR (PParamsDelta era), Era era) ⇒ FromCBOR (Annotator (TxBodyRaw era)) | |
FamsFrom era ⇒ FromCBOR (Annotator (TxBodyRaw era)) | |
Crypto crypto ⇒ FromCBOR (Annotator (BHeader crypto)) | |
FromCBOR (SigDSIGN Ed25519Bip32DSIGN) Source # | |
Defined in Cardano.Api.Crypto.Ed25519Bip32 Methods fromCBOR ∷ Decoder s (SigDSIGN Ed25519Bip32DSIGN) # | |
FromCBOR (SigDSIGN MockDSIGN) | |
FromCBOR (SigDSIGN Ed25519DSIGN) | |
FromCBOR (SigDSIGN Ed448DSIGN) | |
FromCBOR (SignKeyDSIGN Ed25519Bip32DSIGN) Source # | |
Defined in Cardano.Api.Crypto.Ed25519Bip32 Methods fromCBOR ∷ Decoder s (SignKeyDSIGN Ed25519Bip32DSIGN) # label ∷ Proxy (SignKeyDSIGN Ed25519Bip32DSIGN) → Text # | |
FromCBOR (SignKeyDSIGN MockDSIGN) | |
Defined in Cardano.Crypto.DSIGN.Mock Methods fromCBOR ∷ Decoder s (SignKeyDSIGN MockDSIGN) # label ∷ Proxy (SignKeyDSIGN MockDSIGN) → 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 (VerKeyDSIGN Ed25519Bip32DSIGN) Source # | |
Defined in Cardano.Api.Crypto.Ed25519Bip32 Methods fromCBOR ∷ Decoder s (VerKeyDSIGN Ed25519Bip32DSIGN) # label ∷ Proxy (VerKeyDSIGN Ed25519Bip32DSIGN) → Text # | |
FromCBOR (VerKeyDSIGN MockDSIGN) | |
Defined in Cardano.Crypto.DSIGN.Mock | |
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 # | |
(Era era, FromCBOR (PParamsDelta era)) ⇒ FromCBOR (PPUPState era) | |
FromCBOR a ⇒ FromCBOR (StrictMaybe a) | |
(Era era, FromCBOR (PredicateFailure (EraRule "LEDGER" era))) ⇒ FromCBOR (ApplyTxError era) | |
Crypto crypto ⇒ FromCBOR (Value crypto) | |
(FromCBOR (PredicateFailure (EraRule "DELEGS" era)), FromCBOR (PredicateFailure (EraRule "UTXOW" era)), Era era) ⇒ FromCBOR (LedgerPredicateFailure era) | |
Era era ⇒ FromCBOR (PParamsUpdate era) | |
Era era ⇒ FromCBOR (PParams era) | |
(Era era, TransTxOut DecodeNonNegative era, Show (Value era)) ⇒ FromCBOR (TxOut era) | |
Era era ⇒ FromCBOR (PParamsUpdate era) | |
Era era ⇒ FromCBOR (PParams era) | |
Crypto crypto ⇒ FromCBOR (ScriptHash crypto) | |
Crypto crypto ⇒ FromCBOR (AuxiliaryDataHash crypto) | |
Crypto crypto ⇒ FromCBOR (PolicyID crypto) | |
(FromCBOR (PParams era), TransValue FromCBOR 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) | |
(FromCBOR (TxOut era), Era era) ⇒ FromCBOR (UTxO 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 (NewEpochState era) | |
Crypto crypto ⇒ FromCBOR (BlocksMade crypto) | |
Crypto crypto ⇒ FromCBOR (PulsingRewUpdate crypto) | |
Crypto crypto ⇒ FromCBOR (PoolDistr crypto) | |
(Era era, FromCBOR (PParamsDelta era)) ⇒ FromCBOR (ProposedPPUpdates era) | |
Era era ⇒ FromCBOR (ShelleyGenesis era) | |
Defined in Cardano.Ledger.Shelley.Genesis | |
Crypto crypto ⇒ FromCBOR (GenDelegPair crypto) | |
Crypto crypto ⇒ FromCBOR (Addr crypto) | |
Crypto crypto ⇒ FromCBOR (ShelleyGenesisStaking crypto) | |
Crypto crypto ⇒ FromCBOR (CompactForm (Value crypto)) | |
FromCBOR (CompactForm Coin) | |
(Era era, FromCBOR (PParamsDelta era)) ⇒ FromCBOR (Update era) | |
Crypto crypto ⇒ FromCBOR (TxIn crypto) | |
(Era era, DecodeNonNegative (Value era), Show (Value era), Compactible (Value era)) ⇒ FromCBOR (TxOut era) | |
Crypto crypto ⇒ FromCBOR (DCert crypto) | |
Crypto crypto ⇒ FromCBOR (Wdrl crypto) | |
Typeable era ⇒ FromCBOR (BinaryData era) | |
Crypto crypto ⇒ FromCBOR (RewardProvenance crypto) | |
Crypto crypto ⇒ FromCBOR (RewardProvenancePool crypto) | |
Crypto crypto ⇒ FromCBOR (PoolParams crypto) | |
FromCBOR (VerKeyVRF PraosVRF) | |
FromCBOR (VerKeyVRF MockVRF) | |
FromCBOR (VerKeyVRF SimpleVRF) | |
Crypto crypto ⇒ FromCBOR (RewardAcnt crypto) | |
Crypto crypto ⇒ FromCBOR (CompactAddr crypto) | |
DSIGNAlgorithm d ⇒ FromCBOR (SigKES (SingleKES d)) | |
(KESAlgorithm d, HashAlgorithm h, Typeable d) ⇒ FromCBOR (SigKES (SumKES h d)) | |
KnownNat t ⇒ FromCBOR (SigKES (MockKES t)) | |
(DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ FromCBOR (SigKES (SimpleKES d t)) | |
DSIGNAlgorithm d ⇒ FromCBOR (VerKeyKES (SingleKES d)) | |
(KESAlgorithm d, HashAlgorithm h, Typeable d) ⇒ FromCBOR (VerKeyKES (SumKES h d)) | |
KnownNat t ⇒ FromCBOR (VerKeyKES (MockKES t)) | |
(DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ FromCBOR (VerKeyKES (SimpleKES d t)) | |
DSIGNAlgorithm d ⇒ FromCBOR (SignKeyKES (SingleKES d)) | |
(KESAlgorithm d, HashAlgorithm h, Typeable d) ⇒ FromCBOR (SignKeyKES (SumKES h d)) | |
KnownNat t ⇒ FromCBOR (SignKeyKES (MockKES t)) | |
(DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ FromCBOR (SignKeyKES (SimpleKES d t)) | |
FromCBOR (Hash StakePoolKey) Source # | |
Defined in Cardano.Api.KeysShelley | |
FromCBOR (Hash GenesisUTxOKey) Source # | |
Defined in Cardano.Api.KeysShelley | |
FromCBOR (Hash GenesisDelegateExtendedKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (Hash GenesisDelegateExtendedKey) # | |
FromCBOR (Hash GenesisDelegateKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (Hash GenesisDelegateKey) # | |
FromCBOR (Hash GenesisExtendedKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (Hash GenesisExtendedKey) # | |
FromCBOR (Hash GenesisKey) Source # | |
Defined in Cardano.Api.KeysShelley | |
FromCBOR (Hash StakeExtendedKey) Source # | |
Defined in Cardano.Api.KeysShelley | |
FromCBOR (Hash StakeKey) Source # | |
FromCBOR (Hash PaymentExtendedKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (Hash PaymentExtendedKey) # | |
FromCBOR (Hash PaymentKey) Source # | |
Defined in Cardano.Api.KeysShelley | |
FromCBOR (Hash ByronKeyLegacy) Source # | |
Defined in Cardano.Api.KeysByron | |
FromCBOR (Hash ByronKey) Source # | |
FromCBOR (Hash VrfKey) Source # | |
FromCBOR (Hash KesKey) Source # | |
Crypto c ⇒ FromCBOR (ShelleyHash c) | |
Era era ⇒ FromCBOR (CompactGenesis era) | |
FromCBOR (ATxAux ByteSpan) | |
FromCBOR (ACertificate ByteSpan) | |
FromCBOR (AProposal ByteSpan) | |
FromCBOR (AVote ByteSpan) | |
Crypto crypto ⇒ FromCBOR (BHBody crypto) | |
Crypto crypto ⇒ FromCBOR (PrevHash crypto) | |
Crypto crypto ⇒ FromCBOR (TxId crypto) | |
Crypto crypto ⇒ FromCBOR (IndividualPoolStake crypto) | |
Crypto crypto ⇒ FromCBOR (ChainDepState crypto) | |
Crypto crypto ⇒ FromCBOR (PrtclState crypto) | |
Typeable v ⇒ FromCBOR (OutputVRF v) | |
FromCBOR (CertVRF PraosVRF) | |
FromCBOR (CertVRF MockVRF) | |
FromCBOR (CertVRF SimpleVRF) | |
FromCBOR (SignKeyVRF PraosVRF) | |
FromCBOR (SignKeyVRF MockVRF) | |
FromCBOR (SignKeyVRF SimpleVRF) | |
Typeable a ⇒ FromCBOR (RedeemSignature a) | |
Typeable a ⇒ FromCBOR (Signature a) | |
Crypto crypto ⇒ FromCBOR (CollectError crypto) | |
(Typeable c, Crypto c) ⇒ FromCBOR (ScriptPurpose c) | |
(Typeable era, FromCBOR (BbodyPredicateFailure era)) ⇒ FromCBOR (AlonzoBbodyPredFail era) | |
(Era era, FromCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (Script era), Typeable (AuxiliaryData era)) ⇒ FromCBOR (AlonzoPredFail era) | |
(Era era, FromCBOR (PredicateFailure (EraRule "DELPL" era)), Typeable (Script era)) ⇒ FromCBOR (DelegsPredicateFailure era) | |
Crypto crypto ⇒ FromCBOR (GenDelegs crypto) | |
(Era era, FromCBOR (TxOut era), FromCBOR (Value era), FromCBOR (PredicateFailure (EraRule "UTXOS" era))) ⇒ FromCBOR (UtxoPredicateFailure era) | |
(Era era, FromCBOR (PredicateFailure (EraRule "PPUP" era))) ⇒ FromCBOR (UtxosPredicateFailure era) | |
Era era ⇒ FromCBOR (PpupPredicateFailure era) | |
(Era era, FromCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (Script era), Typeable (AuxiliaryData era)) ⇒ FromCBOR (UtxowPredicateFailure era) | |
(Era era, Typeable (Script era), Typeable (AuxiliaryData era), Compactible (Value era), Show (Value era), DecodeNonNegative (Value era), FromCBOR (Annotator (Script era)), FromCBOR (PParamsDelta era), ToCBOR (PParamsDelta era)) ⇒ FromCBOR (TxBodyRaw era) | |
FromCBOR (ABody ByteSpan) | |
FromCBOR (APayload ByteSpan) | |
FromCBOR (ABlockSignature ByteSpan) | |
FromCBOR (ATxPayload ByteSpan) | |
FromCBOR (APayload ByteSpan) | |
FromCBOR (Attributes ()) | |
FromCBOR (Attributes AddrAttributes) | |
FromCBOR a ⇒ FromCBOR (MerkleRoot a) | |
(FromCBOR a, ToCBOR a) ⇒ FromCBOR (MerkleTree a) | |
FromCBOR n ⇒ FromCBOR (TooLarge n) | |
(FromCBORGroup a, ToCBORGroup a) ⇒ FromCBOR (CBORGroup a) | |
Crypto crypto ⇒ FromCBOR (RewardUpdate crypto) | |
Crypto crypto ⇒ FromCBOR (FutureGenDeleg crypto) | |
Crypto crypto ⇒ FromCBOR (RewardSnapShot crypto) | |
Crypto c ⇒ FromCBOR (RewardAns c) | |
Crypto crypto ⇒ FromCBOR (Reward crypto) | |
Crypto crypto ⇒ FromCBOR (FreeVars crypto) | |
Crypto c ⇒ FromCBOR (Pulser c) | |
Crypto crypto ⇒ FromCBOR (PoolRewardInfo crypto) | |
Crypto crypto ⇒ FromCBOR (LeaderOnlyReward crypto) | |
(Era era, Typeable (Script era)) ⇒ FromCBOR (DelegPredicateFailure era) | |
(Era era, FromCBOR (PredicateFailure (EraRule "POOL" era)), FromCBOR (PredicateFailure (EraRule "DELEG" era)), Typeable (Script era)) ⇒ FromCBOR (DelplPredicateFailure era) | |
Era era ⇒ FromCBOR (PoolPredicateFailure era) | |
(Era era, FromCBOR (PredicateFailure (EraRule "LEDGER" era))) ⇒ FromCBOR (LedgersPredicateFailure era) | |
(TransValue FromCBOR era, TransUTxO FromCBOR era, DecodeNonNegative (Value era), Show (Value era), FromCBOR (PredicateFailure (EraRule "PPUP" era))) ⇒ FromCBOR (UtxoPredicateFailure era) | |
Crypto crypto ⇒ FromCBOR (MIRCert crypto) | |
Crypto crypto ⇒ FromCBOR (MIRTarget crypto) | |
Crypto crypto ⇒ FromCBOR (StakeCreds crypto) | |
(FromCBOR (TxOut era), Era era, FromCBOR (PParamsDelta era), ToCBOR (PParamsDelta era)) ⇒ FromCBOR (TxBodyRaw era) | |
Crypto crypto ⇒ FromCBOR (CompactValue crypto) | |
(TransValue FromCBOR era, TransUTxO FromCBOR era, DecodeNonNegative (Value era), Show (Value era), FromCBOR (PredicateFailure (EraRule "PPUP" era))) ⇒ FromCBOR (UtxoPredicateFailure era) | |
FamsFrom era ⇒ FromCBOR (TxBodyRaw era) | |
Crypto crypto ⇒ FromCBOR (HashHeader crypto) | |
Crypto crypto ⇒ FromCBOR (LastAppliedBlock crypto) | |
Crypto crypto ⇒ FromCBOR (OBftSlot crypto) | |
FromCBOR a ⇒ FromCBOR (CborSeq a) | |
FromCBOR (VerificationKey StakePoolKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (VerificationKey StakePoolKey) # label ∷ Proxy (VerificationKey StakePoolKey) → Text # | |
FromCBOR (VerificationKey GenesisUTxOKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (VerificationKey GenesisUTxOKey) # label ∷ Proxy (VerificationKey GenesisUTxOKey) → Text # | |
FromCBOR (VerificationKey GenesisDelegateExtendedKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (VerificationKey GenesisDelegateExtendedKey) # label ∷ Proxy (VerificationKey GenesisDelegateExtendedKey) → Text # | |
FromCBOR (VerificationKey GenesisDelegateKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (VerificationKey GenesisDelegateKey) # | |
FromCBOR (VerificationKey GenesisExtendedKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (VerificationKey GenesisExtendedKey) # | |
FromCBOR (VerificationKey GenesisKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (VerificationKey GenesisKey) # label ∷ Proxy (VerificationKey GenesisKey) → Text # | |
FromCBOR (VerificationKey StakeExtendedKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (VerificationKey StakeExtendedKey) # | |
FromCBOR (VerificationKey StakeKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (VerificationKey StakeKey) # | |
FromCBOR (VerificationKey PaymentExtendedKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (VerificationKey PaymentExtendedKey) # | |
FromCBOR (VerificationKey PaymentKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (VerificationKey PaymentKey) # label ∷ Proxy (VerificationKey PaymentKey) → Text # | |
FromCBOR (VerificationKey ByronKeyLegacy) Source # | |
Defined in Cardano.Api.KeysByron Methods fromCBOR ∷ Decoder s (VerificationKey ByronKeyLegacy) # label ∷ Proxy (VerificationKey ByronKeyLegacy) → Text # | |
FromCBOR (VerificationKey ByronKey) Source # | |
Defined in Cardano.Api.KeysByron Methods fromCBOR ∷ Decoder s (VerificationKey ByronKey) # | |
FromCBOR (VerificationKey VrfKey) Source # | |
Defined in Cardano.Api.KeysPraos Methods fromCBOR ∷ Decoder s (VerificationKey VrfKey) # | |
FromCBOR (VerificationKey KesKey) Source # | |
Defined in Cardano.Api.KeysPraos Methods fromCBOR ∷ Decoder s (VerificationKey KesKey) # | |
FromCBOR (SigningKey StakePoolKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (SigningKey StakePoolKey) # label ∷ Proxy (SigningKey StakePoolKey) → Text # | |
FromCBOR (SigningKey GenesisUTxOKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (SigningKey GenesisUTxOKey) # label ∷ Proxy (SigningKey GenesisUTxOKey) → Text # | |
FromCBOR (SigningKey GenesisDelegateExtendedKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (SigningKey GenesisDelegateExtendedKey) # label ∷ Proxy (SigningKey GenesisDelegateExtendedKey) → Text # | |
FromCBOR (SigningKey GenesisDelegateKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (SigningKey GenesisDelegateKey) # label ∷ Proxy (SigningKey GenesisDelegateKey) → Text # | |
FromCBOR (SigningKey GenesisExtendedKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (SigningKey GenesisExtendedKey) # label ∷ Proxy (SigningKey GenesisExtendedKey) → Text # | |
FromCBOR (SigningKey GenesisKey) Source # | |
Defined in Cardano.Api.KeysShelley | |
FromCBOR (SigningKey StakeExtendedKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (SigningKey StakeExtendedKey) # label ∷ Proxy (SigningKey StakeExtendedKey) → Text # | |
FromCBOR (SigningKey StakeKey) Source # | |
Defined in Cardano.Api.KeysShelley | |
FromCBOR (SigningKey PaymentExtendedKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR ∷ Decoder s (SigningKey PaymentExtendedKey) # label ∷ Proxy (SigningKey PaymentExtendedKey) → Text # | |
FromCBOR (SigningKey PaymentKey) Source # | |
Defined in Cardano.Api.KeysShelley | |
FromCBOR (SigningKey ByronKeyLegacy) Source # | |
Defined in Cardano.Api.KeysByron Methods fromCBOR ∷ Decoder s (SigningKey ByronKeyLegacy) # label ∷ Proxy (SigningKey ByronKeyLegacy) → Text # | |
FromCBOR (SigningKey ByronKey) Source # | |
Defined in Cardano.Api.KeysByron | |
FromCBOR (SigningKey VrfKey) Source # | |
Defined in Cardano.Api.KeysPraos | |
FromCBOR (SigningKey KesKey) Source # | |
Defined in Cardano.Api.KeysPraos | |
(SerialiseAsRawBytes a, Typeable a) ⇒ FromCBOR (UsingRawBytes a) Source # | |
Defined in Cardano.Api.SerialiseUsing | |
(Typeable lang, HasTypeProxy lang) ⇒ FromCBOR (PlutusScript lang) Source # | |
Defined in Cardano.Api.Script | |
(Typeable era, TransLedgerState FromCBOR (ShelleyLedgerEra era), Share (TxOut (ShelleyLedgerEra era)) ~ Interns (Credential 'Staking (Crypto (ShelleyLedgerEra era))), FromSharedCBOR (TxOut (ShelleyLedgerEra era))) ⇒ FromCBOR (DebugLedgerState era) Source # | |
Defined in Cardano.Api.Query | |
(FromCBOR a, FromCBOR b) ⇒ FromCBOR (Either a b) | |
(FromCBOR a, FromCBOR b) ⇒ FromCBOR (a, b) | |
(Ord k, FromCBOR k, FromCBOR v) ⇒ FromCBOR (Map k v) | |
(HashAlgorithm h, Typeable a) ⇒ FromCBOR (Hash h a) | |
(Crypto crypto, Typeable disc) ⇒ FromCBOR (KeyHash disc crypto) | |
(Typeable kr, Crypto crypto) ⇒ FromCBOR (Credential kr crypto) | |
(Typeable index, Crypto c) ⇒ FromCBOR (SafeHash c index) | |
(Typeable algo, Typeable a, HashAlgorithm algo) ⇒ FromCBOR (AbstractHash algo a) | |
(Crypto crypto, Typeable kd) ⇒ FromCBOR (VKey kd crypto) | |
(VRFAlgorithm v, Typeable a) ⇒ FromCBOR (CertifiedVRF v a) | |
(FromCBOR a, Bounded (BoundedRatio b a), Bounded a, Integral a, Typeable b, Typeable a, Show a) ⇒ FromCBOR (BoundedRatio b a) | |
(FromCBOR a, FromCBOR b, FromCBOR c) ⇒ FromCBOR (a, b, c) | |
(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)) | |
(Ord a, Ord b, FromCBOR a, FromCBOR b) ⇒ FromCBOR (BiMap b a b) | |
(FromCBOR a, FromCBOR b, FromCBOR c, FromCBOR d) ⇒ FromCBOR (a, b, c, d) | |
(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 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 #