Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
86e6008
commit 0db2e76
Showing
3 changed files
with
10 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,11 @@ | ||
{-# LANGUAGE TypeApplications #-} | ||
{-# OPTIONS_GHC -Wno-orphans #-} | ||
{-# LANGUAGE NamedFieldPuns #-} | ||
|
||
-- | Typed transaction inputs and outputs. This module defines typed versions | ||
-- of various ledger types. The ultimate goal is to make sure that the script | ||
-- types attached to inputs and outputs line up, to avoid type errors at | ||
-- validation time. | ||
module Ledger.Typed.Tx | ||
( module Ledger.Typed.Tx | ||
, module Plutus.Script.Utils.V1.Typed.Scripts | ||
) where | ||
{-# DEPRECATED "Use Plutus.Script.Utils.V1.Typed.Scripts instead" #-} | ||
( module Plutus.Script.Utils.V1.Typed.Scripts, | ||
) | ||
where | ||
|
||
import Control.Lens (preview) | ||
import Control.Monad.Except (MonadError, throwError) | ||
import Ledger.Tx (ChainIndexTxOut, TxIn (TxIn, txInRef, txInType), TxInType (ConsumeScriptAddress), TxOutRef, | ||
_ScriptChainIndexTxOut) | ||
import Plutus.Script.Utils.V1.Typed.Scripts | ||
import PlutusTx (FromData, ToData) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
module Ledger.Typed.TypeUtils {-# DEPRECATED "Use Plutus.Script.Utils.V1.Typed.TypeUtils instead" #-} ( | ||
module Plutus.Script.Utils.V1.Typed.TypeUtils | ||
) where | ||
module Ledger.Typed.TypeUtils | ||
{-# DEPRECATED "Use Plutus.Script.Utils.V1.Typed.TypeUtils instead" #-} | ||
( module Plutus.Script.Utils.V1.Typed.TypeUtils, | ||
) | ||
where | ||
|
||
import Plutus.Script.Utils.V1.Typed.TypeUtils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters