tx · FTbqJRc2cCWdFDmCruT2p7jPoBiExcmakaJKY7Tyd8d2 3N4vtgpXkE68DqQchkdVCSoaSNxMJ8Xuctx: -0.01400000 Waves 2021.02.25 00:15 [1412707] smart account 3N4vtgpXkE68DqQchkdVCSoaSNxMJ8Xuctx > SELF 0.00000000 Waves
{ "type": 13, "id": "FTbqJRc2cCWdFDmCruT2p7jPoBiExcmakaJKY7Tyd8d2", "fee": 1400000, "feeAssetId": null, "timestamp": 1614201336349, "version": 2, "chainId": 84, "sender": "3N4vtgpXkE68DqQchkdVCSoaSNxMJ8Xuctx", "senderPublicKey": "8Q6AAquTkqKK6raBKopy9WX83aDSeQEnLGrL5nbh7Z4V", "proofs": [ "54Q2hcJ5eHfKa7mWQEDA1Z5hAoimNV9ni85GBYL5kDCHRZA8zbetoErcWWQ6rXBz3QnwEz8LHt2RvFPAPfYmoqiu" ], "script": "base64:AAIDAAAAAAAAAA4IARIAEgASBgoECAgICAAAACEAAAAADWdhbWVQdWJsaWNLZXkJAAJZAAAAAQIAAAAsOFE2QUFxdVRrcUtLNnJhQktvcHk5V1g4M2FEU2VRRW5MR3JMNW5iaDdaNFYAAAAADmFkbWluUHVibGljS2V5CQACWQAAAAECAAAALDd3a0JXVmhvOW01QnZYblJRamlCV1JHdHFZaUdMck56dkVwQ0RQa25ZNFAzAAAAAAtnYW1lQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQUAAAANZ2FtZVB1YmxpY0tleQAAAAAMYWRtaW5BZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAAA5hZG1pblB1YmxpY0tleQAAAAANcnNhUHVibGljS2V5MQkAAlsAAAABAgAAAYhNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQWw2b3VVWnlVcnlVRzJMbEYydVlRWGRiL0U2VWhsWkFicWxPSlVDWGtlNFgzb3NheWE2M2JOUWVVTlBLN20v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wAAAACAgAAAAEzCQAETAAAAAICAAAAATUJAARMAAAAAgIAAAABMQkABEwAAAACAgAAAAE2CQAETAAAAAICAAAAATQJAARMAAAAAgIAAAABMgkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATEJAARMAAAAAgIAAAABNAkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATEJAARMAAAAAgIAAAABNgkABEwAAAACAgAAAAEzCQAETAAAAAICAAAAATQJAARMAAAAAgIAAAABMQkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATUJAARMAAAAAgIAAAABNAkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATUJAARMAAAAAgIAAAABMwkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATcJAARMAAAAAgIAAAABNQkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATMFAAAAA25pbAAAAAAFZHJ1bTMJAARMAAAAAgIAAAABMwkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATUJAARMAAAAAgIAAAABMgkABEwAAAACAgAAAAE3CQAETAAAAAICAAAAATQJAARMAAAAAgIAAAABMQkABEwAAAACAgAAAAEzCQAETAAAAAICAAAAATYJAARMAAAAAgIAAAABNAkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATMJAARMAAAAAgIAAAABMQkABEwAAAACAgAAAAE2CQAETAAAAAICAAAAATQJAARMAAAAAgIAAAABMgkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATUJAARMAAAAAgIAAAABMgkABEwAAAACAgAAAAE1CQAETAAAAAICAAAAATEJAARMAAAAAgIAAAABMwkABEwAAAACAgAAAAE3CQAETAAAAAICAAAAATEJAARMAAAAAgIAAAABMgkABEwAAAACAgAAAAE2CQAETAAAAAICAAAAATQJAARMAAAAAgIAAAABMQkABEwAAAACAgAAAAEzCQAETAAAAAICAAAAATEFAAAAA25pbAAAAAAIc3RhdGVBY2MCAAAABkFDVElWRQAAAAAHd2F2ZXNJZAUAAAAEdW5pdAAAAAALbkxpZmVNaW5BbXQAAAA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AAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAGUExBWUVEAgAAAAFfBQAAAApwbGF5ZXJBZGRyAgAAAAFfBQAAAAliZXRBbW91bnQCAAAAAV8JAAGkAAAAAQUAAAAJYW1vdW50V29uAgAAAAdfTkxJRkVfCQABpAAAAAEFAAAABmhlaWdodAIAAAABXwUAAAAOd2luc0luMjAwVGltZXMCAAAAA18wXwkAAaQAAAABCQAAZAAAAAIFAAAAA3JvdwAAAAAAAAAAAQIAAAABXwUAAAALdGhyZWVJbkFSb3cCAAAAAV8FAAAADWluZGV4UG9zaXRpb24JAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAEGdhbWVMYWJlbDVJbkFSb3cJAAEsAAAAAgkAASwAAAACCQABpAAAAAEJAABkAAAAAgUAAAADcm93AAAAAAAAAAABAgAAAAFfBQAAAApwbGF5ZXJBZGRyBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAAAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADWdhbWVQdWJsaWNLZXkEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGBwdAy6nc", "height": 1412707, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5T6GYtSNMciJafHiLKVUrcUCHsw6xqDXEmemGV3Y2eAF Next: 7FtwbsCcoKYHvPXkeeanT55CaCP5oVDYH24ickukvWm7 Diff:
Old | New | Differences | |
---|---|---|---|
23 | 23 | ||
24 | 24 | let k = "ACTIVE" | |
25 | 25 | ||
26 | - | let l = | |
26 | + | let l = unit | |
27 | 27 | ||
28 | - | let m = | |
28 | + | let m = 10000000 | |
29 | 29 | ||
30 | - | let n = | |
30 | + | let n = 50000000 | |
31 | 31 | ||
32 | - | let o = | |
32 | + | let o = "GAMESCOUNTER" | |
33 | 33 | ||
34 | - | let p = | |
34 | + | let p = (toString(c) + "_GAME_ADDRESS") | |
35 | 35 | ||
36 | - | let q = | |
36 | + | let q = (toString(c) + "_ROW_WIN/LOSE") | |
37 | 37 | ||
38 | - | let r = 50000000 | |
39 | - | ||
40 | - | let s = "GAMESCOUNTER" | |
41 | - | ||
42 | - | let t = (toString(c) + "_GAME_ADDRESS") | |
43 | - | ||
44 | - | let u = (toString(c) + "_ROW_WIN/LOSE") | |
45 | - | ||
46 | - | func v () = getInteger(this, s) | |
38 | + | func r () = getInteger(this, o) | |
47 | 39 | ||
48 | 40 | ||
49 | - | func | |
41 | + | func s () = getString(this, p) | |
50 | 42 | ||
51 | 43 | ||
52 | - | func | |
44 | + | func t () = getString(this, q) | |
53 | 45 | ||
54 | 46 | ||
55 | - | func | |
47 | + | func u (v) = (v + "_BETDATA") | |
56 | 48 | ||
57 | 49 | ||
58 | - | func | |
50 | + | func w (v) = getString(this, u(v)) | |
59 | 51 | ||
60 | 52 | ||
61 | - | func | |
53 | + | func x (y) = (y + "_IN200WINS") | |
62 | 54 | ||
63 | 55 | ||
64 | - | func | |
56 | + | func z (y) = (y + "_NFT") | |
65 | 57 | ||
66 | 58 | ||
67 | - | func | |
59 | + | func A (y) = getInteger(this, x(y)) | |
68 | 60 | ||
69 | 61 | ||
70 | - | func F (C) = getInteger(this, D(C)) | |
62 | + | func B (y) = getInteger(this, z(y)) | |
63 | + | ||
64 | + | ||
65 | + | func C () = { | |
66 | + | let D = s() | |
67 | + | let E = { | |
68 | + | let F = D | |
69 | + | if ($isInstanceOf(F, "String")) | |
70 | + | then { | |
71 | + | let E = F | |
72 | + | E | |
73 | + | } | |
74 | + | else throw("GAME_DATA_ERROR_1") | |
75 | + | } | |
76 | + | split(E, "_") | |
77 | + | } | |
71 | 78 | ||
72 | 79 | ||
73 | 80 | func G () = { | |
74 | - | let H = | |
75 | - | let | |
76 | - | let | |
77 | - | if ($isInstanceOf( | |
81 | + | let H = t() | |
82 | + | let E = { | |
83 | + | let F = H | |
84 | + | if ($isInstanceOf(F, "String")) | |
78 | 85 | then { | |
79 | - | let | |
80 | - | | |
86 | + | let E = F | |
87 | + | E | |
81 | 88 | } | |
82 | - | else throw("GAME_DATA_ERROR_ | |
89 | + | else throw("GAME_DATA_ERROR_2") | |
83 | 90 | } | |
84 | - | split( | |
91 | + | split(E, "_") | |
85 | 92 | } | |
86 | 93 | ||
87 | 94 | ||
88 | - | func | |
89 | - | let | |
90 | - | let | |
91 | - | let | |
92 | - | if ($isInstanceOf( | |
95 | + | func I (v) = { | |
96 | + | let J = w(v) | |
97 | + | let E = { | |
98 | + | let F = J | |
99 | + | if ($isInstanceOf(F, "String")) | |
93 | 100 | then { | |
94 | - | let | |
95 | - | | |
101 | + | let E = F | |
102 | + | E | |
96 | 103 | } | |
97 | - | else throw(" | |
104 | + | else throw("BET_DATA_ERROR") | |
98 | 105 | } | |
99 | - | split( | |
106 | + | split(E, "_") | |
100 | 107 | } | |
101 | 108 | ||
102 | 109 | ||
103 | - | func M (z) = { | |
104 | - | let N = A(z) | |
105 | - | let I = { | |
106 | - | let J = N | |
107 | - | if ($isInstanceOf(J, "String")) | |
108 | - | then { | |
109 | - | let I = J | |
110 | - | I | |
111 | - | } | |
112 | - | else throw("BET_DATA_ERROR") | |
113 | - | } | |
114 | - | split(I, "_") | |
115 | - | } | |
116 | - | ||
117 | - | ||
118 | - | func O (P) = if (if ((P >= q)) | |
119 | - | then (r >= P) | |
110 | + | func K (L) = if (if ((L >= m)) | |
111 | + | then (n >= L) | |
120 | 112 | else false) | |
121 | 113 | then true | |
122 | 114 | else throw("AMOUNT_NOT_IN_RANGE") | |
123 | 115 | ||
124 | 116 | ||
125 | - | func | |
126 | - | then ("0" + toString( | |
127 | - | else toString( | |
117 | + | func M (N) = if ((10 > N)) | |
118 | + | then ("0" + toString(N)) | |
119 | + | else toString(N) | |
128 | 120 | ||
129 | 121 | ||
130 | - | func | |
122 | + | func O (P) = if ((P == "777")) | |
131 | 123 | then 1199 | |
132 | - | else if (( | |
124 | + | else if ((P == "666")) | |
133 | 125 | then 200 | |
134 | - | else if (( | |
126 | + | else if ((P == "555")) | |
135 | 127 | then 150 | |
136 | - | else if (( | |
128 | + | else if ((P == "667")) | |
137 | 129 | then 80 | |
138 | - | else if (( | |
130 | + | else if ((P == "665")) | |
139 | 131 | then 80 | |
140 | - | else if (( | |
132 | + | else if ((P == "677")) | |
141 | 133 | then 80 | |
142 | - | else if (( | |
134 | + | else if ((P == "655")) | |
143 | 135 | then 80 | |
144 | - | else if (( | |
136 | + | else if ((P == "675")) | |
145 | 137 | then 80 | |
146 | - | else if (( | |
138 | + | else if ((P == "657")) | |
147 | 139 | then 80 | |
148 | - | else if (( | |
140 | + | else if ((P == "776")) | |
149 | 141 | then 80 | |
150 | - | else if (( | |
142 | + | else if ((P == "775")) | |
151 | 143 | then 80 | |
152 | - | else if (( | |
144 | + | else if ((P == "766")) | |
153 | 145 | then 80 | |
154 | - | else if (( | |
146 | + | else if ((P == "755")) | |
155 | 147 | then 80 | |
156 | - | else if (( | |
148 | + | else if ((P == "756")) | |
157 | 149 | then 80 | |
158 | - | else if (( | |
150 | + | else if ((P == "765")) | |
159 | 151 | then 80 | |
160 | - | else if (( | |
152 | + | else if ((P == "556")) | |
161 | 153 | then 80 | |
162 | - | else if (( | |
154 | + | else if ((P == "557")) | |
163 | 155 | then 80 | |
164 | - | else if (( | |
156 | + | else if ((P == "566")) | |
165 | 157 | then 80 | |
166 | - | else if (( | |
158 | + | else if ((P == "577")) | |
167 | 159 | then 80 | |
168 | - | else if (( | |
160 | + | else if ((P == "576")) | |
169 | 161 | then 80 | |
170 | - | else if (( | |
162 | + | else if ((P == "567")) | |
171 | 163 | then 80 | |
172 | - | else if (( | |
164 | + | else if ((P == "234")) | |
173 | 165 | then 50 | |
174 | - | else if (( | |
166 | + | else if ((P == "444")) | |
175 | 167 | then 40 | |
176 | - | else if (( | |
168 | + | else if ((P == "333")) | |
177 | 169 | then 25 | |
178 | - | else if (( | |
170 | + | else if ((P == "564")) | |
179 | 171 | then 20 | |
180 | - | else if (( | |
172 | + | else if ((P == "534")) | |
181 | 173 | then 20 | |
182 | - | else if (( | |
174 | + | else if ((P == "537")) | |
183 | 175 | then 20 | |
184 | - | else if (( | |
176 | + | else if ((P == "264")) | |
185 | 177 | then 20 | |
186 | - | else if (( | |
178 | + | else if ((P == "267")) | |
187 | 179 | then 20 | |
188 | - | else if (( | |
180 | + | else if ((P == "237")) | |
189 | 181 | then 20 | |
190 | - | else if (( | |
182 | + | else if ((P == "222")) | |
191 | 183 | then 10 | |
192 | - | else if (( | |
184 | + | else if ((P == "443")) | |
193 | 185 | then 5 | |
194 | - | else if (( | |
186 | + | else if ((P == "442")) | |
195 | 187 | then 5 | |
196 | - | else if (( | |
188 | + | else if ((P == "433")) | |
197 | 189 | then 5 | |
198 | - | else if (( | |
190 | + | else if ((P == "334")) | |
199 | 191 | then 5 | |
200 | - | else if (( | |
192 | + | else if ((P == "332")) | |
201 | 193 | then 5 | |
202 | - | else if (( | |
194 | + | else if ((P == "344")) | |
203 | 195 | then 5 | |
204 | - | else if (( | |
196 | + | else if ((P == "322")) | |
205 | 197 | then 5 | |
206 | - | else if (( | |
198 | + | else if ((P == "224")) | |
207 | 199 | then 5 | |
208 | - | else if (( | |
200 | + | else if ((P == "223")) | |
209 | 201 | then 5 | |
210 | - | else if (( | |
202 | + | else if ((P == "244")) | |
211 | 203 | then 5 | |
212 | - | else if (( | |
204 | + | else if ((P == "233")) | |
213 | 205 | then 5 | |
214 | - | else if (( | |
206 | + | else if ((P == "342")) | |
215 | 207 | then 5 | |
216 | - | else if (( | |
208 | + | else if ((P == "324")) | |
217 | 209 | then 5 | |
218 | - | else if (( | |
210 | + | else if ((P == "423")) | |
219 | 211 | then 5 | |
220 | - | else if (( | |
212 | + | else if ((P == "432")) | |
221 | 213 | then 5 | |
222 | - | else if (( | |
214 | + | else if ((P == "243")) | |
223 | 215 | then 5 | |
224 | - | else if (( | |
216 | + | else if ((P == "474")) | |
225 | 217 | then 2 | |
226 | - | else if (( | |
218 | + | else if ((P == "747")) | |
227 | 219 | then 2 | |
228 | - | else if (( | |
220 | + | else if ((P == "774")) | |
229 | 221 | then 2 | |
230 | - | else if (( | |
222 | + | else if ((P == "744")) | |
231 | 223 | then 2 | |
232 | - | else if (( | |
224 | + | else if ((P == "477")) | |
233 | 225 | then 2 | |
234 | - | else if (( | |
226 | + | else if ((P == "447")) | |
235 | 227 | then 2 | |
236 | - | else if (( | |
228 | + | else if ((P == "636")) | |
237 | 229 | then 2 | |
238 | - | else if (( | |
230 | + | else if ((P == "363")) | |
239 | 231 | then 2 | |
240 | - | else if (( | |
232 | + | else if ((P == "663")) | |
241 | 233 | then 2 | |
242 | - | else if (( | |
234 | + | else if ((P == "633")) | |
243 | 235 | then 2 | |
244 | - | else if (( | |
236 | + | else if ((P == "366")) | |
245 | 237 | then 2 | |
246 | - | else if (( | |
238 | + | else if ((P == "336")) | |
247 | 239 | then 2 | |
248 | - | else if (( | |
240 | + | else if ((P == "252")) | |
249 | 241 | then 2 | |
250 | - | else if (( | |
242 | + | else if ((P == "525")) | |
251 | 243 | then 2 | |
252 | - | else if (( | |
244 | + | else if ((P == "522")) | |
253 | 245 | then 2 | |
254 | - | else if (( | |
246 | + | else if ((P == "552")) | |
255 | 247 | then 2 | |
256 | - | else if (( | |
248 | + | else if ((P == "255")) | |
257 | 249 | then 2 | |
258 | - | else if (( | |
250 | + | else if ((P == "225")) | |
259 | 251 | then 2 | |
260 | - | else if (( | |
252 | + | else if ((P == "111")) | |
261 | 253 | then 1 | |
262 | 254 | else 0 | |
263 | 255 | ||
264 | 256 | ||
265 | - | func | |
266 | - | let | |
267 | - | if ( | |
268 | - | then (toInt(sha256(toBytes( | |
257 | + | func Q (R,S,T) = { | |
258 | + | let U = rsaVerify(SHA256, toBytes(R), fromBase64String(S), T) | |
259 | + | if (U) | |
260 | + | then (toInt(sha256(toBytes(S))) % 39) | |
269 | 261 | else throw("Rsa Signature is invalid") | |
270 | 262 | } | |
271 | 263 | ||
272 | 264 | ||
273 | - | @Callable( | |
274 | - | func initSlotGame () = if (( | |
265 | + | @Callable(V) | |
266 | + | func initSlotGame () = if ((V.callerPublicKey != b)) | |
275 | 267 | then throw("initGame_FORBBIDEN") | |
276 | 268 | else { | |
277 | - | let | |
278 | - | if ($isInstanceOf( | |
269 | + | let F = r() | |
270 | + | if ($isInstanceOf(F, "Int")) | |
279 | 271 | then { | |
280 | - | let | |
272 | + | let W = F | |
281 | 273 | throw("INIT_ALREADY_DONE") | |
282 | 274 | } | |
283 | - | else WriteSet([DataEntry( | |
275 | + | else WriteSet([DataEntry(o, 0), DataEntry(p, ((((k + "_") + toString(c)) + "_") + toString(height))), DataEntry(q, ("0_" + toString(c)))]) | |
284 | 276 | } | |
285 | 277 | ||
286 | 278 | ||
287 | 279 | ||
288 | - | @Callable( | |
280 | + | @Callable(V) | |
289 | 281 | func placeBet () = { | |
290 | - | let | |
291 | - | let | |
292 | - | let | |
293 | - | let | |
294 | - | let | |
295 | - | let | |
296 | - | let | |
297 | - | if (( | |
282 | + | let X = extract(V.caller) | |
283 | + | let Y = extract(V.payment) | |
284 | + | let L = Y.amount | |
285 | + | let Z = C() | |
286 | + | let aa = Z[0] | |
287 | + | let ab = I(toString(X)) | |
288 | + | let ac = ab[0] | |
289 | + | if ((aa != "ACTIVE")) | |
298 | 290 | then throw("SLOT_GAME_NOT_INITIALIZED") | |
299 | 291 | else { | |
300 | - | let | |
301 | - | if ($isInstanceOf( | |
292 | + | let F = r() | |
293 | + | if ($isInstanceOf(F, "Int")) | |
302 | 294 | then { | |
303 | - | let | |
304 | - | let | |
305 | - | if (!( | |
295 | + | let W = F | |
296 | + | let ad = (W + 1) | |
297 | + | if (!(K(L))) | |
306 | 298 | then throw("WRONG_BET_AMOUNT") | |
307 | - | else if (( | |
299 | + | else if ((ac != "PLAYED")) | |
308 | 300 | then throw("COMPLETE_ PREVIOUS_GAME") | |
309 | 301 | else { | |
310 | - | let | |
311 | - | if ($isInstanceOf( | |
302 | + | let ae = A(toString(X)) | |
303 | + | if ($isInstanceOf(ae, "Int")) | |
312 | 304 | then { | |
313 | - | let | |
314 | - | if (( | |
315 | - | then WriteSet([DataEntry( | |
305 | + | let af = ae | |
306 | + | if ((af >= 0)) | |
307 | + | then WriteSet([DataEntry(o, ad), DataEntry(u(toString(X)), (((((((("BET" + "_") + toString(X)) + "_") + toString(L)) + "_0_") + "_NLIFE_") + toString(height)) + "_0_0_0_0_0"))]) | |
316 | 308 | else throw("WRONG_GETWINS") | |
317 | 309 | } | |
318 | - | else WriteSet([DataEntry( | |
310 | + | else WriteSet([DataEntry(o, ad), DataEntry(u(toString(X)), (((((((("BET" + "_") + toString(X)) + "_") + toString(L)) + "_0_") + "_NLIFE_") + toString(height)) + "_0_0_0_0_0")), DataEntry(x(toString(X)), 0)]) | |
319 | 311 | } | |
320 | 312 | } | |
321 | 313 | else throw("INIT_NEEDED_FOR_COUNT") | |
324 | 316 | ||
325 | 317 | ||
326 | 318 | ||
327 | - | @Callable( | |
328 | - | func playGame ( | |
329 | - | let | |
330 | - | let | |
331 | - | let | |
332 | - | let | |
333 | - | let | |
334 | - | let | |
335 | - | let | |
336 | - | let | |
337 | - | let | |
338 | - | let | |
339 | - | let | |
340 | - | let | |
341 | - | let | |
342 | - | let | |
343 | - | let | |
344 | - | let | |
345 | - | let | |
346 | - | let | |
347 | - | let | |
348 | - | if (( | |
319 | + | @Callable(V) | |
320 | + | func playGame (R,ag,ah,ai) = { | |
321 | + | let Z = C() | |
322 | + | let aa = Z[0] | |
323 | + | let aj = G() | |
324 | + | let ak = parseIntValue(aj[0]) | |
325 | + | let al = aj[1] | |
326 | + | let ab = I(toString(V.caller)) | |
327 | + | let ac = ab[0] | |
328 | + | let v = ab[1] | |
329 | + | let L = ab[2] | |
330 | + | let am = ab[5] | |
331 | + | let an = ab[6] | |
332 | + | let ao = ab[7] | |
333 | + | let ap = ab[8] | |
334 | + | let aq = Q(R, ag, e) | |
335 | + | let ar = Q(R, ah, f) | |
336 | + | let as = Q(R, ai, g) | |
337 | + | let at = ((M(aq) + M(ar)) + M(as)) | |
338 | + | let P = ((h[aq] + i[ar]) + j[as]) | |
339 | + | let au = (O(P) * parseIntValue(L)) | |
340 | + | if ((aa != "ACTIVE")) | |
349 | 341 | then throw("SLOT_GAME_NOT_INITIALIZED") | |
350 | - | else if (( | |
342 | + | else if ((ac != "BET")) | |
351 | 343 | then throw("PLACE_BET_BEFORE_YOU_PLAY") | |
352 | - | else if (( | |
344 | + | else if ((V.caller != addressFromStringValue(v))) | |
353 | 345 | then throw("NOT_CURRENT_PLAYER") | |
354 | - | else if (( | |
346 | + | else if ((au != 0)) | |
355 | 347 | then { | |
356 | - | let | |
357 | - | if ($isInstanceOf( | |
348 | + | let F = A(v) | |
349 | + | if ($isInstanceOf(F, "Int")) | |
358 | 350 | then { | |
359 | - | let | |
360 | - | let | |
361 | - | if (( | |
362 | - | then ScriptResult(WriteSet([DataEntry( | |
363 | - | else if (( | |
364 | - | then ScriptResult(WriteSet([DataEntry( | |
365 | - | else if (if (( | |
366 | - | then ( | |
351 | + | let af = F | |
352 | + | let av = (af + 1) | |
353 | + | if ((P == "444")) | |
354 | + | then ScriptResult(WriteSet([DataEntry(u(toString(V.caller)), (((((((((((((((("PLAYED" + "_") + v) + "_") + L) + "_") + toString(au)) + "_NLIFE_") + toString(height)) + "_") + toString(av)) + "_") + ao) + "_0_") + P) + "_") + at)), DataEntry(z(toString(V.caller)), "GIVE_NFT"), DataEntry(x(toString(V.caller)), av), DataEntry(q, ((toString(0) + "_") + v))]), TransferSet([ScriptTransfer(addressFromStringValue(v), au, unit)])) | |
355 | + | else if ((af == 200)) | |
356 | + | then ScriptResult(WriteSet([DataEntry(u(toString(V.caller)), (((((((((((((("PLAYED" + "_") + v) + "_") + L) + "_") + toString(au)) + "_NLIFE_") + toString(height)) + "_0_") + ao) + "_0_") + P) + "_") + at)), DataEntry(x(toString(V.caller)), 0), DataEntry(q, ((toString(0) + "_") + v))]), TransferSet([ScriptTransfer(addressFromStringValue(v), au, unit)])) | |
357 | + | else if (if ((v == al)) | |
358 | + | then (ak == 5) | |
367 | 359 | else false) | |
368 | - | then ScriptResult(WriteSet([DataEntry( | |
369 | - | else if (( | |
370 | - | then ScriptResult(WriteSet([DataEntry( | |
371 | - | else ScriptResult(WriteSet([DataEntry( | |
360 | + | then ScriptResult(WriteSet([DataEntry(u(v), (((((((((((((((("PLAYED" + "_") + v) + "_") + L) + "_") + toString(au)) + "_NLIFE_") + toString(height)) + "_") + toString(av)) + "_") + toString(0)) + "_0_") + P) + "_") + at)), DataEntry(x(toString(V.caller)), av), DataEntry(q, ((toString(0) + "_") + v))]), TransferSet([ScriptTransfer(addressFromStringValue(v), au, unit)])) | |
361 | + | else if ((v != al)) | |
362 | + | then ScriptResult(WriteSet([DataEntry(u(v), (((((((((((((((("PLAYED" + "_") + v) + "_") + L) + "_") + toString(au)) + "_NLIFE_") + toString(height)) + "_") + toString(av)) + "_") + toString(av)) + "_0_") + P) + "_") + at)), DataEntry(x(toString(V.caller)), av), DataEntry(q, ((toString(0) + "_") + v))]), TransferSet([ScriptTransfer(addressFromStringValue(v), au, unit)])) | |
363 | + | else ScriptResult(WriteSet([DataEntry(u(v), (((((((((((((((((("PLAYED" + "_") + v) + "_") + L) + "_") + toString(au)) + "_NLIFE_") + toString(height)) + "_") + toString(av)) + "_") + toString(av)) + "_") + ap) + "_") + P) + "_") + at)), DataEntry(x(toString(V.caller)), av), DataEntry(q, ((toString((ak + 1)) + "_") + v))]), TransferSet([ScriptTransfer(addressFromStringValue(v), au, unit)])) | |
372 | 364 | } | |
373 | 365 | else throw("WORNG_INIT_FOR_200WINS") | |
374 | 366 | } | |
375 | - | else if (if (( | |
376 | - | then ( | |
367 | + | else if (if ((v == al)) | |
368 | + | then (ak == 5) | |
377 | 369 | else false) | |
378 | - | then WriteSet([DataEntry( | |
379 | - | else WriteSet([DataEntry( | |
370 | + | then WriteSet([DataEntry(u(toString(V.caller)), (((((((((((((("PLAYED" + "_") + v) + "_") + L) + "_") + toString(au)) + "_NLIFE_") + toString(height)) + "_") + an) + "_0_0_") + P) + "_") + at)), DataEntry(q, ((toString(0) + "_") + v))]) | |
371 | + | else WriteSet([DataEntry(u(toString(V.caller)), (((((((((((((((("PLAYED" + "_") + v) + "_") + L) + "_") + toString(au)) + "_NLIFE_") + toString(height)) + "_") + an) + "_0_") + toString((ak + 1))) + "_") + P) + "_") + at)), DataEntry(q, ((toString((ak + 1)) + "_") + v))]) | |
380 | 372 | } | |
381 | 373 | ||
382 | 374 | ||
383 | - | @Verifier( | |
384 | - | func | |
375 | + | @Verifier(aw) | |
376 | + | func ax () = if (sigVerify(aw.bodyBytes, aw.proofs[0], a)) | |
385 | 377 | then { | |
386 | - | let | |
387 | - | if ($isInstanceOf( | |
378 | + | let F = aw | |
379 | + | if ($isInstanceOf(F, "SetScriptTransaction")) | |
388 | 380 | then { | |
389 | - | let | |
381 | + | let aw = F | |
390 | 382 | true | |
391 | 383 | } | |
392 | 384 | else false |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = fromBase58String("8Q6AAquTkqKK6raBKopy9WX83aDSeQEnLGrL5nbh7Z4V") | |
5 | 5 | ||
6 | 6 | let b = fromBase58String("7wkBWVho9m5BvXnRQjiBWRGtqYiGLrNzvEpCDPknY4P3") | |
7 | 7 | ||
8 | 8 | let c = addressFromPublicKey(a) | |
9 | 9 | ||
10 | 10 | let d = addressFromPublicKey(b) | |
11 | 11 | ||
12 | 12 | let e = fromBase64String("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl6ouUZyUryUG2LlF2uYQXdb/E6UhlZAbqlOJUCXke4X3osaya63bNQeUNPK7m/9QN9hDium4Kkio9F2r+R92vMgWaluvYviFGJw8V8XL8yhcpkKgYJUQ0v0MCbpI9c7hSKRNxvaI9jikYGyGNSsFdITwcX3a0xJmDfwCssP76mIAC6vXDNuScey+v3njQ+6o/7Aov8YFisZLKmxgZnvuXDIn9zpNhigtlIOTKeY1I4NZQ7zKDlJzSbzBRSWWaNZAWDvlwFr/ZQOMNQ24phKVmnePTEVFASsumUiIBLXbTw78b/SY3bgz79dhw8A1Pu5NW4X9hicrmNr1EyX39UsTDQIDAQAB") | |
13 | 13 | ||
14 | 14 | let f = fromBase64String("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl6ouUZyUryUG2LlF2uYQXdb/E6UhlZAbqlOJUCXke4X3osaya63bNQeUNPK7m/9QN9hDium4Kkio9F2r+R92vMgWaluvYviFGJw8V8XL8yhcpkKgYJUQ0v0MCbpI9c7hSKRNxvaI9jikYGyGNSsFdITwcX3a0xJmDfwCssP76mIAC6vXDNuScey+v3njQ+6o/7Aov8YFisZLKmxgZnvuXDIn9zpNhigtlIOTKeY1I4NZQ7zKDlJzSbzBRSWWaNZAWDvlwFr/ZQOMNQ24phKVmnePTEVFASsumUiIBLXbTw78b/SY3bgz79dhw8A1Pu5NW4X9hicrmNr1EyX39UsTDQIDAQAB") | |
15 | 15 | ||
16 | 16 | let g = fromBase64String("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl6ouUZyUryUG2LlF2uYQXdb/E6UhlZAbqlOJUCXke4X3osaya63bNQeUNPK7m/9QN9hDium4Kkio9F2r+R92vMgWaluvYviFGJw8V8XL8yhcpkKgYJUQ0v0MCbpI9c7hSKRNxvaI9jikYGyGNSsFdITwcX3a0xJmDfwCssP76mIAC6vXDNuScey+v3njQ+6o/7Aov8YFisZLKmxgZnvuXDIn9zpNhigtlIOTKeY1I4NZQ7zKDlJzSbzBRSWWaNZAWDvlwFr/ZQOMNQ24phKVmnePTEVFASsumUiIBLXbTw78b/SY3bgz79dhw8A1Pu5NW4X9hicrmNr1EyX39UsTDQIDAQAB") | |
17 | 17 | ||
18 | 18 | let h = ["6", "1", "5", "4", "3", "2", "1", "3", "5", "2", "4", "1", "7", "3", "2", "3", "1", "4", "1", "3", "5", "2", "1", "4", "2", "6", "5", "2", "1", "4"] | |
19 | 19 | ||
20 | 20 | let i = ["1", "3", "4", "2", "3", "5", "1", "6", "4", "2", "1", "1", "4", "2", "1", "6", "3", "4", "1", "2", "5", "4", "1", "5", "3", "2", "7", "5", "1", "3"] | |
21 | 21 | ||
22 | 22 | let j = ["3", "2", "5", "2", "7", "4", "1", "3", "6", "4", "2", "3", "1", "6", "4", "2", "1", "5", "2", "5", "1", "3", "7", "1", "2", "6", "4", "1", "3", "1"] | |
23 | 23 | ||
24 | 24 | let k = "ACTIVE" | |
25 | 25 | ||
26 | - | let l = | |
26 | + | let l = unit | |
27 | 27 | ||
28 | - | let m = | |
28 | + | let m = 10000000 | |
29 | 29 | ||
30 | - | let n = | |
30 | + | let n = 50000000 | |
31 | 31 | ||
32 | - | let o = | |
32 | + | let o = "GAMESCOUNTER" | |
33 | 33 | ||
34 | - | let p = | |
34 | + | let p = (toString(c) + "_GAME_ADDRESS") | |
35 | 35 | ||
36 | - | let q = | |
36 | + | let q = (toString(c) + "_ROW_WIN/LOSE") | |
37 | 37 | ||
38 | - | let r = 50000000 | |
39 | - | ||
40 | - | let s = "GAMESCOUNTER" | |
41 | - | ||
42 | - | let t = (toString(c) + "_GAME_ADDRESS") | |
43 | - | ||
44 | - | let u = (toString(c) + "_ROW_WIN/LOSE") | |
45 | - | ||
46 | - | func v () = getInteger(this, s) | |
38 | + | func r () = getInteger(this, o) | |
47 | 39 | ||
48 | 40 | ||
49 | - | func | |
41 | + | func s () = getString(this, p) | |
50 | 42 | ||
51 | 43 | ||
52 | - | func | |
44 | + | func t () = getString(this, q) | |
53 | 45 | ||
54 | 46 | ||
55 | - | func | |
47 | + | func u (v) = (v + "_BETDATA") | |
56 | 48 | ||
57 | 49 | ||
58 | - | func | |
50 | + | func w (v) = getString(this, u(v)) | |
59 | 51 | ||
60 | 52 | ||
61 | - | func | |
53 | + | func x (y) = (y + "_IN200WINS") | |
62 | 54 | ||
63 | 55 | ||
64 | - | func | |
56 | + | func z (y) = (y + "_NFT") | |
65 | 57 | ||
66 | 58 | ||
67 | - | func | |
59 | + | func A (y) = getInteger(this, x(y)) | |
68 | 60 | ||
69 | 61 | ||
70 | - | func F (C) = getInteger(this, D(C)) | |
62 | + | func B (y) = getInteger(this, z(y)) | |
63 | + | ||
64 | + | ||
65 | + | func C () = { | |
66 | + | let D = s() | |
67 | + | let E = { | |
68 | + | let F = D | |
69 | + | if ($isInstanceOf(F, "String")) | |
70 | + | then { | |
71 | + | let E = F | |
72 | + | E | |
73 | + | } | |
74 | + | else throw("GAME_DATA_ERROR_1") | |
75 | + | } | |
76 | + | split(E, "_") | |
77 | + | } | |
71 | 78 | ||
72 | 79 | ||
73 | 80 | func G () = { | |
74 | - | let H = | |
75 | - | let | |
76 | - | let | |
77 | - | if ($isInstanceOf( | |
81 | + | let H = t() | |
82 | + | let E = { | |
83 | + | let F = H | |
84 | + | if ($isInstanceOf(F, "String")) | |
78 | 85 | then { | |
79 | - | let | |
80 | - | | |
86 | + | let E = F | |
87 | + | E | |
81 | 88 | } | |
82 | - | else throw("GAME_DATA_ERROR_ | |
89 | + | else throw("GAME_DATA_ERROR_2") | |
83 | 90 | } | |
84 | - | split( | |
91 | + | split(E, "_") | |
85 | 92 | } | |
86 | 93 | ||
87 | 94 | ||
88 | - | func | |
89 | - | let | |
90 | - | let | |
91 | - | let | |
92 | - | if ($isInstanceOf( | |
95 | + | func I (v) = { | |
96 | + | let J = w(v) | |
97 | + | let E = { | |
98 | + | let F = J | |
99 | + | if ($isInstanceOf(F, "String")) | |
93 | 100 | then { | |
94 | - | let | |
95 | - | | |
101 | + | let E = F | |
102 | + | E | |
96 | 103 | } | |
97 | - | else throw(" | |
104 | + | else throw("BET_DATA_ERROR") | |
98 | 105 | } | |
99 | - | split( | |
106 | + | split(E, "_") | |
100 | 107 | } | |
101 | 108 | ||
102 | 109 | ||
103 | - | func M (z) = { | |
104 | - | let N = A(z) | |
105 | - | let I = { | |
106 | - | let J = N | |
107 | - | if ($isInstanceOf(J, "String")) | |
108 | - | then { | |
109 | - | let I = J | |
110 | - | I | |
111 | - | } | |
112 | - | else throw("BET_DATA_ERROR") | |
113 | - | } | |
114 | - | split(I, "_") | |
115 | - | } | |
116 | - | ||
117 | - | ||
118 | - | func O (P) = if (if ((P >= q)) | |
119 | - | then (r >= P) | |
110 | + | func K (L) = if (if ((L >= m)) | |
111 | + | then (n >= L) | |
120 | 112 | else false) | |
121 | 113 | then true | |
122 | 114 | else throw("AMOUNT_NOT_IN_RANGE") | |
123 | 115 | ||
124 | 116 | ||
125 | - | func | |
126 | - | then ("0" + toString( | |
127 | - | else toString( | |
117 | + | func M (N) = if ((10 > N)) | |
118 | + | then ("0" + toString(N)) | |
119 | + | else toString(N) | |
128 | 120 | ||
129 | 121 | ||
130 | - | func | |
122 | + | func O (P) = if ((P == "777")) | |
131 | 123 | then 1199 | |
132 | - | else if (( | |
124 | + | else if ((P == "666")) | |
133 | 125 | then 200 | |
134 | - | else if (( | |
126 | + | else if ((P == "555")) | |
135 | 127 | then 150 | |
136 | - | else if (( | |
128 | + | else if ((P == "667")) | |
137 | 129 | then 80 | |
138 | - | else if (( | |
130 | + | else if ((P == "665")) | |
139 | 131 | then 80 | |
140 | - | else if (( | |
132 | + | else if ((P == "677")) | |
141 | 133 | then 80 | |
142 | - | else if (( | |
134 | + | else if ((P == "655")) | |
143 | 135 | then 80 | |
144 | - | else if (( | |
136 | + | else if ((P == "675")) | |
145 | 137 | then 80 | |
146 | - | else if (( | |
138 | + | else if ((P == "657")) | |
147 | 139 | then 80 | |
148 | - | else if (( | |
140 | + | else if ((P == "776")) | |
149 | 141 | then 80 | |
150 | - | else if (( | |
142 | + | else if ((P == "775")) | |
151 | 143 | then 80 | |
152 | - | else if (( | |
144 | + | else if ((P == "766")) | |
153 | 145 | then 80 | |
154 | - | else if (( | |
146 | + | else if ((P == "755")) | |
155 | 147 | then 80 | |
156 | - | else if (( | |
148 | + | else if ((P == "756")) | |
157 | 149 | then 80 | |
158 | - | else if (( | |
150 | + | else if ((P == "765")) | |
159 | 151 | then 80 | |
160 | - | else if (( | |
152 | + | else if ((P == "556")) | |
161 | 153 | then 80 | |
162 | - | else if (( | |
154 | + | else if ((P == "557")) | |
163 | 155 | then 80 | |
164 | - | else if (( | |
156 | + | else if ((P == "566")) | |
165 | 157 | then 80 | |
166 | - | else if (( | |
158 | + | else if ((P == "577")) | |
167 | 159 | then 80 | |
168 | - | else if (( | |
160 | + | else if ((P == "576")) | |
169 | 161 | then 80 | |
170 | - | else if (( | |
162 | + | else if ((P == "567")) | |
171 | 163 | then 80 | |
172 | - | else if (( | |
164 | + | else if ((P == "234")) | |
173 | 165 | then 50 | |
174 | - | else if (( | |
166 | + | else if ((P == "444")) | |
175 | 167 | then 40 | |
176 | - | else if (( | |
168 | + | else if ((P == "333")) | |
177 | 169 | then 25 | |
178 | - | else if (( | |
170 | + | else if ((P == "564")) | |
179 | 171 | then 20 | |
180 | - | else if (( | |
172 | + | else if ((P == "534")) | |
181 | 173 | then 20 | |
182 | - | else if (( | |
174 | + | else if ((P == "537")) | |
183 | 175 | then 20 | |
184 | - | else if (( | |
176 | + | else if ((P == "264")) | |
185 | 177 | then 20 | |
186 | - | else if (( | |
178 | + | else if ((P == "267")) | |
187 | 179 | then 20 | |
188 | - | else if (( | |
180 | + | else if ((P == "237")) | |
189 | 181 | then 20 | |
190 | - | else if (( | |
182 | + | else if ((P == "222")) | |
191 | 183 | then 10 | |
192 | - | else if (( | |
184 | + | else if ((P == "443")) | |
193 | 185 | then 5 | |
194 | - | else if (( | |
186 | + | else if ((P == "442")) | |
195 | 187 | then 5 | |
196 | - | else if (( | |
188 | + | else if ((P == "433")) | |
197 | 189 | then 5 | |
198 | - | else if (( | |
190 | + | else if ((P == "334")) | |
199 | 191 | then 5 | |
200 | - | else if (( | |
192 | + | else if ((P == "332")) | |
201 | 193 | then 5 | |
202 | - | else if (( | |
194 | + | else if ((P == "344")) | |
203 | 195 | then 5 | |
204 | - | else if (( | |
196 | + | else if ((P == "322")) | |
205 | 197 | then 5 | |
206 | - | else if (( | |
198 | + | else if ((P == "224")) | |
207 | 199 | then 5 | |
208 | - | else if (( | |
200 | + | else if ((P == "223")) | |
209 | 201 | then 5 | |
210 | - | else if (( | |
202 | + | else if ((P == "244")) | |
211 | 203 | then 5 | |
212 | - | else if (( | |
204 | + | else if ((P == "233")) | |
213 | 205 | then 5 | |
214 | - | else if (( | |
206 | + | else if ((P == "342")) | |
215 | 207 | then 5 | |
216 | - | else if (( | |
208 | + | else if ((P == "324")) | |
217 | 209 | then 5 | |
218 | - | else if (( | |
210 | + | else if ((P == "423")) | |
219 | 211 | then 5 | |
220 | - | else if (( | |
212 | + | else if ((P == "432")) | |
221 | 213 | then 5 | |
222 | - | else if (( | |
214 | + | else if ((P == "243")) | |
223 | 215 | then 5 | |
224 | - | else if (( | |
216 | + | else if ((P == "474")) | |
225 | 217 | then 2 | |
226 | - | else if (( | |
218 | + | else if ((P == "747")) | |
227 | 219 | then 2 | |
228 | - | else if (( | |
220 | + | else if ((P == "774")) | |
229 | 221 | then 2 | |
230 | - | else if (( | |
222 | + | else if ((P == "744")) | |
231 | 223 | then 2 | |
232 | - | else if (( | |
224 | + | else if ((P == "477")) | |
233 | 225 | then 2 | |
234 | - | else if (( | |
226 | + | else if ((P == "447")) | |
235 | 227 | then 2 | |
236 | - | else if (( | |
228 | + | else if ((P == "636")) | |
237 | 229 | then 2 | |
238 | - | else if (( | |
230 | + | else if ((P == "363")) | |
239 | 231 | then 2 | |
240 | - | else if (( | |
232 | + | else if ((P == "663")) | |
241 | 233 | then 2 | |
242 | - | else if (( | |
234 | + | else if ((P == "633")) | |
243 | 235 | then 2 | |
244 | - | else if (( | |
236 | + | else if ((P == "366")) | |
245 | 237 | then 2 | |
246 | - | else if (( | |
238 | + | else if ((P == "336")) | |
247 | 239 | then 2 | |
248 | - | else if (( | |
240 | + | else if ((P == "252")) | |
249 | 241 | then 2 | |
250 | - | else if (( | |
242 | + | else if ((P == "525")) | |
251 | 243 | then 2 | |
252 | - | else if (( | |
244 | + | else if ((P == "522")) | |
253 | 245 | then 2 | |
254 | - | else if (( | |
246 | + | else if ((P == "552")) | |
255 | 247 | then 2 | |
256 | - | else if (( | |
248 | + | else if ((P == "255")) | |
257 | 249 | then 2 | |
258 | - | else if (( | |
250 | + | else if ((P == "225")) | |
259 | 251 | then 2 | |
260 | - | else if (( | |
252 | + | else if ((P == "111")) | |
261 | 253 | then 1 | |
262 | 254 | else 0 | |
263 | 255 | ||
264 | 256 | ||
265 | - | func | |
266 | - | let | |
267 | - | if ( | |
268 | - | then (toInt(sha256(toBytes( | |
257 | + | func Q (R,S,T) = { | |
258 | + | let U = rsaVerify(SHA256, toBytes(R), fromBase64String(S), T) | |
259 | + | if (U) | |
260 | + | then (toInt(sha256(toBytes(S))) % 39) | |
269 | 261 | else throw("Rsa Signature is invalid") | |
270 | 262 | } | |
271 | 263 | ||
272 | 264 | ||
273 | - | @Callable( | |
274 | - | func initSlotGame () = if (( | |
265 | + | @Callable(V) | |
266 | + | func initSlotGame () = if ((V.callerPublicKey != b)) | |
275 | 267 | then throw("initGame_FORBBIDEN") | |
276 | 268 | else { | |
277 | - | let | |
278 | - | if ($isInstanceOf( | |
269 | + | let F = r() | |
270 | + | if ($isInstanceOf(F, "Int")) | |
279 | 271 | then { | |
280 | - | let | |
272 | + | let W = F | |
281 | 273 | throw("INIT_ALREADY_DONE") | |
282 | 274 | } | |
283 | - | else WriteSet([DataEntry( | |
275 | + | else WriteSet([DataEntry(o, 0), DataEntry(p, ((((k + "_") + toString(c)) + "_") + toString(height))), DataEntry(q, ("0_" + toString(c)))]) | |
284 | 276 | } | |
285 | 277 | ||
286 | 278 | ||
287 | 279 | ||
288 | - | @Callable( | |
280 | + | @Callable(V) | |
289 | 281 | func placeBet () = { | |
290 | - | let | |
291 | - | let | |
292 | - | let | |
293 | - | let | |
294 | - | let | |
295 | - | let | |
296 | - | let | |
297 | - | if (( | |
282 | + | let X = extract(V.caller) | |
283 | + | let Y = extract(V.payment) | |
284 | + | let L = Y.amount | |
285 | + | let Z = C() | |
286 | + | let aa = Z[0] | |
287 | + | let ab = I(toString(X)) | |
288 | + | let ac = ab[0] | |
289 | + | if ((aa != "ACTIVE")) | |
298 | 290 | then throw("SLOT_GAME_NOT_INITIALIZED") | |
299 | 291 | else { | |
300 | - | let | |
301 | - | if ($isInstanceOf( | |
292 | + | let F = r() | |
293 | + | if ($isInstanceOf(F, "Int")) | |
302 | 294 | then { | |
303 | - | let | |
304 | - | let | |
305 | - | if (!( | |
295 | + | let W = F | |
296 | + | let ad = (W + 1) | |
297 | + | if (!(K(L))) | |
306 | 298 | then throw("WRONG_BET_AMOUNT") | |
307 | - | else if (( | |
299 | + | else if ((ac != "PLAYED")) | |
308 | 300 | then throw("COMPLETE_ PREVIOUS_GAME") | |
309 | 301 | else { | |
310 | - | let | |
311 | - | if ($isInstanceOf( | |
302 | + | let ae = A(toString(X)) | |
303 | + | if ($isInstanceOf(ae, "Int")) | |
312 | 304 | then { | |
313 | - | let | |
314 | - | if (( | |
315 | - | then WriteSet([DataEntry( | |
305 | + | let af = ae | |
306 | + | if ((af >= 0)) | |
307 | + | then WriteSet([DataEntry(o, ad), DataEntry(u(toString(X)), (((((((("BET" + "_") + toString(X)) + "_") + toString(L)) + "_0_") + "_NLIFE_") + toString(height)) + "_0_0_0_0_0"))]) | |
316 | 308 | else throw("WRONG_GETWINS") | |
317 | 309 | } | |
318 | - | else WriteSet([DataEntry( | |
310 | + | else WriteSet([DataEntry(o, ad), DataEntry(u(toString(X)), (((((((("BET" + "_") + toString(X)) + "_") + toString(L)) + "_0_") + "_NLIFE_") + toString(height)) + "_0_0_0_0_0")), DataEntry(x(toString(X)), 0)]) | |
319 | 311 | } | |
320 | 312 | } | |
321 | 313 | else throw("INIT_NEEDED_FOR_COUNT") | |
322 | 314 | } | |
323 | 315 | } | |
324 | 316 | ||
325 | 317 | ||
326 | 318 | ||
327 | - | @Callable( | |
328 | - | func playGame ( | |
329 | - | let | |
330 | - | let | |
331 | - | let | |
332 | - | let | |
333 | - | let | |
334 | - | let | |
335 | - | let | |
336 | - | let | |
337 | - | let | |
338 | - | let | |
339 | - | let | |
340 | - | let | |
341 | - | let | |
342 | - | let | |
343 | - | let | |
344 | - | let | |
345 | - | let | |
346 | - | let | |
347 | - | let | |
348 | - | if (( | |
319 | + | @Callable(V) | |
320 | + | func playGame (R,ag,ah,ai) = { | |
321 | + | let Z = C() | |
322 | + | let aa = Z[0] | |
323 | + | let aj = G() | |
324 | + | let ak = parseIntValue(aj[0]) | |
325 | + | let al = aj[1] | |
326 | + | let ab = I(toString(V.caller)) | |
327 | + | let ac = ab[0] | |
328 | + | let v = ab[1] | |
329 | + | let L = ab[2] | |
330 | + | let am = ab[5] | |
331 | + | let an = ab[6] | |
332 | + | let ao = ab[7] | |
333 | + | let ap = ab[8] | |
334 | + | let aq = Q(R, ag, e) | |
335 | + | let ar = Q(R, ah, f) | |
336 | + | let as = Q(R, ai, g) | |
337 | + | let at = ((M(aq) + M(ar)) + M(as)) | |
338 | + | let P = ((h[aq] + i[ar]) + j[as]) | |
339 | + | let au = (O(P) * parseIntValue(L)) | |
340 | + | if ((aa != "ACTIVE")) | |
349 | 341 | then throw("SLOT_GAME_NOT_INITIALIZED") | |
350 | - | else if (( | |
342 | + | else if ((ac != "BET")) | |
351 | 343 | then throw("PLACE_BET_BEFORE_YOU_PLAY") | |
352 | - | else if (( | |
344 | + | else if ((V.caller != addressFromStringValue(v))) | |
353 | 345 | then throw("NOT_CURRENT_PLAYER") | |
354 | - | else if (( | |
346 | + | else if ((au != 0)) | |
355 | 347 | then { | |
356 | - | let | |
357 | - | if ($isInstanceOf( | |
348 | + | let F = A(v) | |
349 | + | if ($isInstanceOf(F, "Int")) | |
358 | 350 | then { | |
359 | - | let | |
360 | - | let | |
361 | - | if (( | |
362 | - | then ScriptResult(WriteSet([DataEntry( | |
363 | - | else if (( | |
364 | - | then ScriptResult(WriteSet([DataEntry( | |
365 | - | else if (if (( | |
366 | - | then ( | |
351 | + | let af = F | |
352 | + | let av = (af + 1) | |
353 | + | if ((P == "444")) | |
354 | + | then ScriptResult(WriteSet([DataEntry(u(toString(V.caller)), (((((((((((((((("PLAYED" + "_") + v) + "_") + L) + "_") + toString(au)) + "_NLIFE_") + toString(height)) + "_") + toString(av)) + "_") + ao) + "_0_") + P) + "_") + at)), DataEntry(z(toString(V.caller)), "GIVE_NFT"), DataEntry(x(toString(V.caller)), av), DataEntry(q, ((toString(0) + "_") + v))]), TransferSet([ScriptTransfer(addressFromStringValue(v), au, unit)])) | |
355 | + | else if ((af == 200)) | |
356 | + | then ScriptResult(WriteSet([DataEntry(u(toString(V.caller)), (((((((((((((("PLAYED" + "_") + v) + "_") + L) + "_") + toString(au)) + "_NLIFE_") + toString(height)) + "_0_") + ao) + "_0_") + P) + "_") + at)), DataEntry(x(toString(V.caller)), 0), DataEntry(q, ((toString(0) + "_") + v))]), TransferSet([ScriptTransfer(addressFromStringValue(v), au, unit)])) | |
357 | + | else if (if ((v == al)) | |
358 | + | then (ak == 5) | |
367 | 359 | else false) | |
368 | - | then ScriptResult(WriteSet([DataEntry( | |
369 | - | else if (( | |
370 | - | then ScriptResult(WriteSet([DataEntry( | |
371 | - | else ScriptResult(WriteSet([DataEntry( | |
360 | + | then ScriptResult(WriteSet([DataEntry(u(v), (((((((((((((((("PLAYED" + "_") + v) + "_") + L) + "_") + toString(au)) + "_NLIFE_") + toString(height)) + "_") + toString(av)) + "_") + toString(0)) + "_0_") + P) + "_") + at)), DataEntry(x(toString(V.caller)), av), DataEntry(q, ((toString(0) + "_") + v))]), TransferSet([ScriptTransfer(addressFromStringValue(v), au, unit)])) | |
361 | + | else if ((v != al)) | |
362 | + | then ScriptResult(WriteSet([DataEntry(u(v), (((((((((((((((("PLAYED" + "_") + v) + "_") + L) + "_") + toString(au)) + "_NLIFE_") + toString(height)) + "_") + toString(av)) + "_") + toString(av)) + "_0_") + P) + "_") + at)), DataEntry(x(toString(V.caller)), av), DataEntry(q, ((toString(0) + "_") + v))]), TransferSet([ScriptTransfer(addressFromStringValue(v), au, unit)])) | |
363 | + | else ScriptResult(WriteSet([DataEntry(u(v), (((((((((((((((((("PLAYED" + "_") + v) + "_") + L) + "_") + toString(au)) + "_NLIFE_") + toString(height)) + "_") + toString(av)) + "_") + toString(av)) + "_") + ap) + "_") + P) + "_") + at)), DataEntry(x(toString(V.caller)), av), DataEntry(q, ((toString((ak + 1)) + "_") + v))]), TransferSet([ScriptTransfer(addressFromStringValue(v), au, unit)])) | |
372 | 364 | } | |
373 | 365 | else throw("WORNG_INIT_FOR_200WINS") | |
374 | 366 | } | |
375 | - | else if (if (( | |
376 | - | then ( | |
367 | + | else if (if ((v == al)) | |
368 | + | then (ak == 5) | |
377 | 369 | else false) | |
378 | - | then WriteSet([DataEntry( | |
379 | - | else WriteSet([DataEntry( | |
370 | + | then WriteSet([DataEntry(u(toString(V.caller)), (((((((((((((("PLAYED" + "_") + v) + "_") + L) + "_") + toString(au)) + "_NLIFE_") + toString(height)) + "_") + an) + "_0_0_") + P) + "_") + at)), DataEntry(q, ((toString(0) + "_") + v))]) | |
371 | + | else WriteSet([DataEntry(u(toString(V.caller)), (((((((((((((((("PLAYED" + "_") + v) + "_") + L) + "_") + toString(au)) + "_NLIFE_") + toString(height)) + "_") + an) + "_0_") + toString((ak + 1))) + "_") + P) + "_") + at)), DataEntry(q, ((toString((ak + 1)) + "_") + v))]) | |
380 | 372 | } | |
381 | 373 | ||
382 | 374 | ||
383 | - | @Verifier( | |
384 | - | func | |
375 | + | @Verifier(aw) | |
376 | + | func ax () = if (sigVerify(aw.bodyBytes, aw.proofs[0], a)) | |
385 | 377 | then { | |
386 | - | let | |
387 | - | if ($isInstanceOf( | |
378 | + | let F = aw | |
379 | + | if ($isInstanceOf(F, "SetScriptTransaction")) | |
388 | 380 | then { | |
389 | - | let | |
381 | + | let aw = F | |
390 | 382 | true | |
391 | 383 | } | |
392 | 384 | else false | |
393 | 385 | } | |
394 | 386 | else false | |
395 | 387 |
github/deemru/w8io/169f3d6 499.15 ms ◑