Module

Ctl.Internal.Types.ProtocolParameters

#ProtocolParameters

newtype ProtocolParameters

Constructors

Instances

#CostModelV1

type CostModelV1 :: Row Typetype CostModelV1 = ("addInteger-cpu-arguments-intercept" :: Int, "addInteger-cpu-arguments-slope" :: Int, "addInteger-memory-arguments-intercept" :: Int, "addInteger-memory-arguments-slope" :: Int, "appendByteString-cpu-arguments-intercept" :: Int, "appendByteString-cpu-arguments-slope" :: Int, "appendByteString-memory-arguments-intercept" :: Int, "appendByteString-memory-arguments-slope" :: Int, "appendString-cpu-arguments-intercept" :: Int, "appendString-cpu-arguments-slope" :: Int, "appendString-memory-arguments-intercept" :: Int, "appendString-memory-arguments-slope" :: Int, "bData-cpu-arguments" :: Int, "bData-memory-arguments" :: Int, "blake2b_256-cpu-arguments-intercept" :: Int, "blake2b_256-cpu-arguments-slope" :: Int, "blake2b_256-memory-arguments" :: Int, "cekApplyCost-exBudgetCPU" :: Int, "cekApplyCost-exBudgetMemory" :: Int, "cekBuiltinCost-exBudgetCPU" :: Int, "cekBuiltinCost-exBudgetMemory" :: Int, "cekConstCost-exBudgetCPU" :: Int, "cekConstCost-exBudgetMemory" :: Int, "cekDelayCost-exBudgetCPU" :: Int, "cekDelayCost-exBudgetMemory" :: Int, "cekForceCost-exBudgetCPU" :: Int, "cekForceCost-exBudgetMemory" :: Int, "cekLamCost-exBudgetCPU" :: Int, "cekLamCost-exBudgetMemory" :: Int, "cekStartupCost-exBudgetCPU" :: Int, "cekStartupCost-exBudgetMemory" :: Int, "cekVarCost-exBudgetCPU" :: Int, "cekVarCost-exBudgetMemory" :: Int, "chooseData-cpu-arguments" :: Int, "chooseData-memory-arguments" :: Int, "chooseList-cpu-arguments" :: Int, "chooseList-memory-arguments" :: Int, "chooseUnit-cpu-arguments" :: Int, "chooseUnit-memory-arguments" :: Int, "consByteString-cpu-arguments-intercept" :: Int, "consByteString-cpu-arguments-slope" :: Int, "consByteString-memory-arguments-intercept" :: Int, "consByteString-memory-arguments-slope" :: Int, "constrData-cpu-arguments" :: Int, "constrData-memory-arguments" :: Int, "decodeUtf8-cpu-arguments-intercept" :: Int, "decodeUtf8-cpu-arguments-slope" :: Int, "decodeUtf8-memory-arguments-intercept" :: Int, "decodeUtf8-memory-arguments-slope" :: Int, "divideInteger-cpu-arguments-constant" :: Int, "divideInteger-cpu-arguments-model-arguments-intercept" :: Int, "divideInteger-cpu-arguments-model-arguments-slope" :: Int, "divideInteger-memory-arguments-intercept" :: Int, "divideInteger-memory-arguments-minimum" :: Int, "divideInteger-memory-arguments-slope" :: Int, "encodeUtf8-cpu-arguments-intercept" :: Int, "encodeUtf8-cpu-arguments-slope" :: Int, "encodeUtf8-memory-arguments-intercept" :: Int, "encodeUtf8-memory-arguments-slope" :: Int, "equalsByteString-cpu-arguments-constant" :: Int, "equalsByteString-cpu-arguments-intercept" :: Int, "equalsByteString-cpu-arguments-slope" :: Int, "equalsByteString-memory-arguments" :: Int, "equalsData-cpu-arguments-intercept" :: Int, "equalsData-cpu-arguments-slope" :: Int, "equalsData-memory-arguments" :: Int, "equalsInteger-cpu-arguments-intercept" :: Int, "equalsInteger-cpu-arguments-slope" :: Int, "equalsInteger-memory-arguments" :: Int, "equalsString-cpu-arguments-constant" :: Int, "equalsString-cpu-arguments-intercept" :: Int, "equalsString-cpu-arguments-slope" :: Int, "equalsString-memory-arguments" :: Int, "fstPair-cpu-arguments" :: Int, "fstPair-memory-arguments" :: Int, "headList-cpu-arguments" :: Int, "headList-memory-arguments" :: Int, "iData-cpu-arguments" :: Int, "iData-memory-arguments" :: Int, "ifThenElse-cpu-arguments" :: Int, "ifThenElse-memory-arguments" :: Int, "indexByteString-cpu-arguments" :: Int, "indexByteString-memory-arguments" :: Int, "lengthOfByteString-cpu-arguments" :: Int, "lengthOfByteString-memory-arguments" :: Int, "lessThanByteString-cpu-arguments-intercept" :: Int, "lessThanByteString-cpu-arguments-slope" :: Int, "lessThanByteString-memory-arguments" :: Int, "lessThanEqualsByteString-cpu-arguments-intercept" :: Int, "lessThanEqualsByteString-cpu-arguments-slope" :: Int, "lessThanEqualsByteString-memory-arguments" :: Int, "lessThanEqualsInteger-cpu-arguments-intercept" :: Int, "lessThanEqualsInteger-cpu-arguments-slope" :: Int, "lessThanEqualsInteger-memory-arguments" :: Int, "lessThanInteger-cpu-arguments-intercept" :: Int, "lessThanInteger-cpu-arguments-slope" :: Int, "lessThanInteger-memory-arguments" :: Int, "listData-cpu-arguments" :: Int, "listData-memory-arguments" :: Int, "mapData-cpu-arguments" :: Int, "mapData-memory-arguments" :: Int, "mkCons-cpu-arguments" :: Int, "mkCons-memory-arguments" :: Int, "mkNilData-cpu-arguments" :: Int, "mkNilData-memory-arguments" :: Int, "mkNilPairData-cpu-arguments" :: Int, "mkNilPairData-memory-arguments" :: Int, "mkPairData-cpu-arguments" :: Int, "mkPairData-memory-arguments" :: Int, "modInteger-cpu-arguments-constant" :: Int, "modInteger-cpu-arguments-model-arguments-intercept" :: Int, "modInteger-cpu-arguments-model-arguments-slope" :: Int, "modInteger-memory-arguments-intercept" :: Int, "modInteger-memory-arguments-minimum" :: Int, "modInteger-memory-arguments-slope" :: Int, "multiplyInteger-cpu-arguments-intercept" :: Int, "multiplyInteger-cpu-arguments-slope" :: Int, "multiplyInteger-memory-arguments-intercept" :: Int, "multiplyInteger-memory-arguments-slope" :: Int, "nullList-cpu-arguments" :: Int, "nullList-memory-arguments" :: Int, "quotientInteger-cpu-arguments-constant" :: Int, "quotientInteger-cpu-arguments-model-arguments-intercept" :: Int, "quotientInteger-cpu-arguments-model-arguments-slope" :: Int, "quotientInteger-memory-arguments-intercept" :: Int, "quotientInteger-memory-arguments-minimum" :: Int, "quotientInteger-memory-arguments-slope" :: Int, "remainderInteger-cpu-arguments-constant" :: Int, "remainderInteger-cpu-arguments-model-arguments-intercept" :: Int, "remainderInteger-cpu-arguments-model-arguments-slope" :: Int, "remainderInteger-memory-arguments-intercept" :: Int, "remainderInteger-memory-arguments-minimum" :: Int, "remainderInteger-memory-arguments-slope" :: Int, "sha2_256-cpu-arguments-intercept" :: Int, "sha2_256-cpu-arguments-slope" :: Int, "sha2_256-memory-arguments" :: Int, "sha3_256-cpu-arguments-intercept" :: Int, "sha3_256-cpu-arguments-slope" :: Int, "sha3_256-memory-arguments" :: Int, "sliceByteString-cpu-arguments-intercept" :: Int, "sliceByteString-cpu-arguments-slope" :: Int, "sliceByteString-memory-arguments-intercept" :: Int, "sliceByteString-memory-arguments-slope" :: Int, "sndPair-cpu-arguments" :: Int, "sndPair-memory-arguments" :: Int, "subtractInteger-cpu-arguments-intercept" :: Int, "subtractInteger-cpu-arguments-slope" :: Int, "subtractInteger-memory-arguments-intercept" :: Int, "subtractInteger-memory-arguments-slope" :: Int, "tailList-cpu-arguments" :: Int, "tailList-memory-arguments" :: Int, "trace-cpu-arguments" :: Int, "trace-memory-arguments" :: Int, "unBData-cpu-arguments" :: Int, "unBData-memory-arguments" :: Int, "unConstrData-cpu-arguments" :: Int, "unConstrData-memory-arguments" :: Int, "unIData-cpu-arguments" :: Int, "unIData-memory-arguments" :: Int, "unListData-cpu-arguments" :: Int, "unListData-memory-arguments" :: Int, "unMapData-cpu-arguments" :: Int, "unMapData-memory-arguments" :: Int, "verifyEd25519Signature-cpu-arguments-intercept" :: Int, "verifyEd25519Signature-cpu-arguments-slope" :: Int, "verifyEd25519Signature-memory-arguments" :: Int)

A type that represents a JSON-encoded Costmodel in format used by Ogmios

#CostModelV2

type CostModelV2 :: Row Typetype CostModelV2 = ("serialiseData-cpu-arguments-intercept" :: Int, "serialiseData-cpu-arguments-slope" :: Int, "serialiseData-memory-arguments-intercept" :: Int, "serialiseData-memory-arguments-slope" :: Int, "verifyEcdsaSecp256k1Signature-cpu-arguments" :: Int, "verifyEcdsaSecp256k1Signature-memory-arguments" :: Int, "verifySchnorrSecp256k1Signature-cpu-arguments-intercept" :: Int, "verifySchnorrSecp256k1Signature-cpu-arguments-slope" :: Int, "verifySchnorrSecp256k1Signature-memory-arguments" :: Int | CostModelV1)

#convertPlutusV1CostModel

#convertPlutusV2CostModel

#convertPlutusV3CostModel

#convertUnnamedPlutusCostModel

Modules