-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcardano-loans.cabal
174 lines (168 loc) · 4.49 KB
/
cardano-loans.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
cabal-version: 2.4
name: cardano-loans
version: 1.0.0.0
synopsis: A distributed Cardano P2P Lending/Borrowering protocol.
license: Apache-2.0
author: fallen-icarus
maintainer: modern.daidalos+git@gmail.com
copyright: 2023 fallen-icarus
extra-source-files:
CHANGELOG.md,
aiken/plutus.json
common lang
build-depends: base
default-language: Haskell2010
ghc-options: -Wall -Wredundant-constraints
default-extensions:
DeriveGeneric
FlexibleContexts
ImportQualifiedPost
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:
CardanoLoans
, CardanoLoans.Blueprints
, CardanoLoans.Types
, CardanoLoans.Utils
build-depends:
serialise
, file-embed
, base16-bytestring
, relude
, microlens
hs-source-dirs: src
test-suite cardano-loans-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
other-modules:
Test.ActiveUTxOs,
Test.ActiveUTxOs.AcceptOffer,
Test.ActiveUTxOs.AcceptOffer.Benchmarks,
Test.ActiveUTxOs.AcceptOffer.Failures,
Test.ActiveUTxOs.AcceptOffer.Regressions,
Test.ActiveUTxOs.ApplyInterest,
Test.ActiveUTxOs.ApplyInterest.Benchmarks,
Test.ActiveUTxOs.ApplyInterest.Failures,
Test.ActiveUTxOs.ApplyInterest.Regressions,
Test.ActiveUTxOs.ClaimExpiredCollateral,
Test.ActiveUTxOs.ClaimExpiredCollateral.Benchmarks,
Test.ActiveUTxOs.ClaimExpiredCollateral.Failures,
Test.ActiveUTxOs.ClaimExpiredCollateral.Regressions,
Test.ActiveUTxOs.MakePayment,
Test.ActiveUTxOs.MakePayment.Benchmarks,
Test.ActiveUTxOs.MakePayment.Failures,
Test.ActiveUTxOs.MakePayment.Regressions,
Test.ActiveUTxOs.Misc,
Test.ActiveUTxOs.Unlock,
Test.ActiveUTxOs.Unlock.Benchmarks,
Test.ActiveUTxOs.Unlock.Failures,
Test.ActiveUTxOs.Unlock.Regressions,
Test.ActiveUTxOs.UpdateLenderAddress,
Test.ActiveUTxOs.UpdateLenderAddress.Benchmarks,
Test.ActiveUTxOs.UpdateLenderAddress.Failures,
Test.ActiveUTxOs.UpdateLenderAddress.Regressions,
Test.AskUTxOs,
Test.AskUTxOs.CloseAsk,
Test.AskUTxOs.CloseAsk.Benchmarks,
Test.AskUTxOs.CloseAsk.Failures,
Test.AskUTxOs.CloseAsk.Regressions,
Test.AskUTxOs.CreateAsk,
Test.AskUTxOs.CreateAsk.Benchmarks,
Test.AskUTxOs.CreateAsk.Failures,
Test.AskUTxOs.CreateAsk.Regressions,
Test.AskUTxOs.Misc,
Test.AskUTxOs.UpdateAsk,
Test.AskUTxOs.UpdateAsk.Benchmarks,
Test.AskUTxOs.UpdateAsk.Failures,
Test.AskUTxOs.UpdateAsk.Regressions,
Test.Beacons
Test.OfferUTxOs,
Test.OfferUTxOs.CloseOffer,
Test.OfferUTxOs.CloseOffer.Benchmarks,
Test.OfferUTxOs.CloseOffer.Failures,
Test.OfferUTxOs.CloseOffer.Regressions,
Test.OfferUTxOs.CreateOffer,
Test.OfferUTxOs.CreateOffer.Benchmarks,
Test.OfferUTxOs.CreateOffer.Failures,
Test.OfferUTxOs.CreateOffer.Regressions,
Test.OfferUTxOs.Misc,
Test.OfferUTxOs.UpdateOffer,
Test.OfferUTxOs.UpdateOffer.Benchmarks,
Test.OfferUTxOs.UpdateOffer.Failures,
Test.OfferUTxOs.UpdateOffer.Regressions,
Test.Prelude,
Test.Proxy
build-depends:
cardano-loans
, data-default
, tasty
, tasty-hunit
, microlens
, mtl
, cardano-node-emulator
executable cardano-loans
import:
lang,
internals
main-is: Main.hs
other-modules:
CLI.Data.ApiService,
CLI.Data.Asset,
CLI.Data.Bech32Address,
CLI.Data.Commands,
CLI.Data.CreditHistory,
CLI.Data.LoanHistory,
CLI.Data.LoanUTxO,
CLI.Data.Network,
CLI.Data.Output,
CLI.Data.PersonalUTxO,
CLI.Data.Transaction,
CLI.Data.TxCBOR,
CLI.Parsers,
CLI.Query,
CLI.Query.Koios,
CLI.Run
build-depends:
cardano-loans,
cardano-addresses,
optparse-applicative,
servant,
servant-client,
http-client,
http-client-tls,
vector,
aeson-pretty,
file-embed,
prettyprinter-ansi-terminal,
relude
hs-source-dirs: app
default-extensions:
OverloadedStrings
RecordWildCards
NoImplicitPrelude