cardano-cli-1.36.0
Safe HaskellNone
LanguageHaskell2010

Cardano.CLI.Shelley.Output

Documentation

data QueryKesPeriodInfoOutput Source #

Constructors

QueryKesPeriodInfoOutput 

Fields

data ScriptCostOutput Source #

Instances

Instances details
ToJSON ScriptCostOutput Source # 
Instance details

Defined in Cardano.CLI.Shelley.Output

Methods

toJSONScriptCostOutput → Value #

toEncodingScriptCostOutput → Encoding #

toJSONList ∷ [ScriptCostOutput] → Value #

toEncodingList ∷ [ScriptCostOutput] → Encoding #

renderScriptCosts Source #

Arguments

UTxO era 
ExecutionUnitPrices 
→ [(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 ExecutionUnits)

Post execution cost calculation mapping of script witness index to execution units.

Either PlutusScriptCostError [ScriptCostOutput]