Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.Api.Byron
Description
This module provides a library interface that is intended to be the complete API for Byron covering everything, including exposing constructors for the lower level types.
Synopsis
- data family Hash keyrole
- data TxBody era where
- ShelleyTxBody :: forall era. ShelleyBasedEra era -> TxBody (ShelleyLedgerEra era) -> [Script (ShelleyLedgerEra era)] -> TxBodyScriptData era -> Maybe (TxAuxData (ShelleyLedgerEra era)) -> TxScriptValidity era -> TxBody era
- pattern TxBody :: TxBodyContent ViewTx era -> TxBody era
- newtype TxId = TxId (Hash HASH EraIndependentTxBody)
- getTxId :: TxBody era -> TxId
- data family VerificationKey keyrole
- data family SigningKey keyrole
- data family VerificationKey keyrole
- data family SigningKey keyrole
- data Value
- newtype TxIx = TxIx Word
- newtype Coin = Coin {}
- data ATxAux a = ATxAux {
- aTaTx :: !(Annotated Tx a)
- aTaWitness :: !(Annotated TxWitness a)
- aTaAnnotation :: !a
- data NetworkId
- valueFromList :: [(AssetId, Quantity)] -> Value
- newtype AssetName = UnsafeAssetName ByteString
- validateMetadata :: TxMetadataInEra era -> Either TxBodyError ()
- unNetworkMagic :: NetworkMagic -> Word32
- data family AsType t
- data family AsType t
- data KeyWitness era where
- ByronKeyWitness :: TxInWitness -> KeyWitness ByronEra
- ShelleyBootstrapWitness :: forall era. ShelleyBasedEra era -> BootstrapWitness -> KeyWitness era
- ShelleyKeyWitness :: forall era. ShelleyBasedEra era -> WitVKey 'Witness -> KeyWitness era
- data WitnessNetworkIdOrByronAddress
- mkTxCertificates :: Applicative (BuildTxWith build) => ShelleyBasedEra era -> [(Certificate era, Maybe (ScriptWitness WitCtxStake era))] -> TxCertificates build era
- fromNetworkMagic :: NetworkMagic -> NetworkId
- toNetworkMagic :: NetworkId -> NetworkMagic
- mainnetNetworkMagic :: NetworkMagic
- toByronProtocolMagicId :: NetworkId -> ProtocolMagicId
- toByronNetworkMagic :: NetworkId -> NetworkMagic
- toByronRequiresNetworkMagic :: NetworkId -> RequiresNetworkMagic
- toShelleyNetwork :: NetworkId -> Network
- fromShelleyNetwork :: Network -> NetworkMagic -> NetworkId
- data TextEnvelopeCddlError
- data FromSomeTypeCDDL c b where
- FromCDDLTx :: forall b. Text -> (InAnyShelleyBasedEra Tx -> b) -> FromSomeTypeCDDL TextEnvelope b
- FromCDDLWitness :: forall b. Text -> (InAnyShelleyBasedEra KeyWitness -> b) -> FromSomeTypeCDDL TextEnvelope b
- cddlTypeToEra :: Text -> Either TextEnvelopeCddlError AnyShelleyBasedEra
- readFileTextEnvelopeCddlAnyOf :: [FromSomeTypeCDDL TextEnvelope b] -> FilePath -> IO (Either (FileError TextEnvelopeCddlError) b)
- deserialiseFromTextEnvelopeCddlAnyOf :: [FromSomeTypeCDDL TextEnvelope b] -> TextEnvelope -> Either TextEnvelopeCddlError b
- writeTxFileTextEnvelopeCddl :: ShelleyBasedEra era -> File content 'Out -> Tx era -> IO (Either (FileError ()) ())
- writeTxFileTextEnvelopeCanonicalCddl :: ShelleyBasedEra era -> File content 'Out -> Tx era -> IO (Either (FileError ()) ())
- writeTxWitnessFileTextEnvelopeCddl :: ShelleyBasedEra era -> File () 'Out -> KeyWitness era -> IO (Either (FileError ()) ())
- deserialiseByronTxCddl :: TextEnvelope -> Either TextEnvelopeCddlError (ATxAux ByteString)
- serialiseWitnessLedgerCddl :: ShelleyBasedEra era -> KeyWitness era -> TextEnvelope
- deserialiseWitnessLedgerCddl :: ShelleyBasedEra era -> TextEnvelope -> Either TextEnvelopeCddlError (KeyWitness era)
- serializeByronTx :: ATxAux ByteString -> TextEnvelope
- writeByronTxFileTextEnvelopeCddl :: File content 'Out -> ATxAux ByteString -> IO (Either (FileError ()) ())
- createTransactionBody :: HasCallStack => ShelleyBasedEra era -> TxBodyContent BuildTx era -> Either TxBodyError (TxBody era)
- createAndValidateTransactionBody :: ShelleyBasedEra era -> TxBodyContent BuildTx era -> Either TxBodyError (TxBody era)
- data TxBodyContent build era = TxBodyContent {
- txIns :: TxIns build era
- txInsCollateral :: TxInsCollateral era
- txInsReference :: TxInsReference build era
- txOuts :: [TxOut CtxTx era]
- txTotalCollateral :: TxTotalCollateral era
- txReturnCollateral :: TxReturnCollateral CtxTx era
- txFee :: TxFee era
- txValidityLowerBound :: TxValidityLowerBound era
- txValidityUpperBound :: TxValidityUpperBound era
- txMetadata :: TxMetadataInEra era
- txAuxScripts :: TxAuxScripts era
- txExtraKeyWits :: TxExtraKeyWitnesses era
- txProtocolParams :: BuildTxWith build (Maybe (LedgerProtocolParameters era))
- txWithdrawals :: TxWithdrawals build era
- txCertificates :: TxCertificates build era
- txUpdateProposal :: TxUpdateProposal era
- txMintValue :: TxMintValue build era
- txScriptValidity :: TxScriptValidity era
- txProposalProcedures :: Maybe (Featured ConwayEraOnwards era (TxProposalProcedures build era))
- txVotingProcedures :: Maybe (Featured ConwayEraOnwards era (TxVotingProcedures build era))
- txCurrentTreasuryValue :: Maybe (Featured ConwayEraOnwards era (Maybe Coin))
- txTreasuryDonation :: Maybe (Featured ConwayEraOnwards era Coin)
- makeByronTransactionBody :: TxIns BuildTx ByronEra -> [TxOut CtxTx ByronEra] -> Either TxBodyError (Annotated Tx ByteString)
- defaultTxBodyContent :: ShelleyBasedEra era -> TxBodyContent BuildTx era
- defaultTxFee :: ShelleyBasedEra era -> TxFee era
- defaultTxValidityUpperBound :: ShelleyBasedEra era -> TxValidityUpperBound era
- setTxIns :: TxIns build era -> TxBodyContent build era -> TxBodyContent build era
- modTxIns :: (TxIns build era -> TxIns build era) -> TxBodyContent build era -> TxBodyContent build era
- addTxIn :: (TxIn, BuildTxWith build (Witness WitCtxTxIn era)) -> TxBodyContent build era -> TxBodyContent build era
- addTxIns :: TxIns build era -> TxBodyContent build era -> TxBodyContent build era
- setTxInsCollateral :: TxInsCollateral era -> TxBodyContent build era -> TxBodyContent build era
- modTxInsCollateral :: (TxInsCollateral era -> TxInsCollateral era) -> TxBodyContent build era -> TxBodyContent build era
- addTxInsCollateral :: IsAlonzoBasedEra era => [TxIn] -> TxBodyContent build era -> TxBodyContent build era
- addTxInCollateral :: IsAlonzoBasedEra era => TxIn -> TxBodyContent build era -> TxBodyContent build era
- setTxInsReference :: TxInsReference build era -> TxBodyContent build era -> TxBodyContent build era
- modTxInsReference :: (TxInsReference build era -> TxInsReference build era) -> TxBodyContent build era -> TxBodyContent build era
- addTxInsReference :: (Applicative (BuildTxWith build), IsBabbageBasedEra era) => [TxIn] -> Set HashableScriptData -> TxBodyContent build era -> TxBodyContent build era
- addTxInReference :: (Applicative (BuildTxWith build), IsBabbageBasedEra era) => TxIn -> Maybe HashableScriptData -> TxBodyContent build era -> TxBodyContent build era
- setTxOuts :: [TxOut CtxTx era] -> TxBodyContent build era -> TxBodyContent build era
- modTxOuts :: ([TxOut CtxTx era] -> [TxOut CtxTx era]) -> TxBodyContent build era -> TxBodyContent build era
- addTxOut :: TxOut CtxTx era -> TxBodyContent build era -> TxBodyContent build era
- addTxOuts :: [TxOut CtxTx era] -> TxBodyContent build era -> TxBodyContent build era
- setTxTotalCollateral :: TxTotalCollateral era -> TxBodyContent build era -> TxBodyContent build era
- modTxTotalCollateral :: (TxTotalCollateral era -> TxTotalCollateral era) -> TxBodyContent build era -> TxBodyContent build era
- setTxReturnCollateral :: TxReturnCollateral CtxTx era -> TxBodyContent build era -> TxBodyContent build era
- modTxReturnCollateral :: (TxReturnCollateral CtxTx era -> TxReturnCollateral CtxTx era) -> TxBodyContent build era -> TxBodyContent build era
- setTxFee :: TxFee era -> TxBodyContent build era -> TxBodyContent build era
- modTxFee :: (TxFee era -> TxFee era) -> TxBodyContent build era -> TxBodyContent build era
- setTxValidityLowerBound :: TxValidityLowerBound era -> TxBodyContent build era -> TxBodyContent build era
- modTxValidityLowerBound :: (TxValidityLowerBound era -> TxValidityLowerBound era) -> TxBodyContent build era -> TxBodyContent build era
- setTxValidityUpperBound :: TxValidityUpperBound era -> TxBodyContent build era -> TxBodyContent build era
- modTxValidityUpperBound :: (TxValidityUpperBound era -> TxValidityUpperBound era) -> TxBodyContent build era -> TxBodyContent build era
- setTxMetadata :: TxMetadataInEra era -> TxBodyContent build era -> TxBodyContent build era
- modTxMetadata :: (TxMetadataInEra era -> TxMetadataInEra era) -> TxBodyContent build era -> TxBodyContent build era
- setTxAuxScripts :: TxAuxScripts era -> TxBodyContent build era -> TxBodyContent build era
- modTxAuxScripts :: (TxAuxScripts era -> TxAuxScripts era) -> TxBodyContent build era -> TxBodyContent build era
- setTxExtraKeyWits :: TxExtraKeyWitnesses era -> TxBodyContent build era -> TxBodyContent build era
- modTxExtraKeyWits :: (TxExtraKeyWitnesses era -> TxExtraKeyWitnesses era) -> TxBodyContent build era -> TxBodyContent build era
- addTxExtraKeyWits :: IsAlonzoBasedEra era => [Hash PaymentKey] -> TxBodyContent build era -> TxBodyContent build era
- setTxProtocolParams :: BuildTxWith build (Maybe (LedgerProtocolParameters era)) -> TxBodyContent build era -> TxBodyContent build era
- setTxWithdrawals :: TxWithdrawals build era -> TxBodyContent build era -> TxBodyContent build era
- modTxWithdrawals :: (TxWithdrawals build era -> TxWithdrawals build era) -> TxBodyContent build era -> TxBodyContent build era
- setTxCertificates :: TxCertificates build era -> TxBodyContent build era -> TxBodyContent build era
- modTxCertificates :: (TxCertificates build era -> TxCertificates build era) -> TxBodyContent build era -> TxBodyContent build era
- setTxUpdateProposal :: TxUpdateProposal era -> TxBodyContent build era -> TxBodyContent build era
- modTxUpdateProposal :: (TxUpdateProposal era -> TxUpdateProposal era) -> TxBodyContent build era -> TxBodyContent build era
- setTxProposalProcedures :: Maybe (Featured ConwayEraOnwards era (TxProposalProcedures build era)) -> TxBodyContent build era -> TxBodyContent build era
- setTxVotingProcedures :: Maybe (Featured ConwayEraOnwards era (TxVotingProcedures build era)) -> TxBodyContent build era -> TxBodyContent build era
- setTxMintValue :: TxMintValue build era -> TxBodyContent build era -> TxBodyContent build era
- modTxMintValue :: (TxMintValue build era -> TxMintValue build era) -> TxBodyContent build era -> TxBodyContent build era
- addTxMintValue :: IsMaryBasedEra era => Map PolicyId (PolicyAssets, BuildTxWith build (ScriptWitness WitCtxMint era)) -> TxBodyContent build era -> TxBodyContent build era
- subtractTxMintValue :: IsMaryBasedEra era => Map PolicyId (PolicyAssets, BuildTxWith build (ScriptWitness WitCtxMint era)) -> TxBodyContent build era -> TxBodyContent build era
- setTxScriptValidity :: TxScriptValidity era -> TxBodyContent build era -> TxBodyContent build era
- modTxScriptValidity :: (TxScriptValidity era -> TxScriptValidity era) -> TxBodyContent build era -> TxBodyContent build era
- setTxCurrentTreasuryValue :: Maybe (Featured ConwayEraOnwards era (Maybe Coin)) -> TxBodyContent build era -> TxBodyContent build era
- setTxTreasuryDonation :: Maybe (Featured ConwayEraOnwards era Coin) -> TxBodyContent build era -> TxBodyContent build era
- data TxBodyError
- = TxBodyPlutusScriptDecodeError DecoderError
- | TxBodyEmptyTxIns
- | TxBodyEmptyTxInsCollateral
- | TxBodyEmptyTxOuts
- | TxBodyOutputError !TxOutputError
- | TxBodyMetadataError ![(Word64, TxMetadataRangeError)]
- | TxBodyInIxOverflow !TxIn
- | TxBodyMissingProtocolParams
- | TxBodyProtocolParamsConversionError !ProtocolParametersConversionError
- data TxOutputError
- data TxBodyScriptData era where
- TxBodyNoScriptData :: forall era. TxBodyScriptData era
- TxBodyScriptData :: forall era. AlonzoEraOnwardsConstraints era => AlonzoEraOnwards era -> TxDats (ShelleyLedgerEra era) -> Redeemers (ShelleyLedgerEra era) -> TxBodyScriptData era
- selectTxDatums :: TxBodyScriptData era -> Map DataHash (Data (ShelleyLedgerEra era))
- data TxScriptValidity era where
- TxScriptValidityNone :: forall era. TxScriptValidity era
- TxScriptValidity :: forall era. AlonzoEraOnwards era -> ScriptValidity -> TxScriptValidity era
- data ScriptValidity
- scriptValidityToIsValid :: ScriptValidity -> IsValid
- isValidToScriptValidity :: IsValid -> ScriptValidity
- txScriptValidityToIsValid :: TxScriptValidity era -> IsValid
- txScriptValidityToScriptValidity :: TxScriptValidity era -> ScriptValidity
- parseTxId :: Parser TxId
- getTxIdByron :: ATxAux ByteString -> TxId
- getTxIdShelley :: EraTxBody (ShelleyLedgerEra era) => ShelleyBasedEra era -> TxBody (ShelleyLedgerEra era) -> TxId
- parseTxIn :: Parser TxIn
- type TxIns build era = [(TxIn, BuildTxWith build (Witness WitCtxTxIn era))]
- indexTxIns :: TxIns BuildTx era -> [(ScriptWitnessIndex, TxIn, Witness WitCtxTxIn era)]
- parseTxIx :: Parser TxIx
- genesisUTxOPseudoTxIn :: NetworkId -> Hash GenesisUTxOKey -> TxIn
- getReferenceInputsSizeForTxIds :: ShelleyLedgerEra era ~ ledgerera => BabbageEraOnwards era -> UTxO ledgerera -> Set TxIn -> Int
- data CtxTx
- data CtxUTxO
- data TxOutValue era where
- TxOutValueByron :: Coin -> TxOutValue ByronEra
- TxOutValueShelleyBased :: forall era. (Eq (Value (ShelleyLedgerEra era)), Show (Value (ShelleyLedgerEra era))) => ShelleyBasedEra era -> Value (ShelleyLedgerEra era) -> TxOutValue era
- data TxOutDatum ctx era where
- TxOutDatumNone :: forall ctx era. TxOutDatum ctx era
- TxOutDatumHash :: forall era ctx. AlonzoEraOnwards era -> Hash ScriptData -> TxOutDatum ctx era
- TxOutSupplementalDatum :: forall era. AlonzoEraOnwards era -> HashableScriptData -> TxOutDatum CtxTx era
- TxOutDatumInline :: forall era ctx. BabbageEraOnwards era -> HashableScriptData -> TxOutDatum ctx era
- toCtxUTxOTxOut :: TxOut CtxTx era -> TxOut CtxUTxO era
- fromCtxUTxOTxOut :: TxOut CtxUTxO era -> TxOut CtxTx era
- lovelaceToTxOutValue :: ShelleyBasedEra era -> Coin -> TxOutValue era
- prettyRenderTxOut :: TxOutInAnyEra -> Text
- txOutValueToLovelace :: TxOutValue era -> Coin
- txOutValueToValue :: TxOutValue era -> Value
- data TxOutInAnyEra where
- TxOutInAnyEra :: forall era. CardanoEra era -> TxOut CtxTx era -> TxOutInAnyEra
- txOutInAnyEra :: CardanoEra era -> TxOut CtxTx era -> TxOutInAnyEra
- data TxInsCollateral era where
- TxInsCollateralNone :: forall era. TxInsCollateral era
- TxInsCollateral :: forall era. AlonzoEraOnwards era -> [TxIn] -> TxInsCollateral era
- data TxInsReference build era where
- TxInsReferenceNone :: forall build era. TxInsReference build era
- TxInsReference :: forall era build. BabbageEraOnwards era -> [TxIn] -> TxInsReferenceDatums build -> TxInsReference build era
- type TxInsReferenceDatums build = BuildTxWith build (Set HashableScriptData)
- getReferenceInputDatumMap :: TxInsReferenceDatums build -> Map (Hash ScriptData) HashableScriptData
- data TxReturnCollateral ctx era where
- TxReturnCollateralNone :: forall ctx era. TxReturnCollateral ctx era
- TxReturnCollateral :: forall era ctx. BabbageEraOnwards era -> TxOut ctx era -> TxReturnCollateral ctx era
- data TxTotalCollateral era where
- TxTotalCollateralNone :: forall era. TxTotalCollateral era
- TxTotalCollateral :: forall era. BabbageEraOnwards era -> Coin -> TxTotalCollateral era
- data TxFee era where
- TxFeeExplicit :: forall era. ShelleyBasedEra era -> Coin -> TxFee era
- data TxValidityLowerBound era where
- TxValidityNoLowerBound :: forall era. TxValidityLowerBound era
- TxValidityLowerBound :: forall era. AllegraEraOnwards era -> SlotNo -> TxValidityLowerBound era
- data TxValidityUpperBound era where
- TxValidityUpperBound :: forall era. ShelleyBasedEra era -> Maybe SlotNo -> TxValidityUpperBound era
- data TxMetadataInEra era where
- TxMetadataNone :: forall era. TxMetadataInEra era
- TxMetadataInEra :: forall era. ShelleyBasedEra era -> TxMetadata -> TxMetadataInEra era
- data TxAuxScripts era where
- TxAuxScriptsNone :: forall era. TxAuxScripts era
- TxAuxScripts :: forall era. AllegraEraOnwards era -> [ScriptInEra era] -> TxAuxScripts era
- data TxExtraKeyWitnesses era where
- TxExtraKeyWitnessesNone :: forall era. TxExtraKeyWitnesses era
- TxExtraKeyWitnesses :: forall era. AlonzoEraOnwards era -> [Hash PaymentKey] -> TxExtraKeyWitnesses era
- data TxWithdrawals build era where
- TxWithdrawalsNone :: forall build era. TxWithdrawals build era
- TxWithdrawals :: forall era build. ShelleyBasedEra era -> [(StakeAddress, Coin, BuildTxWith build (Witness WitCtxStake era))] -> TxWithdrawals build era
- indexTxWithdrawals :: TxWithdrawals BuildTx era -> [(ScriptWitnessIndex, StakeAddress, Coin, Witness WitCtxStake era)]
- data TxCertificates build era where
- TxCertificatesNone :: forall build era. TxCertificates build era
- TxCertificates :: forall era build. ShelleyBasedEra era -> OMap (Certificate era) (BuildTxWith build (Maybe (StakeCredential, Witness WitCtxStake era))) -> TxCertificates build era
- indexTxCertificates :: TxCertificates BuildTx era -> [(ScriptWitnessIndex, Certificate era, StakeCredential, Witness WitCtxStake era)]
- data TxUpdateProposal era where
- TxUpdateProposalNone :: forall era. TxUpdateProposal era
- TxUpdateProposal :: forall era. ShelleyToBabbageEra era -> UpdateProposal -> TxUpdateProposal era
- data TxMintValue build era where
- TxMintNone :: forall build era. TxMintValue build era
- TxMintValue :: forall era build. MaryEraOnwards era -> Map PolicyId (PolicyAssets, BuildTxWith build (ScriptWitness WitCtxMint era)) -> TxMintValue build era
- mkTxMintValue :: MaryEraOnwards era -> [(PolicyId, PolicyAssets, BuildTxWith build (ScriptWitness WitCtxMint era))] -> TxMintValue build era
- txMintValueToValue :: TxMintValue build era -> Value
- indexTxMintValue :: TxMintValue build era -> [(ScriptWitnessIndex, PolicyId, PolicyAssets, BuildTxWith build (ScriptWitness WitCtxMint era))]
- data TxVotingProcedures build era where
- TxVotingProceduresNone :: forall build era. TxVotingProcedures build era
- TxVotingProcedures :: forall era build. VotingProcedures (ShelleyLedgerEra era) -> BuildTxWith build (Map Voter (ScriptWitness WitCtxStake era)) -> TxVotingProcedures build era
- mkTxVotingProcedures :: Applicative (BuildTxWith build) => [(VotingProcedures era, Maybe (ScriptWitness WitCtxStake era))] -> Either (VotesMergingConflict era) (TxVotingProcedures build era)
- indexTxVotingProcedures :: TxVotingProcedures BuildTx era -> [(ScriptWitnessIndex, Voter, ScriptWitness WitCtxStake era)]
- data TxProposalProcedures build era where
- TxProposalProceduresNone :: forall build era. TxProposalProcedures build era
- TxProposalProcedures :: forall era build. EraPParams (ShelleyLedgerEra era) => OMap (ProposalProcedure (ShelleyLedgerEra era)) (BuildTxWith build (Maybe (ScriptWitness WitCtxStake era))) -> TxProposalProcedures build era
- mkTxProposalProcedures :: forall era build. (Applicative (BuildTxWith build), IsShelleyBasedEra era) => [(ProposalProcedure (ShelleyLedgerEra era), Maybe (ScriptWitness WitCtxStake era))] -> TxProposalProcedures build era
- indexTxProposalProcedures :: TxProposalProcedures BuildTx era -> [(ScriptWitnessIndex, ProposalProcedure (ShelleyLedgerEra era), ScriptWitness WitCtxStake era)]
- indexWitnessedTxProposalProcedures :: TxProposalProcedures BuildTx era -> [(ProposalProcedure (ShelleyLedgerEra era), Maybe (ScriptWitnessIndex, ScriptWitness WitCtxStake era))]
- convProposalProcedures :: TxProposalProcedures build era -> OSet (ProposalProcedure (ShelleyLedgerEra era))
- data BuildTxWith build a where
- ViewTx :: forall a. BuildTxWith ViewTx a
- BuildTxWith :: forall a. a -> BuildTxWith BuildTx a
- data BuildTx
- data ViewTx
- buildTxWithToMaybe :: BuildTxWith build a -> Maybe a
- data AnyScriptWitness era where
- AnyScriptWitness :: forall witctx era. Typeable witctx => ScriptWitness witctx era -> AnyScriptWitness era
- data ScriptWitnessIndex
- renderScriptWitnessIndex :: ScriptWitnessIndex -> String
- collectTxBodyScriptWitnesses :: ShelleyBasedEra era -> TxBodyContent BuildTx era -> [(ScriptWitnessIndex, AnyScriptWitness era)]
- collectTxBodyScriptWitnessRequirements :: IsShelleyBasedEra era => AlonzoEraOnwards era -> TxBodyContent BuildTx era -> Either TxBodyError (TxScriptWitnessRequirements (ShelleyLedgerEra era))
- toScriptIndex :: AlonzoEraOnwards era -> PlutusPurpose AsIx (ShelleyLedgerEra era) -> ScriptWitnessIndex
- scriptDataToInlineDatum :: Era ledgerera => HashableScriptData -> Datum ledgerera
- convCertificates :: ShelleyBasedEra era -> TxCertificates build era -> StrictSeq (TxCert (ShelleyLedgerEra era))
- convCollateralTxIns :: TxInsCollateral era -> Set TxIn
- convExtraKeyWitnesses :: TxExtraKeyWitnesses era -> Set (KeyHash 'Witness)
- convLanguages :: [(ScriptWitnessIndex, AnyScriptWitness era)] -> Set Language
- convMintValue :: TxMintValue build era -> MultiAsset
- convPParamsToScriptIntegrityHash :: AlonzoEraOnwards era -> BuildTxWith BuildTx (Maybe (LedgerProtocolParameters era)) -> Redeemers (ShelleyLedgerEra era) -> TxDats (ShelleyLedgerEra era) -> Set Language -> StrictMaybe ScriptIntegrityHash
- convReferenceInputs :: TxInsReference build era -> Set TxIn
- convReturnCollateral :: ShelleyBasedEra era -> TxReturnCollateral ctx era -> StrictMaybe (TxOut (ShelleyLedgerEra era))
- convScripts :: ShelleyLedgerEra era ~ ledgerera => [(ScriptWitnessIndex, AnyScriptWitness era)] -> [Script ledgerera]
- convScriptData :: ShelleyBasedEra era -> [TxOut CtxTx era] -> [(ScriptWitnessIndex, AnyScriptWitness era)] -> TxBodyScriptData era
- convTotalCollateral :: TxTotalCollateral era -> StrictMaybe Coin
- convTransactionFee :: ShelleyBasedEra era -> TxFee era -> Coin
- convTxIns :: TxIns BuildTx era -> Set TxIn
- convTxOuts :: forall ctx era ledgerera. (HasCallStack, ShelleyLedgerEra era ~ ledgerera) => ShelleyBasedEra era -> [TxOut ctx era] -> StrictSeq (TxOut ledgerera)
- convTxUpdateProposal :: ShelleyBasedEra era -> TxUpdateProposal era -> Either TxBodyError (StrictMaybe (Update (ShelleyLedgerEra era)))
- convValidityLowerBound :: TxValidityLowerBound era -> Maybe SlotNo
- convValidityUpperBound :: ShelleyBasedEra era -> TxValidityUpperBound era -> Maybe SlotNo
- convVotingProcedures :: TxVotingProcedures build era -> VotingProcedures (ShelleyLedgerEra era)
- convWithdrawals :: TxWithdrawals build era -> Withdrawals
- getScriptIntegrityHash :: BuildTxWith BuildTx (Maybe (LedgerProtocolParameters era)) -> Set Language -> TxBodyScriptData era -> StrictMaybe ScriptIntegrityHash
- mkCommonTxBody :: HasCallStack => ShelleyBasedEra era -> TxIns BuildTx era -> [TxOut ctx era] -> TxFee era -> TxWithdrawals build era -> Maybe (TxAuxData (ShelleyLedgerEra era)) -> LedgerTxBody era
- toAuxiliaryData :: ShelleyBasedEra era -> TxMetadataInEra era -> TxAuxScripts era -> Maybe (TxAuxData (ShelleyLedgerEra era))
- toByronTxId :: TxId -> TxId
- toShelleyTxId :: TxId -> TxId
- toShelleyTxIn :: TxIn -> TxIn
- toShelleyTxOut :: (HasCallStack, ShelleyLedgerEra era ~ ledgerera) => ShelleyBasedEra era -> TxOut CtxUTxO era -> TxOut ledgerera
- toShelleyTxOutAny :: forall ctx era ledgerera. (HasCallStack, ShelleyLedgerEra era ~ ledgerera) => ShelleyBasedEra era -> TxOut ctx era -> TxOut ledgerera
- fromShelleyTxId :: TxId -> TxId
- fromShelleyTxIn :: TxIn -> TxIn
- fromShelleyTxOut :: ShelleyBasedEra era -> TxOut (ShelleyLedgerEra era) -> TxOut ctx era
- fromByronTxIn :: TxIn -> TxIn
- fromLedgerTxOuts :: ShelleyBasedEra era -> TxBody (ShelleyLedgerEra era) -> TxBodyScriptData era -> [TxOut CtxTx era]
- renderTxIn :: TxIn -> Text
- calculateExecutionUnitsLovelace :: Prices -> ExecutionUnits -> Maybe Coin
- getTxBodyContent :: TxBody era -> TxBodyContent ViewTx era
- validateTxIns :: [(TxIn, BuildTxWith BuildTx (Witness WitCtxTxIn era))] -> Either TxBodyError ()
- guardShelleyTxInsOverflow :: [TxIn] -> Either TxBodyError ()
- validateTxOuts :: ShelleyBasedEra era -> [TxOut CtxTx era] -> Either TxOutputError ()
- validateTxInsCollateral :: TxInsCollateral era -> Set Language -> Either TxBodyError ()
- validateProtocolParameters :: BuildTxWith BuildTx (Maybe (LedgerProtocolParameters era)) -> Set Language -> Either TxBodyError ()
- getTxBody :: Tx era -> TxBody era
- getByronTxBody :: ATxAux ByteString -> Annotated Tx ByteString
- getTxWitnesses :: Tx era -> [KeyWitness era]
- getTxWitnessesByron :: ATxAux ByteString -> [KeyWitness ByronEra]
- data ShelleySigningKey
- toShelleySigningKey :: ShelleyWitnessSigningKey -> ShelleySigningKey
- signByronTransaction :: NetworkId -> Annotated Tx ByteString -> [SigningKey ByronKey] -> ATxAux ByteString
- signShelleyTransaction :: ShelleyBasedEra era -> TxBody era -> [ShelleyWitnessSigningKey] -> Tx era
- makeSignedByronTransaction :: [KeyWitness era] -> Annotated Tx ByteString -> ATxAux ByteString
- makeSignedTransaction :: [KeyWitness era] -> TxBody era -> Tx era
- makeSignedTransaction' :: CardanoEra era -> [KeyWitness era] -> TxBody era -> Tx era
- makeByronKeyWitness :: IsByronKey key => NetworkId -> Annotated Tx ByteString -> SigningKey key -> KeyWitness ByronEra
- data ShelleyWitnessSigningKey
- = WitnessPaymentKey (SigningKey PaymentKey)
- | WitnessPaymentExtendedKey (SigningKey PaymentExtendedKey)
- | WitnessStakeKey (SigningKey StakeKey)
- | WitnessStakeExtendedKey (SigningKey StakeExtendedKey)
- | WitnessStakePoolKey (SigningKey StakePoolKey)
- | WitnessStakePoolExtendedKey (SigningKey StakePoolExtendedKey)
- | WitnessGenesisKey (SigningKey GenesisKey)
- | WitnessGenesisExtendedKey (SigningKey GenesisExtendedKey)
- | WitnessGenesisDelegateKey (SigningKey GenesisDelegateKey)
- | WitnessGenesisDelegateExtendedKey (SigningKey GenesisDelegateExtendedKey)
- | WitnessGenesisUTxOKey (SigningKey GenesisUTxOKey)
- | WitnessCommitteeColdKey (SigningKey CommitteeColdKey)
- | WitnessCommitteeColdExtendedKey (SigningKey CommitteeColdExtendedKey)
- | WitnessCommitteeHotKey (SigningKey CommitteeHotKey)
- | WitnessCommitteeHotExtendedKey (SigningKey CommitteeHotExtendedKey)
- | WitnessDRepKey (SigningKey DRepKey)
- | WitnessDRepExtendedKey (SigningKey DRepExtendedKey)
- makeShelleyKeyWitness :: ShelleyBasedEra era -> TxBody era -> ShelleyWitnessSigningKey -> KeyWitness era
- makeShelleyKeyWitness' :: ShelleyBasedEra era -> TxBody (ShelleyLedgerEra era) -> ShelleyWitnessSigningKey -> KeyWitness era
- makeShelleyBootstrapWitness :: ShelleyBasedEra era -> WitnessNetworkIdOrByronAddress -> TxBody era -> SigningKey ByronKey -> KeyWitness era
- makeShelleyBasedBootstrapWitness :: ShelleyBasedEra era -> WitnessNetworkIdOrByronAddress -> TxBody (ShelleyLedgerEra era) -> SigningKey ByronKey -> KeyWitness era
- makeShelleySignature :: SignableRepresentation tosign => tosign -> ShelleySigningKey -> SignedDSIGN DSIGN tosign
- getShelleyKeyWitnessVerificationKey :: ShelleySigningKey -> VKey 'Witness
- getTxBodyAndWitnesses :: Tx era -> (TxBody era, [KeyWitness era])
- newtype Quantity = Quantity Integer
- parseQuantity :: Parser Quantity
- newtype PolicyId = PolicyId {}
- parsePolicyId :: Parser PolicyId
- scriptPolicyId :: Script lang -> PolicyId
- parseAssetName :: Parser AssetName
- data AssetId
- parseAssetId :: Parser AssetId
- selectAsset :: Value -> AssetId -> Quantity
- valueToList :: Value -> [(AssetId, Quantity)]
- filterValue :: (AssetId -> Bool) -> Value -> Value
- allPositive :: Value -> Bool
- negateValue :: Value -> Value
- negateLedgerValue :: ShelleyBasedEra era -> Value (ShelleyLedgerEra era) -> Value (ShelleyLedgerEra era)
- calcMinimumDeposit :: Value -> Lovelace -> Lovelace
- newtype PolicyAssets = PolicyAssets (Map AssetName Quantity)
- policyAssetsToValue :: PolicyId -> PolicyAssets -> Value
- valueToPolicyAssets :: Value -> Map PolicyId PolicyAssets
- multiAssetToPolicyAssets :: MultiAsset -> Map PolicyId PolicyAssets
- quantityToLovelace :: Quantity -> Lovelace
- lovelaceToQuantity :: Lovelace -> Quantity
- selectLovelace :: Value -> Lovelace
- lovelaceToValue :: Lovelace -> Value
- valueToLovelace :: Value -> Maybe Lovelace
- newtype ValueNestedRep = ValueNestedRep [ValueNestedBundle]
- data ValueNestedBundle
- valueToNestedRep :: Value -> ValueNestedRep
- valueFromNestedRep :: ValueNestedRep -> Value
- renderValue :: Value -> Text
- renderValuePretty :: Value -> Text
- renderMultiAsset :: MultiAsset -> Text
- renderMultiAssetPretty :: MultiAsset -> Text
- toByronLovelace :: Lovelace -> Maybe Lovelace
- fromByronLovelace :: Lovelace -> Lovelace
- fromShelleyDeltaLovelace :: DeltaCoin -> Lovelace
- toMaryValue :: Value -> MaryValue
- fromMaryValue :: MaryValue -> Value
- fromMultiAsset :: MultiAsset -> Value
- fromLedgerValue :: ShelleyBasedEra era -> Value (ShelleyLedgerEra era) -> Value
- toLedgerValue :: MaryEraOnwards era -> Value -> Value (ShelleyLedgerEra era)
- data family AsType t
- data family VerificationKey keyrole
- data family SigningKey keyrole
- data SomeByronSigningKey
- data ByronKey
- data ByronKeyLegacy
- data family Hash keyrole
- data NetworkId
- data KeyWitness era where
- data WitnessNetworkIdOrByronAddress
- class Error e where
- prettyError :: e -> Doc ann
- data FileError e
- data LocalNodeConnectInfo = LocalNodeConnectInfo ConsensusModeParams NetworkId SocketPath
- data LocalNodeClientProtocols block point tip slot tx txid txerr (query :: Type -> Type) (m :: Type -> Type) = LocalNodeClientProtocols (LocalChainSyncClient block point tip m) (Maybe (LocalTxSubmissionClient tx txerr m ())) (Maybe (LocalStateQueryClient block point query m ())) (Maybe (LocalTxMonitorClient txid tx slot m ()))
- newtype ChainSyncClient header point tip (m :: Type -> Type) a = ChainSyncClient {
- runChainSyncClient :: m (ClientStIdle header point tip m a)
- newtype LocalTxSubmissionClient tx reject (m :: Type -> Type) a = LocalTxSubmissionClient (m (LocalTxClientStIdle tx reject m a))
- newtype LocalStateQueryClient block point (query :: Type -> Type) (m :: Type -> Type) a = LocalStateQueryClient {
- runLocalStateQueryClient :: m (ClientStIdle block point query m a)
- newtype ByronUpdateProposal = ByronUpdateProposal {}
- data ByronProtocolParametersUpdate = ByronProtocolParametersUpdate {
- bPpuScriptVersion :: !(Maybe Word16)
- bPpuSlotDuration :: !(Maybe Natural)
- bPpuMaxBlockSize :: !(Maybe Natural)
- bPpuMaxHeaderSize :: !(Maybe Natural)
- bPpuMaxTxSize :: !(Maybe Natural)
- bPpuMaxProposalSize :: !(Maybe Natural)
- bPpuMpcThd :: !(Maybe LovelacePortion)
- bPpuHeavyDelThd :: !(Maybe LovelacePortion)
- bPpuUpdateVoteThd :: !(Maybe LovelacePortion)
- bPpuUpdateProposalThd :: !(Maybe LovelacePortion)
- bPpuUpdateProposalTTL :: !(Maybe SlotNumber)
- bPpuSoftforkRule :: !(Maybe SoftforkRule)
- bPpuTxFeePolicy :: !(Maybe TxFeePolicy)
- bPpuUnlockStakeEpoch :: !(Maybe EpochNumber)
- makeByronUpdateProposal :: NetworkId -> ProtocolVersion -> SoftwareVersion -> SystemTag -> InstallerHash -> SomeByronSigningKey -> ByronProtocolParametersUpdate -> ByronUpdateProposal
- toByronLedgerUpdateProposal :: ByronUpdateProposal -> GenTx ByronBlock
- makeProtocolParametersUpdate :: ByronProtocolParametersUpdate -> ProtocolParametersUpdate
- newtype ByronVote = ByronVote {}
- makeByronVote :: NetworkId -> SomeByronSigningKey -> ByronUpdateProposal -> Bool -> ByronVote
- toByronLedgertoByronVote :: ByronVote -> GenTx ByronBlock
- applicationName :: ApplicationName
- applicationVersion :: NumSoftwareVersion
- softwareVersion :: SoftwareVersion
- data AddrAttributes = AddrAttributes {}
- data Address
- data KeyHash
- addressDetailedF :: Format r (Address -> r)
- addressF :: Format r (Address -> r)
- addressHash :: EncCBOR a => a -> AddressHash a
- checkVerKeyAddress :: VerificationKey -> Address -> Bool
- decodeAddressBase58 :: Text -> Either DecoderError Address
- mkAttributes :: h -> Attributes h
- data Lovelace
- data LovelacePortion
- lovelacePortionToRational :: LovelacePortion -> Rational
- mkKnownLovelace :: forall (n :: Nat). (KnownNat n, n <= 45000000000000000) => Lovelace
- rationalToLovelacePortion :: Rational -> LovelacePortion
- data Config = Config {}
- data FakeAvvmOptions = FakeAvvmOptions {
- faoCount :: !Word
- faoOneBalance :: !Lovelace
- data GeneratedSecrets = GeneratedSecrets {
- gsDlgIssuersSecrets :: ![SigningKey]
- gsRichSecrets :: ![SigningKey]
- gsPoorSecrets :: ![PoorSecret]
- gsFakeAvvmSecrets :: ![RedeemSigningKey]
- newtype GenesisAvvmBalances = GenesisAvvmBalances {}
- data GenesisData = GenesisData {}
- data GenesisDataError
- = GenesisDataParseError Text
- | GenesisDataSchemaError SchemaError
- | GenesisDataIOError IOException
- data GenesisDataGenerationError
- newtype GenesisDelegation = UnsafeGenesisDelegation {}
- data GenesisDelegationError
- newtype GenesisHash = GenesisHash {
- unGenesisHash :: Hash Raw
- data GenesisInitializer = GenesisInitializer {}
- data GenesisSpec = UnsafeGenesisSpec {}
- data NetworkMagic
- newtype PoorSecret = PoorSecret {}
- data TestnetBalanceOptions = TestnetBalanceOptions {
- tboPoors :: !Word
- tboRichmen :: !Word
- tboTotalBalance :: !Lovelace
- tboRichmenShare :: !Rational
- data TxFeePolicy = TxFeePolicyTxSizeLinear !TxSizeLinear
- data TxSizeLinear = TxSizeLinear !Lovelace !Rational
- generateGenesisData :: UTCTime -> GenesisSpec -> ExceptT GenesisDataGenerationError IO (GenesisData, GeneratedSecrets)
- mkGenesisDelegation :: MonadError GenesisDelegationError m => [Certificate] -> m GenesisDelegation
- mkGenesisSpec :: GenesisAvvmBalances -> GenesisDelegation -> ProtocolParameters -> BlockCount -> ProtocolMagic -> GenesisInitializer -> Either Text GenesisSpec
- readGenesisData :: (MonadError GenesisDataError m, MonadIO m) => FilePath -> m (GenesisData, GenesisHash)
- newtype ApplicationName = ApplicationName {}
- newtype InstallerHash = InstallerHash {}
- type NumSoftwareVersion = Word32
- type Proposal = AProposal ()
- data ProtocolParameters = ProtocolParameters {
- ppScriptVersion :: !Word16
- ppSlotDuration :: !Natural
- ppMaxBlockSize :: !Natural
- ppMaxHeaderSize :: !Natural
- ppMaxTxSize :: !Natural
- ppMaxProposalSize :: !Natural
- ppMpcThd :: !LovelacePortion
- ppHeavyDelThd :: !LovelacePortion
- ppUpdateVoteThd :: !LovelacePortion
- ppUpdateProposalThd :: !LovelacePortion
- ppUpdateProposalTTL :: !SlotNumber
- ppSoftforkRule :: !SoftforkRule
- ppTxFeePolicy :: !TxFeePolicy
- ppUnlockStakeEpoch :: !EpochNumber
- data ProtocolVersion = ProtocolVersion {}
- data SoftforkRule = SoftforkRule {}
- data SoftwareVersion = SoftwareVersion {}
- newtype SystemTag = SystemTag {
- getSystemTag :: Text
- type Vote = AVote ()
- checkApplicationName :: MonadError ApplicationNameError m => ApplicationName -> m ()
- checkSystemTag :: MonadError SystemTagError m => SystemTag -> m ()
- newtype BlockCount = BlockCount {}
- newtype EpochNumber = EpochNumber {}
- newtype SlotNumber = SlotNumber {}
- decCBORABlockOrBoundary :: EpochSlots -> Decoder s (ABlockOrBoundary ByteSpan)
- data ATxAux a = ATxAux {
- aTaTx :: !(Annotated Tx a)
- aTaWitness :: !(Annotated TxWitness a)
- aTaAnnotation :: !a
- data CompactTxIn
- data CompactTxOut
- data Tx = UnsafeTx {
- txInputs :: !(NonEmpty TxIn)
- txOutputs :: !(NonEmpty TxOut)
- txAttributes :: !TxAttributes
- data TxIn = TxInUtxo TxId Word16
- data TxOut = TxOut {
- txOutAddress :: !Address
- txOutValue :: !Lovelace
- newtype UTxO = UTxO {}
- defaultUTxOConfiguration :: UTxOConfiguration
- fromCompactTxIn :: CompactTxIn -> TxIn
- fromCompactTxOut :: CompactTxOut -> TxOut
- genesisUtxo :: Config -> UTxO
- data ACertificate a = UnsafeACertificate {
- aEpoch :: !(Annotated EpochNumber a)
- issuerVK :: !VerificationKey
- delegateVK :: !VerificationKey
- signature :: !(Signature EpochNumber)
- annotation :: !a
- type Certificate = ACertificate ()
- isValid :: Annotated ProtocolMagicId ByteString -> ACertificate ByteString -> Bool
- signCertificate :: ProtocolMagicId -> VerificationKey -> EpochNumber -> SafeSigner -> Certificate
Documentation
data family Hash keyrole Source #
Instances
data TxBody era where Source #
Constructors
ShelleyTxBody | |
Fields
|
Bundled Patterns
pattern TxBody :: TxBodyContent ViewTx era -> TxBody era | Deprecated: Use getTxBodyContent $ getTxBody instead |
Instances
Show (TxBody era) Source # | |||||
HasTypeProxy era => HasTypeProxy (TxBody era) Source # | |||||
Defined in Cardano.Api.Tx.Internal.Sign Associated Types
| |||||
IsShelleyBasedEra era => SerialiseAsCBOR (TxBody era) Source # | |||||
Defined in Cardano.Api.Tx.Internal.Sign Methods serialiseToCBOR :: TxBody era -> ByteString Source # deserialiseFromCBOR :: AsType (TxBody era) -> ByteString -> Either DecoderError (TxBody era) Source # | |||||
IsShelleyBasedEra era => HasTextEnvelope (TxBody era) Source # | |||||
Defined in Cardano.Api.Tx.Internal.Sign Methods textEnvelopeType :: AsType (TxBody era) -> TextEnvelopeType Source # textEnvelopeDefaultDescr :: TxBody era -> TextEnvelopeDescr Source # | |||||
Eq (TxBody era) Source # | |||||
data AsType (TxBody era) Source # | |||||
Defined in Cardano.Api.Tx.Internal.Sign |
Constructors
TxId (Hash HASH EraIndependentTxBody) |
Instances
FromJSON TxId Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn Methods parseJSON :: Value -> Parser TxId # parseJSONList :: Value -> Parser [TxId] # omittedField :: Maybe TxId # | |
FromJSONKey TxId Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn | |
ToJSON TxId Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn | |
ToJSONKey TxId Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn | |
Show TxId Source # | |
HasTypeProxy TxId Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn | |
SerialiseAsRawBytes TxId Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn Methods serialiseToRawBytes :: TxId -> ByteString Source # deserialiseFromRawBytes :: AsType TxId -> ByteString -> Either SerialiseAsRawBytesError TxId Source # | |
Eq TxId Source # | |
Ord TxId Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn | |
Pretty TxId Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn | |
data AsType TxId Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn |
data family VerificationKey keyrole Source #
The type of cryptographic verification key, for each key role.
Instances
Show (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
Show (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods showsPrec :: Int -> VerificationKey ByronKeyLegacy -> ShowS Source # show :: VerificationKey ByronKeyLegacy -> String Source # showList :: [VerificationKey ByronKeyLegacy] -> ShowS Source # | |||||
Show (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey CommitteeColdExtendedKey -> ShowS Source # show :: VerificationKey CommitteeColdExtendedKey -> String Source # showList :: [VerificationKey CommitteeColdExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey CommitteeColdKey -> ShowS Source # show :: VerificationKey CommitteeColdKey -> String Source # showList :: [VerificationKey CommitteeColdKey] -> ShowS Source # | |||||
Show (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey CommitteeHotExtendedKey -> ShowS Source # show :: VerificationKey CommitteeHotExtendedKey -> String Source # showList :: [VerificationKey CommitteeHotExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey CommitteeHotKey -> ShowS Source # show :: VerificationKey CommitteeHotKey -> String Source # showList :: [VerificationKey CommitteeHotKey] -> ShowS Source # | |||||
Show (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey DRepExtendedKey -> ShowS Source # show :: VerificationKey DRepExtendedKey -> String Source # showList :: [VerificationKey DRepExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey GenesisDelegateExtendedKey -> ShowS Source # show :: VerificationKey GenesisDelegateExtendedKey -> String Source # showList :: [VerificationKey GenesisDelegateExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey GenesisDelegateKey -> ShowS Source # show :: VerificationKey GenesisDelegateKey -> String Source # showList :: [VerificationKey GenesisDelegateKey] -> ShowS Source # | |||||
Show (VerificationKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey GenesisExtendedKey -> ShowS Source # show :: VerificationKey GenesisExtendedKey -> String Source # showList :: [VerificationKey GenesisExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey GenesisKey -> ShowS Source # show :: VerificationKey GenesisKey -> String Source # showList :: [VerificationKey GenesisKey] -> ShowS Source # | |||||
Show (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey GenesisUTxOKey -> ShowS Source # show :: VerificationKey GenesisUTxOKey -> String Source # showList :: [VerificationKey GenesisUTxOKey] -> ShowS Source # | |||||
Show (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey PaymentExtendedKey -> ShowS Source # show :: VerificationKey PaymentExtendedKey -> String Source # showList :: [VerificationKey PaymentExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey PaymentKey -> ShowS Source # show :: VerificationKey PaymentKey -> String Source # showList :: [VerificationKey PaymentKey] -> ShowS Source # | |||||
Show (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey StakeExtendedKey -> ShowS Source # show :: VerificationKey StakeExtendedKey -> String Source # showList :: [VerificationKey StakeExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey StakePoolExtendedKey -> ShowS Source # show :: VerificationKey StakePoolExtendedKey -> String Source # showList :: [VerificationKey StakePoolExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey StakePoolKey -> ShowS Source # show :: VerificationKey StakePoolKey -> String Source # showList :: [VerificationKey StakePoolKey] -> ShowS Source # | |||||
Show (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
Show (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
HasTypeProxy a => HasTypeProxy (VerificationKey a) Source # | |||||
Defined in Cardano.Api.Key.Internal.Class Associated Types
Methods proxyToAsType :: Proxy (VerificationKey a) -> AsType (VerificationKey a) Source # | |||||
SerialiseAsBech32 (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey CommitteeColdExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey CommitteeColdExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey CommitteeColdKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey CommitteeColdKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey CommitteeHotExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey CommitteeHotExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey CommitteeHotKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey CommitteeHotKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey DRepExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey DRepExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey DRepKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey DRepKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey PaymentExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey PaymentExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey PaymentKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey PaymentKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey StakeExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey StakeExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey StakeKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey StakeKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey StakePoolExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey StakePoolExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey StakePoolKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey StakePoolKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods bech32PrefixFor :: VerificationKey KesKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey KesKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods bech32PrefixFor :: VerificationKey VrfKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey VrfKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsCBOR (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToCBOR :: VerificationKey ByronKey -> ByteString Source # deserialiseFromCBOR :: AsType (VerificationKey ByronKey) -> ByteString -> Either DecoderError (VerificationKey ByronKey) Source # | |||||
SerialiseAsCBOR (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
SerialiseAsCBOR (VerificationKey CommitteeColdExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey CommitteeHotExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: VerificationKey DRepKey -> ByteString Source # deserialiseFromCBOR :: AsType (VerificationKey DRepKey) -> ByteString -> Either DecoderError (VerificationKey DRepKey) Source # | |||||
SerialiseAsCBOR (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey GenesisDelegateKey) Source # | |||||
SerialiseAsCBOR (VerificationKey GenesisExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey PaymentExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: VerificationKey StakeKey -> ByteString Source # deserialiseFromCBOR :: AsType (VerificationKey StakeKey) -> ByteString -> Either DecoderError (VerificationKey StakeKey) Source # | |||||
SerialiseAsCBOR (VerificationKey StakePoolExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToCBOR :: VerificationKey KesKey -> ByteString Source # deserialiseFromCBOR :: AsType (VerificationKey KesKey) -> ByteString -> Either DecoderError (VerificationKey KesKey) Source # | |||||
SerialiseAsCBOR (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToCBOR :: VerificationKey VrfKey -> ByteString Source # deserialiseFromCBOR :: AsType (VerificationKey VrfKey) -> ByteString -> Either DecoderError (VerificationKey VrfKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
SerialiseAsRawBytes (VerificationKey ByronKeyLegacy) Source # | |||||
SerialiseAsRawBytes (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey CommitteeColdKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey CommitteeHotKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey DRepExtendedKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey GenesisDelegateKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey GenesisExtendedKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey GenesisUTxOKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey PaymentExtendedKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey StakeExtendedKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey StakePoolExtendedKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey StakePoolKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
SerialiseAsRawBytes (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
HasTextEnvelope (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
HasTextEnvelope (VerificationKey ByronKeyLegacy) Source # | |||||
HasTextEnvelope (VerificationKey CommitteeColdExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey CommitteeColdKey) Source # | |||||
HasTextEnvelope (VerificationKey CommitteeHotExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey CommitteeHotKey) Source # | |||||
HasTextEnvelope (VerificationKey DRepExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey GenesisDelegateKey) Source # | |||||
HasTextEnvelope (VerificationKey GenesisExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey PaymentExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey StakeExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey StakePoolExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
HasTextEnvelope (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
FromCBOR (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
FromCBOR (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods fromCBOR :: Decoder s (VerificationKey ByronKeyLegacy) Source # label :: Proxy (VerificationKey ByronKeyLegacy) -> Text Source # | |||||
FromCBOR (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey CommitteeColdExtendedKey) Source # label :: Proxy (VerificationKey CommitteeColdExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey CommitteeColdKey) Source # label :: Proxy (VerificationKey CommitteeColdKey) -> Text Source # | |||||
FromCBOR (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey CommitteeHotExtendedKey) Source # label :: Proxy (VerificationKey CommitteeHotExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey CommitteeHotKey) Source # label :: Proxy (VerificationKey CommitteeHotKey) -> Text Source # | |||||
FromCBOR (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey DRepExtendedKey) Source # label :: Proxy (VerificationKey DRepExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey GenesisDelegateExtendedKey) Source # label :: Proxy (VerificationKey GenesisDelegateExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey GenesisDelegateKey) Source # label :: Proxy (VerificationKey GenesisDelegateKey) -> Text Source # | |||||
FromCBOR (VerificationKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey GenesisExtendedKey) Source # label :: Proxy (VerificationKey GenesisExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey GenesisKey) Source # label :: Proxy (VerificationKey GenesisKey) -> Text Source # | |||||
FromCBOR (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey GenesisUTxOKey) Source # label :: Proxy (VerificationKey GenesisUTxOKey) -> Text Source # | |||||
FromCBOR (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey PaymentExtendedKey) Source # label :: Proxy (VerificationKey PaymentExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey PaymentKey) Source # label :: Proxy (VerificationKey PaymentKey) -> Text Source # | |||||
FromCBOR (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey StakeExtendedKey) Source # label :: Proxy (VerificationKey StakeExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey StakePoolExtendedKey) Source # label :: Proxy (VerificationKey StakePoolExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey StakePoolKey) Source # label :: Proxy (VerificationKey StakePoolKey) -> Text Source # | |||||
FromCBOR (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
FromCBOR (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
ToCBOR (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
ToCBOR (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods toCBOR :: VerificationKey ByronKeyLegacy -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey ByronKeyLegacy) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey ByronKeyLegacy] -> Size Source # | |||||
ToCBOR (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey CommitteeColdExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey CommitteeColdExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey CommitteeColdExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey CommitteeColdKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey CommitteeColdKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey CommitteeColdKey] -> Size Source # | |||||
ToCBOR (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey CommitteeHotExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey CommitteeHotExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey CommitteeHotExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey CommitteeHotKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey CommitteeHotKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey CommitteeHotKey] -> Size Source # | |||||
ToCBOR (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey DRepExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey DRepExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey DRepExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey GenesisDelegateExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisDelegateExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisDelegateExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey GenesisDelegateKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisDelegateKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisDelegateKey] -> Size Source # | |||||
ToCBOR (VerificationKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey GenesisExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey GenesisKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisKey] -> Size Source # | |||||
ToCBOR (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey GenesisUTxOKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisUTxOKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisUTxOKey] -> Size Source # | |||||
ToCBOR (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey PaymentExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey PaymentExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey PaymentExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey PaymentKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey PaymentKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey PaymentKey] -> Size Source # | |||||
ToCBOR (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey StakeExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey StakeExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey StakeExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey StakePoolExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey StakePoolExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey StakePoolExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey StakePoolKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey StakePoolKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey StakePoolKey] -> Size Source # | |||||
ToCBOR (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
ToCBOR (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
Eq (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods (==) :: VerificationKey ByronKey -> VerificationKey ByronKey -> Bool Source # (/=) :: VerificationKey ByronKey -> VerificationKey ByronKey -> Bool Source # | |||||
Eq (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods (==) :: VerificationKey ByronKeyLegacy -> VerificationKey ByronKeyLegacy -> Bool Source # (/=) :: VerificationKey ByronKeyLegacy -> VerificationKey ByronKeyLegacy -> Bool Source # | |||||
Eq (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Eq (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey CommitteeColdKey -> VerificationKey CommitteeColdKey -> Bool Source # (/=) :: VerificationKey CommitteeColdKey -> VerificationKey CommitteeColdKey -> Bool Source # | |||||
Eq (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Eq (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey CommitteeHotKey -> VerificationKey CommitteeHotKey -> Bool Source # (/=) :: VerificationKey CommitteeHotKey -> VerificationKey CommitteeHotKey -> Bool Source # | |||||
Eq (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey DRepExtendedKey -> VerificationKey DRepExtendedKey -> Bool Source # (/=) :: VerificationKey DRepExtendedKey -> VerificationKey DRepExtendedKey -> Bool Source # | |||||
Eq (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey DRepKey -> VerificationKey DRepKey -> Bool Source # (/=) :: VerificationKey DRepKey -> VerificationKey DRepKey -> Bool Source # | |||||
Eq (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Eq (VerificationKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Eq (VerificationKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Eq (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey GenesisKey -> VerificationKey GenesisKey -> Bool Source # (/=) :: VerificationKey GenesisKey -> VerificationKey GenesisKey -> Bool Source # | |||||
Eq (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey GenesisUTxOKey -> VerificationKey GenesisUTxOKey -> Bool Source # (/=) :: VerificationKey GenesisUTxOKey -> VerificationKey GenesisUTxOKey -> Bool Source # | |||||
Eq (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Eq (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey PaymentKey -> VerificationKey PaymentKey -> Bool Source # (/=) :: VerificationKey PaymentKey -> VerificationKey PaymentKey -> Bool Source # | |||||
Eq (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey StakeExtendedKey -> VerificationKey StakeExtendedKey -> Bool Source # (/=) :: VerificationKey StakeExtendedKey -> VerificationKey StakeExtendedKey -> Bool Source # | |||||
Eq (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey StakeKey -> VerificationKey StakeKey -> Bool Source # (/=) :: VerificationKey StakeKey -> VerificationKey StakeKey -> Bool Source # | |||||
Eq (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Eq (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey StakePoolKey -> VerificationKey StakePoolKey -> Bool Source # (/=) :: VerificationKey StakePoolKey -> VerificationKey StakePoolKey -> Bool Source # | |||||
Eq (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods (==) :: VerificationKey KesKey -> VerificationKey KesKey -> Bool Source # (/=) :: VerificationKey KesKey -> VerificationKey KesKey -> Bool Source # | |||||
Eq (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods (==) :: VerificationKey VrfKey -> VerificationKey VrfKey -> Bool Source # (/=) :: VerificationKey VrfKey -> VerificationKey VrfKey -> Bool Source # | |||||
Pretty (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods pretty :: VerificationKey ByronKey -> Doc ann # prettyList :: [VerificationKey ByronKey] -> Doc ann # | |||||
Pretty (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods pretty :: VerificationKey ByronKeyLegacy -> Doc ann # prettyList :: [VerificationKey ByronKeyLegacy] -> Doc ann # | |||||
Pretty (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey CommitteeColdExtendedKey -> Doc ann # prettyList :: [VerificationKey CommitteeColdExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey CommitteeColdKey -> Doc ann # prettyList :: [VerificationKey CommitteeColdKey] -> Doc ann # | |||||
Pretty (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey CommitteeHotExtendedKey -> Doc ann # prettyList :: [VerificationKey CommitteeHotExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey CommitteeHotKey -> Doc ann # prettyList :: [VerificationKey CommitteeHotKey] -> Doc ann # | |||||
Pretty (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey DRepExtendedKey -> Doc ann # prettyList :: [VerificationKey DRepExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey DRepKey -> Doc ann # prettyList :: [VerificationKey DRepKey] -> Doc ann # | |||||
Pretty (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisDelegateExtendedKey -> Doc ann # prettyList :: [VerificationKey GenesisDelegateExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisDelegateKey -> Doc ann # prettyList :: [VerificationKey GenesisDelegateKey] -> Doc ann # | |||||
Pretty (VerificationKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisExtendedKey -> Doc ann # prettyList :: [VerificationKey GenesisExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisKey -> Doc ann # prettyList :: [VerificationKey GenesisKey] -> Doc ann # | |||||
Pretty (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisUTxOKey -> Doc ann # prettyList :: [VerificationKey GenesisUTxOKey] -> Doc ann # | |||||
Pretty (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey PaymentExtendedKey -> Doc ann # prettyList :: [VerificationKey PaymentExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey PaymentKey -> Doc ann # prettyList :: [VerificationKey PaymentKey] -> Doc ann # | |||||
Pretty (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey StakeExtendedKey -> Doc ann # prettyList :: [VerificationKey StakeExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey StakeKey -> Doc ann # prettyList :: [VerificationKey StakeKey] -> Doc ann # | |||||
Pretty (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey StakePoolExtendedKey -> Doc ann # prettyList :: [VerificationKey StakePoolExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey StakePoolKey -> Doc ann # prettyList :: [VerificationKey StakePoolKey] -> Doc ann # | |||||
Pretty (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods pretty :: VerificationKey KesKey -> Doc ann # prettyList :: [VerificationKey KesKey] -> Doc ann # | |||||
Pretty (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods pretty :: VerificationKey VrfKey -> Doc ann # prettyList :: [VerificationKey VrfKey] -> Doc ann # | |||||
newtype VerificationKey ByronKey Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
newtype VerificationKey ByronKeyLegacy Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
newtype VerificationKey CommitteeColdExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey CommitteeColdKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey CommitteeHotExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey CommitteeHotKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey DRepExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey DRepKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey GenesisDelegateExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey GenesisDelegateKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey GenesisExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey GenesisKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey GenesisUTxOKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey PaymentExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey PaymentKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey StakeExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey StakeKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey StakePoolExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey StakePoolKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey KesKey Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
newtype VerificationKey VrfKey Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
data AsType (VerificationKey a) Source # | |||||
Defined in Cardano.Api.Key.Internal.Class |
data family SigningKey keyrole Source #
The type of cryptographic signing key, for each key role.
Instances
Show (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
Show (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods showsPrec :: Int -> SigningKey ByronKeyLegacy -> ShowS Source # show :: SigningKey ByronKeyLegacy -> String Source # showList :: [SigningKey ByronKeyLegacy] -> ShowS Source # | |||||
Show (SigningKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey CommitteeColdExtendedKey -> ShowS Source # show :: SigningKey CommitteeColdExtendedKey -> String Source # showList :: [SigningKey CommitteeColdExtendedKey] -> ShowS Source # | |||||
Show (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey CommitteeColdKey -> ShowS Source # show :: SigningKey CommitteeColdKey -> String Source # showList :: [SigningKey CommitteeColdKey] -> ShowS Source # | |||||
Show (SigningKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey CommitteeHotExtendedKey -> ShowS Source # show :: SigningKey CommitteeHotExtendedKey -> String Source # showList :: [SigningKey CommitteeHotExtendedKey] -> ShowS Source # | |||||
Show (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey CommitteeHotKey -> ShowS Source # show :: SigningKey CommitteeHotKey -> String Source # showList :: [SigningKey CommitteeHotKey] -> ShowS Source # | |||||
Show (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey DRepExtendedKey -> ShowS Source # show :: SigningKey DRepExtendedKey -> String Source # showList :: [SigningKey DRepExtendedKey] -> ShowS Source # | |||||
Show (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (SigningKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey GenesisDelegateExtendedKey -> ShowS Source # show :: SigningKey GenesisDelegateExtendedKey -> String Source # showList :: [SigningKey GenesisDelegateExtendedKey] -> ShowS Source # | |||||
Show (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey GenesisDelegateKey -> ShowS Source # show :: SigningKey GenesisDelegateKey -> String Source # showList :: [SigningKey GenesisDelegateKey] -> ShowS Source # | |||||
Show (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey GenesisExtendedKey -> ShowS Source # show :: SigningKey GenesisExtendedKey -> String Source # showList :: [SigningKey GenesisExtendedKey] -> ShowS Source # | |||||
Show (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey GenesisKey -> ShowS Source # show :: SigningKey GenesisKey -> String Source # showList :: [SigningKey GenesisKey] -> ShowS Source # | |||||
Show (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey GenesisUTxOKey -> ShowS Source # show :: SigningKey GenesisUTxOKey -> String Source # showList :: [SigningKey GenesisUTxOKey] -> ShowS Source # | |||||
Show (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey PaymentExtendedKey -> ShowS Source # show :: SigningKey PaymentExtendedKey -> String Source # showList :: [SigningKey PaymentExtendedKey] -> ShowS Source # | |||||
Show (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey PaymentKey -> ShowS Source # show :: SigningKey PaymentKey -> String Source # showList :: [SigningKey PaymentKey] -> ShowS Source # | |||||
Show (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey StakeExtendedKey -> ShowS Source # show :: SigningKey StakeExtendedKey -> String Source # showList :: [SigningKey StakeExtendedKey] -> ShowS Source # | |||||
Show (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey StakePoolExtendedKey -> ShowS Source # show :: SigningKey StakePoolExtendedKey -> String Source # showList :: [SigningKey StakePoolExtendedKey] -> ShowS Source # | |||||
Show (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey StakePoolKey -> ShowS Source # show :: SigningKey StakePoolKey -> String Source # showList :: [SigningKey StakePoolKey] -> ShowS Source # | |||||
Show (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
Show (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
HasTypeProxy a => HasTypeProxy (SigningKey a) Source # | |||||
Defined in Cardano.Api.Key.Internal.Class Associated Types
Methods proxyToAsType :: Proxy (SigningKey a) -> AsType (SigningKey a) Source # | |||||
SerialiseAsBech32 (SigningKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey CommitteeColdExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey CommitteeColdExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey CommitteeColdKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey CommitteeColdKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey CommitteeHotExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey CommitteeHotExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey CommitteeHotKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey CommitteeHotKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey DRepExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey DRepExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey DRepKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey DRepKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey PaymentExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey PaymentExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey PaymentKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey PaymentKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey StakeExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey StakeExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey StakeKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey StakeKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey StakePoolExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey StakePoolExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey StakePoolKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey StakePoolKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods bech32PrefixFor :: SigningKey KesKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey KesKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods bech32PrefixFor :: SigningKey VrfKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey VrfKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsCBOR (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToCBOR :: SigningKey ByronKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey ByronKey) -> ByteString -> Either DecoderError (SigningKey ByronKey) Source # | |||||
SerialiseAsCBOR (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToCBOR :: SigningKey ByronKeyLegacy -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey ByronKeyLegacy) -> ByteString -> Either DecoderError (SigningKey ByronKeyLegacy) Source # | |||||
SerialiseAsCBOR (SigningKey CommitteeColdExtendedKey) Source # | |||||
SerialiseAsCBOR (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey CommitteeHotExtendedKey) Source # | |||||
SerialiseAsCBOR (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey DRepKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey DRepKey) -> ByteString -> Either DecoderError (SigningKey DRepKey) Source # | |||||
SerialiseAsCBOR (SigningKey GenesisDelegateExtendedKey) Source # | |||||
SerialiseAsCBOR (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey GenesisKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey GenesisKey) -> ByteString -> Either DecoderError (SigningKey GenesisKey) Source # | |||||
SerialiseAsCBOR (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey GenesisUTxOKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey GenesisUTxOKey) -> ByteString -> Either DecoderError (SigningKey GenesisUTxOKey) Source # | |||||
SerialiseAsCBOR (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey PaymentKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey PaymentKey) -> ByteString -> Either DecoderError (SigningKey PaymentKey) Source # | |||||
SerialiseAsCBOR (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey StakeKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey StakeKey) -> ByteString -> Either DecoderError (SigningKey StakeKey) Source # | |||||
SerialiseAsCBOR (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey StakePoolKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey StakePoolKey) -> ByteString -> Either DecoderError (SigningKey StakePoolKey) Source # | |||||
SerialiseAsCBOR (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToCBOR :: SigningKey KesKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey KesKey) -> ByteString -> Either DecoderError (SigningKey KesKey) Source # | |||||
SerialiseAsCBOR (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToCBOR :: SigningKey VrfKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey VrfKey) -> ByteString -> Either DecoderError (SigningKey VrfKey) Source # | |||||
SerialiseAsRawBytes (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
SerialiseAsRawBytes (SigningKey ByronKeyLegacy) Source # | |||||
SerialiseAsRawBytes (SigningKey CommitteeColdExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey CommitteeColdKey) Source # | |||||
SerialiseAsRawBytes (SigningKey CommitteeHotExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToRawBytes :: SigningKey DRepKey -> ByteString Source # deserialiseFromRawBytes :: AsType (SigningKey DRepKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey DRepKey) Source # | |||||
SerialiseAsRawBytes (SigningKey GenesisDelegateExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey GenesisDelegateKey) Source # | |||||
SerialiseAsRawBytes (SigningKey GenesisExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey PaymentExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey StakeExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey StakePoolExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToRawBytes :: SigningKey KesKey -> ByteString Source # deserialiseFromRawBytes :: AsType (SigningKey KesKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey KesKey) Source # | |||||
SerialiseAsRawBytes (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToRawBytes :: SigningKey VrfKey -> ByteString Source # deserialiseFromRawBytes :: AsType (SigningKey VrfKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey VrfKey) Source # | |||||
HasTextEnvelope (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
HasTextEnvelope (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
HasTextEnvelope (SigningKey CommitteeColdExtendedKey) Source # | |||||
HasTextEnvelope (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey CommitteeHotExtendedKey) Source # | |||||
HasTextEnvelope (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods textEnvelopeType :: AsType (SigningKey DRepKey) -> TextEnvelopeType Source # textEnvelopeDefaultDescr :: SigningKey DRepKey -> TextEnvelopeDescr Source # | |||||
HasTextEnvelope (SigningKey GenesisDelegateExtendedKey) Source # | |||||
HasTextEnvelope (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey StakePoolExtendedKey) Source # | |||||
HasTextEnvelope (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods textEnvelopeType :: AsType (SigningKey KesKey) -> TextEnvelopeType Source # textEnvelopeDefaultDescr :: SigningKey KesKey -> TextEnvelopeDescr Source # | |||||
HasTextEnvelope (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods textEnvelopeType :: AsType (SigningKey VrfKey) -> TextEnvelopeType Source # textEnvelopeDefaultDescr :: SigningKey VrfKey -> TextEnvelopeDescr Source # | |||||
FromCBOR (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
FromCBOR (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods fromCBOR :: Decoder s (SigningKey ByronKeyLegacy) Source # label :: Proxy (SigningKey ByronKeyLegacy) -> Text Source # | |||||
FromCBOR (SigningKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey CommitteeColdExtendedKey) Source # label :: Proxy (SigningKey CommitteeColdExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey CommitteeColdKey) Source # label :: Proxy (SigningKey CommitteeColdKey) -> Text Source # | |||||
FromCBOR (SigningKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey CommitteeHotExtendedKey) Source # label :: Proxy (SigningKey CommitteeHotExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey CommitteeHotKey) Source # label :: Proxy (SigningKey CommitteeHotKey) -> Text Source # | |||||
FromCBOR (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey DRepExtendedKey) Source # label :: Proxy (SigningKey DRepExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (SigningKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey GenesisDelegateExtendedKey) Source # label :: Proxy (SigningKey GenesisDelegateExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey GenesisDelegateKey) Source # label :: Proxy (SigningKey GenesisDelegateKey) -> Text Source # | |||||
FromCBOR (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey GenesisExtendedKey) Source # label :: Proxy (SigningKey GenesisExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey GenesisKey) Source # label :: Proxy (SigningKey GenesisKey) -> Text Source # | |||||
FromCBOR (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey GenesisUTxOKey) Source # label :: Proxy (SigningKey GenesisUTxOKey) -> Text Source # | |||||
FromCBOR (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey PaymentExtendedKey) Source # label :: Proxy (SigningKey PaymentExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey PaymentKey) Source # label :: Proxy (SigningKey PaymentKey) -> Text Source # | |||||
FromCBOR (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey StakeExtendedKey) Source # label :: Proxy (SigningKey StakeExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey StakePoolExtendedKey) Source # label :: Proxy (SigningKey StakePoolExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey StakePoolKey) Source # label :: Proxy (SigningKey StakePoolKey) -> Text Source # | |||||
FromCBOR (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
FromCBOR (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
ToCBOR (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
ToCBOR (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods toCBOR :: SigningKey ByronKeyLegacy -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey ByronKeyLegacy) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey ByronKeyLegacy] -> Size Source # | |||||
ToCBOR (SigningKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey CommitteeColdExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey CommitteeColdExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey CommitteeColdExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey CommitteeColdKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey CommitteeColdKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey CommitteeColdKey] -> Size Source # | |||||
ToCBOR (SigningKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey CommitteeHotExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey CommitteeHotExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey CommitteeHotExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey CommitteeHotKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey CommitteeHotKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey CommitteeHotKey] -> Size Source # | |||||
ToCBOR (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey DRepExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey DRepExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey DRepExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (SigningKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey GenesisDelegateExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisDelegateExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisDelegateExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey GenesisDelegateKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisDelegateKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisDelegateKey] -> Size Source # | |||||
ToCBOR (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey GenesisExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey GenesisKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisKey] -> Size Source # | |||||
ToCBOR (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey GenesisUTxOKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisUTxOKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisUTxOKey] -> Size Source # | |||||
ToCBOR (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey PaymentExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey PaymentExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey PaymentExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey PaymentKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey PaymentKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey PaymentKey] -> Size Source # | |||||
ToCBOR (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey StakeExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakeExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakeExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey StakePoolExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakePoolExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakePoolExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey StakePoolKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakePoolKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakePoolKey] -> Size Source # | |||||
ToCBOR (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
ToCBOR (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
Pretty (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
Pretty (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods pretty :: SigningKey ByronKeyLegacy -> Doc ann # prettyList :: [SigningKey ByronKeyLegacy] -> Doc ann # | |||||
Pretty (SigningKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey CommitteeColdExtendedKey -> Doc ann # prettyList :: [SigningKey CommitteeColdExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey CommitteeColdKey -> Doc ann # prettyList :: [SigningKey CommitteeColdKey] -> Doc ann # | |||||
Pretty (SigningKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey CommitteeHotExtendedKey -> Doc ann # prettyList :: [SigningKey CommitteeHotExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey CommitteeHotKey -> Doc ann # prettyList :: [SigningKey CommitteeHotKey] -> Doc ann # | |||||
Pretty (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey DRepExtendedKey -> Doc ann # prettyList :: [SigningKey DRepExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Pretty (SigningKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisDelegateExtendedKey -> Doc ann # prettyList :: [SigningKey GenesisDelegateExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisDelegateKey -> Doc ann # prettyList :: [SigningKey GenesisDelegateKey] -> Doc ann # | |||||
Pretty (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisExtendedKey -> Doc ann # prettyList :: [SigningKey GenesisExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisKey -> Doc ann # prettyList :: [SigningKey GenesisKey] -> Doc ann # | |||||
Pretty (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisUTxOKey -> Doc ann # prettyList :: [SigningKey GenesisUTxOKey] -> Doc ann # | |||||
Pretty (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey PaymentExtendedKey -> Doc ann # prettyList :: [SigningKey PaymentExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey PaymentKey -> Doc ann # prettyList :: [SigningKey PaymentKey] -> Doc ann # | |||||
Pretty (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey StakeExtendedKey -> Doc ann # prettyList :: [SigningKey StakeExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Pretty (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey StakePoolExtendedKey -> Doc ann # prettyList :: [SigningKey StakePoolExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey StakePoolKey -> Doc ann # prettyList :: [SigningKey StakePoolKey] -> Doc ann # | |||||
Pretty (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
Pretty (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
newtype SigningKey ByronKey Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
newtype SigningKey ByronKeyLegacy Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
newtype SigningKey CommitteeColdExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey CommitteeColdKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey CommitteeHotExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey CommitteeHotKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey DRepExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey DRepKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey GenesisDelegateExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey GenesisDelegateKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey GenesisExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey GenesisKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey GenesisUTxOKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey PaymentExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey PaymentKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey StakeExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey StakeKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey StakePoolExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey StakePoolKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey KesKey Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
newtype SigningKey VrfKey Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
data AsType (SigningKey a) Source # | |||||
Defined in Cardano.Api.Key.Internal.Class |
data family VerificationKey keyrole Source #
The type of cryptographic verification key, for each key role.
Instances
Show (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
Show (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods showsPrec :: Int -> VerificationKey ByronKeyLegacy -> ShowS Source # show :: VerificationKey ByronKeyLegacy -> String Source # showList :: [VerificationKey ByronKeyLegacy] -> ShowS Source # | |||||
Show (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey CommitteeColdExtendedKey -> ShowS Source # show :: VerificationKey CommitteeColdExtendedKey -> String Source # showList :: [VerificationKey CommitteeColdExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey CommitteeColdKey -> ShowS Source # show :: VerificationKey CommitteeColdKey -> String Source # showList :: [VerificationKey CommitteeColdKey] -> ShowS Source # | |||||
Show (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey CommitteeHotExtendedKey -> ShowS Source # show :: VerificationKey CommitteeHotExtendedKey -> String Source # showList :: [VerificationKey CommitteeHotExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey CommitteeHotKey -> ShowS Source # show :: VerificationKey CommitteeHotKey -> String Source # showList :: [VerificationKey CommitteeHotKey] -> ShowS Source # | |||||
Show (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey DRepExtendedKey -> ShowS Source # show :: VerificationKey DRepExtendedKey -> String Source # showList :: [VerificationKey DRepExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey GenesisDelegateExtendedKey -> ShowS Source # show :: VerificationKey GenesisDelegateExtendedKey -> String Source # showList :: [VerificationKey GenesisDelegateExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey GenesisDelegateKey -> ShowS Source # show :: VerificationKey GenesisDelegateKey -> String Source # showList :: [VerificationKey GenesisDelegateKey] -> ShowS Source # | |||||
Show (VerificationKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey GenesisExtendedKey -> ShowS Source # show :: VerificationKey GenesisExtendedKey -> String Source # showList :: [VerificationKey GenesisExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey GenesisKey -> ShowS Source # show :: VerificationKey GenesisKey -> String Source # showList :: [VerificationKey GenesisKey] -> ShowS Source # | |||||
Show (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey GenesisUTxOKey -> ShowS Source # show :: VerificationKey GenesisUTxOKey -> String Source # showList :: [VerificationKey GenesisUTxOKey] -> ShowS Source # | |||||
Show (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey PaymentExtendedKey -> ShowS Source # show :: VerificationKey PaymentExtendedKey -> String Source # showList :: [VerificationKey PaymentExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey PaymentKey -> ShowS Source # show :: VerificationKey PaymentKey -> String Source # showList :: [VerificationKey PaymentKey] -> ShowS Source # | |||||
Show (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey StakeExtendedKey -> ShowS Source # show :: VerificationKey StakeExtendedKey -> String Source # showList :: [VerificationKey StakeExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey StakePoolExtendedKey -> ShowS Source # show :: VerificationKey StakePoolExtendedKey -> String Source # showList :: [VerificationKey StakePoolExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey StakePoolKey -> ShowS Source # show :: VerificationKey StakePoolKey -> String Source # showList :: [VerificationKey StakePoolKey] -> ShowS Source # | |||||
Show (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
Show (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
HasTypeProxy a => HasTypeProxy (VerificationKey a) Source # | |||||
Defined in Cardano.Api.Key.Internal.Class Associated Types
Methods proxyToAsType :: Proxy (VerificationKey a) -> AsType (VerificationKey a) Source # | |||||
SerialiseAsBech32 (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey CommitteeColdExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey CommitteeColdExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey CommitteeColdKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey CommitteeColdKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey CommitteeHotExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey CommitteeHotExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey CommitteeHotKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey CommitteeHotKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey DRepExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey DRepExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey DRepKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey DRepKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey PaymentExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey PaymentExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey PaymentKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey PaymentKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey StakeExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey StakeExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey StakeKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey StakeKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey StakePoolExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey StakePoolExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey StakePoolKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey StakePoolKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods bech32PrefixFor :: VerificationKey KesKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey KesKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods bech32PrefixFor :: VerificationKey VrfKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey VrfKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsCBOR (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToCBOR :: VerificationKey ByronKey -> ByteString Source # deserialiseFromCBOR :: AsType (VerificationKey ByronKey) -> ByteString -> Either DecoderError (VerificationKey ByronKey) Source # | |||||
SerialiseAsCBOR (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
SerialiseAsCBOR (VerificationKey CommitteeColdExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey CommitteeHotExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: VerificationKey DRepKey -> ByteString Source # deserialiseFromCBOR :: AsType (VerificationKey DRepKey) -> ByteString -> Either DecoderError (VerificationKey DRepKey) Source # | |||||
SerialiseAsCBOR (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey GenesisDelegateKey) Source # | |||||
SerialiseAsCBOR (VerificationKey GenesisExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey PaymentExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: VerificationKey StakeKey -> ByteString Source # deserialiseFromCBOR :: AsType (VerificationKey StakeKey) -> ByteString -> Either DecoderError (VerificationKey StakeKey) Source # | |||||
SerialiseAsCBOR (VerificationKey StakePoolExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToCBOR :: VerificationKey KesKey -> ByteString Source # deserialiseFromCBOR :: AsType (VerificationKey KesKey) -> ByteString -> Either DecoderError (VerificationKey KesKey) Source # | |||||
SerialiseAsCBOR (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToCBOR :: VerificationKey VrfKey -> ByteString Source # deserialiseFromCBOR :: AsType (VerificationKey VrfKey) -> ByteString -> Either DecoderError (VerificationKey VrfKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
SerialiseAsRawBytes (VerificationKey ByronKeyLegacy) Source # | |||||
SerialiseAsRawBytes (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey CommitteeColdKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey CommitteeHotKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey DRepExtendedKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey GenesisDelegateKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey GenesisExtendedKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey GenesisUTxOKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey PaymentExtendedKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey StakeExtendedKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey StakePoolExtendedKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey StakePoolKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
SerialiseAsRawBytes (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
HasTextEnvelope (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
HasTextEnvelope (VerificationKey ByronKeyLegacy) Source # | |||||
HasTextEnvelope (VerificationKey CommitteeColdExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey CommitteeColdKey) Source # | |||||
HasTextEnvelope (VerificationKey CommitteeHotExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey CommitteeHotKey) Source # | |||||
HasTextEnvelope (VerificationKey DRepExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey GenesisDelegateKey) Source # | |||||
HasTextEnvelope (VerificationKey GenesisExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey PaymentExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey StakeExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey StakePoolExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
HasTextEnvelope (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
FromCBOR (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
FromCBOR (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods fromCBOR :: Decoder s (VerificationKey ByronKeyLegacy) Source # label :: Proxy (VerificationKey ByronKeyLegacy) -> Text Source # | |||||
FromCBOR (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey CommitteeColdExtendedKey) Source # label :: Proxy (VerificationKey CommitteeColdExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey CommitteeColdKey) Source # label :: Proxy (VerificationKey CommitteeColdKey) -> Text Source # | |||||
FromCBOR (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey CommitteeHotExtendedKey) Source # label :: Proxy (VerificationKey CommitteeHotExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey CommitteeHotKey) Source # label :: Proxy (VerificationKey CommitteeHotKey) -> Text Source # | |||||
FromCBOR (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey DRepExtendedKey) Source # label :: Proxy (VerificationKey DRepExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey GenesisDelegateExtendedKey) Source # label :: Proxy (VerificationKey GenesisDelegateExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey GenesisDelegateKey) Source # label :: Proxy (VerificationKey GenesisDelegateKey) -> Text Source # | |||||
FromCBOR (VerificationKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey GenesisExtendedKey) Source # label :: Proxy (VerificationKey GenesisExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey GenesisKey) Source # label :: Proxy (VerificationKey GenesisKey) -> Text Source # | |||||
FromCBOR (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey GenesisUTxOKey) Source # label :: Proxy (VerificationKey GenesisUTxOKey) -> Text Source # | |||||
FromCBOR (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey PaymentExtendedKey) Source # label :: Proxy (VerificationKey PaymentExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey PaymentKey) Source # label :: Proxy (VerificationKey PaymentKey) -> Text Source # | |||||
FromCBOR (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey StakeExtendedKey) Source # label :: Proxy (VerificationKey StakeExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey StakePoolExtendedKey) Source # label :: Proxy (VerificationKey StakePoolExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey StakePoolKey) Source # label :: Proxy (VerificationKey StakePoolKey) -> Text Source # | |||||
FromCBOR (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
FromCBOR (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
ToCBOR (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
ToCBOR (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods toCBOR :: VerificationKey ByronKeyLegacy -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey ByronKeyLegacy) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey ByronKeyLegacy] -> Size Source # | |||||
ToCBOR (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey CommitteeColdExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey CommitteeColdExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey CommitteeColdExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey CommitteeColdKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey CommitteeColdKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey CommitteeColdKey] -> Size Source # | |||||
ToCBOR (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey CommitteeHotExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey CommitteeHotExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey CommitteeHotExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey CommitteeHotKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey CommitteeHotKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey CommitteeHotKey] -> Size Source # | |||||
ToCBOR (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey DRepExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey DRepExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey DRepExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey GenesisDelegateExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisDelegateExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisDelegateExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey GenesisDelegateKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisDelegateKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisDelegateKey] -> Size Source # | |||||
ToCBOR (VerificationKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey GenesisExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey GenesisKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisKey] -> Size Source # | |||||
ToCBOR (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey GenesisUTxOKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisUTxOKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisUTxOKey] -> Size Source # | |||||
ToCBOR (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey PaymentExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey PaymentExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey PaymentExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey PaymentKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey PaymentKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey PaymentKey] -> Size Source # | |||||
ToCBOR (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey StakeExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey StakeExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey StakeExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey StakePoolExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey StakePoolExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey StakePoolExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey StakePoolKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey StakePoolKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey StakePoolKey] -> Size Source # | |||||
ToCBOR (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
ToCBOR (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
Eq (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods (==) :: VerificationKey ByronKey -> VerificationKey ByronKey -> Bool Source # (/=) :: VerificationKey ByronKey -> VerificationKey ByronKey -> Bool Source # | |||||
Eq (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods (==) :: VerificationKey ByronKeyLegacy -> VerificationKey ByronKeyLegacy -> Bool Source # (/=) :: VerificationKey ByronKeyLegacy -> VerificationKey ByronKeyLegacy -> Bool Source # | |||||
Eq (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Eq (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey CommitteeColdKey -> VerificationKey CommitteeColdKey -> Bool Source # (/=) :: VerificationKey CommitteeColdKey -> VerificationKey CommitteeColdKey -> Bool Source # | |||||
Eq (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Eq (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey CommitteeHotKey -> VerificationKey CommitteeHotKey -> Bool Source # (/=) :: VerificationKey CommitteeHotKey -> VerificationKey CommitteeHotKey -> Bool Source # | |||||
Eq (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey DRepExtendedKey -> VerificationKey DRepExtendedKey -> Bool Source # (/=) :: VerificationKey DRepExtendedKey -> VerificationKey DRepExtendedKey -> Bool Source # | |||||
Eq (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey DRepKey -> VerificationKey DRepKey -> Bool Source # (/=) :: VerificationKey DRepKey -> VerificationKey DRepKey -> Bool Source # | |||||
Eq (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Eq (VerificationKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Eq (VerificationKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Eq (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey GenesisKey -> VerificationKey GenesisKey -> Bool Source # (/=) :: VerificationKey GenesisKey -> VerificationKey GenesisKey -> Bool Source # | |||||
Eq (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey GenesisUTxOKey -> VerificationKey GenesisUTxOKey -> Bool Source # (/=) :: VerificationKey GenesisUTxOKey -> VerificationKey GenesisUTxOKey -> Bool Source # | |||||
Eq (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Eq (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey PaymentKey -> VerificationKey PaymentKey -> Bool Source # (/=) :: VerificationKey PaymentKey -> VerificationKey PaymentKey -> Bool Source # | |||||
Eq (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey StakeExtendedKey -> VerificationKey StakeExtendedKey -> Bool Source # (/=) :: VerificationKey StakeExtendedKey -> VerificationKey StakeExtendedKey -> Bool Source # | |||||
Eq (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey StakeKey -> VerificationKey StakeKey -> Bool Source # (/=) :: VerificationKey StakeKey -> VerificationKey StakeKey -> Bool Source # | |||||
Eq (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Eq (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey StakePoolKey -> VerificationKey StakePoolKey -> Bool Source # (/=) :: VerificationKey StakePoolKey -> VerificationKey StakePoolKey -> Bool Source # | |||||
Eq (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods (==) :: VerificationKey KesKey -> VerificationKey KesKey -> Bool Source # (/=) :: VerificationKey KesKey -> VerificationKey KesKey -> Bool Source # | |||||
Eq (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods (==) :: VerificationKey VrfKey -> VerificationKey VrfKey -> Bool Source # (/=) :: VerificationKey VrfKey -> VerificationKey VrfKey -> Bool Source # | |||||
Pretty (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods pretty :: VerificationKey ByronKey -> Doc ann # prettyList :: [VerificationKey ByronKey] -> Doc ann # | |||||
Pretty (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods pretty :: VerificationKey ByronKeyLegacy -> Doc ann # prettyList :: [VerificationKey ByronKeyLegacy] -> Doc ann # | |||||
Pretty (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey CommitteeColdExtendedKey -> Doc ann # prettyList :: [VerificationKey CommitteeColdExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey CommitteeColdKey -> Doc ann # prettyList :: [VerificationKey CommitteeColdKey] -> Doc ann # | |||||
Pretty (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey CommitteeHotExtendedKey -> Doc ann # prettyList :: [VerificationKey CommitteeHotExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey CommitteeHotKey -> Doc ann # prettyList :: [VerificationKey CommitteeHotKey] -> Doc ann # | |||||
Pretty (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey DRepExtendedKey -> Doc ann # prettyList :: [VerificationKey DRepExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey DRepKey -> Doc ann # prettyList :: [VerificationKey DRepKey] -> Doc ann # | |||||
Pretty (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisDelegateExtendedKey -> Doc ann # prettyList :: [VerificationKey GenesisDelegateExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisDelegateKey -> Doc ann # prettyList :: [VerificationKey GenesisDelegateKey] -> Doc ann # | |||||
Pretty (VerificationKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisExtendedKey -> Doc ann # prettyList :: [VerificationKey GenesisExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisKey -> Doc ann # prettyList :: [VerificationKey GenesisKey] -> Doc ann # | |||||
Pretty (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisUTxOKey -> Doc ann # prettyList :: [VerificationKey GenesisUTxOKey] -> Doc ann # | |||||
Pretty (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey PaymentExtendedKey -> Doc ann # prettyList :: [VerificationKey PaymentExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey PaymentKey -> Doc ann # prettyList :: [VerificationKey PaymentKey] -> Doc ann # | |||||
Pretty (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey StakeExtendedKey -> Doc ann # prettyList :: [VerificationKey StakeExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey StakeKey -> Doc ann # prettyList :: [VerificationKey StakeKey] -> Doc ann # | |||||
Pretty (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey StakePoolExtendedKey -> Doc ann # prettyList :: [VerificationKey StakePoolExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey StakePoolKey -> Doc ann # prettyList :: [VerificationKey StakePoolKey] -> Doc ann # | |||||
Pretty (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods pretty :: VerificationKey KesKey -> Doc ann # prettyList :: [VerificationKey KesKey] -> Doc ann # | |||||
Pretty (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods pretty :: VerificationKey VrfKey -> Doc ann # prettyList :: [VerificationKey VrfKey] -> Doc ann # | |||||
newtype VerificationKey ByronKey Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
newtype VerificationKey ByronKeyLegacy Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
newtype VerificationKey CommitteeColdExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey CommitteeColdKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey CommitteeHotExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey CommitteeHotKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey DRepExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey DRepKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey GenesisDelegateExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey GenesisDelegateKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey GenesisExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey GenesisKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey GenesisUTxOKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey PaymentExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey PaymentKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey StakeExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey StakeKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey StakePoolExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey StakePoolKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey KesKey Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
newtype VerificationKey VrfKey Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
data AsType (VerificationKey a) Source # | |||||
Defined in Cardano.Api.Key.Internal.Class |
data family SigningKey keyrole Source #
The type of cryptographic signing key, for each key role.
Instances
Show (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
Show (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods showsPrec :: Int -> SigningKey ByronKeyLegacy -> ShowS Source # show :: SigningKey ByronKeyLegacy -> String Source # showList :: [SigningKey ByronKeyLegacy] -> ShowS Source # | |||||
Show (SigningKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey CommitteeColdExtendedKey -> ShowS Source # show :: SigningKey CommitteeColdExtendedKey -> String Source # showList :: [SigningKey CommitteeColdExtendedKey] -> ShowS Source # | |||||
Show (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey CommitteeColdKey -> ShowS Source # show :: SigningKey CommitteeColdKey -> String Source # showList :: [SigningKey CommitteeColdKey] -> ShowS Source # | |||||
Show (SigningKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey CommitteeHotExtendedKey -> ShowS Source # show :: SigningKey CommitteeHotExtendedKey -> String Source # showList :: [SigningKey CommitteeHotExtendedKey] -> ShowS Source # | |||||
Show (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey CommitteeHotKey -> ShowS Source # show :: SigningKey CommitteeHotKey -> String Source # showList :: [SigningKey CommitteeHotKey] -> ShowS Source # | |||||
Show (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey DRepExtendedKey -> ShowS Source # show :: SigningKey DRepExtendedKey -> String Source # showList :: [SigningKey DRepExtendedKey] -> ShowS Source # | |||||
Show (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (SigningKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey GenesisDelegateExtendedKey -> ShowS Source # show :: SigningKey GenesisDelegateExtendedKey -> String Source # showList :: [SigningKey GenesisDelegateExtendedKey] -> ShowS Source # | |||||
Show (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey GenesisDelegateKey -> ShowS Source # show :: SigningKey GenesisDelegateKey -> String Source # showList :: [SigningKey GenesisDelegateKey] -> ShowS Source # | |||||
Show (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey GenesisExtendedKey -> ShowS Source # show :: SigningKey GenesisExtendedKey -> String Source # showList :: [SigningKey GenesisExtendedKey] -> ShowS Source # | |||||
Show (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey GenesisKey -> ShowS Source # show :: SigningKey GenesisKey -> String Source # showList :: [SigningKey GenesisKey] -> ShowS Source # | |||||
Show (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey GenesisUTxOKey -> ShowS Source # show :: SigningKey GenesisUTxOKey -> String Source # showList :: [SigningKey GenesisUTxOKey] -> ShowS Source # | |||||
Show (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey PaymentExtendedKey -> ShowS Source # show :: SigningKey PaymentExtendedKey -> String Source # showList :: [SigningKey PaymentExtendedKey] -> ShowS Source # | |||||
Show (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey PaymentKey -> ShowS Source # show :: SigningKey PaymentKey -> String Source # showList :: [SigningKey PaymentKey] -> ShowS Source # | |||||
Show (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey StakeExtendedKey -> ShowS Source # show :: SigningKey StakeExtendedKey -> String Source # showList :: [SigningKey StakeExtendedKey] -> ShowS Source # | |||||
Show (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey StakePoolExtendedKey -> ShowS Source # show :: SigningKey StakePoolExtendedKey -> String Source # showList :: [SigningKey StakePoolExtendedKey] -> ShowS Source # | |||||
Show (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey StakePoolKey -> ShowS Source # show :: SigningKey StakePoolKey -> String Source # showList :: [SigningKey StakePoolKey] -> ShowS Source # | |||||
Show (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
Show (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
HasTypeProxy a => HasTypeProxy (SigningKey a) Source # | |||||
Defined in Cardano.Api.Key.Internal.Class Associated Types
Methods proxyToAsType :: Proxy (SigningKey a) -> AsType (SigningKey a) Source # | |||||
SerialiseAsBech32 (SigningKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey CommitteeColdExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey CommitteeColdExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey CommitteeColdKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey CommitteeColdKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey CommitteeHotExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey CommitteeHotExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey CommitteeHotKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey CommitteeHotKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey DRepExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey DRepExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey DRepKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey DRepKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey PaymentExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey PaymentExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey PaymentKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey PaymentKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey StakeExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey StakeExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey StakeKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey StakeKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey StakePoolExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey StakePoolExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey StakePoolKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey StakePoolKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods bech32PrefixFor :: SigningKey KesKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey KesKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods bech32PrefixFor :: SigningKey VrfKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey VrfKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsCBOR (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToCBOR :: SigningKey ByronKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey ByronKey) -> ByteString -> Either DecoderError (SigningKey ByronKey) Source # | |||||
SerialiseAsCBOR (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToCBOR :: SigningKey ByronKeyLegacy -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey ByronKeyLegacy) -> ByteString -> Either DecoderError (SigningKey ByronKeyLegacy) Source # | |||||
SerialiseAsCBOR (SigningKey CommitteeColdExtendedKey) Source # | |||||
SerialiseAsCBOR (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey CommitteeHotExtendedKey) Source # | |||||
SerialiseAsCBOR (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey DRepKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey DRepKey) -> ByteString -> Either DecoderError (SigningKey DRepKey) Source # | |||||
SerialiseAsCBOR (SigningKey GenesisDelegateExtendedKey) Source # | |||||
SerialiseAsCBOR (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey GenesisKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey GenesisKey) -> ByteString -> Either DecoderError (SigningKey GenesisKey) Source # | |||||
SerialiseAsCBOR (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey GenesisUTxOKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey GenesisUTxOKey) -> ByteString -> Either DecoderError (SigningKey GenesisUTxOKey) Source # | |||||
SerialiseAsCBOR (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey PaymentKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey PaymentKey) -> ByteString -> Either DecoderError (SigningKey PaymentKey) Source # | |||||
SerialiseAsCBOR (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey StakeKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey StakeKey) -> ByteString -> Either DecoderError (SigningKey StakeKey) Source # | |||||
SerialiseAsCBOR (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey StakePoolKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey StakePoolKey) -> ByteString -> Either DecoderError (SigningKey StakePoolKey) Source # | |||||
SerialiseAsCBOR (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToCBOR :: SigningKey KesKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey KesKey) -> ByteString -> Either DecoderError (SigningKey KesKey) Source # | |||||
SerialiseAsCBOR (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToCBOR :: SigningKey VrfKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey VrfKey) -> ByteString -> Either DecoderError (SigningKey VrfKey) Source # | |||||
SerialiseAsRawBytes (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
SerialiseAsRawBytes (SigningKey ByronKeyLegacy) Source # | |||||
SerialiseAsRawBytes (SigningKey CommitteeColdExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey CommitteeColdKey) Source # | |||||
SerialiseAsRawBytes (SigningKey CommitteeHotExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToRawBytes :: SigningKey DRepKey -> ByteString Source # deserialiseFromRawBytes :: AsType (SigningKey DRepKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey DRepKey) Source # | |||||
SerialiseAsRawBytes (SigningKey GenesisDelegateExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey GenesisDelegateKey) Source # | |||||
SerialiseAsRawBytes (SigningKey GenesisExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey PaymentExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey StakeExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey StakePoolExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToRawBytes :: SigningKey KesKey -> ByteString Source # deserialiseFromRawBytes :: AsType (SigningKey KesKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey KesKey) Source # | |||||
SerialiseAsRawBytes (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToRawBytes :: SigningKey VrfKey -> ByteString Source # deserialiseFromRawBytes :: AsType (SigningKey VrfKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey VrfKey) Source # | |||||
HasTextEnvelope (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
HasTextEnvelope (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
HasTextEnvelope (SigningKey CommitteeColdExtendedKey) Source # | |||||
HasTextEnvelope (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey CommitteeHotExtendedKey) Source # | |||||
HasTextEnvelope (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods textEnvelopeType :: AsType (SigningKey DRepKey) -> TextEnvelopeType Source # textEnvelopeDefaultDescr :: SigningKey DRepKey -> TextEnvelopeDescr Source # | |||||
HasTextEnvelope (SigningKey GenesisDelegateExtendedKey) Source # | |||||
HasTextEnvelope (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey StakePoolExtendedKey) Source # | |||||
HasTextEnvelope (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods textEnvelopeType :: AsType (SigningKey KesKey) -> TextEnvelopeType Source # textEnvelopeDefaultDescr :: SigningKey KesKey -> TextEnvelopeDescr Source # | |||||
HasTextEnvelope (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods textEnvelopeType :: AsType (SigningKey VrfKey) -> TextEnvelopeType Source # textEnvelopeDefaultDescr :: SigningKey VrfKey -> TextEnvelopeDescr Source # | |||||
FromCBOR (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
FromCBOR (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods fromCBOR :: Decoder s (SigningKey ByronKeyLegacy) Source # label :: Proxy (SigningKey ByronKeyLegacy) -> Text Source # | |||||
FromCBOR (SigningKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey CommitteeColdExtendedKey) Source # label :: Proxy (SigningKey CommitteeColdExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey CommitteeColdKey) Source # label :: Proxy (SigningKey CommitteeColdKey) -> Text Source # | |||||
FromCBOR (SigningKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey CommitteeHotExtendedKey) Source # label :: Proxy (SigningKey CommitteeHotExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey CommitteeHotKey) Source # label :: Proxy (SigningKey CommitteeHotKey) -> Text Source # | |||||
FromCBOR (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey DRepExtendedKey) Source # label :: Proxy (SigningKey DRepExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (SigningKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey GenesisDelegateExtendedKey) Source # label :: Proxy (SigningKey GenesisDelegateExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey GenesisDelegateKey) Source # label :: Proxy (SigningKey GenesisDelegateKey) -> Text Source # | |||||
FromCBOR (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey GenesisExtendedKey) Source # label :: Proxy (SigningKey GenesisExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey GenesisKey) Source # label :: Proxy (SigningKey GenesisKey) -> Text Source # | |||||
FromCBOR (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey GenesisUTxOKey) Source # label :: Proxy (SigningKey GenesisUTxOKey) -> Text Source # | |||||
FromCBOR (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey PaymentExtendedKey) Source # label :: Proxy (SigningKey PaymentExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey PaymentKey) Source # label :: Proxy (SigningKey PaymentKey) -> Text Source # | |||||
FromCBOR (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey StakeExtendedKey) Source # label :: Proxy (SigningKey StakeExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey StakePoolExtendedKey) Source # label :: Proxy (SigningKey StakePoolExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey StakePoolKey) Source # label :: Proxy (SigningKey StakePoolKey) -> Text Source # | |||||
FromCBOR (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
FromCBOR (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
ToCBOR (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
ToCBOR (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods toCBOR :: SigningKey ByronKeyLegacy -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey ByronKeyLegacy) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey ByronKeyLegacy] -> Size Source # | |||||
ToCBOR (SigningKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey CommitteeColdExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey CommitteeColdExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey CommitteeColdExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey CommitteeColdKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey CommitteeColdKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey CommitteeColdKey] -> Size Source # | |||||
ToCBOR (SigningKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey CommitteeHotExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey CommitteeHotExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey CommitteeHotExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey CommitteeHotKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey CommitteeHotKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey CommitteeHotKey] -> Size Source # | |||||
ToCBOR (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey DRepExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey DRepExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey DRepExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (SigningKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey GenesisDelegateExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisDelegateExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisDelegateExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey GenesisDelegateKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisDelegateKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisDelegateKey] -> Size Source # | |||||
ToCBOR (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey GenesisExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey GenesisKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisKey] -> Size Source # | |||||
ToCBOR (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey GenesisUTxOKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisUTxOKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisUTxOKey] -> Size Source # | |||||
ToCBOR (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey PaymentExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey PaymentExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey PaymentExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey PaymentKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey PaymentKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey PaymentKey] -> Size Source # | |||||
ToCBOR (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey StakeExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakeExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakeExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey StakePoolExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakePoolExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakePoolExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey StakePoolKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakePoolKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakePoolKey] -> Size Source # | |||||
ToCBOR (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
ToCBOR (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
Pretty (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
Pretty (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods pretty :: SigningKey ByronKeyLegacy -> Doc ann # prettyList :: [SigningKey ByronKeyLegacy] -> Doc ann # | |||||
Pretty (SigningKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey CommitteeColdExtendedKey -> Doc ann # prettyList :: [SigningKey CommitteeColdExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey CommitteeColdKey -> Doc ann # prettyList :: [SigningKey CommitteeColdKey] -> Doc ann # | |||||
Pretty (SigningKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey CommitteeHotExtendedKey -> Doc ann # prettyList :: [SigningKey CommitteeHotExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey CommitteeHotKey -> Doc ann # prettyList :: [SigningKey CommitteeHotKey] -> Doc ann # | |||||
Pretty (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey DRepExtendedKey -> Doc ann # prettyList :: [SigningKey DRepExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Pretty (SigningKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisDelegateExtendedKey -> Doc ann # prettyList :: [SigningKey GenesisDelegateExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisDelegateKey -> Doc ann # prettyList :: [SigningKey GenesisDelegateKey] -> Doc ann # | |||||
Pretty (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisExtendedKey -> Doc ann # prettyList :: [SigningKey GenesisExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisKey -> Doc ann # prettyList :: [SigningKey GenesisKey] -> Doc ann # | |||||
Pretty (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisUTxOKey -> Doc ann # prettyList :: [SigningKey GenesisUTxOKey] -> Doc ann # | |||||
Pretty (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey PaymentExtendedKey -> Doc ann # prettyList :: [SigningKey PaymentExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey PaymentKey -> Doc ann # prettyList :: [SigningKey PaymentKey] -> Doc ann # | |||||
Pretty (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey StakeExtendedKey -> Doc ann # prettyList :: [SigningKey StakeExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Pretty (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey StakePoolExtendedKey -> Doc ann # prettyList :: [SigningKey StakePoolExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey StakePoolKey -> Doc ann # prettyList :: [SigningKey StakePoolKey] -> Doc ann # | |||||
Pretty (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
Pretty (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
newtype SigningKey ByronKey Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
newtype SigningKey ByronKeyLegacy Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
newtype SigningKey CommitteeColdExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey CommitteeColdKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey CommitteeHotExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey CommitteeHotKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey DRepExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey DRepKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey GenesisDelegateExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey GenesisDelegateKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey GenesisExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey GenesisKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey GenesisUTxOKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey PaymentExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey PaymentKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey StakeExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey StakeKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey StakePoolExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey StakePoolKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey KesKey Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
newtype SigningKey VrfKey Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
data AsType (SigningKey a) Source # | |||||
Defined in Cardano.Api.Key.Internal.Class |
Instances
FromJSON Value Source # | |
Defined in Cardano.Api.Value.Internal Methods parseJSON :: Value -> Parser Value # parseJSONList :: Value -> Parser [Value] # omittedField :: Maybe Value # | |
ToJSON Value Source # | |
Defined in Cardano.Api.Value.Internal | |
Monoid Value Source # | |
Semigroup Value Source # | |
IsList Value Source # | |
Show Value Source # | |
Eq Value Source # | |
type Item Value Source # | |
Defined in Cardano.Api.Value.Internal |
Instances
FromJSON TxIx Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn Methods parseJSON :: Value -> Parser TxIx # parseJSONList :: Value -> Parser [TxIx] # omittedField :: Maybe TxIx # | |
ToJSON TxIx Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn | |
Enum TxIx Source # | |
Show TxIx Source # | |
Eq TxIx Source # | |
Ord TxIx Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn | |
Pretty TxIx Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn |
The amount of value held by a transaction output.
Instances
FromJSON Coin | |||||
Defined in Cardano.Ledger.Coin Methods parseJSON :: Value -> Parser Coin # parseJSONList :: Value -> Parser [Coin] # omittedField :: Maybe Coin # | |||||
ToJSON Coin | |||||
Defined in Cardano.Ledger.Coin | |||||
Monoid Coin | |||||
Semigroup Coin | |||||
Enum Coin | |||||
Generic Coin | |||||
Defined in Cardano.Ledger.Coin Associated Types
| |||||
Num Coin Source # | |||||
Integral Coin Source # | |||||
Defined in Cardano.Api.Internal.Orphans.Misc | |||||
Real Coin Source # | These instances originally existed on the Lovelace type. As the Lovelace type is deleted and we use L.Coin instead, these instances are added to L.Coin. The instances are purely for the convenience of writing expressions involving L.Coin but be aware that not all uses of these typeclasses are valid. | ||||
Defined in Cardano.Api.Internal.Orphans.Misc Methods toRational :: Coin -> Rational Source # | |||||
Show Coin | |||||
FromCBOR Coin | |||||
ToCBOR Coin | |||||
DecCBOR Coin | |||||
EncCBOR Coin | |||||
HasZero Coin | |||||
Compactible Coin | |||||
Defined in Cardano.Ledger.Coin Associated Types
Methods toCompact :: Coin -> Maybe (CompactForm Coin) Source # fromCompact :: CompactForm Coin -> Coin Source # | |||||
ToPlutusData Coin | |||||
Defined in Cardano.Ledger.Plutus.ToPlutusData | |||||
Val Coin | |||||
Defined in Cardano.Ledger.Val Methods (<+>) :: Coin -> Coin -> Coin Source # (<×>) :: Integral i => i -> Coin -> Coin Source # (<->) :: Coin -> Coin -> Coin Source # isZero :: Coin -> Bool Source # modifyCoin :: (Coin -> Coin) -> Coin -> Coin Source # size :: Coin -> Integer Source # pointwise :: (Integer -> Integer -> Bool) -> Coin -> Coin -> Bool Source # isAdaOnly :: Coin -> Bool Source # isAdaOnlyCompact :: CompactForm Coin -> Bool Source # coinCompact :: CompactForm Coin -> CompactForm Coin Source # injectCompact :: CompactForm Coin -> CompactForm Coin Source # modifyCompactCoin :: (CompactForm Coin -> CompactForm Coin) -> CompactForm Coin -> CompactForm Coin Source # | |||||
NFData Coin | |||||
Defined in Cardano.Ledger.Coin | |||||
Eq Coin | |||||
Ord Coin | |||||
Defined in Cardano.Ledger.Coin | |||||
Abelian Coin | |||||
Defined in Cardano.Ledger.Coin | |||||
Group Coin | |||||
HeapWords Coin | |||||
Defined in Cardano.Ledger.Coin | |||||
NoThunks Coin | |||||
PartialOrd Coin | |||||
Pretty Coin Source # | |||||
Defined in Cardano.Api.Internal.Orphans.Serialisation | |||||
Uniform Coin | |||||
Defined in Cardano.Ledger.Coin | |||||
UniformRange Coin | |||||
Defined in Cardano.Ledger.Coin | |||||
Inject Coin DeltaCoin | |||||
Inject Coin MaryValue | |||||
FromJSON (CompactForm Coin) | |||||
Defined in Cardano.Ledger.Coin Methods parseJSON :: Value -> Parser (CompactForm Coin) # parseJSONList :: Value -> Parser [CompactForm Coin] # omittedField :: Maybe (CompactForm Coin) # | |||||
ToJSON (CompactForm Coin) | |||||
Defined in Cardano.Ledger.Coin Methods toJSON :: CompactForm Coin -> Value # toEncoding :: CompactForm Coin -> Encoding # toJSONList :: [CompactForm Coin] -> Value # toEncodingList :: [CompactForm Coin] -> Encoding # omitField :: CompactForm Coin -> Bool # | |||||
Monoid (CompactForm Coin) | |||||
Defined in Cardano.Ledger.Coin Methods mempty :: CompactForm Coin Source # mappend :: CompactForm Coin -> CompactForm Coin -> CompactForm Coin Source # mconcat :: [CompactForm Coin] -> CompactForm Coin Source # | |||||
Semigroup (CompactForm Coin) | |||||
Defined in Cardano.Ledger.Coin Methods (<>) :: CompactForm Coin -> CompactForm Coin -> CompactForm Coin Source # sconcat :: NonEmpty (CompactForm Coin) -> CompactForm Coin Source # stimes :: Integral b => b -> CompactForm Coin -> CompactForm Coin Source # | |||||
Show (CompactForm Coin) | |||||
Defined in Cardano.Ledger.Coin | |||||
ToCBOR (CompactForm Coin) | |||||
Defined in Cardano.Ledger.Coin | |||||
DecCBOR (CompactForm Coin) | |||||
EncCBOR (CompactForm Coin) | |||||
Defined in Cardano.Ledger.Coin | |||||
NFData (CompactForm Coin) | |||||
Defined in Cardano.Ledger.Coin Methods rnf :: CompactForm Coin -> () Source # | |||||
Eq (CompactForm Coin) | |||||
Defined in Cardano.Ledger.Coin Methods (==) :: CompactForm Coin -> CompactForm Coin -> Bool Source # (/=) :: CompactForm Coin -> CompactForm Coin -> Bool Source # | |||||
Ord (CompactForm Coin) | |||||
Defined in Cardano.Ledger.Coin Methods compare :: CompactForm Coin -> CompactForm Coin -> Ordering Source # (<) :: CompactForm Coin -> CompactForm Coin -> Bool Source # (<=) :: CompactForm Coin -> CompactForm Coin -> Bool Source # (>) :: CompactForm Coin -> CompactForm Coin -> Bool Source # (>=) :: CompactForm Coin -> CompactForm Coin -> Bool Source # max :: CompactForm Coin -> CompactForm Coin -> CompactForm Coin Source # min :: CompactForm Coin -> CompactForm Coin -> CompactForm Coin Source # | |||||
Abelian (CompactForm Coin) | |||||
Defined in Cardano.Ledger.Coin | |||||
Group (CompactForm Coin) | |||||
Defined in Cardano.Ledger.Coin Methods invert :: CompactForm Coin -> CompactForm Coin (~~) :: CompactForm Coin -> CompactForm Coin -> CompactForm Coin pow :: Integral x => CompactForm Coin -> x -> CompactForm Coin | |||||
HeapWords (CompactForm Coin) | |||||
Defined in Cardano.Ledger.Coin Methods heapWords :: CompactForm Coin -> Int | |||||
MemPack (CompactForm Coin) | This instance prefixes with a 0 Tag for binary compatibility with compact form of multiassets. | ||||
Defined in Cardano.Ledger.Coin Methods packedByteCount :: CompactForm Coin -> Int # packM :: CompactForm Coin -> Pack s () # unpackM :: Buffer b => Unpack b (CompactForm Coin) # | |||||
NoThunks (CompactForm Coin) | |||||
Defined in Cardano.Ledger.Coin Methods noThunks :: Context -> CompactForm Coin -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> CompactForm Coin -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (CompactForm Coin) -> String # | |||||
Prim (CompactForm Coin) | |||||
Defined in Cardano.Ledger.Coin Methods sizeOfType# :: Proxy (CompactForm Coin) -> Int# sizeOf# :: CompactForm Coin -> Int# alignmentOfType# :: Proxy (CompactForm Coin) -> Int# alignment# :: CompactForm Coin -> Int# indexByteArray# :: ByteArray# -> Int# -> CompactForm Coin readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CompactForm Coin #) writeByteArray# :: MutableByteArray# s -> Int# -> CompactForm Coin -> State# s -> State# s setByteArray# :: MutableByteArray# s -> Int# -> Int# -> CompactForm Coin -> State# s -> State# s indexOffAddr# :: Addr# -> Int# -> CompactForm Coin readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CompactForm Coin #) writeOffAddr# :: Addr# -> Int# -> CompactForm Coin -> State# s -> State# s setOffAddr# :: Addr# -> Int# -> Int# -> CompactForm Coin -> State# s -> State# s | |||||
Uniform (CompactForm Coin) | |||||
Defined in Cardano.Ledger.Coin Methods uniformM :: StatefulGen g m => g -> m (CompactForm Coin) | |||||
UniformRange (CompactForm Coin) | |||||
Defined in Cardano.Ledger.Coin Methods uniformRM :: StatefulGen g m => (CompactForm Coin, CompactForm Coin) -> g -> m (CompactForm Coin) | |||||
type Rep Coin | |||||
Defined in Cardano.Ledger.Coin type Rep Coin = D1 ('MetaData "Coin" "Cardano.Ledger.Coin" "cardano-ledger-core-1.17.0.0-40627e0716da6172631bf6ceeb209e86ad7229267c6cb5633ce2346182bbd59c" 'True) (C1 ('MetaCons "Coin" 'PrefixI 'True) (S1 ('MetaSel ('Just "unCoin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))) | |||||
newtype CompactForm Coin | |||||
Defined in Cardano.Ledger.Coin |
Constructors
ATxAux | |
Fields
|
Instances
Functor ATxAux | |||||
FromCBOR TxAux | |||||
ToCBOR TxAux | |||||
DecCBOR TxAux | |||||
EncCBOR TxAux | |||||
Buildable TxAux | |||||
Defined in Cardano.Chain.UTxO.TxAux | |||||
ToJSON a => ToJSON (ATxAux a) | |||||
Defined in Cardano.Chain.UTxO.TxAux | |||||
Generic (ATxAux a) | |||||
Defined in Cardano.Chain.UTxO.TxAux Associated Types
| |||||
Show a => Show (ATxAux a) | |||||
FromCBOR (ATxAux ByteSpan) | |||||
Decoded (ATxAux ByteString) | |||||
Defined in Cardano.Chain.UTxO.TxAux Associated Types
Methods | |||||
DecCBOR (ATxAux ByteSpan) | |||||
NFData a => NFData (ATxAux a) | |||||
Defined in Cardano.Chain.UTxO.TxAux | |||||
Eq a => Eq (ATxAux a) | |||||
type Rep (ATxAux a) | |||||
Defined in Cardano.Chain.UTxO.TxAux type Rep (ATxAux a) = D1 ('MetaData "ATxAux" "Cardano.Chain.UTxO.TxAux" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "ATxAux" 'PrefixI 'True) (S1 ('MetaSel ('Just "aTaTx") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Annotated Tx a)) :*: (S1 ('MetaSel ('Just "aTaWitness") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Annotated TxWitness a)) :*: S1 ('MetaSel ('Just "aTaAnnotation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a)))) | |||||
type BaseType (ATxAux ByteString) | |||||
Defined in Cardano.Chain.UTxO.TxAux |
Constructors
UnsafeAssetName ByteString |
Instances
FromJSON AssetName Source # | |||||
Defined in Cardano.Api.Value.Internal | |||||
FromJSONKey AssetName Source # | |||||
Defined in Cardano.Api.Value.Internal Methods fromJSONKey :: FromJSONKeyFunction AssetName fromJSONKeyList :: FromJSONKeyFunction [AssetName] | |||||
ToJSON AssetName Source # | |||||
Defined in Cardano.Api.Value.Internal | |||||
ToJSONKey AssetName Source # | |||||
Defined in Cardano.Api.Value.Internal | |||||
Show AssetName Source # | |||||
HasTypeProxy AssetName Source # | |||||
Defined in Cardano.Api.Value.Internal Associated Types
| |||||
SerialiseAsRawBytes AssetName Source # | |||||
Defined in Cardano.Api.Value.Internal | |||||
Eq AssetName Source # | |||||
Ord AssetName Source # | |||||
Defined in Cardano.Api.Value.Internal | |||||
data AsType AssetName Source # | |||||
Defined in Cardano.Api.Value.Internal |
validateMetadata :: TxMetadataInEra era -> Either TxBodyError () Source #
unNetworkMagic :: NetworkMagic -> Word32 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
data AsType AddressAny Source # | |
Defined in Cardano.Api.Address | |
data AsType ByronAddr Source # | |
Defined in Cardano.Api.Address | |
data AsType ShelleyAddr Source # | |
Defined in Cardano.Api.Address | |
data AsType StakeAddress Source # | |
Defined in Cardano.Api.Address | |
data AsType BlockHeader Source # | |
Defined in Cardano.Api.Block | |
data AsType ByronKey Source # | |
Defined in Cardano.Api.Byron.Internal.Key | |
data AsType ByronKeyLegacy Source # | |
Defined in Cardano.Api.Byron.Internal.Key | |
data AsType ByronUpdateProposal Source # | |
Defined in Cardano.Api.Byron.Internal.Proposal | |
data AsType ByronVote Source # | |
Defined in Cardano.Api.Byron.Internal.Proposal | |
data AsType DRepMetadata Source # | |
data AsType OperationalCertificate Source # | |
data AsType OperationalCertificateIssueCounter Source # | |
data AsType StakePoolMetadata Source # | |
data AsType AllegraEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType AlonzoEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType BabbageEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType ByronEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType ConwayEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType MaryEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType ShelleyEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType GovernancePoll Source # | |
Defined in Cardano.Api.Governance.Internal.Poll | |
data AsType GovernancePollAnswer Source # | |
Defined in Cardano.Api.Governance.Internal.Poll | |
data AsType CommitteeColdExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType CommitteeColdKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType CommitteeHotExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType CommitteeHotKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType DRepExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType DRepKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType GenesisDelegateExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType GenesisDelegateKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType GenesisExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType GenesisKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType GenesisUTxOKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType PaymentExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType PaymentKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType StakeExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType StakeKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType StakePoolExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType StakePoolKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType KesKey Source # | |
Defined in Cardano.Api.Key.Internal.Praos | |
data AsType VrfKey Source # | |
Defined in Cardano.Api.Key.Internal.Praos | |
data AsType PlutusScriptV1 Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType PlutusScriptV2 Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType PlutusScriptV3 Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType ScriptHash Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType ScriptInAnyLang Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType SimpleScript' Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType HashableScriptData Source # | |
Defined in Cardano.Api.Plutus.Internal.ScriptData | |
data AsType ScriptData Source # | |
Defined in Cardano.Api.Plutus.Internal.ScriptData | |
data AsType PraosNonce Source # | |
Defined in Cardano.Api.ProtocolParameters | |
data AsType UpdateProposal Source # | |
Defined in Cardano.Api.ProtocolParameters | |
data AsType EraHistory Source # | |
Defined in Cardano.Api.Query.Internal.Type.QueryInMode | |
data AsType TextEnvelope Source # | |
Defined in Cardano.Api.Serialise.TextEnvelope.Internal | |
data AsType TxId Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn | |
data AsType TxMetadata Source # | |
Defined in Cardano.Api.Tx.Internal.TxMetadata | |
data AsType AssetName Source # | |
Defined in Cardano.Api.Value.Internal | |
data AsType PolicyId Source # | |
Defined in Cardano.Api.Value.Internal | |
data AsType GovActionId Source # | |
Defined in Cardano.Api.Internal.Orphans.Serialisation | |
data AsType Term Source # | |
Defined in Cardano.Api.Serialise.Cbor.Canonical | |
data AsType (Address addrtype) Source # | |
Defined in Cardano.Api.Address | |
data AsType (AddressInEra era) Source # | |
Defined in Cardano.Api.Address | |
data AsType (Certificate era) Source # | |
Defined in Cardano.Api.Certificate.Internal | |
data AsType (Proposal era) Source # | |
data AsType (VotingProcedure era) Source # | |
data AsType (VotingProcedures era) Source # | |
data AsType (Hash a) Source # | |
Defined in Cardano.Api.Hash | |
data AsType (SigningKey a) Source # | |
Defined in Cardano.Api.Key.Internal.Class | |
data AsType (VerificationKey a) Source # | |
Defined in Cardano.Api.Key.Internal.Class | |
data AsType (PlutusScript lang) Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType (Script lang) Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType (ScriptInEra era) Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType (KeyWitness era) Source # | |
Defined in Cardano.Api.Tx.Internal.Sign | |
data AsType (Tx era) Source # | |
Defined in Cardano.Api.Tx.Internal.Sign | |
data AsType (TxBody era) Source # | |
Defined in Cardano.Api.Tx.Internal.Sign | |
data AsType (Credential 'ColdCommitteeRole) Source # | |
Defined in Cardano.Api.Internal.Orphans.Serialisation | |
data AsType (Credential 'DRepRole) Source # | |
Defined in Cardano.Api.Internal.Orphans.Serialisation | |
data AsType (Credential 'HotCommitteeRole) Source # | |
Defined in Cardano.Api.Internal.Orphans.Serialisation | |
data AsType (PlutusScriptInEra era lang) Source # | |
Defined in Cardano.Api.Plutus.Internal.Script |
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
data AsType AddressAny Source # | |
Defined in Cardano.Api.Address | |
data AsType ByronAddr Source # | |
Defined in Cardano.Api.Address | |
data AsType ShelleyAddr Source # | |
Defined in Cardano.Api.Address | |
data AsType StakeAddress Source # | |
Defined in Cardano.Api.Address | |
data AsType BlockHeader Source # | |
Defined in Cardano.Api.Block | |
data AsType ByronKey Source # | |
Defined in Cardano.Api.Byron.Internal.Key | |
data AsType ByronKeyLegacy Source # | |
Defined in Cardano.Api.Byron.Internal.Key | |
data AsType ByronUpdateProposal Source # | |
Defined in Cardano.Api.Byron.Internal.Proposal | |
data AsType ByronVote Source # | |
Defined in Cardano.Api.Byron.Internal.Proposal | |
data AsType DRepMetadata Source # | |
data AsType OperationalCertificate Source # | |
data AsType OperationalCertificateIssueCounter Source # | |
data AsType StakePoolMetadata Source # | |
data AsType AllegraEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType AlonzoEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType BabbageEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType ByronEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType ConwayEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType MaryEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType ShelleyEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType GovernancePoll Source # | |
Defined in Cardano.Api.Governance.Internal.Poll | |
data AsType GovernancePollAnswer Source # | |
Defined in Cardano.Api.Governance.Internal.Poll | |
data AsType CommitteeColdExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType CommitteeColdKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType CommitteeHotExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType CommitteeHotKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType DRepExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType DRepKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType GenesisDelegateExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType GenesisDelegateKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType GenesisExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType GenesisKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType GenesisUTxOKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType PaymentExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType PaymentKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType StakeExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType StakeKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType StakePoolExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType StakePoolKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType KesKey Source # | |
Defined in Cardano.Api.Key.Internal.Praos | |
data AsType VrfKey Source # | |
Defined in Cardano.Api.Key.Internal.Praos | |
data AsType PlutusScriptV1 Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType PlutusScriptV2 Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType PlutusScriptV3 Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType ScriptHash Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType ScriptInAnyLang Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType SimpleScript' Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType HashableScriptData Source # | |
Defined in Cardano.Api.Plutus.Internal.ScriptData | |
data AsType ScriptData Source # | |
Defined in Cardano.Api.Plutus.Internal.ScriptData | |
data AsType PraosNonce Source # | |
Defined in Cardano.Api.ProtocolParameters | |
data AsType UpdateProposal Source # | |
Defined in Cardano.Api.ProtocolParameters | |
data AsType EraHistory Source # | |
Defined in Cardano.Api.Query.Internal.Type.QueryInMode | |
data AsType TextEnvelope Source # | |
Defined in Cardano.Api.Serialise.TextEnvelope.Internal | |
data AsType TxId Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn | |
data AsType TxMetadata Source # | |
Defined in Cardano.Api.Tx.Internal.TxMetadata | |
data AsType AssetName Source # | |
Defined in Cardano.Api.Value.Internal | |
data AsType PolicyId Source # | |
Defined in Cardano.Api.Value.Internal | |
data AsType GovActionId Source # | |
Defined in Cardano.Api.Internal.Orphans.Serialisation | |
data AsType Term Source # | |
Defined in Cardano.Api.Serialise.Cbor.Canonical | |
data AsType (Address addrtype) Source # | |
Defined in Cardano.Api.Address | |
data AsType (AddressInEra era) Source # | |
Defined in Cardano.Api.Address | |
data AsType (Certificate era) Source # | |
Defined in Cardano.Api.Certificate.Internal | |
data AsType (Proposal era) Source # | |
data AsType (VotingProcedure era) Source # | |
data AsType (VotingProcedures era) Source # | |
data AsType (Hash a) Source # | |
Defined in Cardano.Api.Hash | |
data AsType (SigningKey a) Source # | |
Defined in Cardano.Api.Key.Internal.Class | |
data AsType (VerificationKey a) Source # | |
Defined in Cardano.Api.Key.Internal.Class | |
data AsType (PlutusScript lang) Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType (Script lang) Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType (ScriptInEra era) Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType (KeyWitness era) Source # | |
Defined in Cardano.Api.Tx.Internal.Sign | |
data AsType (Tx era) Source # | |
Defined in Cardano.Api.Tx.Internal.Sign | |
data AsType (TxBody era) Source # | |
Defined in Cardano.Api.Tx.Internal.Sign | |
data AsType (Credential 'ColdCommitteeRole) Source # | |
Defined in Cardano.Api.Internal.Orphans.Serialisation | |
data AsType (Credential 'DRepRole) Source # | |
Defined in Cardano.Api.Internal.Orphans.Serialisation | |
data AsType (Credential 'HotCommitteeRole) Source # | |
Defined in Cardano.Api.Internal.Orphans.Serialisation | |
data AsType (PlutusScriptInEra era lang) Source # | |
Defined in Cardano.Api.Plutus.Internal.Script |
data KeyWitness era where Source #
Constructors
ByronKeyWitness :: TxInWitness -> KeyWitness ByronEra | |
ShelleyBootstrapWitness :: forall era. ShelleyBasedEra era -> BootstrapWitness -> KeyWitness era | |
ShelleyKeyWitness :: forall era. ShelleyBasedEra era -> WitVKey 'Witness -> KeyWitness era |
Instances
Show (KeyWitness era) Source # | |||||
Defined in Cardano.Api.Tx.Internal.Sign | |||||
HasTypeProxy era => HasTypeProxy (KeyWitness era) Source # | |||||
Defined in Cardano.Api.Tx.Internal.Sign Associated Types
Methods proxyToAsType :: Proxy (KeyWitness era) -> AsType (KeyWitness era) Source # | |||||
IsCardanoEra era => SerialiseAsCBOR (KeyWitness era) Source # | |||||
Defined in Cardano.Api.Tx.Internal.Sign Methods serialiseToCBOR :: KeyWitness era -> ByteString Source # deserialiseFromCBOR :: AsType (KeyWitness era) -> ByteString -> Either DecoderError (KeyWitness era) Source # | |||||
IsCardanoEra era => HasTextEnvelope (KeyWitness era) Source # | |||||
Defined in Cardano.Api.Tx.Internal.Sign Methods textEnvelopeType :: AsType (KeyWitness era) -> TextEnvelopeType Source # textEnvelopeDefaultDescr :: KeyWitness era -> TextEnvelopeDescr Source # | |||||
Eq (KeyWitness era) Source # | |||||
Defined in Cardano.Api.Tx.Internal.Sign Methods (==) :: KeyWitness era -> KeyWitness era -> Bool Source # (/=) :: KeyWitness era -> KeyWitness era -> Bool Source # | |||||
data AsType (KeyWitness era) Source # | |||||
Defined in Cardano.Api.Tx.Internal.Sign |
data WitnessNetworkIdOrByronAddress Source #
Either a network ID or a Byron address to be used in constructing a Shelley bootstrap witness.
Constructors
WitnessNetworkId !NetworkId | Network ID. If this value is used in the construction of a Shelley bootstrap witness,
the result will not consist of a derivation path. If that is required,
specify a |
WitnessByronAddress !(Address ByronAddr) | Byron address. If this value is used in the construction of a Shelley bootstrap witness, both the network ID and derivation path will be extracted from the address and used in the construction of the witness. |
mkTxCertificates :: Applicative (BuildTxWith build) => ShelleyBasedEra era -> [(Certificate era, Maybe (ScriptWitness WitCtxStake era))] -> TxCertificates build era Source #
Create TxCertificates
. Note that 'Certificate era' will be deduplicated. Only Certificates with a
stake credential will be in the result.
Note that, when building a transaction in Conway era, a witness is not required for staking credential registration, but this is only the case during the transitional period of Conway era and only for staking credential registration certificates without a deposit. Future eras will require a witness for registration certificates, because the one without a deposit will be removed.
toShelleyNetwork :: NetworkId -> Network Source #
fromShelleyNetwork :: Network -> NetworkMagic -> NetworkId Source #
data TextEnvelopeCddlError Source #
Constructors
TextEnvelopeCddlErrCBORDecodingError DecoderError | |
TextEnvelopeCddlAesonDecodeError FilePath String | |
TextEnvelopeCddlUnknownKeyWitness | |
TextEnvelopeCddlTypeError | |
TextEnvelopeCddlErrUnknownType Text | |
TextEnvelopeCddlErrByronKeyWitnessUnsupported |
Instances
Data TextEnvelopeCddlError Source # | |
Defined in Cardano.Api.Serialise.TextEnvelope.Internal.Cddl Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TextEnvelopeCddlError -> c TextEnvelopeCddlError Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TextEnvelopeCddlError Source # toConstr :: TextEnvelopeCddlError -> Constr Source # dataTypeOf :: TextEnvelopeCddlError -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TextEnvelopeCddlError) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TextEnvelopeCddlError) Source # gmapT :: (forall b. Data b => b -> b) -> TextEnvelopeCddlError -> TextEnvelopeCddlError Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TextEnvelopeCddlError -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TextEnvelopeCddlError -> r Source # gmapQ :: (forall d. Data d => d -> u) -> TextEnvelopeCddlError -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> TextEnvelopeCddlError -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TextEnvelopeCddlError -> m TextEnvelopeCddlError Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TextEnvelopeCddlError -> m TextEnvelopeCddlError Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TextEnvelopeCddlError -> m TextEnvelopeCddlError Source # | |
Show TextEnvelopeCddlError Source # | |
Error TextEnvelopeCddlError Source # | |
Defined in Cardano.Api.Serialise.TextEnvelope.Internal.Cddl Methods prettyError :: TextEnvelopeCddlError -> Doc ann Source # | |
Eq TextEnvelopeCddlError Source # | |
Defined in Cardano.Api.Serialise.TextEnvelope.Internal.Cddl Methods (==) :: TextEnvelopeCddlError -> TextEnvelopeCddlError -> Bool Source # (/=) :: TextEnvelopeCddlError -> TextEnvelopeCddlError -> Bool Source # |
data FromSomeTypeCDDL c b where Source #
This GADT allows us to deserialise a tx or key witness without having to provide the era.
Constructors
FromCDDLTx | |
Fields
| |
FromCDDLWitness | |
Fields
|
readFileTextEnvelopeCddlAnyOf :: [FromSomeTypeCDDL TextEnvelope b] -> FilePath -> IO (Either (FileError TextEnvelopeCddlError) b) Source #
deserialiseFromTextEnvelopeCddlAnyOf :: [FromSomeTypeCDDL TextEnvelope b] -> TextEnvelope -> Either TextEnvelopeCddlError b Source #
writeTxFileTextEnvelopeCddl :: ShelleyBasedEra era -> File content 'Out -> Tx era -> IO (Either (FileError ()) ()) Source #
writeTxFileTextEnvelopeCanonicalCddl :: ShelleyBasedEra era -> File content 'Out -> Tx era -> IO (Either (FileError ()) ()) Source #
Write transaction in the text envelope format. The CBOR will be in canonical format according to RFC 7049. It is also a requirement of CIP-21, which is not fully implemented.
writeTxWitnessFileTextEnvelopeCddl :: ShelleyBasedEra era -> File () 'Out -> KeyWitness era -> IO (Either (FileError ()) ()) Source #
serialiseWitnessLedgerCddl :: ShelleyBasedEra era -> KeyWitness era -> TextEnvelope Source #
deserialiseWitnessLedgerCddl :: ShelleyBasedEra era -> TextEnvelope -> Either TextEnvelopeCddlError (KeyWitness era) Source #
writeByronTxFileTextEnvelopeCddl :: File content 'Out -> ATxAux ByteString -> IO (Either (FileError ()) ()) Source #
createTransactionBody :: HasCallStack => ShelleyBasedEra era -> TxBodyContent BuildTx era -> Either TxBodyError (TxBody era) Source #
createAndValidateTransactionBody :: ShelleyBasedEra era -> TxBodyContent BuildTx era -> Either TxBodyError (TxBody era) Source #
Deprecated: Use createTransactionBody instead
data TxBodyContent build era Source #
Constructors
TxBodyContent | |
Fields
|
Instances
IsShelleyBasedEra era => Show (TxBodyContent build era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
IsShelleyBasedEra era => Eq (TxBodyContent build era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: TxBodyContent build era -> TxBodyContent build era -> Bool Source # (/=) :: TxBodyContent build era -> TxBodyContent build era -> Bool Source # |
makeByronTransactionBody :: TxIns BuildTx ByronEra -> [TxOut CtxTx ByronEra] -> Either TxBodyError (Annotated Tx ByteString) Source #
defaultTxBodyContent :: ShelleyBasedEra era -> TxBodyContent BuildTx era Source #
defaultTxFee :: ShelleyBasedEra era -> TxFee era Source #
defaultTxValidityUpperBound :: ShelleyBasedEra era -> TxValidityUpperBound era Source #
setTxIns :: TxIns build era -> TxBodyContent build era -> TxBodyContent build era Source #
modTxIns :: (TxIns build era -> TxIns build era) -> TxBodyContent build era -> TxBodyContent build era Source #
addTxIn :: (TxIn, BuildTxWith build (Witness WitCtxTxIn era)) -> TxBodyContent build era -> TxBodyContent build era Source #
addTxIns :: TxIns build era -> TxBodyContent build era -> TxBodyContent build era Source #
setTxInsCollateral :: TxInsCollateral era -> TxBodyContent build era -> TxBodyContent build era Source #
modTxInsCollateral :: (TxInsCollateral era -> TxInsCollateral era) -> TxBodyContent build era -> TxBodyContent build era Source #
addTxInsCollateral :: IsAlonzoBasedEra era => [TxIn] -> TxBodyContent build era -> TxBodyContent build era Source #
addTxInCollateral :: IsAlonzoBasedEra era => TxIn -> TxBodyContent build era -> TxBodyContent build era Source #
setTxInsReference :: TxInsReference build era -> TxBodyContent build era -> TxBodyContent build era Source #
modTxInsReference :: (TxInsReference build era -> TxInsReference build era) -> TxBodyContent build era -> TxBodyContent build era Source #
addTxInsReference :: (Applicative (BuildTxWith build), IsBabbageBasedEra era) => [TxIn] -> Set HashableScriptData -> TxBodyContent build era -> TxBodyContent build era Source #
addTxInReference :: (Applicative (BuildTxWith build), IsBabbageBasedEra era) => TxIn -> Maybe HashableScriptData -> TxBodyContent build era -> TxBodyContent build era Source #
setTxOuts :: [TxOut CtxTx era] -> TxBodyContent build era -> TxBodyContent build era Source #
modTxOuts :: ([TxOut CtxTx era] -> [TxOut CtxTx era]) -> TxBodyContent build era -> TxBodyContent build era Source #
addTxOut :: TxOut CtxTx era -> TxBodyContent build era -> TxBodyContent build era Source #
addTxOuts :: [TxOut CtxTx era] -> TxBodyContent build era -> TxBodyContent build era Source #
setTxTotalCollateral :: TxTotalCollateral era -> TxBodyContent build era -> TxBodyContent build era Source #
modTxTotalCollateral :: (TxTotalCollateral era -> TxTotalCollateral era) -> TxBodyContent build era -> TxBodyContent build era Source #
setTxReturnCollateral :: TxReturnCollateral CtxTx era -> TxBodyContent build era -> TxBodyContent build era Source #
modTxReturnCollateral :: (TxReturnCollateral CtxTx era -> TxReturnCollateral CtxTx era) -> TxBodyContent build era -> TxBodyContent build era Source #
setTxFee :: TxFee era -> TxBodyContent build era -> TxBodyContent build era Source #
modTxFee :: (TxFee era -> TxFee era) -> TxBodyContent build era -> TxBodyContent build era Source #
setTxValidityLowerBound :: TxValidityLowerBound era -> TxBodyContent build era -> TxBodyContent build era Source #
modTxValidityLowerBound :: (TxValidityLowerBound era -> TxValidityLowerBound era) -> TxBodyContent build era -> TxBodyContent build era Source #
setTxValidityUpperBound :: TxValidityUpperBound era -> TxBodyContent build era -> TxBodyContent build era Source #
modTxValidityUpperBound :: (TxValidityUpperBound era -> TxValidityUpperBound era) -> TxBodyContent build era -> TxBodyContent build era Source #
setTxMetadata :: TxMetadataInEra era -> TxBodyContent build era -> TxBodyContent build era Source #
modTxMetadata :: (TxMetadataInEra era -> TxMetadataInEra era) -> TxBodyContent build era -> TxBodyContent build era Source #
setTxAuxScripts :: TxAuxScripts era -> TxBodyContent build era -> TxBodyContent build era Source #
modTxAuxScripts :: (TxAuxScripts era -> TxAuxScripts era) -> TxBodyContent build era -> TxBodyContent build era Source #
setTxExtraKeyWits :: TxExtraKeyWitnesses era -> TxBodyContent build era -> TxBodyContent build era Source #
modTxExtraKeyWits :: (TxExtraKeyWitnesses era -> TxExtraKeyWitnesses era) -> TxBodyContent build era -> TxBodyContent build era Source #
addTxExtraKeyWits :: IsAlonzoBasedEra era => [Hash PaymentKey] -> TxBodyContent build era -> TxBodyContent build era Source #
setTxProtocolParams :: BuildTxWith build (Maybe (LedgerProtocolParameters era)) -> TxBodyContent build era -> TxBodyContent build era Source #
setTxWithdrawals :: TxWithdrawals build era -> TxBodyContent build era -> TxBodyContent build era Source #
modTxWithdrawals :: (TxWithdrawals build era -> TxWithdrawals build era) -> TxBodyContent build era -> TxBodyContent build era Source #
setTxCertificates :: TxCertificates build era -> TxBodyContent build era -> TxBodyContent build era Source #
modTxCertificates :: (TxCertificates build era -> TxCertificates build era) -> TxBodyContent build era -> TxBodyContent build era Source #
setTxUpdateProposal :: TxUpdateProposal era -> TxBodyContent build era -> TxBodyContent build era Source #
modTxUpdateProposal :: (TxUpdateProposal era -> TxUpdateProposal era) -> TxBodyContent build era -> TxBodyContent build era Source #
setTxProposalProcedures :: Maybe (Featured ConwayEraOnwards era (TxProposalProcedures build era)) -> TxBodyContent build era -> TxBodyContent build era Source #
setTxVotingProcedures :: Maybe (Featured ConwayEraOnwards era (TxVotingProcedures build era)) -> TxBodyContent build era -> TxBodyContent build era Source #
setTxMintValue :: TxMintValue build era -> TxBodyContent build era -> TxBodyContent build era Source #
modTxMintValue :: (TxMintValue build era -> TxMintValue build era) -> TxBodyContent build era -> TxBodyContent build era Source #
addTxMintValue :: IsMaryBasedEra era => Map PolicyId (PolicyAssets, BuildTxWith build (ScriptWitness WitCtxMint era)) -> TxBodyContent build era -> TxBodyContent build era Source #
subtractTxMintValue :: IsMaryBasedEra era => Map PolicyId (PolicyAssets, BuildTxWith build (ScriptWitness WitCtxMint era)) -> TxBodyContent build era -> TxBodyContent build era Source #
Adds the negation of the provided assets and quantities to the txMintValue field of the TxBodyContent
.
setTxScriptValidity :: TxScriptValidity era -> TxBodyContent build era -> TxBodyContent build era Source #
modTxScriptValidity :: (TxScriptValidity era -> TxScriptValidity era) -> TxBodyContent build era -> TxBodyContent build era Source #
setTxCurrentTreasuryValue :: Maybe (Featured ConwayEraOnwards era (Maybe Coin)) -> TxBodyContent build era -> TxBodyContent build era Source #
setTxTreasuryDonation :: Maybe (Featured ConwayEraOnwards era Coin) -> TxBodyContent build era -> TxBodyContent build era Source #
data TxBodyError Source #
Constructors
TxBodyPlutusScriptDecodeError DecoderError | |
TxBodyEmptyTxIns | |
TxBodyEmptyTxInsCollateral | |
TxBodyEmptyTxOuts | |
TxBodyOutputError !TxOutputError | |
TxBodyMetadataError ![(Word64, TxMetadataRangeError)] | |
TxBodyInIxOverflow !TxIn | |
TxBodyMissingProtocolParams | |
TxBodyProtocolParamsConversionError !ProtocolParametersConversionError |
Instances
Show TxBodyError Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Error TxBodyError Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods prettyError :: TxBodyError -> Doc ann Source # | |
Eq TxBodyError Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: TxBodyError -> TxBodyError -> Bool Source # (/=) :: TxBodyError -> TxBodyError -> Bool Source # |
data TxOutputError Source #
Constructors
TxOutputNegative !Quantity !TxOutInAnyEra | |
TxOutputOverflow !Quantity !TxOutInAnyEra |
Instances
Show TxOutputError Source # | |
Defined in Cardano.Api.Tx.Internal.Output | |
Error TxOutputError Source # | |
Defined in Cardano.Api.Tx.Internal.Output Methods prettyError :: TxOutputError -> Doc ann Source # | |
Eq TxOutputError Source # | |
Defined in Cardano.Api.Tx.Internal.Output Methods (==) :: TxOutputError -> TxOutputError -> Bool Source # (/=) :: TxOutputError -> TxOutputError -> Bool Source # |
data TxBodyScriptData era where Source #
Constructors
TxBodyNoScriptData :: forall era. TxBodyScriptData era | |
TxBodyScriptData :: forall era. AlonzoEraOnwardsConstraints era => AlonzoEraOnwards era -> TxDats (ShelleyLedgerEra era) -> Redeemers (ShelleyLedgerEra era) -> TxBodyScriptData era |
Instances
Show (TxBodyScriptData era) Source # | |
Defined in Cardano.Api.Tx.Internal.Sign | |
Eq (TxBodyScriptData era) Source # | |
Defined in Cardano.Api.Tx.Internal.Sign Methods (==) :: TxBodyScriptData era -> TxBodyScriptData era -> Bool Source # (/=) :: TxBodyScriptData era -> TxBodyScriptData era -> Bool Source # |
selectTxDatums :: TxBodyScriptData era -> Map DataHash (Data (ShelleyLedgerEra era)) Source #
data TxScriptValidity era where Source #
A representation of whether the era supports tx script validity.
The Alonzo and subsequent eras support script validity.
Constructors
TxScriptValidityNone :: forall era. TxScriptValidity era | |
TxScriptValidity :: forall era. AlonzoEraOnwards era -> ScriptValidity -> TxScriptValidity era | Tx script validity is supported in transactions in the |
Instances
Show (TxScriptValidity era) Source # | |
Defined in Cardano.Api.Tx.Internal.Sign | |
Eq (TxScriptValidity era) Source # | |
Defined in Cardano.Api.Tx.Internal.Sign Methods (==) :: TxScriptValidity era -> TxScriptValidity era -> Bool Source # (/=) :: TxScriptValidity era -> TxScriptValidity era -> Bool Source # |
data ScriptValidity Source #
Indicates whether a script is expected to fail or pass validation.
Constructors
ScriptInvalid | Script is expected to fail validation. Transactions marked as such can include scripts that fail validation. Such transactions may be submitted to the chain, in which case the collateral will be taken upon on chain script validation failure. |
ScriptValid | Script is expected to pass validation. Transactions marked as such cannot include scripts that fail validation. |
Instances
Show ScriptValidity Source # | |
Defined in Cardano.Api.Tx.Internal.Sign | |
DecCBOR ScriptValidity Source # | |
Defined in Cardano.Api.Tx.Internal.Sign | |
EncCBOR ScriptValidity Source # | |
Defined in Cardano.Api.Tx.Internal.Sign Methods encCBOR :: ScriptValidity -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy ScriptValidity -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [ScriptValidity] -> Size Source # | |
Eq ScriptValidity Source # | |
Defined in Cardano.Api.Tx.Internal.Sign Methods (==) :: ScriptValidity -> ScriptValidity -> Bool Source # (/=) :: ScriptValidity -> ScriptValidity -> Bool Source # |
txScriptValidityToIsValid :: TxScriptValidity era -> IsValid Source #
getTxIdByron :: ATxAux ByteString -> TxId Source #
getTxIdShelley :: EraTxBody (ShelleyLedgerEra era) => ShelleyBasedEra era -> TxBody (ShelleyLedgerEra era) -> TxId Source #
type TxIns build era = [(TxIn, BuildTxWith build (Witness WitCtxTxIn era))] Source #
indexTxIns :: TxIns BuildTx era -> [(ScriptWitnessIndex, TxIn, Witness WitCtxTxIn era)] Source #
Index transaction inputs ordered by TxIn
Please note that the result can contain also KeyWitness
es.
See section 4.1 of https://github.com/intersectmbo/cardano-ledger/releases/latest/download/alonzo-ledger.pdf
genesisUTxOPseudoTxIn :: NetworkId -> Hash GenesisUTxOKey -> TxIn Source #
Compute the TxIn
of the initial UTxO pseudo-transaction corresponding
to the given address in the genesis initial funds.
The Shelley initial UTxO is constructed from the sgInitialFunds
which
is not a full UTxO but just a map from addresses to coin values.
This gets turned into a UTxO by making a pseudo-transaction for each address,
with the 0th output being the coin value. So to spend from the initial UTxO
we need this same TxIn
to use as an input to the spending transaction.
getReferenceInputsSizeForTxIds :: ShelleyLedgerEra era ~ ledgerera => BabbageEraOnwards era -> UTxO ledgerera -> Set TxIn -> Int Source #
Calculate the reference inputs size in bytes for provided set of transaction IDs and UTXOs.
The context is a transaction body
Instances
IsShelleyBasedEra era => FromJSON (TxOut CtxTx era) Source # | |
Defined in Cardano.Api.Tx.Internal.Output |
The context is the UTxO
Instances
IsShelleyBasedEra era => FromJSON (TxOut CtxUTxO era) Source # | |
Defined in Cardano.Api.Tx.Internal.Output |
data TxOutValue era where Source #
Constructors
TxOutValueByron :: Coin -> TxOutValue ByronEra | |
TxOutValueShelleyBased :: forall era. (Eq (Value (ShelleyLedgerEra era)), Show (Value (ShelleyLedgerEra era))) => ShelleyBasedEra era -> Value (ShelleyLedgerEra era) -> TxOutValue era |
Instances
IsShelleyBasedEra era => FromJSON (TxOutValue era) Source # | |
Defined in Cardano.Api.Tx.Internal.Output Methods parseJSON :: Value -> Parser (TxOutValue era) # parseJSONList :: Value -> Parser [TxOutValue era] # omittedField :: Maybe (TxOutValue era) # | |
IsCardanoEra era => ToJSON (TxOutValue era) Source # | |
Defined in Cardano.Api.Tx.Internal.Output Methods toJSON :: TxOutValue era -> Value # toEncoding :: TxOutValue era -> Encoding # toJSONList :: [TxOutValue era] -> Value # toEncodingList :: [TxOutValue era] -> Encoding # omitField :: TxOutValue era -> Bool # | |
Show (TxOutValue era) Source # | |
Defined in Cardano.Api.Tx.Internal.Output | |
Eq (TxOutValue era) Source # | |
Defined in Cardano.Api.Tx.Internal.Output Methods (==) :: TxOutValue era -> TxOutValue era -> Bool Source # (/=) :: TxOutValue era -> TxOutValue era -> Bool Source # |
data TxOutDatum ctx era where Source #
Constructors
TxOutDatumNone :: forall ctx era. TxOutDatum ctx era | |
TxOutDatumHash :: forall era ctx. AlonzoEraOnwards era -> Hash ScriptData -> TxOutDatum ctx era | A transaction output that only specifies the hash of the datum, but not the full datum value. |
TxOutSupplementalDatum :: forall era. AlonzoEraOnwards era -> HashableScriptData -> TxOutDatum CtxTx era | A transaction output that specifies the whole datum value. This can only be used in the context of the transaction body (i.e this is a supplemental datum), and does not occur in the UTxO. The UTxO only contains the datum hash. |
TxOutDatumInline :: forall era ctx. BabbageEraOnwards era -> HashableScriptData -> TxOutDatum ctx era | A transaction output that specifies the whole datum instead of the datum hash. Note that the datum map will not be updated with this datum, it only exists at the transaction output. |
Instances
Show (TxOutDatum ctx era) Source # | |
Defined in Cardano.Api.Tx.Internal.Output | |
Eq (TxOutDatum ctx era) Source # | |
Defined in Cardano.Api.Tx.Internal.Output Methods (==) :: TxOutDatum ctx era -> TxOutDatum ctx era -> Bool Source # (/=) :: TxOutDatum ctx era -> TxOutDatum ctx era -> Bool Source # |
lovelaceToTxOutValue :: ShelleyBasedEra era -> Coin -> TxOutValue era Source #
txOutValueToLovelace :: TxOutValue era -> Coin Source #
txOutValueToValue :: TxOutValue era -> Value Source #
data TxOutInAnyEra where Source #
Constructors
TxOutInAnyEra :: forall era. CardanoEra era -> TxOut CtxTx era -> TxOutInAnyEra |
Instances
Show TxOutInAnyEra Source # | |
Defined in Cardano.Api.Tx.Internal.Output | |
Eq TxOutInAnyEra Source # | |
Defined in Cardano.Api.Tx.Internal.Output Methods (==) :: TxOutInAnyEra -> TxOutInAnyEra -> Bool Source # (/=) :: TxOutInAnyEra -> TxOutInAnyEra -> Bool Source # | |
Pretty TxOutInAnyEra Source # | |
Defined in Cardano.Api.Tx.Internal.Output |
txOutInAnyEra :: CardanoEra era -> TxOut CtxTx era -> TxOutInAnyEra Source #
Convenience constructor for TxOutInAnyEra
data TxInsCollateral era where Source #
Constructors
TxInsCollateralNone :: forall era. TxInsCollateral era | |
TxInsCollateral :: forall era. AlonzoEraOnwards era -> [TxIn] -> TxInsCollateral era |
Instances
Show (TxInsCollateral era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Eq (TxInsCollateral era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: TxInsCollateral era -> TxInsCollateral era -> Bool Source # (/=) :: TxInsCollateral era -> TxInsCollateral era -> Bool Source # |
data TxInsReference build era where Source #
Constructors
TxInsReferenceNone :: forall build era. TxInsReference build era | |
TxInsReference | |
Fields
|
Instances
Show (TxInsReference build era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Eq (TxInsReference build era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: TxInsReference build era -> TxInsReference build era -> Bool Source # (/=) :: TxInsReference build era -> TxInsReference build era -> Bool Source # |
type TxInsReferenceDatums build = BuildTxWith build (Set HashableScriptData) Source #
The public key inputs' resolved datums, referenced by hash in the transaction reference inputs.
getReferenceInputDatumMap :: TxInsReferenceDatums build -> Map (Hash ScriptData) HashableScriptData Source #
data TxReturnCollateral ctx era where Source #
Constructors
TxReturnCollateralNone :: forall ctx era. TxReturnCollateral ctx era | |
TxReturnCollateral :: forall era ctx. BabbageEraOnwards era -> TxOut ctx era -> TxReturnCollateral ctx era |
Instances
Show (TxReturnCollateral ctx era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Eq (TxReturnCollateral ctx era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: TxReturnCollateral ctx era -> TxReturnCollateral ctx era -> Bool Source # (/=) :: TxReturnCollateral ctx era -> TxReturnCollateral ctx era -> Bool Source # |
data TxTotalCollateral era where Source #
Constructors
TxTotalCollateralNone :: forall era. TxTotalCollateral era | |
TxTotalCollateral :: forall era. BabbageEraOnwards era -> Coin -> TxTotalCollateral era |
Instances
Show (TxTotalCollateral era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Eq (TxTotalCollateral era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: TxTotalCollateral era -> TxTotalCollateral era -> Bool Source # (/=) :: TxTotalCollateral era -> TxTotalCollateral era -> Bool Source # |
Constructors
TxFeeExplicit :: forall era. ShelleyBasedEra era -> Coin -> TxFee era |
data TxValidityLowerBound era where Source #
Constructors
TxValidityNoLowerBound :: forall era. TxValidityLowerBound era | |
TxValidityLowerBound :: forall era. AllegraEraOnwards era -> SlotNo -> TxValidityLowerBound era |
Instances
Show (TxValidityLowerBound era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Eq (TxValidityLowerBound era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: TxValidityLowerBound era -> TxValidityLowerBound era -> Bool Source # (/=) :: TxValidityLowerBound era -> TxValidityLowerBound era -> Bool Source # |
data TxValidityUpperBound era where Source #
This was formerly known as the TTL.
Constructors
TxValidityUpperBound :: forall era. ShelleyBasedEra era -> Maybe SlotNo -> TxValidityUpperBound era |
Instances
Show (TxValidityUpperBound era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Eq (TxValidityUpperBound era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: TxValidityUpperBound era -> TxValidityUpperBound era -> Bool Source # (/=) :: TxValidityUpperBound era -> TxValidityUpperBound era -> Bool Source # |
data TxMetadataInEra era where Source #
Constructors
TxMetadataNone :: forall era. TxMetadataInEra era | |
TxMetadataInEra :: forall era. ShelleyBasedEra era -> TxMetadata -> TxMetadataInEra era |
Instances
Show (TxMetadataInEra era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Eq (TxMetadataInEra era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: TxMetadataInEra era -> TxMetadataInEra era -> Bool Source # (/=) :: TxMetadataInEra era -> TxMetadataInEra era -> Bool Source # |
data TxAuxScripts era where Source #
Constructors
TxAuxScriptsNone :: forall era. TxAuxScripts era | |
TxAuxScripts :: forall era. AllegraEraOnwards era -> [ScriptInEra era] -> TxAuxScripts era |
Instances
Show (TxAuxScripts era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Eq (TxAuxScripts era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: TxAuxScripts era -> TxAuxScripts era -> Bool Source # (/=) :: TxAuxScripts era -> TxAuxScripts era -> Bool Source # |
data TxExtraKeyWitnesses era where Source #
Constructors
TxExtraKeyWitnessesNone :: forall era. TxExtraKeyWitnesses era | |
TxExtraKeyWitnesses :: forall era. AlonzoEraOnwards era -> [Hash PaymentKey] -> TxExtraKeyWitnesses era |
Instances
Show (TxExtraKeyWitnesses era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Eq (TxExtraKeyWitnesses era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: TxExtraKeyWitnesses era -> TxExtraKeyWitnesses era -> Bool Source # (/=) :: TxExtraKeyWitnesses era -> TxExtraKeyWitnesses era -> Bool Source # |
data TxWithdrawals build era where Source #
Constructors
TxWithdrawalsNone :: forall build era. TxWithdrawals build era | |
TxWithdrawals :: forall era build. ShelleyBasedEra era -> [(StakeAddress, Coin, BuildTxWith build (Witness WitCtxStake era))] -> TxWithdrawals build era |
Instances
Show (TxWithdrawals build era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Eq (TxWithdrawals build era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: TxWithdrawals build era -> TxWithdrawals build era -> Bool Source # (/=) :: TxWithdrawals build era -> TxWithdrawals build era -> Bool Source # |
indexTxWithdrawals :: TxWithdrawals BuildTx era -> [(ScriptWitnessIndex, StakeAddress, Coin, Witness WitCtxStake era)] Source #
Index the withdrawals with witnesses in the order of stake addresses. See section 4.1 of https://github.com/intersectmbo/cardano-ledger/releases/latest/download/alonzo-ledger.pdf
data TxCertificates build era where Source #
Constructors
TxCertificatesNone :: forall build era. TxCertificates build era | No certificates |
TxCertificates :: forall era build. ShelleyBasedEra era -> OMap (Certificate era) (BuildTxWith build (Maybe (StakeCredential, Witness WitCtxStake era))) -> TxCertificates build era | Represents certificates present in transaction. Prefer using |
Instances
Show (TxCertificates build era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Eq (TxCertificates build era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: TxCertificates build era -> TxCertificates build era -> Bool Source # (/=) :: TxCertificates build era -> TxCertificates build era -> Bool Source # |
indexTxCertificates :: TxCertificates BuildTx era -> [(ScriptWitnessIndex, Certificate era, StakeCredential, Witness WitCtxStake era)] Source #
Index certificates with witnesses by the order they appear in the list (in the transaction). See section 4.1 of https://github.com/intersectmbo/cardano-ledger/releases/latest/download/alonzo-ledger.pdf
data TxUpdateProposal era where Source #
Constructors
TxUpdateProposalNone :: forall era. TxUpdateProposal era | |
TxUpdateProposal :: forall era. ShelleyToBabbageEra era -> UpdateProposal -> TxUpdateProposal era |
Instances
Show (TxUpdateProposal era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Eq (TxUpdateProposal era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: TxUpdateProposal era -> TxUpdateProposal era -> Bool Source # (/=) :: TxUpdateProposal era -> TxUpdateProposal era -> Bool Source # |
data TxMintValue build era where Source #
Constructors
TxMintNone :: forall build era. TxMintValue build era | |
TxMintValue :: forall era build. MaryEraOnwards era -> Map PolicyId (PolicyAssets, BuildTxWith build (ScriptWitness WitCtxMint era)) -> TxMintValue build era |
Instances
Monoid (TxMintValue build era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods mempty :: TxMintValue build era Source # mappend :: TxMintValue build era -> TxMintValue build era -> TxMintValue build era Source # mconcat :: [TxMintValue build era] -> TxMintValue build era Source # | |
Semigroup (TxMintValue build era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (<>) :: TxMintValue build era -> TxMintValue build era -> TxMintValue build era Source # sconcat :: NonEmpty (TxMintValue build era) -> TxMintValue build era Source # stimes :: Integral b => b -> TxMintValue build era -> TxMintValue build era Source # | |
Show (TxMintValue build era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Eq (TxMintValue build era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: TxMintValue build era -> TxMintValue build era -> Bool Source # (/=) :: TxMintValue build era -> TxMintValue build era -> Bool Source # |
mkTxMintValue :: MaryEraOnwards era -> [(PolicyId, PolicyAssets, BuildTxWith build (ScriptWitness WitCtxMint era))] -> TxMintValue build era Source #
A helper function for building TxMintValue
with present witnesses. Only the first witness
in the argument will be used for each policy id.
txMintValueToValue :: TxMintValue build era -> Value Source #
Convert TxMintValue
to a more handy Value
.
indexTxMintValue :: TxMintValue build era -> [(ScriptWitnessIndex, PolicyId, PolicyAssets, BuildTxWith build (ScriptWitness WitCtxMint era))] Source #
Index the assets with witnesses in the order of policy ids. See section 4.1 of https://github.com/intersectmbo/cardano-ledger/releases/latest/download/alonzo-ledger.pdf
data TxVotingProcedures build era where Source #
Constructors
TxVotingProceduresNone :: forall build era. TxVotingProcedures build era | |
TxVotingProcedures :: forall era build. VotingProcedures (ShelleyLedgerEra era) -> BuildTxWith build (Map Voter (ScriptWitness WitCtxStake era)) -> TxVotingProcedures build era |
Instances
Show (TxVotingProcedures build era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Eq (TxVotingProcedures build era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: TxVotingProcedures build era -> TxVotingProcedures build era -> Bool Source # (/=) :: TxVotingProcedures build era -> TxVotingProcedures build era -> Bool Source # |
mkTxVotingProcedures :: Applicative (BuildTxWith build) => [(VotingProcedures era, Maybe (ScriptWitness WitCtxStake era))] -> Either (VotesMergingConflict era) (TxVotingProcedures build era) Source #
Create voting procedures from map of voting procedures and optional witnesses.
Validates the function argument, to make sure the list of votes is legal.
See mergeVotingProcedures
for validation rules.
indexTxVotingProcedures :: TxVotingProcedures BuildTx era -> [(ScriptWitnessIndex, Voter, ScriptWitness WitCtxStake era)] Source #
Index voting procedures by the order of the votes (Ord
).
data TxProposalProcedures build era where Source #
Constructors
TxProposalProceduresNone :: forall build era. TxProposalProcedures build era | No proposals in transaction.. |
TxProposalProcedures :: forall era build. EraPParams (ShelleyLedgerEra era) => OMap (ProposalProcedure (ShelleyLedgerEra era)) (BuildTxWith build (Maybe (ScriptWitness WitCtxStake era))) -> TxProposalProcedures build era | Represents proposal procedures present in transaction. |
Instances
Show (TxProposalProcedures build era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Eq (TxProposalProcedures build era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: TxProposalProcedures build era -> TxProposalProcedures build era -> Bool Source # (/=) :: TxProposalProcedures build era -> TxProposalProcedures build era -> Bool Source # |
mkTxProposalProcedures :: forall era build. (Applicative (BuildTxWith build), IsShelleyBasedEra era) => [(ProposalProcedure (ShelleyLedgerEra era), Maybe (ScriptWitness WitCtxStake era))] -> TxProposalProcedures build era Source #
A smart constructor for TxProposalProcedures
. It makes sure that the value produced is consistent - the
witnessed proposals are also present in the first constructor parameter.
indexTxProposalProcedures :: TxProposalProcedures BuildTx era -> [(ScriptWitnessIndex, ProposalProcedure (ShelleyLedgerEra era), ScriptWitness WitCtxStake era)] Source #
Index proposal procedures by their order (Ord
).
| and filter out the ones that do not have a witness.
indexWitnessedTxProposalProcedures :: TxProposalProcedures BuildTx era -> [(ProposalProcedure (ShelleyLedgerEra era), Maybe (ScriptWitnessIndex, ScriptWitness WitCtxStake era))] Source #
Index proposal procedures by their order (Ord
).
convProposalProcedures :: TxProposalProcedures build era -> OSet (ProposalProcedure (ShelleyLedgerEra era)) Source #
Returns an OSet of proposals from TxProposalProcedures
.
data BuildTxWith build a where Source #
Constructors
ViewTx :: forall a. BuildTxWith ViewTx a | |
BuildTxWith :: forall a. a -> BuildTxWith BuildTx a |
Instances
Applicative (BuildTxWith BuildTx) Source # | |
Defined in Cardano.Api.Tx.Internal.BuildTxWith Methods pure :: a -> BuildTxWith BuildTx a Source # (<*>) :: BuildTxWith BuildTx (a -> b) -> BuildTxWith BuildTx a -> BuildTxWith BuildTx b Source # liftA2 :: (a -> b -> c) -> BuildTxWith BuildTx a -> BuildTxWith BuildTx b -> BuildTxWith BuildTx c Source # (*>) :: BuildTxWith BuildTx a -> BuildTxWith BuildTx b -> BuildTxWith BuildTx b Source # (<*) :: BuildTxWith BuildTx a -> BuildTxWith BuildTx b -> BuildTxWith BuildTx a Source # | |
Applicative (BuildTxWith ViewTx) Source # | |
Defined in Cardano.Api.Tx.Internal.BuildTxWith Methods pure :: a -> BuildTxWith ViewTx a Source # (<*>) :: BuildTxWith ViewTx (a -> b) -> BuildTxWith ViewTx a -> BuildTxWith ViewTx b Source # liftA2 :: (a -> b -> c) -> BuildTxWith ViewTx a -> BuildTxWith ViewTx b -> BuildTxWith ViewTx c Source # (*>) :: BuildTxWith ViewTx a -> BuildTxWith ViewTx b -> BuildTxWith ViewTx b Source # (<*) :: BuildTxWith ViewTx a -> BuildTxWith ViewTx b -> BuildTxWith ViewTx a Source # | |
Functor (BuildTxWith build) Source # | |
Defined in Cardano.Api.Tx.Internal.BuildTxWith Methods fmap :: (a -> b) -> BuildTxWith build a -> BuildTxWith build b Source # (<$) :: a -> BuildTxWith build b -> BuildTxWith build a Source # | |
(Applicative (BuildTxWith build), Monoid a) => Monoid (BuildTxWith build a) Source # | |
Defined in Cardano.Api.Tx.Internal.BuildTxWith Methods mempty :: BuildTxWith build a Source # mappend :: BuildTxWith build a -> BuildTxWith build a -> BuildTxWith build a Source # mconcat :: [BuildTxWith build a] -> BuildTxWith build a Source # | |
Semigroup a => Semigroup (BuildTxWith build a) Source # | |
Defined in Cardano.Api.Tx.Internal.BuildTxWith Methods (<>) :: BuildTxWith build a -> BuildTxWith build a -> BuildTxWith build a Source # sconcat :: NonEmpty (BuildTxWith build a) -> BuildTxWith build a Source # stimes :: Integral b => b -> BuildTxWith build a -> BuildTxWith build a Source # | |
Show a => Show (BuildTxWith build a) Source # | |
Defined in Cardano.Api.Tx.Internal.BuildTxWith | |
Eq a => Eq (BuildTxWith build a) Source # | |
Defined in Cardano.Api.Tx.Internal.BuildTxWith Methods (==) :: BuildTxWith build a -> BuildTxWith build a -> Bool Source # (/=) :: BuildTxWith build a -> BuildTxWith build a -> Bool Source # |
Instances
Applicative (BuildTxWith BuildTx) Source # | |
Defined in Cardano.Api.Tx.Internal.BuildTxWith Methods pure :: a -> BuildTxWith BuildTx a Source # (<*>) :: BuildTxWith BuildTx (a -> b) -> BuildTxWith BuildTx a -> BuildTxWith BuildTx b Source # liftA2 :: (a -> b -> c) -> BuildTxWith BuildTx a -> BuildTxWith BuildTx b -> BuildTxWith BuildTx c Source # (*>) :: BuildTxWith BuildTx a -> BuildTxWith BuildTx b -> BuildTxWith BuildTx b Source # (<*) :: BuildTxWith BuildTx a -> BuildTxWith BuildTx b -> BuildTxWith BuildTx a Source # |
Instances
Applicative (BuildTxWith ViewTx) Source # | |
Defined in Cardano.Api.Tx.Internal.BuildTxWith Methods pure :: a -> BuildTxWith ViewTx a Source # (<*>) :: BuildTxWith ViewTx (a -> b) -> BuildTxWith ViewTx a -> BuildTxWith ViewTx b Source # liftA2 :: (a -> b -> c) -> BuildTxWith ViewTx a -> BuildTxWith ViewTx b -> BuildTxWith ViewTx c Source # (*>) :: BuildTxWith ViewTx a -> BuildTxWith ViewTx b -> BuildTxWith ViewTx b Source # (<*) :: BuildTxWith ViewTx a -> BuildTxWith ViewTx b -> BuildTxWith ViewTx a Source # |
buildTxWithToMaybe :: BuildTxWith build a -> Maybe a Source #
data AnyScriptWitness era where Source #
A ScriptWitness
in any WitCtx
. This lets us handle heterogeneous
collections of script witnesses from multiple contexts.
Constructors
AnyScriptWitness :: forall witctx era. Typeable witctx => ScriptWitness witctx era -> AnyScriptWitness era |
Instances
Show (AnyScriptWitness era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Eq (AnyScriptWitness era) Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: AnyScriptWitness era -> AnyScriptWitness era -> Bool Source # (/=) :: AnyScriptWitness era -> AnyScriptWitness era -> Bool Source # |
data ScriptWitnessIndex Source #
Identify the location of a ScriptWitness
within the context of a
TxBody
. These are indexes of the objects within the transaction that
need or can use script witnesses: inputs, minted assets, withdrawals and
certificates. These are simple numeric indices, enumerated from zero.
Thus the indices are not stable if the transaction body is modified.
Constructors
ScriptWitnessIndexTxIn !Word32 | The n'th transaction input, in the order of the |
ScriptWitnessIndexMint !Word32 | |
ScriptWitnessIndexCertificate !Word32 | The n'th certificate, in the list order of the certificates. |
ScriptWitnessIndexWithdrawal !Word32 | The n'th withdrawal, in the order of the |
ScriptWitnessIndexVoting !Word32 | The n'th vote, in the order of the votes. |
ScriptWitnessIndexProposing !Word32 | The n'th proposal, in the order of the proposals. |
Instances
ToJSON ScriptWitnessIndex Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods toJSON :: ScriptWitnessIndex -> Value # toEncoding :: ScriptWitnessIndex -> Encoding # toJSONList :: [ScriptWitnessIndex] -> Value # toEncodingList :: [ScriptWitnessIndex] -> Encoding # omitField :: ScriptWitnessIndex -> Bool # | |
Show ScriptWitnessIndex Source # | |
Defined in Cardano.Api.Tx.Internal.Body | |
Eq ScriptWitnessIndex Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods (==) :: ScriptWitnessIndex -> ScriptWitnessIndex -> Bool Source # (/=) :: ScriptWitnessIndex -> ScriptWitnessIndex -> Bool Source # | |
Ord ScriptWitnessIndex Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods compare :: ScriptWitnessIndex -> ScriptWitnessIndex -> Ordering Source # (<) :: ScriptWitnessIndex -> ScriptWitnessIndex -> Bool Source # (<=) :: ScriptWitnessIndex -> ScriptWitnessIndex -> Bool Source # (>) :: ScriptWitnessIndex -> ScriptWitnessIndex -> Bool Source # (>=) :: ScriptWitnessIndex -> ScriptWitnessIndex -> Bool Source # max :: ScriptWitnessIndex -> ScriptWitnessIndex -> ScriptWitnessIndex Source # min :: ScriptWitnessIndex -> ScriptWitnessIndex -> ScriptWitnessIndex Source # |
collectTxBodyScriptWitnesses :: ShelleyBasedEra era -> TxBodyContent BuildTx era -> [(ScriptWitnessIndex, AnyScriptWitness era)] Source #
collectTxBodyScriptWitnessRequirements :: IsShelleyBasedEra era => AlonzoEraOnwards era -> TxBodyContent BuildTx era -> Either TxBodyError (TxScriptWitnessRequirements (ShelleyLedgerEra era)) Source #
toScriptIndex :: AlonzoEraOnwards era -> PlutusPurpose AsIx (ShelleyLedgerEra era) -> ScriptWitnessIndex Source #
scriptDataToInlineDatum :: Era ledgerera => HashableScriptData -> Datum ledgerera Source #
Conversion of ScriptData to binary data which allows for the storage of data onchain within a transaction output.
convCertificates :: ShelleyBasedEra era -> TxCertificates build era -> StrictSeq (TxCert (ShelleyLedgerEra era)) Source #
convCollateralTxIns :: TxInsCollateral era -> Set TxIn Source #
convExtraKeyWitnesses :: TxExtraKeyWitnesses era -> Set (KeyHash 'Witness) Source #
convLanguages :: [(ScriptWitnessIndex, AnyScriptWitness era)] -> Set Language Source #
convMintValue :: TxMintValue build era -> MultiAsset Source #
convPParamsToScriptIntegrityHash :: AlonzoEraOnwards era -> BuildTxWith BuildTx (Maybe (LedgerProtocolParameters era)) -> Redeemers (ShelleyLedgerEra era) -> TxDats (ShelleyLedgerEra era) -> Set Language -> StrictMaybe ScriptIntegrityHash Source #
convReferenceInputs :: TxInsReference build era -> Set TxIn Source #
convReturnCollateral :: ShelleyBasedEra era -> TxReturnCollateral ctx era -> StrictMaybe (TxOut (ShelleyLedgerEra era)) Source #
convScripts :: ShelleyLedgerEra era ~ ledgerera => [(ScriptWitnessIndex, AnyScriptWitness era)] -> [Script ledgerera] Source #
convScriptData :: ShelleyBasedEra era -> [TxOut CtxTx era] -> [(ScriptWitnessIndex, AnyScriptWitness era)] -> TxBodyScriptData era Source #
convTotalCollateral :: TxTotalCollateral era -> StrictMaybe Coin Source #
convTransactionFee :: ShelleyBasedEra era -> TxFee era -> Coin Source #
convTxOuts :: forall ctx era ledgerera. (HasCallStack, ShelleyLedgerEra era ~ ledgerera) => ShelleyBasedEra era -> [TxOut ctx era] -> StrictSeq (TxOut ledgerera) Source #
Arguments
:: ShelleyBasedEra era | |
-> TxUpdateProposal era | |
-> Either TxBodyError (StrictMaybe (Update (ShelleyLedgerEra era))) |
|
Convert transaction update proposal into ledger update proposal
convValidityLowerBound :: TxValidityLowerBound era -> Maybe SlotNo Source #
convValidityUpperBound :: ShelleyBasedEra era -> TxValidityUpperBound era -> Maybe SlotNo Source #
convVotingProcedures :: TxVotingProcedures build era -> VotingProcedures (ShelleyLedgerEra era) Source #
convWithdrawals :: TxWithdrawals build era -> Withdrawals Source #
getScriptIntegrityHash :: BuildTxWith BuildTx (Maybe (LedgerProtocolParameters era)) -> Set Language -> TxBodyScriptData era -> StrictMaybe ScriptIntegrityHash Source #
mkCommonTxBody :: HasCallStack => ShelleyBasedEra era -> TxIns BuildTx era -> [TxOut ctx era] -> TxFee era -> TxWithdrawals build era -> Maybe (TxAuxData (ShelleyLedgerEra era)) -> LedgerTxBody era Source #
A helper function that constructs a TxBody with all of the fields that are common for all eras
toAuxiliaryData :: ShelleyBasedEra era -> TxMetadataInEra era -> TxAuxScripts era -> Maybe (TxAuxData (ShelleyLedgerEra era)) Source #
In the Allegra and Mary eras the auxiliary data consists of the tx metadata and the axiliary scripts. In the Alonzo and later eras the auxiliary data consists of the tx metadata and the axiliary scripts, and the axiliary script data.
toByronTxId :: TxId -> TxId Source #
toShelleyTxId :: TxId -> TxId Source #
toShelleyTxIn :: TxIn -> TxIn Source #
This function may overflow on the transaction index. Call sites must ensure that all uses of this function are appropriately guarded.
toShelleyTxOut :: (HasCallStack, ShelleyLedgerEra era ~ ledgerera) => ShelleyBasedEra era -> TxOut CtxUTxO era -> TxOut ledgerera Source #
toShelleyTxOutAny :: forall ctx era ledgerera. (HasCallStack, ShelleyLedgerEra era ~ ledgerera) => ShelleyBasedEra era -> TxOut ctx era -> TxOut ledgerera Source #
A variant of 'toShelleyTxOutAny that is used only internally to this module
that works with a TxOut
in any context (including CtxTx) by ignoring
embedded datums (taking only their hash).
fromShelleyTxId :: TxId -> TxId Source #
fromShelleyTxIn :: TxIn -> TxIn Source #
fromShelleyTxOut :: ShelleyBasedEra era -> TxOut (ShelleyLedgerEra era) -> TxOut ctx era Source #
fromByronTxIn :: TxIn -> TxIn Source #
fromLedgerTxOuts :: ShelleyBasedEra era -> TxBody (ShelleyLedgerEra era) -> TxBodyScriptData era -> [TxOut CtxTx era] Source #
renderTxIn :: TxIn -> Text Source #
getTxBodyContent :: TxBody era -> TxBodyContent ViewTx era Source #
validateTxIns :: [(TxIn, BuildTxWith BuildTx (Witness WitCtxTxIn era))] -> Either TxBodyError () Source #
guardShelleyTxInsOverflow :: [TxIn] -> Either TxBodyError () Source #
validateTxOuts :: ShelleyBasedEra era -> [TxOut CtxTx era] -> Either TxOutputError () Source #
validateTxInsCollateral :: TxInsCollateral era -> Set Language -> Either TxBodyError () Source #
validateProtocolParameters :: BuildTxWith BuildTx (Maybe (LedgerProtocolParameters era)) -> Set Language -> Either TxBodyError () Source #
getTxWitnesses :: Tx era -> [KeyWitness era] Source #
data ShelleySigningKey Source #
We support making key witnesses with both normal and extended signing keys.
Constructors
ShelleyNormalSigningKey (SignKeyDSIGN DSIGN) | A normal ed25519 signing key |
ShelleyExtendedSigningKey XPrv | An extended ed25519 signing key |
signByronTransaction :: NetworkId -> Annotated Tx ByteString -> [SigningKey ByronKey] -> ATxAux ByteString Source #
signShelleyTransaction :: ShelleyBasedEra era -> TxBody era -> [ShelleyWitnessSigningKey] -> Tx era Source #
makeSignedByronTransaction :: [KeyWitness era] -> Annotated Tx ByteString -> ATxAux ByteString Source #
makeSignedTransaction :: [KeyWitness era] -> TxBody era -> Tx era Source #
makeSignedTransaction' :: CardanoEra era -> [KeyWitness era] -> TxBody era -> Tx era Source #
makeByronKeyWitness :: IsByronKey key => NetworkId -> Annotated Tx ByteString -> SigningKey key -> KeyWitness ByronEra Source #
data ShelleyWitnessSigningKey Source #
Constructors
WitnessPaymentKey (SigningKey PaymentKey) | |
WitnessPaymentExtendedKey (SigningKey PaymentExtendedKey) | |
WitnessStakeKey (SigningKey StakeKey) | |
WitnessStakeExtendedKey (SigningKey StakeExtendedKey) | |
WitnessStakePoolKey (SigningKey StakePoolKey) | |
WitnessStakePoolExtendedKey (SigningKey StakePoolExtendedKey) | |
WitnessGenesisKey (SigningKey GenesisKey) | |
WitnessGenesisExtendedKey (SigningKey GenesisExtendedKey) | |
WitnessGenesisDelegateKey (SigningKey GenesisDelegateKey) | |
WitnessGenesisDelegateExtendedKey (SigningKey GenesisDelegateExtendedKey) | |
WitnessGenesisUTxOKey (SigningKey GenesisUTxOKey) | |
WitnessCommitteeColdKey (SigningKey CommitteeColdKey) | |
WitnessCommitteeColdExtendedKey (SigningKey CommitteeColdExtendedKey) | |
WitnessCommitteeHotKey (SigningKey CommitteeHotKey) | |
WitnessCommitteeHotExtendedKey (SigningKey CommitteeHotExtendedKey) | |
WitnessDRepKey (SigningKey DRepKey) | |
WitnessDRepExtendedKey (SigningKey DRepExtendedKey) |
makeShelleyKeyWitness :: ShelleyBasedEra era -> TxBody era -> ShelleyWitnessSigningKey -> KeyWitness era Source #
makeShelleyKeyWitness' :: ShelleyBasedEra era -> TxBody (ShelleyLedgerEra era) -> ShelleyWitnessSigningKey -> KeyWitness era Source #
makeShelleyBootstrapWitness :: ShelleyBasedEra era -> WitnessNetworkIdOrByronAddress -> TxBody era -> SigningKey ByronKey -> KeyWitness era Source #
makeShelleyBasedBootstrapWitness :: ShelleyBasedEra era -> WitnessNetworkIdOrByronAddress -> TxBody (ShelleyLedgerEra era) -> SigningKey ByronKey -> KeyWitness era Source #
makeShelleySignature :: SignableRepresentation tosign => tosign -> ShelleySigningKey -> SignedDSIGN DSIGN tosign Source #
getTxBodyAndWitnesses :: Tx era -> (TxBody era, [KeyWitness era]) Source #
Instances
FromJSON Quantity Source # | |
Defined in Cardano.Api.Value.Internal | |
ToJSON Quantity Source # | |
Defined in Cardano.Api.Value.Internal | |
Data Quantity Source # | |
Defined in Cardano.Api.Value.Internal Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Quantity -> c Quantity Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Quantity Source # toConstr :: Quantity -> Constr Source # dataTypeOf :: Quantity -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Quantity) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Quantity) Source # gmapT :: (forall b. Data b => b -> b) -> Quantity -> Quantity Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Quantity -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Quantity -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Quantity -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Quantity -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Quantity -> m Quantity Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Quantity -> m Quantity Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Quantity -> m Quantity Source # | |
Monoid Quantity Source # | |
Semigroup Quantity Source # | |
Num Quantity Source # | |
Defined in Cardano.Api.Value.Internal Methods (+) :: Quantity -> Quantity -> Quantity Source # (-) :: Quantity -> Quantity -> Quantity Source # (*) :: Quantity -> Quantity -> Quantity Source # negate :: Quantity -> Quantity Source # abs :: Quantity -> Quantity Source # signum :: Quantity -> Quantity Source # fromInteger :: Integer -> Quantity Source # | |
Show Quantity Source # | |
Eq Quantity Source # | |
Ord Quantity Source # | |
Defined in Cardano.Api.Value.Internal |
parseQuantity :: Parser Quantity Source #
Quantity (word64) parser. Only accepts positive quantities.
Constructors
PolicyId | |
Fields |
Instances
FromJSON PolicyId Source # | |||||
Defined in Cardano.Api.Value.Internal | |||||
ToJSON PolicyId Source # | |||||
Defined in Cardano.Api.Value.Internal | |||||
Show PolicyId Source # | |||||
HasTypeProxy PolicyId Source # | |||||
Defined in Cardano.Api.Value.Internal Associated Types
| |||||
SerialiseAsRawBytes PolicyId Source # | |||||
Defined in Cardano.Api.Value.Internal Methods serialiseToRawBytes :: PolicyId -> ByteString Source # deserialiseFromRawBytes :: AsType PolicyId -> ByteString -> Either SerialiseAsRawBytesError PolicyId Source # | |||||
Eq PolicyId Source # | |||||
Ord PolicyId Source # | |||||
Defined in Cardano.Api.Value.Internal | |||||
data AsType PolicyId Source # | |||||
Defined in Cardano.Api.Value.Internal |
parsePolicyId :: Parser PolicyId Source #
Policy ID parser.
scriptPolicyId :: Script lang -> PolicyId Source #
parseAssetName :: Parser AssetName Source #
Asset name parser.
Constructors
AdaAssetId | |
AssetId !PolicyId !AssetName |
Instances
Show AssetId Source # | |
Eq AssetId Source # | |
Ord AssetId Source # | |
Defined in Cardano.Api.Value.Internal |
parseAssetId :: Parser AssetId Source #
Asset ID parser.
negateValue :: Value -> Value Source #
This lets you write a - b
as a <> negateValue b
.
negateLedgerValue :: ShelleyBasedEra era -> Value (ShelleyLedgerEra era) -> Value (ShelleyLedgerEra era) Source #
calcMinimumDeposit :: Value -> Lovelace -> Lovelace Source #
Calculate cost of making a UTxO entry for a given Value
and
mininimum UTxO value derived from the ProtocolParameters
newtype PolicyAssets Source #
Map of non-ADA assets with their quantity, for a single policy
Constructors
PolicyAssets (Map AssetName Quantity) |
Instances
Monoid PolicyAssets Source # | |||||
Defined in Cardano.Api.Value.Internal Methods mempty :: PolicyAssets Source # mappend :: PolicyAssets -> PolicyAssets -> PolicyAssets Source # mconcat :: [PolicyAssets] -> PolicyAssets Source # | |||||
Semigroup PolicyAssets Source # | |||||
Defined in Cardano.Api.Value.Internal Methods (<>) :: PolicyAssets -> PolicyAssets -> PolicyAssets Source # sconcat :: NonEmpty PolicyAssets -> PolicyAssets Source # stimes :: Integral b => b -> PolicyAssets -> PolicyAssets Source # | |||||
IsList PolicyAssets Source # | |||||
Defined in Cardano.Api.Value.Internal Associated Types
Methods fromList :: [Item PolicyAssets] -> PolicyAssets Source # fromListN :: Int -> [Item PolicyAssets] -> PolicyAssets Source # toList :: PolicyAssets -> [Item PolicyAssets] Source # | |||||
Show PolicyAssets Source # | |||||
Defined in Cardano.Api.Value.Internal | |||||
Eq PolicyAssets Source # | |||||
Defined in Cardano.Api.Value.Internal Methods (==) :: PolicyAssets -> PolicyAssets -> Bool Source # (/=) :: PolicyAssets -> PolicyAssets -> Bool Source # | |||||
MonoFunctor PolicyAssets Source # | |||||
Defined in Cardano.Api.Value.Internal Methods omap :: (Element PolicyAssets -> Element PolicyAssets) -> PolicyAssets -> PolicyAssets | |||||
type Item PolicyAssets Source # | |||||
Defined in Cardano.Api.Value.Internal | |||||
type Element PolicyAssets Source # | |||||
Defined in Cardano.Api.Value.Internal |
policyAssetsToValue :: PolicyId -> PolicyAssets -> Value Source #
valueToPolicyAssets :: Value -> Map PolicyId PolicyAssets Source #
Converts Value
to PolicyAssets
. Discards any ADA value stored in Value
.
multiAssetToPolicyAssets :: MultiAsset -> Map PolicyId PolicyAssets Source #
Convert cardano-ledger's MultiAsset
to a map of PolicyAssets
selectLovelace :: Value -> Lovelace Source #
lovelaceToValue :: Lovelace -> Value Source #
valueToLovelace :: Value -> Maybe Lovelace Source #
Check if the Value
consists of only Lovelace
and no other assets,
and if so then return the Lovelace
See also selectLovelace
to select the Lovelace quantity from the Value,
ignoring other assets.
newtype ValueNestedRep Source #
Constructors
ValueNestedRep [ValueNestedBundle] |
Instances
FromJSON ValueNestedRep Source # | |
Defined in Cardano.Api.Value.Internal Methods parseJSON :: Value -> Parser ValueNestedRep # parseJSONList :: Value -> Parser [ValueNestedRep] # | |
ToJSON ValueNestedRep Source # | |
Defined in Cardano.Api.Value.Internal Methods toJSON :: ValueNestedRep -> Value # toEncoding :: ValueNestedRep -> Encoding # toJSONList :: [ValueNestedRep] -> Value # toEncodingList :: [ValueNestedRep] -> Encoding # omitField :: ValueNestedRep -> Bool # | |
Show ValueNestedRep Source # | |
Defined in Cardano.Api.Value.Internal | |
Eq ValueNestedRep Source # | |
Defined in Cardano.Api.Value.Internal Methods (==) :: ValueNestedRep -> ValueNestedRep -> Bool Source # (/=) :: ValueNestedRep -> ValueNestedRep -> Bool Source # | |
Ord ValueNestedRep Source # | |
Defined in Cardano.Api.Value.Internal Methods compare :: ValueNestedRep -> ValueNestedRep -> Ordering Source # (<) :: ValueNestedRep -> ValueNestedRep -> Bool Source # (<=) :: ValueNestedRep -> ValueNestedRep -> Bool Source # (>) :: ValueNestedRep -> ValueNestedRep -> Bool Source # (>=) :: ValueNestedRep -> ValueNestedRep -> Bool Source # max :: ValueNestedRep -> ValueNestedRep -> ValueNestedRep Source # min :: ValueNestedRep -> ValueNestedRep -> ValueNestedRep Source # |
data ValueNestedBundle Source #
A bundle within a ValueNestedRep
for a single PolicyId
, or for the
special case of ada.
Constructors
ValueNestedBundleAda Quantity | |
ValueNestedBundle PolicyId (Map AssetName Quantity) |
Instances
Show ValueNestedBundle Source # | |
Defined in Cardano.Api.Value.Internal | |
Eq ValueNestedBundle Source # | |
Defined in Cardano.Api.Value.Internal Methods (==) :: ValueNestedBundle -> ValueNestedBundle -> Bool Source # (/=) :: ValueNestedBundle -> ValueNestedBundle -> Bool Source # | |
Ord ValueNestedBundle Source # | |
Defined in Cardano.Api.Value.Internal Methods compare :: ValueNestedBundle -> ValueNestedBundle -> Ordering Source # (<) :: ValueNestedBundle -> ValueNestedBundle -> Bool Source # (<=) :: ValueNestedBundle -> ValueNestedBundle -> Bool Source # (>) :: ValueNestedBundle -> ValueNestedBundle -> Bool Source # (>=) :: ValueNestedBundle -> ValueNestedBundle -> Bool Source # max :: ValueNestedBundle -> ValueNestedBundle -> ValueNestedBundle Source # min :: ValueNestedBundle -> ValueNestedBundle -> ValueNestedBundle Source # |
renderMultiAsset :: MultiAsset -> Text Source #
fromByronLovelace :: Lovelace -> Lovelace Source #
toMaryValue :: Value -> MaryValue Source #
fromMaryValue :: MaryValue -> Value Source #
fromMultiAsset :: MultiAsset -> Value Source #
fromLedgerValue :: ShelleyBasedEra era -> Value (ShelleyLedgerEra era) -> Value Source #
toLedgerValue :: MaryEraOnwards era -> Value -> Value (ShelleyLedgerEra era) 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
data AsType AddressAny Source # | |
Defined in Cardano.Api.Address | |
data AsType ByronAddr Source # | |
Defined in Cardano.Api.Address | |
data AsType ShelleyAddr Source # | |
Defined in Cardano.Api.Address | |
data AsType StakeAddress Source # | |
Defined in Cardano.Api.Address | |
data AsType BlockHeader Source # | |
Defined in Cardano.Api.Block | |
data AsType ByronKey Source # | |
Defined in Cardano.Api.Byron.Internal.Key | |
data AsType ByronKeyLegacy Source # | |
Defined in Cardano.Api.Byron.Internal.Key | |
data AsType ByronUpdateProposal Source # | |
Defined in Cardano.Api.Byron.Internal.Proposal | |
data AsType ByronVote Source # | |
Defined in Cardano.Api.Byron.Internal.Proposal | |
data AsType DRepMetadata Source # | |
data AsType OperationalCertificate Source # | |
data AsType OperationalCertificateIssueCounter Source # | |
data AsType StakePoolMetadata Source # | |
data AsType AllegraEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType AlonzoEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType BabbageEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType ByronEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType ConwayEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType MaryEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType ShelleyEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
data AsType GovernancePoll Source # | |
Defined in Cardano.Api.Governance.Internal.Poll | |
data AsType GovernancePollAnswer Source # | |
Defined in Cardano.Api.Governance.Internal.Poll | |
data AsType CommitteeColdExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType CommitteeColdKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType CommitteeHotExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType CommitteeHotKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType DRepExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType DRepKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType GenesisDelegateExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType GenesisDelegateKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType GenesisExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType GenesisKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType GenesisUTxOKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType PaymentExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType PaymentKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType StakeExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType StakeKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType StakePoolExtendedKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType StakePoolKey Source # | |
Defined in Cardano.Api.Key.Internal | |
data AsType KesKey Source # | |
Defined in Cardano.Api.Key.Internal.Praos | |
data AsType VrfKey Source # | |
Defined in Cardano.Api.Key.Internal.Praos | |
data AsType PlutusScriptV1 Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType PlutusScriptV2 Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType PlutusScriptV3 Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType ScriptHash Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType ScriptInAnyLang Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType SimpleScript' Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType HashableScriptData Source # | |
Defined in Cardano.Api.Plutus.Internal.ScriptData | |
data AsType ScriptData Source # | |
Defined in Cardano.Api.Plutus.Internal.ScriptData | |
data AsType PraosNonce Source # | |
Defined in Cardano.Api.ProtocolParameters | |
data AsType UpdateProposal Source # | |
Defined in Cardano.Api.ProtocolParameters | |
data AsType EraHistory Source # | |
Defined in Cardano.Api.Query.Internal.Type.QueryInMode | |
data AsType TextEnvelope Source # | |
Defined in Cardano.Api.Serialise.TextEnvelope.Internal | |
data AsType TxId Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn | |
data AsType TxMetadata Source # | |
Defined in Cardano.Api.Tx.Internal.TxMetadata | |
data AsType AssetName Source # | |
Defined in Cardano.Api.Value.Internal | |
data AsType PolicyId Source # | |
Defined in Cardano.Api.Value.Internal | |
data AsType GovActionId Source # | |
Defined in Cardano.Api.Internal.Orphans.Serialisation | |
data AsType Term Source # | |
Defined in Cardano.Api.Serialise.Cbor.Canonical | |
data AsType (Address addrtype) Source # | |
Defined in Cardano.Api.Address | |
data AsType (AddressInEra era) Source # | |
Defined in Cardano.Api.Address | |
data AsType (Certificate era) Source # | |
Defined in Cardano.Api.Certificate.Internal | |
data AsType (Proposal era) Source # | |
data AsType (VotingProcedure era) Source # | |
data AsType (VotingProcedures era) Source # | |
data AsType (Hash a) Source # | |
Defined in Cardano.Api.Hash | |
data AsType (SigningKey a) Source # | |
Defined in Cardano.Api.Key.Internal.Class | |
data AsType (VerificationKey a) Source # | |
Defined in Cardano.Api.Key.Internal.Class | |
data AsType (PlutusScript lang) Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType (Script lang) Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType (ScriptInEra era) Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
data AsType (KeyWitness era) Source # | |
Defined in Cardano.Api.Tx.Internal.Sign | |
data AsType (Tx era) Source # | |
Defined in Cardano.Api.Tx.Internal.Sign | |
data AsType (TxBody era) Source # | |
Defined in Cardano.Api.Tx.Internal.Sign | |
data AsType (Credential 'ColdCommitteeRole) Source # | |
Defined in Cardano.Api.Internal.Orphans.Serialisation | |
data AsType (Credential 'DRepRole) Source # | |
Defined in Cardano.Api.Internal.Orphans.Serialisation | |
data AsType (Credential 'HotCommitteeRole) Source # | |
Defined in Cardano.Api.Internal.Orphans.Serialisation | |
data AsType (PlutusScriptInEra era lang) Source # | |
Defined in Cardano.Api.Plutus.Internal.Script |
Cryptographic key interface
data family VerificationKey keyrole Source #
The type of cryptographic verification key, for each key role.
Instances
Show (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
Show (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods showsPrec :: Int -> VerificationKey ByronKeyLegacy -> ShowS Source # show :: VerificationKey ByronKeyLegacy -> String Source # showList :: [VerificationKey ByronKeyLegacy] -> ShowS Source # | |||||
Show (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey CommitteeColdExtendedKey -> ShowS Source # show :: VerificationKey CommitteeColdExtendedKey -> String Source # showList :: [VerificationKey CommitteeColdExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey CommitteeColdKey -> ShowS Source # show :: VerificationKey CommitteeColdKey -> String Source # showList :: [VerificationKey CommitteeColdKey] -> ShowS Source # | |||||
Show (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey CommitteeHotExtendedKey -> ShowS Source # show :: VerificationKey CommitteeHotExtendedKey -> String Source # showList :: [VerificationKey CommitteeHotExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey CommitteeHotKey -> ShowS Source # show :: VerificationKey CommitteeHotKey -> String Source # showList :: [VerificationKey CommitteeHotKey] -> ShowS Source # | |||||
Show (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey DRepExtendedKey -> ShowS Source # show :: VerificationKey DRepExtendedKey -> String Source # showList :: [VerificationKey DRepExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey GenesisDelegateExtendedKey -> ShowS Source # show :: VerificationKey GenesisDelegateExtendedKey -> String Source # showList :: [VerificationKey GenesisDelegateExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey GenesisDelegateKey -> ShowS Source # show :: VerificationKey GenesisDelegateKey -> String Source # showList :: [VerificationKey GenesisDelegateKey] -> ShowS Source # | |||||
Show (VerificationKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey GenesisExtendedKey -> ShowS Source # show :: VerificationKey GenesisExtendedKey -> String Source # showList :: [VerificationKey GenesisExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey GenesisKey -> ShowS Source # show :: VerificationKey GenesisKey -> String Source # showList :: [VerificationKey GenesisKey] -> ShowS Source # | |||||
Show (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey GenesisUTxOKey -> ShowS Source # show :: VerificationKey GenesisUTxOKey -> String Source # showList :: [VerificationKey GenesisUTxOKey] -> ShowS Source # | |||||
Show (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey PaymentExtendedKey -> ShowS Source # show :: VerificationKey PaymentExtendedKey -> String Source # showList :: [VerificationKey PaymentExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey PaymentKey -> ShowS Source # show :: VerificationKey PaymentKey -> String Source # showList :: [VerificationKey PaymentKey] -> ShowS Source # | |||||
Show (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey StakeExtendedKey -> ShowS Source # show :: VerificationKey StakeExtendedKey -> String Source # showList :: [VerificationKey StakeExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey StakePoolExtendedKey -> ShowS Source # show :: VerificationKey StakePoolExtendedKey -> String Source # showList :: [VerificationKey StakePoolExtendedKey] -> ShowS Source # | |||||
Show (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> VerificationKey StakePoolKey -> ShowS Source # show :: VerificationKey StakePoolKey -> String Source # showList :: [VerificationKey StakePoolKey] -> ShowS Source # | |||||
Show (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
Show (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
HasTypeProxy a => HasTypeProxy (VerificationKey a) Source # | |||||
Defined in Cardano.Api.Key.Internal.Class Associated Types
Methods proxyToAsType :: Proxy (VerificationKey a) -> AsType (VerificationKey a) Source # | |||||
SerialiseAsBech32 (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey CommitteeColdExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey CommitteeColdExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey CommitteeColdKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey CommitteeColdKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey CommitteeHotExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey CommitteeHotExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey CommitteeHotKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey CommitteeHotKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey DRepExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey DRepExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey DRepKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey DRepKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey PaymentExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey PaymentExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey PaymentKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey PaymentKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey StakeExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey StakeExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey StakeKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey StakeKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey StakePoolExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey StakePoolExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: VerificationKey StakePoolKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey StakePoolKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods bech32PrefixFor :: VerificationKey KesKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey KesKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods bech32PrefixFor :: VerificationKey VrfKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (VerificationKey VrfKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsCBOR (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToCBOR :: VerificationKey ByronKey -> ByteString Source # deserialiseFromCBOR :: AsType (VerificationKey ByronKey) -> ByteString -> Either DecoderError (VerificationKey ByronKey) Source # | |||||
SerialiseAsCBOR (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
SerialiseAsCBOR (VerificationKey CommitteeColdExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey CommitteeHotExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: VerificationKey DRepKey -> ByteString Source # deserialiseFromCBOR :: AsType (VerificationKey DRepKey) -> ByteString -> Either DecoderError (VerificationKey DRepKey) Source # | |||||
SerialiseAsCBOR (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey GenesisDelegateKey) Source # | |||||
SerialiseAsCBOR (VerificationKey GenesisExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey PaymentExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: VerificationKey StakeKey -> ByteString Source # deserialiseFromCBOR :: AsType (VerificationKey StakeKey) -> ByteString -> Either DecoderError (VerificationKey StakeKey) Source # | |||||
SerialiseAsCBOR (VerificationKey StakePoolExtendedKey) Source # | |||||
SerialiseAsCBOR (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToCBOR :: VerificationKey KesKey -> ByteString Source # deserialiseFromCBOR :: AsType (VerificationKey KesKey) -> ByteString -> Either DecoderError (VerificationKey KesKey) Source # | |||||
SerialiseAsCBOR (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToCBOR :: VerificationKey VrfKey -> ByteString Source # deserialiseFromCBOR :: AsType (VerificationKey VrfKey) -> ByteString -> Either DecoderError (VerificationKey VrfKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
SerialiseAsRawBytes (VerificationKey ByronKeyLegacy) Source # | |||||
SerialiseAsRawBytes (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey CommitteeColdKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey CommitteeHotKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey DRepExtendedKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey GenesisDelegateKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey GenesisExtendedKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey GenesisUTxOKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey PaymentExtendedKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey StakeExtendedKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (VerificationKey StakePoolExtendedKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey StakePoolKey) Source # | |||||
SerialiseAsRawBytes (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
SerialiseAsRawBytes (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
HasTextEnvelope (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
HasTextEnvelope (VerificationKey ByronKeyLegacy) Source # | |||||
HasTextEnvelope (VerificationKey CommitteeColdExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey CommitteeColdKey) Source # | |||||
HasTextEnvelope (VerificationKey CommitteeHotExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey CommitteeHotKey) Source # | |||||
HasTextEnvelope (VerificationKey DRepExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey GenesisDelegateKey) Source # | |||||
HasTextEnvelope (VerificationKey GenesisExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey PaymentExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey StakeExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey StakePoolExtendedKey) Source # | |||||
HasTextEnvelope (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
HasTextEnvelope (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
FromCBOR (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
FromCBOR (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods fromCBOR :: Decoder s (VerificationKey ByronKeyLegacy) Source # label :: Proxy (VerificationKey ByronKeyLegacy) -> Text Source # | |||||
FromCBOR (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey CommitteeColdExtendedKey) Source # label :: Proxy (VerificationKey CommitteeColdExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey CommitteeColdKey) Source # label :: Proxy (VerificationKey CommitteeColdKey) -> Text Source # | |||||
FromCBOR (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey CommitteeHotExtendedKey) Source # label :: Proxy (VerificationKey CommitteeHotExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey CommitteeHotKey) Source # label :: Proxy (VerificationKey CommitteeHotKey) -> Text Source # | |||||
FromCBOR (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey DRepExtendedKey) Source # label :: Proxy (VerificationKey DRepExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey GenesisDelegateExtendedKey) Source # label :: Proxy (VerificationKey GenesisDelegateExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey GenesisDelegateKey) Source # label :: Proxy (VerificationKey GenesisDelegateKey) -> Text Source # | |||||
FromCBOR (VerificationKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey GenesisExtendedKey) Source # label :: Proxy (VerificationKey GenesisExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey GenesisKey) Source # label :: Proxy (VerificationKey GenesisKey) -> Text Source # | |||||
FromCBOR (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey GenesisUTxOKey) Source # label :: Proxy (VerificationKey GenesisUTxOKey) -> Text Source # | |||||
FromCBOR (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey PaymentExtendedKey) Source # label :: Proxy (VerificationKey PaymentExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey PaymentKey) Source # label :: Proxy (VerificationKey PaymentKey) -> Text Source # | |||||
FromCBOR (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey StakeExtendedKey) Source # label :: Proxy (VerificationKey StakeExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey StakePoolExtendedKey) Source # label :: Proxy (VerificationKey StakePoolExtendedKey) -> Text Source # | |||||
FromCBOR (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (VerificationKey StakePoolKey) Source # label :: Proxy (VerificationKey StakePoolKey) -> Text Source # | |||||
FromCBOR (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
FromCBOR (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
ToCBOR (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
ToCBOR (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods toCBOR :: VerificationKey ByronKeyLegacy -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey ByronKeyLegacy) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey ByronKeyLegacy] -> Size Source # | |||||
ToCBOR (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey CommitteeColdExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey CommitteeColdExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey CommitteeColdExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey CommitteeColdKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey CommitteeColdKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey CommitteeColdKey] -> Size Source # | |||||
ToCBOR (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey CommitteeHotExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey CommitteeHotExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey CommitteeHotExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey CommitteeHotKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey CommitteeHotKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey CommitteeHotKey] -> Size Source # | |||||
ToCBOR (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey DRepExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey DRepExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey DRepExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey GenesisDelegateExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisDelegateExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisDelegateExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey GenesisDelegateKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisDelegateKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisDelegateKey] -> Size Source # | |||||
ToCBOR (VerificationKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey GenesisExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey GenesisKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisKey] -> Size Source # | |||||
ToCBOR (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey GenesisUTxOKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisUTxOKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisUTxOKey] -> Size Source # | |||||
ToCBOR (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey PaymentExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey PaymentExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey PaymentExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey PaymentKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey PaymentKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey PaymentKey] -> Size Source # | |||||
ToCBOR (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey StakeExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey StakeExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey StakeExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey StakePoolExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey StakePoolExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey StakePoolExtendedKey] -> Size Source # | |||||
ToCBOR (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: VerificationKey StakePoolKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey StakePoolKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey StakePoolKey] -> Size Source # | |||||
ToCBOR (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
ToCBOR (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
Eq (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods (==) :: VerificationKey ByronKey -> VerificationKey ByronKey -> Bool Source # (/=) :: VerificationKey ByronKey -> VerificationKey ByronKey -> Bool Source # | |||||
Eq (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods (==) :: VerificationKey ByronKeyLegacy -> VerificationKey ByronKeyLegacy -> Bool Source # (/=) :: VerificationKey ByronKeyLegacy -> VerificationKey ByronKeyLegacy -> Bool Source # | |||||
Eq (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Eq (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey CommitteeColdKey -> VerificationKey CommitteeColdKey -> Bool Source # (/=) :: VerificationKey CommitteeColdKey -> VerificationKey CommitteeColdKey -> Bool Source # | |||||
Eq (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Eq (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey CommitteeHotKey -> VerificationKey CommitteeHotKey -> Bool Source # (/=) :: VerificationKey CommitteeHotKey -> VerificationKey CommitteeHotKey -> Bool Source # | |||||
Eq (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey DRepExtendedKey -> VerificationKey DRepExtendedKey -> Bool Source # (/=) :: VerificationKey DRepExtendedKey -> VerificationKey DRepExtendedKey -> Bool Source # | |||||
Eq (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey DRepKey -> VerificationKey DRepKey -> Bool Source # (/=) :: VerificationKey DRepKey -> VerificationKey DRepKey -> Bool Source # | |||||
Eq (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Eq (VerificationKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Eq (VerificationKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Eq (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey GenesisKey -> VerificationKey GenesisKey -> Bool Source # (/=) :: VerificationKey GenesisKey -> VerificationKey GenesisKey -> Bool Source # | |||||
Eq (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey GenesisUTxOKey -> VerificationKey GenesisUTxOKey -> Bool Source # (/=) :: VerificationKey GenesisUTxOKey -> VerificationKey GenesisUTxOKey -> Bool Source # | |||||
Eq (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Eq (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey PaymentKey -> VerificationKey PaymentKey -> Bool Source # (/=) :: VerificationKey PaymentKey -> VerificationKey PaymentKey -> Bool Source # | |||||
Eq (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey StakeExtendedKey -> VerificationKey StakeExtendedKey -> Bool Source # (/=) :: VerificationKey StakeExtendedKey -> VerificationKey StakeExtendedKey -> Bool Source # | |||||
Eq (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey StakeKey -> VerificationKey StakeKey -> Bool Source # (/=) :: VerificationKey StakeKey -> VerificationKey StakeKey -> Bool Source # | |||||
Eq (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Eq (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: VerificationKey StakePoolKey -> VerificationKey StakePoolKey -> Bool Source # (/=) :: VerificationKey StakePoolKey -> VerificationKey StakePoolKey -> Bool Source # | |||||
Eq (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods (==) :: VerificationKey KesKey -> VerificationKey KesKey -> Bool Source # (/=) :: VerificationKey KesKey -> VerificationKey KesKey -> Bool Source # | |||||
Eq (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods (==) :: VerificationKey VrfKey -> VerificationKey VrfKey -> Bool Source # (/=) :: VerificationKey VrfKey -> VerificationKey VrfKey -> Bool Source # | |||||
Pretty (VerificationKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods pretty :: VerificationKey ByronKey -> Doc ann # prettyList :: [VerificationKey ByronKey] -> Doc ann # | |||||
Pretty (VerificationKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods pretty :: VerificationKey ByronKeyLegacy -> Doc ann # prettyList :: [VerificationKey ByronKeyLegacy] -> Doc ann # | |||||
Pretty (VerificationKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey CommitteeColdExtendedKey -> Doc ann # prettyList :: [VerificationKey CommitteeColdExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey CommitteeColdKey -> Doc ann # prettyList :: [VerificationKey CommitteeColdKey] -> Doc ann # | |||||
Pretty (VerificationKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey CommitteeHotExtendedKey -> Doc ann # prettyList :: [VerificationKey CommitteeHotExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey CommitteeHotKey -> Doc ann # prettyList :: [VerificationKey CommitteeHotKey] -> Doc ann # | |||||
Pretty (VerificationKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey DRepExtendedKey -> Doc ann # prettyList :: [VerificationKey DRepExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey DRepKey -> Doc ann # prettyList :: [VerificationKey DRepKey] -> Doc ann # | |||||
Pretty (VerificationKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisDelegateExtendedKey -> Doc ann # prettyList :: [VerificationKey GenesisDelegateExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisDelegateKey -> Doc ann # prettyList :: [VerificationKey GenesisDelegateKey] -> Doc ann # | |||||
Pretty (VerificationKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisExtendedKey -> Doc ann # prettyList :: [VerificationKey GenesisExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisKey -> Doc ann # prettyList :: [VerificationKey GenesisKey] -> Doc ann # | |||||
Pretty (VerificationKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisUTxOKey -> Doc ann # prettyList :: [VerificationKey GenesisUTxOKey] -> Doc ann # | |||||
Pretty (VerificationKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey PaymentExtendedKey -> Doc ann # prettyList :: [VerificationKey PaymentExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey PaymentKey -> Doc ann # prettyList :: [VerificationKey PaymentKey] -> Doc ann # | |||||
Pretty (VerificationKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey StakeExtendedKey -> Doc ann # prettyList :: [VerificationKey StakeExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey StakeKey -> Doc ann # prettyList :: [VerificationKey StakeKey] -> Doc ann # | |||||
Pretty (VerificationKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey StakePoolExtendedKey -> Doc ann # prettyList :: [VerificationKey StakePoolExtendedKey] -> Doc ann # | |||||
Pretty (VerificationKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey StakePoolKey -> Doc ann # prettyList :: [VerificationKey StakePoolKey] -> Doc ann # | |||||
Pretty (VerificationKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods pretty :: VerificationKey KesKey -> Doc ann # prettyList :: [VerificationKey KesKey] -> Doc ann # | |||||
Pretty (VerificationKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods pretty :: VerificationKey VrfKey -> Doc ann # prettyList :: [VerificationKey VrfKey] -> Doc ann # | |||||
newtype VerificationKey ByronKey Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
newtype VerificationKey ByronKeyLegacy Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
newtype VerificationKey CommitteeColdExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey CommitteeColdKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey CommitteeHotExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey CommitteeHotKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey DRepExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey DRepKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey GenesisDelegateExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey GenesisDelegateKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey GenesisExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey GenesisKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey GenesisUTxOKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey PaymentExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey PaymentKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey StakeExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey StakeKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey StakePoolExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey StakePoolKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype VerificationKey KesKey Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
newtype VerificationKey VrfKey Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
data AsType (VerificationKey a) Source # | |||||
Defined in Cardano.Api.Key.Internal.Class |
data family SigningKey keyrole Source #
The type of cryptographic signing key, for each key role.
Instances
Show (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
Show (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods showsPrec :: Int -> SigningKey ByronKeyLegacy -> ShowS Source # show :: SigningKey ByronKeyLegacy -> String Source # showList :: [SigningKey ByronKeyLegacy] -> ShowS Source # | |||||
Show (SigningKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey CommitteeColdExtendedKey -> ShowS Source # show :: SigningKey CommitteeColdExtendedKey -> String Source # showList :: [SigningKey CommitteeColdExtendedKey] -> ShowS Source # | |||||
Show (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey CommitteeColdKey -> ShowS Source # show :: SigningKey CommitteeColdKey -> String Source # showList :: [SigningKey CommitteeColdKey] -> ShowS Source # | |||||
Show (SigningKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey CommitteeHotExtendedKey -> ShowS Source # show :: SigningKey CommitteeHotExtendedKey -> String Source # showList :: [SigningKey CommitteeHotExtendedKey] -> ShowS Source # | |||||
Show (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey CommitteeHotKey -> ShowS Source # show :: SigningKey CommitteeHotKey -> String Source # showList :: [SigningKey CommitteeHotKey] -> ShowS Source # | |||||
Show (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey DRepExtendedKey -> ShowS Source # show :: SigningKey DRepExtendedKey -> String Source # showList :: [SigningKey DRepExtendedKey] -> ShowS Source # | |||||
Show (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (SigningKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey GenesisDelegateExtendedKey -> ShowS Source # show :: SigningKey GenesisDelegateExtendedKey -> String Source # showList :: [SigningKey GenesisDelegateExtendedKey] -> ShowS Source # | |||||
Show (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey GenesisDelegateKey -> ShowS Source # show :: SigningKey GenesisDelegateKey -> String Source # showList :: [SigningKey GenesisDelegateKey] -> ShowS Source # | |||||
Show (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey GenesisExtendedKey -> ShowS Source # show :: SigningKey GenesisExtendedKey -> String Source # showList :: [SigningKey GenesisExtendedKey] -> ShowS Source # | |||||
Show (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey GenesisKey -> ShowS Source # show :: SigningKey GenesisKey -> String Source # showList :: [SigningKey GenesisKey] -> ShowS Source # | |||||
Show (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey GenesisUTxOKey -> ShowS Source # show :: SigningKey GenesisUTxOKey -> String Source # showList :: [SigningKey GenesisUTxOKey] -> ShowS Source # | |||||
Show (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey PaymentExtendedKey -> ShowS Source # show :: SigningKey PaymentExtendedKey -> String Source # showList :: [SigningKey PaymentExtendedKey] -> ShowS Source # | |||||
Show (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey PaymentKey -> ShowS Source # show :: SigningKey PaymentKey -> String Source # showList :: [SigningKey PaymentKey] -> ShowS Source # | |||||
Show (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey StakeExtendedKey -> ShowS Source # show :: SigningKey StakeExtendedKey -> String Source # showList :: [SigningKey StakeExtendedKey] -> ShowS Source # | |||||
Show (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey StakePoolExtendedKey -> ShowS Source # show :: SigningKey StakePoolExtendedKey -> String Source # showList :: [SigningKey StakePoolExtendedKey] -> ShowS Source # | |||||
Show (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods showsPrec :: Int -> SigningKey StakePoolKey -> ShowS Source # show :: SigningKey StakePoolKey -> String Source # showList :: [SigningKey StakePoolKey] -> ShowS Source # | |||||
Show (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
Show (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
HasTypeProxy a => HasTypeProxy (SigningKey a) Source # | |||||
Defined in Cardano.Api.Key.Internal.Class Associated Types
Methods proxyToAsType :: Proxy (SigningKey a) -> AsType (SigningKey a) Source # | |||||
SerialiseAsBech32 (SigningKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey CommitteeColdExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey CommitteeColdExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey CommitteeColdKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey CommitteeColdKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey CommitteeHotExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey CommitteeHotExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey CommitteeHotKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey CommitteeHotKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey DRepExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey DRepExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey DRepKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey DRepKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey PaymentExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey PaymentExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey PaymentKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey PaymentKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey StakeExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey StakeExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey StakeKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey StakeKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey StakePoolExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey StakePoolExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: SigningKey StakePoolKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey StakePoolKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods bech32PrefixFor :: SigningKey KesKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey KesKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods bech32PrefixFor :: SigningKey VrfKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (SigningKey VrfKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsCBOR (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToCBOR :: SigningKey ByronKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey ByronKey) -> ByteString -> Either DecoderError (SigningKey ByronKey) Source # | |||||
SerialiseAsCBOR (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToCBOR :: SigningKey ByronKeyLegacy -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey ByronKeyLegacy) -> ByteString -> Either DecoderError (SigningKey ByronKeyLegacy) Source # | |||||
SerialiseAsCBOR (SigningKey CommitteeColdExtendedKey) Source # | |||||
SerialiseAsCBOR (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey CommitteeHotExtendedKey) Source # | |||||
SerialiseAsCBOR (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey DRepKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey DRepKey) -> ByteString -> Either DecoderError (SigningKey DRepKey) Source # | |||||
SerialiseAsCBOR (SigningKey GenesisDelegateExtendedKey) Source # | |||||
SerialiseAsCBOR (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey GenesisKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey GenesisKey) -> ByteString -> Either DecoderError (SigningKey GenesisKey) Source # | |||||
SerialiseAsCBOR (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey GenesisUTxOKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey GenesisUTxOKey) -> ByteString -> Either DecoderError (SigningKey GenesisUTxOKey) Source # | |||||
SerialiseAsCBOR (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey PaymentKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey PaymentKey) -> ByteString -> Either DecoderError (SigningKey PaymentKey) Source # | |||||
SerialiseAsCBOR (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey StakeKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey StakeKey) -> ByteString -> Either DecoderError (SigningKey StakeKey) Source # | |||||
SerialiseAsCBOR (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: SigningKey StakePoolKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey StakePoolKey) -> ByteString -> Either DecoderError (SigningKey StakePoolKey) Source # | |||||
SerialiseAsCBOR (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToCBOR :: SigningKey KesKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey KesKey) -> ByteString -> Either DecoderError (SigningKey KesKey) Source # | |||||
SerialiseAsCBOR (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToCBOR :: SigningKey VrfKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey VrfKey) -> ByteString -> Either DecoderError (SigningKey VrfKey) Source # | |||||
SerialiseAsRawBytes (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
SerialiseAsRawBytes (SigningKey ByronKeyLegacy) Source # | |||||
SerialiseAsRawBytes (SigningKey CommitteeColdExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey CommitteeColdKey) Source # | |||||
SerialiseAsRawBytes (SigningKey CommitteeHotExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToRawBytes :: SigningKey DRepKey -> ByteString Source # deserialiseFromRawBytes :: AsType (SigningKey DRepKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey DRepKey) Source # | |||||
SerialiseAsRawBytes (SigningKey GenesisDelegateExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey GenesisDelegateKey) Source # | |||||
SerialiseAsRawBytes (SigningKey GenesisExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey PaymentExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey StakeExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey StakePoolExtendedKey) Source # | |||||
SerialiseAsRawBytes (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToRawBytes :: SigningKey KesKey -> ByteString Source # deserialiseFromRawBytes :: AsType (SigningKey KesKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey KesKey) Source # | |||||
SerialiseAsRawBytes (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToRawBytes :: SigningKey VrfKey -> ByteString Source # deserialiseFromRawBytes :: AsType (SigningKey VrfKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey VrfKey) Source # | |||||
HasTextEnvelope (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
HasTextEnvelope (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
HasTextEnvelope (SigningKey CommitteeColdExtendedKey) Source # | |||||
HasTextEnvelope (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey CommitteeHotExtendedKey) Source # | |||||
HasTextEnvelope (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods textEnvelopeType :: AsType (SigningKey DRepKey) -> TextEnvelopeType Source # textEnvelopeDefaultDescr :: SigningKey DRepKey -> TextEnvelopeDescr Source # | |||||
HasTextEnvelope (SigningKey GenesisDelegateExtendedKey) Source # | |||||
HasTextEnvelope (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey StakePoolExtendedKey) Source # | |||||
HasTextEnvelope (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
HasTextEnvelope (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods textEnvelopeType :: AsType (SigningKey KesKey) -> TextEnvelopeType Source # textEnvelopeDefaultDescr :: SigningKey KesKey -> TextEnvelopeDescr Source # | |||||
HasTextEnvelope (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods textEnvelopeType :: AsType (SigningKey VrfKey) -> TextEnvelopeType Source # textEnvelopeDefaultDescr :: SigningKey VrfKey -> TextEnvelopeDescr Source # | |||||
FromCBOR (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
FromCBOR (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods fromCBOR :: Decoder s (SigningKey ByronKeyLegacy) Source # label :: Proxy (SigningKey ByronKeyLegacy) -> Text Source # | |||||
FromCBOR (SigningKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey CommitteeColdExtendedKey) Source # label :: Proxy (SigningKey CommitteeColdExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey CommitteeColdKey) Source # label :: Proxy (SigningKey CommitteeColdKey) -> Text Source # | |||||
FromCBOR (SigningKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey CommitteeHotExtendedKey) Source # label :: Proxy (SigningKey CommitteeHotExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey CommitteeHotKey) Source # label :: Proxy (SigningKey CommitteeHotKey) -> Text Source # | |||||
FromCBOR (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey DRepExtendedKey) Source # label :: Proxy (SigningKey DRepExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (SigningKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey GenesisDelegateExtendedKey) Source # label :: Proxy (SigningKey GenesisDelegateExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey GenesisDelegateKey) Source # label :: Proxy (SigningKey GenesisDelegateKey) -> Text Source # | |||||
FromCBOR (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey GenesisExtendedKey) Source # label :: Proxy (SigningKey GenesisExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey GenesisKey) Source # label :: Proxy (SigningKey GenesisKey) -> Text Source # | |||||
FromCBOR (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey GenesisUTxOKey) Source # label :: Proxy (SigningKey GenesisUTxOKey) -> Text Source # | |||||
FromCBOR (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey PaymentExtendedKey) Source # label :: Proxy (SigningKey PaymentExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey PaymentKey) Source # label :: Proxy (SigningKey PaymentKey) -> Text Source # | |||||
FromCBOR (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey StakeExtendedKey) Source # label :: Proxy (SigningKey StakeExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey StakePoolExtendedKey) Source # label :: Proxy (SigningKey StakePoolExtendedKey) -> Text Source # | |||||
FromCBOR (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods fromCBOR :: Decoder s (SigningKey StakePoolKey) Source # label :: Proxy (SigningKey StakePoolKey) -> Text Source # | |||||
FromCBOR (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
FromCBOR (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
ToCBOR (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
ToCBOR (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods toCBOR :: SigningKey ByronKeyLegacy -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey ByronKeyLegacy) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey ByronKeyLegacy] -> Size Source # | |||||
ToCBOR (SigningKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey CommitteeColdExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey CommitteeColdExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey CommitteeColdExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey CommitteeColdKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey CommitteeColdKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey CommitteeColdKey] -> Size Source # | |||||
ToCBOR (SigningKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey CommitteeHotExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey CommitteeHotExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey CommitteeHotExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey CommitteeHotKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey CommitteeHotKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey CommitteeHotKey] -> Size Source # | |||||
ToCBOR (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey DRepExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey DRepExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey DRepExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (SigningKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey GenesisDelegateExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisDelegateExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisDelegateExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey GenesisDelegateKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisDelegateKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisDelegateKey] -> Size Source # | |||||
ToCBOR (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey GenesisExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey GenesisKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisKey] -> Size Source # | |||||
ToCBOR (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey GenesisUTxOKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisUTxOKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisUTxOKey] -> Size Source # | |||||
ToCBOR (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey PaymentExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey PaymentExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey PaymentExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey PaymentKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey PaymentKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey PaymentKey] -> Size Source # | |||||
ToCBOR (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey StakeExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakeExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakeExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey StakePoolExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakePoolExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakePoolExtendedKey] -> Size Source # | |||||
ToCBOR (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: SigningKey StakePoolKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakePoolKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakePoolKey] -> Size Source # | |||||
ToCBOR (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
ToCBOR (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
Pretty (SigningKey ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
Pretty (SigningKey ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods pretty :: SigningKey ByronKeyLegacy -> Doc ann # prettyList :: [SigningKey ByronKeyLegacy] -> Doc ann # | |||||
Pretty (SigningKey CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey CommitteeColdExtendedKey -> Doc ann # prettyList :: [SigningKey CommitteeColdExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey CommitteeColdKey -> Doc ann # prettyList :: [SigningKey CommitteeColdKey] -> Doc ann # | |||||
Pretty (SigningKey CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey CommitteeHotExtendedKey -> Doc ann # prettyList :: [SigningKey CommitteeHotExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey CommitteeHotKey -> Doc ann # prettyList :: [SigningKey CommitteeHotKey] -> Doc ann # | |||||
Pretty (SigningKey DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey DRepExtendedKey -> Doc ann # prettyList :: [SigningKey DRepExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Pretty (SigningKey GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisDelegateExtendedKey -> Doc ann # prettyList :: [SigningKey GenesisDelegateExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisDelegateKey -> Doc ann # prettyList :: [SigningKey GenesisDelegateKey] -> Doc ann # | |||||
Pretty (SigningKey GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisExtendedKey -> Doc ann # prettyList :: [SigningKey GenesisExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisKey -> Doc ann # prettyList :: [SigningKey GenesisKey] -> Doc ann # | |||||
Pretty (SigningKey GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisUTxOKey -> Doc ann # prettyList :: [SigningKey GenesisUTxOKey] -> Doc ann # | |||||
Pretty (SigningKey PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey PaymentExtendedKey -> Doc ann # prettyList :: [SigningKey PaymentExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey PaymentKey -> Doc ann # prettyList :: [SigningKey PaymentKey] -> Doc ann # | |||||
Pretty (SigningKey StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey StakeExtendedKey -> Doc ann # prettyList :: [SigningKey StakeExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Pretty (SigningKey StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey StakePoolExtendedKey -> Doc ann # prettyList :: [SigningKey StakePoolExtendedKey] -> Doc ann # | |||||
Pretty (SigningKey StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey StakePoolKey -> Doc ann # prettyList :: [SigningKey StakePoolKey] -> Doc ann # | |||||
Pretty (SigningKey KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
Pretty (SigningKey VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
newtype SigningKey ByronKey Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
newtype SigningKey ByronKeyLegacy Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
newtype SigningKey CommitteeColdExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey CommitteeColdKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey CommitteeHotExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey CommitteeHotKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey DRepExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey DRepKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey GenesisDelegateExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey GenesisDelegateKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey GenesisExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey GenesisKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey GenesisUTxOKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey PaymentExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey PaymentKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey StakeExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey StakeKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey StakePoolExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey StakePoolKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype SigningKey KesKey Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
newtype SigningKey VrfKey Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
data AsType (SigningKey a) Source # | |||||
Defined in Cardano.Api.Key.Internal.Class |
data SomeByronSigningKey Source #
Constructors
AByronSigningKeyLegacy (SigningKey ByronKeyLegacy) | |
AByronSigningKey (SigningKey ByronKey) |
Byron-era payment keys. Used for Byron addresses and witnessing transactions that spend from these addresses.
These use Ed25519 but with a 32byte "chaincode" used in HD derivation.
The inclusion of the chaincode is a design mistake but one that cannot
be corrected for the Byron era. The Shelley era PaymentKey
s do not include
a chaincode. It is safe to use a zero or random chaincode for new Byron keys.
This is a type level tag, used with other interfaces like Key
.
Instances
HasTypeProxy ByronKey Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Associated Types
| |||||||||
Key ByronKey Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Associated Types
Methods getVerificationKey :: SigningKey ByronKey -> VerificationKey ByronKey Source # deterministicSigningKey :: AsType ByronKey -> Seed -> SigningKey ByronKey Source # deterministicSigningKeySeedSize :: AsType ByronKey -> Word Source # verificationKeyHash :: VerificationKey ByronKey -> Hash ByronKey Source # | |||||||||
CastVerificationKeyRole ByronKey PaymentExtendedKey Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
CastVerificationKeyRole ByronKey PaymentKey Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods castVerificationKey :: VerificationKey ByronKey -> VerificationKey PaymentKey Source # | |||||||||
CastVerificationKeyRole ByronKeyLegacy ByronKey Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
Show (Hash ByronKey) Source # | |||||||||
Show (SigningKey ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
Show (VerificationKey ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
SerialiseAsCBOR (Hash ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToCBOR :: Hash ByronKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash ByronKey) -> ByteString -> Either DecoderError (Hash ByronKey) Source # | |||||||||
SerialiseAsCBOR (SigningKey ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToCBOR :: SigningKey ByronKey -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey ByronKey) -> ByteString -> Either DecoderError (SigningKey ByronKey) Source # | |||||||||
SerialiseAsCBOR (VerificationKey ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToCBOR :: VerificationKey ByronKey -> ByteString Source # deserialiseFromCBOR :: AsType (VerificationKey ByronKey) -> ByteString -> Either DecoderError (VerificationKey ByronKey) Source # | |||||||||
SerialiseAsRawBytes (Hash ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToRawBytes :: Hash ByronKey -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash ByronKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash ByronKey) Source # | |||||||||
SerialiseAsRawBytes (SigningKey ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
SerialiseAsRawBytes (VerificationKey ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
HasTextEnvelope (SigningKey ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
HasTextEnvelope (VerificationKey ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
FromCBOR (Hash ByronKey) Source # | |||||||||
FromCBOR (SigningKey ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
FromCBOR (VerificationKey ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
ToCBOR (Hash ByronKey) Source # | |||||||||
ToCBOR (SigningKey ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
ToCBOR (VerificationKey ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
Eq (Hash ByronKey) Source # | |||||||||
Eq (VerificationKey ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods (==) :: VerificationKey ByronKey -> VerificationKey ByronKey -> Bool Source # (/=) :: VerificationKey ByronKey -> VerificationKey ByronKey -> Bool Source # | |||||||||
Ord (Hash ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods compare :: Hash ByronKey -> Hash ByronKey -> Ordering Source # (<) :: Hash ByronKey -> Hash ByronKey -> Bool Source # (<=) :: Hash ByronKey -> Hash ByronKey -> Bool Source # (>) :: Hash ByronKey -> Hash ByronKey -> Bool Source # (>=) :: Hash ByronKey -> Hash ByronKey -> Bool Source # max :: Hash ByronKey -> Hash ByronKey -> Hash ByronKey Source # min :: Hash ByronKey -> Hash ByronKey -> Hash ByronKey Source # | |||||||||
Pretty (Hash ByronKey) Source # | |||||||||
Pretty (SigningKey ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
Pretty (VerificationKey ByronKey) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods pretty :: VerificationKey ByronKey -> Doc ann # prettyList :: [VerificationKey ByronKey] -> Doc ann # | |||||||||
data AsType ByronKey Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
newtype Hash ByronKey Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
newtype SigningKey ByronKey Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
newtype VerificationKey ByronKey Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key |
data ByronKeyLegacy Source #
Instances
HasTypeProxy ByronKeyLegacy Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Associated Types
Methods proxyToAsType :: Proxy ByronKeyLegacy -> AsType ByronKeyLegacy Source # | |||||||||
Key ByronKeyLegacy Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Associated Types
Methods getVerificationKey :: SigningKey ByronKeyLegacy -> VerificationKey ByronKeyLegacy Source # deterministicSigningKey :: AsType ByronKeyLegacy -> Seed -> SigningKey ByronKeyLegacy Source # deterministicSigningKeySeedSize :: AsType ByronKeyLegacy -> Word Source # verificationKeyHash :: VerificationKey ByronKeyLegacy -> Hash ByronKeyLegacy Source # | |||||||||
CastVerificationKeyRole ByronKeyLegacy ByronKey Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
Show (Hash ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
Show (SigningKey ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods showsPrec :: Int -> SigningKey ByronKeyLegacy -> ShowS Source # show :: SigningKey ByronKeyLegacy -> String Source # showList :: [SigningKey ByronKeyLegacy] -> ShowS Source # | |||||||||
Show (VerificationKey ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods showsPrec :: Int -> VerificationKey ByronKeyLegacy -> ShowS Source # show :: VerificationKey ByronKeyLegacy -> String Source # showList :: [VerificationKey ByronKeyLegacy] -> ShowS Source # | |||||||||
SerialiseAsCBOR (Hash ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToCBOR :: Hash ByronKeyLegacy -> ByteString Source # deserialiseFromCBOR :: AsType (Hash ByronKeyLegacy) -> ByteString -> Either DecoderError (Hash ByronKeyLegacy) Source # | |||||||||
SerialiseAsCBOR (SigningKey ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToCBOR :: SigningKey ByronKeyLegacy -> ByteString Source # deserialiseFromCBOR :: AsType (SigningKey ByronKeyLegacy) -> ByteString -> Either DecoderError (SigningKey ByronKeyLegacy) Source # | |||||||||
SerialiseAsCBOR (VerificationKey ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
SerialiseAsRawBytes (Hash ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
SerialiseAsRawBytes (SigningKey ByronKeyLegacy) Source # | |||||||||
SerialiseAsRawBytes (VerificationKey ByronKeyLegacy) Source # | |||||||||
HasTextEnvelope (SigningKey ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
HasTextEnvelope (VerificationKey ByronKeyLegacy) Source # | |||||||||
FromCBOR (Hash ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
FromCBOR (SigningKey ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods fromCBOR :: Decoder s (SigningKey ByronKeyLegacy) Source # label :: Proxy (SigningKey ByronKeyLegacy) -> Text Source # | |||||||||
FromCBOR (VerificationKey ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods fromCBOR :: Decoder s (VerificationKey ByronKeyLegacy) Source # label :: Proxy (VerificationKey ByronKeyLegacy) -> Text Source # | |||||||||
ToCBOR (Hash ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
ToCBOR (SigningKey ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods toCBOR :: SigningKey ByronKeyLegacy -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey ByronKeyLegacy) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey ByronKeyLegacy] -> Size Source # | |||||||||
ToCBOR (VerificationKey ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods toCBOR :: VerificationKey ByronKeyLegacy -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey ByronKeyLegacy) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey ByronKeyLegacy] -> Size Source # | |||||||||
Eq (Hash ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods (==) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (/=) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # | |||||||||
Eq (VerificationKey ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods (==) :: VerificationKey ByronKeyLegacy -> VerificationKey ByronKeyLegacy -> Bool Source # (/=) :: VerificationKey ByronKeyLegacy -> VerificationKey ByronKeyLegacy -> Bool Source # | |||||||||
Ord (Hash ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods compare :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Ordering Source # (<) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (<=) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (>) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (>=) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # max :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Hash ByronKeyLegacy Source # min :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Hash ByronKeyLegacy Source # | |||||||||
Pretty (Hash ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
Pretty (SigningKey ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods pretty :: SigningKey ByronKeyLegacy -> Doc ann # prettyList :: [SigningKey ByronKeyLegacy] -> Doc ann # | |||||||||
Pretty (VerificationKey ByronKeyLegacy) Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key Methods pretty :: VerificationKey ByronKeyLegacy -> Doc ann # prettyList :: [VerificationKey ByronKeyLegacy] -> Doc ann # | |||||||||
data AsType ByronKeyLegacy Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
newtype Hash ByronKeyLegacy Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
newtype SigningKey ByronKeyLegacy Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key | |||||||||
newtype VerificationKey ByronKeyLegacy Source # | |||||||||
Defined in Cardano.Api.Byron.Internal.Key |
Hashes
data family Hash keyrole Source #
Instances
FromJSON (Hash BlockHeader) Source # | |||||
Defined in Cardano.Api.Block Methods parseJSON :: Value -> Parser (Hash BlockHeader) # parseJSONList :: Value -> Parser [Hash BlockHeader] # omittedField :: Maybe (Hash BlockHeader) # | |||||
FromJSON (Hash DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromJSON (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods parseJSON :: Value -> Parser (Hash GenesisKey) # parseJSONList :: Value -> Parser [Hash GenesisKey] # omittedField :: Maybe (Hash GenesisKey) # | |||||
FromJSON (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods parseJSON :: Value -> Parser (Hash PaymentKey) # parseJSONList :: Value -> Parser [Hash PaymentKey] # omittedField :: Maybe (Hash PaymentKey) # | |||||
FromJSON (Hash StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods parseJSON :: Value -> Parser (Hash StakePoolExtendedKey) # parseJSONList :: Value -> Parser [Hash StakePoolExtendedKey] # | |||||
FromJSON (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods parseJSON :: Value -> Parser (Hash StakePoolKey) # parseJSONList :: Value -> Parser [Hash StakePoolKey] # omittedField :: Maybe (Hash StakePoolKey) # | |||||
FromJSON (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Plutus.Internal.ScriptData Methods parseJSON :: Value -> Parser (Hash ScriptData) # parseJSONList :: Value -> Parser [Hash ScriptData] # omittedField :: Maybe (Hash ScriptData) # | |||||
FromJSONKey (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Plutus.Internal.ScriptData Methods fromJSONKey :: FromJSONKeyFunction (Hash ScriptData) fromJSONKeyList :: FromJSONKeyFunction [Hash ScriptData] | |||||
ToJSON (Hash BlockHeader) Source # | |||||
Defined in Cardano.Api.Block Methods toJSON :: Hash BlockHeader -> Value # toEncoding :: Hash BlockHeader -> Encoding # toJSONList :: [Hash BlockHeader] -> Value # toEncodingList :: [Hash BlockHeader] -> Encoding # omitField :: Hash BlockHeader -> Bool # | |||||
ToJSON (Hash DRepKey) Source # | |||||
ToJSON (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toJSON :: Hash GenesisKey -> Value # toEncoding :: Hash GenesisKey -> Encoding # toJSONList :: [Hash GenesisKey] -> Value # toEncodingList :: [Hash GenesisKey] -> Encoding # omitField :: Hash GenesisKey -> Bool # | |||||
ToJSON (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toJSON :: Hash PaymentKey -> Value # toEncoding :: Hash PaymentKey -> Encoding # toJSONList :: [Hash PaymentKey] -> Value # toEncodingList :: [Hash PaymentKey] -> Encoding # omitField :: Hash PaymentKey -> Bool # | |||||
ToJSON (Hash StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toJSON :: Hash StakePoolExtendedKey -> Value # toEncoding :: Hash StakePoolExtendedKey -> Encoding # toJSONList :: [Hash StakePoolExtendedKey] -> Value # toEncodingList :: [Hash StakePoolExtendedKey] -> Encoding # omitField :: Hash StakePoolExtendedKey -> Bool # | |||||
ToJSON (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toJSON :: Hash StakePoolKey -> Value # toEncoding :: Hash StakePoolKey -> Encoding # toJSONList :: [Hash StakePoolKey] -> Value # toEncodingList :: [Hash StakePoolKey] -> Encoding # omitField :: Hash StakePoolKey -> Bool # | |||||
ToJSON (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Plutus.Internal.ScriptData Methods toJSON :: Hash ScriptData -> Value # toEncoding :: Hash ScriptData -> Encoding # toJSONList :: [Hash ScriptData] -> Value # toEncodingList :: [Hash ScriptData] -> Encoding # omitField :: Hash ScriptData -> Bool # | |||||
ToJSONKey (Hash DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToJSONKey (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toJSONKey :: ToJSONKeyFunction (Hash GenesisKey) toJSONKeyList :: ToJSONKeyFunction [Hash GenesisKey] | |||||
ToJSONKey (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toJSONKey :: ToJSONKeyFunction (Hash PaymentKey) toJSONKeyList :: ToJSONKeyFunction [Hash PaymentKey] | |||||
ToJSONKey (Hash StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toJSONKey :: ToJSONKeyFunction (Hash StakePoolExtendedKey) toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolExtendedKey] | |||||
ToJSONKey (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toJSONKey :: ToJSONKeyFunction (Hash StakePoolKey) toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolKey] | |||||
ToJSONKey (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Plutus.Internal.ScriptData Methods toJSONKey :: ToJSONKeyFunction (Hash ScriptData) toJSONKeyList :: ToJSONKeyFunction [Hash ScriptData] | |||||
Show (Hash BlockHeader) Source # | |||||
Defined in Cardano.Api.Block | |||||
Show (Hash ByronKey) Source # | |||||
Show (Hash ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
Show (Hash DRepMetadata) Source # | |||||
Show (Hash StakePoolMetadata) Source # | |||||
Show (Hash GovernancePoll) Source # | |||||
Defined in Cardano.Api.Governance.Internal.Poll | |||||
Show (Hash CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (Hash CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (Hash DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (Hash DRepKey) Source # | |||||
Show (Hash GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (Hash GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (Hash GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (Hash GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (Hash PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (Hash StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (Hash StakeKey) Source # | |||||
Show (Hash StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Show (Hash KesKey) Source # | |||||
Show (Hash VrfKey) Source # | |||||
Show (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Plutus.Internal.ScriptData | |||||
HasTypeProxy a => HasTypeProxy (Hash a) Source # | |||||
Defined in Cardano.Api.Hash Associated Types
| |||||
SerialiseAsBech32 (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: Hash CommitteeColdKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (Hash CommitteeColdKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: Hash CommitteeHotKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (Hash CommitteeHotKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (Hash DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsBech32 (Hash StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: Hash StakePoolExtendedKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (Hash StakePoolExtendedKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsBech32 (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods bech32PrefixFor :: Hash StakePoolKey -> HumanReadablePart Source # bech32PrefixesPermitted :: AsType (Hash StakePoolKey) -> [HumanReadablePart] Source # | |||||
SerialiseAsCBOR (Hash ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToCBOR :: Hash ByronKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash ByronKey) -> ByteString -> Either DecoderError (Hash ByronKey) Source # | |||||
SerialiseAsCBOR (Hash ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToCBOR :: Hash ByronKeyLegacy -> ByteString Source # deserialiseFromCBOR :: AsType (Hash ByronKeyLegacy) -> ByteString -> Either DecoderError (Hash ByronKeyLegacy) Source # | |||||
SerialiseAsCBOR (Hash CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: Hash CommitteeColdKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash CommitteeColdKey) -> ByteString -> Either DecoderError (Hash CommitteeColdKey) Source # | |||||
SerialiseAsCBOR (Hash CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: Hash CommitteeHotKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash CommitteeHotKey) -> ByteString -> Either DecoderError (Hash CommitteeHotKey) Source # | |||||
SerialiseAsCBOR (Hash DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: Hash DRepExtendedKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash DRepExtendedKey) -> ByteString -> Either DecoderError (Hash DRepExtendedKey) Source # | |||||
SerialiseAsCBOR (Hash DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: Hash DRepKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash DRepKey) -> ByteString -> Either DecoderError (Hash DRepKey) Source # | |||||
SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsCBOR (Hash GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: Hash GenesisDelegateKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash GenesisDelegateKey) -> ByteString -> Either DecoderError (Hash GenesisDelegateKey) Source # | |||||
SerialiseAsCBOR (Hash GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: Hash GenesisExtendedKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash GenesisExtendedKey) -> ByteString -> Either DecoderError (Hash GenesisExtendedKey) Source # | |||||
SerialiseAsCBOR (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: Hash GenesisKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash GenesisKey) -> ByteString -> Either DecoderError (Hash GenesisKey) Source # | |||||
SerialiseAsCBOR (Hash GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: Hash GenesisUTxOKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash GenesisUTxOKey) -> ByteString -> Either DecoderError (Hash GenesisUTxOKey) Source # | |||||
SerialiseAsCBOR (Hash PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: Hash PaymentExtendedKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash PaymentExtendedKey) -> ByteString -> Either DecoderError (Hash PaymentExtendedKey) Source # | |||||
SerialiseAsCBOR (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: Hash PaymentKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash PaymentKey) -> ByteString -> Either DecoderError (Hash PaymentKey) Source # | |||||
SerialiseAsCBOR (Hash StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: Hash StakeExtendedKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash StakeExtendedKey) -> ByteString -> Either DecoderError (Hash StakeExtendedKey) Source # | |||||
SerialiseAsCBOR (Hash StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: Hash StakeKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash StakeKey) -> ByteString -> Either DecoderError (Hash StakeKey) Source # | |||||
SerialiseAsCBOR (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToCBOR :: Hash StakePoolKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash StakePoolKey) -> ByteString -> Either DecoderError (Hash StakePoolKey) Source # | |||||
SerialiseAsCBOR (Hash KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToCBOR :: Hash KesKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash KesKey) -> ByteString -> Either DecoderError (Hash KesKey) Source # | |||||
SerialiseAsCBOR (Hash VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToCBOR :: Hash VrfKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash VrfKey) -> ByteString -> Either DecoderError (Hash VrfKey) Source # | |||||
SerialiseAsRawBytes (Hash BlockHeader) Source # | |||||
Defined in Cardano.Api.Block Methods serialiseToRawBytes :: Hash BlockHeader -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash BlockHeader) -> ByteString -> Either SerialiseAsRawBytesError (Hash BlockHeader) Source # | |||||
SerialiseAsRawBytes (Hash ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods serialiseToRawBytes :: Hash ByronKey -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash ByronKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash ByronKey) Source # | |||||
SerialiseAsRawBytes (Hash ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
SerialiseAsRawBytes (Hash DRepMetadata) Source # | |||||
Defined in Cardano.Api.Certificate.Internal.DRepMetadata Methods serialiseToRawBytes :: Hash DRepMetadata -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash DRepMetadata) -> ByteString -> Either SerialiseAsRawBytesError (Hash DRepMetadata) Source # | |||||
SerialiseAsRawBytes (Hash StakePoolMetadata) Source # | |||||
SerialiseAsRawBytes (Hash GovernancePoll) Source # | |||||
Defined in Cardano.Api.Governance.Internal.Poll | |||||
SerialiseAsRawBytes (Hash CommitteeColdExtendedKey) Source # | |||||
SerialiseAsRawBytes (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (Hash CommitteeHotExtendedKey) Source # | |||||
SerialiseAsRawBytes (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (Hash DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (Hash DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToRawBytes :: Hash DRepKey -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash DRepKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash DRepKey) Source # | |||||
SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) Source # | |||||
SerialiseAsRawBytes (Hash GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (Hash GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToRawBytes :: Hash GenesisKey -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash GenesisKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash GenesisKey) Source # | |||||
SerialiseAsRawBytes (Hash GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (Hash PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToRawBytes :: Hash PaymentKey -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash PaymentKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash PaymentKey) Source # | |||||
SerialiseAsRawBytes (Hash StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (Hash StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToRawBytes :: Hash StakeKey -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash StakeKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash StakeKey) Source # | |||||
SerialiseAsRawBytes (Hash StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
SerialiseAsRawBytes (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods serialiseToRawBytes :: Hash StakePoolKey -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash StakePoolKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash StakePoolKey) Source # | |||||
SerialiseAsRawBytes (Hash KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToRawBytes :: Hash KesKey -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash KesKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash KesKey) Source # | |||||
SerialiseAsRawBytes (Hash VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods serialiseToRawBytes :: Hash VrfKey -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash VrfKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash VrfKey) Source # | |||||
SerialiseAsRawBytes (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Plutus.Internal.ScriptData Methods serialiseToRawBytes :: Hash ScriptData -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash ScriptData) -> ByteString -> Either SerialiseAsRawBytesError (Hash ScriptData) Source # | |||||
FromCBOR (Hash ByronKey) Source # | |||||
FromCBOR (Hash ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
FromCBOR (Hash CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (Hash CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (Hash DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (Hash DRepKey) Source # | |||||
FromCBOR (Hash GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (Hash GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (Hash GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (Hash GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (Hash PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (Hash StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (Hash StakeKey) Source # | |||||
FromCBOR (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
FromCBOR (Hash KesKey) Source # | |||||
FromCBOR (Hash VrfKey) Source # | |||||
ToCBOR (Hash ByronKey) Source # | |||||
ToCBOR (Hash ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
ToCBOR (Hash CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: Hash CommitteeColdExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash CommitteeColdExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash CommitteeColdExtendedKey] -> Size Source # | |||||
ToCBOR (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (Hash CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: Hash CommitteeHotExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash CommitteeHotExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash CommitteeHotExtendedKey] -> Size Source # | |||||
ToCBOR (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (Hash DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (Hash DRepKey) Source # | |||||
ToCBOR (Hash GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods toCBOR :: Hash GenesisDelegateExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisDelegateExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisDelegateExtendedKey] -> Size Source # | |||||
ToCBOR (Hash GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (Hash GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (Hash GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (Hash PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (Hash StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (Hash StakeKey) Source # | |||||
ToCBOR (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
ToCBOR (Hash KesKey) Source # | |||||
ToCBOR (Hash VrfKey) Source # | |||||
Eq (Hash BlockHeader) Source # | |||||
Defined in Cardano.Api.Block Methods (==) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # (/=) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # | |||||
Eq (Hash ByronKey) Source # | |||||
Eq (Hash ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods (==) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (/=) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # | |||||
Eq (Hash DRepMetadata) Source # | |||||
Defined in Cardano.Api.Certificate.Internal.DRepMetadata Methods (==) :: Hash DRepMetadata -> Hash DRepMetadata -> Bool Source # (/=) :: Hash DRepMetadata -> Hash DRepMetadata -> Bool Source # | |||||
Eq (Hash StakePoolMetadata) Source # | |||||
Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata Methods (==) :: Hash StakePoolMetadata -> Hash StakePoolMetadata -> Bool Source # (/=) :: Hash StakePoolMetadata -> Hash StakePoolMetadata -> Bool Source # | |||||
Eq (Hash GovernancePoll) Source # | |||||
Defined in Cardano.Api.Governance.Internal.Poll Methods (==) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # (/=) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # | |||||
Eq (Hash CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # (/=) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # | |||||
Eq (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # (/=) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # | |||||
Eq (Hash CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # (/=) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # | |||||
Eq (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # (/=) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # | |||||
Eq (Hash DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source # (/=) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source # | |||||
Eq (Hash DRepKey) Source # | |||||
Eq (Hash GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # (/=) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # | |||||
Eq (Hash GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # (/=) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # | |||||
Eq (Hash GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # (/=) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # | |||||
Eq (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # (/=) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # | |||||
Eq (Hash GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # (/=) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # | |||||
Eq (Hash PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # (/=) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # | |||||
Eq (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # (/=) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # | |||||
Eq (Hash StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # (/=) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # | |||||
Eq (Hash StakeKey) Source # | |||||
Eq (Hash StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey -> Bool Source # (/=) :: Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey -> Bool Source # | |||||
Eq (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods (==) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # (/=) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # | |||||
Eq (Hash KesKey) Source # | |||||
Eq (Hash VrfKey) Source # | |||||
Eq (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Plutus.Internal.ScriptData Methods (==) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (/=) :: Hash ScriptData -> Hash ScriptData -> Bool Source # | |||||
Ord (Hash BlockHeader) Source # | |||||
Defined in Cardano.Api.Block Methods compare :: Hash BlockHeader -> Hash BlockHeader -> Ordering Source # (<) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # (<=) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # (>) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # (>=) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # max :: Hash BlockHeader -> Hash BlockHeader -> Hash BlockHeader Source # min :: Hash BlockHeader -> Hash BlockHeader -> Hash BlockHeader Source # | |||||
Ord (Hash ByronKey) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods compare :: Hash ByronKey -> Hash ByronKey -> Ordering Source # (<) :: Hash ByronKey -> Hash ByronKey -> Bool Source # (<=) :: Hash ByronKey -> Hash ByronKey -> Bool Source # (>) :: Hash ByronKey -> Hash ByronKey -> Bool Source # (>=) :: Hash ByronKey -> Hash ByronKey -> Bool Source # max :: Hash ByronKey -> Hash ByronKey -> Hash ByronKey Source # min :: Hash ByronKey -> Hash ByronKey -> Hash ByronKey Source # | |||||
Ord (Hash ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key Methods compare :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Ordering Source # (<) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (<=) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (>) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (>=) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # max :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Hash ByronKeyLegacy Source # min :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Hash ByronKeyLegacy Source # | |||||
Ord (Hash GovernancePoll) Source # | |||||
Defined in Cardano.Api.Governance.Internal.Poll Methods compare :: Hash GovernancePoll -> Hash GovernancePoll -> Ordering Source # (<) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # (<=) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # (>) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # (>=) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # max :: Hash GovernancePoll -> Hash GovernancePoll -> Hash GovernancePoll Source # min :: Hash GovernancePoll -> Hash GovernancePoll -> Hash GovernancePoll Source # | |||||
Ord (Hash CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods compare :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Ordering Source # (<) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # (<=) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # (>) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # (>=) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # max :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey Source # min :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey Source # | |||||
Ord (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods compare :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Ordering Source # (<) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # (<=) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # (>) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # (>=) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # max :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Hash CommitteeColdKey Source # min :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Hash CommitteeColdKey Source # | |||||
Ord (Hash CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods compare :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Ordering Source # (<) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # (<=) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # (>) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # (>=) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # max :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey Source # min :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey Source # | |||||
Ord (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods compare :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Ordering Source # (<) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # (<=) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # (>) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # (>=) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # max :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Hash CommitteeHotKey Source # min :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Hash CommitteeHotKey Source # | |||||
Ord (Hash DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal 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 DRepKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods compare :: Hash DRepKey -> Hash DRepKey -> Ordering Source # (<) :: Hash DRepKey -> Hash DRepKey -> Bool Source # (<=) :: Hash DRepKey -> Hash DRepKey -> Bool Source # (>) :: Hash DRepKey -> Hash DRepKey -> Bool Source # (>=) :: Hash DRepKey -> Hash DRepKey -> Bool Source # max :: Hash DRepKey -> Hash DRepKey -> Hash DRepKey Source # min :: Hash DRepKey -> Hash DRepKey -> Hash DRepKey Source # | |||||
Ord (Hash GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods compare :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Ordering Source # (<) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # (<=) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # (>) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # (>=) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # max :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey Source # min :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey Source # | |||||
Ord (Hash GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods compare :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Ordering Source # (<) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # (<=) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # (>) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # (>=) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # max :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Hash GenesisDelegateKey Source # min :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Hash GenesisDelegateKey Source # | |||||
Ord (Hash GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods compare :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Ordering Source # (<) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # (<=) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # (>) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # (>=) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # max :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Hash GenesisExtendedKey Source # min :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Hash GenesisExtendedKey Source # | |||||
Ord (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods compare :: Hash GenesisKey -> Hash GenesisKey -> Ordering Source # (<) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # (<=) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # (>) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # (>=) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # max :: Hash GenesisKey -> Hash GenesisKey -> Hash GenesisKey Source # min :: Hash GenesisKey -> Hash GenesisKey -> Hash GenesisKey Source # | |||||
Ord (Hash GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods compare :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Ordering Source # (<) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # (<=) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # (>) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # (>=) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # max :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Hash GenesisUTxOKey Source # min :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Hash GenesisUTxOKey Source # | |||||
Ord (Hash PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods compare :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Ordering Source # (<) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # (<=) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # (>) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # (>=) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # max :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Hash PaymentExtendedKey Source # min :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Hash PaymentExtendedKey Source # | |||||
Ord (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods compare :: Hash PaymentKey -> Hash PaymentKey -> Ordering Source # (<) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # (<=) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # (>) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # (>=) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # max :: Hash PaymentKey -> Hash PaymentKey -> Hash PaymentKey Source # min :: Hash PaymentKey -> Hash PaymentKey -> Hash PaymentKey Source # | |||||
Ord (Hash StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods compare :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Ordering Source # (<) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # (<=) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # (>) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # (>=) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # max :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Hash StakeExtendedKey Source # min :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Hash StakeExtendedKey Source # | |||||
Ord (Hash StakeKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods compare :: Hash StakeKey -> Hash StakeKey -> Ordering Source # (<) :: Hash StakeKey -> Hash StakeKey -> Bool Source # (<=) :: Hash StakeKey -> Hash StakeKey -> Bool Source # (>) :: Hash StakeKey -> Hash StakeKey -> Bool Source # (>=) :: Hash StakeKey -> Hash StakeKey -> Bool Source # max :: Hash StakeKey -> Hash StakeKey -> Hash StakeKey Source # min :: Hash StakeKey -> Hash StakeKey -> Hash StakeKey Source # | |||||
Ord (Hash StakePoolExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods compare :: Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey -> Ordering Source # (<) :: Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey -> Bool Source # (<=) :: Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey -> Bool Source # (>) :: Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey -> Bool Source # (>=) :: Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey -> Bool Source # max :: Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey Source # min :: Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey Source # | |||||
Ord (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods compare :: Hash StakePoolKey -> Hash StakePoolKey -> Ordering Source # (<) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # (<=) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # (>) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # (>=) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # max :: Hash StakePoolKey -> Hash StakePoolKey -> Hash StakePoolKey Source # min :: Hash StakePoolKey -> Hash StakePoolKey -> Hash StakePoolKey Source # | |||||
Ord (Hash KesKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods compare :: Hash KesKey -> Hash KesKey -> Ordering Source # (<) :: Hash KesKey -> Hash KesKey -> Bool Source # (<=) :: Hash KesKey -> Hash KesKey -> Bool Source # (>) :: Hash KesKey -> Hash KesKey -> Bool Source # (>=) :: Hash KesKey -> Hash KesKey -> Bool Source # | |||||
Ord (Hash VrfKey) Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos Methods compare :: Hash VrfKey -> Hash VrfKey -> Ordering Source # (<) :: Hash VrfKey -> Hash VrfKey -> Bool Source # (<=) :: Hash VrfKey -> Hash VrfKey -> Bool Source # (>) :: Hash VrfKey -> Hash VrfKey -> Bool Source # (>=) :: Hash VrfKey -> Hash VrfKey -> Bool Source # | |||||
Ord (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Plutus.Internal.ScriptData Methods compare :: Hash ScriptData -> Hash ScriptData -> Ordering Source # (<) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (<=) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (>) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (>=) :: Hash ScriptData -> Hash ScriptData -> Bool Source # max :: Hash ScriptData -> Hash ScriptData -> Hash ScriptData Source # min :: Hash ScriptData -> Hash ScriptData -> Hash ScriptData Source # | |||||
Pretty (Hash ByronKey) Source # | |||||
Pretty (Hash ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
Pretty (Hash GovernancePoll) Source # | |||||
Defined in Cardano.Api.Governance.Internal.Poll | |||||
Pretty (Hash CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: Hash CommitteeColdExtendedKey -> Doc ann # prettyList :: [Hash CommitteeColdExtendedKey] -> Doc ann # | |||||
Pretty (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: Hash CommitteeColdKey -> Doc ann # prettyList :: [Hash CommitteeColdKey] -> Doc ann # | |||||
Pretty (Hash CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: Hash CommitteeHotExtendedKey -> Doc ann # prettyList :: [Hash CommitteeHotExtendedKey] -> Doc ann # | |||||
Pretty (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Pretty (Hash DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Pretty (Hash DRepKey) Source # | |||||
Pretty (Hash GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: Hash GenesisDelegateExtendedKey -> Doc ann # prettyList :: [Hash GenesisDelegateExtendedKey] -> Doc ann # | |||||
Pretty (Hash GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: Hash GenesisDelegateKey -> Doc ann # prettyList :: [Hash GenesisDelegateKey] -> Doc ann # | |||||
Pretty (Hash GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: Hash GenesisExtendedKey -> Doc ann # prettyList :: [Hash GenesisExtendedKey] -> Doc ann # | |||||
Pretty (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Pretty (Hash GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Pretty (Hash PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: Hash PaymentExtendedKey -> Doc ann # prettyList :: [Hash PaymentExtendedKey] -> Doc ann # | |||||
Pretty (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Pretty (Hash StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Key.Internal Methods pretty :: Hash StakeExtendedKey -> Doc ann # prettyList :: [Hash StakeExtendedKey] -> Doc ann # | |||||
Pretty (Hash StakeKey) Source # | |||||
Pretty (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
Pretty (Hash KesKey) Source # | |||||
Pretty (Hash VrfKey) Source # | |||||
Pretty (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Plutus.Internal.ScriptData | |||||
newtype Hash BlockHeader Source # | For now at least we use a fixed concrete hash type for all modes and era. The different eras do use different types, but it's all the same underlying representation. | ||||
Defined in Cardano.Api.Block | |||||
newtype Hash ByronKey Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
newtype Hash ByronKeyLegacy Source # | |||||
Defined in Cardano.Api.Byron.Internal.Key | |||||
newtype Hash DRepMetadata Source # | |||||
newtype Hash StakePoolMetadata Source # | |||||
newtype Hash GovernancePoll Source # | |||||
Defined in Cardano.Api.Governance.Internal.Poll | |||||
newtype Hash CommitteeColdExtendedKey Source # | |||||
newtype Hash CommitteeColdKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype Hash CommitteeHotExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype Hash CommitteeHotKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype Hash DRepExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype Hash DRepKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype Hash GenesisDelegateExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype Hash GenesisDelegateKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype Hash GenesisExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype Hash GenesisKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype Hash GenesisUTxOKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype Hash PaymentExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype Hash PaymentKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype Hash StakeExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype Hash StakeKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype Hash StakePoolExtendedKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype Hash StakePoolKey Source # | |||||
Defined in Cardano.Api.Key.Internal | |||||
newtype Hash KesKey Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
newtype Hash VrfKey Source # | |||||
Defined in Cardano.Api.Key.Internal.Praos | |||||
newtype Hash ScriptData Source # | |||||
Defined in Cardano.Api.Plutus.Internal.ScriptData | |||||
data AsType (Hash a) Source # | |||||
Defined in Cardano.Api.Hash |
Network identifier
Signing transactions
Incremental signing and separate witnesses
data KeyWitness era where Source #
Constructors
ByronKeyWitness :: TxInWitness -> KeyWitness ByronEra |
Instances
Show (KeyWitness era) Source # | |||||
Defined in Cardano.Api.Tx.Internal.Sign | |||||
HasTypeProxy era => HasTypeProxy (KeyWitness era) Source # | |||||
Defined in Cardano.Api.Tx.Internal.Sign Associated Types
Methods proxyToAsType :: Proxy (KeyWitness era) -> AsType (KeyWitness era) Source # | |||||
IsCardanoEra era => SerialiseAsCBOR (KeyWitness era) Source # | |||||
Defined in Cardano.Api.Tx.Internal.Sign Methods serialiseToCBOR :: KeyWitness era -> ByteString Source # deserialiseFromCBOR :: AsType (KeyWitness era) -> ByteString -> Either DecoderError (KeyWitness era) Source # | |||||
IsCardanoEra era => HasTextEnvelope (KeyWitness era) Source # | |||||
Defined in Cardano.Api.Tx.Internal.Sign Methods textEnvelopeType :: AsType (KeyWitness era) -> TextEnvelopeType Source # textEnvelopeDefaultDescr :: KeyWitness era -> TextEnvelopeDescr Source # | |||||
Eq (KeyWitness era) Source # | |||||
Defined in Cardano.Api.Tx.Internal.Sign Methods (==) :: KeyWitness era -> KeyWitness era -> Bool Source # (/=) :: KeyWitness era -> KeyWitness era -> Bool Source # | |||||
data AsType (KeyWitness era) Source # | |||||
Defined in Cardano.Api.Tx.Internal.Sign |
data WitnessNetworkIdOrByronAddress Source #
Either a network ID or a Byron address to be used in constructing a Shelley bootstrap witness.
Constructors
WitnessNetworkId !NetworkId | Network ID. If this value is used in the construction of a Shelley bootstrap witness,
the result will not consist of a derivation path. If that is required,
specify a |
WitnessByronAddress !(Address ByronAddr) | Byron address. If this value is used in the construction of a Shelley bootstrap witness, both the network ID and derivation path will be extracted from the address and used in the construction of the witness. |
Errors
Methods
prettyError :: e -> Doc ann Source #
Instances
Error IOException Source # | |
Defined in Cardano.Api.Error Methods prettyError :: IOException -> Doc ann Source # | |
Error AnchorDataFromCertificateError Source # | |
Defined in Cardano.Api.Certificate.Internal Methods prettyError :: AnchorDataFromCertificateError -> Doc ann Source # | |
Error OperationalCertIssueError Source # | |
Defined in Cardano.Api.Certificate.Internal.OperationalCertificate Methods prettyError :: OperationalCertIssueError -> Doc ann Source # | |
Error StakePoolMetadataValidationError Source # | |
Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata Methods prettyError :: StakePoolMetadataValidationError -> Doc ann Source # | |
Error ErrorAsException Source # | |
Defined in Cardano.Api.Error Methods prettyError :: ErrorAsException -> Doc ann Source # | |
Error MnemonicToSigningKeyError Source # | |
Defined in Cardano.Api.Key.Internal.Mnemonic Methods prettyError :: MnemonicToSigningKeyError -> Doc ann Source # | |
Error FoldBlocksError Source # | |
Defined in Cardano.Api.LedgerState Methods prettyError :: FoldBlocksError -> Doc ann Source # | |
Error GenesisConfigError Source # | |
Defined in Cardano.Api.LedgerState Methods prettyError :: GenesisConfigError -> Doc ann Source # | |
Error InitialLedgerStateError Source # | |
Defined in Cardano.Api.LedgerState Methods prettyError :: InitialLedgerStateError -> Doc ann Source # | |
Error LeadershipError Source # | |
Defined in Cardano.Api.LedgerState Methods prettyError :: LeadershipError -> Doc ann Source # | |
Error LedgerStateError Source # | |
Defined in Cardano.Api.LedgerState Methods prettyError :: LedgerStateError -> Doc ann Source # | |
Error ScriptDataJsonBytesError Source # | |
Defined in Cardano.Api.Plutus.Internal.ScriptData Methods prettyError :: ScriptDataJsonBytesError -> Doc ann Source # | |
Error ScriptDataJsonError Source # | |
Defined in Cardano.Api.Plutus.Internal.ScriptData Methods prettyError :: ScriptDataJsonError -> Doc ann Source # | |
Error ScriptDataJsonSchemaError Source # | |
Defined in Cardano.Api.Plutus.Internal.ScriptData Methods prettyError :: ScriptDataJsonSchemaError -> Doc ann Source # | |
Error ScriptDataRangeError Source # | |
Defined in Cardano.Api.Plutus.Internal.ScriptData Methods prettyError :: ScriptDataRangeError -> Doc ann Source # | |
Error ProtocolParametersConversionError Source # | |
Defined in Cardano.Api.ProtocolParameters Methods prettyError :: ProtocolParametersConversionError -> Doc ann Source # | |
Error ProtocolParametersError Source # | |
Defined in Cardano.Api.ProtocolParameters Methods prettyError :: ProtocolParametersError -> Doc ann Source # | |
Error Bech32DecodeError Source # | |
Defined in Cardano.Api.Serialise.Bech32 Methods prettyError :: Bech32DecodeError -> Doc ann Source # | |
Error InputDecodeError Source # | |
Defined in Cardano.Api.Serialise.DeserialiseAnyOf Methods prettyError :: InputDecodeError -> Doc ann Source # | |
Error JsonDecodeError Source # | |
Defined in Cardano.Api.Serialise.Json Methods prettyError :: JsonDecodeError -> Doc ann Source # | |
Error RawBytesHexError Source # | |
Defined in Cardano.Api.Serialise.Raw Methods prettyError :: RawBytesHexError -> Doc ann Source # | |
Error TextEnvelopeError Source # | |
Defined in Cardano.Api.Serialise.TextEnvelope.Internal Methods prettyError :: TextEnvelopeError -> Doc ann Source # | |
Error TextEnvelopeCddlError Source # | |
Defined in Cardano.Api.Serialise.TextEnvelope.Internal.Cddl Methods prettyError :: TextEnvelopeCddlError -> Doc ann Source # | |
Error TxBodyError Source # | |
Defined in Cardano.Api.Tx.Internal.Body Methods prettyError :: TxBodyError -> Doc ann Source # | |
Error ScriptExecutionError Source # | |
Defined in Cardano.Api.Tx.Internal.Fee Methods prettyError :: ScriptExecutionError -> Doc ann Source # | |
Error TxOutputError Source # | |
Defined in Cardano.Api.Tx.Internal.Output Methods prettyError :: TxOutputError -> Doc ann Source # | |
Error TxMetadataJsonError Source # | |
Defined in Cardano.Api.Tx.Internal.TxMetadata Methods prettyError :: TxMetadataJsonError -> Doc ann Source # | |
Error TxMetadataJsonSchemaError Source # | |
Defined in Cardano.Api.Tx.Internal.TxMetadata Methods prettyError :: TxMetadataJsonSchemaError -> Doc ann Source # | |
Error TxMetadataRangeError Source # | |
Defined in Cardano.Api.Tx.Internal.TxMetadata Methods prettyError :: TxMetadataRangeError -> Doc ann Source # | |
Error DecoderError Source # | |
Defined in Cardano.Api.Internal.Orphans.Misc Methods prettyError :: DecoderError -> Doc ann Source # | |
Error ScriptDecodeError Source # | |
Defined in Cardano.Api.Internal.Orphans.Misc Methods prettyError :: ScriptDecodeError -> Doc ann Source # | |
Error () Source # | |
Defined in Cardano.Api.Error Methods prettyError :: () -> Doc ann Source # | |
Error e => Error (FileError e) Source # | |
Defined in Cardano.Api.Error Methods prettyError :: FileError e -> Doc ann Source # | |
Error (AutoBalanceError era) Source # | |
Defined in Cardano.Api.Tx.Internal.Fee Methods prettyError :: AutoBalanceError era -> Doc ann Source # | |
Error (TransactionValidityError era) Source # | |
Defined in Cardano.Api.Tx.Internal.Fee Methods prettyError :: TransactionValidityError era -> Doc ann Source # | |
Error (TxBodyErrorAutoBalance era) Source # | |
Defined in Cardano.Api.Tx.Internal.Fee Methods prettyError :: TxBodyErrorAutoBalance era -> Doc ann Source # | |
Error (TxFeeEstimationError era) Source # | |
Defined in Cardano.Api.Tx.Internal.Fee Methods prettyError :: TxFeeEstimationError era -> Doc ann Source # |
Constructors
FileError FilePath e | |
FileErrorTempFile | |
FileDoesNotExistError FilePath | |
FileIOError FilePath IOException |
Low level protocol interaction with a Cardano node
data LocalNodeConnectInfo Source #
Constructors
LocalNodeConnectInfo ConsensusModeParams NetworkId SocketPath |
Instances
data LocalNodeClientProtocols block point tip slot tx txid txerr (query :: Type -> Type) (m :: Type -> Type) Source #
The protocols we can use with a local node. Use in conjunction with
connectToLocalNode
.
These protocols use the types from the rest of this API. The conversion
to/from the types used by the underlying wire formats is handled by
connectToLocalNode
.
Constructors
LocalNodeClientProtocols (LocalChainSyncClient block point tip m) (Maybe (LocalTxSubmissionClient tx txerr m ())) (Maybe (LocalStateQueryClient block point query m ())) (Maybe (LocalTxMonitorClient txid tx slot m ())) |
Chain sync protocol
newtype ChainSyncClient header point tip (m :: Type -> Type) a Source #
A chain sync protocol client, on top of some effect m
.
The first choice of request is within that m
.
Constructors
ChainSyncClient | |
Fields
|
Local tx submission
newtype LocalTxSubmissionClient tx reject (m :: Type -> Type) a Source #
Constructors
LocalTxSubmissionClient (m (LocalTxClientStIdle tx reject m a)) |
Local state query
newtype LocalStateQueryClient block point (query :: Type -> Type) (m :: Type -> Type) a Source #
Constructors
LocalStateQueryClient | |
Fields
|
Update Proposal
newtype ByronUpdateProposal Source #
Byron era update proposal
Constructors
ByronUpdateProposal | |
Fields |
Instances
Show ByronUpdateProposal Source # | |||||
Defined in Cardano.Api.Byron.Internal.Proposal | |||||
HasTypeProxy ByronUpdateProposal Source # | |||||
Defined in Cardano.Api.Byron.Internal.Proposal Associated Types
Methods proxyToAsType :: Proxy ByronUpdateProposal -> AsType ByronUpdateProposal Source # | |||||
SerialiseAsRawBytes ByronUpdateProposal Source # | |||||
Eq ByronUpdateProposal Source # | |||||
Defined in Cardano.Api.Byron.Internal.Proposal Methods (==) :: ByronUpdateProposal -> ByronUpdateProposal -> Bool Source # (/=) :: ByronUpdateProposal -> ByronUpdateProposal -> Bool Source # | |||||
data AsType ByronUpdateProposal Source # | |||||
Defined in Cardano.Api.Byron.Internal.Proposal |
data ByronProtocolParametersUpdate Source #
Constructors
ByronProtocolParametersUpdate | |
Fields
|
Instances
makeByronUpdateProposal :: NetworkId -> ProtocolVersion -> SoftwareVersion -> SystemTag -> InstallerHash -> SomeByronSigningKey -> ByronProtocolParametersUpdate -> ByronUpdateProposal Source #
Vote
Byron era votes
Constructors
ByronVote | |
Fields |
Instances
Show ByronVote Source # | |||||
HasTypeProxy ByronVote Source # | |||||
Defined in Cardano.Api.Byron.Internal.Proposal Associated Types
| |||||
SerialiseAsRawBytes ByronVote Source # | |||||
Defined in Cardano.Api.Byron.Internal.Proposal | |||||
Eq ByronVote Source # | |||||
data AsType ByronVote Source # | |||||
Defined in Cardano.Api.Byron.Internal.Proposal |
makeByronVote :: NetworkId -> SomeByronSigningKey -> ByronUpdateProposal -> Bool -> ByronVote Source #
Hardcoded configuration parameters
applicationName :: ApplicationName Source #
An application name. It has no functional impact in the Shelley eras onwards and therefore it is hardcoded.
applicationVersion :: NumSoftwareVersion Source #
An application version. It has no functional impact in the Shelley eras onwards and therefore it is hardcoded.
softwareVersion :: SoftwareVersion Source #
A software version composed of applicationVersion
and applicationName
.
It has no functional impact in the Shelley eras onwards and therefore it is hardcoded.
Byron ledger re-exports
Address components
data AddrAttributes Source #
Additional information stored along with address. It's intended
to be put into Attributes
data type to make it extensible with
softfork.
Constructors
AddrAttributes | |
Fields |
Instances
ToJSON AddrAttributes | |||||
Defined in Cardano.Chain.Common.AddrAttributes Methods toJSON :: AddrAttributes -> Value # toEncoding :: AddrAttributes -> Encoding # toJSONList :: [AddrAttributes] -> Value # toEncodingList :: [AddrAttributes] -> Encoding # omitField :: AddrAttributes -> Bool # | |||||
Generic AddrAttributes | |||||
Defined in Cardano.Chain.Common.AddrAttributes Associated Types
Methods from :: AddrAttributes -> Rep AddrAttributes x Source # to :: Rep AddrAttributes x -> AddrAttributes Source # | |||||
Show AddrAttributes | |||||
Defined in Cardano.Chain.Common.AddrAttributes | |||||
NFData AddrAttributes | |||||
Defined in Cardano.Chain.Common.AddrAttributes Methods rnf :: AddrAttributes -> () Source # | |||||
Buildable AddrAttributes | |||||
Defined in Cardano.Chain.Common.AddrAttributes Methods build :: AddrAttributes -> Builder | |||||
Eq AddrAttributes | |||||
Defined in Cardano.Chain.Common.AddrAttributes Methods (==) :: AddrAttributes -> AddrAttributes -> Bool Source # (/=) :: AddrAttributes -> AddrAttributes -> Bool Source # | |||||
Ord AddrAttributes | |||||
Defined in Cardano.Chain.Common.AddrAttributes Methods compare :: AddrAttributes -> AddrAttributes -> Ordering Source # (<) :: AddrAttributes -> AddrAttributes -> Bool Source # (<=) :: AddrAttributes -> AddrAttributes -> Bool Source # (>) :: AddrAttributes -> AddrAttributes -> Bool Source # (>=) :: AddrAttributes -> AddrAttributes -> Bool Source # max :: AddrAttributes -> AddrAttributes -> AddrAttributes Source # min :: AddrAttributes -> AddrAttributes -> AddrAttributes Source # | |||||
HeapWords AddrAttributes | |||||
Defined in Cardano.Chain.Common.AddrAttributes Methods heapWords :: AddrAttributes -> Int | |||||
NoThunks AddrAttributes | |||||
Defined in Cardano.Chain.Common.AddrAttributes Methods noThunks :: Context -> AddrAttributes -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> AddrAttributes -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy AddrAttributes -> String # | |||||
FromCBOR (Attributes AddrAttributes) | |||||
Defined in Cardano.Chain.Common.AddrAttributes Methods fromCBOR :: Decoder s (Attributes AddrAttributes) Source # label :: Proxy (Attributes AddrAttributes) -> Text Source # | |||||
ToCBOR (Attributes AddrAttributes) | |||||
Defined in Cardano.Chain.Common.AddrAttributes Methods toCBOR :: Attributes AddrAttributes -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Attributes AddrAttributes) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Attributes AddrAttributes] -> Size Source # | |||||
DecCBOR (Attributes AddrAttributes) | |||||
Defined in Cardano.Chain.Common.AddrAttributes Methods decCBOR :: Decoder s (Attributes AddrAttributes) Source # dropCBOR :: Proxy (Attributes AddrAttributes) -> Decoder s () Source # label :: Proxy (Attributes AddrAttributes) -> Text Source # | |||||
EncCBOR (Attributes AddrAttributes) | |||||
Defined in Cardano.Chain.Common.AddrAttributes Methods encCBOR :: Attributes AddrAttributes -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy (Attributes AddrAttributes) -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [Attributes AddrAttributes] -> Size Source # | |||||
type Rep AddrAttributes | |||||
Defined in Cardano.Chain.Common.AddrAttributes type Rep AddrAttributes = D1 ('MetaData "AddrAttributes" "Cardano.Chain.Common.AddrAttributes" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "AddrAttributes" 'PrefixI 'True) (S1 ('MetaSel ('Just "aaVKDerivationPath") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe HDAddressPayload)) :*: S1 ('MetaSel ('Just "aaNetworkMagic") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NetworkMagic))) |
Address
is where you can send Lovelace
Instances
ToJSON Address | |||||
Defined in Cardano.Chain.Common.Address | |||||
Generic Address | |||||
Defined in Cardano.Chain.Common.Address Associated Types
| |||||
Show Address | |||||
FromCBOR Address | |||||
ToCBOR Address | |||||
DecCBOR Address | |||||
EncCBOR Address | |||||
NFData Address | |||||
Defined in Cardano.Chain.Common.Address | |||||
Buildable Address | |||||
Defined in Cardano.Chain.Common.Address | |||||
Eq Address | |||||
Ord Address | |||||
Defined in Cardano.Chain.Common.Address | |||||
HeapWords Address | |||||
Defined in Cardano.Chain.Common.Address | |||||
NoThunks Address | |||||
MonadError SchemaError m => FromJSON m Address | |||||
Defined in Cardano.Chain.Common.Address | |||||
MonadError SchemaError m => FromObjectKey m Address | |||||
Defined in Cardano.Chain.Common.Address Methods fromObjectKey :: JSString -> m (Maybe Address) | |||||
Monad m => ToJSON m Address | |||||
Defined in Cardano.Chain.Common.Address | |||||
Monad m => ToObjectKey m Address | |||||
Defined in Cardano.Chain.Common.Address Methods toObjectKey :: Address -> m JSString | |||||
Buildable [Address] | |||||
Defined in Cardano.Chain.Common.Address | |||||
type Rep Address | |||||
Defined in Cardano.Chain.Common.Address type Rep Address = D1 ('MetaData "Address" "Cardano.Chain.Common.Address" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "Address" 'PrefixI 'True) (S1 ('MetaSel ('Just "addrRoot") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 (AddressHash Address')) :*: (S1 ('MetaSel ('Just "addrAttributes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Attributes AddrAttributes)) :*: S1 ('MetaSel ('Just "addrType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AddrType)))) |
A KeyHash
refers to a VerificationKey
Instances
ToJSON KeyHash Source # | |
Defined in Cardano.Api.Internal.Orphans.Serialisation | |
Show KeyHash | |
DecCBOR KeyHash | |
EncCBOR KeyHash | |
NFData KeyHash | |
Defined in Cardano.Chain.Common.KeyHash | |
Buildable KeyHash | |
Defined in Cardano.Chain.Common.KeyHash | |
Eq KeyHash | |
Ord KeyHash | |
Defined in Cardano.Chain.Common.KeyHash | |
HeapWords KeyHash | |
Defined in Cardano.Chain.Common.KeyHash | |
NoThunks KeyHash | |
MonadError SchemaError m => FromObjectKey m KeyHash | |
Defined in Cardano.Chain.Common.KeyHash Methods fromObjectKey :: JSString -> m (Maybe KeyHash) | |
Monad m => ToObjectKey m KeyHash | |
Defined in Cardano.Chain.Common.KeyHash Methods toObjectKey :: KeyHash -> m JSString |
addressDetailedF :: Format r (Address -> r) Source #
A formatter showing guts of an Address
addressHash :: EncCBOR a => a -> AddressHash a Source #
checkVerKeyAddress :: VerificationKey -> Address -> Bool Source #
Check if given Address
is created from given VerificationKey
decodeAddressBase58 :: Text -> Either DecoderError Address Source #
Decode an address from Base58 encoded Text.
mkAttributes :: h -> Attributes h Source #
Lovelace handling
Lovelace is the least possible unit of currency
Instances
ToJSON Lovelace | |||||
Defined in Cardano.Chain.Common.Lovelace | |||||
Data Lovelace | |||||
Defined in Cardano.Chain.Common.Lovelace Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Lovelace -> c Lovelace Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Lovelace Source # toConstr :: Lovelace -> Constr Source # dataTypeOf :: Lovelace -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Lovelace) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Lovelace) Source # gmapT :: (forall b. Data b => b -> b) -> Lovelace -> Lovelace Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Lovelace -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Lovelace -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Lovelace -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Lovelace -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Lovelace -> m Lovelace Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Lovelace -> m Lovelace Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Lovelace -> m Lovelace Source # | |||||
Bounded Lovelace | |||||
Generic Lovelace | |||||
Defined in Cardano.Chain.Common.Lovelace Associated Types
| |||||
Show Lovelace | |||||
FromCBOR Lovelace | |||||
ToCBOR Lovelace | |||||
DecCBOR Lovelace | |||||
EncCBOR Lovelace | |||||
NFData Lovelace | |||||
Defined in Cardano.Chain.Common.Lovelace | |||||
Buildable Lovelace | |||||
Defined in Cardano.Chain.Common.Lovelace | |||||
Eq Lovelace | |||||
Ord Lovelace | |||||
Defined in Cardano.Chain.Common.Lovelace | |||||
NoThunks Lovelace | |||||
ReportSchemaErrors m => FromJSON m Lovelace | |||||
Defined in Cardano.Chain.Common.Lovelace | |||||
Monad m => ToJSON m Lovelace | |||||
Defined in Cardano.Chain.Common.Lovelace | |||||
type Rep Lovelace | |||||
Defined in Cardano.Chain.Common.Lovelace type Rep Lovelace = D1 ('MetaData "Lovelace" "Cardano.Chain.Common.Lovelace" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "Lovelace" 'PrefixI 'True) (S1 ('MetaSel ('Just "unLovelace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) |
data LovelacePortion Source #
LovelacePortion
is a legacy Byron type that we keep only for
compatibility. It was originally intended to represent a fraction of stake
in the system. It is used only for the thresholds used in the update system
rules, most of which are now themselves unused. The remaining case is no
longer interpreted as a fraction of all stake, but as a fraction of the
number of genesis keys.
It has enormous precision, due to the fact that it was originally intended to represent a fraction of all stake and can cover the precision of all the Lovelace in the system.
It is represented as a rational nominator with a fixed implicit denominator
of 1e15. So the nominator must be in the range [0..1e15]
. This is also the
representation used on-chain (in update proposals) and in the JSON
genesis file.
It is interpreted as a Rational
via the provided conversion functions.
Instances
ToJSON LovelacePortion | |||||
Defined in Cardano.Chain.Common.LovelacePortion Methods toJSON :: LovelacePortion -> Value # toEncoding :: LovelacePortion -> Encoding # toJSONList :: [LovelacePortion] -> Value # toEncodingList :: [LovelacePortion] -> Encoding # omitField :: LovelacePortion -> Bool # | |||||
Generic LovelacePortion | |||||
Defined in Cardano.Chain.Common.LovelacePortion Associated Types
Methods from :: LovelacePortion -> Rep LovelacePortion x Source # to :: Rep LovelacePortion x -> LovelacePortion Source # | |||||
Show LovelacePortion | |||||
Defined in Cardano.Chain.Common.LovelacePortion | |||||
FromCBOR LovelacePortion | |||||
Defined in Cardano.Chain.Common.LovelacePortion | |||||
ToCBOR LovelacePortion | |||||
Defined in Cardano.Chain.Common.LovelacePortion Methods toCBOR :: LovelacePortion -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy LovelacePortion -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [LovelacePortion] -> Size Source # | |||||
DecCBOR LovelacePortion | |||||
Defined in Cardano.Chain.Common.LovelacePortion | |||||
EncCBOR LovelacePortion | |||||
Defined in Cardano.Chain.Common.LovelacePortion Methods encCBOR :: LovelacePortion -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy LovelacePortion -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [LovelacePortion] -> Size Source # | |||||
NFData LovelacePortion | |||||
Defined in Cardano.Chain.Common.LovelacePortion Methods rnf :: LovelacePortion -> () Source # | |||||
Buildable LovelacePortion | |||||
Defined in Cardano.Chain.Common.LovelacePortion Methods build :: LovelacePortion -> Builder | |||||
Eq LovelacePortion | |||||
Defined in Cardano.Chain.Common.LovelacePortion Methods (==) :: LovelacePortion -> LovelacePortion -> Bool Source # (/=) :: LovelacePortion -> LovelacePortion -> Bool Source # | |||||
Ord LovelacePortion | |||||
Defined in Cardano.Chain.Common.LovelacePortion Methods compare :: LovelacePortion -> LovelacePortion -> Ordering Source # (<) :: LovelacePortion -> LovelacePortion -> Bool Source # (<=) :: LovelacePortion -> LovelacePortion -> Bool Source # (>) :: LovelacePortion -> LovelacePortion -> Bool Source # (>=) :: LovelacePortion -> LovelacePortion -> Bool Source # max :: LovelacePortion -> LovelacePortion -> LovelacePortion Source # min :: LovelacePortion -> LovelacePortion -> LovelacePortion Source # | |||||
HeapWords LovelacePortion | |||||
Defined in Cardano.Chain.Common.LovelacePortion Methods heapWords :: LovelacePortion -> Int | |||||
NoThunks LovelacePortion | |||||
Defined in Cardano.Chain.Common.LovelacePortion Methods noThunks :: Context -> LovelacePortion -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> LovelacePortion -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy LovelacePortion -> String # | |||||
MonadError SchemaError m => FromJSON m LovelacePortion | |||||
Defined in Cardano.Chain.Common.LovelacePortion Methods fromJSON :: JSValue -> m LovelacePortion | |||||
Monad m => ToJSON m LovelacePortion | |||||
Defined in Cardano.Chain.Common.LovelacePortion Methods toJSON :: LovelacePortion -> m JSValue | |||||
type Rep LovelacePortion | |||||
Defined in Cardano.Chain.Common.LovelacePortion type Rep LovelacePortion = D1 ('MetaData "LovelacePortion" "Cardano.Chain.Common.LovelacePortion" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "LovelacePortion" 'PrefixI 'True) (S1 ('MetaSel ('Just "unLovelacePortion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) |
lovelacePortionToRational :: LovelacePortion -> Rational Source #
Turn a LovelacePortion
into a Rational
in the range [0..1]
.
mkKnownLovelace :: forall (n :: Nat). (KnownNat n, n <= 45000000000000000) => Lovelace Source #
Construct a Lovelace
from a KnownNat
, known to be less than
maxLovelaceVal
rationalToLovelacePortion :: Rational -> LovelacePortion Source #
Make a LovelacePortion
from a Rational
which must be in the range [0..1]
.
Genesis configuration and AVVM
Constructors
Config | |
Fields
|
Instances
Generic Config | |||||
Defined in Cardano.Chain.Genesis.Config Associated Types
| |||||
Show Config | |||||
FromCBOR Config | |||||
ToCBOR Config | |||||
DecCBOR Config | |||||
EncCBOR Config | |||||
Eq Config | |||||
NoThunks Config | |||||
type Rep Config | |||||
Defined in Cardano.Chain.Genesis.Config type Rep Config = D1 ('MetaData "Config" "Cardano.Chain.Genesis.Config" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "Config" 'PrefixI 'True) ((S1 ('MetaSel ('Just "configGenesisData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisData) :*: S1 ('MetaSel ('Just "configGenesisHash") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 GenesisHash)) :*: (S1 ('MetaSel ('Just "configReqNetMagic") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RequiresNetworkMagic) :*: S1 ('MetaSel ('Just "configUTxOConfiguration") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 UTxOConfiguration)))) |
data FakeAvvmOptions Source #
These options determines balances of fake AVVM nodes which didn't really go through vending, but pretend they did
Constructors
FakeAvvmOptions | |
Fields
|
Instances
Generic FakeAvvmOptions | |||||
Defined in Cardano.Chain.Genesis.Initializer Associated Types
Methods from :: FakeAvvmOptions -> Rep FakeAvvmOptions x Source # to :: Rep FakeAvvmOptions x -> FakeAvvmOptions Source # | |||||
Show FakeAvvmOptions | |||||
Defined in Cardano.Chain.Genesis.Initializer | |||||
Eq FakeAvvmOptions | |||||
Defined in Cardano.Chain.Genesis.Initializer Methods (==) :: FakeAvvmOptions -> FakeAvvmOptions -> Bool Source # (/=) :: FakeAvvmOptions -> FakeAvvmOptions -> Bool Source # | |||||
type Rep FakeAvvmOptions | |||||
Defined in Cardano.Chain.Genesis.Initializer type Rep FakeAvvmOptions = D1 ('MetaData "FakeAvvmOptions" "Cardano.Chain.Genesis.Initializer" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "FakeAvvmOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "faoCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word) :*: S1 ('MetaSel ('Just "faoOneBalance") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Lovelace))) |
data GeneratedSecrets Source #
Valuable secrets which can unlock genesis data.
Constructors
GeneratedSecrets | |
Fields
|
Instances
Generic GeneratedSecrets | |||||
Defined in Cardano.Chain.Genesis.Generate Associated Types
Methods from :: GeneratedSecrets -> Rep GeneratedSecrets x Source # to :: Rep GeneratedSecrets x -> GeneratedSecrets Source # | |||||
NoThunks GeneratedSecrets | |||||
Defined in Cardano.Chain.Genesis.Generate Methods noThunks :: Context -> GeneratedSecrets -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> GeneratedSecrets -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy GeneratedSecrets -> String # | |||||
type Rep GeneratedSecrets | |||||
Defined in Cardano.Chain.Genesis.Generate type Rep GeneratedSecrets = D1 ('MetaData "GeneratedSecrets" "Cardano.Chain.Genesis.Generate" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "GeneratedSecrets" 'PrefixI 'True) ((S1 ('MetaSel ('Just "gsDlgIssuersSecrets") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [SigningKey]) :*: S1 ('MetaSel ('Just "gsRichSecrets") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [SigningKey])) :*: (S1 ('MetaSel ('Just "gsPoorSecrets") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [PoorSecret]) :*: S1 ('MetaSel ('Just "gsFakeAvvmSecrets") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [RedeemSigningKey])))) |
newtype GenesisAvvmBalances Source #
Predefined balances of AVVM (Ada Voucher Vending Machine) entries. People who purchased Ada at a pre-sale were issued a certificate during the pre-sale period. These certificates allow customers to redeem ADA.
Constructors
GenesisAvvmBalances | |
Instances
Semigroup GenesisAvvmBalances | |
Defined in Cardano.Chain.Genesis.AvvmBalances Methods (<>) :: GenesisAvvmBalances -> GenesisAvvmBalances -> GenesisAvvmBalances Source # sconcat :: NonEmpty GenesisAvvmBalances -> GenesisAvvmBalances Source # stimes :: Integral b => b -> GenesisAvvmBalances -> GenesisAvvmBalances Source # | |
Show GenesisAvvmBalances | |
Defined in Cardano.Chain.Genesis.AvvmBalances | |
FromCBOR GenesisAvvmBalances | |
Defined in Cardano.Chain.Genesis.AvvmBalances | |
ToCBOR GenesisAvvmBalances | |
Defined in Cardano.Chain.Genesis.AvvmBalances Methods toCBOR :: GenesisAvvmBalances -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy GenesisAvvmBalances -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [GenesisAvvmBalances] -> Size Source # | |
DecCBOR GenesisAvvmBalances | |
Defined in Cardano.Chain.Genesis.AvvmBalances | |
EncCBOR GenesisAvvmBalances | |
Defined in Cardano.Chain.Genesis.AvvmBalances Methods encCBOR :: GenesisAvvmBalances -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy GenesisAvvmBalances -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [GenesisAvvmBalances] -> Size Source # | |
Eq GenesisAvvmBalances | |
Defined in Cardano.Chain.Genesis.AvvmBalances Methods (==) :: GenesisAvvmBalances -> GenesisAvvmBalances -> Bool Source # (/=) :: GenesisAvvmBalances -> GenesisAvvmBalances -> Bool Source # | |
NoThunks GenesisAvvmBalances | |
Defined in Cardano.Chain.Genesis.AvvmBalances Methods noThunks :: Context -> GenesisAvvmBalances -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> GenesisAvvmBalances -> IO (Maybe ThunkInfo) # | |
MonadError SchemaError m => FromJSON m GenesisAvvmBalances | |
Defined in Cardano.Chain.Genesis.AvvmBalances Methods fromJSON :: JSValue -> m GenesisAvvmBalances | |
Monad m => ToJSON m GenesisAvvmBalances | |
Defined in Cardano.Chain.Genesis.AvvmBalances Methods toJSON :: GenesisAvvmBalances -> m JSValue |
data GenesisData Source #
Genesis data contains all data which determines consensus rules. It must be same for all nodes. It's used to initialize global state, slotting, etc.
Constructors
GenesisData | |
Instances
Generic GenesisData | |||||
Defined in Cardano.Chain.Genesis.Data Associated Types
Methods from :: GenesisData -> Rep GenesisData x Source # to :: Rep GenesisData x -> GenesisData Source # | |||||
Show GenesisData | |||||
Defined in Cardano.Chain.Genesis.Data | |||||
FromCBOR GenesisData | |||||
Defined in Cardano.Chain.Genesis.Data | |||||
ToCBOR GenesisData | |||||
Defined in Cardano.Chain.Genesis.Data Methods toCBOR :: GenesisData -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy GenesisData -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [GenesisData] -> Size Source # | |||||
DecCBOR GenesisData | |||||
Defined in Cardano.Chain.Genesis.Data | |||||
EncCBOR GenesisData | |||||
Defined in Cardano.Chain.Genesis.Data Methods encCBOR :: GenesisData -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy GenesisData -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [GenesisData] -> Size Source # | |||||
Eq GenesisData | |||||
Defined in Cardano.Chain.Genesis.Data Methods (==) :: GenesisData -> GenesisData -> Bool Source # (/=) :: GenesisData -> GenesisData -> Bool Source # | |||||
NoThunks GenesisData | |||||
Defined in Cardano.Chain.Genesis.Data Methods noThunks :: Context -> GenesisData -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> GenesisData -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy GenesisData -> String # | |||||
MonadError SchemaError m => FromJSON m GenesisData | |||||
Defined in Cardano.Chain.Genesis.Data Methods fromJSON :: JSValue -> m GenesisData | |||||
Monad m => ToJSON m GenesisData | |||||
Defined in Cardano.Chain.Genesis.Data Methods toJSON :: GenesisData -> m JSValue | |||||
type Rep GenesisData | |||||
Defined in Cardano.Chain.Genesis.Data type Rep GenesisData = D1 ('MetaData "GenesisData" "Cardano.Chain.Genesis.Data" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "GenesisData" 'PrefixI 'True) (((S1 ('MetaSel ('Just "gdGenesisKeyHashes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisKeyHashes) :*: S1 ('MetaSel ('Just "gdHeavyDelegation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisDelegation)) :*: (S1 ('MetaSel ('Just "gdStartTime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "gdNonAvvmBalances") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisNonAvvmBalances))) :*: ((S1 ('MetaSel ('Just "gdProtocolParameters") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProtocolParameters) :*: S1 ('MetaSel ('Just "gdK") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 BlockCount)) :*: (S1 ('MetaSel ('Just "gdProtocolMagicId") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 ProtocolMagicId) :*: S1 ('MetaSel ('Just "gdAvvmDistr") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisAvvmBalances))))) |
data GenesisDataError Source #
Constructors
GenesisDataParseError Text | |
GenesisDataSchemaError SchemaError | |
GenesisDataIOError IOException |
Instances
Show GenesisDataError | |
Defined in Cardano.Chain.Genesis.Data | |
Buildable GenesisDataError | |
Defined in Cardano.Chain.Genesis.Data Methods build :: GenesisDataError -> Builder |
data GenesisDataGenerationError Source #
Constructors
GenesisDataAddressBalanceMismatch Text Int Int | |
GenesisDataGenerationDelegationError GenesisDelegationError | |
GenesisDataGenerationDistributionMismatch Lovelace Lovelace | |
GenesisDataGenerationLovelaceError LovelaceError | |
GenesisDataGenerationPassPhraseMismatch | |
GenesisDataGenerationRedeemKeyGen |
Instances
Show GenesisDataGenerationError | |
Defined in Cardano.Chain.Genesis.Generate | |
Buildable GenesisDataGenerationError | |
Defined in Cardano.Chain.Genesis.Generate Methods | |
Eq GenesisDataGenerationError | |
Defined in Cardano.Chain.Genesis.Generate Methods (==) :: GenesisDataGenerationError -> GenesisDataGenerationError -> Bool Source # (/=) :: GenesisDataGenerationError -> GenesisDataGenerationError -> Bool Source # |
newtype GenesisDelegation Source #
This type contains genesis state of heavyweight delegation. It wraps a map where keys are issuers and values are delegation certificates. There are some invariants:
- In each pair delegate must differ from issuer, i. e. no revocations.
- PSKs must be consistent with keys in the map, i. e. issuer's ID must be equal to the key in the map.
- Delegates can't be issuers, i. e. transitive delegation is not supported. It's not needed in genesis, it can always be reduced.
Constructors
UnsafeGenesisDelegation | |
Fields |
Instances
Show GenesisDelegation | |
Defined in Cardano.Chain.Genesis.Delegation | |
FromCBOR GenesisDelegation | |
Defined in Cardano.Chain.Genesis.Delegation | |
ToCBOR GenesisDelegation | |
Defined in Cardano.Chain.Genesis.Delegation Methods toCBOR :: GenesisDelegation -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy GenesisDelegation -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [GenesisDelegation] -> Size Source # | |
DecCBOR GenesisDelegation | |
Defined in Cardano.Chain.Genesis.Delegation | |
EncCBOR GenesisDelegation | |
Defined in Cardano.Chain.Genesis.Delegation Methods encCBOR :: GenesisDelegation -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy GenesisDelegation -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [GenesisDelegation] -> Size Source # | |
Eq GenesisDelegation | |
Defined in Cardano.Chain.Genesis.Delegation Methods (==) :: GenesisDelegation -> GenesisDelegation -> Bool Source # (/=) :: GenesisDelegation -> GenesisDelegation -> Bool Source # | |
NoThunks GenesisDelegation | |
Defined in Cardano.Chain.Genesis.Delegation Methods noThunks :: Context -> GenesisDelegation -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> GenesisDelegation -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy GenesisDelegation -> String # | |
MonadError SchemaError m => FromJSON m GenesisDelegation | |
Defined in Cardano.Chain.Genesis.Delegation Methods fromJSON :: JSValue -> m GenesisDelegation | |
Monad m => ToJSON m GenesisDelegation | |
Defined in Cardano.Chain.Genesis.Delegation Methods toJSON :: GenesisDelegation -> m JSValue |
data GenesisDelegationError Source #
Instances
Show GenesisDelegationError | |
Defined in Cardano.Chain.Genesis.Delegation | |
Buildable GenesisDelegationError | |
Defined in Cardano.Chain.Genesis.Delegation Methods | |
Eq GenesisDelegationError | |
Defined in Cardano.Chain.Genesis.Delegation Methods (==) :: GenesisDelegationError -> GenesisDelegationError -> Bool Source # (/=) :: GenesisDelegationError -> GenesisDelegationError -> Bool Source # |
newtype GenesisHash Source #
Constructors
GenesisHash | |
Fields
|
Instances
ToJSON GenesisHash | |||||
Defined in Cardano.Chain.Genesis.Hash Methods toJSON :: GenesisHash -> Value # toEncoding :: GenesisHash -> Encoding # toJSONList :: [GenesisHash] -> Value # toEncodingList :: [GenesisHash] -> Encoding # omitField :: GenesisHash -> Bool # | |||||
Generic GenesisHash | |||||
Defined in Cardano.Chain.Genesis.Hash Associated Types
Methods from :: GenesisHash -> Rep GenesisHash x Source # to :: Rep GenesisHash x -> GenesisHash Source # | |||||
Show GenesisHash | |||||
Defined in Cardano.Chain.Genesis.Hash | |||||
DecCBOR GenesisHash | |||||
Defined in Cardano.Chain.Genesis.Hash | |||||
EncCBOR GenesisHash | |||||
Defined in Cardano.Chain.Genesis.Hash Methods encCBOR :: GenesisHash -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy GenesisHash -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [GenesisHash] -> Size Source # | |||||
NFData GenesisHash | |||||
Defined in Cardano.Chain.Genesis.Hash Methods rnf :: GenesisHash -> () Source # | |||||
Eq GenesisHash | |||||
Defined in Cardano.Chain.Genesis.Hash Methods (==) :: GenesisHash -> GenesisHash -> Bool Source # (/=) :: GenesisHash -> GenesisHash -> Bool Source # | |||||
NoThunks GenesisHash | |||||
Defined in Cardano.Chain.Genesis.Hash Methods noThunks :: Context -> GenesisHash -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> GenesisHash -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy GenesisHash -> String # | |||||
type Rep GenesisHash | |||||
Defined in Cardano.Chain.Genesis.Hash type Rep GenesisHash = D1 ('MetaData "GenesisHash" "Cardano.Chain.Genesis.Hash" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "GenesisHash" 'PrefixI 'True) (S1 ('MetaSel ('Just "unGenesisHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Hash Raw)))) |
data GenesisInitializer Source #
Options determining generated genesis stakes, balances, and delegation
Constructors
GenesisInitializer | |
Fields
|
Instances
Show GenesisInitializer | |
Defined in Cardano.Chain.Genesis.Initializer | |
Eq GenesisInitializer | |
Defined in Cardano.Chain.Genesis.Initializer Methods (==) :: GenesisInitializer -> GenesisInitializer -> Bool Source # (/=) :: GenesisInitializer -> GenesisInitializer -> Bool Source # |
data GenesisSpec Source #
Specification how to generate full GenesisData
Constructors
UnsafeGenesisSpec | |
Fields
|
Instances
Generic GenesisSpec | |||||
Defined in Cardano.Chain.Genesis.Spec Associated Types
Methods from :: GenesisSpec -> Rep GenesisSpec x Source # to :: Rep GenesisSpec x -> GenesisSpec Source # | |||||
Show GenesisSpec | |||||
Defined in Cardano.Chain.Genesis.Spec | |||||
Eq GenesisSpec | |||||
Defined in Cardano.Chain.Genesis.Spec Methods (==) :: GenesisSpec -> GenesisSpec -> Bool Source # (/=) :: GenesisSpec -> GenesisSpec -> Bool Source # | |||||
type Rep GenesisSpec | |||||
Defined in Cardano.Chain.Genesis.Spec type Rep GenesisSpec = D1 ('MetaData "GenesisSpec" "Cardano.Chain.Genesis.Spec" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "UnsafeGenesisSpec" 'PrefixI 'True) ((S1 ('MetaSel ('Just "gsAvvmDistr") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisAvvmBalances) :*: (S1 ('MetaSel ('Just "gsHeavyDelegation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisDelegation) :*: S1 ('MetaSel ('Just "gsProtocolParameters") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProtocolParameters))) :*: (S1 ('MetaSel ('Just "gsK") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 BlockCount) :*: (S1 ('MetaSel ('Just "gsProtocolMagic") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProtocolMagic) :*: S1 ('MetaSel ('Just "gsInitializer") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisInitializer))))) |
data NetworkMagic Source #
Constructors
NetworkMainOrStage | |
NetworkTestnet !Word32 |
Instances
ToJSON NetworkMagic | |||||
Defined in Cardano.Chain.Common.NetworkMagic Methods toJSON :: NetworkMagic -> Value # toEncoding :: NetworkMagic -> Encoding # toJSONList :: [NetworkMagic] -> Value # toEncodingList :: [NetworkMagic] -> Encoding # omitField :: NetworkMagic -> Bool # | |||||
Generic NetworkMagic | |||||
Defined in Cardano.Chain.Common.NetworkMagic Associated Types
Methods from :: NetworkMagic -> Rep NetworkMagic x Source # to :: Rep NetworkMagic x -> NetworkMagic Source # | |||||
Show NetworkMagic | |||||
Defined in Cardano.Chain.Common.NetworkMagic | |||||
FromCBOR NetworkMagic | |||||
Defined in Cardano.Chain.Common.NetworkMagic | |||||
ToCBOR NetworkMagic | |||||
Defined in Cardano.Chain.Common.NetworkMagic Methods toCBOR :: NetworkMagic -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy NetworkMagic -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [NetworkMagic] -> Size Source # | |||||
DecCBOR NetworkMagic | |||||
Defined in Cardano.Chain.Common.NetworkMagic | |||||
EncCBOR NetworkMagic | |||||
Defined in Cardano.Chain.Common.NetworkMagic Methods encCBOR :: NetworkMagic -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy NetworkMagic -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [NetworkMagic] -> Size Source # | |||||
NFData NetworkMagic | |||||
Defined in Cardano.Chain.Common.NetworkMagic Methods rnf :: NetworkMagic -> () Source # | |||||
Buildable NetworkMagic | |||||
Defined in Cardano.Chain.Common.NetworkMagic Methods build :: NetworkMagic -> Builder | |||||
Eq NetworkMagic | |||||
Defined in Cardano.Chain.Common.NetworkMagic Methods (==) :: NetworkMagic -> NetworkMagic -> Bool Source # (/=) :: NetworkMagic -> NetworkMagic -> Bool Source # | |||||
Ord NetworkMagic | |||||
Defined in Cardano.Chain.Common.NetworkMagic Methods compare :: NetworkMagic -> NetworkMagic -> Ordering Source # (<) :: NetworkMagic -> NetworkMagic -> Bool Source # (<=) :: NetworkMagic -> NetworkMagic -> Bool Source # (>) :: NetworkMagic -> NetworkMagic -> Bool Source # (>=) :: NetworkMagic -> NetworkMagic -> Bool Source # max :: NetworkMagic -> NetworkMagic -> NetworkMagic Source # min :: NetworkMagic -> NetworkMagic -> NetworkMagic Source # | |||||
HeapWords NetworkMagic | |||||
Defined in Cardano.Chain.Common.NetworkMagic Methods heapWords :: NetworkMagic -> Int | |||||
NoThunks NetworkMagic | |||||
Defined in Cardano.Chain.Common.NetworkMagic Methods noThunks :: Context -> NetworkMagic -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> NetworkMagic -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy NetworkMagic -> String # | |||||
type Rep NetworkMagic | |||||
Defined in Cardano.Chain.Common.NetworkMagic type Rep NetworkMagic = D1 ('MetaData "NetworkMagic" "Cardano.Chain.Common.NetworkMagic" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "NetworkMainOrStage" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NetworkTestnet" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 Word32))) |
newtype PoorSecret Source #
Poor node secret
Constructors
PoorSecret | |
Fields |
Instances
Generic PoorSecret | |||||
Defined in Cardano.Chain.Genesis.Generate Associated Types
| |||||
NoThunks PoorSecret | |||||
Defined in Cardano.Chain.Genesis.Generate Methods noThunks :: Context -> PoorSecret -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> PoorSecret -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy PoorSecret -> String # | |||||
type Rep PoorSecret | |||||
Defined in Cardano.Chain.Genesis.Generate type Rep PoorSecret = D1 ('MetaData "PoorSecret" "Cardano.Chain.Genesis.Generate" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "PoorSecret" 'PrefixI 'True) (S1 ('MetaSel ('Just "poorSecretToKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SigningKey))) |
data TestnetBalanceOptions Source #
These options determine balances of nodes specific for testnet
Constructors
TestnetBalanceOptions | |
Fields
|
Instances
Show TestnetBalanceOptions | |
Defined in Cardano.Chain.Genesis.Initializer | |
Eq TestnetBalanceOptions | |
Defined in Cardano.Chain.Genesis.Initializer Methods (==) :: TestnetBalanceOptions -> TestnetBalanceOptions -> Bool Source # (/=) :: TestnetBalanceOptions -> TestnetBalanceOptions -> Bool Source # |
data TxFeePolicy Source #
Transaction fee policy represents a formula to compute the minimal allowed Fee for a transaction. Transactions with lesser fees won't be accepted. The Minimal fee may depend on the properties of a transaction (for example, its Size in bytes), so the policy can't be represented simply as a number.
Recall that a transaction fee is the difference between the sum of its
Inputs and the sum of its outputs. The transaction is accepted when
minimal_fee(tx) <= fee(tx)
, where minimal_fee
is the function defined
By the policy.
The policy can change during the lifetime of the blockchain (using the Update mechanism). At the moment we have just one policy type (a linear Equation on the transaction size), but in the future other policies may Be added. To make this future-proof, we also have an "unknown" policy used By older node versions (the ones that haven't updated yet).
Constructors
TxFeePolicyTxSizeLinear !TxSizeLinear |
Instances
ToJSON TxFeePolicy | |||||
Defined in Cardano.Chain.Common.TxFeePolicy Methods toJSON :: TxFeePolicy -> Value # toEncoding :: TxFeePolicy -> Encoding # toJSONList :: [TxFeePolicy] -> Value # toEncodingList :: [TxFeePolicy] -> Encoding # omitField :: TxFeePolicy -> Bool # | |||||
Generic TxFeePolicy | |||||
Defined in Cardano.Chain.Common.TxFeePolicy Associated Types
Methods from :: TxFeePolicy -> Rep TxFeePolicy x Source # to :: Rep TxFeePolicy x -> TxFeePolicy Source # | |||||
Show TxFeePolicy | |||||
Defined in Cardano.Chain.Common.TxFeePolicy | |||||
FromCBOR TxFeePolicy | |||||
Defined in Cardano.Chain.Common.TxFeePolicy | |||||
ToCBOR TxFeePolicy | |||||
Defined in Cardano.Chain.Common.TxFeePolicy Methods toCBOR :: TxFeePolicy -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy TxFeePolicy -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxFeePolicy] -> Size Source # | |||||
DecCBOR TxFeePolicy | |||||
Defined in Cardano.Chain.Common.TxFeePolicy | |||||
EncCBOR TxFeePolicy | |||||
Defined in Cardano.Chain.Common.TxFeePolicy Methods encCBOR :: TxFeePolicy -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy TxFeePolicy -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [TxFeePolicy] -> Size Source # | |||||
NFData TxFeePolicy | |||||
Defined in Cardano.Chain.Common.TxFeePolicy Methods rnf :: TxFeePolicy -> () Source # | |||||
Buildable TxFeePolicy | |||||
Defined in Cardano.Chain.Common.TxFeePolicy Methods build :: TxFeePolicy -> Builder | |||||
Eq TxFeePolicy | |||||
Defined in Cardano.Chain.Common.TxFeePolicy Methods (==) :: TxFeePolicy -> TxFeePolicy -> Bool Source # (/=) :: TxFeePolicy -> TxFeePolicy -> Bool Source # | |||||
Ord TxFeePolicy | |||||
Defined in Cardano.Chain.Common.TxFeePolicy Methods compare :: TxFeePolicy -> TxFeePolicy -> Ordering Source # (<) :: TxFeePolicy -> TxFeePolicy -> Bool Source # (<=) :: TxFeePolicy -> TxFeePolicy -> Bool Source # (>) :: TxFeePolicy -> TxFeePolicy -> Bool Source # (>=) :: TxFeePolicy -> TxFeePolicy -> Bool Source # max :: TxFeePolicy -> TxFeePolicy -> TxFeePolicy Source # min :: TxFeePolicy -> TxFeePolicy -> TxFeePolicy Source # | |||||
NoThunks TxFeePolicy | |||||
Defined in Cardano.Chain.Common.TxFeePolicy Methods noThunks :: Context -> TxFeePolicy -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> TxFeePolicy -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy TxFeePolicy -> String # | |||||
MonadError SchemaError m => FromJSON m TxFeePolicy | |||||
Defined in Cardano.Chain.Common.TxFeePolicy Methods fromJSON :: JSValue -> m TxFeePolicy | |||||
Monad m => ToJSON m TxFeePolicy | |||||
Defined in Cardano.Chain.Common.TxFeePolicy Methods toJSON :: TxFeePolicy -> m JSValue | |||||
type Rep TxFeePolicy | |||||
Defined in Cardano.Chain.Common.TxFeePolicy type Rep TxFeePolicy = D1 ('MetaData "TxFeePolicy" "Cardano.Chain.Common.TxFeePolicy" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "TxFeePolicyTxSizeLinear" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxSizeLinear))) |
data TxSizeLinear Source #
A linear equation on the transaction size. Represents the s -> a + b*s
function where s
is the transaction size in bytes, a
and b
are
constant coefficients.
Constructors
TxSizeLinear !Lovelace !Rational |
Instances
ToJSON TxSizeLinear | |||||
Defined in Cardano.Chain.Common.TxSizeLinear Methods toJSON :: TxSizeLinear -> Value # toEncoding :: TxSizeLinear -> Encoding # toJSONList :: [TxSizeLinear] -> Value # toEncodingList :: [TxSizeLinear] -> Encoding # omitField :: TxSizeLinear -> Bool # | |||||
Generic TxSizeLinear | |||||
Defined in Cardano.Chain.Common.TxSizeLinear Associated Types
Methods from :: TxSizeLinear -> Rep TxSizeLinear x Source # to :: Rep TxSizeLinear x -> TxSizeLinear Source # | |||||
Show TxSizeLinear | |||||
Defined in Cardano.Chain.Common.TxSizeLinear | |||||
FromCBOR TxSizeLinear | |||||
Defined in Cardano.Chain.Common.TxSizeLinear | |||||
ToCBOR TxSizeLinear | |||||
Defined in Cardano.Chain.Common.TxSizeLinear Methods toCBOR :: TxSizeLinear -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy TxSizeLinear -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxSizeLinear] -> Size Source # | |||||
DecCBOR TxSizeLinear | |||||
Defined in Cardano.Chain.Common.TxSizeLinear | |||||
EncCBOR TxSizeLinear | |||||
Defined in Cardano.Chain.Common.TxSizeLinear Methods encCBOR :: TxSizeLinear -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy TxSizeLinear -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [TxSizeLinear] -> Size Source # | |||||
NFData TxSizeLinear | |||||
Defined in Cardano.Chain.Common.TxSizeLinear Methods rnf :: TxSizeLinear -> () Source # | |||||
Buildable TxSizeLinear | |||||
Defined in Cardano.Chain.Common.TxSizeLinear Methods build :: TxSizeLinear -> Builder | |||||
Eq TxSizeLinear | |||||
Defined in Cardano.Chain.Common.TxSizeLinear Methods (==) :: TxSizeLinear -> TxSizeLinear -> Bool Source # (/=) :: TxSizeLinear -> TxSizeLinear -> Bool Source # | |||||
Ord TxSizeLinear | |||||
Defined in Cardano.Chain.Common.TxSizeLinear Methods compare :: TxSizeLinear -> TxSizeLinear -> Ordering Source # (<) :: TxSizeLinear -> TxSizeLinear -> Bool Source # (<=) :: TxSizeLinear -> TxSizeLinear -> Bool Source # (>) :: TxSizeLinear -> TxSizeLinear -> Bool Source # (>=) :: TxSizeLinear -> TxSizeLinear -> Bool Source # max :: TxSizeLinear -> TxSizeLinear -> TxSizeLinear Source # min :: TxSizeLinear -> TxSizeLinear -> TxSizeLinear Source # | |||||
NoThunks TxSizeLinear | |||||
Defined in Cardano.Chain.Common.TxSizeLinear Methods noThunks :: Context -> TxSizeLinear -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> TxSizeLinear -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy TxSizeLinear -> String # | |||||
type Rep TxSizeLinear | |||||
Defined in Cardano.Chain.Common.TxSizeLinear type Rep TxSizeLinear = D1 ('MetaData "TxSizeLinear" "Cardano.Chain.Common.TxSizeLinear" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "TxSizeLinear" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Lovelace) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Rational))) |
generateGenesisData :: UTCTime -> GenesisSpec -> ExceptT GenesisDataGenerationError IO (GenesisData, GeneratedSecrets) Source #
Generate a genesis GenesisData
and GeneratedSecrets
from a
GenesisSpec
. This is used only for tests blockhains. For a real blockcain
you must use the external key generation tool so that each stakeholder can
generate their keys privately.
mkGenesisDelegation :: MonadError GenesisDelegationError m => [Certificate] -> m GenesisDelegation Source #
Safe constructor of GenesisDelegation
from a list of Certificate
s
mkGenesisSpec :: GenesisAvvmBalances -> GenesisDelegation -> ProtocolParameters -> BlockCount -> ProtocolMagic -> GenesisInitializer -> Either Text GenesisSpec Source #
Safe constructor for GenesisSpec
. Throws error if something
goes wrong.
readGenesisData :: (MonadError GenesisDataError m, MonadIO m) => FilePath -> m (GenesisData, GenesisHash) Source #
Parse GenesisData
from a JSON file and annotate with Canonical JSON hash
Updates
newtype ApplicationName Source #
Constructors
ApplicationName | |
Fields |
Instances
ToJSON ApplicationName | |||||
Defined in Cardano.Chain.Update.ApplicationName Methods toJSON :: ApplicationName -> Value # toEncoding :: ApplicationName -> Encoding # toJSONList :: [ApplicationName] -> Value # toEncodingList :: [ApplicationName] -> Encoding # omitField :: ApplicationName -> Bool # | |||||
ToJSONKey ApplicationName Source # | |||||
Defined in Cardano.Api.Internal.Orphans.Serialisation Methods toJSONKey :: ToJSONKeyFunction ApplicationName toJSONKeyList :: ToJSONKeyFunction [ApplicationName] | |||||
Generic ApplicationName | |||||
Defined in Cardano.Chain.Update.ApplicationName Associated Types
Methods from :: ApplicationName -> Rep ApplicationName x Source # to :: Rep ApplicationName x -> ApplicationName Source # | |||||
Show ApplicationName | |||||
Defined in Cardano.Chain.Update.ApplicationName | |||||
FromCBOR ApplicationName | |||||
Defined in Cardano.Chain.Update.ApplicationName | |||||
ToCBOR ApplicationName | |||||
Defined in Cardano.Chain.Update.ApplicationName Methods toCBOR :: ApplicationName -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ApplicationName -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ApplicationName] -> Size Source # | |||||
DecCBOR ApplicationName | |||||
Defined in Cardano.Chain.Update.ApplicationName | |||||
EncCBOR ApplicationName | |||||
Defined in Cardano.Chain.Update.ApplicationName Methods encCBOR :: ApplicationName -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy ApplicationName -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [ApplicationName] -> Size Source # | |||||
NFData ApplicationName | |||||
Defined in Cardano.Chain.Update.ApplicationName Methods rnf :: ApplicationName -> () Source # | |||||
Buildable ApplicationName | |||||
Defined in Cardano.Chain.Update.ApplicationName Methods build :: ApplicationName -> Builder | |||||
Eq ApplicationName | |||||
Defined in Cardano.Chain.Update.ApplicationName Methods (==) :: ApplicationName -> ApplicationName -> Bool Source # (/=) :: ApplicationName -> ApplicationName -> Bool Source # | |||||
Ord ApplicationName | |||||
Defined in Cardano.Chain.Update.ApplicationName Methods compare :: ApplicationName -> ApplicationName -> Ordering Source # (<) :: ApplicationName -> ApplicationName -> Bool Source # (<=) :: ApplicationName -> ApplicationName -> Bool Source # (>) :: ApplicationName -> ApplicationName -> Bool Source # (>=) :: ApplicationName -> ApplicationName -> Bool Source # max :: ApplicationName -> ApplicationName -> ApplicationName Source # min :: ApplicationName -> ApplicationName -> ApplicationName Source # | |||||
NoThunks ApplicationName | |||||
Defined in Cardano.Chain.Update.ApplicationName Methods noThunks :: Context -> ApplicationName -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> ApplicationName -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy ApplicationName -> String # | |||||
type Rep ApplicationName | |||||
Defined in Cardano.Chain.Update.ApplicationName type Rep ApplicationName = D1 ('MetaData "ApplicationName" "Cardano.Chain.Update.ApplicationName" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "ApplicationName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unApplicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |
newtype InstallerHash Source #
The hash of the installer of the new application
Constructors
InstallerHash | |
Fields |
Instances
ToJSON InstallerHash | |||||
Defined in Cardano.Chain.Update.InstallerHash Methods toJSON :: InstallerHash -> Value # toEncoding :: InstallerHash -> Encoding # toJSONList :: [InstallerHash] -> Value # toEncodingList :: [InstallerHash] -> Encoding # omitField :: InstallerHash -> Bool # | |||||
Generic InstallerHash | |||||
Defined in Cardano.Chain.Update.InstallerHash Associated Types
Methods from :: InstallerHash -> Rep InstallerHash x Source # to :: Rep InstallerHash x -> InstallerHash Source # | |||||
Show InstallerHash | |||||
Defined in Cardano.Chain.Update.InstallerHash | |||||
FromCBOR InstallerHash | |||||
Defined in Cardano.Chain.Update.InstallerHash | |||||
ToCBOR InstallerHash | |||||
Defined in Cardano.Chain.Update.InstallerHash Methods toCBOR :: InstallerHash -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy InstallerHash -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [InstallerHash] -> Size Source # | |||||
DecCBOR InstallerHash | |||||
Defined in Cardano.Chain.Update.InstallerHash | |||||
EncCBOR InstallerHash | |||||
Defined in Cardano.Chain.Update.InstallerHash Methods encCBOR :: InstallerHash -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy InstallerHash -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [InstallerHash] -> Size Source # | |||||
NFData InstallerHash | |||||
Defined in Cardano.Chain.Update.InstallerHash Methods rnf :: InstallerHash -> () Source # | |||||
Buildable InstallerHash | |||||
Defined in Cardano.Chain.Update.InstallerHash Methods build :: InstallerHash -> Builder | |||||
Eq InstallerHash | |||||
Defined in Cardano.Chain.Update.InstallerHash Methods (==) :: InstallerHash -> InstallerHash -> Bool Source # (/=) :: InstallerHash -> InstallerHash -> Bool Source # | |||||
NoThunks InstallerHash | |||||
Defined in Cardano.Chain.Update.InstallerHash Methods noThunks :: Context -> InstallerHash -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> InstallerHash -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy InstallerHash -> String # | |||||
type Rep InstallerHash | |||||
Defined in Cardano.Chain.Update.InstallerHash type Rep InstallerHash = D1 ('MetaData "InstallerHash" "Cardano.Chain.Update.InstallerHash" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "InstallerHash" 'PrefixI 'True) (S1 ('MetaSel ('Just "unInstallerHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Hash Raw)))) |
type NumSoftwareVersion = Word32 Source #
Numeric software version associated with ApplicationName
data ProtocolParameters Source #
Data which is associated with BlockVersion
Constructors
ProtocolParameters | |
Fields
|
Instances
Generic ProtocolParameters | |||||
Defined in Cardano.Chain.Update.ProtocolParameters Associated Types
Methods from :: ProtocolParameters -> Rep ProtocolParameters x Source # to :: Rep ProtocolParameters x -> ProtocolParameters Source # | |||||
Show ProtocolParameters | |||||
Defined in Cardano.Chain.Update.ProtocolParameters | |||||
FromCBOR ProtocolParameters | |||||
Defined in Cardano.Chain.Update.ProtocolParameters | |||||
ToCBOR ProtocolParameters | |||||
Defined in Cardano.Chain.Update.ProtocolParameters Methods toCBOR :: ProtocolParameters -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ProtocolParameters -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ProtocolParameters] -> Size Source # | |||||
DecCBOR ProtocolParameters | |||||
Defined in Cardano.Chain.Update.ProtocolParameters | |||||
EncCBOR ProtocolParameters | |||||
Defined in Cardano.Chain.Update.ProtocolParameters Methods encCBOR :: ProtocolParameters -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy ProtocolParameters -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [ProtocolParameters] -> Size Source # | |||||
NFData ProtocolParameters | |||||
Defined in Cardano.Chain.Update.ProtocolParameters Methods rnf :: ProtocolParameters -> () Source # | |||||
Buildable ProtocolParameters | |||||
Defined in Cardano.Chain.Update.ProtocolParameters Methods build :: ProtocolParameters -> Builder | |||||
Eq ProtocolParameters | |||||
Defined in Cardano.Chain.Update.ProtocolParameters Methods (==) :: ProtocolParameters -> ProtocolParameters -> Bool Source # (/=) :: ProtocolParameters -> ProtocolParameters -> Bool Source # | |||||
Ord ProtocolParameters | |||||
Defined in Cardano.Chain.Update.ProtocolParameters Methods compare :: ProtocolParameters -> ProtocolParameters -> Ordering Source # (<) :: ProtocolParameters -> ProtocolParameters -> Bool Source # (<=) :: ProtocolParameters -> ProtocolParameters -> Bool Source # (>) :: ProtocolParameters -> ProtocolParameters -> Bool Source # (>=) :: ProtocolParameters -> ProtocolParameters -> Bool Source # max :: ProtocolParameters -> ProtocolParameters -> ProtocolParameters Source # min :: ProtocolParameters -> ProtocolParameters -> ProtocolParameters Source # | |||||
NoThunks ProtocolParameters | |||||
Defined in Cardano.Chain.Update.ProtocolParameters Methods noThunks :: Context -> ProtocolParameters -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> ProtocolParameters -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy ProtocolParameters -> String # | |||||
MonadError SchemaError m => FromJSON m ProtocolParameters | |||||
Defined in Cardano.Chain.Update.ProtocolParameters Methods fromJSON :: JSValue -> m ProtocolParameters | |||||
Monad m => ToJSON m ProtocolParameters | |||||
Defined in Cardano.Chain.Update.ProtocolParameters Methods toJSON :: ProtocolParameters -> m JSValue | |||||
type Rep ProtocolParameters | |||||
Defined in Cardano.Chain.Update.ProtocolParameters type Rep ProtocolParameters = D1 ('MetaData "ProtocolParameters" "Cardano.Chain.Update.ProtocolParameters" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "ProtocolParameters" 'PrefixI 'True) (((S1 ('MetaSel ('Just "ppScriptVersion") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word16) :*: (S1 ('MetaSel ('Just "ppSlotDuration") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "ppMaxBlockSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural))) :*: ((S1 ('MetaSel ('Just "ppMaxHeaderSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "ppMaxTxSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "ppMaxProposalSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "ppMpcThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion)))) :*: ((S1 ('MetaSel ('Just "ppHeavyDelThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion) :*: (S1 ('MetaSel ('Just "ppUpdateVoteThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion) :*: S1 ('MetaSel ('Just "ppUpdateProposalThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion))) :*: ((S1 ('MetaSel ('Just "ppUpdateProposalTTL") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 SlotNumber) :*: S1 ('MetaSel ('Just "ppSoftforkRule") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SoftforkRule)) :*: (S1 ('MetaSel ('Just "ppTxFeePolicy") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 TxFeePolicy) :*: S1 ('MetaSel ('Just "ppUnlockStakeEpoch") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 EpochNumber)))))) |
data ProtocolVersion Source #
Communication protocol version
Instances
ToJSON ProtocolVersion | |||||
Defined in Cardano.Chain.Update.ProtocolVersion Methods toJSON :: ProtocolVersion -> Value # toEncoding :: ProtocolVersion -> Encoding # toJSONList :: [ProtocolVersion] -> Value # toEncodingList :: [ProtocolVersion] -> Encoding # omitField :: ProtocolVersion -> Bool # | |||||
Generic ProtocolVersion | |||||
Defined in Cardano.Chain.Update.ProtocolVersion Associated Types
Methods from :: ProtocolVersion -> Rep ProtocolVersion x Source # to :: Rep ProtocolVersion x -> ProtocolVersion Source # | |||||
Show ProtocolVersion | |||||
Defined in Cardano.Chain.Update.ProtocolVersion | |||||
FromCBOR ProtocolVersion | |||||
Defined in Cardano.Chain.Update.ProtocolVersion | |||||
ToCBOR ProtocolVersion | |||||
Defined in Cardano.Chain.Update.ProtocolVersion Methods toCBOR :: ProtocolVersion -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ProtocolVersion -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ProtocolVersion] -> Size Source # | |||||
DecCBOR ProtocolVersion | |||||
Defined in Cardano.Chain.Update.ProtocolVersion | |||||
EncCBOR ProtocolVersion | |||||
Defined in Cardano.Chain.Update.ProtocolVersion Methods encCBOR :: ProtocolVersion -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy ProtocolVersion -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [ProtocolVersion] -> Size Source # | |||||
NFData ProtocolVersion | |||||
Defined in Cardano.Chain.Update.ProtocolVersion Methods rnf :: ProtocolVersion -> () Source # | |||||
Buildable ProtocolVersion | |||||
Defined in Cardano.Chain.Update.ProtocolVersion Methods build :: ProtocolVersion -> Builder | |||||
Eq ProtocolVersion | |||||
Defined in Cardano.Chain.Update.ProtocolVersion Methods (==) :: ProtocolVersion -> ProtocolVersion -> Bool Source # (/=) :: ProtocolVersion -> ProtocolVersion -> Bool Source # | |||||
Ord ProtocolVersion | |||||
Defined in Cardano.Chain.Update.ProtocolVersion Methods compare :: ProtocolVersion -> ProtocolVersion -> Ordering Source # (<) :: ProtocolVersion -> ProtocolVersion -> Bool Source # (<=) :: ProtocolVersion -> ProtocolVersion -> Bool Source # (>) :: ProtocolVersion -> ProtocolVersion -> Bool Source # (>=) :: ProtocolVersion -> ProtocolVersion -> Bool Source # max :: ProtocolVersion -> ProtocolVersion -> ProtocolVersion Source # min :: ProtocolVersion -> ProtocolVersion -> ProtocolVersion Source # | |||||
NoThunks ProtocolVersion | |||||
Defined in Cardano.Chain.Update.ProtocolVersion Methods noThunks :: Context -> ProtocolVersion -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> ProtocolVersion -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy ProtocolVersion -> String # | |||||
type Rep ProtocolVersion | |||||
Defined in Cardano.Chain.Update.ProtocolVersion type Rep ProtocolVersion = D1 ('MetaData "ProtocolVersion" "Cardano.Chain.Update.ProtocolVersion" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "ProtocolVersion" 'PrefixI 'True) (S1 ('MetaSel ('Just "pvMajor") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word16) :*: (S1 ('MetaSel ('Just "pvMinor") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word16) :*: S1 ('MetaSel ('Just "pvAlt") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word8)))) |
data SoftforkRule Source #
Values defining softfork resolution rule
If a proposal is confirmed at the s
-th epoch, softfork resolution
threshold at the t
-th epoch will be 'max spMinThd (spInitThd - (t - s) *
spThdDecrement)'.
Softfork resolution threshold is the portion of total stake such that if total stake of issuers of blocks with some block version is greater than this portion, this block version becomes adopted.
Constructors
SoftforkRule | |
Fields
|
Instances
ToJSON SoftforkRule | |||||
Defined in Cardano.Chain.Update.SoftforkRule Methods toJSON :: SoftforkRule -> Value # toEncoding :: SoftforkRule -> Encoding # toJSONList :: [SoftforkRule] -> Value # toEncodingList :: [SoftforkRule] -> Encoding # omitField :: SoftforkRule -> Bool # | |||||
Generic SoftforkRule | |||||
Defined in Cardano.Chain.Update.SoftforkRule Associated Types
Methods from :: SoftforkRule -> Rep SoftforkRule x Source # to :: Rep SoftforkRule x -> SoftforkRule Source # | |||||
Show SoftforkRule | |||||
Defined in Cardano.Chain.Update.SoftforkRule | |||||
FromCBOR SoftforkRule | |||||
Defined in Cardano.Chain.Update.SoftforkRule | |||||
ToCBOR SoftforkRule | |||||
Defined in Cardano.Chain.Update.SoftforkRule Methods toCBOR :: SoftforkRule -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy SoftforkRule -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SoftforkRule] -> Size Source # | |||||
DecCBOR SoftforkRule | |||||
Defined in Cardano.Chain.Update.SoftforkRule | |||||
EncCBOR SoftforkRule | |||||
Defined in Cardano.Chain.Update.SoftforkRule Methods encCBOR :: SoftforkRule -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy SoftforkRule -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [SoftforkRule] -> Size Source # | |||||
NFData SoftforkRule | |||||
Defined in Cardano.Chain.Update.SoftforkRule Methods rnf :: SoftforkRule -> () Source # | |||||
Buildable SoftforkRule | |||||
Defined in Cardano.Chain.Update.SoftforkRule Methods build :: SoftforkRule -> Builder | |||||
Eq SoftforkRule | |||||
Defined in Cardano.Chain.Update.SoftforkRule Methods (==) :: SoftforkRule -> SoftforkRule -> Bool Source # (/=) :: SoftforkRule -> SoftforkRule -> Bool Source # | |||||
Ord SoftforkRule | |||||
Defined in Cardano.Chain.Update.SoftforkRule Methods compare :: SoftforkRule -> SoftforkRule -> Ordering Source # (<) :: SoftforkRule -> SoftforkRule -> Bool Source # (<=) :: SoftforkRule -> SoftforkRule -> Bool Source # (>) :: SoftforkRule -> SoftforkRule -> Bool Source # (>=) :: SoftforkRule -> SoftforkRule -> Bool Source # max :: SoftforkRule -> SoftforkRule -> SoftforkRule Source # min :: SoftforkRule -> SoftforkRule -> SoftforkRule Source # | |||||
NoThunks SoftforkRule | |||||
Defined in Cardano.Chain.Update.SoftforkRule Methods noThunks :: Context -> SoftforkRule -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> SoftforkRule -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy SoftforkRule -> String # | |||||
MonadError SchemaError m => FromJSON m SoftforkRule | |||||
Defined in Cardano.Chain.Update.SoftforkRule Methods fromJSON :: JSValue -> m SoftforkRule | |||||
Monad m => ToJSON m SoftforkRule | |||||
Defined in Cardano.Chain.Update.SoftforkRule Methods toJSON :: SoftforkRule -> m JSValue | |||||
type Rep SoftforkRule | |||||
Defined in Cardano.Chain.Update.SoftforkRule type Rep SoftforkRule = D1 ('MetaData "SoftforkRule" "Cardano.Chain.Update.SoftforkRule" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "SoftforkRule" 'PrefixI 'True) (S1 ('MetaSel ('Just "srInitThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion) :*: (S1 ('MetaSel ('Just "srMinThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion) :*: S1 ('MetaSel ('Just "srThdDecrement") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion)))) |
data SoftwareVersion Source #
Software version
Constructors
SoftwareVersion | |
Fields |
Instances
ToJSON SoftwareVersion | |||||
Defined in Cardano.Chain.Update.SoftwareVersion Methods toJSON :: SoftwareVersion -> Value # toEncoding :: SoftwareVersion -> Encoding # toJSONList :: [SoftwareVersion] -> Value # toEncodingList :: [SoftwareVersion] -> Encoding # omitField :: SoftwareVersion -> Bool # | |||||
Generic SoftwareVersion | |||||
Defined in Cardano.Chain.Update.SoftwareVersion Associated Types
Methods from :: SoftwareVersion -> Rep SoftwareVersion x Source # to :: Rep SoftwareVersion x -> SoftwareVersion Source # | |||||
Show SoftwareVersion | |||||
Defined in Cardano.Chain.Update.SoftwareVersion | |||||
FromCBOR SoftwareVersion | |||||
Defined in Cardano.Chain.Update.SoftwareVersion | |||||
ToCBOR SoftwareVersion | |||||
Defined in Cardano.Chain.Update.SoftwareVersion Methods toCBOR :: SoftwareVersion -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy SoftwareVersion -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SoftwareVersion] -> Size Source # | |||||
DecCBOR SoftwareVersion | |||||
Defined in Cardano.Chain.Update.SoftwareVersion | |||||
EncCBOR SoftwareVersion | |||||
Defined in Cardano.Chain.Update.SoftwareVersion Methods encCBOR :: SoftwareVersion -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy SoftwareVersion -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [SoftwareVersion] -> Size Source # | |||||
NFData SoftwareVersion | |||||
Defined in Cardano.Chain.Update.SoftwareVersion Methods rnf :: SoftwareVersion -> () Source # | |||||
Buildable SoftwareVersion | |||||
Defined in Cardano.Chain.Update.SoftwareVersion Methods build :: SoftwareVersion -> Builder | |||||
Eq SoftwareVersion | |||||
Defined in Cardano.Chain.Update.SoftwareVersion Methods (==) :: SoftwareVersion -> SoftwareVersion -> Bool Source # (/=) :: SoftwareVersion -> SoftwareVersion -> Bool Source # | |||||
Ord SoftwareVersion | |||||
Defined in Cardano.Chain.Update.SoftwareVersion Methods compare :: SoftwareVersion -> SoftwareVersion -> Ordering Source # (<) :: SoftwareVersion -> SoftwareVersion -> Bool Source # (<=) :: SoftwareVersion -> SoftwareVersion -> Bool Source # (>) :: SoftwareVersion -> SoftwareVersion -> Bool Source # (>=) :: SoftwareVersion -> SoftwareVersion -> Bool Source # max :: SoftwareVersion -> SoftwareVersion -> SoftwareVersion Source # min :: SoftwareVersion -> SoftwareVersion -> SoftwareVersion Source # | |||||
NoThunks SoftwareVersion | |||||
Defined in Cardano.Chain.Update.SoftwareVersion Methods noThunks :: Context -> SoftwareVersion -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> SoftwareVersion -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy SoftwareVersion -> String # | |||||
type Rep SoftwareVersion | |||||
Defined in Cardano.Chain.Update.SoftwareVersion type Rep SoftwareVersion = D1 ('MetaData "SoftwareVersion" "Cardano.Chain.Update.SoftwareVersion" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "SoftwareVersion" 'PrefixI 'True) (S1 ('MetaSel ('Just "svAppName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ApplicationName) :*: S1 ('MetaSel ('Just "svNumber") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 NumSoftwareVersion))) |
Tag of system for which update data is purposed, e.g. win64, mac32
Constructors
SystemTag | |
Fields
|
Instances
ToJSON SystemTag | |||||
Defined in Cardano.Chain.Update.SystemTag | |||||
ToJSONKey SystemTag | |||||
Defined in Cardano.Chain.Update.SystemTag | |||||
Generic SystemTag | |||||
Defined in Cardano.Chain.Update.SystemTag Associated Types
| |||||
Show SystemTag | |||||
FromCBOR SystemTag | |||||
ToCBOR SystemTag | |||||
DecCBOR SystemTag | |||||
EncCBOR SystemTag | |||||
NFData SystemTag | |||||
Defined in Cardano.Chain.Update.SystemTag | |||||
Buildable SystemTag | |||||
Defined in Cardano.Chain.Update.SystemTag | |||||
Eq SystemTag | |||||
Ord SystemTag | |||||
Defined in Cardano.Chain.Update.SystemTag | |||||
NoThunks SystemTag | |||||
type Rep SystemTag | |||||
Defined in Cardano.Chain.Update.SystemTag type Rep SystemTag = D1 ('MetaData "SystemTag" "Cardano.Chain.Update.SystemTag" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "SystemTag" 'PrefixI 'True) (S1 ('MetaSel ('Just "getSystemTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |
checkApplicationName :: MonadError ApplicationNameError m => ApplicationName -> m () Source #
Smart constructor of ApplicationName
checkSystemTag :: MonadError SystemTagError m => SystemTag -> m () Source #
Blocks, slots, and epochs
newtype BlockCount Source #
Constructors
BlockCount | |
Fields |
Instances
Enum BlockCount | |||||
Defined in Cardano.Chain.Common.BlockCount Methods succ :: BlockCount -> BlockCount Source # pred :: BlockCount -> BlockCount Source # toEnum :: Int -> BlockCount Source # fromEnum :: BlockCount -> Int Source # enumFrom :: BlockCount -> [BlockCount] Source # enumFromThen :: BlockCount -> BlockCount -> [BlockCount] Source # enumFromTo :: BlockCount -> BlockCount -> [BlockCount] Source # enumFromThenTo :: BlockCount -> BlockCount -> BlockCount -> [BlockCount] Source # | |||||
Generic BlockCount | |||||
Defined in Cardano.Chain.Common.BlockCount Associated Types
| |||||
Read BlockCount | |||||
Defined in Cardano.Chain.Common.BlockCount | |||||
Show BlockCount | |||||
Defined in Cardano.Chain.Common.BlockCount | |||||
FromCBOR BlockCount | |||||
Defined in Cardano.Chain.Common.BlockCount | |||||
ToCBOR BlockCount | |||||
Defined in Cardano.Chain.Common.BlockCount Methods toCBOR :: BlockCount -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy BlockCount -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BlockCount] -> Size Source # | |||||
DecCBOR BlockCount | |||||
Defined in Cardano.Chain.Common.BlockCount | |||||
EncCBOR BlockCount | |||||
Defined in Cardano.Chain.Common.BlockCount Methods encCBOR :: BlockCount -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy BlockCount -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [BlockCount] -> Size Source # | |||||
NFData BlockCount | |||||
Defined in Cardano.Chain.Common.BlockCount Methods rnf :: BlockCount -> () Source # | |||||
Buildable BlockCount | |||||
Defined in Cardano.Chain.Common.BlockCount Methods build :: BlockCount -> Builder | |||||
Eq BlockCount | |||||
Defined in Cardano.Chain.Common.BlockCount Methods (==) :: BlockCount -> BlockCount -> Bool Source # (/=) :: BlockCount -> BlockCount -> Bool Source # | |||||
Ord BlockCount | |||||
Defined in Cardano.Chain.Common.BlockCount Methods compare :: BlockCount -> BlockCount -> Ordering Source # (<) :: BlockCount -> BlockCount -> Bool Source # (<=) :: BlockCount -> BlockCount -> Bool Source # (>) :: BlockCount -> BlockCount -> Bool Source # (>=) :: BlockCount -> BlockCount -> Bool Source # max :: BlockCount -> BlockCount -> BlockCount Source # min :: BlockCount -> BlockCount -> BlockCount Source # | |||||
NoThunks BlockCount | |||||
Defined in Cardano.Chain.Common.BlockCount Methods noThunks :: Context -> BlockCount -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> BlockCount -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy BlockCount -> String # | |||||
type Rep BlockCount | |||||
Defined in Cardano.Chain.Common.BlockCount type Rep BlockCount = D1 ('MetaData "BlockCount" "Cardano.Chain.Common.BlockCount" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "BlockCount" 'PrefixI 'True) (S1 ('MetaSel ('Just "unBlockCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) |
newtype EpochNumber Source #
Index of epoch.
Constructors
EpochNumber | |
Fields |
Instances
ToJSON EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber Methods toJSON :: EpochNumber -> Value # toEncoding :: EpochNumber -> Encoding # toJSONList :: [EpochNumber] -> Value # toEncodingList :: [EpochNumber] -> Encoding # omitField :: EpochNumber -> Bool # | |||||
Data EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EpochNumber -> c EpochNumber Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EpochNumber Source # toConstr :: EpochNumber -> Constr Source # dataTypeOf :: EpochNumber -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EpochNumber) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EpochNumber) Source # gmapT :: (forall b. Data b => b -> b) -> EpochNumber -> EpochNumber Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EpochNumber -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EpochNumber -> r Source # gmapQ :: (forall d. Data d => d -> u) -> EpochNumber -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> EpochNumber -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> EpochNumber -> m EpochNumber Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EpochNumber -> m EpochNumber Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EpochNumber -> m EpochNumber Source # | |||||
Bounded EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber | |||||
Enum EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber Methods succ :: EpochNumber -> EpochNumber Source # pred :: EpochNumber -> EpochNumber Source # toEnum :: Int -> EpochNumber Source # fromEnum :: EpochNumber -> Int Source # enumFrom :: EpochNumber -> [EpochNumber] Source # enumFromThen :: EpochNumber -> EpochNumber -> [EpochNumber] Source # enumFromTo :: EpochNumber -> EpochNumber -> [EpochNumber] Source # enumFromThenTo :: EpochNumber -> EpochNumber -> EpochNumber -> [EpochNumber] Source # | |||||
Generic EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber Associated Types
Methods from :: EpochNumber -> Rep EpochNumber x Source # to :: Rep EpochNumber x -> EpochNumber Source # | |||||
Ix EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber Methods range :: (EpochNumber, EpochNumber) -> [EpochNumber] Source # index :: (EpochNumber, EpochNumber) -> EpochNumber -> Int Source # unsafeIndex :: (EpochNumber, EpochNumber) -> EpochNumber -> Int Source # inRange :: (EpochNumber, EpochNumber) -> EpochNumber -> Bool Source # rangeSize :: (EpochNumber, EpochNumber) -> Int Source # unsafeRangeSize :: (EpochNumber, EpochNumber) -> Int Source # | |||||
Num EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber Methods (+) :: EpochNumber -> EpochNumber -> EpochNumber Source # (-) :: EpochNumber -> EpochNumber -> EpochNumber Source # (*) :: EpochNumber -> EpochNumber -> EpochNumber Source # negate :: EpochNumber -> EpochNumber Source # abs :: EpochNumber -> EpochNumber Source # signum :: EpochNumber -> EpochNumber Source # fromInteger :: Integer -> EpochNumber Source # | |||||
Integral EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber Methods quot :: EpochNumber -> EpochNumber -> EpochNumber Source # rem :: EpochNumber -> EpochNumber -> EpochNumber Source # div :: EpochNumber -> EpochNumber -> EpochNumber Source # mod :: EpochNumber -> EpochNumber -> EpochNumber Source # quotRem :: EpochNumber -> EpochNumber -> (EpochNumber, EpochNumber) Source # divMod :: EpochNumber -> EpochNumber -> (EpochNumber, EpochNumber) Source # toInteger :: EpochNumber -> Integer Source # | |||||
Real EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber Methods toRational :: EpochNumber -> Rational Source # | |||||
Show EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber | |||||
FromCBOR EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber | |||||
ToCBOR EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber Methods toCBOR :: EpochNumber -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy EpochNumber -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [EpochNumber] -> Size Source # | |||||
DecCBOR EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber | |||||
EncCBOR EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber Methods encCBOR :: EpochNumber -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy EpochNumber -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [EpochNumber] -> Size Source # | |||||
NFData EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber Methods rnf :: EpochNumber -> () Source # | |||||
Buildable EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber Methods build :: EpochNumber -> Builder | |||||
Eq EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber Methods (==) :: EpochNumber -> EpochNumber -> Bool Source # (/=) :: EpochNumber -> EpochNumber -> Bool Source # | |||||
Ord EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber Methods compare :: EpochNumber -> EpochNumber -> Ordering Source # (<) :: EpochNumber -> EpochNumber -> Bool Source # (<=) :: EpochNumber -> EpochNumber -> Bool Source # (>) :: EpochNumber -> EpochNumber -> Bool Source # (>=) :: EpochNumber -> EpochNumber -> Bool Source # max :: EpochNumber -> EpochNumber -> EpochNumber Source # min :: EpochNumber -> EpochNumber -> EpochNumber Source # | |||||
NoThunks EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber Methods noThunks :: Context -> EpochNumber -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> EpochNumber -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy EpochNumber -> String # | |||||
MonadError SchemaError m => FromJSON m EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber Methods fromJSON :: JSValue -> m EpochNumber | |||||
Monad m => ToJSON m EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber Methods toJSON :: EpochNumber -> m JSValue | |||||
type Rep EpochNumber | |||||
Defined in Cardano.Chain.Slotting.EpochNumber type Rep EpochNumber = D1 ('MetaData "EpochNumber" "Cardano.Chain.Slotting.EpochNumber" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "EpochNumber" 'PrefixI 'True) (S1 ('MetaSel ('Just "getEpochNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) |
newtype SlotNumber Source #
SlotNumber
is an absolute slot number from the beginning of time
SlotNumber
is held in a Word64
. Assuming a slot every 20 seconds, Word64
is sufficient for slot indices for 10^13 years.
Constructors
SlotNumber | |
Fields |
Instances
ToJSON SlotNumber | |||||
Defined in Cardano.Chain.Slotting.SlotNumber Methods toJSON :: SlotNumber -> Value # toEncoding :: SlotNumber -> Encoding # toJSONList :: [SlotNumber] -> Value # toEncodingList :: [SlotNumber] -> Encoding # omitField :: SlotNumber -> Bool # | |||||
Generic SlotNumber | |||||
Defined in Cardano.Chain.Slotting.SlotNumber Associated Types
| |||||
Num SlotNumber | |||||
Defined in Cardano.Chain.Slotting.SlotNumber Methods (+) :: SlotNumber -> SlotNumber -> SlotNumber Source # (-) :: SlotNumber -> SlotNumber -> SlotNumber Source # (*) :: SlotNumber -> SlotNumber -> SlotNumber Source # negate :: SlotNumber -> SlotNumber Source # abs :: SlotNumber -> SlotNumber Source # signum :: SlotNumber -> SlotNumber Source # fromInteger :: Integer -> SlotNumber Source # | |||||
Show SlotNumber | |||||
Defined in Cardano.Chain.Slotting.SlotNumber | |||||
FromCBOR SlotNumber | |||||
Defined in Cardano.Chain.Slotting.SlotNumber | |||||
ToCBOR SlotNumber | |||||
Defined in Cardano.Chain.Slotting.SlotNumber Methods toCBOR :: SlotNumber -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy SlotNumber -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SlotNumber] -> Size Source # | |||||
DecCBOR SlotNumber | |||||
Defined in Cardano.Chain.Slotting.SlotNumber | |||||
EncCBOR SlotNumber | |||||
Defined in Cardano.Chain.Slotting.SlotNumber Methods encCBOR :: SlotNumber -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy SlotNumber -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [SlotNumber] -> Size Source # | |||||
NFData SlotNumber | |||||
Defined in Cardano.Chain.Slotting.SlotNumber Methods rnf :: SlotNumber -> () Source # | |||||
Buildable SlotNumber | |||||
Defined in Cardano.Chain.Slotting.SlotNumber Methods build :: SlotNumber -> Builder | |||||
Eq SlotNumber | |||||
Defined in Cardano.Chain.Slotting.SlotNumber Methods (==) :: SlotNumber -> SlotNumber -> Bool Source # (/=) :: SlotNumber -> SlotNumber -> Bool Source # | |||||
Ord SlotNumber | |||||
Defined in Cardano.Chain.Slotting.SlotNumber Methods compare :: SlotNumber -> SlotNumber -> Ordering Source # (<) :: SlotNumber -> SlotNumber -> Bool Source # (<=) :: SlotNumber -> SlotNumber -> Bool Source # (>) :: SlotNumber -> SlotNumber -> Bool Source # (>=) :: SlotNumber -> SlotNumber -> Bool Source # max :: SlotNumber -> SlotNumber -> SlotNumber Source # min :: SlotNumber -> SlotNumber -> SlotNumber Source # | |||||
NoThunks SlotNumber | |||||
Defined in Cardano.Chain.Slotting.SlotNumber Methods noThunks :: Context -> SlotNumber -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> SlotNumber -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy SlotNumber -> String # | |||||
MonadError SchemaError m => FromJSON m SlotNumber | |||||
Defined in Cardano.Chain.Slotting.SlotNumber Methods fromJSON :: JSValue -> m SlotNumber | |||||
Monad m => ToJSON m SlotNumber | |||||
Defined in Cardano.Chain.Slotting.SlotNumber Methods toJSON :: SlotNumber -> m JSValue | |||||
type Rep SlotNumber | |||||
Defined in Cardano.Chain.Slotting.SlotNumber type Rep SlotNumber = D1 ('MetaData "SlotNumber" "Cardano.Chain.Slotting.SlotNumber" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "SlotNumber" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSlotNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) |
decCBORABlockOrBoundary :: EpochSlots -> Decoder s (ABlockOrBoundary ByteSpan) Source #
Decode a Block
accounting for deprecated epoch boundary blocks
Previous versions of Cardano had an explicit boundary block between epochs.
A Block
was then represented as 'Either BoundaryBlock MainBlock'. We have
now deprecated these explicit boundary blocks, but we still need to decode
blocks in the old format. In the case that we find a boundary block, we
drop it using dropBoundaryBlock
and return a Nothing
.
UTxO components
Constructors
ATxAux | |
Fields
|
Instances
Functor ATxAux | |||||
FromCBOR TxAux | |||||
ToCBOR TxAux | |||||
DecCBOR TxAux | |||||
EncCBOR TxAux | |||||
Buildable TxAux | |||||
Defined in Cardano.Chain.UTxO.TxAux | |||||
ToJSON a => ToJSON (ATxAux a) | |||||
Defined in Cardano.Chain.UTxO.TxAux | |||||
Generic (ATxAux a) | |||||
Defined in Cardano.Chain.UTxO.TxAux Associated Types
| |||||
Show a => Show (ATxAux a) | |||||
FromCBOR (ATxAux ByteSpan) | |||||
Decoded (ATxAux ByteString) | |||||
Defined in Cardano.Chain.UTxO.TxAux Associated Types
Methods | |||||
DecCBOR (ATxAux ByteSpan) | |||||
NFData a => NFData (ATxAux a) | |||||
Defined in Cardano.Chain.UTxO.TxAux | |||||
Eq a => Eq (ATxAux a) | |||||
type Rep (ATxAux a) | |||||
Defined in Cardano.Chain.UTxO.TxAux type Rep (ATxAux a) = D1 ('MetaData "ATxAux" "Cardano.Chain.UTxO.TxAux" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "ATxAux" 'PrefixI 'True) (S1 ('MetaSel ('Just "aTaTx") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Annotated Tx a)) :*: (S1 ('MetaSel ('Just "aTaWitness") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Annotated TxWitness a)) :*: S1 ('MetaSel ('Just "aTaAnnotation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a)))) | |||||
type BaseType (ATxAux ByteString) | |||||
Defined in Cardano.Chain.UTxO.TxAux |
data CompactTxIn Source #
A compact in-memory representation for a TxIn
.
Convert using toCompactTxIn
and fromCompactTxIn
.
Instances
Generic CompactTxIn | |||||
Defined in Cardano.Chain.UTxO.Compact Associated Types
Methods from :: CompactTxIn -> Rep CompactTxIn x Source # to :: Rep CompactTxIn x -> CompactTxIn Source # | |||||
Show CompactTxIn | |||||
Defined in Cardano.Chain.UTxO.Compact | |||||
FromCBOR CompactTxIn | |||||
Defined in Cardano.Chain.UTxO.Compact | |||||
ToCBOR CompactTxIn | |||||
Defined in Cardano.Chain.UTxO.Compact Methods toCBOR :: CompactTxIn -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy CompactTxIn -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [CompactTxIn] -> Size Source # | |||||
DecCBOR CompactTxIn | |||||
Defined in Cardano.Chain.UTxO.Compact | |||||
EncCBOR CompactTxIn | |||||
Defined in Cardano.Chain.UTxO.Compact Methods encCBOR :: CompactTxIn -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy CompactTxIn -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [CompactTxIn] -> Size Source # | |||||
NFData CompactTxIn | |||||
Defined in Cardano.Chain.UTxO.Compact Methods rnf :: CompactTxIn -> () Source # | |||||
Eq CompactTxIn | |||||
Defined in Cardano.Chain.UTxO.Compact Methods (==) :: CompactTxIn -> CompactTxIn -> Bool Source # (/=) :: CompactTxIn -> CompactTxIn -> Bool Source # | |||||
Ord CompactTxIn | |||||
Defined in Cardano.Chain.UTxO.Compact Methods compare :: CompactTxIn -> CompactTxIn -> Ordering Source # (<) :: CompactTxIn -> CompactTxIn -> Bool Source # (<=) :: CompactTxIn -> CompactTxIn -> Bool Source # (>) :: CompactTxIn -> CompactTxIn -> Bool Source # (>=) :: CompactTxIn -> CompactTxIn -> Bool Source # max :: CompactTxIn -> CompactTxIn -> CompactTxIn Source # min :: CompactTxIn -> CompactTxIn -> CompactTxIn Source # | |||||
HeapWords CompactTxIn | |||||
Defined in Cardano.Chain.UTxO.Compact Methods heapWords :: CompactTxIn -> Int | |||||
NoThunks CompactTxIn | |||||
Defined in Cardano.Chain.UTxO.Compact Methods noThunks :: Context -> CompactTxIn -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> CompactTxIn -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy CompactTxIn -> String # | |||||
type Rep CompactTxIn | |||||
Defined in Cardano.Chain.UTxO.Compact type Rep CompactTxIn = D1 ('MetaData "CompactTxIn" "Cardano.Chain.UTxO.Compact" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "CompactTxInUtxo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 CompactTxId) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 Word16))) |
data CompactTxOut Source #
A compact in-memory representation for a TxOut
.
Convert using toCompactTxOut
and fromCompactTxOut
.
Instances
Generic CompactTxOut | |||||
Defined in Cardano.Chain.UTxO.Compact Associated Types
Methods from :: CompactTxOut -> Rep CompactTxOut x Source # to :: Rep CompactTxOut x -> CompactTxOut Source # | |||||
Show CompactTxOut | |||||
Defined in Cardano.Chain.UTxO.Compact | |||||
FromCBOR CompactTxOut | |||||
Defined in Cardano.Chain.UTxO.Compact | |||||
ToCBOR CompactTxOut | |||||
Defined in Cardano.Chain.UTxO.Compact Methods toCBOR :: CompactTxOut -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy CompactTxOut -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [CompactTxOut] -> Size Source # | |||||
DecCBOR CompactTxOut | |||||
Defined in Cardano.Chain.UTxO.Compact | |||||
EncCBOR CompactTxOut | |||||
Defined in Cardano.Chain.UTxO.Compact Methods encCBOR :: CompactTxOut -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy CompactTxOut -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [CompactTxOut] -> Size Source # | |||||
NFData CompactTxOut | |||||
Defined in Cardano.Chain.UTxO.Compact Methods rnf :: CompactTxOut -> () Source # | |||||
Eq CompactTxOut | |||||
Defined in Cardano.Chain.UTxO.Compact Methods (==) :: CompactTxOut -> CompactTxOut -> Bool Source # (/=) :: CompactTxOut -> CompactTxOut -> Bool Source # | |||||
Ord CompactTxOut | |||||
Defined in Cardano.Chain.UTxO.Compact Methods compare :: CompactTxOut -> CompactTxOut -> Ordering Source # (<) :: CompactTxOut -> CompactTxOut -> Bool Source # (<=) :: CompactTxOut -> CompactTxOut -> Bool Source # (>) :: CompactTxOut -> CompactTxOut -> Bool Source # (>=) :: CompactTxOut -> CompactTxOut -> Bool Source # max :: CompactTxOut -> CompactTxOut -> CompactTxOut Source # min :: CompactTxOut -> CompactTxOut -> CompactTxOut Source # | |||||
HeapWords CompactTxOut | |||||
Defined in Cardano.Chain.UTxO.Compact Methods heapWords :: CompactTxOut -> Int | |||||
NoThunks CompactTxOut | |||||
Defined in Cardano.Chain.UTxO.Compact Methods noThunks :: Context -> CompactTxOut -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> CompactTxOut -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy CompactTxOut -> String # | |||||
type Rep CompactTxOut | |||||
Defined in Cardano.Chain.UTxO.Compact type Rep CompactTxOut = D1 ('MetaData "CompactTxOut" "Cardano.Chain.UTxO.Compact" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "CompactTxOut" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 CompactAddress) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 Lovelace))) |
Transaction
NB: transaction witnesses are stored separately
Constructors
UnsafeTx | |
Fields
|
Instances
ToJSON Tx | |||||
Defined in Cardano.Chain.UTxO.Tx | |||||
Generic Tx | |||||
Defined in Cardano.Chain.UTxO.Tx Associated Types
| |||||
Show Tx | |||||
FromCBOR Tx | |||||
ToCBOR Tx | |||||
DecCBOR Tx | |||||
EncCBOR Tx | |||||
NFData Tx | |||||
Defined in Cardano.Chain.UTxO.Tx | |||||
Buildable Tx | |||||
Defined in Cardano.Chain.UTxO.Tx | |||||
Eq Tx | |||||
Ord Tx | |||||
type Rep Tx | |||||
Defined in Cardano.Chain.UTxO.Tx type Rep Tx = D1 ('MetaData "Tx" "Cardano.Chain.UTxO.Tx" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "UnsafeTx" 'PrefixI 'True) (S1 ('MetaSel ('Just "txInputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (NonEmpty TxIn)) :*: (S1 ('MetaSel ('Just "txOutputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (NonEmpty TxOut)) :*: S1 ('MetaSel ('Just "txAttributes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxAttributes)))) |
Transaction arbitrary input
Constructors
TxInUtxo TxId Word16 | TxId = Which transaction's output is used | Word16 = Index of the output in transaction's outputs |
Instances
ToJSON TxIn | |||||
Defined in Cardano.Chain.UTxO.Tx | |||||
Generic TxIn | |||||
Defined in Cardano.Chain.UTxO.Tx Associated Types
| |||||
Show TxIn | |||||
FromCBOR TxIn | |||||
ToCBOR TxIn | |||||
DecCBOR TxIn | |||||
EncCBOR TxIn | |||||
NFData TxIn | |||||
Defined in Cardano.Chain.UTxO.Tx | |||||
Buildable TxIn | |||||
Defined in Cardano.Chain.UTxO.Tx | |||||
Eq TxIn | |||||
Ord TxIn | |||||
Defined in Cardano.Chain.UTxO.Tx | |||||
HeapWords TxIn | |||||
Defined in Cardano.Chain.UTxO.Tx | |||||
type Rep TxIn | |||||
Defined in Cardano.Chain.UTxO.Tx type Rep TxIn = D1 ('MetaData "TxIn" "Cardano.Chain.UTxO.Tx" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "TxInUtxo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxId) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word16))) |
Transaction output
Constructors
TxOut | |
Fields
|
Instances
ToJSON TxOut | |||||
Defined in Cardano.Chain.UTxO.Tx | |||||
Generic TxOut | |||||
Defined in Cardano.Chain.UTxO.Tx Associated Types
| |||||
Show TxOut | |||||
FromCBOR TxOut | |||||
ToCBOR TxOut | |||||
DecCBOR TxOut | |||||
EncCBOR TxOut | |||||
NFData TxOut | |||||
Defined in Cardano.Chain.UTxO.Tx | |||||
Buildable TxOut | |||||
Defined in Cardano.Chain.UTxO.Tx | |||||
Eq TxOut | |||||
Ord TxOut | |||||
Defined in Cardano.Chain.UTxO.Tx | |||||
HeapWords TxOut | |||||
Defined in Cardano.Chain.UTxO.Tx | |||||
type Rep TxOut | |||||
Defined in Cardano.Chain.UTxO.Tx type Rep TxOut = D1 ('MetaData "TxOut" "Cardano.Chain.UTxO.Tx" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "TxOut" 'PrefixI 'True) (S1 ('MetaSel ('Just "txOutAddress") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Address) :*: S1 ('MetaSel ('Just "txOutValue") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Lovelace))) |
Constructors
UTxO | |
Fields |
Instances
Generic UTxO | |||||
Defined in Cardano.Chain.UTxO.UTxO Associated Types
| |||||
Show UTxO | |||||
FromCBOR UTxO | |||||
ToCBOR UTxO | |||||
DecCBOR UTxO | |||||
EncCBOR UTxO | |||||
NFData UTxO | |||||
Defined in Cardano.Chain.UTxO.UTxO | |||||
Eq UTxO | |||||
HeapWords UTxO | |||||
Defined in Cardano.Chain.UTxO.UTxO | |||||
NoThunks UTxO | |||||
type Rep UTxO | |||||
Defined in Cardano.Chain.UTxO.UTxO type Rep UTxO = D1 ('MetaData "UTxO" "Cardano.Chain.UTxO.UTxO" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "UTxO" 'PrefixI 'True) (S1 ('MetaSel ('Just "unUTxO") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map CompactTxIn CompactTxOut)))) |
fromCompactTxIn :: CompactTxIn -> TxIn Source #
fromCompactTxOut :: CompactTxOut -> TxOut Source #
genesisUtxo :: Config -> UTxO Source #
Create initial UTxO
from balances defined in the genesis config
Delegation
data ACertificate a Source #
Delegation certificate allowing the delegateVK
to sign blocks on behalf
of issuerVK
Each delegator can publish at most one Certificate
per EpochNumber
, and
that EpochNumber
must correspond to the current or next EpochNumber
at
the time of publishing
Constructors
UnsafeACertificate | |
Fields
|
Instances
Functor ACertificate | |||||
Defined in Cardano.Chain.Delegation.Certificate Methods fmap :: (a -> b) -> ACertificate a -> ACertificate b Source # (<$) :: a -> ACertificate b -> ACertificate a Source # | |||||
FromCBOR Certificate | |||||
Defined in Cardano.Chain.Delegation.Certificate | |||||
ToCBOR Certificate | |||||
Defined in Cardano.Chain.Delegation.Certificate Methods toCBOR :: Certificate -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Certificate -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Certificate] -> Size Source # | |||||
DecCBOR Certificate | |||||
Defined in Cardano.Chain.Delegation.Certificate | |||||
EncCBOR Certificate | |||||
Defined in Cardano.Chain.Delegation.Certificate Methods encCBOR :: Certificate -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy Certificate -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [Certificate] -> Size Source # | |||||
MonadError SchemaError m => FromJSON m Certificate | |||||
Defined in Cardano.Chain.Delegation.Certificate Methods fromJSON :: JSValue -> m Certificate | |||||
Monad m => ToJSON m Certificate | |||||
Defined in Cardano.Chain.Delegation.Certificate Methods toJSON :: Certificate -> m JSValue | |||||
ToJSON a => ToJSON (ACertificate a) | |||||
Defined in Cardano.Chain.Delegation.Certificate Methods toJSON :: ACertificate a -> Value # toEncoding :: ACertificate a -> Encoding # toJSONList :: [ACertificate a] -> Value # toEncodingList :: [ACertificate a] -> Encoding # omitField :: ACertificate a -> Bool # | |||||
Generic (ACertificate a) | |||||
Defined in Cardano.Chain.Delegation.Certificate Associated Types
Methods from :: ACertificate a -> Rep (ACertificate a) x Source # to :: Rep (ACertificate a) x -> ACertificate a Source # | |||||
Show a => Show (ACertificate a) | |||||
Defined in Cardano.Chain.Delegation.Certificate | |||||
FromCBOR (ACertificate ByteSpan) | |||||
Defined in Cardano.Chain.Delegation.Certificate | |||||
Decoded (ACertificate ByteString) | |||||
Defined in Cardano.Chain.Delegation.Certificate Associated Types
Methods recoverBytes :: ACertificate ByteString -> ByteString Source # | |||||
DecCBOR (ACertificate ByteSpan) | |||||
NFData a => NFData (ACertificate a) | |||||
Defined in Cardano.Chain.Delegation.Certificate Methods rnf :: ACertificate a -> () Source # | |||||
Buildable (ACertificate a) | |||||
Defined in Cardano.Chain.Delegation.Certificate Methods build :: ACertificate a -> Builder | |||||
Eq a => Eq (ACertificate a) | |||||
Defined in Cardano.Chain.Delegation.Certificate Methods (==) :: ACertificate a -> ACertificate a -> Bool Source # (/=) :: ACertificate a -> ACertificate a -> Bool Source # | |||||
Ord a => Ord (ACertificate a) | |||||
Defined in Cardano.Chain.Delegation.Certificate Methods compare :: ACertificate a -> ACertificate a -> Ordering Source # (<) :: ACertificate a -> ACertificate a -> Bool Source # (<=) :: ACertificate a -> ACertificate a -> Bool Source # (>) :: ACertificate a -> ACertificate a -> Bool Source # (>=) :: ACertificate a -> ACertificate a -> Bool Source # max :: ACertificate a -> ACertificate a -> ACertificate a Source # min :: ACertificate a -> ACertificate a -> ACertificate a Source # | |||||
NoThunks a => NoThunks (ACertificate a) | |||||
Defined in Cardano.Chain.Delegation.Certificate Methods noThunks :: Context -> ACertificate a -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> ACertificate a -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (ACertificate a) -> String # | |||||
type Rep (ACertificate a) | |||||
Defined in Cardano.Chain.Delegation.Certificate type Rep (ACertificate a) = D1 ('MetaData "ACertificate" "Cardano.Chain.Delegation.Certificate" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "UnsafeACertificate" 'PrefixI 'True) ((S1 ('MetaSel ('Just "aEpoch") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Annotated EpochNumber a)) :*: S1 ('MetaSel ('Just "issuerVK") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 VerificationKey)) :*: (S1 ('MetaSel ('Just "delegateVK") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 VerificationKey) :*: (S1 ('MetaSel ('Just "signature") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Signature EpochNumber)) :*: S1 ('MetaSel ('Just "annotation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a))))) | |||||
type BaseType (ACertificate ByteString) | |||||
Defined in Cardano.Chain.Delegation.Certificate |
type Certificate = ACertificate () Source #
isValid :: Annotated ProtocolMagicId ByteString -> ACertificate ByteString -> Bool Source #
A Certificate
is valid if the Signature
is valid
signCertificate :: ProtocolMagicId -> VerificationKey -> EpochNumber -> SafeSigner -> Certificate Source #
Create a Certificate
, signing it with the provided safe signer.