/
cardano-wallet-primitive.cabal
291 lines (281 loc) · 9.2 KB
/
cardano-wallet-primitive.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
cabal-version: 3.6
name: cardano-wallet-primitive
version: 2024.4.17
synopsis: Selected primitive types for Cardano Wallet.
description: Please see README.md.
homepage: https://github.com/cardano-foundation/cardano-wallet
author: Cardano Foundation (High Assurance Lab)
maintainer: hal@cardanofoundation.org
copyright: 2018-2022 IOHK, 2023 Cardano Foundation
license: Apache-2.0
category: Web
build-type: Simple
common language
default-language: Haskell2010
default-extensions:
NoImplicitPrelude
OverloadedStrings
common opts-lib
ghc-options: -Wall -Wcompat -fwarn-redundant-constraints
if flag(release)
ghc-options: -O2 -Werror
common opts-exe
ghc-options: -threaded -rtsopts -Wall
if flag(release)
ghc-options: -O2 -Werror
flag release
description: Enable optimization and `-Werror`
default: False
manual: True
library
import: language, opts-lib
hs-source-dirs: lib
build-depends:
, aeson
, array
, base
, bech32
, bech32-th
, binary
, bytestring
, cardano-addresses
, cardano-api
, cardano-binary
, cardano-crypto
, cardano-crypto-class
, cardano-crypto-wrapper
, cardano-data
, cardano-ledger-allegra
, cardano-ledger-alonzo
, cardano-ledger-api
, cardano-ledger-babbage
, cardano-ledger-binary
, cardano-ledger-byron
, cardano-ledger-conway
, cardano-ledger-core
, cardano-ledger-mary
, cardano-ledger-shelley
, cardano-numeric
, cardano-protocol-tpraos
, cardano-slotting
, cardano-strict-containers
, cardano-wallet-launcher
, cardano-wallet-read
, cardano-wallet-test-utils
, cborg
, commutative-semigroups
, containers
, contra-tracer
, crypto-primitives
, deepseq
, delta-types
, errors
, extra
, fmt
, generic-arbitrary
, generic-lens
, generics-sop
, hashable
, int-cast
, iohk-monitoring
, lattices
, lens
, memory
, MonadRandom
, monoid-subclasses
, monoidmap
, network-uri
, nothunks
, OddWord
, ouroboros-consensus
, ouroboros-consensus-cardano
, ouroboros-consensus-protocol
, ouroboros-network
, ouroboros-network-api
, pretty-simple
, QuickCheck
, quiet
, random
, safe
, scientific
, text
, text-class
, time
, transformers
, unliftio
, unliftio-core
, unordered-containers
exposed-modules:
Cardano.Wallet.Orphans
Cardano.Wallet.Primitive.Collateral
Cardano.Wallet.Primitive.Ledger.Byron
Cardano.Wallet.Primitive.Ledger.Convert
Cardano.Wallet.Primitive.Ledger.Read.Block
Cardano.Wallet.Primitive.Ledger.Read.Block.Header
Cardano.Wallet.Primitive.Ledger.Read.Tx
Cardano.Wallet.Primitive.Ledger.Read.Tx.TxExtended
Cardano.Wallet.Primitive.Ledger.Read.Tx.Features.Certificates
Cardano.Wallet.Primitive.Ledger.Read.Tx.Features.CollateralInputs
Cardano.Wallet.Primitive.Ledger.Read.Tx.Features.CollateralOutputs
Cardano.Wallet.Primitive.Ledger.Read.Tx.Features.ExtraSigs
Cardano.Wallet.Primitive.Ledger.Read.Tx.Features.Fee
Cardano.Wallet.Primitive.Ledger.Read.Tx.Features.Inputs
Cardano.Wallet.Primitive.Ledger.Read.Tx.Features.Integrity
Cardano.Wallet.Primitive.Ledger.Read.Tx.Features.Metadata
Cardano.Wallet.Primitive.Ledger.Read.Tx.Features.Mint
Cardano.Wallet.Primitive.Ledger.Read.Tx.Features.Outputs
Cardano.Wallet.Primitive.Ledger.Read.Tx.Features.Scripts
Cardano.Wallet.Primitive.Ledger.Read.Tx.Features.ScriptValidity
Cardano.Wallet.Primitive.Ledger.Read.Tx.Features.Validity
Cardano.Wallet.Primitive.Ledger.Read.Tx.Features.Withdrawals
Cardano.Wallet.Primitive.Ledger.Read.Tx.Features.WitnessCount
Cardano.Wallet.Primitive.Ledger.Read.Tx.Sealed
Cardano.Wallet.Primitive.Ledger.Shelley
Cardano.Wallet.Primitive.NetworkId
Cardano.Wallet.Primitive.Slotting
Cardano.Wallet.Primitive.Slotting.Legacy
Cardano.Wallet.Primitive.SyncProgress
Cardano.Wallet.Primitive.Types.Address
Cardano.Wallet.Primitive.Types.Address.Gen
Cardano.Wallet.Primitive.Types.AnyExplicitScripts
Cardano.Wallet.Primitive.Types.AssetId
Cardano.Wallet.Primitive.Types.AssetId.Gen
Cardano.Wallet.Primitive.Types.AssetName
Cardano.Wallet.Primitive.Types.AssetName.Gen
Cardano.Wallet.Primitive.Types.Block
Cardano.Wallet.Primitive.Types.Block.Gen
Cardano.Wallet.Primitive.Types.BlockSummary
Cardano.Wallet.Primitive.Types.Certificates
Cardano.Wallet.Primitive.Types.Checkpoints.Policy
Cardano.Wallet.Primitive.Types.Coin
Cardano.Wallet.Primitive.Types.Coin.Gen
Cardano.Wallet.Primitive.Types.DecentralizationLevel
Cardano.Wallet.Primitive.Types.DRep
Cardano.Wallet.Primitive.Types.EpochNo
Cardano.Wallet.Primitive.Types.EraInfo
Cardano.Wallet.Primitive.Types.ExecutionUnitPrices
Cardano.Wallet.Primitive.Types.FeePolicy
Cardano.Wallet.Primitive.Types.GenesisParameters
Cardano.Wallet.Primitive.Types.Hash
Cardano.Wallet.Primitive.Types.NetworkParameters
Cardano.Wallet.Primitive.Types.Pool
Cardano.Wallet.Primitive.Types.ProtocolMagic
Cardano.Wallet.Primitive.Types.ProtocolParameters
Cardano.Wallet.Primitive.Types.Range
Cardano.Wallet.Primitive.Types.RewardAccount
Cardano.Wallet.Primitive.Types.RewardAccount.Gen
Cardano.Wallet.Primitive.Types.SlotId
Cardano.Wallet.Primitive.Types.SlottingParameters
Cardano.Wallet.Primitive.Types.SlottingParameters.Gen
Cardano.Wallet.Primitive.Types.StakePoolMetadata
Cardano.Wallet.Primitive.Types.StakePoolSummary
Cardano.Wallet.Primitive.Types.TokenBundle
Cardano.Wallet.Primitive.Types.TokenBundle.Gen
Cardano.Wallet.Primitive.Types.TokenBundleMaxSize
Cardano.Wallet.Primitive.Types.TokenFingerprint
Cardano.Wallet.Primitive.Types.TokenMap
Cardano.Wallet.Primitive.Types.TokenMap.Gen
Cardano.Wallet.Primitive.Types.TokenMapWithScripts
Cardano.Wallet.Primitive.Types.TokenMetadata
Cardano.Wallet.Primitive.Types.TokenPolicyId
Cardano.Wallet.Primitive.Types.TokenPolicyId.Gen
Cardano.Wallet.Primitive.Types.TokenQuantity
Cardano.Wallet.Primitive.Types.TokenQuantity.Gen
Cardano.Wallet.Primitive.Types.Tx
Cardano.Wallet.Primitive.Types.Tx.TxExtended
Cardano.Wallet.Primitive.Types.Tx.Constraints
Cardano.Wallet.Primitive.Types.Tx.Gen
Cardano.Wallet.Primitive.Types.Tx.Metadata.Gen
Cardano.Wallet.Primitive.Types.Tx.SealedTx
Cardano.Wallet.Primitive.Types.Tx.Tx
Cardano.Wallet.Primitive.Types.Tx.TxIn
Cardano.Wallet.Primitive.Types.Tx.TxIn.Gen
Cardano.Wallet.Primitive.Types.Tx.TxOut
Cardano.Wallet.Primitive.Types.Tx.TxOut.Gen
Cardano.Wallet.Primitive.Types.TxParameters
Cardano.Wallet.Primitive.Types.UTxO
Cardano.Wallet.Primitive.Types.UTxO.Gen
Cardano.Wallet.Primitive.Types.ValidityIntervalExplicit
Cardano.Wallet.Primitive.Types.WitnessCount
Cardano.Wallet.Unsafe
Cardano.Wallet.Util
Control.Monad.Random.NonRandom
Data.Aeson.Extra
Data.Map.Strict.Extra
Data.Percentage
Data.Quantity
test-suite test
import: language, opts-exe
ghc-options: -with-rtsopts=-M2G -with-rtsopts=-N4
type: exitcode-stdio-1.0
hs-source-dirs: test/data test/spec
main-is: run-test-suite.hs
build-depends:
, aeson
, aeson-qq
, base
, base58-bytestring
, binary
, bytestring
, cardano-addresses
, cardano-api
, cardano-crypto-class
, cardano-ledger-allegra:{testlib}
, cardano-ledger-api
, cardano-ledger-core:{cardano-ledger-core, testlib}
, cardano-ledger-shelley
, cardano-numeric
, cardano-slotting
, cardano-wallet-primitive:cardano-wallet-primitive
, cardano-wallet-test-utils
, containers
, deepseq
, delta-types
, filepath
, fmt
, generic-arbitrary
, generic-lens
, hspec
, hspec-core
, iohk-monitoring
, lens
, ouroboros-consensus
, ouroboros-consensus-cardano
, ouroboros-network-api
, QuickCheck
, quickcheck-classes
, quickcheck-instances
, quickcheck-monoid-subclasses
, quickcheck-quid
, sop-extras
, string-qq
, text
, text-class
, time
, transformers
, unliftio
, with-utf8
build-tool-depends: hspec-discover:hspec-discover
other-modules:
Cardano.Wallet.Primitive.CollateralSpec
Cardano.Wallet.Primitive.Ledger.ConvertSpec
Cardano.Wallet.Primitive.Ledger.ShelleySpec
Cardano.Wallet.Primitive.SlottingSpec
Cardano.Wallet.Primitive.SyncProgressSpec
Cardano.Wallet.Primitive.Types.AddressSpec
Cardano.Wallet.Primitive.Types.BlockSummarySpec
Cardano.Wallet.Primitive.Types.CoinSpec
Cardano.Wallet.Primitive.Types.HashSpec
Cardano.Wallet.Primitive.Types.PoolSpec
Cardano.Wallet.Primitive.Types.RangeSpec
Cardano.Wallet.Primitive.Types.TokenBundleSpec
Cardano.Wallet.Primitive.Types.TokenFingerprintSpec
Cardano.Wallet.Primitive.Types.TokenMapSpec
Cardano.Wallet.Primitive.Types.TokenQuantitySpec
Cardano.Wallet.Primitive.Types.TxSpec
Cardano.Wallet.Primitive.Types.UTxOSpec
Data.Map.Strict.ExtraSpec
Data.PercentageSpec
Data.QuantitySpec
Spec
SpecHook