Safe Haskell | None |
---|---|
Language | Haskell2010 |
Types that are used when writing to standard output or to files.
These types (and their encodings) are typically consumed by users of cardano-cli
.
Documentation
data PlutusScriptCostError Source #
Instances
Show PlutusScriptCostError Source # | |
Defined in Cardano.CLI.Types.Output | |
Error PlutusScriptCostError Source # | |
Defined in Cardano.CLI.Types.Output prettyError :: PlutusScriptCostError -> Doc ann # |
data QueryDRepStateOutput Source #
QueryDRepStateOutput | |
|
Instances
ToJSON QueryDRepStateOutput Source # | |
Defined in Cardano.CLI.Types.Output toJSON :: QueryDRepStateOutput -> Value toEncoding :: QueryDRepStateOutput -> Encoding toJSONList :: [QueryDRepStateOutput] -> Value toEncodingList :: [QueryDRepStateOutput] -> Encoding |
data QueryKesPeriodInfoOutput Source #
QueryKesPeriodInfoOutput | |
|
Instances
FromJSON QueryKesPeriodInfoOutput Source # | |
Defined in Cardano.CLI.Types.Output parseJSON :: Value -> Parser QueryKesPeriodInfoOutput parseJSONList :: Value -> Parser [QueryKesPeriodInfoOutput] | |
ToJSON QueryKesPeriodInfoOutput Source # | |
Defined in Cardano.CLI.Types.Output toJSON :: QueryKesPeriodInfoOutput -> Value toEncoding :: QueryKesPeriodInfoOutput -> Encoding toJSONList :: [QueryKesPeriodInfoOutput] -> Value toEncodingList :: [QueryKesPeriodInfoOutput] -> Encoding | |
Show QueryKesPeriodInfoOutput Source # | |
Defined in Cardano.CLI.Types.Output | |
Eq QueryKesPeriodInfoOutput Source # | |
Defined in Cardano.CLI.Types.Output |
data QueryTipLocalState mode Source #
data QueryTipLocalStateOutput Source #
Instances
FromJSON QueryTipLocalStateOutput Source # | |
Defined in Cardano.CLI.Types.Output parseJSON :: Value -> Parser QueryTipLocalStateOutput parseJSONList :: Value -> Parser [QueryTipLocalStateOutput] | |
ToJSON QueryTipLocalStateOutput Source # | |
Defined in Cardano.CLI.Types.Output toJSON :: QueryTipLocalStateOutput -> Value toEncoding :: QueryTipLocalStateOutput -> Encoding toJSONList :: [QueryTipLocalStateOutput] -> Value toEncodingList :: [QueryTipLocalStateOutput] -> Encoding | |
Show QueryTipLocalStateOutput Source # | |
Defined in Cardano.CLI.Types.Output |
data ScriptCostOutput Source #
Instances
ToJSON ScriptCostOutput Source # | |
Defined in Cardano.CLI.Types.Output toJSON :: ScriptCostOutput -> Value toEncoding :: ScriptCostOutput -> Encoding toJSONList :: [ScriptCostOutput] -> Value toEncodingList :: [ScriptCostOutput] -> Encoding omitField :: ScriptCostOutput -> Bool |
createOpCertIntervalInfo :: CurrentKesPeriod -> OpCertStartingKesPeriod -> OpCertEndingKesPeriod -> Maybe SlotsTillKesKeyExpiry -> OpCertIntervalInformation Source #
:: UTxO era | |
-> Prices | |
-> [(ScriptWitnessIndex, AnyScriptWitness era)] | Initial mapping of script witness index to actual script. We need this in order to know which script corresponds to the calculated execution units. |
-> Map ScriptWitnessIndex (Either ScriptExecutionError ([Text], ExecutionUnits)) | Post execution cost calculation mapping of script witness index to execution units. |
-> Either PlutusScriptCostError [ScriptCostOutput] |