Skip to content

Commit

Permalink
Move modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Jul 15, 2024
1 parent 39de831 commit 4491ed7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
5 changes: 3 additions & 2 deletions cardano-api/cardano-api.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ library internal
Cardano.Api.ReexposeNetwork
Cardano.Api.Rewards
Cardano.Api.Script
Cardano.Api.Scripts.New
Cardano.Api.Experimental.Eras
Cardano.Api.Experimental.Script
Cardano.Api.Experimental.UnsignedTx
Cardano.Api.ScriptData
Cardano.Api.SerialiseBech32
Cardano.Api.SerialiseCBOR
Expand Down Expand Up @@ -237,7 +239,6 @@ library
Cardano.Api.ChainSync.Client
Cardano.Api.ChainSync.ClientPipelined
Cardano.Api.Crypto.Ed25519Bip32
Cardano.Api.Experimental
Cardano.Api.Ledger
Cardano.Api.Network
Cardano.Api.Shelley
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{-# LANGUAGE PatternSynonyms #-}

module Cardano.Api.Experimental
module Cardano.Api.Experimental.Eras
( -- * New Era interface
-- BabbageEra
--, ConwayEra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

{-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}

module Cardano.Api.Scripts.New where
module Cardano.Api.Experimental.Script where

import Cardano.Api.HasTypeProxy
import Cardano.Api.Protocol.AvailableEras
Expand Down
13 changes: 13 additions & 0 deletions cardano-api/internal/Cardano/Api/Experimental/UnsignedTx.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module Cardano.Api.Experimental.UnsignedTx where

import Cardano.Api.Experimental.Eras

import qualified Cardano.Ledger.Core as Ledger


-- A transaction that contains everything
-- except signing key witnesses
data UnsignedTx era
= UnsignedTx
(Ledger.Tx (ToConstrainedEra era))
(Ledger.TxWits (ToConstrainedEra era))

0 comments on commit 4491ed7

Please sign in to comment.