tx · 9SHin9zonnHGwtJQHZf99yLhSKpbEVcJzfw6yEihzYPb 3NA8CCJEpWACAN7uMTTGiVERNtc4dSSayyE: -0.01500000 Waves 2019.07.20 13:14 [594097] smart account 3NA8CCJEpWACAN7uMTTGiVERNtc4dSSayyE > SELF 0.00000000 Waves
{ "type": 13, "id": "9SHin9zonnHGwtJQHZf99yLhSKpbEVcJzfw6yEihzYPb", "fee": 1500000, "feeAssetId": null, "timestamp": 1563617677870, "version": 1, "sender": "3NA8CCJEpWACAN7uMTTGiVERNtc4dSSayyE", "senderPublicKey": "FgntDUgs7tdnp33MDzzH2k7CjvDsAxhC4r413RdQEF2F", "proofs": [ "3UPSJCGudzfxmYJeuar8PSs5HPoJTNKVQynNcw4TEkWAj4rZ7ePPo6c1NeGDPicMo8eVveyuAZiovesaRYuVCJNk" ], "script": "base64:AAIDAAAAAAAAAAAAAAAHAQAAAA5nZW5lcmF0ZU51bWJlcgAAAAMAAAADaW52AAAAA21heAAAAANtaW4EAAAACGxhc3RQbGF5BAAAAAckbWF0Y2gwCQAEHAAAAAIFAAAABHRoaXMCAAAACGxhc3RQbGF5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAFzBQAAAAckbWF0Y2gwBQAAAAFzAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAARVbml0BAAAAAFhBQAAAAckbWF0Y2gwAQAAAAxXYXZlc0xvdHRvVjIJAQAAAAV0aHJvdwAAAAAEAAAABHJhbmQJAADLAAAAAgkAAMsAAAACCQAAywAAAAIJAADLAAAAAgkAAMsAAAACBQAAAAhsYXN0UGxheQgFAAAAA2ludgAAAA10cmFuc2FjdGlvbklkCAUAAAADaW52AAAAD2NhbGxlclB1YmxpY0tleQgFAAAACWxhc3RCbG9jawAAABNnZW5lcmF0aW9uU2lnbmF0dXJlCQABmgAAAAEIBQAAAAlsYXN0QmxvY2sAAAAJdGltZXN0YW1wCQABmgAAAAEIBQAAAAlsYXN0QmxvY2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ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAB0FkZHJlc3MAAAABCQACWQAAAAEFAAAAD29wcG9uZW50QWRkcmVzcwUAAAAGcGF5b3V0CAUAAAAHcGF5bWVudAAAAAdhc3NldElkBQAAAANuaWwJAQAAAAxTY3JpcHRSZXN1bHQAAAACCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAARyYW5kBQAAAARyYW5kCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAARjb2luBQAAAAVyY29pbgkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAGcGF5b3V0BQAAAAZwYXlvdXQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAABndpbm5lcgkABCUAAAABCAUAAAADaW52AAAABmNhbGxlcgUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAANpbnYAAAAGY2FsbGVyBQAAAAZwYXlvdXQIBQAAAAdwYXltZW50AAAAB2Fzc2V0SWQFAAAAA25pbAkAAAIAAAABAgAAACZQYXltZW50IHNob3VsZCBiZSBpbiBXYXZlc2JldCBvciBXYXZlcwAAAAIAAAADaW52AQAAAAhwbGF5RGljZQAAAAIAAAAEdHlwZQAAAApwcmVkaWN0aW9uCQEAAAAJc3RhcnREaWNlAAAAAwUAAAADaW52BQAAAAR0eXBlBQAAAApwcmVkaWN0aW9uAAAAA2ludgEAAAAMcGxheUNvaW5GbGlwAAAAAgAAAA9vcHBvbmVudEFkZHJlc3MAAAAMb3Bwb25lbnRNb3ZlCQEAAAANc3RhcnRDb2luRmxpcAAAAAMFAAAAA2ludgUAAAAPb3Bwb25lbnRBZGRyZXNzBQAAAAxvcHBvbmVudE1vdmUAAAAAWUCijw==", "chainId": 84, "height": 594097, "spentComplexity": 0 } View: original | compacted Prev: AHEK6bcRmLPXD6fFFSHq7Vv75X1qcYGAQmqQh9Moje4n Next: 9mbNFtG4rbEvchyR5Mknn7Dwmkgox2xYBR8S8DyJraLM Diff:
Old | New | Differences | |
---|---|---|---|
464 | 464 | let E = A(i) | |
465 | 465 | let x = (((u.amount * 2) * 95) / 100) | |
466 | 466 | if ((E == D)) | |
467 | - | then ScriptResult(WriteSet([DataEntry("coin", E), DataEntry("payout", x), DataEntry("winner", C)]), TransferSet([ScriptTransfer(Address(fromBase58String(C)), x, u.assetId)])) | |
468 | - | else ScriptResult(WriteSet([DataEntry("coin", E), DataEntry("payout", x), DataEntry("winner", toString(b.caller))]), TransferSet([ScriptTransfer(b.caller, x, u.assetId)])) | |
467 | + | then ScriptResult(WriteSet([DataEntry("rand", i), DataEntry("coin", E), DataEntry("payout", x), DataEntry("winner", C)]), TransferSet([ScriptTransfer(Address(fromBase58String(C)), x, u.assetId)])) | |
468 | + | else ScriptResult(WriteSet([DataEntry("rand", i), DataEntry("coin", E), DataEntry("payout", x), DataEntry("winner", toString(b.caller))]), TransferSet([ScriptTransfer(b.caller, x, u.assetId)])) | |
469 | 469 | } | |
470 | 470 | else throw("Payment should be in Wavesbet or Waves") | |
471 | 471 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func a (b,c,d) = { | |
5 | 5 | let e = { | |
6 | 6 | let f = getBinary(this, "lastPlay") | |
7 | 7 | if ($isInstanceOf(f, "ByteVector")) | |
8 | 8 | then { | |
9 | 9 | let g = f | |
10 | 10 | g | |
11 | 11 | } | |
12 | 12 | else if ($isInstanceOf(f, "Unit")) | |
13 | 13 | then { | |
14 | 14 | let h = f | |
15 | 15 | base58'2ee4oFDYriWJ9EMeR' | |
16 | 16 | } | |
17 | 17 | else throw() | |
18 | 18 | } | |
19 | 19 | let i = (((((e + b.transactionId) + b.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height)) | |
20 | 20 | (((toInt(sha256(i)) % 1000) % ((c - d) + 1)) + 1) | |
21 | 21 | } | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func j (k,l) = if ((k == 0)) | |
25 | 25 | then if ((l == 1)) | |
26 | 26 | then 9850000 | |
27 | 27 | else if ((l == 2)) | |
28 | 28 | then 4925000 | |
29 | 29 | else if ((l == 3)) | |
30 | 30 | then 3283330 | |
31 | 31 | else if ((l == 4)) | |
32 | 32 | then 2462500 | |
33 | 33 | else if ((l == 5)) | |
34 | 34 | then 1970000 | |
35 | 35 | else if ((l == 6)) | |
36 | 36 | then 1641660 | |
37 | 37 | else if ((l == 7)) | |
38 | 38 | then 1407140 | |
39 | 39 | else if ((l == 8)) | |
40 | 40 | then 1231250 | |
41 | 41 | else if ((l == 9)) | |
42 | 42 | then 1094440 | |
43 | 43 | else if ((l == 10)) | |
44 | 44 | then 985000 | |
45 | 45 | else if ((l == 11)) | |
46 | 46 | then 895450 | |
47 | 47 | else if ((l == 12)) | |
48 | 48 | then 820830 | |
49 | 49 | else if ((l == 13)) | |
50 | 50 | then 757690 | |
51 | 51 | else if ((l == 14)) | |
52 | 52 | then 703570 | |
53 | 53 | else if ((l == 15)) | |
54 | 54 | then 656660 | |
55 | 55 | else if ((l == 16)) | |
56 | 56 | then 615620 | |
57 | 57 | else if ((l == 17)) | |
58 | 58 | then 579410 | |
59 | 59 | else if ((l == 18)) | |
60 | 60 | then 547220 | |
61 | 61 | else if ((l == 19)) | |
62 | 62 | then 518420 | |
63 | 63 | else if ((l == 20)) | |
64 | 64 | then 492500 | |
65 | 65 | else if ((l == 21)) | |
66 | 66 | then 469040 | |
67 | 67 | else if ((l == 22)) | |
68 | 68 | then 447720 | |
69 | 69 | else if ((l == 23)) | |
70 | 70 | then 428260 | |
71 | 71 | else if ((l == 24)) | |
72 | 72 | then 410410 | |
73 | 73 | else if ((l == 25)) | |
74 | 74 | then 394000 | |
75 | 75 | else if ((l == 26)) | |
76 | 76 | then 378840 | |
77 | 77 | else if ((l == 27)) | |
78 | 78 | then 364810 | |
79 | 79 | else if ((l == 28)) | |
80 | 80 | then 351780 | |
81 | 81 | else if ((l == 29)) | |
82 | 82 | then 339650 | |
83 | 83 | else if ((l == 30)) | |
84 | 84 | then 328330 | |
85 | 85 | else if ((l == 31)) | |
86 | 86 | then 317740 | |
87 | 87 | else if ((l == 32)) | |
88 | 88 | then 307810 | |
89 | 89 | else if ((l == 33)) | |
90 | 90 | then 298480 | |
91 | 91 | else if ((l == 34)) | |
92 | 92 | then 289700 | |
93 | 93 | else if ((l == 35)) | |
94 | 94 | then 281420 | |
95 | 95 | else if ((l == 36)) | |
96 | 96 | then 273610 | |
97 | 97 | else if ((l == 37)) | |
98 | 98 | then 259210 | |
99 | 99 | else if ((l == 38)) | |
100 | 100 | then 259210 | |
101 | 101 | else if ((l == 39)) | |
102 | 102 | then 252560 | |
103 | 103 | else if ((l == 40)) | |
104 | 104 | then 246250 | |
105 | 105 | else if ((l == 41)) | |
106 | 106 | then 240240 | |
107 | 107 | else if ((l == 42)) | |
108 | 108 | then 234520 | |
109 | 109 | else if ((l == 43)) | |
110 | 110 | then 229060 | |
111 | 111 | else if ((l == 44)) | |
112 | 112 | then 223860 | |
113 | 113 | else if ((l == 45)) | |
114 | 114 | then 218880 | |
115 | 115 | else if ((l == 46)) | |
116 | 116 | then 214130 | |
117 | 117 | else if ((l == 47)) | |
118 | 118 | then 209570 | |
119 | 119 | else if ((l == 48)) | |
120 | 120 | then 205200 | |
121 | 121 | else if ((l == 49)) | |
122 | 122 | then 201020 | |
123 | 123 | else if ((l == 50)) | |
124 | 124 | then 197000 | |
125 | 125 | else if ((l == 51)) | |
126 | 126 | then 193130 | |
127 | 127 | else if ((l == 52)) | |
128 | 128 | then 189420 | |
129 | 129 | else if ((l == 53)) | |
130 | 130 | then 185840 | |
131 | 131 | else if ((l == 54)) | |
132 | 132 | then 182400 | |
133 | 133 | else if ((l == 55)) | |
134 | 134 | then 179090 | |
135 | 135 | else if ((l == 56)) | |
136 | 136 | then 175890 | |
137 | 137 | else if ((l == 57)) | |
138 | 138 | then 172800 | |
139 | 139 | else if ((l == 58)) | |
140 | 140 | then 169820 | |
141 | 141 | else if ((l == 59)) | |
142 | 142 | then 166940 | |
143 | 143 | else if ((l == 60)) | |
144 | 144 | then 164160 | |
145 | 145 | else if ((l == 61)) | |
146 | 146 | then 161470 | |
147 | 147 | else if ((l == 62)) | |
148 | 148 | then 158870 | |
149 | 149 | else if ((l == 63)) | |
150 | 150 | then 156340 | |
151 | 151 | else if ((l == 64)) | |
152 | 152 | then 153900 | |
153 | 153 | else if ((l == 65)) | |
154 | 154 | then 151530 | |
155 | 155 | else if ((l == 66)) | |
156 | 156 | then 149240 | |
157 | 157 | else if ((l == 67)) | |
158 | 158 | then 147010 | |
159 | 159 | else if ((l == 68)) | |
160 | 160 | then 144850 | |
161 | 161 | else if ((l == 69)) | |
162 | 162 | then 142750 | |
163 | 163 | else if ((l == 70)) | |
164 | 164 | then 140710 | |
165 | 165 | else if ((l == 71)) | |
166 | 166 | then 138730 | |
167 | 167 | else if ((l == 72)) | |
168 | 168 | then 136800 | |
169 | 169 | else if ((l == 73)) | |
170 | 170 | then 134930 | |
171 | 171 | else if ((l == 74)) | |
172 | 172 | then 133100 | |
173 | 173 | else if ((l == 75)) | |
174 | 174 | then 131330 | |
175 | 175 | else if ((l == 76)) | |
176 | 176 | then 129600 | |
177 | 177 | else if ((l == 77)) | |
178 | 178 | then 127920 | |
179 | 179 | else if ((l == 78)) | |
180 | 180 | then 126280 | |
181 | 181 | else if ((l == 79)) | |
182 | 182 | then 124680 | |
183 | 183 | else if ((l == 80)) | |
184 | 184 | then 123120 | |
185 | 185 | else if ((l == 81)) | |
186 | 186 | then 121600 | |
187 | 187 | else if ((l == 82)) | |
188 | 188 | then 120120 | |
189 | 189 | else if ((l == 83)) | |
190 | 190 | then 118670 | |
191 | 191 | else if ((l == 84)) | |
192 | 192 | then 117260 | |
193 | 193 | else if ((l == 85)) | |
194 | 194 | then 115880 | |
195 | 195 | else if ((l == 86)) | |
196 | 196 | then 114530 | |
197 | 197 | else if ((l == 87)) | |
198 | 198 | then 113210 | |
199 | 199 | else if ((l == 88)) | |
200 | 200 | then 111930 | |
201 | 201 | else if ((l == 89)) | |
202 | 202 | then 110670 | |
203 | 203 | else if ((l == 90)) | |
204 | 204 | then 109440 | |
205 | 205 | else if ((l == 91)) | |
206 | 206 | then 108240 | |
207 | 207 | else if ((l == 92)) | |
208 | 208 | then 107060 | |
209 | 209 | else if ((l == 93)) | |
210 | 210 | then 105910 | |
211 | 211 | else if ((l == 94)) | |
212 | 212 | then 104780 | |
213 | 213 | else if ((l == 95)) | |
214 | 214 | then 103680 | |
215 | 215 | else if ((l == 96)) | |
216 | 216 | then 103680 | |
217 | 217 | else 100000 | |
218 | 218 | else if ((k == 1)) | |
219 | 219 | then if ((l == 4)) | |
220 | 220 | then 103680 | |
221 | 221 | else if ((l == 5)) | |
222 | 222 | then 103680 | |
223 | 223 | else if ((l == 6)) | |
224 | 224 | then 104780 | |
225 | 225 | else if ((l == 7)) | |
226 | 226 | then 105910 | |
227 | 227 | else if ((l == 8)) | |
228 | 228 | then 107060 | |
229 | 229 | else if ((l == 9)) | |
230 | 230 | then 108240 | |
231 | 231 | else if ((l == 10)) | |
232 | 232 | then 109440 | |
233 | 233 | else if ((l == 11)) | |
234 | 234 | then 110670 | |
235 | 235 | else if ((l == 12)) | |
236 | 236 | then 111930 | |
237 | 237 | else if ((l == 13)) | |
238 | 238 | then 113210 | |
239 | 239 | else if ((l == 14)) | |
240 | 240 | then 114530 | |
241 | 241 | else if ((l == 15)) | |
242 | 242 | then 115880 | |
243 | 243 | else if ((l == 16)) | |
244 | 244 | then 117260 | |
245 | 245 | else if ((l == 17)) | |
246 | 246 | then 118670 | |
247 | 247 | else if ((l == 18)) | |
248 | 248 | then 120120 | |
249 | 249 | else if ((l == 19)) | |
250 | 250 | then 121600 | |
251 | 251 | else if ((l == 20)) | |
252 | 252 | then 123120 | |
253 | 253 | else if ((l == 21)) | |
254 | 254 | then 124680 | |
255 | 255 | else if ((l == 22)) | |
256 | 256 | then 126280 | |
257 | 257 | else if ((l == 23)) | |
258 | 258 | then 127920 | |
259 | 259 | else if ((l == 24)) | |
260 | 260 | then 129600 | |
261 | 261 | else if ((l == 25)) | |
262 | 262 | then 131330 | |
263 | 263 | else if ((l == 26)) | |
264 | 264 | then 133100 | |
265 | 265 | else if ((l == 27)) | |
266 | 266 | then 134930 | |
267 | 267 | else if ((l == 28)) | |
268 | 268 | then 136800 | |
269 | 269 | else if ((l == 29)) | |
270 | 270 | then 138730 | |
271 | 271 | else if ((l == 30)) | |
272 | 272 | then 140710 | |
273 | 273 | else if ((l == 31)) | |
274 | 274 | then 142750 | |
275 | 275 | else if ((l == 32)) | |
276 | 276 | then 144850 | |
277 | 277 | else if ((l == 33)) | |
278 | 278 | then 147010 | |
279 | 279 | else if ((l == 34)) | |
280 | 280 | then 149240 | |
281 | 281 | else if ((l == 35)) | |
282 | 282 | then 151530 | |
283 | 283 | else if ((l == 36)) | |
284 | 284 | then 153900 | |
285 | 285 | else if ((l == 37)) | |
286 | 286 | then 156340 | |
287 | 287 | else if ((l == 38)) | |
288 | 288 | then 158870 | |
289 | 289 | else if ((l == 39)) | |
290 | 290 | then 161470 | |
291 | 291 | else if ((l == 40)) | |
292 | 292 | then 164160 | |
293 | 293 | else if ((l == 41)) | |
294 | 294 | then 166940 | |
295 | 295 | else if ((l == 42)) | |
296 | 296 | then 169820 | |
297 | 297 | else if ((l == 43)) | |
298 | 298 | then 172800 | |
299 | 299 | else if ((l == 44)) | |
300 | 300 | then 175890 | |
301 | 301 | else if ((l == 45)) | |
302 | 302 | then 179090 | |
303 | 303 | else if ((l == 46)) | |
304 | 304 | then 185840 | |
305 | 305 | else if ((l == 47)) | |
306 | 306 | then 185840 | |
307 | 307 | else if ((l == 48)) | |
308 | 308 | then 189420 | |
309 | 309 | else if ((l == 49)) | |
310 | 310 | then 193130 | |
311 | 311 | else if ((l == 50)) | |
312 | 312 | then 197000 | |
313 | 313 | else if ((l == 51)) | |
314 | 314 | then 201020 | |
315 | 315 | else if ((l == 52)) | |
316 | 316 | then 205200 | |
317 | 317 | else if ((l == 53)) | |
318 | 318 | then 209570 | |
319 | 319 | else if ((l == 54)) | |
320 | 320 | then 214130 | |
321 | 321 | else if ((l == 55)) | |
322 | 322 | then 218880 | |
323 | 323 | else if ((l == 56)) | |
324 | 324 | then 223860 | |
325 | 325 | else if ((l == 57)) | |
326 | 326 | then 229060 | |
327 | 327 | else if ((l == 58)) | |
328 | 328 | then 234520 | |
329 | 329 | else if ((l == 59)) | |
330 | 330 | then 240240 | |
331 | 331 | else if ((l == 60)) | |
332 | 332 | then 246250 | |
333 | 333 | else if ((l == 61)) | |
334 | 334 | then 252560 | |
335 | 335 | else if ((l == 62)) | |
336 | 336 | then 259210 | |
337 | 337 | else if ((l == 63)) | |
338 | 338 | then 259210 | |
339 | 339 | else if ((l == 64)) | |
340 | 340 | then 273610 | |
341 | 341 | else if ((l == 65)) | |
342 | 342 | then 281420 | |
343 | 343 | else if ((l == 66)) | |
344 | 344 | then 289700 | |
345 | 345 | else if ((l == 67)) | |
346 | 346 | then 298480 | |
347 | 347 | else if ((l == 68)) | |
348 | 348 | then 307810 | |
349 | 349 | else if ((l == 69)) | |
350 | 350 | then 317740 | |
351 | 351 | else if ((l == 70)) | |
352 | 352 | then 328330 | |
353 | 353 | else if ((l == 71)) | |
354 | 354 | then 339650 | |
355 | 355 | else if ((l == 72)) | |
356 | 356 | then 351780 | |
357 | 357 | else if ((l == 73)) | |
358 | 358 | then 364810 | |
359 | 359 | else if ((l == 74)) | |
360 | 360 | then 378840 | |
361 | 361 | else if ((l == 75)) | |
362 | 362 | then 394000 | |
363 | 363 | else if ((l == 76)) | |
364 | 364 | then 410410 | |
365 | 365 | else if ((l == 77)) | |
366 | 366 | then 428260 | |
367 | 367 | else if ((l == 78)) | |
368 | 368 | then 447720 | |
369 | 369 | else if ((l == 79)) | |
370 | 370 | then 469040 | |
371 | 371 | else if ((l == 80)) | |
372 | 372 | then 492500 | |
373 | 373 | else if ((l == 81)) | |
374 | 374 | then 518420 | |
375 | 375 | else if ((l == 82)) | |
376 | 376 | then 547220 | |
377 | 377 | else if ((l == 83)) | |
378 | 378 | then 579410 | |
379 | 379 | else if ((l == 84)) | |
380 | 380 | then 615620 | |
381 | 381 | else if ((l == 85)) | |
382 | 382 | then 656660 | |
383 | 383 | else if ((l == 86)) | |
384 | 384 | then 703570 | |
385 | 385 | else if ((l == 87)) | |
386 | 386 | then 757690 | |
387 | 387 | else if ((l == 88)) | |
388 | 388 | then 820830 | |
389 | 389 | else if ((l == 89)) | |
390 | 390 | then 895450 | |
391 | 391 | else if ((l == 90)) | |
392 | 392 | then 985000 | |
393 | 393 | else if ((l == 91)) | |
394 | 394 | then 1094440 | |
395 | 395 | else if ((l == 92)) | |
396 | 396 | then 1231250 | |
397 | 397 | else if ((l == 93)) | |
398 | 398 | then 1407140 | |
399 | 399 | else if ((l == 94)) | |
400 | 400 | then 1641660 | |
401 | 401 | else if ((l == 95)) | |
402 | 402 | then 1970000 | |
403 | 403 | else if ((l == 96)) | |
404 | 404 | then 2462500 | |
405 | 405 | else if ((l == 97)) | |
406 | 406 | then 3283330 | |
407 | 407 | else if ((l == 98)) | |
408 | 408 | then 4925000 | |
409 | 409 | else if ((l == 99)) | |
410 | 410 | then 9850000 | |
411 | 411 | else 100000 | |
412 | 412 | else 100000 | |
413 | 413 | ||
414 | 414 | ||
415 | 415 | func m (k,l,n) = if ((k == 0)) | |
416 | 416 | then if ((l >= n)) | |
417 | 417 | then true | |
418 | 418 | else false | |
419 | 419 | else if ((k == 1)) | |
420 | 420 | then if ((n >= l)) | |
421 | 421 | then true | |
422 | 422 | else false | |
423 | 423 | else false | |
424 | 424 | ||
425 | 425 | ||
426 | 426 | func o (p,q,r) = if (p) | |
427 | 427 | then ((q * r) / 100000) | |
428 | 428 | else 0 | |
429 | 429 | ||
430 | 430 | ||
431 | 431 | func s (b,k,l) = { | |
432 | 432 | let t = (wavesBalance(this) / 100) | |
433 | 433 | let u = extract(b.payment) | |
434 | 434 | if ((u.assetId == assetInfo(base58'4vPcbA5yiwpWBVPALPGXus6fNdGEuYTpe4hAeSxM9Kj4'))) | |
435 | 435 | then throw("Payment should be in Wavesbet") | |
436 | 436 | else if ((u.amount > t)) | |
437 | 437 | then throw(("Payment should be less than " + toString(t))) | |
438 | 438 | else { | |
439 | 439 | let v = a(b, 99, 1) | |
440 | 440 | let w = j(k, l) | |
441 | 441 | let p = m(k, l, v) | |
442 | 442 | let x = ((o(p, u.amount, w) * 95) / 100) | |
443 | 443 | let y = TransferSet([ScriptTransfer(b.caller, x, base58'4vPcbA5yiwpWBVPALPGXus6fNdGEuYTpe4hAeSxM9Kj4')]) | |
444 | 444 | let z = WriteSet([DataEntry("random number", v), DataEntry("win", p), DataEntry("payment", u.amount), DataEntry("payout", x)]) | |
445 | 445 | if (p) | |
446 | 446 | then ScriptResult(z, y) | |
447 | 447 | else ScriptResult(z, TransferSet(nil)) | |
448 | 448 | } | |
449 | 449 | } | |
450 | 450 | ||
451 | 451 | ||
452 | 452 | func A (n) = if ((51 > n)) | |
453 | 453 | then "head" | |
454 | 454 | else "tail" | |
455 | 455 | ||
456 | 456 | ||
457 | 457 | func B (b,C,D) = { | |
458 | 458 | let u = extract(b.payment) | |
459 | 459 | if (if ((u.assetId == assetInfo(base58'WAVES'))) | |
460 | 460 | then true | |
461 | 461 | else (u.assetId == assetInfo(base58'4vPcbA5yiwpWBVPALPGXus6fNdGEuYTpe4hAeSxM9Kj4'))) | |
462 | 462 | then { | |
463 | 463 | let i = a(b, 100, 1) | |
464 | 464 | let E = A(i) | |
465 | 465 | let x = (((u.amount * 2) * 95) / 100) | |
466 | 466 | if ((E == D)) | |
467 | - | then ScriptResult(WriteSet([DataEntry("coin", E), DataEntry("payout", x), DataEntry("winner", C)]), TransferSet([ScriptTransfer(Address(fromBase58String(C)), x, u.assetId)])) | |
468 | - | else ScriptResult(WriteSet([DataEntry("coin", E), DataEntry("payout", x), DataEntry("winner", toString(b.caller))]), TransferSet([ScriptTransfer(b.caller, x, u.assetId)])) | |
467 | + | then ScriptResult(WriteSet([DataEntry("rand", i), DataEntry("coin", E), DataEntry("payout", x), DataEntry("winner", C)]), TransferSet([ScriptTransfer(Address(fromBase58String(C)), x, u.assetId)])) | |
468 | + | else ScriptResult(WriteSet([DataEntry("rand", i), DataEntry("coin", E), DataEntry("payout", x), DataEntry("winner", toString(b.caller))]), TransferSet([ScriptTransfer(b.caller, x, u.assetId)])) | |
469 | 469 | } | |
470 | 470 | else throw("Payment should be in Wavesbet or Waves") | |
471 | 471 | } | |
472 | 472 | ||
473 | 473 | ||
474 | 474 | @Callable(b) | |
475 | 475 | func playDice (k,l) = s(b, k, l) | |
476 | 476 | ||
477 | 477 | ||
478 | 478 | ||
479 | 479 | @Callable(b) | |
480 | 480 | func playCoinFlip (C,D) = B(b, C, D) | |
481 | 481 | ||
482 | 482 |
github/deemru/w8io/169f3d6 204.25 ms ◑