forked from mlabs-haskell/hydra-auction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhydra-auction.cabal
324 lines (298 loc) · 7.22 KB
/
hydra-auction.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
cabal-version: 3.0
name: hydra-auction
version: 0.1.0
synopsis: Auction in hydra head
homepage: https://github.com/mlabs-haskell/hydra-auction
author: MLabs
maintainer: giovanni@mlabs.city
data-files:
data/credentials/*.sk
data/credentials/*.vk
data/devnet/byron-delegate.key
data/devnet/byron-delegation.cert
data/devnet/cardano-node.json
data/devnet/genesis-alonzo.json
data/devnet/genesis-byron.json
data/devnet/genesis-shelley.json
data/devnet/kes.skey
data/devnet/opcert.cert
data/devnet/vrf.skey
data/hydra-keys/*.sk
data/hydra-keys/*.vk
data/protocol-parameters.json
README.md
source-repository head
type: git
location: https://github.com/mlabs-haskell/hydra-auction
flag dev
description:
Defer errors from the PlutusTx plugin, which break HLS and Haddock. Also disable Werror.
default: True
manual: False
common common-lang
-- Options from MLabs styleguide
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints
-Wmissing-export-lists -Wmissing-deriving-strategies
if !flag(dev)
ghc-options: -Werror
if flag(dev)
ghc-options: -fplugin-opt PlutusTx.Plugin:defer-errors
-- Options for Plutus Tx compilations
-- (some are enabled additionaly in individual modules)
ghc-options:
-fobject-code -fno-ignore-interface-pragmas
-fno-omit-interface-pragmas
build-depends:
, aeson
, async
, base ^>=4.14
, base16-bytestring
, bytestring
, cardano-api
, cardano-ledger-core
, containers
, contra-tracer
, exceptions
, extra
, filepath
, hydra-cardano-api
, hydra-cluster
, hydra-node
, hydra-plutus
, hydra-prelude
, lens
, lens-aeson
, mtl
, plutus-ledger-api
, plutus-tx-plugin
, prettyprinter
, record-dot-preprocessor
, record-hasfield
, stm
, text
, time
, time-machine
, transformers
, unix
, websockets
default-extensions:
NoImplicitPrelude
BangPatterns
BinaryLiterals
ConstraintKinds
DataKinds
DeriveAnyClass
DeriveFunctor
DeriveGeneric
DeriveTraversable
DerivingStrategies
DerivingVia
DuplicateRecordFields
EmptyCase
FlexibleContexts
FlexibleInstances
GADTs
GeneralizedNewtypeDeriving
HexFloatLiterals
ImportQualifiedPost
InstanceSigs
KindSignatures
LambdaCase
MultiParamTypeClasses
NamedFieldPuns
NumericUnderscores
OverloadedStrings
PatternSynonyms
ScopedTypeVariables
StandaloneDeriving
TemplateHaskell
TupleSections
TypeApplications
TypeFamilies
TypeFamilyDependencies
TypeOperators
TypeSynonymInstances
UndecidableInstances
if flag(dev)
default-extensions: PartialTypeSignatures
default-language: Haskell2010
executable hydra-auction
import: common-lang
main-is: Main.hs
other-modules:
CLI.Actions
CLI.Config
CLI.Parsers
CLI.Printing
CLI.Types
CLI.Watch
build-depends:
, aeson
, ansi-terminal
, array
, base
, bech32
, bech32-th
, bytestring
, cardano-api >=1.35.4
, cardano-binary ==1.5.0
, cardano-crypto-class ==2.0.0
, cardano-ledger-alonzo
, cardano-ledger-alonzo-test
, cardano-ledger-babbage
, cardano-ledger-babbage-test
, cardano-ledger-byron
, cardano-ledger-core
, cardano-ledger-shelley
, cardano-ledger-shelley-ma
, cardano-ledger-shelley-ma-test
, cardano-ledger-shelley-test
, cardano-prelude
, cardano-slotting ==0.1.0.0
, cborg
, containers
, data-default
, directory
, haskeline
, hydra-auction
, hydra-auction-utils
, hydra-cardano-api
, hydra-plutus
, hydra-test-utils
, optparse-applicative
, ouroboros-network ==0.1.0.1
, plutus-tx
, QuickCheck
, serialise
, strict-containers ==0.1.0.0
, text
hs-source-dirs: app
ghc-options: -threaded -rtsopts
executable hydra-auction-delegate
import: common-lang
main-is: Main.hs
other-modules: HydraAuction.Delegate.Server
hs-source-dirs: delegate-app
ghc-options: -threaded -rtsopts
build-depends:
, hydra-auction
, hydra-auction-utils
, plutus-ledger-api
library
import: common-lang
exposed-modules:
HydraAuction.Addresses
HydraAuction.Delegate
HydraAuction.Delegate.Interface
HydraAuction.HydraHacks
HydraAuction.OnChain
HydraAuction.OnChain.Common
HydraAuction.OnChain.TestNFT
HydraAuction.Tx.Common
HydraAuction.Tx.Deposit
HydraAuction.Tx.Escrow
HydraAuction.Tx.StandingBid
HydraAuction.Tx.TermsConfig
HydraAuction.Tx.TestNFT
HydraAuction.Types
Paths_hydra_auction
other-modules:
HydraAuction.OnChain.Deposit
HydraAuction.OnChain.Escrow
HydraAuction.OnChain.StandingBid
HydraAuction.OnChain.StateToken
build-depends:
, cardano-api
, directory
, hydra-auction-utils
, hydra-cardano-api
, hydra-cluster
, hydra-node
, hydra-plutus
, hydra-prelude
, hydra-test-utils
, plutus-tx
, time
, typed-process
hs-source-dirs: src
library hydra-auction-utils
import: common-lang
hs-source-dirs: src-utils
exposed-modules:
HydraAuctionUtils.BundledData
HydraAuctionUtils.Composite.Runner
HydraAuctionUtils.Extras.CardanoApi
HydraAuctionUtils.Extras.Plutus
HydraAuctionUtils.Extras.PlutusOrphans
HydraAuctionUtils.Fixture
HydraAuctionUtils.Hydra.Interface
HydraAuctionUtils.Hydra.Monad
HydraAuctionUtils.Hydra.Runner
HydraAuctionUtils.L1.Runner
HydraAuctionUtils.L1.Runner.Time
HydraAuctionUtils.Monads
HydraAuctionUtils.Monads.Actors
HydraAuctionUtils.Parsers
HydraAuctionUtils.Parsers.TxIn
HydraAuctionUtils.Plutus
HydraAuctionUtils.PrettyPrinting
HydraAuctionUtils.Time
HydraAuctionUtils.Tracing
HydraAuctionUtils.Tx.AutoCreateTx
HydraAuctionUtils.Tx.Build
HydraAuctionUtils.Tx.Utxo
HydraAuctionUtils.Types.Natural
Paths_hydra_auction
other-modules: HydraAuctionUtils.L1.Runner.Tracer
build-depends:
, HUnit
, hydra-plutus
, hydra-test-utils
, optparse-applicative
, parsec
, plutus-tx
, protolude
test-suite hydra-auction-test
import: common-lang
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
CLI.Actions
CLI.Config
CLI.Printing
CLI.Types
EndToEnd.CLI
EndToEnd.HydraUtils
EndToEnd.Ledger.Auction
EndToEnd.Ledger.BidDeposit
EndToEnd.Ledger.L1Steps
EndToEnd.Ledger.L2
EndToEnd.Ledger.L2Steps
EndToEnd.Utils
Unit.Common
build-depends:
, aeson
, bytestring
, cardano-api
, containers
, directory
, hydra-auction
, hydra-auction-utils
, hydra-cardano-api
, hydra-cluster
, hydra-node
, hydra-prelude
, hydra-test-utils
, plutus-cbor
, plutus-tx
, plutus-tx-plugin
, process
, QuickCheck
, tasty
, tasty-hspec
, tasty-hunit
, text
hs-source-dirs: test app
ghc-options: -threaded -rtsopts