-- | Umbrella module for the conversions between cardano-api types and their
-- UTxO RPC protobuf counterparts. The conversions live in the @Type.*@
-- submodules; this module re-exports them so that existing importers keep
-- working unchanged.
module Cardano.Rpc.Server.Internal.UtxoRpc.Type
  ( utxoRpcPParamsToProtocolParams
  , utxoToUtxoRpcAnyUtxoData
  , txInTxOutToAnyUtxoData
  , anyUtxoDataUtxoRpcToUtxo
  , txOutToUtxoRpcTxOutput
  , txoRefUtxoRpcToTxIn
  , utxoRpcTxOutputToTxOut
  , protocolParamsToUtxoRpcPParams
  , simpleScriptToUtxoRpcNativeScript
  , utxoRpcBigIntToInteger
  , utxoRpcRationalNumberToRational
  , mkChainPointMsg
  , utxoRpcChainPointMsgToChainPoint
  , scriptDataToUtxoRpcPlutusData
  , utxoRpcPlutusDataToScriptData
  , scriptWitnessIndexToRedeemerPurpose
  , scriptExecutionErrorToEvalReport
  , mkProtoRedeemer
  , mkProtoTxEval
  )
where

import Cardano.Rpc.Server.Internal.UtxoRpc.Type.BigInt
import Cardano.Rpc.Server.Internal.UtxoRpc.Type.ChainPoint
import Cardano.Rpc.Server.Internal.UtxoRpc.Type.PlutusData
import Cardano.Rpc.Server.Internal.UtxoRpc.Type.ProtocolParameters
import Cardano.Rpc.Server.Internal.UtxoRpc.Type.Rational
import Cardano.Rpc.Server.Internal.UtxoRpc.Type.Script
import Cardano.Rpc.Server.Internal.UtxoRpc.Type.TxEval
import Cardano.Rpc.Server.Internal.UtxoRpc.Type.TxOutput