Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.Api.Certificate
Synopsis
- data Certificate era where
- ShelleyRelatedCertificate :: forall era. Typeable era => ShelleyToBabbageEra era -> ShelleyTxCert (ShelleyLedgerEra era) -> Certificate era
- ConwayCertificate :: forall era. Typeable era => ConwayEraOnwards era -> ConwayTxCert (ShelleyLedgerEra era) -> Certificate era
- data StakeAddressRequirements era where
- StakeAddrRegistrationConway :: forall era. ConwayEraOnwards era -> Coin -> StakeCredential -> StakeAddressRequirements era
- StakeAddrRegistrationPreConway :: forall era. ShelleyToBabbageEra era -> StakeCredential -> StakeAddressRequirements era
- data StakeDelegationRequirements era where
- StakeDelegationRequirementsConwayOnwards :: forall era. ConwayEraOnwards era -> StakeCredential -> Delegatee -> StakeDelegationRequirements era
- StakeDelegationRequirementsPreConway :: forall era. ShelleyToBabbageEra era -> StakeCredential -> PoolId -> StakeDelegationRequirements era
- makeStakeAddressDelegationCertificate :: StakeDelegationRequirements era -> Certificate era
- makeStakeAddressRegistrationCertificate :: StakeAddressRequirements era -> Certificate era
- makeStakeAddressUnregistrationCertificate :: StakeAddressRequirements era -> Certificate era
- type PoolId = Hash StakePoolKey
- data StakePoolRegistrationRequirements era where
- StakePoolRegistrationRequirementsConwayOnwards :: forall era. ConwayEraOnwards era -> PoolParams -> StakePoolRegistrationRequirements era
- StakePoolRegistrationRequirementsPreConway :: forall era. ShelleyToBabbageEra era -> PoolParams -> StakePoolRegistrationRequirements era
- data StakePoolRetirementRequirements era where
- StakePoolRetirementRequirementsConwayOnwards :: forall era. ConwayEraOnwards era -> PoolId -> EpochNo -> StakePoolRetirementRequirements era
- StakePoolRetirementRequirementsPreConway :: forall era. ShelleyToBabbageEra era -> PoolId -> EpochNo -> StakePoolRetirementRequirements era
- makeStakePoolRegistrationCertificate :: StakePoolRegistrationRequirements era -> Certificate era
- makeStakePoolRetirementCertificate :: StakePoolRetirementRequirements era -> Certificate era
- data StakePoolParameters = StakePoolParameters {}
- data StakePoolRelay
- = StakePoolRelayIp (Maybe IPv4) (Maybe IPv6) (Maybe PortNumber)
- | StakePoolRelayDnsARecord ByteString (Maybe PortNumber)
- | StakePoolRelayDnsSrvRecord ByteString
- data StakePoolMetadataReference = StakePoolMetadataReference {}
- data CommitteeColdkeyResignationRequirements era where
- CommitteeColdkeyResignationRequirements :: forall era. ConwayEraOnwards era -> Credential 'ColdCommitteeRole -> Maybe Anchor -> CommitteeColdkeyResignationRequirements era
- data CommitteeHotKeyAuthorizationRequirements era where
- CommitteeHotKeyAuthorizationRequirements :: forall era. ConwayEraOnwards era -> Credential 'ColdCommitteeRole -> Credential 'HotCommitteeRole -> CommitteeHotKeyAuthorizationRequirements era
- data DRepRegistrationRequirements era where
- DRepRegistrationRequirements :: forall era. ConwayEraOnwards era -> Credential 'DRepRole -> Coin -> DRepRegistrationRequirements era
- data DRepUnregistrationRequirements era where
- DRepUnregistrationRequirements :: forall era. ConwayEraOnwards era -> Credential 'DRepRole -> Coin -> DRepUnregistrationRequirements era
- data DRepUpdateRequirements era where
- DRepUpdateRequirements :: forall era. ConwayEraOnwards era -> Credential 'DRepRole -> DRepUpdateRequirements era
- makeCommitteeColdkeyResignationCertificate :: Typeable era => CommitteeColdkeyResignationRequirements era -> Certificate era
- makeCommitteeHotKeyAuthorizationCertificate :: Typeable era => CommitteeHotKeyAuthorizationRequirements era -> Certificate era
- makeDrepRegistrationCertificate :: Typeable era => DRepRegistrationRequirements era -> Maybe Anchor -> Certificate era
- makeDrepUnregistrationCertificate :: Typeable era => DRepUnregistrationRequirements era -> Certificate era
- makeDrepUpdateCertificate :: Typeable era => DRepUpdateRequirements era -> Maybe Anchor -> Certificate era
- makeStakeAddressAndDRepDelegationCertificate :: ConwayEraOnwards era -> StakeCredential -> Delegatee -> Coin -> Certificate era
- data DRepMetadataReference = DRepMetadataReference {}
- data GenesisKeyDelegationRequirements era where
- GenesisKeyDelegationRequirements :: forall era. ShelleyToBabbageEra era -> Hash GenesisKey -> Hash GenesisDelegateKey -> Hash VrfKey -> GenesisKeyDelegationRequirements era
- data MirCertificateRequirements era where
- MirCertificateRequirements :: forall era. ShelleyToBabbageEra era -> MIRPot -> MIRTarget -> MirCertificateRequirements era
- makeMIRCertificate :: Typeable era => MirCertificateRequirements era -> Certificate era
- makeGenesisKeyDelegationCertificate :: Typeable era => GenesisKeyDelegationRequirements era -> Certificate era
- data MIRTarget
- data MIRPot
- selectStakeCredentialWitness :: Certificate era -> Maybe StakeCredential
- data AnchorDataFromCertificateError = InvalidPoolMetadataHashError Url ByteString
- getAnchorDataFromCertificate :: Certificate era -> Either AnchorDataFromCertificateError (Maybe Anchor)
- toShelleyCertificate :: Certificate era -> TxCert (ShelleyLedgerEra era)
- fromShelleyCertificate :: ShelleyBasedEra era -> TxCert (ShelleyLedgerEra era) -> Certificate era
- toShelleyPoolParams :: StakePoolParameters -> PoolParams
- fromShelleyPoolParams :: PoolParams -> StakePoolParameters
- data family AsType t
- data family Hash keyrole
- data OperationalCertificate = OperationalCertificate !(OCert StandardCrypto) !(VerificationKey StakePoolKey)
- data OperationalCertificateIssueCounter = OperationalCertificateIssueCounter {}
- newtype KESPeriod = KESPeriod {
- unKESPeriod :: Word
- data OperationalCertIssueError = OperationalCertKeyMismatch (VerificationKey StakePoolKey) (VerificationKey StakePoolKey)
- getHotKey :: OperationalCertificate -> VerificationKey KesKey
- getKesPeriod :: OperationalCertificate -> Word
- getOpCertCount :: OperationalCertificate -> Word64
- issueOperationalCertificate :: VerificationKey KesKey -> Either AnyStakePoolSigningKey (SigningKey GenesisDelegateExtendedKey) -> KESPeriod -> OperationalCertificateIssueCounter -> Either OperationalCertIssueError (OperationalCertificate, OperationalCertificateIssueCounter)
- newtype DRepMetadata = DRepMetadata {}
- hashDRepMetadata :: ByteString -> (DRepMetadata, Hash DRepMetadata)
- data StakePoolMetadata = StakePoolMetadata {}
- validateAndHashStakePoolMetadata :: ByteString -> Either StakePoolMetadataValidationError (StakePoolMetadata, Hash StakePoolMetadata)
- data StakePoolMetadataValidationError
Documentation
data Certificate era where Source #
Constructors
ShelleyRelatedCertificate :: forall era. Typeable era => ShelleyToBabbageEra era -> ShelleyTxCert (ShelleyLedgerEra era) -> Certificate era | |
ConwayCertificate :: forall era. Typeable era => ConwayEraOnwards era -> ConwayTxCert (ShelleyLedgerEra era) -> Certificate era |
Instances
Registering stake address and delegating
data StakeAddressRequirements era where Source #
Constructors
StakeAddrRegistrationConway :: forall era. ConwayEraOnwards era -> Coin -> StakeCredential -> StakeAddressRequirements era | |
StakeAddrRegistrationPreConway :: forall era. ShelleyToBabbageEra era -> StakeCredential -> StakeAddressRequirements era |
data StakeDelegationRequirements era where Source #
Constructors
StakeDelegationRequirementsConwayOnwards :: forall era. ConwayEraOnwards era -> StakeCredential -> Delegatee -> StakeDelegationRequirements era | |
StakeDelegationRequirementsPreConway :: forall era. ShelleyToBabbageEra era -> StakeCredential -> PoolId -> StakeDelegationRequirements era |
makeStakeAddressDelegationCertificate :: StakeDelegationRequirements era -> Certificate era Source #
makeStakeAddressUnregistrationCertificate :: StakeAddressRequirements era -> Certificate era Source #
type PoolId = Hash StakePoolKey Source #
Registering stake pools
data StakePoolRegistrationRequirements era where Source #
Constructors
StakePoolRegistrationRequirementsConwayOnwards :: forall era. ConwayEraOnwards era -> PoolParams -> StakePoolRegistrationRequirements era | |
StakePoolRegistrationRequirementsPreConway :: forall era. ShelleyToBabbageEra era -> PoolParams -> StakePoolRegistrationRequirements era |
data StakePoolRetirementRequirements era where Source #
Constructors
StakePoolRetirementRequirementsConwayOnwards :: forall era. ConwayEraOnwards era -> PoolId -> EpochNo -> StakePoolRetirementRequirements era | |
StakePoolRetirementRequirementsPreConway :: forall era. ShelleyToBabbageEra era -> PoolId -> EpochNo -> StakePoolRetirementRequirements era |
makeStakePoolRegistrationCertificate :: StakePoolRegistrationRequirements era -> Certificate era Source #
makeStakePoolRetirementCertificate :: StakePoolRetirementRequirements era -> Certificate era Source #
data StakePoolParameters Source #
Constructors
StakePoolParameters | |
Instances
Show StakePoolParameters Source # | |
Defined in Cardano.Api.Certificate.Internal | |
Eq StakePoolParameters Source # | |
Defined in Cardano.Api.Certificate.Internal Methods (==) :: StakePoolParameters -> StakePoolParameters -> Bool Source # (/=) :: StakePoolParameters -> StakePoolParameters -> Bool Source # |
data StakePoolRelay Source #
Constructors
StakePoolRelayIp (Maybe IPv4) (Maybe IPv6) (Maybe PortNumber) | One or both of IPv4 & IPv6 |
StakePoolRelayDnsARecord ByteString (Maybe PortNumber) | An DNS name pointing to a |
StakePoolRelayDnsSrvRecord ByteString | A DNS name pointing to a |
Instances
Show StakePoolRelay Source # | |
Defined in Cardano.Api.Certificate.Internal | |
Eq StakePoolRelay Source # | |
Defined in Cardano.Api.Certificate.Internal Methods (==) :: StakePoolRelay -> StakePoolRelay -> Bool Source # (/=) :: StakePoolRelay -> StakePoolRelay -> Bool Source # |
data StakePoolMetadataReference Source #
Constructors
StakePoolMetadataReference | |
Instances
Show StakePoolMetadataReference Source # | |
Defined in Cardano.Api.Certificate.Internal | |
Eq StakePoolMetadataReference Source # | |
Defined in Cardano.Api.Certificate.Internal Methods (==) :: StakePoolMetadataReference -> StakePoolMetadataReference -> Bool Source # (/=) :: StakePoolMetadataReference -> StakePoolMetadataReference -> Bool Source # |
Conway specific certificates
data CommitteeColdkeyResignationRequirements era where Source #
Constructors
CommitteeColdkeyResignationRequirements :: forall era. ConwayEraOnwards era -> Credential 'ColdCommitteeRole -> Maybe Anchor -> CommitteeColdkeyResignationRequirements era |
data CommitteeHotKeyAuthorizationRequirements era where Source #
Constructors
CommitteeHotKeyAuthorizationRequirements :: forall era. ConwayEraOnwards era -> Credential 'ColdCommitteeRole -> Credential 'HotCommitteeRole -> CommitteeHotKeyAuthorizationRequirements era |
data DRepRegistrationRequirements era where Source #
Constructors
DRepRegistrationRequirements :: forall era. ConwayEraOnwards era -> Credential 'DRepRole -> Coin -> DRepRegistrationRequirements era |
data DRepUnregistrationRequirements era where Source #
Constructors
DRepUnregistrationRequirements :: forall era. ConwayEraOnwards era -> Credential 'DRepRole -> Coin -> DRepUnregistrationRequirements era |
data DRepUpdateRequirements era where Source #
Constructors
DRepUpdateRequirements :: forall era. ConwayEraOnwards era -> Credential 'DRepRole -> DRepUpdateRequirements era |
makeCommitteeColdkeyResignationCertificate :: Typeable era => CommitteeColdkeyResignationRequirements era -> Certificate era Source #
makeCommitteeHotKeyAuthorizationCertificate :: Typeable era => CommitteeHotKeyAuthorizationRequirements era -> Certificate era Source #
makeDrepRegistrationCertificate :: Typeable era => DRepRegistrationRequirements era -> Maybe Anchor -> Certificate era Source #
makeDrepUnregistrationCertificate :: Typeable era => DRepUnregistrationRequirements era -> Certificate era Source #
makeDrepUpdateCertificate :: Typeable era => DRepUpdateRequirements era -> Maybe Anchor -> Certificate era Source #
makeStakeAddressAndDRepDelegationCertificate :: ConwayEraOnwards era -> StakeCredential -> Delegatee -> Coin -> Certificate era Source #
Registering DReps
data DRepMetadataReference Source #
Constructors
DRepMetadataReference | |
Fields |
Instances
Show DRepMetadataReference Source # | |
Defined in Cardano.Api.Certificate.Internal | |
Eq DRepMetadataReference Source # | |
Defined in Cardano.Api.Certificate.Internal Methods (==) :: DRepMetadataReference -> DRepMetadataReference -> Bool Source # (/=) :: DRepMetadataReference -> DRepMetadataReference -> Bool Source # |
Special certificates
data GenesisKeyDelegationRequirements era where Source #
Constructors
GenesisKeyDelegationRequirements :: forall era. ShelleyToBabbageEra era -> Hash GenesisKey -> Hash GenesisDelegateKey -> Hash VrfKey -> GenesisKeyDelegationRequirements era |
data MirCertificateRequirements era where Source #
Constructors
MirCertificateRequirements :: forall era. ShelleyToBabbageEra era -> MIRPot -> MIRTarget -> MirCertificateRequirements era |
makeMIRCertificate :: Typeable era => MirCertificateRequirements era -> Certificate era Source #
makeGenesisKeyDelegationCertificate :: Typeable era => GenesisKeyDelegationRequirements era -> Certificate era Source #
MIRTarget specifies if funds from either the reserves or the treasury are to be handed out to a collection of reward accounts or instead transfered to the opposite pot.
Constructors
StakeAddressesMIR !(Map (Credential 'Staking) DeltaCoin) | |
SendToOppositePotMIR !Coin |
Instances
ToJSON MIRTarget | |||||
Defined in Cardano.Ledger.Shelley.TxCert | |||||
Generic MIRTarget | |||||
Defined in Cardano.Ledger.Shelley.TxCert Associated Types
| |||||
Show MIRTarget | |||||
DecCBOR MIRTarget | |||||
EncCBOR MIRTarget | |||||
NFData MIRTarget | |||||
Defined in Cardano.Ledger.Shelley.TxCert | |||||
Eq MIRTarget | |||||
Ord MIRTarget | |||||
Defined in Cardano.Ledger.Shelley.TxCert | |||||
NoThunks MIRTarget | |||||
type Rep MIRTarget | |||||
Defined in Cardano.Ledger.Shelley.TxCert type Rep MIRTarget = D1 ('MetaData "MIRTarget" "Cardano.Ledger.Shelley.TxCert" "cardano-ledger-shelley-1.16.0.0-c94e4acbae2c451b736d7fa131482fce1d6ffd0e83dcc66450421e4714554169" 'False) (C1 ('MetaCons "StakeAddressesMIR" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Map (Credential 'Staking) DeltaCoin))) :+: C1 ('MetaCons "SendToOppositePotMIR" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Coin))) |
Constructors
ReservesMIR | |
TreasuryMIR |
Instances
ToJSON MIRPot | |||||
Defined in Cardano.Ledger.Shelley.TxCert | |||||
Bounded MIRPot | |||||
Enum MIRPot | |||||
Defined in Cardano.Ledger.Shelley.TxCert Methods succ :: MIRPot -> MIRPot Source # pred :: MIRPot -> MIRPot Source # toEnum :: Int -> MIRPot Source # fromEnum :: MIRPot -> Int Source # enumFrom :: MIRPot -> [MIRPot] Source # enumFromThen :: MIRPot -> MIRPot -> [MIRPot] Source # enumFromTo :: MIRPot -> MIRPot -> [MIRPot] Source # enumFromThenTo :: MIRPot -> MIRPot -> MIRPot -> [MIRPot] Source # | |||||
Generic MIRPot | |||||
Defined in Cardano.Ledger.Shelley.TxCert Associated Types
| |||||
Show MIRPot | |||||
DecCBOR MIRPot | |||||
EncCBOR MIRPot | |||||
NFData MIRPot | |||||
Defined in Cardano.Ledger.Shelley.TxCert | |||||
Eq MIRPot | |||||
Ord MIRPot | |||||
Defined in Cardano.Ledger.Shelley.TxCert | |||||
NoThunks MIRPot | |||||
type Rep MIRPot | |||||
Defined in Cardano.Ledger.Shelley.TxCert type Rep MIRPot = D1 ('MetaData "MIRPot" "Cardano.Ledger.Shelley.TxCert" "cardano-ledger-shelley-1.16.0.0-c94e4acbae2c451b736d7fa131482fce1d6ffd0e83dcc66450421e4714554169" 'False) (C1 ('MetaCons "ReservesMIR" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TreasuryMIR" 'PrefixI 'False) (U1 :: Type -> Type)) |
selectStakeCredentialWitness :: Certificate era -> Maybe StakeCredential Source #
Get the stake credential witness for a certificate that requires it. Only stake address deregistration and delegation requires witnessing (witness can be script or key).
Anchor data
data AnchorDataFromCertificateError Source #
Constructors
InvalidPoolMetadataHashError Url ByteString |
Instances
Show AnchorDataFromCertificateError Source # | |
Defined in Cardano.Api.Certificate.Internal | |
Error AnchorDataFromCertificateError Source # | |
Defined in Cardano.Api.Certificate.Internal Methods prettyError :: AnchorDataFromCertificateError -> Doc ann Source # | |
Eq AnchorDataFromCertificateError Source # | |
Defined in Cardano.Api.Certificate.Internal |
getAnchorDataFromCertificate :: Certificate era -> Either AnchorDataFromCertificateError (Maybe Anchor) Source #
Get anchor data url and hash from a certificate. A return value of Nothing
means that the certificate does not contain anchor data.
Internal conversion functions
toShelleyCertificate :: Certificate era -> TxCert (ShelleyLedgerEra era) Source #
fromShelleyCertificate :: ShelleyBasedEra era -> TxCert (ShelleyLedgerEra era) -> Certificate era Source #
Data family instances
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 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 |
Operational Certificates
data OperationalCertificate Source #
Constructors
OperationalCertificate !(OCert StandardCrypto) !(VerificationKey StakePoolKey) |
Instances
Show OperationalCertificate Source # | |||||
HasTypeProxy OperationalCertificate Source # | |||||
Defined in Cardano.Api.Certificate.Internal.OperationalCertificate Associated Types
Methods proxyToAsType :: Proxy OperationalCertificate -> AsType OperationalCertificate Source # | |||||
SerialiseAsCBOR OperationalCertificate Source # | |||||
HasTextEnvelope OperationalCertificate Source # | |||||
FromCBOR OperationalCertificate Source # | |||||
ToCBOR OperationalCertificate Source # | |||||
Defined in Cardano.Api.Certificate.Internal.OperationalCertificate Methods toCBOR :: OperationalCertificate -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy OperationalCertificate -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [OperationalCertificate] -> Size Source # | |||||
Eq OperationalCertificate Source # | |||||
Defined in Cardano.Api.Certificate.Internal.OperationalCertificate Methods (==) :: OperationalCertificate -> OperationalCertificate -> Bool Source # (/=) :: OperationalCertificate -> OperationalCertificate -> Bool Source # | |||||
data AsType OperationalCertificate Source # | |||||
data OperationalCertificateIssueCounter Source #
Constructors
OperationalCertificateIssueCounter | |
Fields |
Instances
Show OperationalCertificateIssueCounter Source # | |||||
HasTypeProxy OperationalCertificateIssueCounter Source # | |||||
Defined in Cardano.Api.Certificate.Internal.OperationalCertificate Associated Types
| |||||
SerialiseAsCBOR OperationalCertificateIssueCounter Source # | |||||
HasTextEnvelope OperationalCertificateIssueCounter Source # | |||||
FromCBOR OperationalCertificateIssueCounter Source # | |||||
ToCBOR OperationalCertificateIssueCounter Source # | |||||
Defined in Cardano.Api.Certificate.Internal.OperationalCertificate Methods toCBOR :: OperationalCertificateIssueCounter -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy OperationalCertificateIssueCounter -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [OperationalCertificateIssueCounter] -> Size Source # | |||||
Eq OperationalCertificateIssueCounter Source # | |||||
data AsType OperationalCertificateIssueCounter Source # | |||||
Constructors
KESPeriod | |
Fields
|
Instances
Generic KESPeriod | |||||
Defined in Cardano.Protocol.TPraos.OCert Associated Types
| |||||
Show KESPeriod | |||||
FromCBOR KESPeriod | |||||
ToCBOR KESPeriod | |||||
DecCBOR KESPeriod | |||||
EncCBOR KESPeriod | |||||
Eq KESPeriod | |||||
Ord KESPeriod | |||||
Defined in Cardano.Protocol.TPraos.OCert | |||||
NoThunks KESPeriod | |||||
type Rep KESPeriod | |||||
Defined in Cardano.Protocol.TPraos.OCert type Rep KESPeriod = D1 ('MetaData "KESPeriod" "Cardano.Protocol.TPraos.OCert" "cardano-protocol-tpraos-1.4.0.0-1739c495f96e93e33d8a11e9cb0ca9102b3529e068a821f2e79fb7fa7325a9c2" 'True) (C1 ('MetaCons "KESPeriod" 'PrefixI 'True) (S1 ('MetaSel ('Just "unKESPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word))) |
data OperationalCertIssueError Source #
Constructors
OperationalCertKeyMismatch (VerificationKey StakePoolKey) (VerificationKey StakePoolKey) | The stake pool verification key expected for the
Order: pool vkey expected, pool skey supplied |
Instances
issueOperationalCertificate :: VerificationKey KesKey -> Either AnyStakePoolSigningKey (SigningKey GenesisDelegateExtendedKey) -> KESPeriod -> OperationalCertificateIssueCounter -> Either OperationalCertIssueError (OperationalCertificate, OperationalCertificateIssueCounter) Source #
DRep off-chain metadata
newtype DRepMetadata Source #
A representation of the required fields for off-chain drep metadata.
Constructors
DRepMetadata | |
Fields |
Instances
Show DRepMetadata Source # | |||||
HasTypeProxy DRepMetadata Source # | |||||
Defined in Cardano.Api.Certificate.Internal.DRepMetadata Associated Types
Methods proxyToAsType :: Proxy DRepMetadata -> AsType DRepMetadata Source # | |||||
Eq DRepMetadata Source # | |||||
Defined in Cardano.Api.Certificate.Internal.DRepMetadata Methods (==) :: DRepMetadata -> DRepMetadata -> Bool Source # (/=) :: DRepMetadata -> DRepMetadata -> Bool Source # | |||||
Show (Hash DRepMetadata) Source # | |||||
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 # | |||||
Eq (Hash DRepMetadata) Source # | |||||
Defined in Cardano.Api.Certificate.Internal.DRepMetadata Methods (==) :: Hash DRepMetadata -> Hash DRepMetadata -> Bool Source # (/=) :: Hash DRepMetadata -> Hash DRepMetadata -> Bool Source # | |||||
data AsType DRepMetadata Source # | |||||
newtype Hash DRepMetadata Source # | |||||
hashDRepMetadata :: ByteString -> (DRepMetadata, Hash DRepMetadata) Source #
Return the decoded metadata and the hash of the original bytes.
Stake pool off-chain metadata
data StakePoolMetadata Source #
A representation of the required fields for off-chain stake pool metadata.
Constructors
StakePoolMetadata | |
Fields
|
Instances
FromJSON StakePoolMetadata Source # | |||||
Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata Methods parseJSON :: Value -> Parser StakePoolMetadata # parseJSONList :: Value -> Parser [StakePoolMetadata] # | |||||
Show StakePoolMetadata Source # | |||||
HasTypeProxy StakePoolMetadata Source # | |||||
Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata Associated Types
Methods proxyToAsType :: Proxy StakePoolMetadata -> AsType StakePoolMetadata Source # | |||||
Eq StakePoolMetadata Source # | |||||
Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata Methods (==) :: StakePoolMetadata -> StakePoolMetadata -> Bool Source # (/=) :: StakePoolMetadata -> StakePoolMetadata -> Bool Source # | |||||
Show (Hash StakePoolMetadata) Source # | |||||
SerialiseAsRawBytes (Hash StakePoolMetadata) 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 # | |||||
data AsType StakePoolMetadata Source # | |||||
newtype Hash StakePoolMetadata Source # | |||||
validateAndHashStakePoolMetadata :: ByteString -> Either StakePoolMetadataValidationError (StakePoolMetadata, Hash StakePoolMetadata) Source #
Decode and validate the provided JSON-encoded bytes as StakePoolMetadata
.
Return the decoded metadata and the hash of the original bytes.
data StakePoolMetadataValidationError Source #
A stake pool metadata validation error.
Constructors
StakePoolMetadataJsonDecodeError !String | |
StakePoolMetadataInvalidLengthError | The length of the JSON-encoded stake pool metadata exceeds the maximum. |
Instances
Data StakePoolMetadataValidationError Source # | |
Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StakePoolMetadataValidationError -> c StakePoolMetadataValidationError Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StakePoolMetadataValidationError Source # toConstr :: StakePoolMetadataValidationError -> Constr Source # dataTypeOf :: StakePoolMetadataValidationError -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StakePoolMetadataValidationError) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StakePoolMetadataValidationError) Source # gmapT :: (forall b. Data b => b -> b) -> StakePoolMetadataValidationError -> StakePoolMetadataValidationError Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StakePoolMetadataValidationError -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StakePoolMetadataValidationError -> r Source # gmapQ :: (forall d. Data d => d -> u) -> StakePoolMetadataValidationError -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> StakePoolMetadataValidationError -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> StakePoolMetadataValidationError -> m StakePoolMetadataValidationError Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StakePoolMetadataValidationError -> m StakePoolMetadataValidationError Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StakePoolMetadataValidationError -> m StakePoolMetadataValidationError Source # | |
Show StakePoolMetadataValidationError Source # | |
Error StakePoolMetadataValidationError Source # | |
Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata Methods prettyError :: StakePoolMetadataValidationError -> Doc ann Source # | |
Eq StakePoolMetadataValidationError Source # | |