tx · 9HsaoEDHRegTfjyVzrppe68z7byRZAhs1RsWzoYHM1pc 3N4zabLE5JbtJfVdNL7CP1STkCnmU15Uwyz: -0.01000000 Waves 2021.08.30 09:08 [1680695] smart account 3N4zabLE5JbtJfVdNL7CP1STkCnmU15Uwyz > SELF 0.00000000 Waves
{ "type": 13, "id": "9HsaoEDHRegTfjyVzrppe68z7byRZAhs1RsWzoYHM1pc", "fee": 1000000, "feeAssetId": null, "timestamp": 1630303689469, "version": 2, "chainId": 84, "sender": "3N4zabLE5JbtJfVdNL7CP1STkCnmU15Uwyz", "senderPublicKey": "H2xJWsT7HURFk1LcASPmFbNrxJ1AoYmbjiYy2qTiUDmg", "proofs": [ "5vywTKuwZMsqupve7zmFBDPxn2c2sYhC9i62pe6JT7XhLpDVTN2yuUGXNNrYWSuwEPN32Qi66PBNrXk2QEsCZxYV" ], "script": "base64:AAIDAAAAAAAAB8EIARIDCgEIEgQKAggIGhUKAmExEg9TZXJ2ZXJQdWJsaWNLZXkaDAoCYTISBlNFUlZFUhoZCgJhMxITUkFORE9SQUNMRVRJTUVGUkFNRRoNCgJhNBIHV0FWRUxFVBoUCgJhNRIOV0FWRUxFVDFmcm9tMTAaEAoCYTYSCkNPTU1JU1NJT04aCwoCYTcSBUJFVDAyGgsKAmE4EgVCRVQwNRoKCgJhORIEQkVUMRoKCgJiMRIEQkVUMhoKCgJiMhIEQkVUNBoOCgJiMxIIUkFURU1VTFQaCwoCYjQSBVJBVEUxGgsKAmI1EgVSQVRFMhoLCgJiNhIFUkFURTMaCwoCYjcSBVJBVEU0GgsKAmI4EgVSQVRFNRoSCgJiORIMSWR4R2FtZVN0YXRlGhUKAmMxEg9JZHhQbGF5ZXJDaG9pY2UaFwoCYzISEUlkeFBsYXllclB1YktleTU4GhYKAmMzEhBJZHhTdGFydGVkSGVpZ2h0Gg8KAmM0EglJZHhXaW5BbXQaFQoCYzUSD0dBTUVTQ09VTlRFUktFWRoUCgJjNhIOUkVTRVJWQVRJT05LRVka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yeQAAAAIFAAAAAmQyBQAAAAJrMgkABEwAAAACBQAAAAJrNAUAAAADbmlsAAAAAMkpI04=", "height": 1680695, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: A96cvUwN2aspGnonUphTs3a5nLzxBR4srVyZh5P6h3vP Next: none Diff:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let a = fromBase58String(" | |
4 | + | let a = fromBase58String("CGZFbzAaJCpy2bXmwSDeHG3BTNyZzTUrVpeFWj5nbwm5") | |
5 | 5 | ||
6 | 6 | let b = addressFromStringValue("3NAPoUBwL7jaPW3ngVF3dT5b68q4eaHAiiC") | |
7 | 7 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let a = fromBase58String(" | |
4 | + | let a = fromBase58String("CGZFbzAaJCpy2bXmwSDeHG3BTNyZzTUrVpeFWj5nbwm5") | |
5 | 5 | ||
6 | 6 | let b = addressFromStringValue("3NAPoUBwL7jaPW3ngVF3dT5b68q4eaHAiiC") | |
7 | 7 | ||
8 | 8 | let c = 4320 | |
9 | 9 | ||
10 | 10 | let d = ((100 * 1000) * 1000) | |
11 | 11 | ||
12 | 12 | let e = ((100 * 1000) * 100) | |
13 | 13 | ||
14 | 14 | let f = ((9 * d) / 1000) | |
15 | 15 | ||
16 | 16 | let g = (2 * e) | |
17 | 17 | ||
18 | 18 | let h = (5 * e) | |
19 | 19 | ||
20 | 20 | let i = (1 * d) | |
21 | 21 | ||
22 | 22 | let j = (2 * d) | |
23 | 23 | ||
24 | 24 | let k = (4 * d) | |
25 | 25 | ||
26 | 26 | let l = 10000 | |
27 | 27 | ||
28 | 28 | let m = 39655 | |
29 | 29 | ||
30 | 30 | let n = 24600 | |
31 | 31 | ||
32 | 32 | let o = 19000 | |
33 | 33 | ||
34 | 34 | let p = 14200 | |
35 | 35 | ||
36 | 36 | let q = 11400 | |
37 | 37 | ||
38 | 38 | let r = 0 | |
39 | 39 | ||
40 | 40 | let s = 1 | |
41 | 41 | ||
42 | 42 | let t = 2 | |
43 | 43 | ||
44 | 44 | let u = 3 | |
45 | 45 | ||
46 | 46 | let v = 4 | |
47 | 47 | ||
48 | 48 | let w = "$GAME_NUM" | |
49 | 49 | ||
50 | 50 | let x = "$RESERVED_AMOUNT" | |
51 | 51 | ||
52 | 52 | let y = "SUBMITTED" | |
53 | 53 | ||
54 | 54 | let z = "WON" | |
55 | 55 | ||
56 | 56 | let A = "LOST" | |
57 | 57 | ||
58 | 58 | func B (C,D) = { | |
59 | 59 | let E = sigVerify(toBytes(C), D, a) | |
60 | 60 | if (E) | |
61 | 61 | then { | |
62 | 62 | let F = (toInt(sha256(D)) % 6) | |
63 | 63 | if ((0 > F)) | |
64 | 64 | then ((-1 * F) + 1) | |
65 | 65 | else (F + 1) | |
66 | 66 | } | |
67 | 67 | else throw("Invalid RSA signature") | |
68 | 68 | } | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func G (H) = if ((size(H) > 0)) | |
72 | 72 | then drop(H, 1) | |
73 | 73 | else H | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func I (H) = { | |
77 | 77 | let J = size(H) | |
78 | 78 | if ((J > 0)) | |
79 | 79 | then { | |
80 | 80 | let K = parseIntValue(take(H, 2)) | |
81 | 81 | let L = take(drop(H, 2), K) | |
82 | 82 | let M = drop(H, (K + 2)) | |
83 | 83 | let N = G(M) | |
84 | 84 | [L, N] | |
85 | 85 | } | |
86 | 86 | else throw("Empty string was passed into parseNextAttribute func") | |
87 | 87 | } | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func O (P) = { | |
91 | 91 | let Q = I(P) | |
92 | 92 | let R = I(Q[1]) | |
93 | 93 | let S = I(R[1]) | |
94 | 94 | let T = I(S[1]) | |
95 | 95 | let U = I(T[1]) | |
96 | 96 | [Q[0], R[0], S[0], T[0], U[0]] | |
97 | 97 | } | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func V (C) = { | |
101 | 101 | let W = { | |
102 | 102 | let X = getString(this, C) | |
103 | 103 | if ($isInstanceOf(X, "String")) | |
104 | 104 | then { | |
105 | 105 | let Y = X | |
106 | 106 | Y | |
107 | 107 | } | |
108 | 108 | else throw(("Couldn't find game by " + C)) | |
109 | 109 | } | |
110 | 110 | O(W) | |
111 | 111 | } | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func Z () = { | |
115 | 115 | let X = getInteger(this, x) | |
116 | 116 | if ($isInstanceOf(X, "Int")) | |
117 | 117 | then { | |
118 | 118 | let aa = X | |
119 | 119 | aa | |
120 | 120 | } | |
121 | 121 | else 0 | |
122 | 122 | } | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func ab (U) = { | |
126 | 126 | let ac = (Z() + U) | |
127 | 127 | let ad = wavesBalance(this) | |
128 | 128 | if ((ac > ad)) | |
129 | 129 | then throw("Insufficient funds on Russian Roulette account. Transaction was rejected for your safety.") | |
130 | 130 | else ac | |
131 | 131 | } | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func ae () = { | |
135 | 135 | let af = { | |
136 | 136 | let X = getInteger(this, w) | |
137 | 137 | if ($isInstanceOf(X, "Int")) | |
138 | 138 | then { | |
139 | 139 | let ag = X | |
140 | 140 | ag | |
141 | 141 | } | |
142 | 142 | else 0 | |
143 | 143 | } | |
144 | 144 | (af + 1) | |
145 | 145 | } | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func ah (C,U) = { | |
149 | 149 | let ac = (Z() - U) | |
150 | 150 | if ((0 > ac)) | |
151 | 151 | then throw("Invalid Russian Roulette account state - reserved amount is less than 0") | |
152 | 152 | else DataEntry(x, ac) | |
153 | 153 | } | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func ai (aj) = { | |
157 | 157 | let J = size(aj) | |
158 | 158 | if ((J == 0)) | |
159 | 159 | then throw("Parameter size must be greater then 0") | |
160 | 160 | else if ((J > 99)) | |
161 | 161 | then throw("Parameter size must be less then 100") | |
162 | 162 | else if ((10 > J)) | |
163 | 163 | then (("0" + toString(J)) + aj) | |
164 | 164 | else (toString(J) + aj) | |
165 | 165 | } | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func ak (Q,R,S,T,U,al) = { | |
169 | 169 | let am = ((((((((ai(Q) + "_") + ai(R)) + "_") + ai(S)) + "_") + ai(toString(T))) + "_") + ai(toString(U))) | |
170 | 170 | if ((al == "")) | |
171 | 171 | then am | |
172 | 172 | else ((am + "_") + ai(al)) | |
173 | 173 | } | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | func an (ao) = if ((ao == 1)) | |
177 | 177 | then "1" | |
178 | 178 | else if ((ao == 2)) | |
179 | 179 | then "2" | |
180 | 180 | else if ((ao == 3)) | |
181 | 181 | then "3" | |
182 | 182 | else if ((ao == 4)) | |
183 | 183 | then "4" | |
184 | 184 | else if ((ao == 5)) | |
185 | 185 | then "5" | |
186 | 186 | else if ((ao == 6)) | |
187 | 187 | then "6" | |
188 | 188 | else throw(("Unsupported r parameter passed: expected=[1,...,6] actual=" + toString(ao))) | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | func ap (aq,R) = { | |
192 | 192 | let ar = if (if (if (if (if ((aq == (g + f))) | |
193 | 193 | then true | |
194 | 194 | else (aq == (h + f))) | |
195 | 195 | then true | |
196 | 196 | else (aq == (i + f))) | |
197 | 197 | then true | |
198 | 198 | else (aq == (j + f))) | |
199 | 199 | then true | |
200 | 200 | else (aq == (k + f))) | |
201 | 201 | then true | |
202 | 202 | else false | |
203 | 203 | if (ar) | |
204 | 204 | then { | |
205 | 205 | let as = size(R) | |
206 | 206 | let at = (aq - f) | |
207 | 207 | let au = parseIntValue(take(R, 1)) | |
208 | 208 | let av = drop(R, 1) | |
209 | 209 | let aw = parseIntValue(take(av, 1)) | |
210 | 210 | let ax = drop(av, 1) | |
211 | 211 | let ay = parseIntValue(take(ax, 1)) | |
212 | 212 | let az = drop(ax, 1) | |
213 | 213 | let aA = parseIntValue(take(az, 1)) | |
214 | 214 | let aB = drop(az, 1) | |
215 | 215 | let aC = parseIntValue(take(aB, 1)) | |
216 | 216 | let aD = drop(aB, 1) | |
217 | 217 | let aE = parseIntValue(take(aD, 1)) | |
218 | 218 | let aF = (((((au + aw) + ay) + aA) + aC) + aE) | |
219 | 219 | if ((aF == 5)) | |
220 | 220 | then ((at * m) / l) | |
221 | 221 | else if ((aF == 4)) | |
222 | 222 | then ((at * n) / l) | |
223 | 223 | else if ((aF == 3)) | |
224 | 224 | then ((at * o) / l) | |
225 | 225 | else if ((aF == 2)) | |
226 | 226 | then ((at * p) / l) | |
227 | 227 | else if ((aF == 1)) | |
228 | 228 | then ((at * q) / l) | |
229 | 229 | else throw(("Invalid player's choice, active bullets = " + toString(aF))) | |
230 | 230 | } | |
231 | 231 | else throw("Bet amount is not in range") | |
232 | 232 | } | |
233 | 233 | ||
234 | 234 | ||
235 | 235 | func aG (R) = { | |
236 | 236 | let au = parseIntValue(take(R, 1)) | |
237 | 237 | let av = drop(R, 1) | |
238 | 238 | let aw = parseIntValue(take(av, 1)) | |
239 | 239 | let ax = drop(R, 1) | |
240 | 240 | let ay = parseIntValue(take(ax, 1)) | |
241 | 241 | let az = drop(R, 1) | |
242 | 242 | let aA = parseIntValue(take(az, 1)) | |
243 | 243 | let aB = drop(R, 1) | |
244 | 244 | let aC = parseIntValue(take(aB, 1)) | |
245 | 245 | let aD = drop(R, 1) | |
246 | 246 | let aE = parseIntValue(take(aD, 1)) | |
247 | 247 | if ((au == 0)) | |
248 | 248 | then "1" | |
249 | 249 | else if ((aw == 0)) | |
250 | 250 | then "2" | |
251 | 251 | else if ((ay == 0)) | |
252 | 252 | then "3" | |
253 | 253 | else if ((aA == 0)) | |
254 | 254 | then "4" | |
255 | 255 | else if ((aC == 0)) | |
256 | 256 | then "5" | |
257 | 257 | else if ((aE == 0)) | |
258 | 258 | then "6" | |
259 | 259 | else throw("Bet amount is not in range") | |
260 | 260 | } | |
261 | 261 | ||
262 | 262 | ||
263 | 263 | func aH (R,aI) = { | |
264 | 264 | let aJ = parseIntValue(aI) | |
265 | 265 | let aK = split(R, "") | |
266 | 266 | if ((aK[(aJ - 1)] == "0")) | |
267 | 267 | then true | |
268 | 268 | else false | |
269 | 269 | } | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | func aL (C,aM,U,aN,aO,aP) = { | |
273 | 273 | let aQ = [aP] | |
274 | 274 | let aR = [ScriptTransfer(aM, U, unit)] | |
275 | 275 | if (aO) | |
276 | 276 | then { | |
277 | 277 | let aS = ((aN + "_") + ai("TIMEOUT")) | |
278 | 278 | let aT = DataEntry(C, aS) | |
279 | 279 | ScriptResult(WriteSet(aT :: aQ), TransferSet(aR)) | |
280 | 280 | } | |
281 | 281 | else { | |
282 | 282 | let aT = DataEntry(C, aN) | |
283 | 283 | ScriptResult(WriteSet(aT :: aQ), TransferSet(aR)) | |
284 | 284 | } | |
285 | 285 | } | |
286 | 286 | ||
287 | 287 | ||
288 | 288 | @Callable(aU) | |
289 | 289 | func bet (R) = { | |
290 | 290 | let aV = ae() | |
291 | 291 | let C = toBase58String(aU.transactionId) | |
292 | 292 | let aW = extract(aU.payment) | |
293 | 293 | let aX = isDefined(aW.assetId) | |
294 | 294 | let aY = isDefined(aW.assetId) | |
295 | 295 | let U = ap(aW.amount, R) | |
296 | 296 | let aZ = isDefined(getString(this, C)) | |
297 | 297 | if (aX) | |
298 | 298 | then throw("Bet amount must be in Waves") | |
299 | 299 | else if (aY) | |
300 | 300 | then throw("Transaction's fee must be in Waves") | |
301 | 301 | else if (aZ) | |
302 | 302 | then throw("Passed txId had been used before. Game aborted.") | |
303 | 303 | else { | |
304 | 304 | let S = toBase58String(aU.callerPublicKey) | |
305 | 305 | let ba = ak(y, R, S, height, U, "") | |
306 | 306 | let bb = ((((((((y + "_") + R) + "_") + S) + "_") + toString(height)) + "_") + toString(U)) | |
307 | 307 | let bc = [ScriptTransfer(b, f, unit)] | |
308 | 308 | let bd = [DataEntry(x, ab(U)), DataEntry(w, aV), DataEntry(C, ba)] | |
309 | 309 | ScriptResult(WriteSet(bd), TransferSet(bc)) | |
310 | 310 | } | |
311 | 311 | } | |
312 | 312 | ||
313 | 313 | ||
314 | 314 | ||
315 | 315 | @Callable(aU) | |
316 | 316 | func withdraw (C,be) = { | |
317 | 317 | let D = fromBase58String(be) | |
318 | 318 | let bf = V(C) | |
319 | 319 | let Q = bf[r] | |
320 | 320 | let R = bf[s] | |
321 | 321 | let T = parseIntValue(bf[u]) | |
322 | 322 | let U = parseIntValue(bf[v]) | |
323 | 323 | let S = bf[t] | |
324 | 324 | let aM = addressFromPublicKey(fromBase58String(S)) | |
325 | 325 | let aO = ((height - T) > c) | |
326 | 326 | let aP = ah(C, U) | |
327 | 327 | if ((Q != y)) | |
328 | 328 | then throw("Invalid game state for passed gameId") | |
329 | 329 | else if (aO) | |
330 | 330 | then { | |
331 | 331 | let aI = aG(R) | |
332 | 332 | let aN = ak(z, R, S, T, U, aI) | |
333 | 333 | aL(C, aM, U, aN, aO, aP) | |
334 | 334 | } | |
335 | 335 | else { | |
336 | 336 | let aJ = B(C, D) | |
337 | 337 | let aI = an(aJ) | |
338 | 338 | if (aH(R, aI)) | |
339 | 339 | then { | |
340 | 340 | let aN = ak(z, R, S, T, U, aI) | |
341 | 341 | aL(C, aM, U, aN, aO, aP) | |
342 | 342 | } | |
343 | 343 | else { | |
344 | 344 | let aN = ak(A, R, S, T, U, aI) | |
345 | 345 | WriteSet([DataEntry(C, aN), aP]) | |
346 | 346 | } | |
347 | 347 | } | |
348 | 348 | } | |
349 | 349 | ||
350 | 350 |
github/deemru/w8io/169f3d6 61.05 ms ◑