tx · GYW4ctUkrBUmdcoyoM6uiZaZBx36b6r48sjM95DTuRZF 3Mt6NEJ6ZK6TFZs14tvnR5iAgemnomy2m1V: -0.02100000 Waves 2022.09.13 12:11 [2227130] smart account 3Mt6NEJ6ZK6TFZs14tvnR5iAgemnomy2m1V > SELF 0.00000000 Waves
{ "type": 13, "id": "GYW4ctUkrBUmdcoyoM6uiZaZBx36b6r48sjM95DTuRZF", "fee": 2100000, "feeAssetId": null, "timestamp": 1663060357784, "version": 2, "chainId": 84, "sender": "3Mt6NEJ6ZK6TFZs14tvnR5iAgemnomy2m1V", "senderPublicKey": "5f9EawB8nxaLg7KKhyqV2RDBMwRBG6o69D8zc9myAzrY", "proofs": [ "3889XnyXSyrP5hTvmR5Kc23FeaqqstLZd4yA3ETML59RXEhGw9yoEvX3TR3xZDkNEgb7qiCawn17s9g8KL7vHuny" ], "script": "base64:AAIFAAAAAAAAAB0IAhIAEgASBAoCCAESAwoBCBIECgIIARIECgIICAAAACwAAAAABXdoZWVsCQAETAAAAAIAAAAAAAAAAAUJAARMAAAAAgAAAAAAAAAAGAkABEwAAAACAAAAAAAAAAAQCQAETAAAAAIAAAAAAAAAACEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAAUCQAETAAAAAIAAAAAAAAAAA4JAARMAAAAAgAAAAAAAAAAHwkABEwAAAACAAAAAAAAAAAJCQAETAAAAAIAAAAAAAAAABYJAARMAAAAAgAAAAAAAAAAEgkABEwAAAACAAAAAAAAAAAdCQAETAAAAAIAAAAAAAAAAAcJAARMAAAAAgAAAAAAAAAAHAkABEwAAAACAAAAAAAAAAAMCQAETAAAAAIAAAAAAAAAACMJAARMAAAAAgAAAAAAAAAAAwkABEwAAAACAAAAAAAAAAAaCQAETAAAAAIAAAAAAAAAAAAJAARMAAAAAgAAAAAAAAAAIAkABEwAAAACAAAAAAAAAAAPCQAETAAAAAIAAAAAAAAAABMJAARMAAAAAgAAAAAAAAAABAkABEwAAAACAAAAAAAAAAAV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AByRtYXRjaDEDCQEAAAACIT0AAAACBQAAAAVzdGF0ZQAAAAAAAAAAAQkAAAIAAAABAgAAABhHYW1lIGhhcyB0byBiZSBmaW5pc2hlZC4JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAASZ2FtZVJTQVB1YmxpY0xhYmVsBQAAAA5wYXJhbWV0ZXJWYWx1ZQUAAAADbmlsCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAEmdhbWVSU0FQdWJsaWNMYWJlbAUAAAAOcGFyYW1ldGVyVmFsdWUFAAAAA25pbAkAAAIAAAABAgAAAB1HYW1lIG5lZWRzIHRvIGJlIGluaXRpYWxpemVkLgkAAAIAAAABAgAAAElTZXR0aW5nIG5vdCBmb3VuZC4gQWxsb3dlZDogY2hhbmdlTWF4LCBjaGFuZ2VNaW4sIGNoYW5nZVJTQSwgY2hhbmdlUHViS2V5AAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXn2B5LJ", "height": 2227130, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FCk9jqnhrbfpy4RAE5C7kahBzZGftQw7rKWw6f78ZH27 Next: none Diff:
Old | New | Differences | |
---|---|---|---|
13 | 13 | ||
14 | 14 | let f = [3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36] | |
15 | 15 | ||
16 | - | let g = fromBase58String(" | |
16 | + | let g = fromBase58String("5f9EawB8nxaLg7KKhyqV2RDBMwRBG6o69D8zc9myAzrY") | |
17 | 17 | ||
18 | 18 | let h = "G_GAMESCOUNTER" | |
19 | 19 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = [5, 24, 16, 33, 1, 20, 14, 31, 9, 22, 18, 29, 7, 28, 12, 35, 3, 26, 0, 32, 15, 19, 4, 21, 2, 25, 17, 34, 6, 27, 13, 36, 11, 30, 8, 23, 10] | |
5 | 5 | ||
6 | 6 | let b = [2, 4, 6, 8, 10, 11, 13, 15, 17, 20, 22, 24, 26, 28, 29, 31, 33, 35] | |
7 | 7 | ||
8 | 8 | let c = [1, 3, 5, 7, 9, 12, 14, 16, 18, 19, 21, 23, 25, 27, 30, 32, 34, 36] | |
9 | 9 | ||
10 | 10 | let d = [1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34] | |
11 | 11 | ||
12 | 12 | let e = [2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35] | |
13 | 13 | ||
14 | 14 | let f = [3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36] | |
15 | 15 | ||
16 | - | let g = fromBase58String(" | |
16 | + | let g = fromBase58String("5f9EawB8nxaLg7KKhyqV2RDBMwRBG6o69D8zc9myAzrY") | |
17 | 17 | ||
18 | 18 | let h = "G_GAMESCOUNTER" | |
19 | 19 | ||
20 | 20 | let i = "G_TOTALBETS" | |
21 | 21 | ||
22 | 22 | let j = "G_PROCESSEDBETS" | |
23 | 23 | ||
24 | 24 | let k = "G_MINBET" | |
25 | 25 | ||
26 | 26 | let l = "G_MAXBET" | |
27 | 27 | ||
28 | 28 | let m = "G_RSAPUBLIC" | |
29 | 29 | ||
30 | 30 | let n = "G_GAMEMASTER_PUBLIC_KEY" | |
31 | 31 | ||
32 | 32 | let o = "G_TOKENID" | |
33 | 33 | ||
34 | 34 | func p () = getInteger(this, h) | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func q () = getInteger(this, i) | |
38 | 38 | ||
39 | 39 | ||
40 | 40 | func r () = getInteger(this, j) | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func s () = getIntegerValue(this, k) | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func t () = getIntegerValue(this, l) | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func u () = getStringValue(this, m) | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func v () = fromBase64String(u()) | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func w () = { | |
56 | 56 | let x = getString(this, o) | |
57 | 57 | if ($isInstanceOf(x, "String")) | |
58 | 58 | then { | |
59 | 59 | let y = x | |
60 | 60 | if ((y == "")) | |
61 | 61 | then unit | |
62 | 62 | else fromBase58String(y) | |
63 | 63 | } | |
64 | 64 | else unit | |
65 | 65 | } | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func z (A) = (("B_" + toString(A)) + "_BETDETAILS") | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func B (A) = (("B_" + toString(A)) + "_WINSTATE") | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func C (A) = (("B_" + toString(A)) + "_WINAMOUNT") | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func D (A) = (("B_" + toString(A)) + "_GAME") | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func E (A) = (("B_" + toString(A)) + "_PAYOUT") | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func F (A) = getStringValue(this, z(A)) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func G (A) = getIntegerValue(this, D(A)) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func H (I) = (("G_" + toString(I)) + "_STATE") | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func J (I) = (("G_" + toString(I)) + "_STARTHEIGHT") | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func K (I) = (("G_" + toString(I)) + "_ENDHEIGHT") | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func L (I) = (("G_" + toString(I)) + "_SUMSHA") | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func M (I) = (("G_" + toString(I)) + "_RESULT") | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func N (I) = (("G_" + toString(I)) + "_RANDOMHASH") | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func O (I) = getInteger(this, H(I)) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func P (I) = getInteger(this, K(I)) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func Q (I) = getString(this, L(I)) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func R (I) = getIntegerValue(this, M(I)) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func S (T) = (T != g) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func U (V) = (V == unit) | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func W (X) = if ((X == 1)) | |
126 | 126 | then 36 | |
127 | 127 | else if ((X == 2)) | |
128 | 128 | then 18 | |
129 | 129 | else if ((X == 3)) | |
130 | 130 | then 12 | |
131 | 131 | else if ((X == 4)) | |
132 | 132 | then 9 | |
133 | 133 | else if ((X == 5)) | |
134 | 134 | then 7 | |
135 | 135 | else if ((X == 6)) | |
136 | 136 | then 6 | |
137 | 137 | else 0 | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func Y (Z,aa) = { | |
141 | 141 | let ab = split(Z, "-") | |
142 | 142 | let ac = value(parseInt(ab[1])) | |
143 | 143 | let ad = ab[2] | |
144 | 144 | if ((ad == "numbers")) | |
145 | 145 | then { | |
146 | 146 | let ae = removeByIndex(removeByIndex(removeByIndex(ab, 0), 0), 0) | |
147 | 147 | if (containsElement(ae, toString(aa))) | |
148 | 148 | then (ac * W(size(ae))) | |
149 | 149 | else 0 | |
150 | 150 | } | |
151 | 151 | else if ((ad == "color")) | |
152 | 152 | then if ((ab[3] == "red")) | |
153 | 153 | then if (containsElement(c, aa)) | |
154 | 154 | then (ac * 2) | |
155 | 155 | else 0 | |
156 | 156 | else if (containsElement(b, aa)) | |
157 | 157 | then (ac * 2) | |
158 | 158 | else 0 | |
159 | 159 | else if ((ad == "column")) | |
160 | 160 | then if ((ab[3] == "1")) | |
161 | 161 | then if (containsElement(d, aa)) | |
162 | 162 | then (ac * 3) | |
163 | 163 | else 0 | |
164 | 164 | else if ((ab[3] == "2")) | |
165 | 165 | then if (containsElement(e, aa)) | |
166 | 166 | then (ac * 3) | |
167 | 167 | else 0 | |
168 | 168 | else if ((ab[3] == "3")) | |
169 | 169 | then if (containsElement(f, aa)) | |
170 | 170 | then (ac * 3) | |
171 | 171 | else 0 | |
172 | 172 | else 0 | |
173 | 173 | else if ((ad == "dozen")) | |
174 | 174 | then if ((ab[3] == "1")) | |
175 | 175 | then if (if ((aa >= 1)) | |
176 | 176 | then (12 >= aa) | |
177 | 177 | else false) | |
178 | 178 | then (ac * 3) | |
179 | 179 | else 0 | |
180 | 180 | else if ((ab[3] == "2")) | |
181 | 181 | then if (if ((aa >= 13)) | |
182 | 182 | then (24 >= aa) | |
183 | 183 | else false) | |
184 | 184 | then (ac * 3) | |
185 | 185 | else 0 | |
186 | 186 | else if ((ab[3] == "3")) | |
187 | 187 | then if (if ((aa >= 25)) | |
188 | 188 | then (36 >= aa) | |
189 | 189 | else false) | |
190 | 190 | then (ac * 3) | |
191 | 191 | else 0 | |
192 | 192 | else 0 | |
193 | 193 | else if ((ad == "oddeven")) | |
194 | 194 | then if ((aa == 0)) | |
195 | 195 | then 0 | |
196 | 196 | else if ((ab[3] == "even")) | |
197 | 197 | then if (if (((aa % 2) == 0)) | |
198 | 198 | then (aa != 0) | |
199 | 199 | else false) | |
200 | 200 | then (ac * 2) | |
201 | 201 | else 0 | |
202 | 202 | else if (((aa % 2) == 1)) | |
203 | 203 | then (ac * 2) | |
204 | 204 | else 0 | |
205 | 205 | else if ((ad == "lowhigh")) | |
206 | 206 | then if ((aa == 0)) | |
207 | 207 | then 0 | |
208 | 208 | else if ((ab[3] == "low")) | |
209 | 209 | then if (if ((aa >= 1)) | |
210 | 210 | then (18 >= aa) | |
211 | 211 | else false) | |
212 | 212 | then (ac * 2) | |
213 | 213 | else 0 | |
214 | 214 | else if (if ((aa >= 19)) | |
215 | 215 | then (36 >= aa) | |
216 | 216 | else false) | |
217 | 217 | then (ac * 2) | |
218 | 218 | else 0 | |
219 | 219 | else 0 | |
220 | 220 | } | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | @Callable(af) | |
224 | 224 | func processNextBet () = if (S(af.callerPublicKey)) | |
225 | 225 | then throw("processNextBet_FORBBIDEN") | |
226 | 226 | else { | |
227 | 227 | let x = q() | |
228 | 228 | if ($isInstanceOf(x, "Int")) | |
229 | 229 | then { | |
230 | 230 | let ag = x | |
231 | 231 | let ah = r() | |
232 | 232 | if ($isInstanceOf(ah, "Int")) | |
233 | 233 | then { | |
234 | 234 | let ai = ah | |
235 | 235 | let aj = (ai + 1) | |
236 | 236 | if ((aj > ag)) | |
237 | 237 | then throw("Next bet has not been placed.") | |
238 | 238 | else { | |
239 | 239 | let I = G(aj) | |
240 | 240 | let ak = O(I) | |
241 | 241 | if ($isInstanceOf(ak, "Int")) | |
242 | 242 | then { | |
243 | 243 | let al = ak | |
244 | 244 | if ((al == 1)) | |
245 | 245 | then { | |
246 | 246 | let aa = R(I) | |
247 | 247 | let am = F(aj) | |
248 | 248 | let an = split(am, "-")[0] | |
249 | 249 | let ao = value(addressFromString(an)) | |
250 | 250 | let ap = Y(am, aa) | |
251 | 251 | [ScriptTransfer(ao, ap, w()), IntegerEntry(j, (ai + 1)), IntegerEntry(E(aj), ap)] | |
252 | 252 | } | |
253 | 253 | else throw("Game has not finished.") | |
254 | 254 | } | |
255 | 255 | else throw("Game does not exist or has already ended.") | |
256 | 256 | } | |
257 | 257 | } | |
258 | 258 | else throw("Game has not been initialized, next bets not found") | |
259 | 259 | } | |
260 | 260 | else throw("Game has not been initialized, total bets not found") | |
261 | 261 | } | |
262 | 262 | ||
263 | 263 | ||
264 | 264 | ||
265 | 265 | @Callable(af) | |
266 | 266 | func initGame () = if (S(af.callerPublicKey)) | |
267 | 267 | then throw("initGame_FORBBIDEN") | |
268 | 268 | else { | |
269 | 269 | let x = p() | |
270 | 270 | if ($isInstanceOf(x, "Int")) | |
271 | 271 | then { | |
272 | 272 | let aq = x | |
273 | 273 | throw("INIT_ALREADY_DONE") | |
274 | 274 | } | |
275 | 275 | else [IntegerEntry(h, 0), IntegerEntry(i, 0), IntegerEntry(j, 0), IntegerEntry(k, 100000000), IntegerEntry(l, 2500000000), StringEntry(m, "base64:<gameRSAPublicLabel>"), StringEntry(o, "")] | |
276 | 276 | } | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | ||
280 | 280 | @Callable(af) | |
281 | 281 | func startGame (ar,as) = if (S(af.callerPublicKey)) | |
282 | 282 | then throw("startGame_FORBBIDEN") | |
283 | 283 | else { | |
284 | 284 | let x = p() | |
285 | 285 | if ($isInstanceOf(x, "Int")) | |
286 | 286 | then { | |
287 | 287 | let aq = x | |
288 | 288 | let at = (aq + 1) | |
289 | 289 | if ((aq > 0)) | |
290 | 290 | then { | |
291 | 291 | let ah = O(aq) | |
292 | 292 | if ($isInstanceOf(ah, "Int")) | |
293 | 293 | then { | |
294 | 294 | let au = ah | |
295 | 295 | if ((au == 0)) | |
296 | 296 | then throw("Last game has not finished yet.") | |
297 | 297 | else [IntegerEntry(h, at), IntegerEntry(J(at), lastBlock.height), IntegerEntry(K(at), (height + as)), IntegerEntry(H(at), 0), StringEntry(L(at), toBase58String(sha256(fromBase64String(ar))))] | |
298 | 298 | } | |
299 | 299 | else throw("Game state not found.") | |
300 | 300 | } | |
301 | 301 | else [IntegerEntry(h, at), IntegerEntry(J(at), lastBlock.height), IntegerEntry(K(at), (height + as)), IntegerEntry(H(at), 0), StringEntry(L(at), toBase58String(sha256(fromBase64String(ar))))] | |
302 | 302 | } | |
303 | 303 | else throw("INIT_NEEDED") | |
304 | 304 | } | |
305 | 305 | ||
306 | 306 | ||
307 | 307 | ||
308 | 308 | @Callable(af) | |
309 | 309 | func placeBet (Z) = { | |
310 | 310 | let av = w() | |
311 | 311 | if ((af.feeAssetId != av)) | |
312 | 312 | then throw("Fee is not in correct assetId") | |
313 | 313 | else { | |
314 | 314 | let ab = split(Z, "-") | |
315 | 315 | let ad = ab[0] | |
316 | 316 | if (if (if (if (if (if ((ad != "numbers")) | |
317 | 317 | then (ad != "column") | |
318 | 318 | else false) | |
319 | 319 | then (ad != "color") | |
320 | 320 | else false) | |
321 | 321 | then (ad != "dozen") | |
322 | 322 | else false) | |
323 | 323 | then (ad != "oddeven") | |
324 | 324 | else false) | |
325 | 325 | then (ad != "lowhigh") | |
326 | 326 | else false) | |
327 | 327 | then throw("Bet type is not valid.") | |
328 | 328 | else { | |
329 | 329 | let x = p() | |
330 | 330 | if ($isInstanceOf(x, "Int")) | |
331 | 331 | then { | |
332 | 332 | let aq = x | |
333 | 333 | let ah = O(aq) | |
334 | 334 | if ($isInstanceOf(ah, "Int")) | |
335 | 335 | then { | |
336 | 336 | let al = ah | |
337 | 337 | if ((al == 1)) | |
338 | 338 | then throw("Game is finished and next game has not started.") | |
339 | 339 | else if ((size(af.payments) != 1)) | |
340 | 340 | then throw("Payment not attached or there is more then one payment") | |
341 | 341 | else { | |
342 | 342 | let aw = af.payments[0] | |
343 | 343 | let ax = aw.amount | |
344 | 344 | if (if (if ((value(t()) >= ax)) | |
345 | 345 | then (ax >= value(s())) | |
346 | 346 | else false) | |
347 | 347 | then (af.payments[0].assetId == av) | |
348 | 348 | else false) | |
349 | 349 | then { | |
350 | 350 | let ak = P(aq) | |
351 | 351 | if ($isInstanceOf(ak, "Int")) | |
352 | 352 | then { | |
353 | 353 | let ay = ak | |
354 | 354 | if ((ay > height)) | |
355 | 355 | then { | |
356 | 356 | let az = q() | |
357 | 357 | if ($isInstanceOf(az, "Int")) | |
358 | 358 | then { | |
359 | 359 | let ag = az | |
360 | 360 | let aA = (ag + 1) | |
361 | 361 | if ((av == unit)) | |
362 | 362 | then [IntegerEntry(i, (ag + 1)), StringEntry(z(aA), ((((toBase58String(af.caller.bytes) + "-") + toString(ax)) + "-") + Z)), IntegerEntry(D(aA), aq)] | |
363 | 363 | else [IntegerEntry(i, (ag + 1)), StringEntry(z(aA), ((((toBase58String(af.caller.bytes) + "-") + toString(ax)) + "-") + Z)), IntegerEntry(D(aA), aq)] | |
364 | 364 | } | |
365 | 365 | else throw("Game has not been initalized.") | |
366 | 366 | } | |
367 | 367 | else throw("Game has already exceeded betting round") | |
368 | 368 | } | |
369 | 369 | else throw("End height has not been defined.") | |
370 | 370 | } | |
371 | 371 | else throw((((((("Bet (" + toString(ax)) + ") is greater than maximum bet (") + toString(t())) + "), lower than minimum (") + toString(s())) + ") or payment is not in correct assetId.")) | |
372 | 372 | } | |
373 | 373 | } | |
374 | 374 | else throw("Game does not exist or has already ended.") | |
375 | 375 | } | |
376 | 376 | else throw("Game needs to be initialized.") | |
377 | 377 | } | |
378 | 378 | } | |
379 | 379 | } | |
380 | 380 | ||
381 | 381 | ||
382 | 382 | ||
383 | 383 | @Callable(af) | |
384 | 384 | func endGame (aB,I) = if (S(af.callerPublicKey)) | |
385 | 385 | then throw("endGame_FORBBIDEN") | |
386 | 386 | else { | |
387 | 387 | let x = O(I) | |
388 | 388 | if ($isInstanceOf(x, "Int")) | |
389 | 389 | then { | |
390 | 390 | let al = x | |
391 | 391 | if ((al == 1)) | |
392 | 392 | then throw("Game is finished") | |
393 | 393 | else { | |
394 | 394 | let ah = P(I) | |
395 | 395 | if ($isInstanceOf(ah, "Int")) | |
396 | 396 | then { | |
397 | 397 | let aC = ah | |
398 | 398 | if ((aC > height)) | |
399 | 399 | then throw(("Not enough blocks have past since game has started, game ends at block " + toString(aC))) | |
400 | 400 | else { | |
401 | 401 | let ak = Q(I) | |
402 | 402 | if ($isInstanceOf(ak, "String")) | |
403 | 403 | then { | |
404 | 404 | let aD = ak | |
405 | 405 | let aE = fromBase64String(aB) | |
406 | 406 | let aF = rsaVerify(SHA256, fromBase58String(aD), aE, v()) | |
407 | 407 | let az = blockInfoByHeight(aC) | |
408 | 408 | if ($isInstanceOf(az, "BlockInfo")) | |
409 | 409 | then { | |
410 | 410 | let aG = az | |
411 | 411 | let ar = sha256((take(aE, 32) + take(aG.generationSignature, 32))) | |
412 | 412 | if (!(aF)) | |
413 | 413 | then throw("INVALID_RSA_SIGN") | |
414 | 414 | else { | |
415 | 415 | let aH = a[((toInt(ar) + value(I)) % 37)] | |
416 | 416 | [IntegerEntry(H(I), 1), IntegerEntry(M(I), aH), StringEntry(N(I), toBase64String(ar))] | |
417 | 417 | } | |
418 | 418 | } | |
419 | 419 | else throw("Last block does not exist.") | |
420 | 420 | } | |
421 | 421 | else throw("SHA does not exist") | |
422 | 422 | } | |
423 | 423 | } | |
424 | 424 | else throw("Cannot get game height.") | |
425 | 425 | } | |
426 | 426 | } | |
427 | 427 | else throw("Game does not exist or has already ended") | |
428 | 428 | } | |
429 | 429 | ||
430 | 430 | ||
431 | 431 | ||
432 | 432 | @Callable(af) | |
433 | 433 | func setParameter (aI,aJ) = if (S(af.callerPublicKey)) | |
434 | 434 | then throw("setParameter_FORBBIDEN") | |
435 | 435 | else if ((aI == "changeMax")) | |
436 | 436 | then { | |
437 | 437 | let aK = parseIntValue(aJ) | |
438 | 438 | let aL = s() | |
439 | 439 | if ((0 > aK)) | |
440 | 440 | then throw("value cannot be lower than 0") | |
441 | 441 | else if ((aL >= aK)) | |
442 | 442 | then throw((("value cannot be lower or equal than min bet (" + toString(aL)) + ")")) | |
443 | 443 | else [IntegerEntry(l, aK)] | |
444 | 444 | } | |
445 | 445 | else if ((aI == "changeMin")) | |
446 | 446 | then { | |
447 | 447 | let aK = t() | |
448 | 448 | let aL = parseIntValue(aJ) | |
449 | 449 | if ((0 > aL)) | |
450 | 450 | then throw("value cannot be lower than 0") | |
451 | 451 | else if ((aL >= aK)) | |
452 | 452 | then throw((("value cannot be greater or equal than min bet (" + toString(aK)) + ")")) | |
453 | 453 | else [IntegerEntry(k, aL)] | |
454 | 454 | } | |
455 | 455 | else if ((aI == "changeRSA")) | |
456 | 456 | then { | |
457 | 457 | let x = p() | |
458 | 458 | if ($isInstanceOf(x, "Int")) | |
459 | 459 | then { | |
460 | 460 | let aq = x | |
461 | 461 | let ah = O(aq) | |
462 | 462 | if ($isInstanceOf(ah, "Int")) | |
463 | 463 | then { | |
464 | 464 | let al = ah | |
465 | 465 | if ((al != 1)) | |
466 | 466 | then throw("Game has to be finished.") | |
467 | 467 | else [StringEntry(m, aJ)] | |
468 | 468 | } | |
469 | 469 | else [StringEntry(m, aJ)] | |
470 | 470 | } | |
471 | 471 | else throw("Game needs to be initialized.") | |
472 | 472 | } | |
473 | 473 | else throw("Setting not found. Allowed: changeMax, changeMin, changeRSA, changePubKey") | |
474 | 474 | ||
475 | 475 | ||
476 | 476 | @Verifier(aM) | |
477 | 477 | func aN () = sigVerify(aM.bodyBytes, aM.proofs[0], aM.senderPublicKey) | |
478 | 478 |
github/deemru/w8io/169f3d6 59.18 ms ◑