-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathcardano-swaps.cabal
120 lines (114 loc) · 2.48 KB
/
cardano-swaps.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
cabal-version: 3.0
name: cardano-swaps
version: 1.0.0.0
synopsis: A distributed Cardano DEX PoC
license: Apache-2.0
author: fallen-icarus
maintainer: [email protected]
copyright: 2022 fallen-icarus
extra-source-files:
CHANGELOG.md,
aiken/plutus.json,
preprod-params.json,
mainnet-params.json
common lang
build-depends: base
default-language: Haskell2010
ghc-options: -Wall -Wredundant-constraints
default-extensions:
DeriveGeneric
FlexibleContexts
NamedFieldPuns
NumericUnderscores
TupleSections
TypeApplications
common internals
build-depends:
cardano-api
, plutus-ledger
, plutus-ledger-api
, plutus-tx
, plutus-core
, plutus-script-utils
, containers
, aeson
, text
, bytestring
, prettyprinter
library
import:
lang
, internals
exposed-modules:
CardanoSwaps.Blueprints
, CardanoSwaps.OneWaySwap
, CardanoSwaps.TwoWaySwap
, CardanoSwaps.Utils
build-depends:
serialise
, file-embed
, base16-bytestring
, relude
, microlens
hs-source-dirs: src
test-suite cardano-swaps-tests
import:
lang,
internals
type: exitcode-stdio-1.0
main-is: Test.hs
hs-source-dirs: test
ghc-options:
-threaded -rtsopts -with-rtsopts=-N
-Wno-unused-matches -Wno-unused-local-binds
-Wno-unused-top-binds
other-modules:
Test.Prelude
, Test.OneWaySwap
, Test.OneWaySwap.BeaconNames
, Test.OneWaySwap.CloseSwap
, Test.OneWaySwap.CreateSwap
, Test.OneWaySwap.Swap
, Test.OneWaySwap.UpdateSwap
, Test.OneWaySwap.UnsafeDatum
, Test.TwoWaySwap
, Test.TwoWaySwap.BeaconNames
, Test.TwoWaySwap.CloseSwap
, Test.TwoWaySwap.CreateSwap
, Test.TwoWaySwap.Swap
, Test.TwoWaySwap.UpdateSwap
, Test.TwoWaySwap.UnsafeDatum
build-depends:
cardano-swaps
, data-default
, tasty
, tasty-hunit
, microlens
, mtl
, cardano-node-emulator
executable cardano-swaps
import:
lang,
internals
main-is: Main.hs
other-modules:
CLI.Types
, CLI.Run
, CLI.Query
, CLI.Parsers
, CLI.Query.Koios
build-depends:
cardano-swaps,
optparse-applicative,
servant,
servant-client,
http-client,
http-client-tls,
vector,
aeson-pretty,
file-embed,
prettyprinter-ansi-terminal
hs-source-dirs: app
default-extensions:
OverloadedStrings
RecordWildCards