File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
src/Cardano/PlutusExample Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 33
44module Main (main ) where
55
6- import Cardano.Api (NetworkId (Testnet ), NetworkMagic (.. ))
7- import Cardano.PlutusExample.Transfer (
8- TransferSchema ,
9- TransferParams ,
10- transfer ,
11- )
12- import Data.Aeson qualified as JSON
13- import Data.Aeson.TH (defaultOptions , deriveJSON )
14- import Data.ByteString.Lazy qualified as LazyByteString
15- import Data.Maybe (fromMaybe )
166import BotPlutusInterface qualified
177import BotPlutusInterface.Types (
188 CLILocation (Local ),
@@ -22,6 +12,16 @@ import BotPlutusInterface.Types (
2212 SomeBuiltin (.. ),
2313 endpointsToSchemas ,
2414 )
15+ import Cardano.Api (NetworkId (Testnet ), NetworkMagic (.. ))
16+ import Cardano.PlutusExample.Transfer (
17+ TransferParams ,
18+ TransferSchema ,
19+ transfer ,
20+ )
21+ import Data.Aeson qualified as JSON
22+ import Data.Aeson.TH (defaultOptions , deriveJSON )
23+ import Data.ByteString.Lazy qualified as LazyByteString
24+ import Data.Maybe (fromMaybe )
2525import Playground.Types (FunctionSchema )
2626import Schema (FormSchema )
2727import Servant.Client.Core (BaseUrl (BaseUrl ), Scheme (Http ))
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ transfer (TransferParams outputPerTx allPayments) = do
3636 tell $ Last $ Just " Contract started"
3737 let txs =
3838 map (mconcat . map (uncurry Constraints. mustPayToPubKey . first PaymentPubKeyHash )) $
39- group outputPerTx $ allPayments
39+ group outputPerTx allPayments
4040 forM_ txs $ \ tx -> submitTx tx >> waitNSlots 1
4141 tell $ Last $ Just " Finished"
4242
You can’t perform that action at this time.
0 commit comments