generated from input-output-hk/plutus-starter
-
Notifications
You must be signed in to change notification settings - Fork 27
/
tokenomia.cabal
259 lines (247 loc) · 7.51 KB
/
tokenomia.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
cabal-version: 2.4
name: tokenomia
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: Apache-2.0
license-files: LICENSE
-- A copyright notice.
-- copyright:
-- category:
-- extra-source-files: CHANGELOG.md
flag defer-plugin-errors
description:
Defer errors from the plugin, useful for things like Haddock that can't handle it.
default: False
manual: True
common lang
default-language: Haskell2010
ghc-options:
-Wall -Wnoncanonical-monad-instances
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities -rtsopts
-- See Plutus Tx readme
-fobject-code -fno-ignore-interface-pragmas -fno-omit-interface-pragmas
if flag(defer-plugin-errors)
ghc-options: -fplugin-opt PlutusTx.Plugin:defer-errors
library
import: lang
exposed-modules:
Tokenomia.CLI
Tokenomia.Node.Status
Tokenomia.Token.CLAPStyle.Mint
Tokenomia.Token.CLAPStyle.Burn
Tokenomia.Token.CLAPStyle.MonetaryPolicy
Tokenomia.ICO.Funds.Validation.CardanoCLI.Command
Tokenomia.Script.LocalRepository
Tokenomia.Script.ChainIndex
Tokenomia.Script.UTxO
Tokenomia.Wallet.Type
Tokenomia.Common.TxOutRef
Tokenomia.Wallet.CLI
Tokenomia.Wallet.LocalRepository
Tokenomia.Wallet.LocalRepository.Folder
Tokenomia.Wallet.ChildAddress.ChainIndex
Tokenomia.Wallet.UTxO
Tokenomia.Wallet.WalletUTxO
Tokenomia.Wallet.Collateral.Write
Tokenomia.Wallet.Collateral.Read
Tokenomia.Wallet.ChildAddress.ChildAddressRef
Tokenomia.Wallet.ChildAddress.LocalRepository
Tokenomia.Ada.Transfer
Tokenomia.Common.Error
Tokenomia.Token.Transfer
Tokenomia.Vesting.Contract
Tokenomia.Vesting.Repository
Tokenomia.Vesting.Vest
Tokenomia.Vesting.Retrieve
Tokenomia.Tokenomic.CLAP.Simulation
Tokenomia.Common.AssetClass
Tokenomia.Common.Blockfrost
Tokenomia.Common.Value
Tokenomia.Common.Serialise
Tokenomia.Common.Node
Tokenomia.Common.Transacting
Tokenomia.Common.Folder
Tokenomia.Common.Shell.InteractiveMenu
Tokenomia.Common.Shell.Console
Tokenomia.Common.Environment
Tokenomia.Common.Datum
Tokenomia.Common.Address
Tokenomia.Common.Asset
Tokenomia.Common.Hash
Tokenomia.Common.Token
Tokenomia.Common.PageNumber
Tokenomia.Common.Data.ByteString
Tokenomia.Common.Data.Convertible
Tokenomia.Common.Data.List.NonEmpty
Tokenomia.Common.Parser
Tokenomia.Common.Parser.AssetClass
Tokenomia.Common.Parser.MinRequiredUTxO
Tokenomia.Common.Parser.Value
Tokenomia.Common.Parser.TxOutDatumHash
Tokenomia.Common.Parser.TxOutRef
Tokenomia.Common.Parser.Utxo
Tokenomia.TokenDistribution.Main
Tokenomia.TokenDistribution.CLI
Tokenomia.TokenDistribution.CLI.Parameters
Tokenomia.TokenDistribution.CLI.Parser
Tokenomia.TokenDistribution.Parser.Address
Tokenomia.TokenDistribution.Distribution
Tokenomia.TokenDistribution.PreValidation
Tokenomia.TokenDistribution.Transfer
Tokenomia.TokenDistribution.Split.EstimateFees
Tokenomia.TokenDistribution.Split.SplitDistribution
Tokenomia.TokenDistribution.Split.SplitAdaSource
Tokenomia.TokenDistribution.Split.SplitTokenSource
Tokenomia.TokenDistribution.Wallet.ChildAddress.ChainIndex
Tokenomia.TokenDistribution.Wallet.ChildAddress.ChildAddressRef
Tokenomia.TokenDistribution.Wallet.ChildAddress.LocalRepository
Tokenomia.ICO.Status
Tokenomia.ICO.Round.Settings
Tokenomia.ICO.LocalRepository
Tokenomia.ICO.Balanceable
Tokenomia.ICO.Funds.Validation.Run
Tokenomia.ICO.Funds.Validation.Investor.Command
Tokenomia.ICO.Funds.Validation.Investor.Plan
Tokenomia.ICO.Funds.Validation.ChildAddress.State
Tokenomia.ICO.Funds.Validation.ChildAddress.Types
Tokenomia.ICO.Funds.Validation.CardanoCLI.Transact
Tokenomia.ICO.Funds.Validation.CardanoCLI.Datum
Tokenomia.ICO.Funds.Validation.CardanoCLI.Convert
Tokenomia.ICO.Funds.Validation.Simulation.Transfer
Tokenomia.ICO.Funds.Exchange.Run
Tokenomia.ICO.Funds.Exchange.ReceivedFunds
Tokenomia.ICO.Funds.Exchange.Command
Tokenomia.ICO.Funds.Exchange.Plan
Tokenomia.ICO.Funds.Exchange.CardanoCLI.Command
Tokenomia.ICO.Funds.Exchange.CardanoCLI.Convert
Tokenomia.ICO.Funds.Exchange.CardanoCLI.Transact
Tokenomia.ICO.Funds.WhiteListing.Repository
Tokenomia.ICO.Funds.WhiteListing.Types
Tokenomia.ICO.Funds.Exchange.Tokens
Tokenomia.ICO.Funds.Exchange.Plan.Settings
Tokenomia.ICO.Funds.Validation.Status
Tokenomia.ICO.Funds.Validation.CardanoCLI.Plan
Tokenomia.ICO.Funds.Validation.Investor.Plan.Settings
build-depends:
base >= 4.9 && < 5,
base16-bytestring,
lens,
aeson,
async,
attoparsec,
composition,
composition-extra,
either,
memory,
text,
time,
mtl,
shh,
split,
directory,
random,
exceptions,
lifted-base,
utf8-string,
Unique,
freer-simple,
data-default,
iso8601-time,
unordered-containers,
ouroboros-consensus,
bytestring,
containers,
cardano-api,
cardano-cli,
cardano-ledger-alonzo,
cardano-ledger-byron,
plutus-ledger-api,
serialise,
freer-extras,
playground-common,
plutus-chain-index,
plutus-contract,
plutus-core,
plutus-tx-plugin,
plutus-tx,
plutus-ledger,
pretty-simple,
blockfrost-client,
blockfrost-api,
blockfrost-client-core,
blockfrost-pretty,
prettyprinter,
safe-money,
optparse-applicative,
ordered-containers,
nonempty-containers,
streamly,
deepseq,
hashable,
hex-text
hs-source-dirs: src
test-suite tokenomia-tests
import: lang
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
other-modules:
Spec.Tokenomia.Token.CLAPStyle.MonetaryPolicy
Spec.Tokenomia.Vesting.Contract
Spec.Tokenomia.Wallet.UTxO
Spec.Tokenomia.Common.Value
Spec.Tokenomia.ICO.Funds.Exchange.Plan
Spec.Tokenomia.ICO.Funds.Exchange.GenInputs
Spec.Tokenomia.ICO.Funds.Validation.Investor.GenInputs
Spec.Tokenomia.ICO.Funds.Validation.Investor.Plan
Spec.Tokenomia.ICO.Funds.Validation.CardanoCLI.GenInputs
Spec.Tokenomia.ICO.Funds.Validation.CardanoCLI.Plan
build-depends:
plutus-tx -any,
plutus-tx-plugin,
plutus-contract -any,
plutus-ledger -any,
plutus-ledger-api,
tokenomia -any
build-depends:
base >=4.9 && <5,
tasty -any,
tasty-hunit -any,
tasty-hedgehog >=0.2.0.0,
tasty-quickcheck,
quickcheck-instances,
QuickCheck,
random,
nonempty-containers,
freer-simple -any,
bytestring,
text,
ordered-containers,
interpolatedstring-perl6,
blockfrost-api,
safe-money,
data-default
executable tokenomia-cli
import: lang
main-is: Main.hs
hs-source-dirs: app
ghc-options:
-threaded
build-depends:
base >= 4.9 && < 5,
tokenomia
executable token-distribution
import: lang
main-is: Main.hs
hs-source-dirs: app/TokenDistribution
ghc-options:
-threaded
build-depends:
base >= 4.9 && < 5,
tokenomia