cardano-api-1.28.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.ProtocolParameters

Description

The various Cardano protocol parameters, including:

Synopsis

The updateable protocol paramaters

data ProtocolParameters Source #

The values of the set of updateable protocol paramaters. At any particular point on the chain there is a current set of paramaters in use.

These paramaters can be updated (at epoch boundaries) via an UpdateProposal, which contains a ProtocolParametersUpdate.

The ProtocolParametersUpdate is essentially a diff for the ProtocolParameters.

There are also paramaters fixed in the Genesis file. See GenesisParameters.

Constructors

ProtocolParameters 

Fields

Instances

Instances details
Eq ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Show ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Generic ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Associated Types

type Rep ProtocolParametersTypeType #

FromJSON ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser ProtocolParameters #

parseJSONList ∷ Value → Parser [ProtocolParameters] #

ToJSON ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSONProtocolParameters → Value #

toEncodingProtocolParameters → Encoding #

toJSONList ∷ [ProtocolParameters] → Value #

toEncodingList ∷ [ProtocolParameters] → Encoding #

type Rep ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

type Rep ProtocolParameters = D1 ('MetaData "ProtocolParameters" "Cardano.Api.ProtocolParameters" "cardano-api-1.28.0-inplace" 'False) (C1 ('MetaCons "ProtocolParameters" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "protocolParamProtocolVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Natural, Natural)) :*: (S1 ('MetaSel ('Just "protocolParamDecentralization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational) :*: S1 ('MetaSel ('Just "protocolParamExtraPraosEntropy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PraosNonce)))) :*: (S1 ('MetaSel ('Just "protocolParamMaxBlockHeaderSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "protocolParamMaxBlockBodySize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "protocolParamMaxTxSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))) :*: ((S1 ('MetaSel ('Just "protocolParamTxFeeFixed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "protocolParamTxFeePerByte") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "protocolParamMinUTxOValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelace)))) :*: (S1 ('MetaSel ('Just "protocolParamStakeAddressDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace) :*: (S1 ('MetaSel ('Just "protocolParamStakePoolDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace) :*: S1 ('MetaSel ('Just "protocolParamMinPoolCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace))))) :*: (((S1 ('MetaSel ('Just "protocolParamPoolRetireMaxEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EpochNo) :*: (S1 ('MetaSel ('Just "protocolParamStakePoolTargetNum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "protocolParamPoolPledgeInfluence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational))) :*: (S1 ('MetaSel ('Just "protocolParamMonetaryExpansion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational) :*: (S1 ('MetaSel ('Just "protocolParamTreasuryCut") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational) :*: S1 ('MetaSel ('Just "protocolParamUTxOCostPerWord") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelace))))) :*: ((S1 ('MetaSel ('Just "protocolParamCostModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map AnyPlutusScriptVersion CostModel)) :*: (S1 ('MetaSel ('Just "protocolParamPrices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExecutionUnitPrices)) :*: S1 ('MetaSel ('Just "protocolParamMaxTxExUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExecutionUnits)))) :*: ((S1 ('MetaSel ('Just "protocolParamMaxBlockExUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExecutionUnits)) :*: S1 ('MetaSel ('Just "protocolParamMaxValueSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "protocolParamCollateralPercent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "protocolParamMaxCollateralInputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Natural))))))))

data EpochNo #

Instances

Instances details
Enum EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Eq EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

(==)EpochNoEpochNoBool #

(/=)EpochNoEpochNoBool #

Num EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Ord EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

compareEpochNoEpochNoOrdering #

(<)EpochNoEpochNoBool #

(<=)EpochNoEpochNoBool #

(>)EpochNoEpochNoBool #

(>=)EpochNoEpochNoBool #

maxEpochNoEpochNoEpochNo #

minEpochNoEpochNoEpochNo #

Show EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

showsPrecIntEpochNoShowS #

showEpochNoString #

showList ∷ [EpochNo] → ShowS #

Generic EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Associated Types

type Rep EpochNoTypeType #

Methods

fromEpochNoRep EpochNo x #

toRep EpochNo x → EpochNo #

FromJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON ∷ Value → Parser EpochNo #

parseJSONList ∷ Value → Parser [EpochNo] #

NoThunks EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

noThunks ∷ Context → EpochNoIO (Maybe ThunkInfo)

wNoThunks ∷ Context → EpochNoIO (Maybe ThunkInfo)

showTypeOfProxy EpochNoString

ToJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSONEpochNo → Value #

toEncodingEpochNo → Encoding #

toJSONList ∷ [EpochNo] → Value #

toEncodingList ∷ [EpochNo] → Encoding #

FromCBOR EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

fromCBOR ∷ Decoder s EpochNo #

labelProxy EpochNoText #

ToCBOR EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toCBOREpochNo → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy EpochNo → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [EpochNo] → Size #

Serialise EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

encodeEpochNo → Encoding

decode ∷ Decoder s EpochNo

encodeList ∷ [EpochNo] → Encoding

decodeList ∷ Decoder s [EpochNo]

Condense EpochNo 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseEpochNoString

type Rep EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

type Rep EpochNo = D1 ('MetaData "EpochNo" "Cardano.Slotting.Slot" "cardano-slotting-0.1.0.0-74adb84e94ce7d7d929bce32b4990d7b16792c13a0fe2771677cf567ba68fab0" 'True) (C1 ('MetaCons "EpochNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unEpochNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

Updates to the protocol paramaters

data ProtocolParametersUpdate Source #

The representation of a change in the ProtocolParameters.

Constructors

ProtocolParametersUpdate 

Fields

Instances

Instances details
Eq ProtocolParametersUpdate Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Show ProtocolParametersUpdate Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Semigroup ProtocolParametersUpdate Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Monoid ProtocolParametersUpdate Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

FromCBOR ProtocolParametersUpdate Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

ToCBOR ProtocolParametersUpdate Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toCBORProtocolParametersUpdate → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ProtocolParametersUpdate → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ProtocolParametersUpdate] → Size #

PraosNonce

data PraosNonce Source #

Instances

Instances details
Eq PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

(==)PraosNoncePraosNonceBool #

(/=)PraosNoncePraosNonceBool #

Ord PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Show PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

IsString PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

fromStringStringPraosNonce #

Generic PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Associated Types

type Rep PraosNonceTypeType #

FromJSON PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser PraosNonce #

parseJSONList ∷ Value → Parser [PraosNonce] #

ToJSON PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSONPraosNonce → Value #

toEncodingPraosNonce → Encoding #

toJSONList ∷ [PraosNonce] → Value #

toEncodingList ∷ [PraosNonce] → Encoding #

FromCBOR PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

fromCBOR ∷ Decoder s PraosNonce #

labelProxy PraosNonceText #

ToCBOR PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toCBORPraosNonce → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy PraosNonce → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PraosNonce] → Size #

HasTypeProxy PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Associated Types

data AsType PraosNonce Source #

SerialiseAsRawBytes PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

type Rep PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

type Rep PraosNonce = D1 ('MetaData "PraosNonce" "Cardano.Api.ProtocolParameters" "cardano-api-1.28.0-inplace" 'True) (C1 ('MetaCons "PraosNonce" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Hash StandardCrypto ByteString))))
data AsType PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Execution units, prices and cost models,

data ExecutionUnits Source #

The units for how long a script executes for and how much memory it uses. This is used to declare the resources used by a particular use of a script.

This type is also used to describe the limits for the maximum overall execution units per transaction or per block.

Constructors

ExecutionUnits 

Fields

Instances

Instances details
Eq ExecutionUnits Source # 
Instance details

Defined in Cardano.Api.Script

Show ExecutionUnits Source # 
Instance details

Defined in Cardano.Api.Script

FromJSON ExecutionUnits Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON ∷ Value → Parser ExecutionUnits #

parseJSONList ∷ Value → Parser [ExecutionUnits] #

ToJSON ExecutionUnits Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONExecutionUnits → Value #

toEncodingExecutionUnits → Encoding #

toJSONList ∷ [ExecutionUnits] → Value #

toEncodingList ∷ [ExecutionUnits] → Encoding #

FromCBOR ExecutionUnits Source # 
Instance details

Defined in Cardano.Api.Script

Methods

fromCBOR ∷ Decoder s ExecutionUnits #

labelProxy ExecutionUnitsText #

ToCBOR ExecutionUnits Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toCBORExecutionUnits → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ExecutionUnits → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ExecutionUnits] → Size #

data ExecutionUnitPrices Source #

The prices for ExecutionUnits as a fraction of a Lovelace.

These are used to determine the fee for the use of a script within a transaction, based on the ExecutionUnits needed by the use of the script.

Instances

Instances details
Eq ExecutionUnitPrices Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Show ExecutionUnitPrices Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

FromJSON ExecutionUnitPrices Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser ExecutionUnitPrices #

parseJSONList ∷ Value → Parser [ExecutionUnitPrices] #

ToJSON ExecutionUnitPrices Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSONExecutionUnitPrices → Value #

toEncodingExecutionUnitPrices → Encoding #

toJSONList ∷ [ExecutionUnitPrices] → Value #

toEncodingList ∷ [ExecutionUnitPrices] → Encoding #

FromCBOR ExecutionUnitPrices Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

ToCBOR ExecutionUnitPrices Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toCBORExecutionUnitPrices → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ExecutionUnitPrices → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ExecutionUnitPrices] → Size #

newtype CostModel Source #

Constructors

CostModel (Map Text Integer) 

Instances

Instances details
Eq CostModel Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

(==)CostModelCostModelBool #

(/=)CostModelCostModelBool #

Show CostModel Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

showsPrecIntCostModelShowS #

showCostModelString #

showList ∷ [CostModel] → ShowS #

FromJSON CostModel Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser CostModel #

parseJSONList ∷ Value → Parser [CostModel] #

ToJSON CostModel Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSONCostModel → Value #

toEncodingCostModel → Encoding #

toJSONList ∷ [CostModel] → Value #

toEncodingList ∷ [CostModel] → Encoding #

FromCBOR CostModel Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

fromCBOR ∷ Decoder s CostModel #

labelProxy CostModelText #

ToCBOR CostModel Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toCBORCostModel → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy CostModel → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CostModel] → Size #

validateCostModelPlutusScriptVersion lang → CostModelEither InvalidCostModel () Source #

Update proposals to change the protocol paramaters

data UpdateProposal Source #

Instances

Instances details
Eq UpdateProposal Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Show UpdateProposal Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

FromCBOR UpdateProposal Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

fromCBOR ∷ Decoder s UpdateProposal #

labelProxy UpdateProposalText #

ToCBOR UpdateProposal Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toCBORUpdateProposal → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy UpdateProposal → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [UpdateProposal] → Size #

HasTypeProxy UpdateProposal Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Associated Types

data AsType UpdateProposal Source #

SerialiseAsCBOR UpdateProposal Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

HasTextEnvelope UpdateProposal Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType UpdateProposal Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Internal conversion functions

toLedgerUpdate ∷ ∀ era ledgerera. ShelleyLedgerEra era ~ ledgerera ⇒ Crypto ledgerera ~ StandardCrypto ⇒ ShelleyBasedEra era → UpdateProposal → Update ledgerera Source #

fromLedgerUpdate ∷ ∀ era ledgerera. ShelleyLedgerEra era ~ ledgerera ⇒ Crypto ledgerera ~ StandardCrypto ⇒ ShelleyBasedEra era → Update ledgerera → UpdateProposal Source #

toLedgerProposedPPUpdates ∷ ∀ era ledgerera. ShelleyLedgerEra era ~ ledgerera ⇒ Crypto ledgerera ~ StandardCrypto ⇒ ShelleyBasedEra era → Map (Hash GenesisKey) ProtocolParametersUpdate → ProposedPPUpdates ledgerera Source #

fromLedgerProposedPPUpdates ∷ ∀ era ledgerera. ShelleyLedgerEra era ~ ledgerera ⇒ Crypto ledgerera ~ StandardCrypto ⇒ ShelleyBasedEra era → ProposedPPUpdates ledgerera → Map (Hash GenesisKey) ProtocolParametersUpdate Source #

fromShelleyPParams ∷ PParams ledgerera → ProtocolParameters Source #

Data family instances

data family AsType t Source #

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

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

Instances

Instances details
data AsType AlonzoEra Source # 
Instance details

Defined in Cardano.Api.Eras

data AsType MaryEra Source # 
Instance details

Defined in Cardano.Api.Eras

data AsType AllegraEra Source # 
Instance details

Defined in Cardano.Api.Eras

data AsType ShelleyEra Source # 
Instance details

Defined in Cardano.Api.Eras

data AsType ByronEra Source # 
Instance details

Defined in Cardano.Api.Eras

data AsType TextEnvelope Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

data AsType TxMetadata Source # 
Instance details

Defined in Cardano.Api.TxMetadata

data AsType StakePoolKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType GenesisKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType StakeKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType ScriptData Source # 
Instance details

Defined in Cardano.Api.ScriptData

data AsType ScriptHash Source # 
Instance details

Defined in Cardano.Api.Script

data AsType ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

data AsType PlutusScriptV1 Source # 
Instance details

Defined in Cardano.Api.Script

data AsType SimpleScriptV2 Source # 
Instance details

Defined in Cardano.Api.Script

data AsType SimpleScriptV1 Source # 
Instance details

Defined in Cardano.Api.Script

data AsType ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.KeysByron

data AsType ByronKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

data AsType ByronVote Source # 
Instance details

Defined in Cardano.Api.SpecialByron

data AsType ByronUpdateProposal Source # 
Instance details

Defined in Cardano.Api.SpecialByron

data AsType VrfKey Source # 
Instance details

Defined in Cardano.Api.KeysPraos

data AsType KesKey Source # 
Instance details

Defined in Cardano.Api.KeysPraos

data AsType StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

data AsType StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

data AsType AddressAny Source # 
Instance details

Defined in Cardano.Api.Address

data AsType ShelleyAddr Source # 
Instance details

Defined in Cardano.Api.Address

data AsType ByronAddr Source # 
Instance details

Defined in Cardano.Api.Address

data AsType AssetName Source # 
Instance details

Defined in Cardano.Api.Value

data AsType PolicyId Source # 
Instance details

Defined in Cardano.Api.Value

data AsType UpdateProposal Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType Certificate Source # 
Instance details

Defined in Cardano.Api.Certificate

data AsType TxId Source # 
Instance details

Defined in Cardano.Api.TxBody

data AsType BlockHeader Source # 
Instance details

Defined in Cardano.Api.Block

data AsType OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

data AsType OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

data AsType (Hash a) Source # 
Instance details

Defined in Cardano.Api.Hash

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

Defined in Cardano.Api.Key

data AsType (SigningKey a) Source # 
Instance details

Defined in Cardano.Api.Key

data AsType (PlutusScript lang) Source # 
Instance details

Defined in Cardano.Api.Script

data AsType (SimpleScript lang) Source # 
Instance details

Defined in Cardano.Api.Script

data AsType (ScriptInEra era) Source # 
Instance details

Defined in Cardano.Api.Script

data AsType (Script lang) Source # 
Instance details

Defined in Cardano.Api.Script

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

Defined in Cardano.Api.Address

data AsType (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Address

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

Defined in Cardano.Api.TxBody

data AsType (TxBody era) = AsTxBody (AsType era)
data AsType (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx

data AsType (Tx era) Source # 
Instance details

Defined in Cardano.Api.Tx

data AsType (Tx era) = AsTx (AsType era)