/
mutual-bet.cabal
196 lines (183 loc) · 4.11 KB
/
mutual-bet.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
cabal-version: 2.4
name: mutual-bet
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
author: Your name
maintainer: Your email
-- A copyright notice.
-- copyright:
-- category:
-- extra-source-files: CHANGELOG.md
library
exposed-modules:
Contracts.Oracle.Types
Contracts.Oracle.RequestToken
Contracts.Oracle.OnChain
Contracts.Oracle.OffChain
Contracts.Oracle
Contracts.MutualBet
Contracts.MutualBet.Types
Contracts.MutualBet.OffChain
Contracts.MutualBet.StateMachine
Types.Game
build-depends:
aeson,
base >= 4.9 && < 5,
bytestring,
base64-bytestring,
cardano-api -any,
data-default -any,
text -any,
lens -any,
containers -any,
semigroups -any,
serialise,
playground-common,
plutus-contract,
plutus-tx-plugin,
plutus-tx,
plutus-ledger,
plutus-ledger-api,
plutus-chain-index,
plutus-use-cases,
hs-source-dirs: src src/Contracts/MutualBet
default-language: Haskell2010
ghc-options:
-- See Plutus Tx readme
-fobject-code -fno-ignore-interface-pragmas -fno-omit-interface-pragmas
test-suite plutus-example-projects-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: src/test
other-modules:
Spec.MutualBet
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
build-depends:
mutual-bet -any,
playground-common,
plutus-tx -any,
plutus-tx-plugin,
plutus-contract -any,
plutus-ledger -any,
plutus-use-cases -any
build-depends:
aeson -any,
base >=4.9 && <5,
base64-bytestring,
bytestring,
data-default,
foldl,
freer-extras,
freer-simple -any,
lens -any,
sort -any,
streaming -any,
text -any,
tasty -any,
tasty-hunit -any,
tasty-hedgehog >=0.2.0.0
executable bet-pab
main-is: Main.hs
hs-source-dirs: pab
other-modules:
GameClient
ghc-options:
-threaded
build-depends:
base >= 4.9 && < 5,
bytestring,
base64-bytestring,
data-default -any,
text -any,
containers -any,
lens -any,
plutus-contract -any,
plutus-pab -any,
mutual-bet,
aeson -any,
freer-simple -any,
prettyprinter -any,
freer-extras -any,
plutus-ledger -any,
plutus-use-cases,
stm -any,
req -any,
executable gs
main-is: GenerateOracleScript.hs
hs-source-dirs: pab
ghc-options: -threaded
build-depends:
aeson,
base >= 4.9 && < 5,
cardano-api,
cardano-ledger-alonzo,
mutual-bet,
plutus-contract,
plutus-ledger,
plutus-ledger-api,
plutus-tx,
bytestring
executable gameserver
main-is: Server.hs
other-modules:
Service
hs-source-dirs: gameserver
ghc-options: -threaded
build-depends:
aeson,
aeson-pretty,
base >= 4.9 && < 5,
bytestring,
data-default -any,
either,
lens,
mtl,
mutual-bet,
servant-server -any,
text -any,
utf8-string,
warp
-- executable gamesclient
-- main-is: GameClient.hs
-- hs-source-dirs: pab
-- ghc-options: -threaded
-- build-depends:
-- aeson,
-- base >= 4.9 && < 5,
-- bytestring,
-- mutual-bet,
-- text -any,
-- req
executable mutualbetserver
main-is: MutualBetServer.hs
hs-source-dirs: pab
ghc-options: -threaded
build-depends:
aeson,
aeson-pretty,
base >= 4.9 && < 5,
bytestring,
data-default -any,
either,
lens,
mtl,
mutual-bet,
servant-server -any,
plutus-contract,
plutus-ledger,
plutus-tx,
text -any,
utf8-string,
warp,