forked from ArdanaLabs/ardana-dollar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ardana-dollar.cabal
221 lines (206 loc) · 5.25 KB
/
ardana-dollar.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
cabal-version: 2.4
name: ardana-dollar
version: 0.1.0.0
-- A short (one-line) description of the package.
-- synopsis:
-- A longer description of the package.
-- description:
-- A URL where users can report bugs.
-- bug-reports:
license:
license-files: LICENSE
author: Your name
maintainer: Your email
-- A copyright notice.
-- copyright:
-- category:
-- extra-source-files: CHANGELOG.md
common lang
default-language: Haskell2010
default-extensions:
NoImplicitPrelude
BangPatterns
BinaryLiterals
ConstraintKinds
DataKinds
DeriveFunctor
DeriveGeneric
DeriveTraversable
DerivingStrategies
DerivingVia
DuplicateRecordFields
EmptyCase
FlexibleContexts
FlexibleInstances
GADTs
GeneralizedNewtypeDeriving
HexFloatLiterals
ImportQualifiedPost
InstanceSigs
KindSignatures
LambdaCase
MultiParamTypeClasses
NumericUnderscores
OverloadedStrings
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
TypeOperators
TypeSynonymInstances
UndecidableInstances
ghc-options:
-Wall -Wcompat -Wincomplete-uni-patterns -Wredundant-constraints
-Wmissing-export-lists -Werror -Wwarn=unrecognised-pragmas -Wincomplete-record-updates
-fno-ignore-interface-pragmas -fno-omit-interface-pragmas
-fobject-code -fno-strictness -fplugin=RecordDotPreprocessor
-fwarn-redundant-constraints -fwarn-incomplete-uni-patterns
-fwarn-tabs -fwarn-incomplete-record-updates -fwarn-identities
-Wwarn=unrecognised-pragmas
common deps
build-depends:
, aeson
, base >=4.9 && <5
, bytestring
, containers
, data-default
, foldl
, freer-extras
, freer-simple
, lens
, mtl
, openapi3
, playground-common
, plutus-contract
, plutus-core
, plutus-extra
, plutus-ledger
, plutus-ledger-api
, plutus-tx
, plutus-tx-plugin
, plutus-use-cases
, record-dot-preprocessor
, record-hasfield
, row-types
, text
, vector
common test-deps
import: deps
build-depends:
, freer-simple
, hedgehog
, lens
, minisat-solver
, optparse-applicative ^>=0.16
, pretty
, pretty-show
, QuickCheck
, safe
, silently
, streaming
, tagged
, tasty
, tasty-hedgehog
, tasty-hunit
, tasty-plutus
, tasty-quickcheck
, transformers
library
import: lang
import: deps
exposed-modules:
ArdanaDollar.Buffer.Endpoints
ArdanaDollar.Buffer.OffChain
ArdanaDollar.Buffer.OnChain
ArdanaDollar.Buffer.Types
ArdanaDollar.DanaStakePool.Contracts
ArdanaDollar.DanaStakePool.DanaCurrency
ArdanaDollar.DanaStakePool.Endpoints
ArdanaDollar.DanaStakePool.Types
ArdanaDollar.DanaStakePool.Utils
ArdanaDollar.DanaStakePool.Validators
ArdanaDollar.DanaStakePool.ValidatorsTH
ArdanaDollar.Map.ContractUtils
ArdanaDollar.Map.ListOpContracts
ArdanaDollar.Map.MapTerms
ArdanaDollar.Map.NodeValidPolicy
ArdanaDollar.Map.SnapshotOpContracts
ArdanaDollar.Map.SnapshotPolicy
ArdanaDollar.Map.TestUtils
ArdanaDollar.Map.TxUtils
ArdanaDollar.Map.Types
ArdanaDollar.Map.UnlockPermPolicy
ArdanaDollar.Map.UnlockPolicy
ArdanaDollar.Map.UseContracts
ArdanaDollar.Map.Validator
ArdanaDollar.MockAdmin
ArdanaDollar.PriceOracle.OnChain
ArdanaDollar.Trace
ArdanaDollar.Treasury.CanSpendToken
ArdanaDollar.Treasury.Endpoints
ArdanaDollar.Treasury.OffChain
ArdanaDollar.Treasury.OnChain
ArdanaDollar.Treasury.StateToken
ArdanaDollar.Treasury.Types
ArdanaDollar.Treasury.UpgradeContractToken
ArdanaDollar.Types
ArdanaDollar.Utils
ArdanaDollar.Vault
hs-source-dirs: src
test-suite ardana-dollar-test
import: lang
import: deps
import: test-deps
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Hedgehog.Gen.ArdanaDollar
Hedgehog.Gen.Extra
Hedgehog.Gen.Plutus
Proper.Plutus
TastyDefaultMain
Test.ArdanaDollar.BufferAuctionTraceTest
Test.ArdanaDollar.Endpoints
Test.ArdanaDollar.ValidatorsTH
Test.ArdanaDollar.DanaStakePoolTest
Test.ArdanaDollar.MapTest
Test.ArdanaDollar.PriceOracle.OnChain.Model.Proper
Test.ArdanaDollar.TreasuryPrerun
Test.ArdanaDollar.TreasuryTraceTest
Test.ArdanaDollar.TreasuryValidatorTest
Test.ArdanaDollar.Utils
Test.AssertUtils
Test.ContractModel.Buffer
Test.ContractModel.Vault
Test.Roundtrips.BuiltinData
Test.Roundtrips.JSON
Test.TraceUtils
Wallet.Emulator.Stream.Extra
hs-source-dirs: test
ghc-options: -Wnoncanonical-monad-instances -Widentities -rtsopts -O1
build-depends: ardana-dollar
executable ardana-pab
import: lang
import: deps
main-is: Main.hs
hs-source-dirs: pab
ghc-options: -threaded
build-depends:
, ardana-dollar
, data-default
, freer-simple
, openapi3
, plutus-extra
, plutus-ledger-api
, plutus-pab
, prettyprinter
executable ardana-dollar-sizes
import: lang
import: deps
main-is: Sizes.hs
hs-source-dirs: util
build-depends:
, ardana-dollar
, serialise
, cardano-binary
, cardano-api