Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data TxAuxScriptsValidationError Source #
TxAuxScriptsNotSupportedInEra AnyCardanoEra | |
TxAuxScriptsLanguageError ScriptLanguageValidationError |
Instances
newtype TxCertificatesValidationError Source #
data TxFeeValidationError Source #
TxFeatureImplicitFeesE AnyCardanoEra | Expected an explicit fee |
TxFeatureExplicitFeesE AnyCardanoEra | Expected an implicit fee |
Instances
newtype TxGovDuplicateVotes era Source #
Instances
Error (TxGovDuplicateVotes era) Source # | |
Defined in Cardano.CLI.Types.Errors.TxValidationError prettyError ∷ TxGovDuplicateVotes era → Doc ann Source # |
newtype TxScriptValidityValidationError Source #
newtype TxUpdateProposalValidationError Source #
newtype TxReturnCollateralValidationError Source #
newtype TxTotalCollateralValidationError Source #
newtype TxWithdrawalsValidationError Source #
convToTxProposalProcedures ∷ EraPParams (ShelleyLedgerEra era) ⇒ [(Proposal era, Maybe (ScriptWitness WitCtxStake era))] → TxProposalProcedures BuildTx era Source #
convertToTxVotingProcedures ∷ [(VotingProcedures era, Maybe (ScriptWitness WitCtxStake era))] → Either (TxGovDuplicateVotes era) (TxVotingProcedures BuildTx era) Source #
validateProtocolParameters ∷ CardanoEra era → Maybe (LedgerProtocolParameters era) → Either TxProtocolParametersValidationError (BuildTxWith BuildTx (Maybe (LedgerProtocolParameters era))) Source #
validateScriptSupportedInEra ∷ ShelleyBasedEra era → ScriptInAnyLang → Either ScriptLanguageValidationError (ScriptInEra era) Source #
validateTxAuxScripts ∷ ShelleyBasedEra era → [ScriptInAnyLang] → Either TxAuxScriptsValidationError (TxAuxScripts era) Source #
validateTxCertificates ∷ ∀ era. CardanoEra era → [(Certificate era, Maybe (ScriptWitness WitCtxStake era))] → Either TxCertificatesValidationError (TxCertificates BuildTx era) Source #
validateTxFee ∷ ShelleyBasedEra era → Maybe Coin → Either TxFeeValidationError (TxFee era) Source #
validateRequiredSigners ∷ CardanoEra era → [Hash PaymentKey] → Either TxRequiredSignersValidationError (TxExtraKeyWitnesses era) Source #
validateTxReturnCollateral ∷ CardanoEra era → Maybe (TxOut CtxTx era) → Either TxReturnCollateralValidationError (TxReturnCollateral CtxTx era) Source #
validateTxScriptValidity ∷ CardanoEra era → Maybe ScriptValidity → Either TxScriptValidityValidationError (TxScriptValidity era) Source #
validateTxTotalCollateral ∷ CardanoEra era → Maybe Coin → Either TxTotalCollateralValidationError (TxTotalCollateral era) Source #
validateTxValidityLowerBound ∷ CardanoEra era → Maybe SlotNo → Either TxValidityLowerBoundValidationError (TxValidityLowerBound era) Source #
validateTxWithdrawals ∷ ∀ era. CardanoEra era → [(StakeAddress, Coin, Maybe (ScriptWitness WitCtxStake era))] → Either TxWithdrawalsValidationError (TxWithdrawals BuildTx era) Source #