| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.CLI.Type.Output
Description
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.Type.Output | |
| Error PlutusScriptCostError Source # | |
Defined in Cardano.CLI.Type.Output Methods prettyError :: PlutusScriptCostError -> Doc ann Source # | |
data QueryDRepStateOutput Source #
Constructors
| QueryDRepStateOutput | |
Fields
| |
Instances
| ToJSON QueryDRepStateOutput Source # | |
Defined in Cardano.CLI.Type.Output Methods toJSON :: QueryDRepStateOutput -> Value # toEncoding :: QueryDRepStateOutput -> Encoding # toJSONList :: [QueryDRepStateOutput] -> Value # toEncodingList :: [QueryDRepStateOutput] -> Encoding # omitField :: QueryDRepStateOutput -> Bool # | |
data QueryKesPeriodInfoOutput Source #
Constructors
| QueryKesPeriodInfoOutput | |
Fields
| |
Instances
| FromJSON QueryKesPeriodInfoOutput Source # | |
Defined in Cardano.CLI.Type.Output Methods parseJSON :: Value -> Parser QueryKesPeriodInfoOutput # parseJSONList :: Value -> Parser [QueryKesPeriodInfoOutput] # | |
| ToJSON QueryKesPeriodInfoOutput Source # | |
Defined in Cardano.CLI.Type.Output Methods toJSON :: QueryKesPeriodInfoOutput -> Value # toEncoding :: QueryKesPeriodInfoOutput -> Encoding # toJSONList :: [QueryKesPeriodInfoOutput] -> Value # toEncodingList :: [QueryKesPeriodInfoOutput] -> Encoding # | |
| Show QueryKesPeriodInfoOutput Source # | |
Defined in Cardano.CLI.Type.Output | |
| Eq QueryKesPeriodInfoOutput Source # | |
Defined in Cardano.CLI.Type.Output Methods (==) :: QueryKesPeriodInfoOutput -> QueryKesPeriodInfoOutput -> Bool Source # (/=) :: QueryKesPeriodInfoOutput -> QueryKesPeriodInfoOutput -> Bool Source # | |
data QueryTipLocalState mode Source #
Constructors
| QueryTipLocalState | |
Fields | |
data QueryTipLocalStateOutput Source #
Constructors
| QueryTipLocalStateOutput | |
Fields | |
Instances
| FromJSON QueryTipLocalStateOutput Source # | |
Defined in Cardano.CLI.Type.Output Methods parseJSON :: Value -> Parser QueryTipLocalStateOutput # parseJSONList :: Value -> Parser [QueryTipLocalStateOutput] # | |
| ToJSON QueryTipLocalStateOutput Source # | |
Defined in Cardano.CLI.Type.Output Methods toJSON :: QueryTipLocalStateOutput -> Value # toEncoding :: QueryTipLocalStateOutput -> Encoding # toJSONList :: [QueryTipLocalStateOutput] -> Value # toEncodingList :: [QueryTipLocalStateOutput] -> Encoding # | |
| Show QueryTipLocalStateOutput Source # | |
Defined in Cardano.CLI.Type.Output | |
data ScriptCostOutput Source #
Constructors
| ScriptCostOutput | |
Fields | |
Instances
| ToJSON ScriptCostOutput Source # | |
Defined in Cardano.CLI.Type.Output Methods toJSON :: ScriptCostOutput -> Value # toEncoding :: ScriptCostOutput -> Encoding # toJSONList :: [ScriptCostOutput] -> Value # toEncodingList :: [ScriptCostOutput] -> Encoding # omitField :: ScriptCostOutput -> Bool # | |
createOpCertIntervalInfo :: CurrentKesPeriod -> OpCertStartingKesPeriod -> OpCertEndingKesPeriod -> Maybe SlotsTillKesKeyExpiry -> OpCertIntervalInformation Source #
renderScriptCostsWithScriptHashesMap Source #
Arguments
| :: Prices | |
| -> Map ScriptWitnessIndex ScriptHash | Initial mapping of script witness index to script hash. 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] |