Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data TxAuxScriptsValidationError Source #
TxAuxScriptsNotSupportedInEra AnyCardanoEra | |
TxAuxScriptsLanguageError ScriptLanguageValidationError |
Instances
newtype TxGovDuplicateVotes era Source #
Instances
Error (TxGovDuplicateVotes era) Source # | |
Defined in Cardano.CLI.Types.Errors.TxValidationError prettyError :: TxGovDuplicateVotes era -> Doc ann # |
data TxNotSupportedInEraValidationError era Source #
TxNotSupportedInAnyCardanoEraValidationError Text AnyCardanoEra | First argument is the kind of data that is not supported. Second argument is the era that doesn't support the data. |
TxNotSupportedInShelleyBasedEraValidationError Text (ShelleyBasedEra era) | First argument is the kind of data that is not supported. Second argument is the Shelley era that doesn't support the data. |
Instances
Show (TxNotSupportedInEraValidationError era) Source # | |
Defined in Cardano.CLI.Types.Errors.TxValidationError | |
Error (TxNotSupportedInEraValidationError era) Source # | |
Defined in Cardano.CLI.Types.Errors.TxValidationError prettyError :: TxNotSupportedInEraValidationError era -> Doc ann # |
validateScriptSupportedInEra :: ShelleyBasedEra era -> ScriptInAnyLang -> Either ScriptLanguageValidationError (ScriptInEra era) Source #
validateTxAuxScripts :: ShelleyBasedEra era -> [ScriptInAnyLang] -> Either TxAuxScriptsValidationError (TxAuxScripts era) Source #
validateRequiredSigners :: ShelleyBasedEra era -> [Hash PaymentKey] -> Either (TxNotSupportedInEraValidationError era) (TxExtraKeyWitnesses era) Source #
validateTxReturnCollateral :: ShelleyBasedEra era -> Maybe (TxOut CtxTx era) -> Either (TxNotSupportedInEraValidationError era) (TxReturnCollateral CtxTx era) Source #
validateTxScriptValidity :: ShelleyBasedEra era -> Maybe ScriptValidity -> Either (TxNotSupportedInEraValidationError era) (TxScriptValidity era) Source #
validateTxTotalCollateral :: ShelleyBasedEra era -> Maybe Lovelace -> Either (TxNotSupportedInEraValidationError era) (TxTotalCollateral era) Source #
validateTxValidityLowerBound :: ShelleyBasedEra era -> Maybe SlotNo -> Either (TxNotSupportedInEraValidationError era) (TxValidityLowerBound era) Source #
validateUpdateProposalFile :: CardanoEra era -> Maybe UpdateProposalFile -> Either (TxNotSupportedInEraValidationError era) (Maybe (Featured ShelleyToBabbageEra era (Maybe UpdateProposalFile))) Source #
validateTxCurrentTreasuryValue :: ShelleyBasedEra era -> Maybe TxCurrentTreasuryValue -> Either (TxNotSupportedInEraValidationError era) (Maybe (Featured ConwayEraOnwards era (Maybe Lovelace))) Source #
validateTxTreasuryDonation :: ShelleyBasedEra era -> Maybe TxTreasuryDonation -> Either (TxNotSupportedInEraValidationError era) (Maybe (Featured ConwayEraOnwards era Lovelace)) Source #